/* ==========================================================================
   podhead.co — site.css
   One stylesheet, two designs:
     · DESKTOP  (≥ 900px)  — wide editorial layout, dropdown menu
     · MOBILE   (< 900px)  — stacked layout, top-sheet menu, screenshot
                             carousel, sticky bottom call-to-action
   Settings (dark / high contrast / grayscale / right-handed-lefty / letter case)
   are classes on <html>/<body>, set by site.js.
   ========================================================================== */

/* ── Fonts (self-hosted: no requests to Google) ── */
@font-face { font-family: 'Anton'; src: url(fonts/anton.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-italic.woff2) format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

/* ── Tokens ── */
:root {
  --bg: #FAF9F6;
  --fg: #0E0D0B;
  --fg-mid: #5C5850;
  --fg-dim: #7B766C;
  --accent: #63C7FF;          /* app accent RGB(0.39, 0.78, 1.0) */
  --accent-ink: #157AB3;      /* darker teal for text on light backgrounds */
  --crown: #D4A017;
  --card-bg: #F0EDE6;
  --card-shadow: 0 12px 40px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.06);
  --divider: rgba(14,13,11,.10);
  --check: #0EA03F;           /* light mode: same green, deeper, 3.3:1 on the cream background. Dark mode and the Pro band use #2BED6D. */
  --pro-bg: #131210;
  --pro-fg: #F0EDE6;
  --pro-dim: rgba(240,237,230,.58);
  --pro-rule: rgba(240,237,230,.12);

  --gutter: clamp(20px, 4.5vw, 56px);
  --sec: clamp(56px, 8vw, 120px);
  --maxw: 1160px;
  --header-h: 60px;
  color-scheme: light;
}

/* Dark: follows the visitor's system until they flip the toggle.
   site.js sets data-theme before first paint; the media query is the no-JS fallback. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #131210; --fg: #EAE7E0; --fg-mid: #A09B92; --fg-dim: #7F7A71;
    --card-bg: #1D1B18; --card-shadow: 0 12px 40px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.3);
    --divider: rgba(234,231,224,.10); --check: #2BED6D; --pro-bg: #0A0908; --accent-ink: #63C7FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131210; --fg: #EAE7E0; --fg-mid: #A09B92; --fg-dim: #7F7A71;
  --card-bg: #1D1B18; --card-shadow: 0 12px 40px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.3);
  --divider: rgba(234,231,224,.10); --check: #2BED6D; --pro-bg: #0A0908; --accent-ink: #63C7FF;
  color-scheme: dark;
}

/* High contrast (light and dark variants) */
:root.hc { --fg: #000; --fg-mid: #1c1c1c; --fg-dim: #383838; --divider: rgba(0,0,0,.34); --accent-ink: #0B5A8A; --check: #17692f; --pro-dim: rgba(240,237,230,.86); --pro-rule: rgba(240,237,230,.32); }
:root[data-theme="dark"].hc { --bg: #000; --fg: #fff; --fg-mid: #ececec; --fg-dim: #c4c4c4; --divider: rgba(255,255,255,.36); --accent-ink: #7fd2ff; --check: #6fd48a; --pro-bg: #000; --card-bg: #121212; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]).hc { --bg: #000; --fg: #fff; --fg-mid: #ececec; --fg-dim: #c4c4c4; --divider: rgba(255,255,255,.36); --accent-ink: #7fd2ff; --pro-bg: #000; }
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.grayscale { filter: grayscale(1); }           /* on <html>, so fixed elements keep working */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; text-transform: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

/* Text is authored in normal mixed case. Letter Case UI ON → every letter on the page is lowercase. */
html.lc, html.lc * { text-transform: lowercase !important; }
.logo { text-transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ── Anton headers with round punctuation ──
   Anton's own colon/period are square. These dots are drawn in CSS, sized
   from Anton's glyph metrics. Real characters stay in .sr-only for screen readers. */
.big, .section-title, .price-big, .every-update { font-family: 'Anton', Impact, 'Arial Black', sans-serif; font-weight: 400; }
.big { line-height: .86; letter-spacing: -.01em; }
.rp { display: inline-block; position: relative; width: .24em; height: 0; vertical-align: baseline; }
.rp::before, .rp::after { content: ''; position: absolute; left: .03em; width: .18em; height: .18em; border-radius: 50%; background: currentColor; }
.rp-colon::before { bottom: .11em; }
.rp-colon::after  { bottom: .445em; }
.rp-dot { width: .23em; }
.rp-dot::before { bottom: 0; }
.rp-dot::after { display: none; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  padding-top: env(safe-area-inset-top, 0);
  transition: background .3s;
}
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; letter-spacing: -.03em; text-decoration: none; color: var(--fg); }
.logo-icon { width: 32px; height: 32px; border-radius: 8px; }

.crown-wrap { position: relative; }
.crown-btn { background: none; border: 0; cursor: pointer; padding: 10px; margin: -10px; display: flex; color: var(--crown); transition: transform .15s; }
.crown-btn:hover { transform: scale(1.08); }
.crown-btn:active { transform: scale(.94); }

/* ── Menu (dropdown on desktop, top sheet on mobile) ── */
.crown-nav {
  position: absolute; top: calc(100% + 12px); right: 0; width: 344px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.crown-nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.nav-card { background: var(--card-bg); border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); padding-block: 4px; }
.nav-item, .nav-toggle-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--fg); text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer; transition: background .12s; }
.nav-item:hover, .nav-toggle-row:hover { background: rgba(128,128,128,.08); }
.nav-item[aria-current="page"] { font-weight: 700; }
.nav-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .3s ease; }
.nav-icon svg { transition: transform .3s ease; }
html.lefty #ico-hand svg { transform: scaleX(-1); }
.nav-chev { margin-left: auto; color: var(--fg-dim); opacity: .6; display: flex; }
.nav-div { height: 1px; background: var(--divider); margin-inline: 54px 0; }
.nav-section-div { height: 1px; background: var(--divider); margin: 4px 14px; }
.nav-section-label { font-size: 11px; font-weight: 600; color: var(--fg-dim); padding: 10px 14px 4px; letter-spacing: .06em; text-transform: uppercase; }

