/* Wcall landing — Luminous Clarity, aligned with the app's design system. */

:root {
  --surface: #f4fbf3;
  --surface-lowest: #ffffff;
  --surface-container: #e8f0e8;
  --ink: #141b2b;
  --on-variant: #3c4a41;
  --muted: #5f6b63;
  --outline: #dfe7e2;
  --primary: #006c49;
  --primary-bright: #0ebb7d;
  --primary-soft: #dff8ee;
  --emerald-deep: #0e5e3d;
  --violet: #6d4de6;
  --violet-soft: #eee8ff;
  --danger: #ba1a1a;
  --danger-soft: #ffdad6;
  --lavender: #eef2ff;
  --shadow: 0 20px 45px -18px rgba(20, 27, 43, 0.16);
  --shadow-sm: 0 6px 20px -10px rgba(20, 27, 43, 0.18);
  --radius-card: 24px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.svg-icon {
  width: 1.4em; height: 1.4em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; min-height: 52px;
  font: inherit; font-weight: 700; font-size: 16px;
  color: #fff; background: var(--primary-bright);
  border: none; border-radius: 9999px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.button:hover { transform: translateY(-1px) scale(1.01); }
.button:active { transform: scale(.98); }
.button-sm { padding: 10px 20px; min-height: 40px; font-size: 14px; box-shadow: none; }
.button-invert { background: var(--ink); color: var(--surface); }
.button-invert:hover { background: #000; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 251, 243, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 122, 112, 0.16);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 64px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--emerald-deep);
  text-decoration: none;
}
.brand-icon { width: 30px; height: 30px; border-radius: 9px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; gap: 26px; }
.nav a {
  font-weight: 600; font-size: 14px; color: var(--on-variant);
  text-decoration: none; transition: color .15s ease;
}
.nav a:hover { color: var(--primary); }
.language-picker select {
  font: inherit; font-size: 14px; color: var(--on-variant);
  background: transparent; border: 1px solid var(--outline);
  border-radius: 9999px; padding: 7px 12px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 24px 80px;
  background:
    radial-gradient(at 0% 0%, rgba(190, 228, 210, .95) 0, transparent 55%),
    radial-gradient(at 85% 10%, rgba(224, 231, 255, 1) 0, transparent 48%),
    radial-gradient(at 100% 100%, rgba(200, 232, 216, .7) 0, transparent 55%);
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--emerald-deep);
  background: rgba(14, 187, 125, .12);
  border: 1px solid rgba(14, 187, 125, .28); border-radius: 9999px;
}
.badge .svg-icon { width: 16px; height: 16px; }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 48px); font-weight: 800;
  line-height: 1.04; letter-spacing: -0.03em; color: var(--ink);
}
.hero h1 .hero-title-accent {
  display: block;
  font-style: italic;
  color: var(--primary);
}
.hero .lead {
  margin: 0 0 14px; max-width: 28em;
  font-size: 19px; line-height: 1.55; color: var(--on-variant);
}
.hero .lead-rule { margin-bottom: 32px; }
.hero .lead-verdict { font-style: italic; font-weight: 600; color: #b42323; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Platform buttons. Android opens the tester form; iOS is not built yet, so it
   stays focusable (not [disabled]) and explains itself on hover/focus. */
.store-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; min-height: 52px;
  font: inherit; font-weight: 700; font-size: 16px;
  color: #fff; background: var(--primary-bright);
  border: none; border-radius: 9999px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store-button:hover { transform: translateY(-1px) scale(1.01); }
.store-button:active { transform: scale(.98); }
.store-glyph { width: 22px; height: 22px; fill: currentColor; stroke: none; flex: none; }

.store-wrap { position: relative; display: inline-flex; }
.store-button-off {
  background: transparent; color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(108, 122, 112, .3);
  cursor: default;
}
.store-button-off:hover { transform: none; }
.store-button-off:active { transform: none; }

.store-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 4px);
  padding: 7px 13px; border-radius: 10px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #fff; background: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.store-tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px;
  border: 5px solid transparent; border-top-color: var(--ink);
}
.store-wrap:hover .store-tip,
.store-wrap:focus-within .store-tip {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.hero-markets {
  margin: 16px 0 0; font-size: 14px; font-weight: 500; color: var(--muted);
}
.hero-badges {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
}
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.hero-badges .svg-icon { width: 18px; height: 18px; color: var(--primary-bright); }

/* Hero visual: the real app screen presented as a lifted card. */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.shot-card {
  position: relative; z-index: 2;
  width: min(304px, 88vw);
  padding: 7px; border-radius: 28px;
  background: linear-gradient(155deg, #ffffff, #eef6f0);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .85);
}
.shot-img { width: 100%; height: auto; border-radius: 22px; display: block; }
.device-glow {
  position: absolute; z-index: 1;
  width: 340px; height: 340px; top: -20px; right: -40px;
  background: rgba(76, 223, 157, .38); filter: blur(70px); border-radius: 50%;
}
/* ---------- Feature bar ---------- */
.feature-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; text-align: center;
}
.feature { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 6px;
  border-radius: 16px;
}
.feature-icon[data-tone="green"] { background: var(--primary-soft); color: var(--primary); }
.feature-icon[data-tone="violet"] { background: var(--violet-soft); color: var(--violet); }
.feature-icon[data-tone="blue"] { background: #e5effb; color: #2f6fc4; }
.feature h3 { margin: 0; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; max-width: 30ch; font-size: 15px; color: var(--muted); }

/* ---------- Setup band: one block for whoever installs it for a parent ---------- */
.setup-band {
  padding: 56px 24px 60px;
  background: var(--surface-lowest);
  border-top: 1px solid rgba(108, 122, 112, .14);
  border-bottom: 1px solid rgba(108, 122, 112, .14);
}
.setup-inner { max-width: var(--maxw); margin: 0 auto; }
.setup-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.setup-eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet);
}
.setup-head h2 {
  margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800; letter-spacing: -0.02em;
}
.setup-head p { margin: 0 0 6px; font-size: 16px; line-height: 1.55; color: var(--on-variant); }
.setup-head p:last-child { margin-bottom: 0; }
.setup-payoff { color: var(--ink) !important; font-weight: 600; }

