:root {
  --ink: #0d1215;
  --muted: #667077;
  --paper: #f7f6f2;
  --white: #ffffff;
  --teal: #07998c;
  --teal-dark: #087f76;
  --teal-soft: #e8f5f2;
  --line: #d9ddd9;
  --line-dark: #b9c0bd;
  --max: 1240px;
  --shadow: 0 26px 70px rgba(15, 31, 28, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,246,242,.94); border-top: 5px solid #174e2b; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--ink); font-weight: 800; letter-spacing: -.04em; }
.brand-name { font-size: 24px; font-weight: 800; letter-spacing: -.045em; }
.brand-name span { color: var(--muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a, .text-link { position: relative; color: #505a60; font-weight: 650; text-decoration: none; font-size: 15px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--teal); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; margin-left: auto; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-weight: 750; font-size: 15px; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--teal); border-color: var(--teal); }
.button-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button-secondary { background: transparent; border-color: var(--teal); color: var(--teal-dark); }
.button-secondary:hover { background: var(--teal-soft); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow { margin: 0 0 20px; color: var(--teal-dark); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.hero { padding: 92px 0 78px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.hero-copy h1 { max-width: 650px; margin: 0 0 24px; font-size: clamp(54px, 6.1vw, 88px); line-height: .98; letter-spacing: -.065em; }
.hero-lede { max-width: 610px; margin: 0 0 32px; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.58; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: 14px; font-weight: 650; }
.hero-note span { width: 28px; height: 2px; background: var(--teal); }

.device-stage { position: relative; min-height: 540px; }
.laptop { position: absolute; width: 88%; right: 2%; top: 20px; filter: drop-shadow(0 30px 45px rgba(21,28,26,.18)); }
.laptop-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10.2; border: 12px solid #1a1e20; border-bottom-width: 18px; background: #fff; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.laptop-camera { position: absolute; z-index: 3; left: 50%; top: 6px; width: 5px; height: 5px; background: #666; border-radius: 50%; transform: translateX(-50%); }
.laptop-base { width: 108%; height: 18px; margin-left: -4%; background: linear-gradient(#c7cbcd,#f4f5f5 60%,#a9adae); clip-path: polygon(4% 0,96% 0,100% 70%,94% 100%,6% 100%,0 70%); }
.phone { position: absolute; z-index: 4; right: -2%; bottom: 4px; width: 27%; padding: 9px; border: 3px solid #181c1f; background: #111518; border-radius: 30px; box-shadow: 0 24px 46px rgba(18,25,23,.22); }
.phone-screen { overflow: hidden; aspect-ratio: 9 / 18.2; background: #fff; border-radius: 22px; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-speaker { position: absolute; z-index: 2; width: 34%; height: 13px; top: 7px; left: 33%; border-radius: 0 0 9px 9px; background: #111518; }

.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #faf9f6; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principles article { min-height: 220px; padding: 46px 42px; border-right: 1px solid var(--line); }
.principles article:last-child { border-right: 0; }
.principle-number { display: inline-block; margin-bottom: 28px; color: var(--teal); font-size: 12px; font-weight: 850; letter-spacing: .18em; }
.principles h2 { margin: 0 0 14px; font-size: 25px; line-height: 1.16; letter-spacing: -.035em; }
.principles p { margin: 0; color: var(--muted); font-size: 17px; }

.section-heading { max-width: 800px; margin-bottom: 54px; }
.section-heading h2 { margin: 0 0 20px; font-size: clamp(40px, 5vw, 66px); line-height: 1.04; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 19px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .62fr; gap: 70px; align-items: end; }
.split-heading > p { padding-bottom: 7px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.step-top { display: flex; align-items: center; margin-bottom: 34px; }
.step-top > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 14px; font-weight: 800; }
.step-line { flex: 1; height: 1px; margin-left: 18px; background: repeating-linear-gradient(90deg,var(--line-dark) 0,var(--line-dark) 5px,transparent 5px,transparent 12px); }
.step h3 { margin: 0 0 12px; font-size: 27px; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); }

.platform-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-showcase { display: grid; grid-template-columns: .42fr .58fr; gap: 60px; align-items: center; margin-top: 66px; padding-top: 66px; border-top: 1px solid var(--line); }
.feature-copy h3, .feature-card h3 { margin: 0 0 18px; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.05em; }
.feature-copy > p:not(.feature-kicker), .feature-card-copy > p:not(.feature-kicker) { color: var(--muted); font-size: 18px; }
.feature-kicker { margin: 0 0 18px; color: var(--teal-dark); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.screen-frame { overflow: hidden; border: 1px solid #cfd4d1; background: var(--paper); box-shadow: var(--shadow); }
.screen-frame img { width: 100%; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); color: #344047; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 850; }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 92px; }
.feature-card { min-width: 0; }
.feature-card-copy { min-height: 250px; padding: 0 10px 30px 0; }
.screen-frame-compact { box-shadow: 0 16px 44px rgba(15,31,28,.09); }

.safety-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.safety-image { position: relative; }
.safety-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.safety-stat { position: absolute; right: -30px; bottom: 38px; width: 270px; padding: 26px; color: #fff; background: var(--teal); }
.safety-stat strong, .safety-stat span { display: block; }
.safety-stat strong { margin-bottom: 5px; font-size: 21px; }
.safety-stat span { color: rgba(255,255,255,.85); }
.safety-copy h2 { margin: 0 0 24px; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -.055em; }
.safety-copy > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.safety-list { margin-top: 34px; }
.safety-list > div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.safety-list span { color: var(--teal-dark); font-weight: 800; }
.safety-list p { margin: 0; color: #4e5a60; }

.mission-section { background: #0f1517; color: #fff; }
.mission-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; align-items: center; }
.mission-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.mission-copy .eyebrow { color: #5dd7cb; }
.mission-copy h2 { margin: 0 0 26px; max-width: 780px; font-size: clamp(42px, 5vw, 68px); line-height: 1.03; letter-spacing: -.055em; }
.mission-copy > p { max-width: 740px; color: #bac3c5; font-size: 18px; }
.mission-copy blockquote { margin: 34px 0; padding: 26px 0 26px 28px; border-left: 4px solid var(--teal); font-size: 25px; line-height: 1.35; font-weight: 650; }
.signature { display: flex; flex-direction: column; gap: 1px; }
.signature strong { color: #fff; }
.signature span { color: #8f999c; font-size: 14px; }

.final-cta { padding-bottom: 80px; }
.cta-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; padding: 58px; border: 1px solid #b9dcd7; background: linear-gradient(100deg,#edf8f6,#f8fbfa); }
.cta-panel h2 { margin: 0; font-size: clamp(40px, 5vw, 65px); line-height: 1.04; letter-spacing: -.055em; }
.cta-copy > p { margin: 0 0 26px; color: var(--muted); font-size: 18px; }
.site-footer { padding: 34px 0 42px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-grid p:nth-child(2) { text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .header-actions .text-link { display: none; }
  .site-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .device-stage { min-height: 610px; margin-top: 10px; }
  .laptop { width: 82%; left: 4%; right: auto; }
  .phone { right: 5%; width: 24%; }
  .feature-showcase { grid-template-columns: 1fr; }
  .feature-copy { max-width: 730px; }
  .safety-grid { gap: 54px; }
  .mission-grid { gap: 54px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 26px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .header-actions { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 21px; }
  .hero { padding-top: 66px; }
  .hero-copy h1 { font-size: clamp(50px, 14vw, 74px); }
  .device-stage { min-height: 470px; }
  .laptop { width: 94%; left: 0; }
  .phone { width: 29%; right: 0; bottom: 0; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles article { min-height: 0; padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles article:last-child { border-bottom: 0; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .step-line { display: none; }
  .feature-pair { grid-template-columns: 1fr; gap: 78px; }
  .feature-card-copy { min-height: 0; }
  .safety-grid, .mission-grid, .cta-panel { grid-template-columns: 1fr; }
  .safety-image { max-width: 620px; }
  .safety-stat { right: -8px; }
  .mission-photo { max-width: 580px; }
  .cta-panel { gap: 34px; padding: 38px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid p:nth-child(2) { text-align: left; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 52px; }
  .hero-copy h1 { font-size: 49px; }
  .hero-lede { font-size: 17px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .device-stage { min-height: 350px; margin-top: 22px; }
  .laptop { width: 96%; }
  .laptop-screen { border-width: 7px; border-bottom-width: 11px; }
  .phone { width: 31%; padding: 5px; border-width: 2px; border-radius: 18px; }
  .phone-screen { border-radius: 13px; }
  .phone-speaker { height: 8px; top: 4px; border-radius: 0 0 5px 5px; }
  .principles article { padding: 30px 4px; }
  .section-heading h2, .safety-copy h2, .mission-copy h2, .cta-panel h2 { font-size: 40px; }
  .feature-showcase { gap: 32px; margin-top: 44px; padding-top: 44px; }
  .feature-copy h3, .feature-card h3 { font-size: 35px; }
  .screen-frame { box-shadow: 0 12px 30px rgba(15,31,28,.1); }
  .safety-grid { gap: 36px; }
  .safety-stat { position: static; width: 100%; }
  .safety-list > div { grid-template-columns: 1fr; gap: 5px; }
  .mission-grid { gap: 38px; }
  .mission-copy blockquote { font-size: 21px; }
}

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