/* chowbo.com. Colors, type, radius and spacing follow the Chowbo design system tokens. */
:root {
  --rice: #F6F5F3; --card: #FFFFFF; --card-sunken: #F0EEEA; --line: #E9E6E1;
  --ink: #1C1B1F; --ink-muted: #57545C; --ink-faint: #6B6872;
  --tomato: #D9431E; --on-tomato: #FFFFFF; --tomato-ink: #C2391A; --tomato-tint: #FBE3DC;
  --leaf: #1F8F5F; --leaf-ink: #187A50; --leaf-tint: #E3F1EA;
  --butter: #FFC93C; --butter-tint: #FFF4D6; --over-ink: #B0284F;
  --protein: #5C78F2; --carbs: #F5B32E; --fat: #DB5478;
  --pal-bao: #FFF4E8; --pal-bowlie: #FDEDE8; --pal-sunny: #FFF6D6; --pal-chompy: #EAF5EF;
  --focus-ring: var(--tomato-ink);
  --shadow-float: 0 10px 30px rgba(28, 27, 31, 0.14);
  --shadow-sticker: 0 3px 6px rgba(0, 0, 0, 0.18);
  --font-display: Fredoka, "SF Pro Rounded", ui-rounded, system-ui, sans-serif;
  --font-body: Inter, -apple-system, system-ui, sans-serif;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 26px; --r-pill: 999px;
  --gutter: 16px; --max: 1160px;
  --store-bg: #1C1B1F; --store-ink: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rice: #121113; --card: #1F1E22; --card-sunken: #2A282E; --line: #34323A;
    --ink: #F4F2EF; --ink-muted: #B5B1BA; --ink-faint: #8F8B96;
    --tomato: #F06A45; --on-tomato: #1C1B1F; --tomato-ink: #FF8A6B; --tomato-tint: #3A2019;
    --leaf: #3CC38A; --leaf-ink: #5BD69F; --leaf-tint: #1B3328;
    --butter: #F2BC32; --butter-tint: #3A3216; --over-ink: #FF7FA0;
    --protein: #7B93FF; --carbs: #F5B32E; --fat: #EC6D90;
    --pal-bao: #3A2E22; --pal-bowlie: #3A231E; --pal-sunny: #3A3216; --pal-chompy: #1E3329;
    --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
    --store-bg: #F4F2EF; --store-ink: #121113;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --rice: #121113; --card: #1F1E22; --card-sunken: #2A282E; --line: #34323A;
  --ink: #F4F2EF; --ink-muted: #B5B1BA; --ink-faint: #8F8B96;
  --tomato: #F06A45; --on-tomato: #1C1B1F; --tomato-ink: #FF8A6B; --tomato-tint: #3A2019;
  --leaf: #3CC38A; --leaf-ink: #5BD69F; --leaf-tint: #1B3328;
  --butter: #F2BC32; --butter-tint: #3A3216; --over-ink: #FF7FA0;
  --protein: #7B93FF; --carbs: #F5B32E; --fat: #EC6D90;
  --pal-bao: #3A2E22; --pal-bowlie: #3A231E; --pal-sunny: #3A3216; --pal-chompy: #1E3329;
  --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
  --store-bg: #F4F2EF; --store-ink: #121113;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--rice); color: var(--ink); font: 400 17px/1.55 var(--font-body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--tomato-ink); text-underline-offset: 3px; }
a:focus-visible, .store:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: var(--r-pill); z-index: 10; }
.skip:focus { left: 8px; }
.label { font: 600 12px/16px var(--font-body); letter-spacing: 1px; text-transform: uppercase; color: var(--ink-faint); }
.num { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Wordmark: "chowb" in Fredoka 700, then the plate mark as the final o. */
.wordmark { display: inline-flex; align-items: center; gap: 0.02em; font: 700 28px/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.wordmark__o { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 0.6em; height: 0.6em; margin-top: 0.17em; border-radius: 50%; border: 0.118em solid var(--tomato); }
.wordmark__o::after { content: ""; width: 0.15em; height: 0.15em; border-radius: 50%; background: var(--butter); }
.wordmark--xl { font-size: clamp(56px, 14vw, 104px); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--rice) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top__in { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top__logo { text-decoration: none; display: inline-flex; padding: 4px 0; }
.top__nav { display: flex; gap: 4px; }
.top__nav a { color: var(--ink-muted); text-decoration: none; font: 500 15px/1 var(--font-body); padding: 10px 12px; border-radius: var(--r-pill); }
.top__nav a:hover { color: var(--ink); background: var(--card); }
@media (max-width: 719px) { .top__nav a:not([href="/support"]) { display: none; } .top__nav a { padding: 10px 4px 10px 12px; } }

/* App Store badge (custom, not Apple artwork) */
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 22px 8px 18px; border-radius: 14px; background: var(--store-bg); color: var(--store-ink); text-decoration: none; }
.store__apple { width: 24px; height: 28px; flex: none; }
.store__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store__small { font: 500 12px/1.2 var(--font-body); letter-spacing: 0.01em; }
.store__big { font: 600 22px/1.1 var(--font-body); letter-spacing: -0.02em; }
a.store:hover { filter: brightness(1.15); }
.store--soon { cursor: default; }
.store--onlight { --store-bg: #1C1B1F; --store-ink: #FFFFFF; }
.cta-note { font-size: 14px; color: var(--ink-muted); }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero__in { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero__mark { line-height: 1; margin-left: -0.04em; }
.hero__tag { font: 600 clamp(34px, 8.6vw, 60px)/1.04 var(--font-display); letter-spacing: -0.02em; }
.hero__tag .accent { color: var(--tomato-ink); display: block; }
.hero__lead { font-size: 19px; line-height: 1.5; color: var(--ink-muted); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.hero__art { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero__ring { position: absolute; width: min(520px, 118%); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero__ring .track { stroke: var(--tomato-tint); }
.hero__ring .arc { stroke: var(--tomato); animation: fill 2.6s cubic-bezier(.6,.1,.3,1) both; }
.hero__ring .yolk { fill: var(--butter); }
@media (prefers-reduced-motion: reduce) { .hero__ring .arc { animation: none; } }
@keyframes fill { from { stroke-dashoffset: 1257; } to { stroke-dashoffset: 314; } }
@media (min-width: 900px) {
  .hero { padding: 40px 0 32px; }
  .hero__in { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
  .hero__art { min-height: 600px; }
}

.hero__phone { position: relative; transform: rotate(-3deg); }
.float { position: absolute; z-index: 2; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: 12px 14px; }
.float--meal { left: 0; bottom: 64px; width: max-content; max-width: calc(100% - 8px); }
.float--meal .meal__kcal { margin-left: 10px; }
.float .meal__name { white-space: nowrap; }
.float--streak { right: 0; top: 72px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--r-pill); }
.float--streak b { display: block; font-size: 15px; line-height: 1.2; }
.float--streak small { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.2; }
.streak__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); color: #FFFFFF; display: grid; place-items: center; flex: none; }
.streak__dot svg { width: 20px; height: 20px; }
@media (max-width: 899px) { .float--meal { left: max(0px, calc(50% - 196px)); bottom: 40px; } .float--streak { right: max(0px, calc(50% - 196px)); top: 48px; } }

/* Phone frame around real app screenshots */
.phone { position: relative; width: 272px; padding: 9px; border-radius: 48px; background: #1C1B1F; box-shadow: 0 30px 60px -20px rgba(28, 27, 31, 0.45), inset 0 0 0 1.5px #3A383F; }
.phone img { width: 100%; height: auto; border-radius: 39px; aspect-ratio: 640 / 1391; background: var(--rice); }
.phone--lg { width: 290px; }
@media (min-width: 900px) { .phone--lg { width: 300px; } }

/* Sections */
.section { padding: 64px 0; }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 32px; }
.section__head h2 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; }
.section__head p { color: var(--ink-muted); font-size: 18px; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section__head { margin-bottom: 48px; } }

/* Cards (no borders, no shadows) */
.card { background: var(--card); border-radius: var(--r-xl); padding: 22px; }
.tile { background: var(--card-sunken); border-radius: var(--r-lg); padding: 14px 16px; }

/* How it works */
.steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tomato); color: var(--on-tomato); font: 600 20px/1 var(--font-display); }
.step h3 { font-size: 26px; line-height: 1.1; }
.step p { color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.step__demo { margin-top: auto; padding-top: 6px; }

.meal { display: flex; align-items: center; gap: 12px; }
.meal__thumb { width: 52px; height: 52px; flex: none; border-radius: var(--r-md); background: var(--pal-bowlie); display: grid; place-items: center; color: var(--tomato-ink); }
.meal__thumb svg { width: 24px; height: 24px; }
.meal__text { flex: 1; min-width: 0; }
.meal__name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.meal__meta { font-size: 13px; color: var(--ink-muted); }
.meal__kcal { font: 600 18px/1 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { margin-top: 10px; font-size: 13px; color: var(--ink-muted); background: var(--card); border-radius: var(--r-md); padding: 8px 12px; }

.ringrow { display: flex; align-items: center; gap: 16px; }
.miniring { width: 96px; height: 96px; flex: none; }
.miniring .t { stroke: var(--tomato-tint); } .miniring .f { stroke: var(--tomato); }
.miniring text { fill: var(--ink); font-family: var(--font-display); font-weight: 600; }
.miniring .u { fill: var(--ink-faint); font-family: var(--font-body); font-weight: 400; }
.macros { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.macro__head { display: flex; justify-content: space-between; font-size: 13px; gap: 8px; }
.macro__head b { font-weight: 600; }
.macro__head span { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: var(--r-pill); background: var(--card); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: var(--r-pill); }
.bar .p { background: var(--protein); } .bar .c { background: var(--carbs); } .bar .f { background: var(--fat); }

.board { display: flex; flex-direction: column; gap: 2px; }
.board__row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; font-size: 15px; }
.board__row + .board__row { border-top: 1px solid var(--line); }
.board__pos { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--font-display); background: var(--card); color: var(--ink-muted); }
.board__row--first .board__pos { background: var(--butter); color: #1C1B1F; }
.board__name { flex: 1; font-weight: 500; }
.board__row--you .board__name { font-weight: 600; }
.board__pts { font: 600 17px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.board__pts small { font: 400 12px var(--font-body); color: var(--ink-faint); margin-left: 3px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: var(--r-pill); font: 600 13px/1 var(--font-body); }
.chip--stakes { background: var(--butter-tint); color: var(--ink); }
.chip--leaf { background: var(--leaf-tint); color: var(--leaf-ink); }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week__day { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.week__day i { width: 26px; height: 26px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }
.week__day.on i { background: var(--leaf); }
.week__day.on i::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid #FFFFFF; border-bottom: 2.5px solid #FFFFFF; transform: translateY(-1px) rotate(-45deg); }
.week__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.xp { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font-body); }
.xp__lvl { width: 28px; height: 28px; border-radius: 50%; background: var(--butter); color: #1C1B1F; display: grid; place-items: center; font: 600 15px/1 var(--font-display); }

/* Chow Pals */
.pals-band { background: var(--card); }
.table { display: flex; flex-direction: column; align-items: center; margin: 0 auto 40px; }
.table__pals { display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 3vw, 28px); }
.table__pals img { width: clamp(68px, 19vw, 132px); height: auto; }
.table__line { width: min(100%, 680px); height: 14px; border-radius: var(--r-pill); background: var(--tomato-tint); margin-top: -6px; }
.hop { animation: hop 0.4s ease-in-out 1 both; }
@media (prefers-reduced-motion: no-preference) {
  .table__pals img { animation: hop 1.6s ease-in-out 0.4s 2; }
  .table__pals img:nth-child(2) { animation-delay: 0.55s; }
  .table__pals img:nth-child(3) { animation-delay: 0.7s; }
  .table__pals img:nth-child(4) { animation-delay: 0.85s; }
  .table__pals img:hover { animation: hop 0.4s ease-in-out 1; }
}
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px); } }
.pals { display: grid; gap: 16px; }
@media (min-width: 640px) { .pals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pals { grid-template-columns: repeat(4, 1fr); } }
.palcard { border-radius: var(--r-xl); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.palcard--sunny { background: var(--pal-sunny); } .palcard--bowlie { background: var(--pal-bowlie); }
.palcard--bao { background: var(--pal-bao); } .palcard--chompy { background: var(--pal-chompy); }
.palcard__top { display: flex; align-items: center; gap: 14px; }
.palcard__top img { width: 84px; height: 84px; flex: none; }
.palcard h3 { font-size: 28px; line-height: 1; }
.palcard__is { font-size: 14px; color: var(--ink-muted); margin-top: 4px; }
.palcard__tab { align-self: flex-start; }
.tabchip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--card); font: 600 13px/1 var(--font-body); color: var(--ink); }
.palcard ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; }
.palcard li { display: flex; gap: 10px; }
.palcard li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--ink-faint); flex: none; }
.palcard__says { margin-top: auto; background: var(--card); border-radius: var(--r-lg); padding: 12px 14px; min-height: 88px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.palcard__says b { display: block; font-size: 15px; line-height: 1.35; font-weight: 600; }
.palcard__says span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-muted); margin-top: 2px; }

