/* ==========================================================================
   Survival App Guide — editorial review system
   Warm paper · signal-ember accent · field-manual typography
   ========================================================================== */

:root {
  /* paper + ink */
  --paper:   #f6f1e6;
  --paper-2: #fbf8f0;
  --paper-3: #efe8d6;
  --ink:     #1b1712;
  --ink-2:   #4b443a;
  --ink-3:   #8a8173;
  --line:    #e3dac7;
  --line-2:  #d4c9b1;

  /* accents */
  --ember:      #d8451f;
  --ember-2:    #b8380f;
  --ember-tint: #fbe7df;
  --pine:       #20402f;
  --pine-2:     #2f5a42;
  --gold:       #b9882c;

  /* signal */
  --ok:   #3f7d4f;
  --warn: #c2872a;
  --crit: #c0432b;

  --shadow-sm: 0 1px 2px rgba(27,23,18,.06), 0 2px 6px rgba(27,23,18,.05);
  --shadow:    0 8px 28px -12px rgba(27,23,18,.30), 0 2px 8px -4px rgba(27,23,18,.14);
  --shadow-lg: 0 30px 60px -28px rgba(27,23,18,.45);

  --rad:   16px;
  --rad-sm: 11px;
  --maxw: 1120px;
  --reads: 700px;

  --sans:    "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(216,69,31,.06), transparent 60%),
    radial-gradient(900px 500px at -5% 0%, rgba(32,64,47,.05), transparent 55%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--ember-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0;
  font-optical-sizing: auto;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.reads { max-width: var(--reads); }

/* eyebrow / labels --------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember-2);
  font-weight: 500;
  margin: 0 0 14px;
}
.eyebrow.muted { color: var(--ink-3); }

/* ====== top alert bar ====================================================== */
.alertbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.alertbar .wrap { display: flex; gap: 16px; align-items: center; justify-content: center;
  padding-top: 9px; padding-bottom: 9px; text-align: center; }
.alertbar strong { color: #ffd9b0; font-weight: 500; }
.alertbar .dot { color: var(--ember); }

/* ====== masthead ========================================================== */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,230,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 19px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 0 0 3px var(--ember);
}
.brand .name { font-family: var(--display); font-weight: 600; font-size: 18.5px; color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.brand .name b { color: var(--ember-2); font-weight: 600; }
.brand .tag { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .19em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); font-weight: 600; font-size: 14.5px;
  padding: 8px 13px; border-radius: 9px;
}
.nav a:hover { color: var(--ink); background: var(--paper-3); text-decoration: none; }
.nav a.active { color: var(--ember-2); }
.nav .navcta {
  background: var(--ink); color: var(--paper); margin-left: 6px;
}
.nav .navcta:hover { background: var(--ember-2); color: #fff; }
.navtoggle { display: none; }

@media (max-width: 820px) {
  .nav { gap: 0; }
  .nav a:not(.navcta) { display: none; }
  .brand .tag { display: none; }
}

/* ====== hero ============================================================== */
.hero { padding: 64px 0 30px; position: relative; }
.hero .kicker-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 600; max-width: 16ch; }
.hero h1 em { font-style: normal; color: inherit; }
.hero .dek { font-size: clamp(18px, 2.3vw, 21px); color: var(--ink-2); max-width: 60ch; margin: 22px 0 0; line-height: 1.55; }
.hero .byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .02em;
}
.hero .byline b { color: var(--ink-2); font-weight: 500; }
.hero .byline .sep { color: var(--line-2); }

.tagchip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-weight: 500;
}
.tagchip.live { color: var(--ok); }
.tagchip.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); margin-right: 7px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(63,125,79,.18); }