.toggle-text { flex: 1; order: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.toggle-label { line-height: 1.25; }
.toggle-sub { font-size: 11px; font-weight: 400; color: var(--fg-dim); line-height: 1.3; }
html.lefty .nav-toggle-row:not([data-toggle="lefty"]) .toggle-text { text-align: right; }   /* the Button Layout row itself never flips, same as the app */
.aa { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: -.02em; text-transform: none !important; line-height: 1; }
.nav-toggle-row .nav-icon { order: 0; }
.toggle-track { order: 2; }
html.lefty .nav-toggle-row:not([data-toggle="lefty"]) .toggle-track { order: 0; }       /* lefty: switches on the left */
html.lefty .nav-toggle-row:not([data-toggle="lefty"]) .nav-icon { order: 2; }
.toggle-track { width: 38px; height: 23px; border-radius: 12px; background: #787880; position: relative; flex-shrink: 0; transition: background .2s; }
.toggle-track.on { background: var(--accent); }
.toggle-thumb { width: 19px; height: 19px; border-radius: 50%; background: #fff; position: absolute; top: 2px; left: 2px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle-track.on .toggle-thumb { transform: translateX(15px); }
.toggle-track::before { content: ''; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 1.5px; height: 8px; background: rgba(255,255,255,.75); border-radius: 1px; opacity: 0; transition: opacity .2s; }
.toggle-track.on::before { opacity: 1; }
.toggle-track::after { content: ''; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; transition: opacity .2s; }
.toggle-track.on::after { opacity: 0; }
.toggle-on-label { position: absolute; top: 2px; right: 2px; width: 19px; height: 19px; z-index: 2; display: flex; align-items: center; justify-content: center; font-size: 7.5px; font-weight: 800; line-height: 1; color: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.toggle-on-label::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 16px; height: 9px; border-radius: 3px; background: rgba(0,0,0,.18); z-index: -1; }
html.grayscale .toggle-track.on .toggle-on-label { opacity: 1; }
html.grayscale .toggle-track.on::before { opacity: 0; }   /* state never relies on color alone */

@keyframes eyeBlink { 0%,100% { transform: scaleY(1); } 35%,65% { transform: scaleY(.05); } }
@keyframes iconPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.nav-icon.blink svg { animation: eyeBlink .25s ease; }
.nav-icon.pop { animation: iconPop .25s ease; }

.scrim { position: fixed; inset: 0; z-index: 90; background: transparent; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.scrim.on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ── Hero ── */
.hero { padding-top: clamp(20px, 4vw, 64px); }
.hero-text { font-size: clamp(26px, 4.6vw, 58px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; max-width: 17em; }
.hero-text { text-wrap: balance; text-align: center; margin-inline: auto; }
.hero-text em { font-style: italic; }
.hero-name { display: block; }
.hero-line { display: block; text-wrap: balance; }

/* ── Easter eggs ── */
#eggWord { display: inline-block; cursor: default; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
#eggWord.nudge { transform: translateY(3px); transition-duration: .08s; }
.egg-l { display: inline-block; will-change: transform; }
.egg-heart { position: fixed; z-index: 9999; width: 1em; height: 1em; margin: -.5em 0 0 -.5em; pointer-events: none; opacity: 0; transform: scale(.3); transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .25s ease-out; font-size: 40px; }
.egg-heart.on { opacity: 1; transform: scale(1); }
.egg-heart.off { opacity: 0; transform: scale(1); transition: opacity .7s ease-out; }
.egg-heart span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin-top: -.03em; font: 800 .37em/1 'Inter', system-ui, sans-serif; color: #fff; text-transform: none !important; letter-spacing: 0; }
.egg-gray { display: none; position: fixed; inset: 0; z-index: 9998; pointer-events: none; -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1); }
/* While the heart shows, Grayscale is drawn as an overlay under it instead of a filter on <html>, so the heart stays red. */
html.grayscale.egg-live { filter: none !important; }
html.grayscale.egg-live .egg-gray { display: block; }
.nowrap { white-space: nowrap; }

/* ── NO ── */
.no-section { padding-top: clamp(40px, 7vw, 96px); }
.no-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 4.5vw, 72px); }
.no-grid { --nf: clamp(120px, 25vw, 310px); }
.no-section .big { font-size: var(--nf); }
.no-list li { position: relative; padding-left: 1.25em; font-size: clamp(18px, 2.7vw, 34px); font-weight: 700; line-height: 1.3; padding-block: .17em; letter-spacing: -.015em; }
.no-list li::before { content: '\2014'; position: absolute; left: 0; }
.ever { padding-left: 1.25em; margin-top: .4em; font-size: clamp(18px, 2.7vw, 34px); font-weight: 700; color: var(--fg-mid); letter-spacing: -.015em; }

/* ── Phones ── */
.shots-section { padding-top: var(--sec); }
.shots { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 44px); }
.phone { --pw: clamp(150px, 20vw, 248px); width: var(--pw); aspect-ratio: 1206 / 2622; flex: none; position: relative; border: 3px solid var(--fg); border-radius: calc(var(--pw) * .15); background: var(--card-bg); overflow: hidden; box-shadow: var(--card-shadow); }
.phone { isolation: isolate; transform: translateZ(0); -webkit-transform: translateZ(0); }
.phone:nth-child(2) { margin-top: calc(var(--pw) * -.14); }                 /* the middle phone rides high */
.phone::after { content: ''; position: absolute; top: 2.2%; left: 50%; transform: translateX(-50%); width: 30%; height: 2.9%; border-radius: 99px; background: var(--fg); z-index: 3; }
.phone-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: .75; }
.phone-ph img { width: 34%; border-radius: 22%; }
.phone-ph span { font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--fg-dim); }
.phone > img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }  /* drop shot-1.png in the folder and it covers the placeholder */
/* Pro sits on a dark band, so its phones use the light-on-dark palette */
.pro-section .shots-section { padding-top: clamp(40px, 8vw, 112px); }
.pro-section .phone { border-color: var(--pro-fg); background: rgba(240,237,230,.06); box-shadow: none; }
.pro-section .phone::after { background: var(--pro-fg); }
.pro-section .phone-ph span { color: var(--pro-dim); }
.free-section .shots-section { padding-top: clamp(48px, 7vw, 96px); }

