/* Shared look for the guide pages (everything build.mjs writes into pages/).
   Colours and type match the front door, landing.html. */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url(/fonts/fraunces-700-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-600-latin.woff2) format("woff2"); }

:root {
  --cream: #FFFBF3; --enamel: #FFF1E4; --card: #FFFFFF; --ink: #2A1E15; --ink-muted: #7A6A5B; --ink-faint: #A99A8B;
  --coral: #EC5328; --coral-deep: #CE421B; --marigold: #F5A623; --marigold-soft: #FDECCB;
  --basil: #5C9A4F; --basil-soft: #E7F0E2; --line: #F0E3D2; --line-strong: #E4D3BE;
  --shadow: 0 18px 40px -24px rgba(90, 50, 20, .35);
  --display: "Fraunces", Georgia, serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  --cream: #181310; --enamel: #211a13; --card: #231B15; --ink: #F8F0E6; --ink-muted: #BBA894; --ink-faint: #8A7968;
  --coral: #FF6B45; --coral-deep: #FF8563; --marigold-soft: #3a2c16; --basil: #8CC47E; --basil-soft: #223021;
  --line: #33271e; --line-strong: #4a382c; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --cream: #181310; --enamel: #211a13; --card: #231B15; --ink: #F8F0E6; --ink-muted: #BBA894; --ink-faint: #8A7968;
    --coral: #FF6B45; --coral-deep: #FF8563; --marigold-soft: #3a2c16; --basil: #8CC47E; --basil-soft: #223021;
    --line: #33271e; --line-strong: #4a382c; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--coral-deep); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 20; }

/* Top bar and footer */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .amp { color: var(--coral); margin: 0 .16em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.navlink { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.navlink:hover { background: var(--enamel); }
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 999px; padding: 11px 20px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); }
:root[data-theme="dark"] .btn-primary { color: #181310; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
@media (max-width: 720px) { .navlink-section { display: none; } }
@media (max-width: 420px) { .navlink-auth { display: none; } }
.btn { white-space: nowrap; }
.cta-short { display: none; }
@media (max-width: 520px) { .cta-long { display: none; } .cta-short { display: inline; } .nav .btn { padding: 9px 16px; } }
footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 40px 0 48px; color: var(--ink-muted); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.foot-grid h4 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin: 0 0 10px; }
.foot-grid a { display: block; color: var(--ink-muted); text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--coral-deep); }
.foot-note { margin-top: 28px; color: var(--ink-faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Page header */
.crumbs { font-size: .9rem; color: var(--ink-muted); padding-top: 28px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral-deep); }
.hero { padding: 18px 0 8px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero.solo { grid-template-columns: 1fr; max-width: 800px; }
.kicker { display: inline-block; font-weight: 600; font-size: .85rem; color: var(--coral-deep); background: var(--enamel); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }
.lede { font-size: 1.2rem; color: var(--ink-muted); margin: 18px 0 24px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: .9rem; color: var(--ink-faint); margin-top: 12px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; } }

/* Sections */
section { padding: 56px 0 0; }
.sec-head { max-width: 720px; margin-bottom: 28px; }
.sec-head p { color: var(--ink-muted); margin: 10px 0 0; }
.prose { max-width: 720px; }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }

/* Numbered steps: words on one side, a picture of the screen on the other */
.steps { display: grid; gap: 28px; counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.step:nth-child(even) .step-art { order: -1; }
.step-num { font-family: var(--display); font-weight: 700; color: var(--coral); font-size: 1rem; letter-spacing: .06em; }
.step h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.step p { color: var(--ink-muted); margin: 0 0 .7em; }
.step p:last-child { margin-bottom: 0; }
.step strong { color: var(--ink); }
.step > *, .hero > * { min-width: 0; }
.step-art { display: flex; justify-content: center; }
@media (max-width: 820px) { .step { grid-template-columns: 1fr; padding: 22px; gap: 22px; } .step:nth-child(even) .step-art { order: 0; } }

/* Cards and grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; color: var(--ink); text-decoration: none; }
a.tile:hover { border-color: var(--coral); box-shadow: var(--shadow); }
.tile .emo { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--enamel); border-radius: 14px; margin-bottom: 12px; }
.tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tile p { color: var(--ink-muted); font-size: .97rem; margin: 0; }
.tile .more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--coral-deep); font-size: .95rem; }
.note { background: var(--marigold-soft); border-radius: 18px; padding: 18px 22px; max-width: 720px; }
.note p:last-child { margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 720px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--basil-soft); color: var(--basil); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }

/* Questions */
.faq { max-width: 760px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-muted); margin: 0 0 16px; }

/* Closing band */
.band { margin-top: 64px; background: var(--enamel); border-radius: 28px; padding: 48px 28px; text-align: center; }
.band p { color: var(--ink-muted); max-width: 520px; margin: 12px auto 22px; }