/* ====== buttons =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 15.5px; letter-spacing: .005em;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 22px -10px rgba(216,69,31,.7); }
.btn-primary:hover { background: var(--ember-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(216,69,31,.75); }
.btn-ghost { background: var(--paper-2); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; transform: translateY(-2px); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 10px; }

/* ====== editor's pick spotlight (hero card) =============================== */
.spotlight {
  margin-top: 44px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; grid-template-columns: 128px 1fr auto; gap: 26px; align-items: center;
  padding: 26px 28px; position: relative;
}
.spotlight::before {
  content: "EDITOR'S CHOICE";
  position: absolute; top: 0; left: 0;
  background: var(--ember); color: #fff;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; font-weight: 500;
  padding: 6px 14px 6px 16px; border-bottom-right-radius: 12px;
}
.spotlight .appicon { width: 128px; height: 128px; border-radius: 26px; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(0,0,0,.06); }
.spotlight .meta .rank { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ember-2); text-transform: uppercase; margin: 6px 0 4px; }
.spotlight .meta h2 { font-size: 30px; }
.spotlight .meta .sub { color: var(--ink-2); margin: 8px 0 14px; font-size: 16px; }
.spotlight .meta .quals { display: flex; flex-wrap: wrap; gap: 7px; }
.spotlight .right { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.scorebadge {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; position: relative; flex-shrink: 0;
  background: radial-gradient(circle at 50% 38%, #fff, var(--paper-2));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.scorebadge .n { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 28px; color: var(--ink); line-height: 1; }
.scorebadge .d { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.scorebadge::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(var(--ember) var(--p,94%), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.qual {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pine-2); background: rgba(32,64,47,.07); border: 1px solid rgba(32,64,47,.16);
  border-radius: 7px; padding: 4px 9px; font-weight: 500;
}

@media (max-width: 760px) {
  .spotlight { grid-template-columns: 1fr; text-align: left; gap: 18px; padding: 40px 22px 24px; }
  .spotlight .appicon { width: 84px; height: 84px; border-radius: 19px; }
  .spotlight .right { flex-direction: row; justify-content: flex-start; }
}

/* ====== section scaffolding ============================================== */
section { padding: 18px 0; }
.section-head { margin: 42px 0 22px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); }
.section-head p { color: var(--ink-2); max-width: 62ch; margin: 12px 0 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ====== at-a-glance comparison strip ===================================== */
.glance { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; box-shadow: var(--shadow-sm); }
.glance .ghead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper-3);
}
.glance .ghead h3 { font-size: 19px; }
.glance .ghead span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.glance ol { list-style: none; margin: 0; padding: 4px 0; }
.glance li { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 14px;
  padding: 11px 22px; border-bottom: 1px solid var(--line); }
.glance li:last-child { border-bottom: 0; }
.glance li:hover { background: var(--paper-3); }
.glance .gr { font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink-3); text-align: center; }
.glance li.top .gr { color: var(--ember); }
.glance .gn { font-weight: 700; color: var(--ink); }
.glance .gn small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12.5px; font-family: var(--mono); letter-spacing: .02em; margin-top: 1px; }
.glance .gbest { font-size: 13px; color: var(--ink-2); text-align: right; max-width: 30ch; }
.glance .gs { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 9px; }
.glance li.top .gs { color: #fff; background: var(--ember); border-color: var(--ember); }
@media (max-width: 720px) {
  .glance .gbest { display: none; }
  .glance li { grid-template-columns: 32px 1fr auto; gap: 10px; padding: 11px 16px; }
}

/* ====== ranked entries =================================================== */
.entries { display: grid; gap: 22px; margin-top: 8px; }
.entry {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--rad);
  box-shadow: var(--shadow-sm); padding: 26px 28px; position: relative; scroll-margin-top: 84px;
}
.entry.first { border-color: rgba(216,69,31,.4); box-shadow: 0 0 0 1px rgba(216,69,31,.18), var(--shadow); }
.entry .ehead { display: grid; grid-template-columns: auto 56px 1fr auto; gap: 18px; align-items: start; }
.entry .num {
  font-family: var(--display); font-weight: 600; font-size: 46px; line-height: .9;
  color: var(--line-2); width: 56px; text-align: center; font-variant-numeric: lining-nums;
}
.entry.first .num { color: var(--ember); }
.entry .ico { width: 56px; height: 56px; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), var(--shadow-sm); }
.entry .ico.mono {
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 24px; color: #fff;
}
.entry .titlewrap { min-width: 0; }
.entry .titlewrap h3 { font-size: 23px; display: inline; }
.entry .platforms { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; margin-top: 7px; }
.entry .cat { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); background: var(--paper-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; margin-left: 10px; vertical-align: 3px; }
.entry .escore { text-align: center; }
.entry .escore .sv { font-family: var(--mono); font-weight: 600; font-size: 26px; color: var(--ink); line-height: 1; }
.entry .escore .sl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.entry.first .escore .sv { color: var(--ember-2); }

.entry .lead { color: var(--ink-2); margin: 18px 0 0; font-size: 16.5px; }
.entry .lead.big { font-size: 17.5px; color: var(--ink); }

