/* protectyourphone-pe.com
   Aesthetic direction: "Night-call console". A deep-navy hero frames the glowing,
   protected phone like a call-screening radar; the rest of the page reads as calm
   blue-on-white app marketing, with call-blue as the single accent and aqua kept for
   the "verified" state only.
   Dials: DESIGN_VARIANCE 6 / MOTION_INTENSITY 4 / VISUAL_DENSITY 4.
   Shape rule: cards and media 20px, inputs 12px, buttons and pills fully round. */

:root {
  /* brand */
  --navy-950: #07142f;
  --navy-900: #0b1d42;
  --navy-800: #12295a;
  --accent: #0a6ae0;
  --accent-hover: #0659c2;
  --accent-soft: #e3eeff;
  --aqua: #50d7c6;
  --alert: #ff5c4d;

  /* light theme surfaces */
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #eaf1fc;
  --text: #0b1730;
  --muted: #4a5873;
  --border: #d6e0ef;
  --link: #0659c2;
  --shadow: 0 18px 44px -24px rgba(11, 29, 66, 0.35);

  /* on-navy */
  --on-navy: #eef3fd;
  --on-navy-muted: #a3b2cf;
  --on-navy-border: rgba(163, 178, 207, 0.22);

  --radius: 20px;
  --radius-input: 12px;
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 32px);

  --font-display: 'Sora', 'Figtree', sans-serif;
  --font-body: 'Figtree', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060f24;
    --surface: #0c1b3b;
    --surface-2: #11244b;
    --text: #e8eefb;
    --muted: #a3b2cf;
    --border: #1e3463;
    --link: #5aa2ff;
    --accent-soft: #12295a;
    --shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.6);
  }
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head h2 + p { margin-top: 0.4rem; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--surface); color: var(--text); padding: 0.5rem 1rem; border-radius: 999px; }
.skip-link:focus { left: 12px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.7rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease), color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(238, 243, 253, 0.42); color: var(--on-navy); background: transparent; }
.btn-ghost:hover { border-color: var(--on-navy); background: rgba(238, 243, 253, 0.08); }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-lg { min-height: 52px; padding: 0.85rem 1.7rem; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.text-link { font-weight: 600; color: var(--link); }

/* ── Header + navigation ──────────────────────────────────────────────── */
.site-header {
  direction: ltr;
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(7, 20, 47, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--on-navy-border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-navy); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-shield { fill: var(--accent); }
.logo-wave { fill: #ffffff; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }

.site-nav-desktop { display: flex; align-items: center; gap: 1.25rem; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.site-nav-desktop .nav-links a {
  display: block; padding: 0.45rem 0.8rem; border-radius: 999px;
  color: var(--on-navy-muted); text-decoration: none; font-weight: 500; font-size: 0.98rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav-desktop .nav-links a:hover { color: var(--on-navy); background: rgba(238, 243, 253, 0.07); }
.site-nav-desktop .nav-links a[aria-current="page"] { color: var(--on-navy); background: rgba(10, 106, 224, 0.28); }

.lang-switcher { display: inline-flex; align-items: center; gap: 0.25rem; padding: 3px; border: 1px solid var(--on-navy-border); border-radius: 999px; }
.lang-pill { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--on-navy-muted); text-decoration: none; }
.lang-pill:hover { color: var(--on-navy); }
.lang-active { background: var(--on-navy); color: var(--navy-950); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--on-navy); transition: transform 0.25s ease, opacity 0.2s ease; }
.site-nav { display: none; }

@media (max-width: 860px) {
  .site-nav-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .site-nav {
    display: flex; flex-direction: column; gap: 0.75rem;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    z-index: 800;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--navy-950);
    border-bottom: 1px solid var(--on-navy-border);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.55);
    transform: translateY(-110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn):not(.lang-pill), .site-nav .lang-switcher { padding: 0.6rem 0; }
  .site-nav .nav-links a { display: block; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--on-navy-border); }
  .site-nav .lang-switcher { align-self: flex-start; padding: 3px; }
  .site-nav .btn { width: 100%; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Hero (home) ──────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(10, 106, 224, 0.38), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--on-navy);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-rings {
  position: absolute; z-index: -1; pointer-events: none;
  width: 980px; height: 980px; right: -220px; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 62px, rgba(163, 178, 207, 0.10) 62px 63px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.5rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.1rem; padding: 0.35rem 0.85rem;
  border: 1px solid rgba(80, 215, 198, 0.4); border-radius: 999px;
  color: var(--aqua); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero-brand { display: block; font-size: 0.42em; font-weight: 600; letter-spacing: 0; color: var(--on-navy-muted); margin-bottom: 0.55rem; }
.hero-line { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-navy-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img { width: min(420px, 100%); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual { order: -1; }
  .hero-img { width: min(170px, 44vw); }
  .hero .eyebrow { margin-bottom: 0.8rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-rings { width: 640px; height: 640px; right: 50%; top: 18%; transform: translate(50%, -50%); }
}

/* ── Inner page hero ──────────────────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(10, 106, 224, 0.32), transparent 70%),
    var(--navy-950);
  color: var(--on-navy);
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2.5rem, 6vw, 3.75rem);
}
.page-hero .container-narrow { width: min(1180px, 100% - 2 * var(--gutter)); padding-right: clamp(0px, 30vw - 120px, 34%); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero p { color: var(--on-navy-muted); font-size: 1.12rem; margin-bottom: 0; }

/* ── Why us (home) ────────────────────────────────────────────────────── */
.why-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.why-item { padding: 1.4rem 0 1.2rem; border-top: 1px solid var(--border); }
.why-item h3 { position: relative; padding-left: 1.1rem; }
.why-item h3::before { content: ''; position: absolute; left: 0; top: 0.3em; width: 4px; height: 0.9em; border-radius: 4px; background: var(--accent); }
.why-item p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ── Showcase (home) ──────────────────────────────────────────────────── */
.section-showcase { background: var(--surface-2); }
.showcase-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.shot-1 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.shot-2 { grid-column: 8 / span 5; grid-row: 1; }
.shot-3 { grid-column: 8 / span 5; grid-row: 2; }
.shot-media {
  flex: 1; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(70% 70% at 50% 40%, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(10, 106, 224, 0.25);
  min-height: 210px; padding: 1.25rem;
}
.shot-1 .shot-media { min-height: 420px; }
.shot-media img {
  width: auto; max-height: 360px; object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.shot-1 .shot-media img { max-height: 400px; }
.shot-2 .shot-media img, .shot-3 .shot-media img { max-height: 190px; }
.shot figcaption h3 { margin-bottom: 0.25rem; }
.shot figcaption p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ── Features bento (home) ────────────────────────────────────────────── */
.feature-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.feature {
  position: relative; overflow: hidden;
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(10, 106, 224, 0.45); }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.feature-1, .feature-6 { grid-column: span 2; }
.feature-1 {
  background:
    repeating-radial-gradient(circle at 110% 120%, transparent 0 34px, rgba(255, 255, 255, 0.08) 34px 35px),
    linear-gradient(135deg, var(--accent) 0%, var(--navy-800) 100%);
  border-color: transparent; color: #ffffff;
}
.feature-1 p { color: rgba(255, 255, 255, 0.84); }
.feature-1 .feature-icon { background: rgba(255, 255, 255, 0.16); color: #ffffff; }
.feature-1 h3 { font-size: 1.45rem; }
.feature-6 { background: linear-gradient(135deg, rgba(80, 215, 198, 0.18), var(--surface) 60%); }
.feature-6 .feature-icon { background: rgba(80, 215, 198, 0.22); color: #0d6b60; }
@media (prefers-color-scheme: dark) { .feature-6 .feature-icon { color: var(--aqua); } }

/* ── Flow (home setup, pricing subscribe, opt-out) ────────────────────── */
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; position: relative; }
.flow-step { position: relative; }
.flow-step h3 { margin-bottom: 0.35rem; }
.flow-step p { color: var(--muted); margin: 0; font-size: 1rem; }
.flow-icon {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--surface); color: var(--accent);
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
}
.flow-setup .flow-step:not(:last-child)::after,
.flow-subscribe .flow-step:not(:last-child)::after {
  content: ''; position: absolute; top: 28px; left: 72px; right: -1.25rem;
  border-top: 2px dashed var(--border);
}
.iphone-note {
  display: flex; align-items: flex-start; gap: 0.9rem;
  margin-top: 2.5rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border);
}
.iphone-note p { margin: 0; }
.note-icon { color: var(--accent); margin-top: 2px; }

/* opt-out flow: compact numbered-free cards */
.flow-optout { margin-top: 2rem; }
.flow-optout .flow-step { padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.flow-optout .flow-step:last-child { border-color: rgba(80, 215, 198, 0.55); }

/* ── Safety + closing (home) ──────────────────────────────────────────── */
.section-safety { padding-top: 0; }
.safety-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent);
}
.safety-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.safety-card p { color: var(--muted); margin-bottom: 0.6rem; }
.safety-card .safety-tip { color: var(--text); font-weight: 600; margin: 0; }
.safety-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.safety-icon .icon { width: 28px; height: 28px; }

.section-closing { padding-top: 0; }
.closing-card {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius);
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(10, 106, 224, 0.45), transparent 70%),
    var(--navy-950);
  color: var(--on-navy);
}
.closing-card h2 { margin-bottom: 0.35rem; }
.closing-card p { color: var(--on-navy-muted); margin: 0; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 1.25rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item[open] { border-color: rgba(10, 106, 224, 0.45); }
.faq-body { padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* ── About ────────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1.25rem; }
.value { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.value p { color: var(--muted); margin: 0; }
.value-1 {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  background:
    repeating-radial-gradient(circle at 100% 0%, transparent 0 40px, rgba(255, 255, 255, 0.07) 40px 41px),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: var(--on-navy); border-color: transparent;
}
.value-1 p { color: var(--on-navy-muted); }
.value-1 h3 { font-size: 1.5rem; }
.value-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.value-1 .value-icon { background: rgba(255, 255, 255, 0.12); color: var(--aqua); margin-bottom: auto; }
.value-1 h3 { margin-top: 2rem; }

.section-vision { background: var(--surface-2); }
.vision-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vision-media { margin: 0; display: grid; place-items: center; padding: 2rem; border-radius: var(--radius); background: radial-gradient(70% 70% at 50% 40%, var(--navy-800), var(--navy-950)); }
.vision-media img { max-height: 380px; width: auto; }
.vision-lead { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 600; line-height: 1.35; color: var(--text); }
.vision-copy p:not(.vision-lead) { color: var(--muted); }
.vision-copy .btn { margin-top: 0.75rem; }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.section-plans { background: var(--surface-2); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; max-width: 880px; margin-inline: auto; }
.pricing-card {
  display: flex; flex-direction: column;
  padding: 2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.plan-op { margin: 0; font-weight: 700; font-size: 1.05rem; }
.plan-name { margin: 0; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: 0.85rem; font-weight: 600; }
.price-val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.5rem; }
.price-amount { font-family: var(--font-mono); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.price-freq { color: var(--muted); font-weight: 600; }
.price-meta { color: var(--muted); font-size: 0.95rem; }
.plan-features { list-style: none; display: grid; gap: 0.6rem; margin: 0.5rem 0 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.plan-features li { display: flex; align-items: center; gap: 0.6rem; }
.plan-features .icon { width: 20px; height: 20px; color: var(--accent); stroke-width: 2.2; }
.plan-cta { margin-top: auto; width: 100%; }
.plans-foot { text-align: center; color: var(--muted); margin: 2rem 0 0; font-size: 0.95rem; }

/* ── Opt-out boxes ────────────────────────────────────────────────────── */
.optout-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.25rem; }
.optout { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.optout[data-optout="sms"], .optout[data-optout="portal"], .optout[data-optout="call"], .optout[data-optout="email"] {
  background: radial-gradient(60% 120% at 100% 0%, rgba(10, 106, 224, 0.35), transparent 70%), var(--navy-950);
  color: var(--on-navy); border-color: transparent;
}
.optout-op { font-weight: 700; margin-bottom: 0.75rem; font-size: 0.98rem; }
.optout[data-optout="sms"] .optout-op { color: var(--on-navy-muted); }
.optout-line { margin: 0; font-size: 1.15rem; line-height: 1.9; }
.optout-kw, .optout-dest {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.04em;
  padding: 0.1rem 0.65rem; margin: 0 0.15rem; border-radius: 10px; line-height: 1.6;
}
.optout[data-optout="sms"] .optout-kw { background: var(--accent); color: #ffffff; }
.optout[data-optout="sms"] .optout-dest { background: rgba(238, 243, 253, 0.12); color: var(--on-navy); border: 1px solid var(--on-navy-border); }
.optout-care .optout-dest { background: var(--accent-soft); color: var(--link); text-decoration: none; letter-spacing: 0; font-size: 0.95rem; word-break: break-all; }
.optout-care .optout-line { font-size: 1.02rem; }
.optout-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.optout-notes li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.92rem; color: var(--muted);
}
.optout-notes li::before { content: ''; width: 5px; height: 10px; margin: -3px 2px 0 1px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); flex: none; }
.more-link { margin: 1.75rem 0 0; }

/* ── Refund ───────────────────────────────────────────────────────────── */
.section-refund { background: var(--surface-2); }
.refund-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.refund-window { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.refund-days { font-family: var(--font-mono); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.refund-window span:last-child { color: var(--muted); font-weight: 600; }
.refund-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.refund-list li { position: relative; padding: 0 0 0 1.4rem; color: var(--text); font-size: 1rem; }
.refund-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* ── Contact + sign in ────────────────────────────────────────────────── */
.care-block { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.care-block p { margin-bottom: 0.5rem; }
.care-block p:last-child { margin-bottom: 0; }
.contact-form, .form-card {
  padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.form-card.narrow { max-width: 480px; margin: clamp(2.5rem, 6vw, 4rem) auto; }
.form-group          { margin-bottom: 1.1rem; }
.contact-form h3,
.form-card h3        { margin-bottom: 1.5rem; }
.form-row            { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button,
.form-card button    { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.95rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.8rem 0.95rem;
  border-radius: var(--radius-input); border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); opacity: 0.8; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 106, 224, 0.18); }
.form-group textarea { resize: vertical; min-height: 140px; }

.error-msg       { display: none; color: #d93a2b; font-size: 0.85rem; margin-top: 0.3rem; }
.errorMsg        { display: none; color: #d93a2b; font-size: 0.85rem; margin-top: 0.4rem; }
.form-success    { display: none; color: #0d7a5f; font-weight: 600; margin-top: 1rem; }
.successMsg      { display: none; color: #0d7a5f; font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }
@media (prefers-color-scheme: dark) {
  .error-msg, .errorMsg { color: #ff8a7d; }
  .form-success, .successMsg { color: var(--aqua); }
}
.section-contact { padding-top: clamp(2.5rem, 6vw, 4rem); }
.section-contact .contact-form { margin-top: 1.5rem; }

/* ── Legal pages ──────────────────────────────────────────────────────── */
.legals-wrap { padding: 3.5rem 0; }
.legals { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; }
.legals-wrap > .legals, .legals-wrap .legals { padding-top: 0.5rem; padding-bottom: 2rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals-wrap .legals .container { width: min(840px, 100% - 2 * var(--gutter)); margin-left: max(var(--gutter), calc((100% - 1180px) / 2)); }
.legals h1 { display: none; } /* terms-dcb.html injects a hardcoded <h1>: always hide it */
.legals h6 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 2rem 0 0.5rem;
  font-family: var(--font-body);
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }
.legals a { word-break: break-word; }
@media (prefers-color-scheme: dark) { .legals h6 { color: var(--link); } }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.not-found { padding: clamp(4rem, 12vw, 8rem) 0; text-align: center; }
.big-num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; color: var(--accent); margin-bottom: 1rem; letter-spacing: -0.04em; }
.not-found p { color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand p { margin: 1rem 0 1.25rem; font-size: 0.98rem; }
.footer-head { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--on-navy-muted); text-decoration: none; font-size: 0.96rem; }
.footer-col a:hover { color: var(--on-navy); text-decoration: underline; }
.footer-care p { font-size: 0.96rem; margin-bottom: 0.4rem; }
.footer-col a.footer-mail { color: var(--on-navy); font-weight: 600; word-break: break-all; }
.footer-entity { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--on-navy-border); font-size: 0.9rem; }
.footer-entity p { margin: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.footer-version { opacity: 0.6; }

/* ── Responsive collapse ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .feature-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-1, .feature-6 { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 860px) {
  .why-layout, .faq-layout, .refund-layout, .vision-layout { grid-template-columns: 1fr; }
  .why-layout .section-head, .faq-layout .section-head { position: static; }
  .showcase-grid { grid-template-columns: 1fr; }
  .shot-1, .shot-2, .shot-3 { grid-column: auto; grid-row: auto; }
  .shot-1 .shot-media { min-height: 280px; }
  .shot-1 .shot-media img { max-height: 260px; }
  .flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow-setup .flow-step:not(:last-child)::after,
  .flow-subscribe .flow-step:not(:last-child)::after { display: none; }
  .flow-setup .flow-step, .flow-subscribe .flow-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; }
  .flow-setup .flow-icon, .flow-subscribe .flow-icon { grid-row: span 2; margin: 0; }
  .optout-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .value-1 { grid-row: auto; min-height: 260px; }
  .vision-media img { max-height: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .why-list { grid-template-columns: 1fr; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-1, .feature-6 { grid-column: auto; }
  .refund-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .closing-card .btn { width: 100%; }
  .safety-card { grid-template-columns: 1fr; }
  .optout-line { font-size: 1.05rem; }
}

/* ── Scroll reveal: hidden ONLY when JS tagged <html class="js"> ──────── */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; }
  .feature, .btn, .faq-item summary::after { transition: none; }
}

/* The canonical care block carries an inline accent colour; keep the link legible in both themes. */
.care-block a[href^="mailto:"] { color: var(--link) !important; font-weight: 600; word-break: break-word; }
