:root {
  --ink: #111113;
  --muted: #6e6e73;
  --paper: #f6f6f8;
  --paper-strong: #ffffff;
  --night: #12171c;
  --night-soft: #192127;
  --night-line: #303a42;
  --light: #e9e6dd;
  --light-muted: #aab3ba;
  --green: #176b4d;
  --green-bright: #48bb83;
  --green-dark: #0f573e;
  --line: #e5e5ea;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; transform: translateY(-160%); border-radius: 8px; background: white; color: var(--ink); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 18px; color: var(--green-bright); font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 50; height: var(--header); padding: 0 clamp(24px, 4vw, 68px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--light); border-bottom: 1px solid rgba(255,255,255,.1); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.site-header.is-scrolled { position: fixed; background: rgba(18,23,28,.88); border-color: rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.brand { width: max-content; }
.brand img { width: 108px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a, .text-link { color: #c4cbc7; font-size: .88rem; font-weight: 600; text-decoration: none; transition: color .18s ease; }
.desktop-nav a:hover, .text-link:hover { color: white; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.button { min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--green); color: white; font-size: .93rem; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 32px rgba(39,134,95,.2); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); background: #2f946c; box-shadow: 0 18px 38px rgba(39,134,95,.28); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(72,187,131,.55); outline-offset: 3px; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .85rem; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; min-height: 100svh; padding: calc(var(--header) + clamp(58px, 9vh, 102px)) clamp(24px, 6vw, 96px) 50px; overflow: hidden; color: var(--light); background: var(--night); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-glow { position: absolute; z-index: -2; width: 55vw; aspect-ratio: 1; top: -28vw; right: -13vw; border-radius: 50%; background: radial-gradient(circle, rgba(52,162,112,.19), rgba(18,23,28,0) 68%); filter: blur(8px); }
.hero-copy { position: relative; z-index: 2; width: min(675px, 55vw); }
.hero h1 { margin: 0; color: #f1eee5; font-family: Manrope, "DM Sans", sans-serif; font-size: clamp(3.5rem, 7.2vw, 7.6rem); font-weight: 700; line-height: .94; letter-spacing: -.068em; }
.hero h1 span { color: #75827a; }
.hero-intro { max-width: 585px; margin: 30px 0 0; color: #abb4af; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.58; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 25px; }
.quiet-link { display: inline-flex; align-items: center; gap: 9px; color: #d3d8d3; font-size: .92rem; font-weight: 700; text-decoration: none; }
.quiet-link span { transition: transform .18s ease; }
.quiet-link:hover span { transform: translateY(4px); }
.hero-product { position: absolute; z-index: 1; width: min(930px, 66vw); right: clamp(-260px, -9vw, -40px); bottom: clamp(-165px, -12vh, -75px); transform: translateY(var(--parallax-y, 0)) perspective(1400px) rotateY(-8deg) rotateX(2deg); transform-origin: right bottom; }
.hero-product::before { content: ""; position: absolute; inset: 0 auto 0 -1px; z-index: 3; width: 22%; pointer-events: none; background: linear-gradient(90deg, var(--night), rgba(18,23,28,.82) 24%, transparent); }
.product-frame { overflow: hidden; border: 1px solid var(--night-line); border-radius: 17px; background: var(--night-soft); box-shadow: 0 45px 90px rgba(0,0,0,.35); }
.product-frame img { width: 100%; height: auto; }
.product-frame-hero { box-shadow: -30px 55px 110px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03); }
.frame-bar { height: 34px; padding: 0 13px; display: flex; align-items: center; gap: 6px; color: #7d878d; border-bottom: 1px solid var(--night-line); background: #171e23; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3c464d; }
.frame-bar span { margin-left: 7px; }
.frame-note { margin: 13px 5px 0; display: flex; align-items: center; gap: 8px; color: #8e9993; font-size: .76rem; font-weight: 600; }
.frame-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(72,187,131,.09); }
.hero-foot { position: absolute; bottom: 32px; left: clamp(24px, 6vw, 96px); display: flex; align-items: center; gap: 13px; color: #5f6c65; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-foot i { width: 25px; height: 1px; background: #3a4540; }
.hero-reveal { opacity: 0; transform: translateY(20px); animation: heroIn .7s cubic-bezier(.2,.72,.25,1) forwards; }
.hero-reveal:nth-child(2) { animation-delay: .08s; }
.hero-reveal:nth-child(3) { animation-delay: .16s; }
.hero-reveal:nth-child(4) { animation-delay: .24s; }
.hero-product.hero-reveal { animation-name: heroProductIn; animation-delay: .2s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes heroProductIn { from { opacity: 0; margin-bottom: -22px; } to { opacity: 1; margin-bottom: 0; } }

.tension { min-height: 54vh; padding: 12vh clamp(24px, 8vw, 130px); display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.tension p { margin: 0; color: #bdc0b8; font-family: Manrope, sans-serif; font-size: clamp(2.8rem, 6.2vw, 6.7rem); font-weight: 700; line-height: 1.05; letter-spacing: -.055em; }
.tension p.accent { color: var(--green-dark); }

.section-dark { color: var(--light); background: var(--night); }
.product-story { padding: clamp(95px, 11vw, 170px) clamp(24px, 6vw, 96px); overflow: hidden; }
.section-intro { max-width: 780px; }
.section-intro h2, .builder-copy h2, .team-copy h2, .flow-heading h2, .closing h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.055em; }
.section-intro > p:last-child, .builder-copy > p, .team-copy > p { max-width: 590px; margin: 25px 0 0; color: var(--light-muted); font-size: 1.05rem; line-height: 1.65; }
.story-layout { margin-top: clamp(65px, 8vw, 120px); display: grid; grid-template-columns: minmax(250px, .6fr) minmax(620px, 1.8fr); gap: clamp(30px, 5vw, 75px); align-items: center; }
.story-steps { display: grid; }
.story-step { min-height: 115px; padding: 22px 0; display: grid; grid-template-columns: 35px 1fr; column-gap: 13px; text-align: left; border: 0; border-bottom: 1px solid var(--night-line); background: transparent; color: #77848b; cursor: pointer; transition: color .2s ease, padding .2s ease; }
.story-step span { grid-row: 1 / 3; color: #65726b; font-size: .72rem; font-weight: 700; }
.story-step strong { font-size: 1rem; }
.story-step small { margin-top: 7px; font-size: .82rem; }
.story-step.active { padding-left: 12px; color: #f1eee5; }
.story-step.active span { color: var(--green-bright); }
.product-stage { position: relative; }
.product-stage .product-frame { transition: transform .45s cubic-bezier(.2,.72,.25,1); }
.stage-focus { position: absolute; z-index: 2; border: 1px solid rgba(72,187,131,.7); border-radius: 7px; box-shadow: 0 0 0 999px rgba(8,12,15,.2), 0 0 28px rgba(72,187,131,.17); pointer-events: none; transition: inset .45s cubic-bezier(.2,.72,.25,1), width .45s, height .45s; }
.stage-focus-one { top: 12%; left: 1.8%; width: 18%; height: 67%; }
.product-stage[data-active="1"] .stage-focus { top: 70%; left: 25.8%; width: 47%; height: 25%; }
.product-stage[data-active="2"] .stage-focus { top: 17%; left: 74.8%; width: 23%; height: 71%; }

.builder-story { padding: clamp(100px, 12vw, 180px) clamp(24px, 6vw, 96px); display: grid; grid-template-columns: minmax(280px, .72fr) minmax(590px, 1.5fr); gap: clamp(55px, 8vw, 130px); align-items: center; }
.builder-copy > p { color: var(--muted); }
.feature-lines { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-lines li { min-height: 58px; display: flex; align-items: center; gap: 17px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.feature-lines span { color: var(--green); font-size: .73rem; }
.builder-visual { transform: translateY(var(--parallax-y, 0)) perspective(1500px) rotateY(-3deg); }
.product-frame-light { border-color: #cfd2ca; box-shadow: 0 35px 80px rgba(40,55,44,.16); }

.flow-section { padding: clamp(90px, 11vw, 165px) clamp(24px, 6vw, 96px); border-top: 1px solid var(--line); }
.flow-heading { max-width: 750px; }
.flow-line { position: relative; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.flow-line::before { content: ""; position: absolute; top: 18px; left: 3%; right: 3%; height: 1px; background: var(--line); }
.flow-line li { position: relative; display: grid; gap: 8px; }
.flow-line li:not(:first-child) { padding-left: 28px; }
.flow-line span { position: relative; z-index: 1; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #b9c2bb; border-radius: 50%; background: var(--paper); color: var(--green-dark); font-size: .75rem; font-weight: 800; }
.flow-line strong { margin-top: 18px; font-size: 1.08rem; }
.flow-line small { color: var(--muted); font-size: .85rem; }

.team-story { padding: clamp(100px, 11vw, 165px) clamp(24px, 6vw, 96px); display: grid; grid-template-columns: minmax(600px, 1.45fr) minmax(300px, .65fr); gap: clamp(55px, 8vw, 120px); align-items: center; }
.team-visual .product-frame { box-shadow: 0 42px 90px rgba(0,0,0,.36); }
.team-points { margin-top: 38px; border-top: 1px solid var(--night-line); }
.team-points p { margin: 0; padding: 18px 0; display: grid; gap: 5px; border-bottom: 1px solid var(--night-line); }
.team-points strong { color: #edeae2; font-size: .92rem; }
.team-points span { color: #8f9aa1; font-size: .82rem; line-height: 1.5; }

.closing { position: relative; min-height: 78vh; padding: 100px 24px; display: grid; place-items: center; overflow: hidden; color: white; text-align: center; background: var(--green-dark); }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 65%, rgba(117,222,165,.22), transparent 42%); }
.closing-copy { position: relative; z-index: 2; display: grid; justify-items: center; }
.closing-copy img { margin-bottom: 46px; }
.closing h2 { font-size: clamp(3.2rem, 7vw, 7.2rem); }
.closing p { max-width: 560px; margin: 24px 0 32px; color: #c7e1d5; font-size: 1.1rem; line-height: 1.6; }
.button-light { background: #f0ede4; color: #173326; box-shadow: 0 15px 35px rgba(0,0,0,.15); }
.button-light:hover { background: white; }
.closing-orbit, .closing-orbit i { position: absolute; border: 1px solid rgba(215,244,228,.13); border-radius: 50%; }
.closing-orbit { width: min(900px, 90vw); aspect-ratio: 1; animation: orbit 22s linear infinite; }
.closing-orbit i:nth-child(1) { inset: 12%; }
.closing-orbit i:nth-child(2) { inset: 27%; }
.closing-orbit i:nth-child(3) { width: 11px; height: 11px; top: 11.5%; left: 49%; border: 0; background: #8ee3b7; box-shadow: 0 0 24px #8ee3b7; }
@keyframes orbit { to { transform: rotate(360deg); } }

.site-footer { min-height: 130px; padding: 35px clamp(24px, 5vw, 72px); display: grid; grid-template-columns: auto 1fr auto auto; gap: 35px; align-items: center; color: #59635d; background: #eeeae1; font-size: .8rem; }
.site-footer img { width: 90px; height: auto; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.site-footer a { font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--green-dark); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.72,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { display: none; }
  .menu-toggle { justify-self: end; width: 42px; height: 42px; padding: 0 10px; display: grid; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: transparent; }
  .menu-toggle span { width: 18px; height: 1px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: var(--header) 0 0; padding: 34px 24px; background: rgba(18,23,28,.98); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 6px; }
  .mobile-nav a:not(.button) { min-height: 55px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); color: #e5e2da; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
  .mobile-nav .button { margin-top: 20px; }
  .hero-copy { width: min(650px, 76vw); }
  .hero-product { width: 78vw; opacity: .72; right: -32vw; bottom: -5vh; }
  .story-layout, .builder-story, .team-story { grid-template-columns: 1fr; }
  .story-layout { gap: 45px; }
  .story-steps { grid-template-columns: repeat(3, 1fr); }
  .story-step { min-height: 145px; padding-right: 12px; grid-template-columns: 1fr; }
  .story-step span { grid-row: auto; }
  .team-visual { order: 2; }
}

@media (max-width: 700px) {
  :root { --header: 66px; }
  .site-header { padding-inline: 18px; }
  .brand img { width: 94px; }
  .hero { min-height: 920px; padding: calc(var(--header) + 55px) 20px 34px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3.3rem, 15.5vw, 5.2rem); line-height: .97; }
  .hero-intro { max-width: 92%; margin-top: 24px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-product { width: 760px; max-width: none; right: -395px; bottom: 36px; opacity: .8; transform: translateY(var(--parallax-y, 0)) perspective(1200px) rotateY(-9deg); }
  .hero-product::before { display: none; }
  .frame-note { display: none; }
  .hero-foot { bottom: 18px; left: 20px; }
  .tension { min-height: 48vh; padding: 90px 20px; }
  .tension p { font-size: clamp(2.4rem, 12vw, 4rem); }
  .product-story, .builder-story, .flow-section, .team-story { padding: 90px 20px; }
  .section-intro h2, .builder-copy h2, .team-copy h2, .flow-heading h2 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .section-intro > p:last-child, .builder-copy > p, .team-copy > p { font-size: .98rem; }
  .story-layout { margin-top: 50px; }
  .story-steps { grid-template-columns: 1fr; }
  .story-step { min-height: 82px; grid-template-columns: 32px 1fr; }
  .story-step span { grid-row: 1 / 3; }
  .product-stage, .builder-visual, .team-visual { width: 780px; max-width: none; }
  .product-stage { margin-left: -28px; }
  .stage-focus { display: none; }
  .builder-visual { margin-left: -330px; transform: none; }
  .team-visual { margin-left: -70px; }
  .flow-line { margin-top: 50px; grid-template-columns: 1fr; gap: 0; }
  .flow-line::before { top: 18px; bottom: 18px; left: 18px; right: auto; width: 1px; height: auto; }
  .flow-line li, .flow-line li:not(:first-child) { min-height: 96px; padding-left: 58px; }
  .flow-line span { position: absolute; left: 0; }
  .flow-line strong { margin-top: 2px; }
  .closing { min-height: 70vh; }
  .closing-copy img { width: 122px; margin-bottom: 36px; }
  .site-footer { padding: 38px 20px; grid-template-columns: 1fr auto; gap: 22px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer div { justify-self: end; }
  .site-footer small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-reveal, .reveal { opacity: 1; transform: none; }
}
