/* Deesca site — one stylesheet for every page except privacy/, terms/, support/
   and join/, which keep their own inline styles (Apple links to them directly).
   Colours mirror constants/theme.ts: warm ivory by day, deep indigo at night.
   Pages are generated by site/build.mjs; edit site/pages/, not docs/. */

/* Self-hosted so no visitor IP goes to Google (GDPR) and the first paint doesn't
   wait on a third-party origin. One variable file covers weights 400-800. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ground: #F6EEE2;
  --ground-2: #FBF6EE;
  --surface: #FFFBF4;
  --ink: #2C2521;
  --ink-soft: #6A5C51;
  --ink-faint: #8F8175;
  --rule: #E6D9C6;
  --accent: #C4560F;
  --accent-bright: #F4843C;
  --accent-deep: #DA631C;
  --accent-soft: rgba(244, 132, 60, .13);
  --violet: #7446D8;
  --rose: #D93D62;
  --sky: #2479B8;
  --sage: #2E8A5E;
  --night: #1A1533;
  --night-2: #2A1F4E;
  --on-night: #F6F1FF;
  --on-night-soft: #C9C0E6;
  --shadow-sm: 0 1px 2px rgba(44, 37, 33, .05), 0 4px 14px rgba(44, 37, 33, .06);
  --shadow: 0 2px 4px rgba(44, 37, 33, .04), 0 18px 48px rgba(44, 37, 33, .12);
  --radius: 22px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #15122B;
    --ground-2: #1A1634;
    --surface: #211C3D;
    --ink: #F3EEFF;
    --ink-soft: #BCB3D9;
    --ink-faint: #8F87B0;
    --rule: #322C57;
    --accent: #F79A5C;
    --accent-bright: #F4843C;
    --accent-soft: rgba(244, 132, 60, .16);
    --violet: #AE90FF;
    --rose: #FF7393;
    --sky: #6CB9F3;
    --sage: #5FCB97;
    --night: #0F0C22;
    --night-2: #241B47;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25), 0 4px 14px rgba(0, 0, 0, .25);
    --shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 18px 48px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 800; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.grad {
  background: linear-gradient(100deg, var(--accent-bright) 10%, var(--accent-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tone, var(--accent)); background: color-mix(in srgb, var(--tone, var(--accent-bright)) 13%, transparent);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 650; font-size: 16px; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 10px 28px rgba(218, 99, 28, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(218, 99, 28, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-faint); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-note { margin-top: 14px; font-size: 14px; color: var(--ink-faint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); font-weight: 750; font-size: 20px; letter-spacing: .02em; }
.brand img { width: 32px; height: 23px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav .btn { margin-left: 10px; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu-panel {
  position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow);
  padding: 8px; display: grid;
}
.menu-panel a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.menu-panel a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.menu-panel .btn { margin-top: 6px; color: #fff; }
@media (max-width: 859px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 72px; }
/* Fades out before the section edge so the glow never ends in a hard line. */
.mesh {
  position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.mesh span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.mesh span:nth-child(1) { width: 520px; height: 520px; left: -6%; top: 0; background: #FFB27A; }
.mesh span:nth-child(2) { width: 460px; height: 460px; right: 4%; top: 6%; background: #C8B4FF; animation-delay: -7s; }
.mesh span:nth-child(3) { width: 380px; height: 380px; left: 38%; top: 38%; background: #FFD7A8; animation-delay: -14s; }
@media (prefers-color-scheme: dark) {
  .mesh span { opacity: .35; }
  .mesh span:nth-child(1) { background: #B4501C; }
  .mesh span:nth-child(2) { background: #5B3DC4; }
  .mesh span:nth-child(3) { background: #7A2E7A; }
}
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lede { max-width: 31em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 550; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--sage); }
.hero-visual { position: relative; }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--rule); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--ink); animation: bob 6s ease-in-out infinite;
}
.float i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; background: var(--accent-soft); color: var(--accent); }
.float i svg { width: 16px; height: 16px; }
.float small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 12.5px; }
.float-a { left: -18px; top: 18%; }
.float-b { right: -14px; bottom: 16%; animation-delay: -3s; }
.float-b i { background: color-mix(in srgb, var(--sage) 15%, transparent); color: var(--sage); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 56px; }
}
@media (max-width: 520px) {
  .float { display: none; }
}