/* ---------- Bands ---------- */
.band { padding: 88px 24px; }
.band-alt { background: linear-gradient(180deg, var(--surface), #eef6f0); }
/* #cases sits on the flat --surface; start #how from a deeper tint so the
   two don't melt into each other at the seam. */
#how {
  background: linear-gradient(180deg, #e4f0ea, #f2faf5);
  border-top: 1px solid rgba(108, 122, 112, .16);
}
#access {
  background:
    radial-gradient(at 0% 0%, rgba(190, 228, 210, .95) 0, transparent 55%),
    radial-gradient(at 85% 10%, rgba(224, 231, 255, 1) 0, transparent 48%),
    radial-gradient(at 100% 100%, rgba(200, 232, 216, .7) 0, transparent 55%);
}
.band-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800; letter-spacing: -0.02em;
}
.section-head p { margin: 0 auto; max-width: 44ch; font-size: 17px; color: var(--muted); }
.rule { display: block; width: 72px; height: 4px; margin: 22px auto 0; background: var(--primary-bright); border-radius: 9999px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card {
  background: var(--surface-lowest); border: 1px solid rgba(108, 122, 112, .1);
  border-radius: var(--radius-card); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease;
}
.scenario-card:hover { transform: translateY(-3px); border-color: rgba(14, 187, 125, .35); }
.scenario-icon {
  position: relative;
  width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 24px;
  border-radius: 26px;
}
.scenario-art { width: 54px; height: 54px; display: block; }
.scenario-icon::after {
  content: ""; position: absolute; top: -3px; right: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  filter: blur(1.5px); opacity: .85;
}
.scenario-icon[data-tone="green"] {
  background: linear-gradient(150deg, #eafcf3, #c8f2de); color: var(--emerald-deep);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9), 0 14px 28px -14px rgba(14, 187, 125, .6);
}
.scenario-icon[data-tone="green"]::after { background: #9ad9be; }
.scenario-icon[data-tone="violet"] {
  background: linear-gradient(150deg, #f1eefe, #dcd5fa); color: var(--violet);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9), 0 14px 28px -14px rgba(124, 108, 224, .55);
}
.scenario-icon[data-tone="violet"]::after { background: #c3b9ef; }
.scenario-icon[data-tone="red"] {
  background: linear-gradient(150deg, #fdeeec, #f8d2cc); color: var(--danger);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9), 0 14px 28px -14px rgba(224, 82, 82, .55);
}
.scenario-icon[data-tone="red"]::after { background: #f0a8a2; }
.scenario-icon .svg-icon { width: 32px; height: 32px; }
.scenario-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.scenario-card p { margin: 0; font-size: 15px; color: var(--on-variant); line-height: 1.55; }

/* How a check goes: tabbed SMS / push flows */
.flow-tabs {
  display: flex; margin: 0 auto 46px; max-width: 580px;
  background: var(--surface-lowest); border: 1px solid rgba(108, 122, 112, .22);
  border-radius: 9999px; padding: 5px; box-shadow: var(--shadow-sm);
}
.flow-tab {
  flex: 1; border: 0; background: transparent; color: var(--on-variant);
  font: inherit; font-size: 15px; font-weight: 700; padding: 13px 10px;
  border-radius: 9999px; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.flow-tab.active {
  background: var(--primary-bright); color: #fff;
  box-shadow: 0 10px 20px -10px rgba(14, 187, 125, .7);
}
.flow[hidden] { display: none; }
.flow-lead {
  max-width: 760px; margin: -18px auto 34px; text-align: center;
  font-size: 16px; line-height: 1.6; color: var(--on-variant);
}
.frow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: stretch; }
.fcard {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #ffffff, #f4fbf7);
  border: 1px solid rgba(108, 122, 112, .1);
  border-radius: var(--radius-card); padding: 7px 7px 16px; box-shadow: var(--shadow-sm);
}
/* anchored in px, not %, so uneven caption lengths don't stagger the line */
.fcard:not(:last-child)::after {
  content: ""; position: absolute; top: 170px; right: -26px; width: 26px;
  border-top: 2px dashed rgba(14, 187, 125, .45);
}
/* the last step forks into the two verdicts instead of a straight line */
.fcard:nth-child(3)::after { content: none; }
.fshot {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(108, 122, 112, .14);
}
.fshot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px;
  background: linear-gradient(180deg, rgba(244, 251, 247, 0), rgba(244, 251, 247, .96));
}
.fshot img { display: block; width: 100%; height: auto; }
.fcap { display: flex; gap: 10px; align-items: flex-start; padding: 13px 11px 0; }
.fnum {
  flex: none; display: inline-grid; place-items: center;
  width: 30px; height: 30px; font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(150deg, #12c98a, #0aa46c); border-radius: 10px;
  box-shadow: 0 8px 16px -8px rgba(14, 187, 125, .65);
}
.fcap p { margin: 3px 0 0; font-size: 15.5px; color: var(--on-variant); line-height: 1.5; }
.verdicts { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.vcard {
  position: relative; margin: 0; padding: 22px 20px;
  border-radius: var(--radius-card); box-shadow: var(--shadow-sm); text-align: center;
}
.vcard::before {
  content: ""; position: absolute; left: -32px; top: 50%; width: 32px;
  transform-origin: right center;
}
.vcard-ok {
  background: linear-gradient(160deg, #ffffff, #ecfaf3); border: 1px solid rgba(14, 187, 125, .3);
}
.vcard-ok::before { border-top: 2px dashed rgba(14, 187, 125, .45); transform: rotate(-36deg); }
.vcard-stop {
  background: linear-gradient(160deg, #ffffff, #fdf3f1); border: 1px solid rgba(224, 82, 82, .28);
}
.vcard-stop::before { border-top: 2px dashed rgba(224, 82, 82, .5); transform: rotate(36deg); }
.vtile {
  display: grid; place-items: center; margin: 0 auto 12px;
  width: 46px; height: 46px; border-radius: 15px; color: #fff;
}
.vtile .svg-icon { width: 23px; height: 23px; stroke-width: 3; }
.vtile-ok {
  background: linear-gradient(150deg, #12a06a, #0a7d52);
  box-shadow: 0 12px 22px -10px rgba(10, 125, 82, .65);
}
.vtile-stop {
  background: linear-gradient(150deg, #d94040, #b42323);
  box-shadow: 0 12px 22px -10px rgba(180, 35, 35, .65);
}
.vcard h4 { margin: 0 0 13px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.vcard-ok h4 { color: var(--primary); }
.vcard-stop h4 { color: #b42323; }
.vplaque {
  margin: 0; padding: 12px 14px; border-radius: 13px; text-align: left;
  font-size: 13.5px; font-weight: 600; line-height: 1.45;
}
.vplaque-ok { background: #e2f7ee; color: #0a7d52; }
.vplaque-stop { background: #fdecec; color: #b42323; }

/* Principle: two-channel scheme */
.principle-copy { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.principle-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on-variant); }
.principle-scheme { max-width: 620px; margin: 0 auto; overflow-x: auto; }
.principle-scheme svg { display: block; width: 100%; min-width: 460px; height: auto; }
.principle-scheme text { font-family: inherit; }
.principle-scheme g.sch-amber, .principle-scheme g.sch-neutral, .principle-scheme g.sch-green,
.principle-scheme g.sch-ok, .principle-scheme g.sch-no {
  transform-box: fill-box; transform-origin: center;
  transition: transform .22s ease;
}
.principle-scheme g.sch-amber:hover, .principle-scheme g.sch-neutral:hover, .principle-scheme g.sch-green:hover,
.principle-scheme g.sch-ok:hover, .principle-scheme g.sch-no:hover {
  transform: translateY(-5px) scale(1.03);
}
#principle {
  background:
    radial-gradient(at 10% 0%, rgba(190, 228, 210, .6) 0, transparent 50%),
    radial-gradient(at 90% 14%, rgba(224, 231, 255, .85) 0, transparent 48%),
    linear-gradient(180deg, #ffffff, #f0f8f3);
}
.sch-t { font-size: 15px; font-weight: 700; fill: var(--ink); }
.sch-s { font-size: 13px; font-weight: 500; fill: var(--muted); }
.sch-l { font-size: 13px; font-weight: 700; }
.sch-amber .sch-badge { fill: #fdf4e6; }
.sch-amber .sch-icon { stroke: #b45309; }
.sch-neutral .sch-badge { fill: var(--ink); }
.sch-neutral .sch-icon { stroke: #ffffff; }
.sch-green .sch-badge { fill: var(--primary-soft); }
.sch-green .sch-icon { stroke: var(--primary); }
.sch-ok rect:first-of-type { fill: var(--primary-soft); }
.sch-ok .sch-badge { fill: var(--primary-bright); }
.sch-ok .sch-icon { stroke: #ffffff; }
.sch-ok .sch-t { fill: var(--primary); }
.sch-ok .sch-s { fill: #0a8a5f; }
.sch-no rect:first-of-type { fill: #fdecec; }
.sch-no .sch-badge { fill: #e05252; }
.sch-no .sch-icon { stroke: #ffffff; }
.sch-no .sch-t { fill: #b42323; }
.sch-no .sch-s { fill: #c94f4f; }
.sch-l-amber { fill: #a96a1f; }
.sch-l-green { fill: var(--primary); }
.sch-l-gray { fill: var(--muted); }

.no-exceptions {
  max-width: 860px; margin: 64px auto 0; text-align: center;
  background: linear-gradient(160deg, #ffffff, #f4fbf7);
  border-radius: 24px; padding: 40px 44px; box-shadow: var(--shadow-sm);
}
.no-exceptions h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.ne-lead { margin: 0 0 20px; font-size: 15.5px; color: var(--muted); }
.ne-excuses {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  list-style: none; margin: 0 0 24px; padding: 0;
}
.ne-excuses li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 9999px;
  background: #fdecec; color: #b42323; font-size: 14px; font-weight: 600; font-style: italic;
}
.ne-excuses li > span[aria-hidden] { font-style: normal; font-weight: 700; color: #e05252; }
.ne-action { margin: 0 auto 14px; max-width: 40em; font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.ne-note { margin: 0 auto; max-width: 44em; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.ne-verdict {
  margin: 26px auto 0; padding-top: 22px; max-width: 560px;
  border-top: 1px solid rgba(108, 122, 112, .16);
  font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--primary);
}

/* Printable safety card */
.safety-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.safety-preview img {
  display: block; width: min(320px, 78vw); height: auto; margin: 0 auto;
  border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-2deg);
}
a.button { text-decoration: none; }
.safety-copy h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.safety-copy p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--on-variant); }
.safety-note { font-size: 13px !important; color: var(--muted) !important; margin: 14px 0 0 !important; }


/* Final CTA */
.final-cta {
  position: relative; overflow: hidden;
  padding: 64px 32px; text-align: center;
  background: linear-gradient(160deg, var(--primary-bright), var(--emerald-deep));
  border-radius: 36px; color: #fff;
  box-shadow: var(--shadow);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 30px 30px;
}
.final-cta > * { position: relative; }
.final-cta h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.final-cta p { margin: 0 auto 28px; max-width: 40ch; font-size: 17px; opacity: .92; }
.final-cta .button-invert { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }

/* ---------- Footer ---------- */
.site-footer { background: #e2eae2; padding: 56px 24px 28px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto 32px;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
}
.footer-brand { max-width: 34ch; }
.footer-brand .brand { color: var(--emerald-deep); margin-bottom: 12px; }
.footer-brand p { margin: 0; font-size: 15px; color: var(--on-variant); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-links a { font-size: 15px; color: var(--on-variant); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.footer-legal {
  max-width: var(--maxw); margin: 0 auto; padding-top: 22px;
  border-top: 1px solid rgba(108, 122, 112, .22);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}

/* ---------- Dialog / form ---------- */
dialog {
  width: min(560px, 92vw); padding: 0; border: none; border-radius: 28px;
  background: var(--surface-lowest); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(20, 27, 43, .5);
}
dialog::backdrop { background: rgba(20, 27, 43, .45); backdrop-filter: blur(3px); }
.modal { padding: 26px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.modal-head h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.modal-head .hint { margin: 0; font-size: 14px; color: var(--muted); }
.close {
  flex: none; width: 40px; height: 40px; font-size: 22px; line-height: 1;
  color: var(--muted); background: var(--surface-container); border: none;
  border-radius: 14px; cursor: pointer;
}
.close:hover { color: var(--ink); }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .option-group legend { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--outline); border-radius: 14px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary-bright);
  box-shadow: 0 0 0 3px rgba(14, 187, 125, .18);
}
.option-group { border: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.option-group small, .field small { font-size: 13px; color: var(--muted); }
.segments { display: flex; gap: 8px; flex-wrap: wrap; }
.segments label { position: relative; cursor: pointer; }
.segments input { position: absolute; opacity: 0; }
.segments span {
  display: inline-grid; place-items: center; min-width: 54px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--outline); border-radius: 12px;
  font-weight: 600; font-size: 14px;
}
.segments input:checked + span { background: var(--primary-soft); border-color: var(--primary-bright); color: var(--emerald-deep); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--on-variant); }
.consent input { margin-top: 3px; }
.form-status { margin: 0; font-size: 14px; }
.form-status[data-type="success"] { color: var(--primary); }
.form-status[data-type="error"] { color: var(--danger); }
.form-status[data-type="pending"] { color: var(--muted); }
body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { margin-top: 8px; }
  .feature-bar-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .setup-head { margin-bottom: 36px; }
  .cards { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; gap: 40px; }
  .safety-copy { text-align: center; }
  .frow { grid-template-columns: 1fr 1fr; }
  .fcard:not(:last-child)::after, .vcard::before { display: none; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .frow { grid-template-columns: 1fr; }
  .feature-bar-inner { grid-template-columns: 1fr; }
  .header-actions .button-sm { display: none; }
  .hero { padding: 44px 20px 56px; }
  .band { padding: 60px 20px; }
}

/* ---------- Secondary pages: guides, privacy, delete account, install.
   These pages share the `page deletion-page` skeleton (hero + article
   stack + slim footer); until now no styles existed for it and they
   rendered as bare typography. ---------- */
.deletion-page { min-height: 100vh; display: flex; flex-direction: column; }

.deletion-hero {
  width: min(800px, 100% - 48px);
  margin: 44px auto 6px;
}
.deletion-hero .eyebrow {
  margin: 0;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
}
.deletion-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.14; letter-spacing: -0.5px;
}
.deletion-hero .lead {
  margin: 0 0 8px;
  font-size: 18px; line-height: 1.55;
  color: var(--on-variant); max-width: 64ch;
}

.deletion-content {
  width: min(800px, 100% - 48px);
  margin: 10px auto 72px;
}
.deletion-content article {
  background: var(--surface-lowest);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 26px 30px;
  margin-top: 20px;
}
.deletion-content h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.2px; }
.deletion-content h3 { margin: 20px 0 6px; font-size: 17px; }
.deletion-content p { margin: 10px 0; color: var(--on-variant); }
.deletion-content ul, .deletion-content ol { margin: 10px 0; padding-left: 24px; }
.deletion-content li { margin: 8px 0; color: var(--on-variant); }
.deletion-content li::marker { color: var(--primary); font-weight: 700; }
.deletion-content strong { color: var(--ink); }
.deletion-content a { color: var(--primary); font-weight: 600; }
.deletion-content a.button { color: #fff; margin-top: 8px; text-decoration: none; }

.deletion-page .site-footer {
  margin-top: auto;
  width: 100%;
  padding: 26px clamp(20px, 5vw, 48px);
  background: var(--surface-container);
  border-top: 1px solid var(--outline);
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
}
.deletion-page .site-footer p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.deletion-page .site-footer .footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.deletion-page .site-footer .footer-links a {
  color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none;
}
.deletion-page .site-footer .footer-links a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .deletion-content article { padding: 20px 18px; }
}

/* Back link in the secondary-page topbar (opposite the brand). */
.topbar-back {
  color: var(--primary); text-decoration: none;
  font-weight: 600; font-size: 15px;
}
.topbar-back:hover { text-decoration: underline; }
