@font-face {
  font-family: "Fraunces";
  src: url("assets/Fraunces-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/BricolageGrotesque-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #14110d;
  --ink-2: #1d1812;
  --ash: #272018;
  --paper: #f3ead9;
  --paper-dim: #bcae98;
  --ember: #ec7a37;
  --ember-hot: #f4a04a;
  --copper: #c4592a;
  --line-dark: rgba(243, 234, 217, 0.14);
  --line-light: rgba(20, 17, 13, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

code {
  font: 0.95em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(20, 17, 13, 0.84);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 72px;
  height: 72px;
}

.brand-wordmark {
  width: 234px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  color: rgba(243, 234, 217, 0.82);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ember-hot);
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 112px clamp(18px, 5vw, 72px) 44px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.04);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 17, 13, 0.94) 0%, rgba(20, 17, 13, 0.82) 38%, rgba(20, 17, 13, 0.2) 74%, rgba(20, 17, 13, 0.06) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember-hot);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-accent {
  color: var(--ember-hot);
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 360;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  font-size: 4.8rem;
}

h1 span,
h2 span {
  color: var(--ember);
}

h2 {
  font-size: 3.3rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(243, 234, 217, 0.86);
  font-size: 1.26rem;
}

.hero-actions,
.doc-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--ember);
  color: var(--ink);
}

.button.primary:hover {
  background: var(--ember-hot);
}

.button.secondary {
  border-color: rgba(243, 234, 217, 0.28);
  color: var(--paper);
}

.button.secondary:hover {
  border-color: var(--ember);
  color: var(--ember-hot);
}

.button.on-paper {
  border-color: rgba(20, 17, 13, 0.2);
  color: var(--ink);
}