/* ---------- Stage (framed screenshot) ---------- */
.stage { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); max-width: 460px; margin: 0 auto; }
.stage img { width: 100%; }
.stage--violet { background: #2B1E55; }
.stage--ivory { background: #F5ECDF; }
@media (prefers-color-scheme: dark) { .stage--ivory { box-shadow: 0 0 0 1px var(--rule), var(--shadow); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section--tint { background: var(--ground-2); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* How it works */
.steps { display: grid; gap: 16px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 18px;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Feature rows */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature h2 { margin: 16px 0 16px; }
.feature p { color: var(--ink-soft); font-size: 18px; margin: 0 0 14px; max-width: 30em; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 520; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: color-mix(in srgb, var(--tone, var(--accent-bright)) 16%, transparent);
}
/* The tick is a mask so it takes each feature's own tone. */
.ticks li::after {
  content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 14px;
  background: var(--tone, var(--accent-bright));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tone-violet { --tone: var(--violet); }
.tone-rose { --tone: var(--rose); }
.tone-sky { --tone: var(--sky); }
.tone-sage { --tone: var(--sage); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip .feature-text { order: 2; }
}

/* Two-up small features */
.duo { display: grid; gap: 20px; margin-top: 96px; }
.tile { background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tile-text { padding: 30px 30px 8px; }
.tile-text h3 { font-size: 24px; margin: 14px 0 8px; letter-spacing: -0.02em; }
.tile-text p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.tile-img { margin-top: auto; padding: 24px 0 0; background: #F4EBDE; border-top: 1px solid var(--rule); }
/* The frames carry their own ivory backdrop; fade its side edges into the tile so
   no rectangle shows. */
.tile-img img {
  max-width: 400px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }

/* Night panels (privacy band, closing CTA). The glow is two blurred blobs kept
   inside the panel, not radial gradients: an ellipse that reaches the rounded
   corners leaves hard, dark wedges. */
.glow { position: relative; overflow: hidden; isolation: isolate; color: var(--on-night); background: linear-gradient(160deg, #241C4A 0%, var(--night) 55%, #22162E 100%); }
.glow::before, .glow::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: drift 26s ease-in-out infinite alternate;
}
.glow::before { width: 55%; aspect-ratio: 1; left: -8%; top: -30%; background: #6A47E0; opacity: .55; }
.glow::after { width: 45%; aspect-ratio: 1; right: -6%; bottom: -35%; background: #E5671F; opacity: .45; animation-delay: -12s; }
.band { border-radius: 36px; padding: 64px 28px; }
.band h2 { color: var(--on-night); }
.band .section-head p { color: var(--on-night-soft); }
.band .eyebrow { --tone: #FFB27A; color: #FFB27A; }
.promises { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.promises li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px; }
.promises h3 { color: var(--on-night); font-size: 18px; margin: 14px 0 6px; }
.promises p { margin: 0; color: var(--on-night-soft); font-size: 15.5px; }
.promises svg { width: 26px; height: 26px; color: #FFB27A; }
.band-foot { margin: 28px 0 0; color: var(--on-night-soft); font-size: 15px; }
.band-foot a { color: #FFC59A; }
@media (min-width: 860px) { .band { padding: 80px 64px; } .promises { grid-template-columns: repeat(3, 1fr); } }

/* Card links (guides, compare) */
.cards { display: grid; gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent-bright) 45%, var(--rule)); }
.card .kind { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 650; font-size: 15px; color: var(--accent); }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } .cards.two { grid-template-columns: repeat(2, 1fr); } }

/* About letter */
.letter {
  position: relative; max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 28px;
  padding: 44px 40px; box-shadow: var(--shadow);
}
.letter::before {
  content: "\201C"; position: absolute; top: -26px; left: 34px; font-size: 120px; line-height: 1; font-weight: 800;
  color: var(--accent-bright); opacity: .9;
}
.letter h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 14px 0 22px; }
.letter p { color: var(--ink-soft); font-size: 18px; margin: 0 0 16px; }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.sign img { width: 44px; height: 32px; object-fit: contain; }
.sign b { display: block; color: var(--ink); font-size: 17px; }
.sign span { color: var(--ink-faint); font-size: 15px; }
.sign a { font-size: 15px; }
@media (max-width: 640px) { .letter { padding: 36px 24px 28px; } }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq-list details { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; transition: border-color .18s ease; }
.faq-list details[open] { border-color: color-mix(in srgb, var(--accent-bright) 40%, var(--rule)); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 650; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DA631C' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: 16px; }
.faq-list details p + p { margin-top: -6px; }

/* Closing CTA */
.cta-final { text-align: center; border-radius: 36px; padding: 80px 24px; }
.cta-final::before { left: 10%; top: -60%; width: 50%; }
.cta-final::after { right: 8%; bottom: -70%; width: 45%; }
.cta-final .eyebrow { --tone: #FFB27A; color: #FFB27A; margin-bottom: 18px; }
.cta-final h2 { color: var(--on-night); max-width: 14em; margin: 0 auto 16px; }
.cta-final p { color: var(--on-night-soft); margin: 0 auto 30px; max-width: 30em; font-size: 18px; }
.cta-final .btn-note { color: var(--on-night-soft); }

/* Footer */
.site-footer { padding: 64px 0 48px; color: var(--ink-faint); font-size: 14.5px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.footer-grid .foot-h { margin: 0 0 12px; font-size: 13px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a.brand { color: var(--accent); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-blurb p { margin: 12px 0 0; max-width: 28em; }
.legal { padding-top: 24px; display: grid; gap: 8px; }
.legal p { margin: 0; max-width: 60em; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; } }

/* ---------- Article (guides, compare) ---------- */
.page-head { padding: 56px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-faint); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
.page-head h1 { font-size: clamp(36px, 5.6vw, 58px); max-width: 16em; }
.page-head .lede { max-width: 36em; margin: 20px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14.5px; color: var(--ink-faint); }
.meta b { color: var(--ink-soft); font-weight: 600; }

.article { max-width: 720px; margin: 0 auto; padding: 32px 0 24px; }
.article h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 56px 0 16px; letter-spacing: -0.025em; }
.article h3 { margin: 32px 0 10px; }
.article p, .article li { color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.article p { margin: 0 0 18px; }
.article strong { color: var(--ink); }
.article ul, .article ol { padding-left: 24px; margin: 0 0 20px; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--accent-bright); font-weight: 700; }
.answer {
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--accent-bright);
  border-radius: 18px; padding: 22px 24px; margin: 8px 0 32px; box-shadow: var(--shadow-sm);
}
.answer .label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.answer p { margin: 0; color: var(--ink); font-size: 18px; }
.article .say { display: grid; gap: 12px; margin: 8px 0 26px; padding: 0; list-style: none; }
.say li {
  position: relative; margin: 0; padding: 16px 20px 16px 22px; border-radius: 18px 18px 18px 6px;
  background: color-mix(in srgb, var(--violet) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--violet) 22%, var(--rule));
  color: var(--ink); font-size: 17px; font-weight: 500;
}
.say li small { display: block; margin-top: 6px; color: var(--ink-faint); font-size: 14.5px; font-weight: 500; }
.say.avoid li { background: color-mix(in srgb, var(--rose) 7%, var(--surface)); border-color: color-mix(in srgb, var(--rose) 22%, var(--rule)); text-decoration: none; }
.callout {
  display: flex; gap: 14px; align-items: flex-start; margin: 36px 0;
  background: color-mix(in srgb, var(--sky) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--sky) 24%, var(--rule));
  border-radius: 18px; padding: 20px 22px;
}
.callout svg { width: 22px; height: 22px; color: var(--sky); flex-shrink: 0; margin-top: 3px; }
.callout p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.callout strong { color: var(--ink); }
.app-cta {
  display: grid; gap: 18px; align-items: center; margin: 56px 0 8px; padding: 30px;
  border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent-bright) 14%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent-bright) 30%, var(--rule));
}
.app-cta h3 { font-size: 22px; margin: 0 0 6px; }
.app-cta p { margin: 0; font-size: 16px; }
@media (min-width: 700px) { .app-cta { grid-template-columns: 1fr auto; } }
.related { padding: 24px 0 72px; }
.related h2 { font-size: 26px; margin-bottom: 20px; }

/* Two-up cards inside an article (app types, choices) */
.picks { display: grid; gap: 16px; margin: 8px 0 28px; }
.pick { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 22px 24px; }
.article .pick h3 { margin: 0 0 6px; font-size: 19px; }
.article .pick p { margin: 0; font-size: 16.5px; }
@media (min-width: 760px) { .picks { grid-template-columns: 1fr 1fr; } }

/* Red-flag patterns: the message as it arrives, then a calm reply */
.pattern { background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; padding: 26px 26px 22px; margin: 0 0 18px; box-shadow: var(--shadow-sm); }
.article .pattern h3 { margin: 0 0 14px; display: flex; align-items: baseline; gap: 12px; }
.pattern h3 .n { font-size: 14px; font-weight: 800; color: var(--rose); letter-spacing: .04em; }
.article .pattern p { font-size: 16.5px; margin: 0 0 12px; }
.msg {
  max-width: 88%; margin: 0 0 14px; padding: 12px 16px; border-radius: 18px 18px 18px 6px;
  background: color-mix(in srgb, var(--ink) 7%, var(--surface)); color: var(--ink); font-size: 16px; font-weight: 500;
}
.msg small, .reply small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.reply {
  max-width: 88%; margin: 4px 0 0 auto; padding: 12px 16px; border-radius: 18px 18px 6px 18px;
  background: color-mix(in srgb, var(--violet) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--violet) 22%, var(--rule));
  color: var(--ink); font-size: 16px; font-weight: 500;
}
.reply small { color: var(--violet); }
.toc { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 18px 22px; margin: 0 0 8px; }
.toc b { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.article .toc ol { margin: 0; columns: 2; column-gap: 28px; }
.article .toc li { font-size: 15.5px; margin: 0 0 6px; break-inside: avoid; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 560px) { .article .toc ol { columns: 1; } }
.article .faq-list { margin: 8px 0 0; }
