:root {
  color-scheme: light;
  --ink: #15161a;
  --muted: #62656d;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --soft: #f1ece3;
  --line: #ded8cf;
  --accent: #ff6f3c;
  --accent-dark: #201310;
  --mint: #d7eee6;
  --shadow: 0 22px 60px rgba(41, 29, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header { align-items: center; backdrop-filter: blur(14px); background: rgba(248, 246, 241, .92); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; min-height: 72px; padding: 12px clamp(18px, 4vw, 56px); position: sticky; top: 0; z-index: 20; }
.brand { align-items: center; display: inline-flex; font-weight: 900; gap: 10px; text-decoration: none; }
.brand img { border-radius: 50%; }
.site-nav { align-items: center; display: flex; font-size: .92rem; font-weight: 750; gap: 22px; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--ink); padding: 8px 12px; }
.menu-toggle { display: none; }

.hero { align-items: center; display: grid; gap: clamp(28px, 6vw, 88px); grid-template-columns: minmax(280px, 1fr) minmax(300px, .9fr); min-height: calc(100svh - 72px); padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px); }
.hero-copy { max-width: 730px; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 950; letter-spacing: .09em; margin-bottom: 11px; text-transform: uppercase; }
h1 { font-size: clamp(3.15rem, 7.3vw, 7.1rem); letter-spacing: -.055em; line-height: .92; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4.3vw, 4.25rem); letter-spacing: -.045em; line-height: .98; margin-bottom: 16px; }
.hero-copy > p:not(.eyebrow), .intro-band > p:last-child, .feature-row > p, .mission-section > p, .start-section p { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.13rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { align-items: center; border: 1px solid var(--ink); display: inline-flex; font-weight: 900; justify-content: center; min-height: 47px; padding: 0 18px; text-decoration: none; }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button.primary:hover { background: #ff8357; }
.button.ghost:hover { background: var(--soft); }
.hero-note { color: var(--muted); font-size: .88rem; margin: 17px 0 0; }

.hero-panel { display: grid; justify-items: center; }
.device-frame { background: #0e0e10; border: clamp(7px, 1.1vw, 12px) solid #171719; border-radius: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); max-width: 330px; overflow: hidden; position: relative; width: min(100%, 330px); }
.device-frame::before { background: #050506; border-radius: 999px; content: ""; height: 18px; left: 50%; position: absolute; top: 10px; transform: translateX(-50%); width: 82px; z-index: 1; }
.device-frame img { display: block; height: auto; width: 100%; }
.hero-device { max-width: 370px; transform: rotate(2deg); width: min(100%, 370px); }
.screenshot-note { color: var(--muted); font-size: .86rem; margin: 24px 0 0; max-width: 330px; text-align: center; }

.intro-band, .feature-section, .mission-section, .start-section { padding: clamp(50px, 8vw, 108px) clamp(18px, 5vw, 72px); }
.intro-band { background: var(--accent-dark); color: #fff; }
.intro-band h2 { max-width: 1040px; }
.intro-band > p:last-child { color: #d8d1ca; max-width: 820px; }
.feature-section { background: var(--surface); display: grid; gap: clamp(52px, 8vw, 112px); }
.section-heading { max-width: 780px; }
.feature-story { align-items: center; display: grid; gap: clamp(26px, 8vw, 118px); grid-template-columns: minmax(240px, .8fr) minmax(260px, 1.2fr); }
.feature-story:nth-of-type(odd) .device-frame { justify-self: end; }
.feature-story:nth-of-type(even) { grid-template-columns: minmax(260px, 1.2fr) minmax(240px, .8fr); }
.feature-story:nth-of-type(even) .device-frame { grid-column: 2; grid-row: 1; }
.feature-story:nth-of-type(even) .feature-copy { grid-column: 1; grid-row: 1; }
.feature-copy { max-width: 600px; }
.feature-copy h3 { font-size: clamp(2rem, 3.7vw, 3.85rem); letter-spacing: -.05em; line-height: .98; margin-bottom: 16px; }
.feature-copy p:last-child { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.13rem); margin-bottom: 0; }
.mission-section { background: var(--soft); display: grid; gap: clamp(22px, 6vw, 90px); grid-template-columns: minmax(240px, .9fr) minmax(260px, 1.1fr); }
.mission-section > p { align-self: center; margin: 0; max-width: 650px; }
.start-section { align-items: end; display: grid; gap: clamp(24px, 6vw, 90px); grid-template-columns: minmax(240px, .9fr) minmax(260px, 1.1fr); }
.start-actions { align-items: start; display: grid; gap: 12px; justify-items: start; }
.text-link { border-color: transparent; min-height: 32px; padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; gap: 18px; justify-content: space-between; padding: 25px clamp(18px, 4vw, 56px); }
.site-footer p { margin-bottom: 0; }
.site-footer div:last-child { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  .menu-toggle { background: transparent; border: 1px solid var(--line); color: var(--ink); display: inline-flex; font: inherit; font-weight: 850; padding: 8px 12px; }
  .site-nav { align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); display: none; flex-direction: column; left: 0; padding: 14px 18px 18px; position: absolute; right: 0; top: 72px; }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .hero, .feature-story, .feature-story:nth-of-type(even), .mission-section, .start-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 68px; }
  .hero-panel { margin-top: 8px; }
  .hero-device { transform: none; }
  .feature-story .device-frame, .feature-story:nth-of-type(odd) .device-frame { justify-self: center; }
  .feature-story:nth-of-type(even) .device-frame, .feature-story:nth-of-type(even) .feature-copy { grid-column: auto; grid-row: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.8rem; }
  .hero-actions .button { width: 100%; }
  .device-frame { max-width: 290px; }
}
