@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cyan: #3eeffd;
  --mid: #44b4fe;
  --royal: #487cff;
  --ink: #0b1b3a;
  --ink-soft: #243352;
  --slate: #51607a;
  --line: #e3ebf7;
  --paper: #f4f8fd;
  --white: #fff;
  --gold: #f5b942;
  --shadow: 0 24px 60px rgba(11, 27, 58, 0.12);
  --radius: 28px;
  --container: 1120px;
  --font: Outfit, "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 1.0625rem;
}

body.content-page { background: var(--white); }

img { max-width: 100%; height: auto; }

a { color: var(--royal); }

a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.store {
  display: inline-flex;
  flex: none;
  line-height: 0;
  border-radius: 8px;
}

.store img { height: 40px; width: auto; max-width: none; }

.hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.45), transparent 16%),
    radial-gradient(circle at 96% 8%, rgba(245, 185, 66, 0.85), transparent 8%),
    linear-gradient(155deg, var(--cyan) 0%, var(--mid) 46%, var(--royal) 100%);
  padding: 28px 0 56px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 36px;
  align-items: center;
  background: var(--white);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 12px;
  color: var(--royal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2 { font-family: var(--display); font-weight: 560; }

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.lede, .section-intro {
  color: var(--slate);
  font-size: 1.2rem;
  max-width: 38rem;
}

.fine {
  color: var(--slate);
  font-size: 0.92rem;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fbff, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px 18px 20px;
}

.qr-card img {
  width: 168px;
  height: 168px;
  background: white;
  border-radius: 12px;
}

.qr-card strong { display: block; font-size: 1.05rem; }

.qr-card span { color: var(--slate); font-size: 0.92rem; }

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -28px;
}

.proof li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  font-weight: 650;
}

.proof, .steps, .feature-grid, .quote-grid, .topic-list { margin: 0; padding: 0; }

.proof span, .step span, .card p, .quote p, .post-card p { font-weight: 450; color: var(--slate); display: block; margin-top: 4px; }

.section { padding: 72px 0; }

.section h2, .close-card h2, .spotlight h2, .topic h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.feature-grid, .steps, .quote-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card, .step, .quote, .post-card, .faq details, .download-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--cyan), var(--royal));
  color: white;
  margin-bottom: 14px;
}

.card h3, .step h3 { margin: 0 0 8px; font-size: 1.25rem; }

ol.steps {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ol.steps > li { list-style: none; }

.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.step em {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--royal);
}

.mock {
  margin-top: 16px;
  border-radius: 16px;
  background: var(--paper);
  padding: 8px;
}

.mock div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  font-size: 0.92rem;
}

.mock b { color: var(--royal); font-weight: 700; }

.mock .wait b { color: var(--slate); }

.quote-grid { grid-template-columns: 1.3fr 1fr; }

blockquote { margin: 0; }

blockquote p { font-family: var(--display); font-size: 1.45rem; line-height: 1.25; color: var(--ink); font-weight: 560; }

.faq details { margin-bottom: 10px; }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq details p { margin: 12px 0 0; color: var(--slate); }

.journal-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 24px;
  align-items: center;
  background: var(--white);
  border-radius: 32px;
  padding: 28px;
  border: 1px solid var(--line);
}

.text-link { font-weight: 700; text-decoration: none; }

.close { padding-bottom: 28px; }

.page-hero { padding: 36px 0 8px; }

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.crumbs a { text-decoration: none; }

.article-layout, .prose-layout {
  width: min(740px, calc(100% - 32px));
  margin: 0 auto 64px;
}

.byline { color: var(--slate); }

.prose h2 {
  font-size: 1.7rem;
  margin: 1.6em 0 0.4em;
}

.prose h3 {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 1.35em 0 0.35em;
}

.prose p, .prose li { font-size: 1.08rem; line-height: 1.7; }

.prose a { overflow-wrap: anywhere; }

.prose ul, .prose ol { padding-left: 1.2rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0 1.5rem;
  font-size: 1rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.85rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.prose th { font-weight: 700; }

.article-cta, .download-panel {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(62, 239, 253, 0.18), rgba(255, 255, 255, 0.4)),
    var(--white);
}

.hero-card .store-row { margin: 8px 0 4px; }

.article-cta h2, .download-panel h2 { font-size: clamp(1.6rem, 2vw, 2rem); }

.related, .guide-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; }

.guide-links a { font-weight: 700; text-decoration: none; }

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.topic-pills a,
.topic-pills button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.topic-pills [aria-current="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.disclaimer {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.intent { padding-top: 36px; }

.roundup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.roundup-grid article h3 { margin: 0 0 8px; }

.roundup-grid dl {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
}

.roundup-grid dt { font-weight: 700; }

.roundup-grid dd { margin: 0; }

.intent h2 { margin-top: 1.4em; }

.blog-index { padding-bottom: 72px; }

.spotlight {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 28px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 28px 0;
}

.spotlight-art {
  min-height: 240px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--cyan), var(--mid) 50%, var(--royal));
}

.spotlight-art img { width: 132px; height: 132px; border-radius: 28px; }

.spotlight div:last-child { padding: 28px 28px 28px 0; }