.button.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.band {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.band.paper {
  background: var(--paper);
  color: var(--ink);
}

.band.dark {
  background: var(--ink-2);
}

.intro {
  padding-top: 34px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.intro-media {
  display: grid;
  align-content: start;
}

.intro-image {
  margin-top: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.interface-gallery-trigger {
  justify-self: start;
  margin-top: 14px;
  border: 1px solid var(--ember);
  border-radius: 6px;
  padding: 11px 15px;
  background: var(--ember);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.interface-gallery-trigger:hover,
.interface-gallery-trigger:focus-visible {
  border-color: var(--ink);
  background: var(--ember-hot);
  color: var(--ink);
}

.image-zoom.intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 2.03;
  object-fit: contain;
  background: #eee4d5;
}

.intro-content h2 {
  margin-bottom: 24px;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.two-col,
.split-list {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.body-copy {
  display: grid;
  gap: 18px;
  color: rgba(243, 234, 217, 0.78);
  font-size: 1.1rem;
}

.paper .body-copy {
  color: rgba(20, 17, 13, 0.72);
}

.section-note {
  margin-top: 20px;
  color: rgba(20, 17, 13, 0.66);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.doc-card,
.download-panel,
.pill-list > div,
.faq-list details {
  border-radius: 8px;
}

.feature {
  overflow: hidden;
  background: rgba(20, 17, 13, 0.05);
  border: 1px solid var(--line-light);
}

.image-zoom {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.image-zoom img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: left top;
  transition: transform 180ms ease, filter 180ms ease;
}

.image-zoom img.contain {
  object-fit: contain;
  object-position: center center;
  background: #eee4d5;
}

.image-zoom span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(20, 17, 13, 0.86);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.image-zoom:hover img,
.image-zoom:focus-visible img {
  filter: brightness(0.8);
  transform: scale(1.015);
}

.image-zoom:hover span,
.image-zoom:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.image-zoom:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: -3px;
}

.feature div {
  padding: 22px;
}

.feature p,
.doc-card strong,
.download-panel p,
.pill-list span,
.faq-list p {
  color: rgba(20, 17, 13, 0.68);
}

.split-list {
  align-items: center;
}

.pill-list {
  display: grid;
  gap: 12px;
}

.pill-list > div {
  display: grid;
  gap: 4px;
  padding: 22px;
  background: rgba(243, 234, 217, 0.04);
  border: 1px solid var(--line-dark);
}

.pill-list span,
.faq-list p {
  color: rgba(243, 234, 217, 0.7);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.system-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.system-card span {
  color: var(--ember-hot);
  font-size: 0.92rem;
  font-weight: 800;
}

.system-card h3 {
  margin: 0;
}

.system-card p {
  color: rgba(243, 234, 217, 0.72);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list > div {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.guide-list span {
  color: var(--ember-hot);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-list strong {
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 420;
  line-height: 1.14;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.04);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(243, 234, 217, 0.88);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 8px;
  background: rgba(243, 234, 217, 0.08);
  color: var(--paper);
  font: inherit;
}

.lead-form textarea {
  min-height: 118px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(244, 160, 74, 0.72);
  outline-offset: 2px;
  border-color: transparent;
}

.lead-form select option {
  color: var(--ink);
  background: var(--paper);
}

.lead-form .button {
  margin-top: 4px;
}

.download-panel {
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.download-panel img {
  width: 72px;
  margin-bottom: 24px;
}

.download-panel p {
  margin-bottom: 22px;
  color: rgba(243, 234, 217, 0.74);
}

.doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
  border: 1px solid var(--line-dark);
  background: rgba(243, 234, 217, 0.04);
}

.doc-card:hover {
  border-color: rgba(236, 122, 55, 0.8);
}

.doc-card span {
  color: var(--ember-hot);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.doc-card strong {
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 420;
  line-height: 1.14;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(20, 17, 13, 0.76);
  font-size: 1.1rem;
}

.steps li + li {
  margin-top: 12px;
}

.steps a {
  color: var(--copper);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line-dark);
  background: rgba(243, 234, 217, 0.04);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

.footer {
  padding: 46px clamp(18px, 5vw, 72px) 58px;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  color: rgba(243, 234, 217, 0.68);
}

.footer img {
  width: min(315px, 100%);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer a {
  color: var(--paper);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ember-hot);
}

.lightbox {
  width: min(1180px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  border: 1px solid rgba(243, 234, 217, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.lightbox::backdrop {
  background: rgba(20, 17, 13, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  margin: 0;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 126px);
  object-fit: contain;
  background: #eee4d5;
}

.lightbox figcaption {
  color: rgba(243, 234, 217, 0.78);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 50%;
  background: rgba(20, 17, 13, 0.9);
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--ember);
  color: var(--ember-hot);
}

.interface-gallery {
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(243, 234, 217, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.interface-gallery::backdrop {
  background: rgba(20, 17, 13, 0.82);
  backdrop-filter: blur(10px);
}

.interface-gallery-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.interface-gallery-header .eyebrow {
  margin-bottom: 8px;
}

.interface-gallery-header h2 {
  font-size: 2.25rem;
}

.interface-gallery-close,
.interface-gallery-nav {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.interface-gallery-close {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
}

.interface-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.interface-gallery-tabs button {
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 6px;
  padding: 9px 12px;
  background: transparent;
  color: rgba(243, 234, 217, 0.78);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.interface-gallery-tabs button[aria-selected="true"] {
  border-color: var(--ember);
  background: var(--ember);
  color: var(--ink);
}

.interface-gallery-screen {
  margin: 0;
  display: grid;
  gap: 10px;
}

.interface-gallery-screen img {
  display: block;
  width: 100%;
  max-height: min(68svh, 860px);
  object-fit: contain;
  background: #eee4d5;
}

.interface-gallery-screen figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(243, 234, 217, 0.78);
  font-weight: 800;
}

.interface-gallery-full-size {
  border: 1px solid var(--ember);
  border-radius: 6px;
  padding: 8px 11px;
  background: var(--ember);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: zoom-in;
}

.interface-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.interface-gallery-controls p {
  min-width: 54px;
  margin: 0;
  text-align: center;
  color: rgba(243, 234, 217, 0.78);
  font-weight: 800;
}

.interface-gallery-nav {
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
}

.interface-gallery-close:hover,
.interface-gallery-close:focus-visible,
.interface-gallery-nav:hover,
.interface-gallery-nav:focus-visible,
.interface-gallery-full-size:hover,
.interface-gallery-full-size:focus-visible,
.interface-gallery-tabs button:hover,
.interface-gallery-tabs button:focus-visible {
  border-color: var(--ember);
  color: var(--ember-hot);
}

.interface-gallery-full-size:hover,
.interface-gallery-full-size:focus-visible {
  border-color: var(--paper);
  background: var(--ember-hot);
  color: var(--ink);
}

.legal-page {
  padding-top: 110px;
}

.legal {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  color: rgba(243, 234, 217, 0.78);
}

.legal h1 {
  font-size: 5rem;
}

.legal h2 {
  margin-top: 24px;
  font-size: 2.6rem;
}

.legal ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--ember-hot);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 48px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(20, 17, 13, 0.92) 0%, rgba(20, 17, 13, 0.76) 48%, rgba(20, 17, 13, 0.56) 100%);
  }

  .two-col,
  .split-list,
  .intro-layout,
  .feature-grid,
  .doc-grid,
  .lead-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .hero-lede {
    font-size: 1.16rem;
  }

  .intro-image {
    margin-top: 0;
  }

  .image-zoom.intro-image img,
  .workflow-responsive-image img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .interface-gallery-trigger {
    margin-top: 14px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2,
  .legal h1 {
    font-size: 2.55rem;
  }

  .legal h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 560px) {
  .brand-wordmark {
    width: 198px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .interface-gallery {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    padding: 16px;
  }

  .interface-gallery-header h2 {
    font-size: 1.85rem;
  }

  .interface-gallery-screen img {
    max-height: 56svh;
  }

  .button {
    width: 100%;
  }

  .lead-form {
    padding: 22px;
  }

  .guide-list > div {
    min-height: 132px;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .legal h1 {
    font-size: 2.45rem;
  }

  .legal h2 {
    font-size: 1.75rem;
  }
}