/* Groups */
.groups { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .groups { grid-template-columns: 1fr 1fr; gap: 64px; } }
.groups__copy { display: flex; flex-direction: column; gap: 16px; }
.groups__copy h2 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; }
.groups__copy > p { color: var(--ink-muted); font-size: 18px; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--leaf-ink); margin-top: 1px; }
.groups__demo { display: flex; flex-direction: column; gap: 12px; max-width: 460px; width: 100%; justify-self: center; }
.palmsg { display: flex; align-items: center; gap: 12px; border-radius: var(--r-xl); padding: 14px 16px; background: var(--pal-chompy); }
.palmsg img { width: 60px; height: 60px; flex: none; }
.palmsg b { display: block; font-size: 15px; }
.palmsg span { font-size: 14px; color: var(--ink-muted); }
.board-card { display: flex; flex-direction: column; gap: 12px; }
.board-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.board-card__head h3 { font-size: 20px; }

/* Features */
.features { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon { width: 44px; height: 44px; flex: none; border-radius: var(--r-md); background: var(--tomato-tint); color: var(--tomato-ink); display: grid; place-items: center; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font: 600 18px/1.25 var(--font-display); margin-bottom: 4px; }
.feature p { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

/* Screens strip */
.screens { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.screens figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.screens figcaption { font: 600 16px/1.2 var(--font-display); }
.screens figcaption span { display: block; font: 400 14px/1.4 var(--font-body); color: var(--ink-muted); text-align: center; margin-top: 2px; }
.screens .phone { width: 236px; border-radius: 42px; padding: 8px; }
.screens .phone img { border-radius: 34px; }
@media (max-width: 899px) {
  .screens { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens figure { scroll-snap-align: center; flex: none; }
}
@media (min-width: 900px) { .screens figure:nth-child(2) { margin-top: 48px; } }

/* Privacy promise */
.promise { background: var(--card); border-radius: 32px; padding: 32px 22px; display: grid; gap: 24px; }
@media (min-width: 900px) { .promise { grid-template-columns: 0.9fr 1.1fr; padding: 56px; gap: 48px; align-items: center; } }
.promise h2 { font-size: clamp(30px, 6vw, 44px); line-height: 1.05; }
.promise__lead { color: var(--ink-muted); margin-top: 12px; }
.promise__list { display: grid; gap: 12px; }
.promise__list .tile { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.promise__list svg { width: 22px; height: 22px; flex: none; color: var(--leaf-ink); margin-top: 1px; }

/* Closing */
.closing { text-align: center; padding: 72px 0 80px; }
.closing__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing .plate { width: 120px; height: 120px; margin-bottom: 8px; }
.closing p { color: var(--ink-muted); font-size: 18px; }
.closing__h { font-size: clamp(32px, 7vw, 52px); line-height: 1.05; max-width: 16em; }
.closing .table { margin: 28px auto 0; width: 100%; }
.closing .table__pals img { width: clamp(60px, 16vw, 96px); animation: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 24px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1fr auto; align-items: start; } .foot__legal { grid-column: 1 / -1; } }
.foot__logo { text-decoration: none; display: inline-flex; }
.foot__brand p { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.foot__links a { color: var(--ink); text-decoration: none; }
.foot__links a:hover { color: var(--tomato-ink); text-decoration: underline; }
.foot__legal { font-size: 13px; color: var(--ink-faint); line-height: 1.5; }

/* Document pages (privacy, terms, support) */
.doc { padding: 32px 0 72px; }
.doc__in { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.doc__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.doc__head h1 { font-size: clamp(36px, 9vw, 52px); line-height: 1.05; }
.doc__head p { color: var(--ink-muted); }
.doc__body { background: var(--card); border-radius: var(--r-xl); padding: 8px 22px 26px; }
@media (min-width: 720px) { .doc__body { padding: 12px 40px 36px; } }
.doc__body h2 { font-size: 22px; line-height: 1.25; margin: 28px 0 8px; }
.doc__body h3 { font-size: 18px; line-height: 1.3; margin: 22px 0 6px; }
.doc__body p, .doc__body li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.doc__body p + p { margin-top: 12px; }
.doc__body ul { margin: 10px 0 0; padding-left: 20px; }
.doc__body li + li { margin-top: 6px; }
.doc__body a { word-break: break-word; }
.doc__aside { margin-top: 20px; display: flex; gap: 14px; align-items: center; border-radius: var(--r-xl); padding: 16px 18px; }
.doc__aside img { width: 60px; height: 60px; flex: none; }
.doc__aside b { display: block; font-size: 15px; }
.doc__aside span { font-size: 14px; color: var(--ink-muted); }
.doc__aside--bao { background: var(--pal-bao); }
.faq { margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font: 600 18px/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateX(-2px); }
.faq details > p { padding: 0 0 14px; color: var(--ink-muted); }
.faq summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
.contact-card { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; background: var(--tomato-tint); border-radius: var(--r-xl); padding: 18px 20px; margin-top: 20px; }
.contact-card b { font: 600 18px/1.3 var(--font-display); display: block; }
.contact-card span { font-size: 14px; color: var(--ink-muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); background: var(--tomato); color: var(--on-tomato); font: 600 16px/1 var(--font-body); text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* 404 */
.nf { padding: 56px 0 88px; text-align: center; }
.nf__in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nf img { width: 160px; height: 160px; }
.nf h1 { font-size: clamp(36px, 9vw, 56px); line-height: 1.05; }
.nf p { color: var(--ink-muted); max-width: 26em; }