.topic { margin-top: 36px; }

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.post-card h3 { margin: 8px 0; font-size: 1.15rem; }

.post-card h3 a { color: inherit; text-decoration: none; }

.post-card time { color: var(--slate); font-size: 0.88rem; }

.pill {
  display: inline-block;
  border-radius: 999px;
  background: #eef3fb;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.pill.live { background: #e5fbff; color: #0b4f88; }

@media (max-width: 860px) {
  .hero-card,
  .proof,
  .feature-grid,
  .steps,
  .quote-grid,
  .journal-band,
  .spotlight,
  .topic-list,
  .roundup-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 16px 0 32px; }
  .hero-card { padding: 24px 20px; border-radius: 24px; }
  .qr-card { display: none; }
  .spotlight div:last-child { padding: 0 20px 22px; }
  .section { padding: 48px 0; }
  h1 { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Shared support: the same royal blue, soft edges, and type as the homepage. */
.support-text-button { padding: 0; border: 0; background: transparent; color: var(--royal); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.support-launcher[hidden], .support-unread[hidden], .support-status[hidden], .download-prompt[hidden] { display: none; }
.support-launcher { position: fixed; z-index: 40; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 11px; min-width: 62px; min-height: 62px; padding: 16px 22px; border: 2px solid #fff; border-radius: 100px; color: #fff; background: #214edb; box-shadow: 0 8px 28px #163f9d38; font: 600 1rem var(--font); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.support-launcher:hover { background: #183aab; transform: translateY(-3px); }
.support-launcher svg { flex: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support-launcher[aria-busy="true"] svg { animation: support-loading 1s ease-in-out infinite alternate; }
.support-unread { position: absolute; top: -6px; right: -3px; min-width: 26px; height: 26px; border: 2px solid #fff; border-radius: 30px; padding: 1px 5px; background: #c62857; color: #fff; font-size: .8125rem; }
.support-status { position: fixed; z-index: 41; right: 24px; bottom: 104px; width: min(350px, calc(100% - 48px)); padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.support-status strong { display: block; padding-right: 14px; }
.support-status p { color: var(--slate); font-size: 1rem; margin: 8px 0 0; }
.support-status a { overflow-wrap: anywhere; }
.support-status button { position: absolute; right: 1px; top: 1px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 1.5rem var(--font); cursor: pointer; }
@keyframes support-loading { to { opacity: .45; } }

/* A timed, non-modal invitation. No backdrop, scroll lock, or focus grab. */
.download-prompt { position: fixed; z-index: 35; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(410px, calc(100% - 40px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 30px 28px 12px; border: 1px solid #d4e3ff; border-top: 5px solid #214edb; border-radius: 26px; background: #f1f6ff; color: var(--ink); box-shadow: 0 24px 90px #0b1b3a40; text-align: center; animation: download-prompt-enter .25s ease-out; }
.download-prompt-close { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 1.7rem var(--font); cursor: pointer; }
.download-prompt-close:hover { background: #e0eaff; }
.download-prompt-mark { position: relative; display: inline-flex; margin-bottom: 20px; }
.download-prompt-mark img { border-radius: 15px; transform: rotate(-8deg); box-shadow: 0 8px 18px #214edb20; }
.download-prompt-mark > span { position: absolute; color: #eb4479; top: -15px; right: -25px; font-size: 2.5rem; line-height: 1; transform: rotate(15deg); }
.download-prompt .kicker { color: #254c9a; font-size: .8125rem; margin-bottom: 12px; }
.download-prompt h2 { font-family: var(--font); font-size: 2.5rem; font-weight: 600; line-height: 1.04; letter-spacing: -.05em; margin: 0; }
.download-prompt-description { color: #435572; font-size: 1rem; margin: 16px 0 20px; }
.download-prompt-qr { display: inline-flex; padding: 10px; border: 1px solid #d4e3ff; border-radius: 18px; background: #fff; }
.download-prompt-qr img { width: 140px; height: 140px; }
.download-prompt-desktop p { margin: 8px 0 0; font-size: .875rem; font-weight: 600; }
.download-prompt-mobile { display: none; }
.download-prompt-note { font-size: .8125rem; color: #53617a; margin: 18px 0 0; }
.download-prompt-later { min-height: 44px; margin-top: 4px; padding: 10px 18px; border: 0; background: transparent; color: #435572; font: .9375rem var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@keyframes download-prompt-enter { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); } }
@media (max-width: 760px) {
  .download-prompt { padding: 26px 22px 10px; }
  .download-prompt-desktop { display: none; }
  .download-prompt-mobile { display: block; }
  .download-prompt-mobile .store-row { justify-content: center; gap: 10px; }
  .download-prompt-mobile .store img { height: 40px; }
  .download-prompt h2 { font-size: 2.2rem; }
}
@media (max-width: 520px) {
  .support-launcher { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); padding: 15px; }
  .support-launcher-label { display: none; }
  .support-status { right: 16px; bottom: 94px; width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .support-launcher { transition: none; }
  .support-launcher:hover { transform: none; }
  .support-launcher[aria-busy="true"] svg, .download-prompt { animation: none; }
}