.bar { height: 6px; border-radius: 4px; background: var(--paper-3); border: 1px solid var(--line); overflow: hidden; margin-top: 18px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--ember), var(--gold)); border-radius: 4px; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin-top: 20px; }
.proscons ul { list-style: none; margin: 0; padding: 0; }
.proscons .h { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; font-weight: 500; }
.proscons .pros .h { color: var(--ok); }
.proscons .cons .h { color: var(--ink-3); }
.proscons li { font-size: 14.5px; color: var(--ink-2); padding-left: 22px; position: relative; margin: 6px 0; line-height: 1.45; }
.proscons .pros li::before { content: "▲"; position: absolute; left: 0; top: 1px; color: var(--ok); font-size: 9px; }
.proscons .cons li::before { content: "▼"; position: absolute; left: 0; top: 1px; color: var(--ink-3); font-size: 9px; }

.verdict {
  margin-top: 20px; padding: 16px 18px; border-radius: var(--rad-sm);
  background: rgba(32,64,47,.06); border: 1px solid rgba(32,64,47,.16);
  display: flex; gap: 13px; font-size: 15px; color: var(--ink-2); line-height: 1.5;
}
.verdict b { color: var(--pine); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; flex-shrink: 0; padding-top: 2px; }
.entry.first .verdict { background: var(--ember-tint); border-color: rgba(216,69,31,.28); }
.entry.first .verdict b { color: var(--ember-2); }