/* ── Free / Pro headers ── */
.free-section { padding-top: var(--sec); padding-bottom: var(--sec); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3.5vw, 56px); margin-bottom: clamp(20px, 3vw, 44px); }
.head-row .big { font-size: clamp(96px, 19vw, 230px); }
.head-note { flex: 1; min-width: 0; text-wrap: balance; max-width: 13em; font-size: clamp(22px, 3.2vw, 44px); font-weight: 800; color: var(--check); text-align: left; line-height: 1.12; letter-spacing: -.025em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); grid-auto-flow: column; column-gap: clamp(28px, 4vw, 56px); }   /* reads down the columns */
.feature-item { display: flex; align-items: center; gap: 10px; padding: 13px 0; font-size: 15px; font-weight: 600; line-height: 1.35; border-bottom: 1px solid var(--divider); min-width: 0; }
.fcheck { color: var(--check); flex: none; display: flex; }
.feature-footer { grid-column: 2 / span 2; grid-row: 7; padding: 13px 0; border-bottom: 1px solid var(--divider); font-size: 14px; font-weight: 600; font-style: italic; color: var(--fg-mid); white-space: nowrap; display: flex; align-items: center; }

/* ── Pro (full-bleed dark band) ── */
.pro-section { background: var(--pro-bg); color: var(--pro-fg); padding-block: var(--sec); }
.pro-section .head-note { color: #2BED6D; }   /* Pro band is always dark */
.pro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.pro-item { padding: 18px 0; border-bottom: 1px solid var(--pro-rule); }
.pro-name { font-weight: 700; font-size: 16px; letter-spacing: -.005em; margin-bottom: 4px; }
.pro-desc { color: var(--pro-dim); font-size: 13.5px; line-height: 1.45; }
.every-update { font-size: clamp(26px, 5vw, 60px); line-height: 1; margin-top: clamp(10px, 1.6vw, 22px); color: var(--accent); }
.ad-callout { background: rgba(99,199,255,.10); border-left: 3px solid var(--accent); padding: 16px 20px; margin-top: clamp(24px, 3vw, 40px); border-radius: 0 12px 12px 0; font-size: 13.5px; line-height: 1.55; max-width: 760px; }
.ad-callout strong { color: var(--accent); }
.ad-callout a { color: var(--accent); text-underline-offset: 3px; }

/* ── Pricing ── */
.pricing-section { padding-block: var(--sec) calc(var(--sec) * .8); text-align: center; }
.price-big { font-size: clamp(120px, 22vw, 260px); line-height: .9; color: var(--check); }
.price-line { text-wrap: balance; font-size: clamp(18px, 2.6vw, 28px); font-weight: 800; margin-top: 10px; letter-spacing: -.02em; }
.price-sub { font-size: 15px; color: var(--fg-mid); margin-top: 6px; letter-spacing: .01em; }
.price-sub em { font-style: italic; text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; gap: 12px; margin-top: 28px; justify-content: center; flex-wrap: wrap; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: 13px; font-size: 14px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s; }
.cta:hover { transform: scale(1.03); }
.cta:active { transform: scale(.98); }
.cta-primary { background: var(--fg); color: var(--bg); }
.cta-secondary { background: transparent; color: var(--fg-mid); border-color: var(--divider); cursor: default; }
.cta-secondary:hover { transform: none; }

/* ── Privacy + Support ── */
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 7vw, 112px); padding-bottom: var(--sec); align-items: start; }
.section-title { font-size: clamp(56px, 8.5vw, 104px); line-height: .9; margin-bottom: clamp(14px, 2vw, 28px); }
.priv-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--divider); font-size: 14px; font-weight: 500; }
.priv-icon { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: none; }
.support-copy { font-size: 15px; color: var(--fg-mid); font-weight: 500; }
.support-email { display: inline-block; margin-top: 10px; font-size: clamp(17px, 2vw, 22px); font-weight: 800; color: var(--accent-ink); text-decoration: none; letter-spacing: -.01em; word-break: break-all; }
.support-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.support-note { margin-top: 18px; font-size: 13px; color: var(--fg-dim); line-height: 1.5; }
.support-note a { color: var(--accent-ink); font-weight: 700; text-underline-offset: 3px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--divider); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 24px; font-size: 12px; color: var(--fg-dim); }
.site-footer nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile-only parts are hidden on desktop */
.cta-bar { display: none; }

