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

/* Native CSS, not a recreation of a component library.
   Radius scale: 8px controls, 12px large surfaces; circular legacy brand mark.
   Layers: document 0, skip link 2. No decorative motion or floating overlays. */
:root {
  color-scheme: light;
  --paper: #f8faf7;
  --surface: #fefffc;
  --soft: #eef2ec;
  --ink: #17372f;
  --muted: #52635b;
  --line: #d3dcd2;
  --green: #ddea69;
  --accent: #245b47;
  --accent-ink: #17372f;
  --button-hover: #d3e15c;
  --shadow: 0 20px 48px -24px rgb(30 62 43 / 24%);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #14201c;
    --surface: #1a2922;
    --soft: #203129;
    --ink: #f0f5ed;
    --muted: #bac9bd;
    --line: #3b5042;
    --accent: #ddea69;
    --shadow: 0 20px 48px -24px rgb(5 15 9 / 50%);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #14201c;
  --surface: #1a2922;
  --soft: #203129;
  --ink: #f0f5ed;
  --muted: #bac9bd;
  --line: #3b5042;
  --accent: #ddea69;
  --shadow: 0 20px 48px -24px rgb(5 15 9 / 50%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #17372f; background: #ddea69; }
a { color: inherit; text-underline-offset: 0.2em; }
a, button, select { -webkit-tap-highlight-color: transparent; }
a, select { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
a:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; max-width: 65ch; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 560; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.16; letter-spacing: -0.045em; }
h3 { font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.025em; }
.wrap { width: min(100% - 6rem, 82.5rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  inset: 0.75rem auto auto 0.75rem;
  z-index: 2;
  padding: 0.65rem 1rem;
  background: var(--green);
  color: var(--accent-ink);
  border-radius: var(--radius);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.nav { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 1.1875rem; letter-spacing: -0.035em; font-weight: 650; text-decoration: none; white-space: nowrap; }
.mark { width: 2rem; height: 2rem; background: #17372f; border-radius: 50%; position: relative; display: inline-block; flex-shrink: 0; }
.mark::before { content: ""; position: absolute; width: 1.3125rem; height: 0.5625rem; border: 2px solid #ddea69; border-radius: 50%; top: 0.625rem; left: 0.3125rem; transform: rotate(-35deg); }
.navlinks { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 450; white-space: nowrap; }
.navlinks a { text-decoration: none; padding-block: 0.625rem; }
.navlinks a:hover, .footer-links a:hover { color: var(--accent); text-decoration: underline; }
.navlinks .nav-demo { display: inline-flex; gap: 0.875rem; margin-left: 0.5rem; font-weight: 600; }

.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); align-items: center; gap: 3.5rem; padding-top: 3.75rem; padding-bottom: 4.75rem; }
.hero-copy { padding-bottom: 0.75rem; }
.product-name { color: var(--accent); font-size: 1rem; font-weight: 550; margin-bottom: 1.375rem; }
h1 { font-size: clamp(2.5rem, 4.35vw, 3.875rem); line-height: 1.04; letter-spacing: -0.057em; font-weight: 570; }
h1 span { display: block; }
.lead { max-width: 28rem; margin-top: 1.625rem; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.hero-actions { margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 2rem; min-height: 3rem; padding: 0.75rem 1.125rem; border: 1px solid transparent; border-radius: var(--radius); background: var(--green); color: var(--accent-ink); text-decoration: none; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.button:hover { background: var(--button-hover); }
.button:active { transform: translateY(1px); }
.button span { font-size: 1.05rem; font-weight: 400; }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: var(--paper); border-color: var(--accent); }
.product-preview { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.product-preview img { width: 100%; aspect-ratio: 7 / 5; object-fit: contain; }
.product-preview:hover { border-color: var(--accent); }

.section { padding-top: 5rem; padding-bottom: 5.5rem; }
.section-intro { max-width: 46rem; margin-bottom: 2.75rem; }
.section-intro > p { color: var(--muted); margin-top: 1.125rem; font-size: 1.0625rem; line-height: 1.65; }
.product-section { border-top: 1px solid var(--line); padding-top: 0; }
.demo-notice { display: flex; align-items: baseline; gap: 1.5rem; padding-block: 1.5rem; color: var(--muted); font-size: 0.875rem; }
.demo-notice strong { color: var(--ink); font-weight: 550; flex-shrink: 0; }
.product-section .section-intro { margin-top: 3.25rem; }
.workflow { margin-left: auto; max-width: 64rem; }
.workflow-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 3rem; padding-block: 1.5rem; }
.workflow-row + .workflow-row { border-top: 1px solid var(--line); }
.workflow-row h3 { font-size: 1.25rem; }
.workflow-row p { color: var(--muted); font-size: 1rem; line-height: 1.7; }

.approach-section { background: var(--soft); padding-bottom: 4.75rem; }
.approach-section .section-intro { max-width: 42rem; }
.approach-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); align-items: center; gap: 4.5rem; }
.review-preview { margin: 0; min-width: 0; }
.review-preview img { width: 100%; aspect-ratio: 7 / 5; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--surface); }
.review-preview figcaption { margin-top: 0.875rem; color: var(--muted); font-size: 0.8125rem; }
.approach-notes { display: grid; gap: 2.25rem; padding-bottom: 2rem; }
.approach-notes h3 { margin-bottom: 0.75rem; }
.approach-notes p { color: var(--muted); font-size: 0.9375rem; line-height: 1.75; }

.development-section { padding-top: 5.75rem; }
.development-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4.5rem; }
.development-grid article { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.development-grid h3 { margin-bottom: 1rem; }
.development-grid p { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 48ch; }
.development-grid .supporting-copy { margin-top: 1rem; font-size: 0.9375rem; }
.text-link { display: inline-flex; gap: 0.75rem; align-items: center; font-size: 0.9375rem; font-weight: 550; color: var(--accent); text-decoration: underline; margin-top: 1.5rem; }
.text-link:hover { text-decoration-thickness: 2px; }

.about-section { padding-top: 3.5rem; border-top: 1px solid var(--line); }
.about-copy { max-width: 47rem; }
.about-copy h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); margin-bottom: 1.5rem; }
.about-copy p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.about-copy p + p { margin-top: 1rem; }
.pilot-invitation { margin-top: 2.75rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.25rem; background: var(--soft); border-radius: var(--radius-lg); }
.pilot-invitation h3 { margin-bottom: 0.5rem; }
.pilot-invitation p { color: var(--muted); font-size: 0.9375rem; }
.pilot-invitation .button { flex-shrink: 0; }