/* ---------- Drawn screens ---------- */
.art { margin: 0; width: 100%; max-width: 340px; font-size: 14px; line-height: 1.4; }
.art.wide { max-width: 460px; }
.phone { background: var(--cream); border: 1px solid var(--line-strong); border-radius: 30px; padding: 14px; box-shadow: var(--shadow); }
.phone-bar { display: flex; justify-content: center; margin-bottom: 10px; }
.phone-bar span { width: 64px; height: 6px; border-radius: 6px; background: var(--line-strong); }
.screen { display: grid; gap: 10px; }
.scr-title { font-family: var(--display); font-weight: 700; font-size: 1.35em; }
.scr-sub { color: var(--ink-muted); font-size: .92em; }
.opt { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.opt.on { border-color: var(--coral); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 22%, transparent); }
.opt .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--enamel); display: flex; align-items: center; justify-content: center; font-size: 1.4em; }
.opt b { display: block; font-size: 1em; }
.opt small { display: block; color: var(--ink-muted); font-size: .82em; line-height: 1.3; }
.field { background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field.tall { white-space: normal; min-height: 84px; color: var(--ink-muted); }
.field-label { font-size: .8em; font-weight: 600; color: var(--ink-muted); margin-bottom: -4px; }
.abtn { background: var(--coral); color: #fff; border-radius: 999px; text-align: center; font-weight: 600; padding: 10px 14px; }
:root[data-theme="dark"] .abtn { color: #181310; }
.abtn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.abtn.on { box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 25%, transparent); }
.row-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 11px; font-weight: 600; font-size: .86em; }
.pill.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.busy { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.busy div { display: flex; gap: 8px; align-items: center; color: var(--ink-muted); }
.busy div.done { color: var(--ink); }
.busy div::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.busy div.done::before { background: var(--basil); border-color: var(--basil); }
.busy div.now::before { border-color: var(--coral); border-top-color: transparent; }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rcard .pic { height: 96px; background: linear-gradient(135deg, var(--marigold-soft), var(--enamel)); display: flex; align-items: center; justify-content: center; font-size: 3em; }
.rcard .body { padding: 12px 14px; display: grid; gap: 6px; }
.rcard b { font-family: var(--display); font-size: 1.15em; }
.rcard .meta { color: var(--ink-muted); font-size: .86em; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { background: var(--basil-soft); color: var(--basil); border-radius: 999px; padding: 2px 9px; font-size: .78em; font-weight: 600; }
.lines { display: grid; gap: 5px; }
.lines div { display: flex; gap: 8px; }
.lines div::before { content: "•"; color: var(--coral); }
.lines.num { counter-reset: n; }
.lines.num div::before { counter-increment: n; content: counter(n) "."; font-weight: 600; }
.saved { display: inline-flex; align-self: start; gap: 6px; background: var(--basil-soft); color: var(--basil); font-weight: 600; border-radius: 999px; padding: 4px 11px; font-size: .86em; }
.paper { background: #FFFDF6; color: #3a2c20; border: 1px solid var(--line-strong); border-radius: 6px; padding: 14px 16px; font-family: Georgia, serif; font-size: .92em; box-shadow: var(--shadow); }
.paper.hand { font-family: "Bradley Hand", "Segoe Script", "Comic Sans MS", cursive; background: #FFF8E1; transform: rotate(-2deg); }
.paper b { display: block; font-size: 1.15em; margin-bottom: 6px; }
.paper.tilt { transform: rotate(90deg) scale(.8); }
.viewfinder { position: relative; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.viewfinder::before, .viewfinder::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid var(--coral); }
.viewfinder::before { left: 6px; top: 6px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.viewfinder::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.video { border-radius: 18px; background: linear-gradient(160deg, #3a2c20, #1d1410); color: #fff; padding: 14px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.video .play { align-self: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 1.4em; margin: 18px 0; }
.video .vcap { font-size: .9em; }
.video .who { font-weight: 600; }
.video .osd { align-self: start; background: rgba(0, 0, 0, .45); border-radius: 8px; padding: 3px 8px; font-size: .85em; }
.browser { background: var(--card); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.browser .chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--enamel); border-bottom: 1px solid var(--line); }
.browser .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser .url { flex: 1; background: var(--card); border-radius: 999px; padding: 3px 12px; font-size: .82em; color: var(--ink-muted); margin-left: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser .marks { overflow: hidden; white-space: nowrap; display: flex; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--line); font-size: .8em; color: var(--ink-muted); align-items: center; }
.browser .marks .clip { background: var(--coral); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; }
:root[data-theme="dark"] .browser .marks .clip { color: #181310; }
.browser .page { padding: 14px; display: grid; gap: 10px; }
.skel { height: 9px; border-radius: 9px; background: var(--line); }
.skel.s { width: 55%; } .skel.m { width: 80%; }
.people { display: grid; gap: 8px; }
.person { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; }
.person .av { width: 34px; height: 34px; border-radius: 50%; background: var(--marigold-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.person b { display: block; }
.person small { color: var(--ink-muted); display: block; font-size: .82em; }
.person .role { margin-left: auto; font-size: .78em; font-weight: 600; color: var(--coral-deep); background: var(--enamel); border-radius: 999px; padding: 2px 9px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; display: grid; gap: 4px; }
.day .d { display: flex; justify-content: space-between; font-weight: 600; font-size: .86em; color: var(--ink-muted); }
.day .d span { color: var(--coral-deep); }
.day .meal { display: flex; gap: 8px; align-items: center; }
.browser .page { min-width: 0; }
.day .none { color: var(--ink-faint); font-size: .9em; }
.aisle { font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-top: 4px; }
.item { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.item::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line-strong); flex: none; }
.item.got { color: var(--ink-faint); text-decoration: line-through; }
.item.got::before { background: var(--basil); border-color: var(--basil); }
.cookstep { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.cookstep .of { font-size: .82em; font-weight: 600; color: var(--ink-muted); }
.cookstep .txt { font-family: var(--display); font-size: 1.3em; line-height: 1.3; }
.timer { display: flex; align-items: center; justify-content: space-between; background: var(--enamel); border-radius: 14px; padding: 10px 14px; }
.timer b { font-size: 1.5em; font-variant-numeric: tabular-nums; }
.timer span { font-size: .85em; color: var(--ink-muted); }
.spread { display: grid; grid-template-columns: 1fr 1fr; background: #FFFDF6; color: #3a2c20; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: var(--shadow); font-family: Georgia, serif; font-size: .8em; }
.spread > div { padding: 18px 16px; min-height: 230px; display: grid; gap: 8px; align-content: start; }
.spread > div + div { border-left: 1px solid #e8dcc8; box-shadow: inset 12px 0 14px -12px rgba(90, 50, 20, .25); }
.spread .ch { text-transform: uppercase; letter-spacing: .14em; font-size: .8em; color: #a08a70; text-align: center; margin-top: 30px; }
.spread .big { font-size: 1.9em; font-weight: 700; text-align: center; line-height: 1.1; }
.spread .rule { width: 34px; height: 2px; background: var(--coral); margin: 6px auto; }
.spread .ital { font-style: italic; text-align: center; color: #6b5947; }
.spread .ph { height: 62px; border-radius: 4px; background: linear-gradient(135deg, #FDECCB, #f6c9a8); display: flex; align-items: center; justify-content: center; font-size: 2em; }
.spread b { font-size: 1.25em; }
.cover { width: 62%; margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 6px 12px 12px 6px; background: linear-gradient(150deg, var(--coral), var(--coral-deep)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; box-shadow: var(--shadow), inset 8px 0 0 rgba(0, 0, 0, .12); font-family: var(--display); }
.cover b { font-size: 1.7em; line-height: 1.1; }
.cover span { font-size: .9em; opacity: .9; margin-top: 8px; font-family: var(--body); }
.sharecards { display: flex; gap: 12px; align-items: flex-end; justify-content: center; }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); width: 46%; }
.scard .pic { background: linear-gradient(135deg, var(--marigold-soft), #f6c9a8); display: flex; align-items: center; justify-content: center; font-size: 2.6em; aspect-ratio: 4 / 3; }
.scard.story .pic { aspect-ratio: 3 / 4; }
.scard .body { padding: 10px 12px; display: grid; gap: 3px; }
.scard b { font-family: var(--display); line-height: 1.15; }
.scard small { color: var(--ink-muted); font-size: .78em; }
.scard .mark { color: var(--coral-deep); font-weight: 600; font-size: .74em; margin-top: 4px; }
.stack { display: grid; gap: 12px; }
.cap { text-align: center; color: var(--ink-faint); font-size: .82em; margin-top: 10px; }
/* The Guides menu in the top bar. The panel hangs from the bar itself (the
   bar is the positioned box), so it cannot run off the edge of the screen. Shared by the guide pages (through
   site.css) and the front door (build.mjs puts it inline in landing.html). */
.gmenu { position: static; }
.gmenu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); padding: 8px 12px; border-radius: 999px; user-select: none; white-space: nowrap; }
.gmenu > summary::-webkit-details-marker { display: none; }
.gmenu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.gmenu[open] > summary { background: var(--enamel); }
.gmenu[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.gmenu-panel { position: absolute; right: max(16px, calc((100vw - 1080px) / 2 + 20px)); top: calc(100% + 6px); z-index: 30; width: min(620px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: 0 30px 60px -24px rgba(42, 30, 21, .35); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; text-align: left; }
.gmenu-panel h4 { font-family: inherit; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin: 0 0 6px; }
.gmenu-panel a { display: block; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; white-space: normal; }
.gmenu-panel a:hover { background: var(--enamel); color: var(--coral-deep); }
.gmenu-panel .gmenu-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 600; color: var(--coral-deep); border-radius: 0 0 10px 10px; }
@media (max-width: 720px) {
  .nav-links { gap: 8px; }
  .gmenu-panel { left: 16px; right: 16px; width: auto; grid-template-columns: 1fr; max-height: calc(100vh - 90px); overflow: auto; }
  .gmenu-panel div + div { margin-top: 10px; }
}
/* On a phone the bar has room for the menu and the sign-up button; Log in is in the page just below. */
@media (max-width: 520px) {
  .nav .navlink-auth { display: none; }
  .nav .nav-links { gap: 6px; }
  .nav .brand { font-size: 1.05rem; gap: 7px; }
  .nav .brand svg { width: 30px; height: 30px; }
  .nav .btn { padding: 8px 13px; font-size: .9rem; }
  .nav .theme-toggle { width: 34px; height: 34px; }
  .gmenu > summary { padding: 8px 6px; }
}
@media (max-width: 380px) { .nav .theme-toggle { display: none; } }