/* ==========================================================================
   BUILD BLOG (blog.html)
   ========================================================================== */
.blog-hero { padding-top: clamp(24px, 4vw, 56px); }
.blog-hero .big { font-size: clamp(76px, 15vw, 190px); }
.blog-lede { margin-top: clamp(16px, 2vw, 28px); font-size: clamp(16px, 1.9vw, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; max-width: 34em; color: var(--fg-mid); }
.blog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: clamp(40px, 7vw, 112px); padding-block: clamp(36px, 5vw, 72px) var(--sec); align-items: start; }
.blog-side { position: sticky; top: calc(var(--header-h) + 28px); }
.blog-side h2 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 10px; }
.filters { display: flex; flex-direction: column; gap: 4px; }
.chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; cursor: pointer; padding: 9px 12px; margin-inline: -12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--fg-mid); text-align: left; transition: background .12s, color .12s; }
.chip:hover { background: rgba(128,128,128,.09); }
.chip[aria-pressed="true"] { background: var(--card-bg); color: var(--fg); }
.chip small { font-size: 11px; font-weight: 700; color: var(--fg-dim); }
.post { padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--divider); }
.post:first-child { border-top: 0; padding-top: 0; }
.post[hidden] { display: none; }
.meta { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--fg-dim); margin-bottom: 14px; }
.tag { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .01em; color: #fff; }
.tag-journal { background: #8B6BB5; }
.tag-release { background: #2D7D9A; }
.post-title { font-family: 'Anton', Impact, 'Arial Black', sans-serif; font-weight: 400; font-size: clamp(34px, 5.4vw, 64px); line-height: .98; letter-spacing: -.005em; margin-bottom: clamp(16px, 2vw, 24px); text-wrap: balance; }
.prose { text-transform: none; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; max-width: 40em; color: var(--fg); }
.prose p + p, .prose p + ul, .prose ul + p, .prose h3 + p, .prose h3 + ul { margin-top: 1em; }
.prose h3 { margin-top: 1.6em; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); }
.prose ul { padding-left: 1.2em; list-style: none; }
.prose li { position: relative; padding-block: .2em; }
.prose li::before { content: ''; position: absolute; left: -1.05em; top: .85em; width: .38em; height: .38em; border-radius: 50%; background: var(--accent-ink); }
.prose em { color: var(--accent-ink); font-style: italic; }
.blog-empty { margin-top: 24px; padding: 20px 22px; border-radius: 14px; background: var(--card-bg); font-size: 14px; font-weight: 600; color: var(--fg-mid); }

/* ==========================================================================
   MOBILE DESIGN  (< 900px) — not a shrunken desktop: its own layout
   ========================================================================== */
@media (max-width: 899px) {
  :root { --header-h: 56px; --gutter: 20px; --sec: 64px; }

  /* Menu becomes a full-width top sheet with thumb-size rows */
  .crown-wrap { position: static; }
  .crown-nav { left: 12px; right: 12px; width: auto; top: calc(100% + 6px); max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px) - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; }
  .nav-card { border-radius: 20px; }
  .nav-item, .nav-toggle-row { padding: 12px 18px; font-size: 17px; min-height: 52px; gap: 14px; }
  .nav-icon { width: 34px; height: 34px; border-radius: 9px; }
  .nav-div { margin-inline-start: 66px; }
  .nav-section-label { font-size: 12px; padding: 14px 18px 6px; }
  .toggle-track { width: 46px; height: 28px; border-radius: 14px; }
  .toggle-thumb { width: 24px; height: 24px; }
  .toggle-track.on .toggle-thumb { transform: translateX(18px); }
  .toggle-on-label { top: 2px; right: 2px; width: 24px; height: 24px; font-size: 9px; }
  .toggle-on-label::before { width: 20px; height: 11px; }
  .toggle-sub { font-size: 12px; }
  .toggle-track::after { right: 8px; }
  .toggle-track::before { left: 8px; }
  .scrim { background: rgba(0,0,0,.38); }

  .hero-text { font-size: 28px; }

  /* NO: stacked, huge, list underneath */
  .no-section { padding-top: 40px; }
  .no-grid { grid-template-columns: 1fr; row-gap: 8px; }
  .no-section .big { font-size: min(44vw, 190px); }
  .no-list li { font-size: 24px; padding-block: .12em; }
  .ever { font-size: 24px; }

  /* Screenshots: swipeable carousel that bleeds to the screen edge */
  .shots-section { padding-top: 44px; padding-inline: 0; }
  .shots { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 22px; gap: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shots::-webkit-scrollbar { display: none; }
  .phone { --pw: min(62vw, 250px); scroll-snap-align: start; }
  .phone:nth-child(2) { margin-top: 0; }
  .shots-section { margin-inline: calc(var(--gutter) * -1); }
  .pro-section .shots-section, .free-section .shots-section { padding-top: 40px; }

  .head-row { margin-bottom: 18px; }
  .head-row .big { font-size: min(34vw, 150px); }
  .head-note { display: none; }

  .feature-grid, .pro-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .feature-item { padding: 15px 0; font-size: 16px; }
  .feature-footer { grid-column: auto; grid-row: auto; white-space: normal; padding: 15px 0; font-size: 14px; }
  .pro-item { padding: 16px 0; }
  .pro-name { font-size: 17px; }
  .pro-desc { font-size: 14px; }
  .every-update { font-size: 9vw; }
  .ad-callout { font-size: 14px; }

  .price-big { font-size: min(46vw, 200px); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta { min-height: 54px; font-size: 15px; }

  .duo { grid-template-columns: 1fr; row-gap: 56px; }
  .section-title { font-size: min(21vw, 96px); }
  .priv-list li { padding: 14px 0; font-size: 15px; }
  .support-card { background: var(--card-bg); border-radius: 20px; padding: 24px 22px; }
  .support-email { font-size: 19px; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

  /* Sticky bottom call-to-action (appears after the hero, hides at the pricing section) */
  .cta-bar {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; z-index: 80;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 10px 10px 10px 18px; border-radius: 18px;
    background: var(--card-bg); box-shadow: var(--card-shadow); border: 1px solid var(--divider);
    transform: translateY(160%); transition: transform .28s ease;
  }
  .cta-bar.show { transform: none; }
  .cta-bar p { flex: 1; font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
  .cta-bar p span { display: block; font-weight: 500; color: var(--fg-mid); font-size: 12px; }
  .cta-bar .cta { min-height: 44px; padding: 0 20px; font-size: 14px; }

  /* Blog */
  .blog-layout { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .blog-side { position: static; }
  .blog-side h2 { display: none; }
  .filters { flex-direction: row; overflow-x: auto; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; margin: 0; padding: 10px 16px; border: 1px solid var(--divider); border-radius: 99px; }
  .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .chip small { display: none; }
  .post-title { font-size: 40px; }
}

/* Mid-size: keep the three-column free list but give the footer line room */
@media (min-width: 900px) and (max-width: 1100px) {
  .feature-footer { font-size: 12.5px; }
  .feature-item { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .cta-bar, .scrim { display: none; }
  .pro-section { background: none; color: #000; }
}

/* ── Desktop: the four "No" lines and "…ever." fill exactly the height of the big "No:".
   The height comes from the big No's own font size (its ink is .855 of it), not from its line box,
   so every browser lands on the same edges. ── */
@media (min-width: 900px) {
  .no-grid { align-items: center; }
  .no-right { --lf: calc(var(--nf) * .11); font-size: var(--lf); height: calc(var(--nf) * .855 + .22em); display: flex; flex-direction: column; justify-content: space-between; margin-block: -.14em -.08em; }
  .no-right .no-list { display: contents; }
  .no-right .no-list li, .no-right .ever { font-size: 1em; line-height: 1; padding-block: 0; margin: 0; }

  /* Safari/Chrome with text-box-trim: trim each list line to cap-height..baseline so the first
     line's top and the last line's baseline land exactly on the edges of "No:" (no font-metric guessing). */
  @supports (text-box: trim-both cap alphabetic) {
    .no-right { height: calc(var(--nf) * .855); margin-block: 0; translate: 0 -.05em; }
    .no-right .no-list li, .no-right .ever { text-box: trim-both cap alphabetic; }
  }

  /* Headline is centered on the page */
  .hero-text { margin-inline: auto; text-align: center; max-width: 20em; }

  /* Free / Pro notes: one centered line above the big heading */
  .head-row { flex-direction: column-reverse; align-items: stretch; gap: clamp(14px, 2.4vw, 34px); }
  .head-note { flex: none; max-width: none; text-align: center; padding: 0; }
  .head-row .big { align-self: flex-start; }
}