.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; padding-bottom: 2.5rem; color: var(--muted); font-size: 0.8125rem; }
.footer-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.footer-brand { color: var(--ink); font-size: 1rem; gap: 0.5rem; }
.footer-brand .mark { width: 1.5rem; height: 1.5rem; }
.footer-brand .mark::before { width: 1rem; height: 0.4375rem; top: 0.5rem; left: 0.25rem; border-width: 1.5px; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { padding-block: 0.5rem; text-decoration: none; }
.theme-control { display: flex; align-items: center; gap: 0.625rem; }
.theme-control select { font: inherit; color: var(--ink); padding: 0.5rem 0.5rem; min-height: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.theme-control select:hover { border-color: var(--accent); }

@media (min-width: 1440px) {
  .hero { gap: 4.5rem; }
}
@media (max-width: 1023px) {
  .wrap { width: min(100% - 3rem, 82.5rem); }
  .navlinks { gap: 1.375rem; }
  .hero { gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  h1 { font-size: clamp(2.2rem, 4.25vw, 3.3rem); }
  .lead { font-size: 1rem; }
  .approach-layout { gap: 2.5rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr); }
  .development-grid { gap: 3rem; }
  .site-footer { gap: 1.5rem; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 2.5rem); }
  .nav { flex-wrap: wrap; gap: 0; padding-top: 1rem; padding-bottom: 0.625rem; min-height: 0; }
  .brand { font-size: 1.125rem; }
  .navlinks { width: 100%; gap: 1.5rem; justify-content: space-between; margin-top: 0.625rem; font-size: 0.8125rem; }
  .navlinks .nav-demo { margin-left: auto; gap: 0.5rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .hero-copy { padding-bottom: 0; }
  .product-name { margin-bottom: 1.125rem; font-size: 0.9375rem; }
  h1 { font-size: clamp(2rem, 8.3vw, 3.75rem); }
  .lead { max-width: 31rem; margin-top: 1.25rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .product-preview { width: 100%; }
  .section { padding-top: 3.5rem; padding-bottom: 3.75rem; }
  .section-intro { margin-bottom: 2rem; }
  .section-intro > p { font-size: 1rem; }
  .product-section { padding-top: 0; }
  .demo-notice { display: block; padding-block: 1.25rem; }
  .demo-notice p { margin-top: 0.35rem; }
  .product-section .section-intro { margin-top: 2rem; }
  .workflow-row { grid-template-columns: 1fr; gap: 0.625rem; padding-block: 1.25rem; }
  .workflow-row h3 { font-size: 1.125rem; }
  .workflow-row p { font-size: 0.9375rem; }
  .approach-layout { grid-template-columns: 1fr; gap: 2rem; }
  .approach-notes { gap: 1.5rem; padding-bottom: 0; }
  .approach-notes h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
  .development-grid { grid-template-columns: 1fr; gap: 2rem; }
  .development-grid article { padding-top: 1.25rem; }
  .development-grid p { max-width: 65ch; }
  .about-copy h2 { margin-bottom: 1.25rem; }
  .pilot-invitation { align-items: flex-start; flex-direction: column; gap: 1.5rem; padding: 1.5rem; margin-top: 2rem; }
  .site-footer { align-items: flex-start; gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 2rem; }
  .footer-identity { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 1.25rem; }
  .theme-control { margin-left: auto; }
}
@media (max-width: 420px) {
  .navlinks { gap: 1rem; }
  .navlinks .nav-demo { gap: 0.25rem; }
  .theme-control { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, select { transition: none; }
  .button:active { transform: none; }
}
