:root {
  color-scheme: light;
  --ink: #152131;
  --muted: #637286;
  --line: #d7e1ec;
  --paper: #f3f7fb;
  --surface: #ffffff;
  --blue: #1667c5;
  --blue-dark: #0c4f9b;
  --blue-soft: #e3effc;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(34, 70, 112, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI Variable", "Helvetica Neue", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-160%); background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); font-weight: 750; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(22, 103, 197, 0.24); font-size: 14px; }
.desktop-nav { display: flex; gap: 30px; font-size: 14px; }
.desktop-nav a, footer a { color: var(--muted); text-decoration: none; transition: color 160ms ease; }
.desktop-nav a:hover, footer a:hover { color: var(--blue); }
.site-header > .button { justify-self: end; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--blue); border-radius: 11px; background: var(--blue); color: white; padding: 0 20px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 26px rgba(22, 103, 197, 0.2); transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { background: var(--blue-dark); box-shadow: 0 16px 34px rgba(22, 103, 197, 0.28); transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(0.985); }
.button:focus-visible, a:focus-visible { outline: 3px solid #80b5ec; outline-offset: 3px; }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 13px; }
.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: clamp(48px, 8vw, 112px); align-items: center; width: min(1240px, calc(100% - 48px)); min-height: min(760px, calc(100dvh - 74px)); margin: 0 auto; padding: 72px 0 86px; }
.eyebrow { display: block; margin-bottom: 16px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(52px, 6vw, 88px); line-height: 0.94; letter-spacing: -0.065em; }
h1 em { color: var(--blue); font-family: inherit; font-style: normal; font-weight: 450; }
.hero-copy > p { max-width: 540px; margin-bottom: 32px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }
.product-stage { position: relative; isolation: isolate; border: 1px solid #cbd9e8; border-radius: var(--radius); background: #dceafb; padding: 20px 20px 24px; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.product-stage::before { position: absolute; inset: 14% -8% -10% 18%; z-index: -1; border-radius: 48%; background: rgba(22, 103, 197, 0.17); filter: blur(60px); content: ""; }
.browser-line { display: flex; justify-content: space-between; padding: 0 2px 15px; color: #496480; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: 0.08em; }
.product-shell { width: min(460px, 100%); margin: 0 auto; border: 1px solid #d9e2ec; border-radius: 13px; background: #f7f9fc; padding: 18px; box-shadow: 0 20px 48px rgba(30, 62, 101, 0.2); }
.product-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9e2ec; padding-bottom: 13px; }
.product-head div { display: grid; gap: 3px; }
.product-head small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-head strong { font-size: 20px; letter-spacing: -0.04em; }
.product-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--blue); color: white; font-size: 13px; font-weight: 800; }
.product-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; border: 1px solid #d9e2ec; border-radius: 9px; background: #edf3fa; padding: 4px; color: #65758a; font-size: 10px; text-align: center; }
.product-tabs span { padding: 7px 3px; }
.product-tabs .active { border-radius: 6px; background: white; color: var(--blue); box-shadow: 0 2px 7px rgba(31, 64, 104, 0.09); font-weight: 700; }
.safe-flow { margin-top: 12px; border-radius: 10px; background: white; padding: 11px 13px; box-shadow: 0 8px 22px rgba(31, 64, 104, 0.07); }
.safe-flow > span { font-size: 10px; font-weight: 800; }
.safe-flow ol { display: grid; gap: 3px; margin: 7px 0 0; padding-left: 17px; color: #6a788b; font-size: 10px; }
.query-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }
.query-grid span { border: 1px solid #d9e2ec; border-radius: 7px; background: white; padding: 9px; color: #52667c; font-size: 10px; font-weight: 650; }
.product-action { margin-top: 10px; border-radius: 7px; background: var(--blue); color: white; padding: 10px; font-size: 10px; font-weight: 750; text-align: center; }
.stage-note { margin: 16px 0 0 3px; color: #496480; font-size: 11px; font-weight: 650; }
.trust-line { display: flex; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 48px)); margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; color: #52667d; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.trust-line span::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 2px; background: var(--blue); content: ""; }
.section-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0; }
.section-intro { max-width: 670px; margin-bottom: 72px; }
h2 { margin-bottom: 22px; font-size: clamp(42px, 5.5vw, 72px); line-height: 0.98; letter-spacing: -0.055em; text-wrap: balance; }
.section-intro p, .safety-statement p, .install-heading p { max-width: 600px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.steps { display: grid; margin-left: clamp(0px, 12vw, 180px); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 34px; border-top: 1px solid var(--line); padding: 34px 0 40px; }
.step-number { color: var(--blue); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.step h3 { margin-bottom: 8px; font-size: 24px; letter-spacing: -0.03em; }
.step p { max-width: 540px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.safety { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(60px, 10vw, 140px); align-items: start; }
.safety-statement { position: sticky; top: 38px; }
.safety-list { display: grid; }
.safety-list div { display: grid; gap: 8px; border-top: 1px solid var(--line); padding: 27px 0 31px; }
.safety-list strong { font-size: 17px; }
.safety-list span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.install { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.install-heading .button { margin-top: 15px; }
.install-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; border-top: 1px solid var(--line); padding: 25px 0 29px; }
.install-steps li > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.install-steps strong { display: block; margin-bottom: 6px; font-size: 16px; }
.install-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
code { border-radius: 5px; background: #e5edf6; padding: 2px 5px; color: #304d6e; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.closing { width: min(1240px, calc(100% - 48px)); margin-bottom: 80px; border-radius: var(--radius); background: var(--blue); color: white; padding: clamp(55px, 8vw, 100px); }
.closing p { margin-bottom: 22px; color: #d9eaff; font-size: 14px; }
.closing h2 { max-width: 850px; }
.button-light { border-color: white; background: white; color: var(--blue-dark); box-shadow: none; }
.button-light:hover { background: #eef6ff; color: var(--blue-dark); }
footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: center; width: min(1240px, calc(100% - 48px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 34px 0 42px; }
footer p, footer small { margin: 0; color: var(--muted); font-size: 12px; }
footer div { display: flex; gap: 18px; font-size: 12px; }
footer small { grid-column: 1 / -1; }
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 44px; font-size: clamp(48px, 7vw, 78px); }
.legal h2 { margin: 52px 0 14px; font-size: clamp(26px, 4vw, 38px); line-height: 1.08; letter-spacing: -0.035em; }
.legal p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal p a { color: var(--blue); font-weight: 700; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; width: min(100% - 32px, 720px); }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; width: min(100% - 32px, 680px); padding: 60px 0 70px; }
  h1 { font-size: clamp(48px, 13vw, 72px); }
  .product-stage { width: min(100%, 580px); margin-left: auto; transform: none; }
  .trust-line { display: grid; width: min(100% - 32px, 680px); }
  .section-shell { width: min(100% - 32px, 680px); padding: 100px 0; }
  .steps { margin-left: 0; }
  .safety, .install { grid-template-columns: 1fr; }
  .safety-statement { position: static; }
  .closing { width: min(100% - 32px, 680px); margin-bottom: 60px; padding: 48px 28px; }
  footer { grid-template-columns: 1fr auto; width: min(100% - 32px, 680px); }
  footer p { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header > .button { min-height: 36px; padding-inline: 12px; font-size: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button, .install-heading .button { width: 100%; }
  .product-stage { padding: 12px; }
  .product-shell { padding: 13px; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; }
  footer { grid-template-columns: 1fr; }
}

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