.entry .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.bestfor { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.bestfor b { color: var(--ink-2); font-weight: 500; }

@media (max-width: 680px) {
  .entry { padding: 22px 18px; }
  .entry .ehead { grid-template-columns: 40px 44px 1fr; gap: 12px; }
  .entry .num { font-size: 34px; width: 40px; }
  .entry .ico { width: 44px; height: 44px; }
  .entry .escore { grid-column: 2 / 4; text-align: left; display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
  .entry .escore .sl { margin-top: 0; }
  .entry .cat { display: none; }
  .proscons { grid-template-columns: 1fr; gap: 14px; }
}

/* ====== callout / methodology box ======================================== */
.callout {
  background: var(--ink); color: var(--paper); border-radius: var(--rad);
  padding: 30px 32px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.callout::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(216,69,31,.35), transparent 70%); }
.callout .eyebrow { color: #ffb98e; }
.callout h2, .callout h3 { color: #fff; }
.callout p { color: #d9d2c4; }
.callout .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; position: relative; }
.callout .steps .st { border-top: 2px solid rgba(255,255,255,.18); padding-top: 12px; }
.callout .steps .st .k { font-family: var(--mono); font-size: 12px; color: var(--ember); letter-spacing: .1em; }
.callout .steps .st b { display: block; color: #fff; font-size: 15px; margin: 4px 0 3px; }
.callout .steps .st span { font-size: 13.5px; color: #c3bcae; line-height: 1.45; }
@media (max-width: 720px) { .callout .steps { grid-template-columns: 1fr 1fr; } }

/* ====== tips / cards grid ================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.gcard {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 0; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column; color: inherit;
}
.gcard .thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  border-bottom: 1px solid var(--line); background: var(--paper-3); }
.gcard .gbody { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
a.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); text-decoration: none; }
a.gcard .thumb { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
a.gcard:hover .thumb { transform: scale(1.035); }
.gcard .ct { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-2); margin-bottom: 12px; }
.gcard h3 { font-size: 20px; line-height: 1.18; }
.gcard p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }
.gcard .more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 14px; color: var(--ember-2); }
.gcard .more .arr { transition: transform .15s; display: inline-block; }
a.gcard:hover .more .arr { transform: translateX(3px); }
@media (max-width: 880px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* ====== featured / article imagery ======================================= */
.featured { margin: 36px 0 6px; border-radius: var(--rad); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.featured figcaption { position: absolute; inset: auto 0 0 0; padding: 52px 24px 18px;
  background: linear-gradient(transparent, rgba(20,17,12,.86)); color: #efe9da;
  font-family: var(--mono); font-size: 13px; letter-spacing: .03em; }
.featured figcaption b { color: #fff; font-weight: 500; }

.article-hero { margin: 30px 0 4px; border-radius: var(--rad); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.article-cap { font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  margin: 11px 2px 0; letter-spacing: .02em; }

.readnext { margin: 46px 0 8px; padding: 20px 24px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--rad); box-shadow: var(--shadow-sm); }
.readnext .eyebrow { margin: 0 0 6px; }
.readnext ul { list-style: none; margin: 0; padding: 0; }
.readnext li { border-top: 1px solid var(--line); }
.readnext li:first-of-type { border-top: 0; }
.readnext a { display: block; padding: 13px 0; color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.readnext a:hover { color: var(--ember-2); text-decoration: none; }
.readnext li.all a { font-family: var(--sans); font-size: 14.5px; font-weight: 700; color: var(--ember-2); }

/* ====== FAQ ============================================================== */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font-family: var(--display);
  font-weight: 600; font-size: 19.5px; color: var(--ink); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 7px;
  display: grid; place-items: center; color: var(--ember-2); font-size: 18px; transition: .2s; }
.faq details[open] summary .ic { background: var(--ember); color: #fff; border-color: var(--ember); transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 4px 20px; font-size: 16px; }

/* ====== article body ===================================================== */
.article { padding: 40px 0 20px; }
.article .meta { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .03em; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.article h1 { font-size: clamp(32px, 5vw, 52px); max-width: 20ch; }
.article .standfirst { font-size: 20px; color: var(--ink-2); margin: 22px 0 0; line-height: 1.5; }
.prose { font-size: 18px; line-height: 1.72; color: var(--ink); }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 46px; }
.prose h3 { font-size: 22px; margin-top: 34px; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 4px; color: var(--ink-2); list-style: none; }
.prose ul li, .prose ol li { padding-left: 30px; position: relative; margin: 11px 0; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; background: var(--ember); border-radius: 2px; transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li); position: absolute; left: 0; top: 2px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ember-2);
  width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; }
.prose blockquote { margin: 28px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--line-2);
  font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.prose figure { margin: 0; }
/* drop cap removed — cleaner, more editorial article openings */

.keyfacts { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--rad); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.keyfacts .eyebrow { margin-bottom: 14px; }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.keyfacts dt { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.keyfacts dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 15px; }

/* inline app recommendation block inside articles */
.apprec {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line-2); border-left: 4px solid var(--ember);
  border-radius: var(--rad); padding: 20px 22px; box-shadow: var(--shadow-sm); margin: 32px 0;
}
.apprec img { width: 72px; height: 72px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.apprec .t { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-2); }
.apprec h4 { font-family: var(--display); font-size: 20px; margin: 4px 0 5px; color: var(--ink); }
.apprec p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 620px) {
  .apprec { grid-template-columns: 56px 1fr; }
  .apprec img { width: 56px; height: 56px; border-radius: 13px; }
  .apprec .btn { grid-column: 1 / 3; justify-content: center; }
}

/* checklist box */
.checklist { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--rad); padding: 8px 24px; box-shadow: var(--shadow-sm); }
.checklist .ci { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.checklist .ci:last-child { border-bottom: 0; }
.checklist .ci .box { flex-shrink: 0; width: 20px; height: 20px; border: 2px solid var(--line-2); border-radius: 6px; position: relative; top: 3px; }
.checklist .ci .box::after { content: "✓"; position: absolute; inset: -3px 0 0 2px; color: var(--ember); font-size: 14px; font-weight: 700; opacity: .0; }
.checklist .ci b { color: var(--ink); }
.checklist .ci span { color: var(--ink-2); font-size: 15px; }

/* ====== footer =========================================================== */
.disclosure {
  background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 18px 22px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; margin-top: 30px;
}
.disclosure b { color: var(--ink-2); }

.sitefoot { background: var(--ink); color: #c3bcae; margin-top: 70px; padding: 56px 0 34px; }
.sitefoot a { color: #d9d2c4; }
.sitefoot a:hover { color: #fff; }
.sitefoot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.sitefoot .brand .name { color: #fff; }
.sitefoot .brand .mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 0 0 3px var(--ember); }
.sitefoot p { font-size: 14px; max-width: 36ch; }
.sitefoot h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8173; margin: 0 0 14px; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin: 9px 0; font-size: 14.5px; }
.sitefoot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13px; color: #8a8173; }
@media (max-width: 820px) { .sitefoot .cols { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ====== reveal animation ================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .19s; }
  .d4 { animation-delay: .26s; } .d5 { animation-delay: .33s; }
}

.backlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px;
  color: var(--ink-3); letter-spacing: .03em; margin-bottom: 26px; }
.backlink:hover { color: var(--ember-2); text-decoration: none; }
