/* warm.css: the one shared stylesheet for nagiandme.com, "Warm Machine" design (Oct 2026).
   Part 1: tokens, type, buttons, nav, cards, promise band, pricing, crisis, footer
           (from the approved redesign-concepts/landing/warm-machine.html).
   Part 2: landing-only parts (hero, trust strip, library, desk feeds, get-the-app).
   Part 3: interior pages (page head, rail, FAQ, article prose, blog/guide lists, policy).
   Crisis blocks are neutral grey and unbranded on purpose: never restyle them green. */

/* ================= Part 1: system ================= */
:root {
  --forest: #0F6E56;
  --deep: #085041;
  --deep-2: #053C30;
  --teal: #5DCAA5;
  --sage: #9FE1CB;
  --mist: #E1F5EE;
  --cream: #F4F1EC;
  --cream-2: #EDE8DC;
  --cloud: #F7FAF9;
  --paper: #FFFFFF;
  --ink: #0F2A21;
  --slate: #444441;
  --grey: #666666;
  --line: #E4DED5;
  --serif: "Instrument Serif", "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --radius-lg: 18px;
  --radius-xl: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); }
a:focus-visible, .btn:focus-visible, summary:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--deep); color: #fff; padding: 10px 16px; z-index: 60; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; flex: none; }
.kicker.center { justify-content: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--deep); letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--forest); }
h2 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; margin-top: 18px; text-wrap: balance; }
.center { text-align: center; }
.sub { font-size: 17.5px; color: var(--slate); margin-top: 18px; max-width: 58ch; }
.center .sub { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 999px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 16px 24px; border: 0; cursor: pointer; }
.btn-primary { background: var(--deep); color: #fff; box-shadow: 0 8px 24px -10px rgba(8,80,65,.55); }
.btn-primary:hover { background: var(--forest); }
.btn-line, .btn-ghost { border: 1px solid rgba(8,80,65,.28); color: var(--deep); background: rgba(255,255,255,.75); }
.btn-line:hover, .btn-ghost:hover { background: #fff; }
.store-ico { width: 16px; height: 16px; flex: none; }

/* nav: floats over the landing hero; .solid sits on cream on every other page */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 78px; }
.brand { font-family: var(--serif); font-size: 26px; color: var(--deep); text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand i { width: 30px; height: 30px; border-radius: 50%; background: var(--deep); position: relative; flex: none; }
.brand i::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px 2px rgba(93,202,165,.6); }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; }
.nav-links a { color: var(--deep); text-decoration: none; opacity: .85; white-space: nowrap; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-links a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.locale { display: inline-flex; border-radius: 999px; overflow: hidden; font: 500 11px var(--mono); border: 1px solid rgba(8,80,65,.2); background: rgba(255,255,255,.7); flex: none; }
.locale a { padding: 7px 10px; color: var(--slate); text-decoration: none; }
.locale a:hover { background: rgba(8,80,65,.06); }
.locale a[aria-current] { background: var(--deep); color: #fff; }
.help-link { font-size: 13.5px; color: var(--deep); white-space: nowrap; }
.nav-signin { font-size: 13.5px; color: var(--slate); white-space: nowrap; }
.nav .btn { padding: 12px 18px; font-size: 11.5px; white-space: nowrap; }
.nav.solid { position: sticky; top: 0; background: rgba(244,241,236,.92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
@media (max-width: 1240px) { .nav-signin { display: none; } }
@media (max-width: 1120px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav .btn { display: none; } .nav, .nav.solid { position: static; background: var(--cream); } }
@media (max-width: 420px) { .locale a { padding: 6px 8px; } .help-link .long { display: none; } .brand { font-size: 23px; } .nav-right { gap: 10px; } }
@media (min-width: 420.02px) { .help-link .short { display: none; } }

section { padding: 110px 0; }
@media (max-width: 760px) { section { padding: 72px 0; } }

.portrait { background: var(--paper); border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px -36px rgba(15,42,33,.35); }
.portrait img { border-radius: 18px; width: 100%; aspect-ratio: 1; object-fit: cover; background: #D9DCDD; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 8px 4px; }
.portrait figcaption b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--deep); }
.portrait figcaption span { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); align-self: center; }

.cards { display: grid; gap: 18px; margin-top: 52px; list-style: none; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 28px; min-width: 0; }
.card .n { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.card h3 { font-size: 25px; line-height: 1.15; margin-top: 14px; }
.card p { color: var(--slate); font-size: 15px; margin-top: 8px; }
.card.mist { background: var(--mist); border-color: #CBEBDD; }
@media (max-width: 1000px) { .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .cards.three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards.four { grid-template-columns: 1fr; } }

/* the promise: deep-green band with a soft light */
.privacy { background: radial-gradient(120% 90% at 85% 0%, #0F6E56 0%, #085041 45%, #063D32 100%); color: #E9F6F0; position: relative; overflow: hidden; }
.privacy .kicker { color: var(--sage); }
.privacy h2 { color: #fff; max-width: 18ch; }
.privacy h2 em { color: var(--sage); }
.privacy p { font-size: 17px; color: #CFE7DD; margin-top: 18px; max-width: 58ch; }
.privacy .links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.privacy .links a, .privacy a { color: var(--sage); }
.privacy a:focus-visible { outline-color: var(--sage); }
.privacy-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.facts { list-style: none; border-top: 1px solid rgba(159,225,203,.25); }
.facts li { padding: 18px 0; border-bottom: 1px solid rgba(159,225,203,.25); font-family: var(--serif); font-size: 28px; color: #fff; display: flex; align-items: center; gap: 14px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px 2px rgba(93,202,165,.55); flex: none; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; gap: 36px; } }

/* pricing */
.pricing { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.pricing h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.price-card { margin-top: 44px; background: var(--cream); border: 1px solid var(--line); border-radius: 28px; padding: 52px 48px 44px; box-shadow: 0 24px 60px -28px rgba(8,80,65,.3); }
.trial-chip { display: inline-flex; align-items: center; gap: 8px; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); background: var(--sage); border-radius: 999px; padding: 5px 12px; margin-bottom: 26px; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 4px; }
.plan-card { position: relative; background: var(--paper); border: 1.5px solid rgba(8,80,65,.14); border-radius: 18px; padding: 30px 22px 26px; text-align: center; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.plan-card:hover { border-color: rgba(15,110,86,.45); }
.plan-card:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.plan-card.is-selected { border-color: var(--forest); box-shadow: 0 12px 30px -20px rgba(15,110,86,.5); }
.plan-check { position: absolute; top: 12px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(8,80,65,.3); display: grid; place-items: center; font-size: 11px; color: #fff; line-height: 1; }
.plan-card.is-selected .plan-check { background: var(--forest); border-color: var(--forest); }
.plan-card.is-selected .plan-check::after { content: "\2713"; }
.plan-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--deep); background: var(--sage); border-radius: 999px; padding: 4px 11px; }
.plan-name { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.plan-price { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--deep); letter-spacing: -.02em; margin-top: 12px; }
.plan-per { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 9px; }
.plan-equiv { font-size: 13px; font-weight: 500; color: var(--forest); margin-top: 7px; }
.plan-allow { margin-top: 12px; display: inline-block; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); background: rgba(15,110,86,.08); border-radius: 999px; padding: 5px 12px; }
.usd-note { margin-top: 14px; font-size: 12.5px; color: var(--grey); }
.plan-hint { margin-top: 10px; font-size: 12.5px; color: var(--grey); }
.price-features { margin: 28px auto 0; font-size: 15px; line-height: 1.7; color: var(--slate); max-width: 54ch; }
.price-features strong { color: var(--deep); font-weight: 600; }
.price-card .btn { margin-top: 28px; }
.cancel-line { margin: 18px auto 0; font-size: 13px; color: var(--grey); max-width: 56ch; }
@media (max-width: 640px) { .price-card { padding: 40px 20px 32px; } .plan-cards { grid-template-columns: 1fr; gap: 24px; } }

/* crisis: neutral and plain on every page (unbranded on purpose) */
aside.crisis { background: #F3F3F1; border-top: 1px solid #DCDCD7; padding: 36px 0; }
aside.crisis h2 { font-family: var(--sans); font-weight: 600; font-size: 18px; color: #1E2724; letter-spacing: 0; line-height: 1.4; margin: 0; }
aside.crisis p { font-size: 15.5px; color: #2A3330; margin-top: 6px; max-width: 86ch; }
aside.crisis strong { color: #1E2724; }
aside.crisis a { color: #1E2724; font-weight: 600; }
aside.crisis a:focus-visible { outline-color: #1E2724; }

footer.site-foot { padding: 64px 0 40px; font-size: 14px; color: var(--slate); background: var(--cream); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 32px; }
footer.site-foot h4 { font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
footer.site-foot ul { list-style: none; display: grid; gap: 8px; }
footer.site-foot a { color: var(--slate); }
.fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12.5px; color: var(--grey); }
.fine span { max-width: 100%; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ================= Part 2: landing ================= */
.top { position: relative; }
.hero { position: relative; min-height: 640px; height: clamp(640px, calc(100vw * 905 / 1600), 960px); overflow: hidden; background: #EDEBE6; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 0%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(244,241,236,.92) 0%, rgba(244,241,236,.7) 36%, rgba(244,241,236,0) 60%),
              linear-gradient(0deg, rgba(244,241,236,1) 0%, rgba(244,241,236,0) 14%); }
@media (min-width: 1698px) {
  .hero { background: linear-gradient(to bottom, #BCBDC0, #C7C8CB); }
  .hero > img { left: auto; right: 0; width: calc(960px * 1600 / 905); object-fit: cover; object-position: 0 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%); mask-image: linear-gradient(to right, transparent 0, #000 18%); }
}
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.hero h1 { font-size: clamp(64px, 8.6vw, 132px); line-height: .92; margin-top: 20px; max-width: 8ch; }
.subhead { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; color: var(--deep); margin-top: 22px; max-width: 24ch; }
.lede { font-size: 18px; color: var(--slate); max-width: 40ch; margin-top: 18px; }
.credential { font-size: 15px; line-height: 1.5; color: var(--forest); font-weight: 500; max-width: 44ch; margin-top: 12px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.hero-signin { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); text-underline-offset: 3px; }
.hero-note { margin-top: 22px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.hero-sub { margin-top: 10px; font-size: 14px; color: var(--slate); max-width: 46ch; }
.glow { position: absolute; z-index: 1; right: 25.5%; top: 26%; width: 120px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(93,202,165,.35), transparent 65%); animation: breathe 8s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%,100% { opacity: .25; } 50% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .glow { animation: none; opacity: .5; } }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; background: var(--cream); }
  .hero > img { position: relative; height: 420px; object-position: 76% 50%; }
  .hero::after, .glow { display: none; }
  .hero-copy { padding: 30px 0 44px; }
  .hero h1 { font-size: 60px; max-width: none; margin-top: 14px; }
}

/* UK research-study bar */
.trial-bar { display: block; background: var(--deep); color: var(--cream); text-decoration: none; position: relative; z-index: 11; }
.trial-bar:hover { background: var(--deep-2); }
.trial-bar-inner { display: flex; align-items: center; gap: 18px; padding: 11px 0; }
.trial-tag { flex-shrink: 0; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); background: var(--teal); padding: 5px 11px; border-radius: 999px; }
.trial-msg { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; flex: 1; min-width: 0; }
.trial-msg strong { font-weight: 600; font-size: 14.5px; color: var(--cream); }
.trial-sub { font-size: 13px; color: rgba(244,241,236,.68); }
.trial-go { flex-shrink: 0; display: inline-flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--cream); }
.trial-bar:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
@media (max-width: 680px) { .trial-sub { display: none; } .trial-bar-inner { gap: 12px; } }

/* trust strip + keyline */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 20px 0 6px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(93,202,165,.18); }
.trust .keyline { text-align: center; font-size: 15px; color: var(--slate); max-width: 78ch; margin: 0 auto; padding: 8px 0 20px; }
.trust .keyline strong { color: var(--deep); font-weight: 600; }

/* what Nagi is */
.what-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.what p.body { font-size: 17.5px; color: var(--slate); margin-top: 20px; max-width: 52ch; }
.what p.body strong { color: var(--deep); font-weight: 600; }
@media (max-width: 860px) { .what-grid { grid-template-columns: 1fr; gap: 40px; } }
.onejob { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.onejob .card { background: var(--cream); }
.anchor { display: block; position: relative; top: -20px; visibility: hidden; }

/* "What is Nagi?" text section (live indexable copy, calm reading column) */
.whatis-inner { max-width: 760px; }
.whatis-lead { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; color: var(--deep); margin-top: 22px; }
.whatis-lead em { color: var(--forest); }
.whatis-copy { margin-top: 18px; font-size: 17.5px; line-height: 1.75; color: var(--slate); }
.whatis-copy p + p { margin-top: 16px; }
.whatis .hero-note + .hero-note { margin-top: 8px; }

/* members' library (live markup, warm skin) */
.library-header { max-width: 760px; }
.library-note, .chip { display: inline-flex; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); background: var(--sage); border-radius: 999px; padding: 4px 11px; margin-top: 20px; }
.library-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.lib-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 28px; min-width: 0; }
.lib-card.lead { background: var(--mist); border-color: #CBEBDD; }
.lib-card .tagrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; flex-wrap: wrap; }
.lib-card .tag, .tips-sample .tag { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.lib-card .soon { font: 500 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--deep); background: var(--sage); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.lib-card h3 { font-size: 25px; line-height: 1.15; margin-top: 14px; }
.lib-card p { color: var(--slate); font-size: 15px; margin-top: 8px; }
@media (max-width: 1000px) { .library-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .library-grid { grid-template-columns: 1fr; } }
.tips-sample { margin-top: 56px; }
.tips-sample-head { display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; }
.tips-sample-head p { font-size: 15px; color: var(--slate); }
.tips-videos, .tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.tips-videos figure, .tips figure { margin: 0; min-width: 0; }
.tips-videos video, .tips video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #E8E4DC; box-shadow: 0 18px 44px -26px rgba(8,80,65,.4); }
.tips-videos figcaption, .tips figcaption { margin-top: 10px; font-size: 13.5px; color: var(--slate); }
@media (max-width: 860px) { .tips-videos, .tips { grid-template-columns: 1fr; } }

/* "From the Nagi desk" and "Nagi Guides" feeds (desk-feed.js fills .desk-grid) */
.desk-band { background: var(--paper); border-top: 1px solid var(--line); }
.desk-band + .desk-band { border-top: 0; padding-top: 0; }
.desk-header, .lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }
.desk-header h2, .lib-head h2 { margin-top: 14px; }
.desk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.desk-card, .post { display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.desk-band .desk-card { background: var(--cream); }
.desk-card:hover, .post:hover { transform: translateY(-3px); border-color: rgba(15,110,86,.3); box-shadow: 0 18px 40px -24px rgba(8,80,65,.35); }
.desk-card .date, .post .date { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.desk-card h3, .post h2, .post h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; color: var(--deep); margin: 0; text-wrap: balance; }
.desk-card p, .post p { font-size: 14.5px; color: var(--slate); flex: 1; }
.desk-card .more, .post .more { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
@media (max-width: 1060px) { .desk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .desk-grid { grid-template-columns: 1fr; } }

/* get the app: seated Nagi, store cards beside */
.close-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.seated { border-radius: 28px; overflow: hidden; background: #D9DCDD; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -36px rgba(15,42,33,.35); position: relative; }
.seated img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.apps { display: grid; gap: 12px; margin-top: 30px; }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.app-card .k { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.app-card h3 { font-size: 23px; line-height: 1.2; margin-top: 2px; }
.app-card .s { font-size: 13.5px; color: var(--grey); margin-top: 4px; max-width: 44ch; }
.app-card .btn { padding: 12px 16px; font-size: 11px; white-space: nowrap; flex: none; }
@media (max-width: 860px) { .close-grid { grid-template-columns: 1fr; gap: 40px; } .seated { aspect-ratio: 4 / 4.2; } }
@media (max-width: 460px) { .app-card { flex-direction: column; align-items: flex-start; } }

/* ================= Part 3: interior pages ================= */
.page-head { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(52px, 7vw, 100px); line-height: .96; margin-top: 18px; max-width: 13ch; }
.page-head .sub { font-size: 18px; max-width: 54ch; }
.head-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.head-grid .portrait { max-width: 400px; justify-self: end; width: 100%; }
.tall { border-radius: 28px; overflow: hidden; background: #D9DCDD; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -36px rgba(15,42,33,.35); max-width: 380px; justify-self: end; width: 100%; }
.tall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.meta-row span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 860px) {
  .head-grid { grid-template-columns: 1fr; gap: 36px; }
  .head-grid .portrait, .tall { justify-self: start; max-width: 320px; }
  .page-head { padding: 48px 0 52px; }
  .page-head h1 { font-size: clamp(46px, 13vw, 64px); }
}

/* two-column body with a sticky contents rail */
.with-rail { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.with-rail > * { min-width: 0; }
.rail { position: sticky; top: 104px; }
.rail h2 { font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin: 0 0 14px; }
.rail ol { list-style: none; border-left: 1px solid var(--line); display: grid; gap: 2px; counter-reset: rail; }
.rail li { counter-increment: rail; }
.rail a { display: block; padding: 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--slate); text-decoration: none; }
.rail a::before { content: counter(rail, decimal-leading-zero); font: 500 10.5px var(--mono); color: var(--forest); margin-right: 10px; }
.rail a:hover, .rail a.active { color: var(--deep); border-left-color: var(--forest); }
@media (max-width: 960px) {
  .with-rail { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rail { position: static; }
  .rail ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 4px 12px; }
  .rail a { border-left: 0; padding: 4px 0; }
}
@media (max-width: 480px) { .rail ol { grid-template-columns: 1fr; } }

/* FAQ */
section.faq-section { padding: 0; }
.faq-section + .faq-section { margin-top: 72px; }
.faq-section > .kicker { margin-bottom: 4px; }
.faq-section > h2 { font-size: clamp(34px, 4vw, 48px); margin: 10px 0 22px; }
.faq-section, [id] { scroll-margin-top: 100px; }
@media (max-width: 560px) { .faq-section, [id] { scroll-margin-top: 16px; } }
details.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; margin-top: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
details.qa:hover { border-color: rgba(15,110,86,.3); }
details.qa[open] { border-color: rgba(15,110,86,.4); box-shadow: 0 18px 40px -26px rgba(8,80,65,.35); }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 20px 24px; font-weight: 600; font-size: 17px; line-height: 1.45; color: var(--deep); border-radius: 18px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font: 500 15px/1 var(--mono); color: var(--forest); transition: transform .18s ease; align-self: center; }
details.qa[open] summary .tick { transform: rotate(45deg); }
details.qa .a { padding: 0 24px 22px; color: var(--slate); font-size: 16px; line-height: 1.72; max-width: 70ch; }
details.qa .a p + p { margin-top: 14px; }
details.qa .a strong { color: var(--deep); }
.still-stuck { margin-top: 64px; background: var(--mist); border: 1px solid #CBEBDD; border-radius: 22px; padding: 28px 30px; font-size: 16px; color: var(--slate); }
.still-stuck strong { color: var(--deep); }
@media (max-width: 560px) { details.qa summary { padding: 18px; font-size: 16px; } details.qa .a { padding: 0 18px 20px; font-size: 15.5px; } .still-stuck { padding: 22px 20px; } }

/* article prose: guides and blog posts */
.article-head { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.article-head .inner, .prose { max-width: 720px; margin: 0 auto; }
.crumb { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.crumb a { color: var(--forest); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; margin-top: 22px; text-wrap: balance; overflow-wrap: anywhere; }
.dek { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; color: var(--slate); margin-top: 20px; }
.byline { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; }
.byline i { width: 34px; height: 34px; border-radius: 50%; background: var(--deep); position: relative; flex: none; margin-top: 2px; }
.byline i::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--teal); }
.byline .meta { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.byline .note { font-size: 13.5px; color: var(--grey); margin-top: 6px; max-width: 60ch; line-height: 1.6; }
.prose { padding: 56px 0 24px; font-size: 18px; line-height: 1.78; color: var(--slate); overflow-wrap: break-word; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-top: 56px; }
.prose h3 { font-size: 26px; line-height: 1.2; margin-top: 40px; }
.prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose strong { color: var(--deep); font-weight: 600; }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose em { color: inherit; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose sup { line-height: 0; font-size: .7em; }
.prose sup a { text-decoration: none; font-weight: 600; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--sage); font-style: italic; }
.prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 72px; line-height: .82; padding: 8px 10px 0 0; color: var(--deep); }
.prose .signoff { font-family: var(--serif); font-size: 24px; color: var(--deep); }
.prose .related { font-size: 15.5px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-top: 32px; }
.prose hr { border: 0; height: 1px; width: 88px; background: var(--line); margin: 48px auto 0; }
.prose hr ~ p, .prose hr ~ ol, .prose hr ~ ul { font-size: 14.5px; color: var(--grey); }
.prose hr ~ ol li + li { margin-top: 4px; }
@media (max-width: 560px) { .prose { font-size: 17px; padding-top: 40px; } .prose > p:first-child::first-letter { font-size: 60px; } .article-head { padding: 44px 0 40px; } }

/* quiet CTA card under articles and lists */
.after { padding: 40px 0 96px; }
.cta-card { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 18px 32px 18px 18px; box-shadow: 0 24px 60px -36px rgba(8,80,65,.35); }
.cta-card img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: #D9DCDD; width: 100%; }
.cta-card h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 12px; }
.cta-card .btn { margin-top: 22px; }
.cta-card .hero-note { margin-top: 14px; }
@media (max-width: 640px) { .cta-card { grid-template-columns: 1fr; padding: 14px 14px 26px; gap: 18px; } .cta-card > div { padding: 0 8px; } .cta-card img { aspect-ratio: 16 / 11; } }

/* blog index + guides index */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; list-style: none; }
.post-grid > li { display: block; min-width: 0; }
.post.feature { background: var(--deep); border-color: var(--deep); color: #E9F6F0; }
.post-grid > li.wide { grid-column: span 2; }
.post.feature h2 { color: #fff; font-size: clamp(30px, 3vw, 40px); }
.post.feature p { color: #CFE7DD; font-size: 16px; }
.post.feature .date, .post.feature .more { color: var(--sage); }
.post.feature:focus-visible { outline-color: var(--deep); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } .post-grid > li.wide { grid-column: auto; } }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.topic { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 26px; display: flex; flex-direction: column; min-width: 0; }
.topic.mist { background: var(--mist); border-color: #CBEBDD; }
.topic > h2 { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin: 0; }
.topic .lead { margin-top: 12px; font-family: var(--serif); font-size: 30px; line-height: 1.12; }
.topic .lead a { color: var(--deep); text-decoration: none; }
.topic .lead a strong { font-weight: 400; }
.topic .lead a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.topic > p { font-size: 15.5px; color: var(--slate); margin-top: 10px; }
.topic .list { margin-top: 18px; border-top: 1px solid var(--line); font-size: 0; }
.topic .list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--deep); text-decoration: none; }
.topic .list a::after { content: "\2192"; color: var(--forest); }
.topic .list a:hover { color: var(--forest); }
.topic .list .sep { display: none; }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; margin-top: 22px; max-width: 980px; font-size: 16.5px; color: var(--slate); }
@media (max-width: 760px) { .intro-cols { grid-template-columns: 1fr; } }
.who { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; font-size: 15px; color: var(--slate); }
.who > h2 { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); padding-top: 3px; margin: 0; }
.who p + p { margin-top: 8px; }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; gap: 6px; } }
.list-disclaimer { margin-top: 32px; font-size: 14.5px; color: var(--grey); max-width: 80ch; }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* policy pages */
.short-card { margin-top: 48px; border-radius: 28px; padding: 48px 56px; }
.short-card h2 { font-size: clamp(34px, 4.4vw, 54px); max-width: 20ch; }
@media (max-width: 640px) { .short-card { padding: 32px 22px; } }
.policy { max-width: 720px; font-size: 16.5px; line-height: 1.78; color: var(--slate); overflow-wrap: break-word; }
.policy.solo { margin: 0 auto; }
.policy h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.06; margin: 80px 0 22px; }
.policy h2:first-child { margin-top: 0; }
.policy h2 .ix { display: block; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
.policy h3 { font-size: 24px; line-height: 1.25; margin: 34px 0 10px; }
.policy p { margin: 0 0 18px; }
.policy strong { color: var(--deep); font-weight: 600; }
.policy ul { list-style: none; margin: 0 0 22px; }
.policy ul li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.policy ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 1px; background: var(--forest); }
.policy ol.steps { list-style: none; counter-reset: step; margin: 0 0 22px; display: grid; gap: 10px; }
.policy ol.steps li { counter-increment: step; position: relative; padding: 14px 18px 14px 58px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.policy ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font: 500 12px var(--mono); color: var(--forest); }
.policy .callout { background: var(--mist); border: 1px solid #CBEBDD; border-radius: 18px; padding: 20px 24px; margin: 0 0 22px; }
.policy .callout p:last-child { margin-bottom: 0; }
.policy .callout strong { color: var(--deep); }
.table-scroll { overflow-x: auto; margin: 24px 0 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 15px 20px; border-top: 1px solid var(--line); }
.ptable thead th { border-top: 0; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); }
.ptable td:first-child { color: var(--deep); font-weight: 500; }
@media (max-width: 520px) { .ptable th, .ptable td { padding: 13px 14px; } .ptable { font-size: 14px; min-width: 460px; } }
.not-collected { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 24px 0 28px; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; list-style: none; }
.not-collected > * { font-family: var(--serif); font-size: 20px; color: var(--deep); display: flex; align-items: center; gap: 12px; min-width: 0; }
.not-collected > *::before { content: "\00D7"; font: 400 16px/1 var(--sans); color: var(--forest); width: 24px; height: 24px; border-radius: 50%; background: var(--mist); display: inline-grid; place-items: center; flex: none; }
@media (max-width: 520px) { .not-collected { grid-template-columns: 1fr; } }
.contact-card { margin-top: 8px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.contact-card h3 { margin-top: 0; }
.contact-card p:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .contact-card { padding: 24px 20px; } }