@font-face {
  font-family: Inter;
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f8f7;
  --white: #fff;
  --ink: #142220;
  --muted: #4c605a;
  --line: #d7e0dc;
  --accent: #136453;
  --night: #101a20;
  --mint: #a5efdd;
  --radius: 15px;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .7; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.04em; }
h2 { font-size: clamp(33px, 4.3vw, 54px); font-weight: 650; text-wrap: balance; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -.025em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: #0f211c; background: #b2efdf; }

.container { width: min(calc(100% - 88px), 1280px); margin-inline: auto; }
.section { padding-block: clamp(60px, 7.8vw, 112px); }
.dark-section, .site-header {
  --ink: #f3faf8;
  --muted: #b9cbc8;
  --line: #3a4c50;
  --accent: var(--mint);
  background: var(--night);
  color: var(--ink);
  color-scheme: dark;
}
.dark-section :focus-visible, .site-header :focus-visible { outline-color: var(--mint); }
.sr-only, .honeypot {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--mint);
  color: #0c2821;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 650; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

.site-header { position: relative; z-index: 1; border-bottom: 1px solid #2c3c40; }
.nav-wrap, .nav-actions, .desktop-nav { display: flex; align-items: center; }
.nav-wrap { justify-content: space-between; min-height: 72px; gap: 28px; }
.nav-actions { gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.brand-emblem { width: 35px; color: var(--accent); }
.brand-name { font-size: 31px; line-height: 1; font-weight: 760; letter-spacing: -.071em; }
.brand-period { color: var(--accent); }
.desktop-nav { flex-wrap: wrap; gap: 8px clamp(19px, 3vw, 42px); color: var(--muted); }
.desktop-nav a, .nav-cta, .mobile-nav a { font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--mint); }
.btn, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.4;
}
.nav-cta { border-color: #536a6b; color: #ebfaf6; }
.nav-cta:hover { background: #233238; border-color: var(--mint); }
.btn span[aria-hidden], .nav-cta span { flex: none; }
.btn-primary { background: var(--mint); color: #0d2b23; }
.btn-primary:hover { background: #d2fcf1; color: #102821; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #536a6b;
  border-radius: 8px;
  color: #ebfaf6;
  background: transparent;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.mobile-nav { display: none; }
.no-script-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 12px; }
.no-script-nav a { color: var(--accent); text-decoration: underline; }

.hero {
  background:
    radial-gradient(ellipse at 88% 30%, #223f42 0%, transparent 57%),
    var(--night);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(30px, 4.6vw, 76px);
  padding-block: clamp(52px, 6.5vw, 94px);
}
.hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(44px, 5.25vw, 80px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 660;
}
.hero h1 em { display: block; color: var(--mint); font-style: normal; }
.hero-lede { max-width: 44ch; font-size: clamp(16px, 1.4vw, 19px); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-prompt {
  position: relative;
  max-width: 470px;
  margin-top: 26px;
  padding: 2px 12px 11px;
  border: 1px solid #405358;
  border-radius: 10px;
  background: #151f24;
}
.hero-prompt-header { display: flex; align-items: center; justify-content: space-between; gap: 4px 10px; }
.hero-prompt-label { font-size: 12px; font-weight: 600; }
.hero-prompt-toggle {
  min-height: 44px;
  padding-inline: 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--mint);
  font-size: 12px;
}
.hero-prompt-toggle:hover { text-decoration: underline; }
.hero-prompt-line, .hero-prompt-examples { color: #e8f4f1; font: 13px/1.55 var(--mono); overflow-wrap: anywhere; }
.hero-prompt-line { display: grid; }
.hero-prompt-line > span { grid-area: 1 / 1; }
.hero-prompt-prefix { color: var(--mint); }
.hero-prompt-reserve, .hero-prompt-line.is-paused .hero-prompt-caret { visibility: hidden; }
.hero-prompt-caret { border-inline-start: 1px solid var(--mint); margin-inline-start: 2px; }
.hero-prompt-examples ul { margin: 3px 0 0; padding-inline-start: 18px; }
.hero-prompt-header:has(.hero-prompt-toggle[hidden]) { min-height: 34px; }

.hero-visual {
  min-width: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #53686b;
  border-radius: 20px;
  background: #18272c;
  box-shadow: 0 28px 55px #050a104d;
}
.hero-video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #d7dedc; }
.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding: 10px 7px 4px;
  color: var(--muted);
  font-size: 12px;
}
.hero-visual figcaption strong { color: var(--ink); font-weight: 650; }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 26px;
}
.section-heading > p { max-width: 44ch; }
.capability-grid, .media-grid { display: grid; gap: 18px; }
.capability-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.capability-card, .media-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.capability-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 6px;
  background: #e9eeeb;
  border-bottom: 1px solid var(--line);
}
.capability-card > div, .media-caption { padding: 18px; }
.capability-card p, .media-caption p { margin-top: 7px; font-size: 14px; }

.workflow-section { background: #e9f0ec; border-block: 1px solid #dce6e0; }
.workflow-shell {
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
}
.workflow-options { display: grid; gap: 8px; }
.workflow-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  gap: 10px;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}
.workflow-option strong, .workflow-option small { display: block; }
.workflow-option small { margin-top: 1px; color: var(--muted); font-size: 13px; }
.workflow-option > span:last-child { color: var(--accent); }
.workflow-option:hover, .workflow-option.is-selected { border-color: #4b897a; }
.workflow-option.is-selected { background: #d8eee6; box-shadow: inset 3px 0 #36816d; }
.workflow-example {
  display: grid;
  align-content: center;
  container-type: inline-size;
  padding: clamp(18px, 2.6vw, 34px);
  border-radius: var(--radius);
}
.workflow-scene { display: grid; align-items: center; gap: 20px; }
.workflow-copy { display: grid; gap: 9px; }
.workflow-example blockquote { margin: 0 0 8px; font-size: clamp(21px, 2.2vw, 32px); font-weight: 580; line-height: 1.25; letter-spacing: -.03em; }
.workflow-answer { display: grid; gap: 3px; border-top: 1px solid var(--line); padding-top: 13px; }
.workflow-result { min-width: 0; width: min(100%, 360px); overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.workflow-result img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #dce0df; }
.workflow-result figcaption { padding: 7px 10px; color: var(--muted); background: #18272c; font-size: 12px; }
@container (min-width: 475px) {
  .workflow-scene { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

.media-section { background: #f0f4f1; }
.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-image-link { display: block; background: #e5ebe7; border-bottom: 1px solid var(--line); }
.media-image-link img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; padding: 8px; }
.media-image-link:hover { background: #dce7e1; }
.media-image-link:focus-visible { outline-offset: -4px; }
.media-caption h3 { font-size: 18px; }
.media-fullsize { display: inline-block; padding: 8px 0; margin: 4px 14px 0 0; font-size: 13px; font-weight: 560; }
.demo-card { max-width: 900px; }
.media-grid:not([hidden]) + .demo-card { margin-top: 18px; }
.demo-video {
  width: 100%;
  max-height: 70vh;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #04101f;
}

.about-section { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: minmax(200px, 310px) minmax(0, 620px);
  align-items: center;
  gap: clamp(26px, 7vw, 100px);
  justify-content: center;
}
.founder-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about-layout h2 { margin-top: 5px; }
.about-layout p:not(.eyebrow) { margin-top: 14px; }
.founder-independence { font-size: 13px; }
.about-layout .text-link { display: inline-block; margin-top: 14px; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 2px;
  min-height: 52px;
  font-weight: 630;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--accent); font-size: 20px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 25px 16px 2px; }
.faq-list a, .privacy-layout p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.contact-section { background: #17282c; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(32px, 6vw, 88px); }
.contact-copy p { margin: 16px 0 18px; max-width: 40ch; }
.contact-copy h2 { text-wrap: wrap; }
.contact-address { margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
#open-email-draft { margin-top: 10px; }
.contact-panel { padding: clamp(20px, 3.4vw, 37px); border: 1px solid #425659; border-radius: var(--radius); background: #111e23; }
.contact-panel h3 { margin-bottom: 17px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink); font-weight: 570; }
.field label span, .required-star { color: var(--accent); }
.field label .optional { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  background: #1c2d32;
  color: var(--ink);
  border: 1px solid #597276;
  border-radius: 7px;
  font-size: 14px;
}
.form-context { margin-bottom: 12px; }
.form-context summary { min-height: 33px; color: var(--accent); font-size: 13px; cursor: pointer; }
.form-context summary span { margin-left: 3px; color: var(--muted); font-size: 11px; }
.form-context[open] > .field-row { margin-top: 6px; }
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b0c4c2; }
.consent { display: flex; align-items: start; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.consent input { flex: none; margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--mint); }
.consent a { color: var(--mint); text-decoration: underline; }
.form-submit { margin-top: 17px; width: 100%; }
.form-fineprint { margin-top: 10px; font-size: 12px; }
.form-fineprint a { color: var(--mint); text-decoration: underline; }
.form-message { margin-top: 12px; padding: 8px 11px; border: 1px solid #669689; border-radius: 6px; color: #e6f8f1; font-size: 13px; }
.form-message.error { color: #ffe3dc; border-color: #be877d; }

.footer-main, .footer-bottom, .footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; }
.footer-main { align-items: center; gap: 22px; padding-block: 33px; }
.footer-main p, .footer-links, .footer-bottom { color: var(--muted); font-size: 13px; }
.footer-main p { margin-top: 8px; }
.footer-links { justify-content: flex-start; gap: 10px 24px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--mint); }
.footer-bottom { padding-block: 17px; gap: 10px; border-top: 1px solid var(--line); }
.privacy-layout { max-width: 740px; }
.privacy-layout h1 { font-size: clamp(42px, 5.8vw, 70px); }
.privacy-intro { margin-top: 16px; font-size: 18px; }
.privacy-layout section { margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.privacy-layout h2 { font-size: 25px; text-wrap: wrap; }
.privacy-layout section p { margin-top: 9px; }
.privacy-layout a { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .capability-grid, .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .container { width: min(calc(100% - 52px), 740px); }
  .desktop-nav { display: none; }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { display: grid; place-content: center; gap: 4px; }
  .mobile-nav {
    display: grid;
    position: absolute;
    inset: 100% 0 auto;
    border-bottom: 1px solid #536a6b;
    padding: 9px max(26px, calc((100% - 740px) / 2));
    background: var(--night);
  }
  .mobile-nav a { padding: 10px 3px; min-height: 44px; color: var(--muted); }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(44px, 8vw, 72px); }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 570px) {
  .container { width: calc(100% - 36px); }
  .nav-wrap { gap: 8px; }
  .nav-actions { gap: 7px; }
  .nav-cta { gap: 6px; min-height: 44px; padding-inline: 10px; font-size: 12px; }
  .mobile-nav { padding-inline: 18px; }
  .brand-name { font-size: 27px; }
  .brand-emblem { width: 29px; }
  .hero-layout { padding-block: 39px 48px; }
  .hero h1 { font-size: clamp(42px, 9.5vw, 58px); }
  .hero-buttons { margin-top: 20px; }
  .hero-visual { padding: 6px; border-radius: 14px; }
  .hero-video { border-radius: 8px; }
  .hero-buttons .btn { gap: 6px; padding-inline: 11px; }
  .media-grid, .capability-grid, .workflow-shell, .about-layout { grid-template-columns: 1fr; }
  .founder-photo { width: min(66%, 245px); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@keyframes rise-in {
  from { opacity: .62; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes video-in {
  from { opacity: .64; transform: scale(.984); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-lede, .hero-buttons:not(:focus-within), .hero-visual:not(:focus-within),
  .has-entered:not(:focus-within) {
    animation: rise-in .5s cubic-bezier(.2, .72, .25, 1) var(--entrance-delay, 0ms) backwards;
  }
  .hero-lede { --entrance-delay: 75ms; }
  .hero-buttons { --entrance-delay: 140ms; }
  .hero-visual:not(:focus-within) { --entrance-delay: 55ms; animation-name: video-in; }
  .capability-card:nth-child(2n), .media-card:nth-child(3n + 2) { --entrance-delay: 55ms; }
  .capability-card:nth-child(4n), .media-card:nth-child(3n) { --entrance-delay: 105ms; }
  .btn, .nav-cta, .workflow-option { transition: background-color .18s, border-color .18s, color .18s; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .media-image-link { overflow: hidden; transition: background-color .2s; }
  .media-image-link img { transition: transform .28s cubic-bezier(.2, .72, .25, 1); }
  .media-image-link:hover img { transform: scale(1.026); }
  .btn span[aria-hidden], .nav-cta span { transition: transform .2s; }
  .btn:hover span[aria-hidden], .nav-cta:hover span { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .menu-toggle, .btn, .hero-prompt-toggle, .workflow-option { border: 1px solid ButtonText; }
  .workflow-option.is-selected { outline: 2px solid Highlight; outline-offset: -3px; }
}
