/* Still shared theme (all pages): palette, nav, buttons, tiles. Redesign 3 Dec 2026 (Richard, t1276u, t1277u).
   Inspired by the look of big colourful rounded tiles and bold type. System fonts only,
   no images except two photos and the Play badge, CSS-only motion (switched off for
   people who ask for reduced motion). Mobile-first.
   Contrast (text on fill): ink #1b1740 on lime/yellow/pink/sky/mint/coral/white/cream is
   all above 6:1; white on violet #4a2fe0 is above 7:1; lime on navy #1b1740 above 11:1. */
:root {
  --ink: #1b1740;
  --violet: #4a2fe0;
  --lime: #d4f76b;
  --yellow: #ffd84b;
  --pink: #ffa6d5;
  --hotpink: #ff4fa3;
  --sky: #8ad8ff;
  --mint: #86ebc0;
  --coral: #ff7a59;
  --cream: #fffbf0;
  --radius: 28px;
  --hm-badge-radius: 16px;
  --heading: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.pg {
  background: var(--cream);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
body.pg main { max-width: none; margin: 0; padding: 0; }
:where(body.pg) :where(h1, h2, h3) { font-family: var(--heading); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
:where(body.pg) :where(h1, h2, h3, p, figure, blockquote, ul) { margin: 0; }
body.pg blockquote { border: 0; padding: 0; color: inherit; }
body.pg a { color: inherit; }
body.pg a:focus-visible, body.pg .hm-skip:focus { outline: 4px solid var(--hotpink); outline-offset: 3px; border-radius: 12px; }
body.pg .c-lime { color: var(--lime); }
body.pg .c-yellow { color: var(--yellow); }
body.pg .c-white { color: #fff; }

/* Skip link: hidden until focused */
.hm-skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 0.7rem 1rem; background: var(--ink); color: #fff !important; font-weight: 700; border-radius: 12px; }
.hm-skip:focus { top: 12px; }

/* Nav */
.hm-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1.1rem; background: rgba(255, 251, 240, 0.94); backdrop-filter: blur(8px); }
/* Logo lockup: two vertical pills beside “still.”, in a normal inline
   formatting context (not a nested flex line). Floated bars leave the
   inline-block with no in-flow line boxes, so its baseline is its bottom
   edge even with overflow visible. That keeps the rounded caps unclipped.
   Width, height and radius are in em (radius = half the bar width) so
   they scale with the wordmark. The lowest point of each rounded bottom
   is meant to land on the ink bottom of the l/l/t/i stems (Richard,
   4 Dec 2026). */
.hm-logo { display: block; margin-right: auto; font-family: var(--heading); font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-decoration: none; }
.hm-logo .hm-word { line-height: 1; }
.hm-logo .sf-mark { display: inline-block; overflow: visible; box-sizing: border-box; width: calc(14em / 26); height: calc(19em / 26); line-height: 0; margin: 0 0.5rem 0 0; padding: 0; vertical-align: baseline; }
.hm-logo .sf-mark i { float: left; box-sizing: border-box; width: calc(5em / 26); height: 100%; margin: 0; background: var(--violet); border-radius: calc(2.5em / 26); }
.hm-logo .sf-mark i + i { margin-left: calc(4em / 26); }
.hm-nav { flex-wrap: wrap; row-gap: 0.2rem; }
.hm-links { order: 3; display: flex; flex: 1 0 100%; gap: 0.35rem 1.2rem; flex-wrap: wrap; font-weight: 700; font-size: 0.9375rem; }
/* Nav hover/focus: cycle the vibrant tile colours, in order, as a rounded pill
   with ink text (Richard, 4 Dec 2026). Our story yellow, Guides pink, Pricing
   sky, FAQs mint. Get Still (.hm-pill) is unchanged. Ink on these fills is
   above 6:1. */
.hm-links a { text-decoration: none; padding: 0.4rem 0.8rem; border-radius: 999px; color: var(--ink); background-color: transparent; transition: background-color 0.18s ease, color 0.18s ease; }
.hm-links a:hover, .hm-links a:focus-visible { color: var(--ink); text-decoration: none; }
.hm-links a[href="/our-story/"]:hover, .hm-links a[href="/our-story/"]:focus-visible { background-color: var(--yellow); }
.hm-links a[href="/guides/"]:hover, .hm-links a[href="/guides/"]:focus-visible { background-color: var(--pink); }
.hm-links a[href="/pricing/"]:hover, .hm-links a[href="/pricing/"]:focus-visible { background-color: var(--sky); }
.hm-links a[href="/faq/"]:hover, .hm-links a[href="/faq/"]:focus-visible { background-color: var(--mint); }
body.pg .hm-links a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 999px; }
.hm-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--violet); }
@media (prefers-reduced-motion: reduce) {
  .hm-links a { transition: none; }
}
.hm-pill, .hm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.35rem; border-radius: 999px; background: var(--ink); color: #fff !important; font-family: var(--heading); font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform 0.18s ease, background-color 0.18s ease; }
.hm-pill:hover, .hm-btn:hover { background: var(--violet); }
.hm-btn { background: var(--violet); border: 3px solid var(--ink); }
.hm-btn:hover { background: var(--ink); }
.hm-btn-dark { background: var(--ink); border-color: var(--ink); margin-top: 1.1rem; }
.hm-btn-dark:hover { background: var(--violet); }
.hm-btn-light { background: #fff; color: var(--ink) !important; border-color: #fff; }
.hm-btn-light:hover { background: var(--yellow); }

/* Bands and tiles */
.hm-band { padding: 3rem max(1.1rem, calc((100% - 1200px) / 2)); }
.hm-h2 { font-size: clamp(2rem, 7.5vw, 3.6rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; }
.hm-kicker { margin-bottom: 0.9rem; font-weight: 800; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.12em; }
.hm-tile { position: relative; padding: 1.6rem; border-radius: var(--radius); background: #fff; transition: transform 0.2s ease; }
.hm-tile h3 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: 0.7rem; }
.hm-tile p + p { margin-top: 0.8rem; }
.t-lime { background: var(--lime); }
.t-yellow { background: var(--yellow); }
.t-pink { background: var(--pink); }
.t-sky { background: var(--sky); }
.t-mint { background: var(--mint); }
.t-coral { background: var(--coral); }
.t-cream { background: var(--cream); }
.t-white { background: #fff; }
.t-navy { background: var(--ink); color: #fff; }
.t-violet { background: var(--violet); color: #fff; }

@media (min-width: 46rem) {
  .hm-nav { padding: 0.8rem 2rem; flex-wrap: nowrap; }
  .hm-links { order: 0; flex: 0 1 auto; gap: 1.6rem; font-size: 1rem; flex-wrap: nowrap; }
}

/* Home about tiles (also used as a base on Our story; Our story overrides follow). */
.hm-portrait { display: block; width: min(100%, 300px); height: auto; aspect-ratio: 1; margin: 0 auto 1.1rem; object-fit: cover; border-radius: 50%; border: 5px solid var(--ink); background: var(--cream); }
.hm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hm-chips li { padding: 0.35rem 0.85rem; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font-weight: 700; font-size: 0.9375rem; }
.hm-no10 { margin: 0; padding: 0.9rem; }
.hm-no10 img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #2a2557; }
.hm-no10 figcaption { padding: 0.9rem 0.4rem 0.2rem; font-weight: 600; }

/* Our story photo tiles: just under the hero, No.10 first, equal-height tiles with images filling leftover space. */
.pg-photos { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.pg-photos .hm-tile { display: flex; flex-direction: column; margin: 0; min-height: 0; }
.pg-photos .hm-me { text-align: center; }
.pg-photos .hm-me h3 { margin: 0.15rem 0 0.5rem; }
.pg-photos .hm-me p { margin: 0 0 0.85rem; max-width: none; font-size: 1.0625rem; font-weight: 600; }
/* Portrait circle uses the same width cap as the homepage (min(100%, 300px)),
   not the full tile width (Richard, 4 Dec 2026, t1345u). Crop is unchanged. */
.pg-photos .hm-portrait { width: min(100%, 300px); margin: 0 auto 1rem; object-position: center 18%; }
.pg-photos .hm-no10 img { flex: 1 1 auto; min-height: 0; object-position: center 32%; }
.pg-photos .hm-me { justify-content: center; } /* circle, name, bio and chips as one centred block (t1345u follow-up) */
@media (min-width: 46rem) {
  /* Slightly wider No.10 column so two square images plus their captions land at a similar height. */
  .pg-photos { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
  .pg-photos .hm-tile { padding: 0.9rem; }
  .pg-photos .hm-no10 img { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center center; }
  .pg-photos .hm-portrait { flex: 0 0 auto; width: min(100%, 300px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 18%; }
}

/* ------------------------------------------------------------------------------------
   Inner pages (content, guides, legal, beta, 404). Markup: header.hm-nav, then
   main.pg-main holding section.pg-hero, section.pg-tile (one per h2), section.pg-cta.
   Text colour is ink on every light tile (6:1 or better); white on violet.
   ------------------------------------------------------------------------------------ */
body.pg main.pg-main { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); max-width: 1200px; margin: 0 auto; padding: 1rem 1.1rem 3rem; }
body.pg main.pg-main > * { min-width: 0; }
body.pg main.pg-main a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
body.pg main.pg-main a:hover { text-decoration-color: var(--violet); text-decoration-thickness: 4px; }
body.pg main.pg-main .pg-doc a, body.pg main.pg-main .pg-doc-hero a { color: var(--violet); }
body.pg main.pg-main a.cta, body.pg main.pg-main a.cta:hover { text-decoration: none; }

/* Hero tile */
.pg-hero { padding: 2rem 1.5rem 2.2rem; border-radius: var(--radius); background: var(--yellow); }
.pg-hero h1 { font-size: clamp(2.2rem, 9vw, 4.4rem); text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.96; overflow-wrap: anywhere; }
.pg-hero .lede { margin-top: 1.1rem; max-width: 40rem; font-size: clamp(1.15rem, 3.5vw, 1.45rem); line-height: 1.4; font-weight: 600; color: var(--ink); }
.pg-hero .meta { display: inline-block; margin: 1rem 0 0; padding: 0.3rem 0.8rem; border-radius: 999px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 0.875rem; }
.pg-hero p + p { margin-top: 0.8rem; }

/* Tile colours: one cycle for short pages; document pages use white tiles */
.pg-c-yellow { background: var(--yellow); }
.pg-c-pink { background: var(--pink); }
.pg-c-sky { background: var(--sky); }
.pg-c-mint { background: var(--mint); }
.pg-c-lime { background: var(--lime); }
.pg-c-coral { background: var(--coral); }
.pg-c-white { background: #fff; }

.pg-tile { padding: 1.5rem; border-radius: var(--radius); color: var(--ink); transition: transform 0.2s ease; }
.pg-tile > h2 { margin-bottom: 0.8rem; font-size: clamp(1.45rem, 5vw, 2.1rem); line-height: 1.05; }
.pg-tile > :where(p, ul, ol, table, div, details):not(:last-child) { margin-bottom: 0.9rem; }
.pg-tile > :where(p, ul, ol):last-child { margin-bottom: 0; }
.pg-tile ul, .pg-tile ol { padding-left: 1.3rem; }
.pg-tile li { margin-bottom: 0.45rem; }
.pg-tile li::marker { font-weight: 800; }
.pg-tile > :where(p, ul, ol) { max-width: 46rem; }
.pg-tile sup { font-weight: 700; }
.pg-tile .small, .pg-hero .small { font-size: 0.9375rem; color: var(--ink); }

/* Document pages (guides, privacy and data, refund policy): calmer white tiles */
.pg-doc { background: #fff; border: 3px solid var(--ink); }
.pg-doc > h2 { display: inline-block; padding: 0.1em 0.3em; margin-left: -0.3em; border-radius: 0.3em; background: var(--lime); }
.pg-doc:nth-of-type(3n+2) > h2 { background: var(--pink); }
.pg-doc:nth-of-type(3n) > h2 { background: var(--sky); }
.pg-doc.pg-sources { background: var(--cream); border-style: dashed; }
.pg-doc.pg-sources > h2, .pg-doc.pg-more > h2 { background: var(--yellow); }
.pg-doc.pg-more { background: var(--lime); border-color: var(--ink); }
.pg-doc.pg-more a { color: var(--ink); }
.sources { font-size: 0.9375rem; overflow-wrap: anywhere; color: var(--ink); }

/* Plain sections (lists of cards, FAQ, plans): heading on cream, tiles inside */
.pg-plain > h2 { margin: 0.6rem 0 0.8rem; font-size: clamp(1.7rem, 6vw, 2.6rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; }
.pg-plain > :where(p, ul):not(.cards) { max-width: 46rem; }
.pg-plain > :where(.faq, .cards, .plans, .calc) + p { margin-top: 1rem; }

/* Card lists (guides, blog) */
.cards { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cards li { margin: 0; }
body.pg main.pg-main .cards a { display: block; height: 100%; padding: 1.4rem; border: 0; border-radius: var(--radius); background: var(--yellow); color: var(--ink); text-decoration: none; transition: transform 0.2s ease; }
.cards li:nth-child(5n+2) a, .cards li.c2 a { background: var(--pink); }
.cards li:nth-child(5n+3) a, .cards li.c3 a { background: var(--sky); }
.cards li:nth-child(5n+4) a, .cards li.c4 a { background: var(--mint); }
.cards li:nth-child(5n+5) a, .cards li.c5 a { background: var(--lime); }
.cards li.c1 a { background: var(--yellow); }
.cards strong { display: block; color: var(--ink); font-family: var(--heading); font-weight: 800; font-size: clamp(1.3rem, 4.5vw, 1.7rem); line-height: 1.1; letter-spacing: -0.02em; }
.cards span { display: block; margin-top: 0.6rem; color: var(--ink); font-size: 1rem; }
body.pg main.pg-main .cards a:hover { text-decoration: none; }
body.pg main.pg-main .cards a:hover strong { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Guides index (Richard t1318u): more space between tile rows, and the
   single-tile topics (How-to, Choosing a tool, Tools) share one line. */
body.pg main.pg-main-guides { gap: 1.75rem; }
body.pg main.pg-main-guides .pg-plain > h2,
body.pg main.pg-main-guides .guides-topic > h2 { scroll-margin-top: 7.25rem; }
.guides-topics-row { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); }
.guides-topics-row .guides-topic > h2 { margin: 0 0 0.8rem; font-size: clamp(1.35rem, 4.2vw, 2rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; }
.guides-topics-row .cards { grid-template-columns: minmax(0, 1fr); }
.guides-topics-row .guides-topic { display: flex; flex-direction: column; }
.guides-topics-row .cards, .guides-topics-row .cards li, .guides-topics-row .cards a { flex: 1 1 auto; height: 100%; }


/* Pricing plans */
.plans { display: grid; gap: 1rem; margin: 0; }
.plan { margin: 0; padding: 1.6rem; border: 0; border-radius: var(--radius); background: var(--sky); color: var(--ink); }
.plan:nth-child(2) { background: var(--lime); }
.plan h2 { margin: 0 0 0.3rem; font-size: clamp(1.7rem, 6vw, 2.4rem); }
.price { margin: 0.2rem 0; font-family: var(--heading); font-size: clamp(2.4rem, 9vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price span { font-size: 1.1rem; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.price-alt { color: var(--ink); font-weight: 700; }
.plan ul { padding-left: 1.3rem; margin: 1rem 0 0; }

/* FAQ */
.faq { display: grid; gap: 0.8rem; max-width: 52rem; margin-inline: auto; }
.faq details p { text-align: left; }
.faq details { margin: 0; padding: 0; border: 3px solid var(--ink); border-radius: 22px; background: #fff; }
/* Mix yellow (#FFD84B via --yellow) into the accordion and some expand buttons (Richard t1315u). Ink text on yellow is well above AA. */
.faq details:nth-child(5n+1) { background: var(--yellow); }
.faq details:nth-child(5n+2) { background: var(--sky); }
.faq details:nth-child(5n+3) { background: var(--pink); }
.faq details:nth-child(5n+4) { background: var(--mint); }
.faq details:nth-child(5n+5) { background: #fff; }
.faq summary { position: relative; padding: 1.1rem 3.4rem 1.1rem 1.3rem; border-radius: 19px; cursor: pointer; list-style: none; font-family: var(--heading); font-weight: 800; font-size: clamp(1.1rem, 3.8vw, 1.35rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; display: grid; place-items: center; width: 2rem; height: 2rem; margin-top: -1rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.4rem; line-height: 1; }
.faq details:nth-child(5n+2) summary::after,
.faq details:nth-child(5n+4) summary::after { background: var(--yellow); color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 4px solid var(--hotpink); outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; max-width: 46rem; }

/* Callouts and speech bubbles */
.notice { padding: 1rem 1.2rem; border: 3px solid var(--ink); border-radius: 24px 24px 24px 6px; background: var(--yellow); color: var(--ink); }
body.pg blockquote { margin: 0 0 1rem; padding: 1rem 1.2rem; border: 3px solid var(--ink); border-radius: 24px 24px 24px 6px; background: var(--cream); color: var(--ink); font-weight: 600; }
.pg-tile blockquote p:last-child { margin-bottom: 0; }

/* Tables */
.pg-tile table { display: block; width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; border: 3px solid var(--ink); border-radius: 18px; background: #fff; }
.pg-tile th, .pg-tile td { padding: 0.65rem 0.8rem; border: 0; border-bottom: 2px solid var(--ink); text-align: left; vertical-align: top; }
.pg-tile th { background: var(--lime); font-family: var(--heading); font-weight: 800; }
.pg-tile tr:last-child td { border-bottom: 0; }

/* Calculator */
.calc { margin: 0; padding: 1.6rem; border: 3px solid var(--ink); border-radius: var(--radius); background: var(--sky); }
.calc-field input { border: 3px solid var(--ink); border-radius: 14px; }
.calc-field input:focus-visible { outline: 4px solid var(--hotpink); outline-offset: 2px; }
.calc-results { border-top: 3px solid var(--ink); }
.calc-big { font-family: var(--heading); color: var(--ink); }

/* Buttons on inner pages (the .cta links in the page text) */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0; }
body.pg .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0.75rem 1.5rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff !important; font-family: var(--heading); font-weight: 800; font-size: 1.0625rem; text-align: center; text-decoration: none; transition: transform 0.18s ease, background-color 0.18s ease; }
body.pg .cta:hover { background: var(--violet); color: #fff; }
body.pg .cta-quiet { background: #fff; color: var(--ink) !important; }
body.pg .cta-quiet:hover { background: var(--yellow); color: var(--ink) !important; }
.pg-cta { padding: 1.8rem 1.5rem; border-radius: var(--radius); background: var(--violet); color: #fff; }
.pg-cta .cta { background: #fff; border-color: #fff; color: var(--ink) !important; }
.pg-cta .cta:hover { background: var(--yellow); border-color: var(--yellow); }
.pg-cta .cta-quiet { background: transparent; border-color: #fff; color: #fff !important; }
.pg-cta .cta-quiet:hover { background: #fff; border-color: #fff; color: var(--ink) !important; }
body.pg main.pg-main .pg-cta a:not(.cta) { color: #fff; }
.pg-tile > a.cta { margin-top: 0.2rem; }
.link-list { padding-left: 1.3rem; }

/* Legal pages: a calm, readable white page on cream (wording is untouched) */
body.legal main.pg-main { display: block; max-width: 48rem; margin: 1rem auto 3rem; padding: 2rem 1.4rem 2.4rem; border: 3px solid var(--ink); border-radius: var(--radius); background: #fff; font-size: 1.0625rem; line-height: 1.65; }
body.legal main.pg-main > h1 { margin: 0 0 1rem; padding-bottom: 0.9rem; border-bottom: 6px solid var(--lime); font-size: clamp(2rem, 7vw, 3rem); text-transform: none; letter-spacing: -0.03em; line-height: 1.05; }
body.legal main.pg-main h2 { margin: 2.2rem 0 0.6rem; padding-left: 0.7rem; border-left: 8px solid var(--pink); font-size: clamp(1.35rem, 4.5vw, 1.7rem); line-height: 1.15; }
body.legal main.pg-main h3 { margin: 1.6rem 0 0.4rem; font-size: 1.2rem; }
body.legal main.pg-main :where(p, ul, ol, table) { margin: 0 0 1rem; }
body.legal main.pg-main a { color: var(--violet); }
body.legal main.pg-main table { display: block; overflow-x: auto; border: 2px solid var(--ink); border-radius: 12px; border-collapse: separate; border-spacing: 0; }
body.legal main.pg-main th, body.legal main.pg-main td { padding: 0.5rem 0.7rem; border: 0; border-bottom: 1px solid var(--ink); }
body.legal main.pg-main th { background: var(--lime); }

/* Beta landing pages and 404 */
body.beta main.pg-main, body.err main.pg-main { display: block; max-width: 44rem; margin: 1rem auto 3rem; padding: 1.6rem 1.4rem 2rem; border-radius: var(--radius); background: var(--lime); }
body.beta main.pg-main h1, body.err main.pg-main h1 { margin: 1rem 0; font-size: clamp(2rem, 8vw, 3.2rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; }
body.beta main.pg-main p, body.err main.pg-main p { margin: 0 0 1rem; font-size: 1.125rem; }
body.beta main.pg-main picture, body.beta main.pg-main .hero { border-radius: 20px; border: 3px solid var(--ink); overflow: hidden; }
body.beta .play-now a { display: inline-flex; align-items: center; padding: 0.4rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
body.beta main.pg-main a.cta { margin-top: 0.4rem; background: var(--violet); border-color: var(--ink); }
body.beta main.pg-main a.cta:hover { background: var(--ink); }

@media (min-width: 46rem) {
  body.pg main.pg-main { padding: 1.5rem 2rem 4rem; gap: 1.1rem; }
  body.pg main.pg-main-guides { gap: 2rem; }
  body.pg main.pg-main-guides .pg-plain > h2,
  body.pg main.pg-main-guides .guides-topic > h2 { scroll-margin-top: 5.25rem; }
  .guides-topics-row { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.5rem 1rem; }
  .pg-hero { padding: 3rem 2.5rem 3.2rem; }
  .pg-tile { padding: 2rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.legal main.pg-main { padding: 2.6rem 2.6rem 3rem; }
}
@media (min-width: 62rem) {
  body.pg main.pg-main:not(.pg-main-doc) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-hero, .pg-cta, .pg-wide, .pg-plain { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.pg main.pg-main.pg-main-doc { max-width: 56rem; }
  body.legal main.pg-main { display: block; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes pg-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .pg-hero { animation: pg-pop 0.5s ease-out both; }
  .pg-tile:hover, .plan:hover, body.pg main.pg-main .cards a:hover { transform: translateY(-5px) rotate(-0.4deg); }
  body.pg .cta:hover { transform: translateY(-3px) rotate(-1deg); }
}
