:root {
  --paper: #f7faf9;
  --ink: #101513;
  --muted: #5e6964;
  --line: #cbd5d0;
  --teal: #00a987;
  --teal-dark: #007b64;
  --coral: #ff6654;
  --white: #ffffff;
  --max: 1440px;
}

* { 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", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; gap: 3px; transform: rotate(-7deg); }
.brand-mark i { display: block; height: 7px; background: var(--ink); }
.brand-mark i:nth-child(2) { width: 75%; background: var(--teal); }
.brand-mark i:nth-child(3) { width: 48%; background: var(--coral); }
.site-header nav, footer nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a, footer nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover { color: var(--teal-dark); }
.nav-action { padding: 9px 14px; border: 1px solid var(--ink); }

.hero {
  min-height: calc(100svh - 130px);
  max-height: 900px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 88px);
  padding: 54px 0 74px;
}
.eyebrow, .section-index { margin: 0 0 20px; font: 700 .78rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; color: var(--muted); }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--teal); border-radius: 50%; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.25rem, 6.5vw, 6.7rem); line-height: .91; font-weight: 820; }
.subtitle { margin: 30px 0 0; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; color: var(--teal-dark); }
.intro { max-width: 610px; margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.primary-button { display: inline-flex; gap: 24px; justify-content: space-between; min-width: 226px; padding: 15px 18px; color: var(--white); background: var(--ink); text-decoration: none; font-weight: 720; }
.primary-button:hover { background: var(--teal-dark); }
.text-link { font-size: .88rem; text-underline-offset: 4px; }
.quick-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 650px; margin: 46px 0 0; border-top: 1px solid var(--line); }
.quick-stats div { padding: 18px 14px 0 0; }
.quick-stats dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; font-weight: 750; }
.quick-stats dd { margin: 4px 0 0; font-size: .84rem; font-weight: 650; }
.product-visual { position: relative; align-self: stretch; min-height: 520px; overflow: hidden; background: var(--white); }
.product-visual::before { content: "LIVE VIEW"; position: absolute; z-index: 2; top: 18px; right: 18px; padding: 6px 9px; color: var(--ink); background: var(--paper); font: 700 .67rem ui-monospace, monospace; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.scan-status { position: absolute; left: 20px; bottom: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-width: 248px; padding: 13px 15px; background: rgba(16,21,19,.92); color: var(--white); font-size: .75rem; }
.scan-status strong { font: 700 1.15rem ui-monospace, monospace; }
.pulse { width: 9px; height: 9px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

.toolkit, .workflow { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 108px 0; }
.toolkit { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .42fr 1fr; gap: 30px; margin-bottom: 48px; }
.section-heading h2, .workflow h2, .privacy-band h2 { max-width: 850px; margin: 0; font-size: clamp(2.35rem, 4.5vw, 4.8rem); line-height: 1; }
.tool-list { border-top: 1px solid var(--ink); }
.tool-list article { display: grid; grid-template-columns: 68px 1fr 18px; gap: 24px; align-items: center; min-height: 124px; border-bottom: 1px solid var(--line); }
.tool-number { font: 700 .72rem ui-monospace, monospace; color: var(--muted); }
.tool-list h3 { margin: 0 0 5px; font-size: 1.45rem; }
.tool-list p { margin: 0; max-width: 760px; color: var(--muted); }
.tool-signal { width: 12px; height: 12px; border-radius: 50%; }
.teal { background: var(--teal); }
.coral { background: var(--coral); }

.workflow { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); border-top: 1px solid var(--line); }
.workflow-copy > p:last-child { max-width: 570px; color: var(--muted); font-size: 1.04rem; }
.workflow-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.workflow-steps li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.workflow-steps span { color: var(--teal-dark); font: 700 .78rem ui-monospace, monospace; text-transform: uppercase; }
.workflow-steps strong { font-size: 1.18rem; }

.privacy-band { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: end; gap: clamp(30px, 5vw, 80px); padding: 90px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.privacy-band h2 { font-size: clamp(2.1rem, 3.8vw, 4rem); }
.privacy-band p:not(.section-index) { margin: 0; color: #b9c7c1; }
.privacy-band a { white-space: nowrap; color: var(--white); text-underline-offset: 6px; }
.privacy-band .section-index { color: #95a59e; }

footer { width: min(calc(100% - 48px), var(--max)); min-height: 190px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr auto; grid-template-rows: 1fr auto; align-items: center; gap: 20px 40px; padding: 44px 0 22px; }
footer p { color: var(--muted); }
footer small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); }

.legal-main { width: min(calc(100% - 48px), 1040px); margin: 0 auto; padding: 72px 0 112px; }
.legal-hero { padding-bottom: 44px; border-bottom: 1px solid var(--ink); }
.legal-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 6rem); }
.legal-updated { margin: 24px 0 0; color: var(--muted); font: 700 .78rem ui-monospace, monospace; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(40px, 8vw, 100px); padding-top: 50px; }
.legal-aside { position: sticky; top: 30px; align-self: start; }
.legal-aside p { margin: 0 0 14px; font-weight: 720; }
.legal-aside a { display: block; margin-top: 10px; color: var(--muted); font-size: .84rem; }
.legal-body { max-width: 720px; }
.legal-body > p:first-child { margin-top: 0; font-size: 1.15rem; color: var(--muted); }
.legal-body section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.legal-body h2 { margin: 0 0 12px; font-size: 1.25rem; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 12px 0 0; padding-left: 22px; }
.legal-body li + li { margin-top: 8px; }

@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pulse { animation: none; } }

@media (max-width: 900px) {
  .hero { min-height: auto; max-height: none; grid-template-columns: 1fr; padding-top: 46px; }
  .product-visual { min-height: 480px; }
  .section-heading, .workflow, .privacy-band { grid-template-columns: 1fr; }
  .privacy-band { align-items: start; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (min-width: 901px) and (max-height: 800px) {
  .hero { padding-top: 28px; padding-bottom: 34px; }
  .quick-stats { display: none; }
  .product-visual { min-height: 500px; }
}

@media (max-width: 620px) {
  .site-header, .hero, .toolkit, .workflow, footer, .legal-main { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 68px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:not(.nav-action) { display: none; }
  h1 { font-size: 3rem; }
  .hero { padding: 24px 0 18px; gap: 18px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .subtitle { margin-top: 16px; font-size: 1.05rem; }
  .intro, .quick-stats, .hero-actions .text-link { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 18px; }
  .primary-button { min-width: 210px; padding: 12px 15px; }
  .product-visual { min-height: 190px; }
  .scan-status { right: 14px; left: 14px; bottom: 14px; min-width: 0; }
  .toolkit, .workflow { padding: 76px 0; }
  .tool-list article { grid-template-columns: 38px 1fr 12px; gap: 12px; padding: 20px 0; }
  .tool-list h3 { font-size: 1.15rem; }
  .tool-list p { font-size: .9rem; }
  .privacy-band { padding-top: 68px; padding-bottom: 68px; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 38px 0 22px; }
  footer nav { flex-wrap: wrap; gap: 18px; }
  .legal-main { padding-top: 48px; }
  .legal-layout { grid-template-columns: 1fr; gap: 26px; }
  .legal-aside { position: static; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
}
