/* Lintel landing page. Five colour palette, 8px structural radius, ghost
   borders over heavy shadows, one light source, tokenized motion. */
:root {
  --blue: #0052FF;
  --tint: #EBF1FF;
  --signal: #BF3003;
  --ink: #0F172A;
  --white: #FFFFFF;
  --muted: color-mix(in srgb, var(--ink) 66%, var(--white));
  --faint: color-mix(in srgb, var(--ink) 45%, var(--white));
  --line: color-mix(in srgb, var(--ink) 10%, var(--white));
  --line-strong: color-mix(in srgb, var(--ink) 16%, var(--white));
  --canvas: color-mix(in srgb, var(--tint) 45%, var(--white));
  --radius: 8px;
  --radius-lg: 16px;
  --fast: 80ms;
  --standard: 160ms;
  --shift: 240ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --lift: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 24px 48px -24px color-mix(in srgb, var(--ink) 28%, transparent);
  --lift-high: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent), 0 40px 80px -32px color-mix(in srgb, var(--ink) 40%, transparent);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --shell: min(1200px, 100% - 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { left: 12px; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: var(--radius); font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: background var(--standard) var(--ease), color var(--standard) var(--ease), border-color var(--standard) var(--ease), transform var(--fast) var(--ease), box-shadow var(--standard) var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--blue) 80%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--blue) 86%, var(--ink)); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--tint); }
.btn-outline-light { color: var(--white); border-color: color-mix(in srgb, var(--white) 45%, transparent); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: color-mix(in srgb, var(--white) 10%, transparent); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--white) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--standard) var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: var(--radius); }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: var(--radius); color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color var(--fast), background var(--fast); }
.nav-links a:hover { color: var(--ink); background: var(--tint); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; background:
  radial-gradient(900px 520px at 85% -10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
  linear-gradient(var(--white), var(--canvas)); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px) 0 0 / 100% 6px no-repeat,
              repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 60px) 0 0 / 100% 14px no-repeat; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--muted); }
.pill b { background: var(--tint); color: var(--blue); font-weight: 600; padding: 3px 9px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 22px 0 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--blue); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); margin: 0 0 32px; max-width: 540px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.hero-visual { position: relative; padding: 16px 0 96px; }
.frame { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--lift-high); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--white); position: relative; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--faint); font-weight: 500; pointer-events: none; }
.float { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--lift-high); }
.hero-visual .float-guide { width: 78%; left: -10%; bottom: 20px; }
.hero-visual .float-chip { right: -2%; top: 46%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 12px; }
.chip-size { width: 48px; height: 48px; border-radius: var(--radius); background: var(--tint); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.chip-text { font-size: 13px; color: var(--muted); line-height: 1.35; }
.chip-text b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }

/* Strip of facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.facts ul { margin: 0 auto !important; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.facts span { font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.eyebrow .num { font-variant-numeric: tabular-nums; color: var(--faint); }
.eyebrow .rule { width: 28px; height: 1px; background: currentColor; opacity: .5; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
.section-head p { font-size: 19px; color: var(--muted); margin: 0; text-wrap: pretty; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color var(--standard) var(--ease), transform var(--shift) var(--ease); }
.step:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--white)); transform: translateY(-2px); }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.step h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: center; }
.feature + .feature { margin-top: 128px; }
.feature.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(30px, 3vw, 42px); }
.feature-copy > p { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; }
.ticks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }
.ticks b { font-weight: 600; }
.ticks span { color: var(--muted); }
.plan-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 5px 12px; }
.plan-tag svg { width: 14px; height: 14px; }
.feature-visual { position: relative; }
.feature-visual .frame img { width: 100%; }
.stack { position: relative; padding-bottom: 72px; }
.stack .float { width: 58%; right: -4%; bottom: 0; }
.stack.left .float { right: auto; left: -4%; }
.duo { position: relative; padding-bottom: 120px; }
.duo .card-a { width: 82%; }
.duo .card-b { position: absolute; width: 70%; right: 0; bottom: 0; }
.store-pair { position: relative; padding-right: 150px; }
.phone { position: absolute; right: 0; bottom: -40px; width: 230px; border-radius: 36px; background: var(--ink); padding: 9px; box-shadow: var(--lift-high); }
.phone img { border-radius: 28px; width: 100%; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: var(--ink); z-index: 2; }

/* Video */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--lift-high); background: var(--ink); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.plan.featured { border: 2px solid var(--blue); position: relative; box-shadow: var(--lift); }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 32px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin: 0 0 4px; }
.plan .tagline { color: var(--muted); font-size: 15px; margin: 0 0 24px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 4px; }
.price b { font-size: 44px; letter-spacing: -0.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.price-note { color: var(--muted); font-size: 14px; margin: 0 0 24px; min-height: 22px; }
.plan .ticks { gap: 12px; margin-bottom: 32px; flex: 1; }
.plan .ticks li { font-size: 15px; }
.plan .btn { width: 100%; }
.plans-foot { text-align: center; color: var(--muted); font-size: 15px; margin: 28px 0 0; }

/* Privacy band */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--white); }
.trust-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--tint); display: grid; place-items: center; margin-bottom: 18px; }
.trust-icon svg { width: 22px; height: 22px; color: var(--blue); }
.trust-card h3 { font-size: 18px; margin: 0 0 6px; }
.trust-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform var(--shift) var(--ease), background-color var(--standard); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--tint); }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: -8px 0 24px; color: var(--muted); max-width: 700px; }

/* Final call to action */
.cta { position: relative; overflow: hidden; background: var(--blue); color: var(--white); border-radius: 24px; padding: 80px 48px; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 10% 0%, color-mix(in srgb, var(--white) 18%, transparent), transparent 70%), radial-gradient(600px 400px at 100% 100%, color-mix(in srgb, var(--ink) 30%, transparent), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
.cta img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 28px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--white) 55%, transparent), 0 20px 40px -16px color-mix(in srgb, var(--ink) 60%, transparent); }
.cta h2 { color: var(--white); max-width: 760px; margin: 0 auto 16px; }
.cta p { font-size: 19px; color: color-mix(in srgb, var(--white) 86%, transparent); margin: 0 auto 32px; max-width: 580px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.footer { padding: 48px 0 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Reveal on scroll (only when motion is welcome and scripting is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .feature, .feature.flip { grid-template-columns: 1fr; gap: 48px; }
  .feature.flip .feature-copy { order: 0; }
  .hero { padding-top: 56px; }
  .hero-visual { padding-left: 8%; }
  .plans, .trust { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li { border-left: 0; padding: 20px 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .store-pair { padding-right: 90px; margin-top: 180px; }
  .phone { width: 150px; border-radius: 26px; padding: 6px; bottom: -24px; }
  .phone img { border-radius: 20px; }
  .phone::before { display: none; }
  .hero-visual .float-chip { display: none; }
  .hero-visual .float-guide { left: -4%; width: 90%; }
  .cta { padding: 56px 24px; border-radius: 16px; }
  .nav-cta .btn-ghost { display: none; }
  .feature + .feature { margin-top: 96px; }
}
