/* Lilita One (the game's font) and Nunito, self-hosted, Latin subsets. Licences in /fonts. */
@font-face { font-family: "Lilita One"; src: url(../fonts/lilita-one.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(../fonts/nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }

/* Layout: the page is the campaign road. The opening fills the window with the kingdom map's sunset hills and the game's idle screen on a tilted phone; a dirt road then winds down the meadow past four stops, and the page ends at the heroes, a few answers and the chest. */
:root {
  --sky: #FBE6CC;          /* sunset haze from the kingdom map */
  --paper: #FFF7EA;
  --ink: #3B2414;          /* Palette.Outline */
  --ink-soft: #6E4E36;
  --gold: #F2B134;         /* Palette.Gold */
  --gold-light: #FFDB73;
  --meadow: #A5C063;       /* the map's grass where the hills image ends */
  --meadow-2: #86A84A;
  --road: #D8B27A;
  --road-edge: #B48A55;
  --tag: #4E7A2A;
  --halo-text: rgba(255, 244, 225, .95);
  --dim: rgba(20, 12, 8, 0);
  --line: rgba(59, 36, 20, .16);
  --halo: rgba(255, 219, 115, .7);
  /* the cream buttons; in dark mode they turn to the plaques' wood with a gold edge */
  --btn-bg: var(--paper); --btn-ink: var(--ink); --btn-edge: #3B2414; --btn-drop: #3B2414;
  --common: #B9E2FF; --rare: #FFC94D; --epic: #D08CFF; --legendary: #FF8A3D;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) { :root {
  --sky: #241812; --paper: #33241B; --ink: #F8E9D2; --ink-soft: #D6BC9C; --meadow: #2F3D1D; --meadow-2: #253117;
  --road: #8E6B43; --road-edge: #5E4429; --tag: #B5DB78; --halo-text: rgba(20, 12, 8, .9); --dim: rgba(20, 12, 8, .3);
  --line: rgba(255, 230, 200, .16); --halo: rgba(242, 177, 52, .35);
  --btn-bg: linear-gradient(#7A4C2A, #55341C); --btn-ink: #FFF4DC; --btn-edge: #D9A441; --btn-drop: #0E0805; color-scheme: dark } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Lilita One with the game's dark-brown outline */
.toon { font-family: var(--display); font-weight: 400; color: #FFF4DC; -webkit-text-stroke: .12em #3B2414; paint-order: stroke fill; text-shadow: 0 .08em 0 #3B2414; letter-spacing: .01em; }

.btn { font-family: var(--display); font-size: 20px; text-decoration: none; padding: 12px 24px; border-radius: 16px; border: 3px solid #3B2414; box-shadow: 0 5px 0 var(--btn-drop); transition: transform .12s, box-shadow .12s; display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--btn-drop); }
.btn.soon { cursor: default; }
.btn.gold { background: linear-gradient(#FFDB73, #F2B134); color: #3B2414; }
.btn.plain { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-edge); }
.btn .two { display: flex; flex-direction: column; line-height: 1.1; }
.btn small { font-family: var(--body); font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* ---- Opening: fills the window ---- */
.opening { position: relative; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; background: linear-gradient(var(--dim), var(--dim)), var(--sky) url(../img/map-top.jpg) center bottom / cover; }
.opening::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 84%, var(--meadow)); pointer-events: none; }
.opening > .wrap { position: relative; width: 100%; flex: 1; display: flex; flex-direction: column; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 2px 0 #3B2414; }
.brand span { font-size: 26px; }
/* The page's button style (like "See the road"), a size smaller */
header nav { display: flex; gap: 10px; }
header nav a { font-family: var(--display); font-size: 17px; line-height: 1.2; text-decoration: none; padding: 7px 16px 8px; border-radius: 12px; border: 3px solid var(--btn-edge); background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 4px 0 var(--btn-drop); transition: transform .12s, box-shadow .12s; }
header nav a:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--btn-drop); }

.hero { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 10px 70px; }
.hero h1 { font-size: clamp(44px, 7vw, 82px); line-height: 1.02; margin: 0 0 18px; text-wrap: balance; }
.hero .lede { font-size: 20px; font-weight: 800; color: var(--ink); text-shadow: 0 0 12px var(--halo-text), 0 0 3px var(--halo-text); max-width: 34ch; margin: 0 0 26px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* The buttons and the facts share one block, and the facts are centred under the buttons. */
.cta-block { display: inline-flex; flex-direction: column; align-items: center; gap: 22px; max-width: 100%; }
.facts { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-weight: 800; font-size: 15px; color: var(--ink); text-shadow: 0 0 10px var(--halo-text), 0 0 3px var(--halo-text); }
.facts li { display: flex; align-items: center; gap: 6px; }
.facts img { width: 22px; height: 22px; object-fit: contain; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 2; display: grid; justify-items: center; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #FFF4DC; text-decoration: none; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.scroll-hint::after { content: ""; width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; rotate: 45deg; margin-top: 2px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 5px; } }

/* ---- The phone (tilted; turns toward you on hover) ---- */
.stage { position: relative; perspective: 1400px; display: grid; justify-items: center; padding-block: 10px; }
.stage .halo { position: absolute; inset: 6% -6%; border-radius: 50%; background: radial-gradient(circle, var(--halo), transparent 68%); filter: blur(24px); pointer-events: none; }
.phone { position: relative; width: 300px; max-width: 100%; border-radius: 46px; border: 8px solid #1A120C; background: #000; overflow: hidden; box-shadow: 0 0 0 1px #000, 0 40px 80px -22px rgba(30, 18, 8, .7); transform: rotateY(-16deg) rotateX(6deg) rotateZ(2deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.stage:hover .phone { transform: rotateY(-6deg) rotateX(2deg) rotateZ(0deg); }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: 38px; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, transparent 34%); pointer-events: none; z-index: 5; }
.phone .cam { position: absolute; top: 9px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #050403; box-shadow: inset 0 0 0 2px #1B1712; z-index: 6; }
.screen { position: relative; width: 100%; aspect-ratio: 1080 / 2340; overflow: hidden; border-radius: 38px; }

/* The game's idle screen, laid out in the phone's own 1080 x 2340 pixels and scaled down */
.game { position: absolute; left: 0; top: 0; width: 1080px; height: 2340px; transform-origin: 0 0; scale: var(--s, .263); background: #6C8A3E url(../img/castle-bg.jpg) center / cover; font-family: var(--display); color: #FFF; overflow: hidden; }
.game .ol { -webkit-text-stroke: 14px #3B2414; paint-order: stroke fill; }
.g-panel { position: absolute; border: 30px solid transparent; border-image: url(../img/panel-wood.webp) 44 fill / 30px / 0 stretch; }
.hud-gold { left: 41px; top: 138px; width: 480px; height: 108px; }
.hud-gem { left: 546px; top: 144px; width: 287px; height: 96px; }
.hud-gold img, .hud-gem img { position: absolute; top: 50%; translate: 0 -50%; object-fit: contain; }
.hud-gold img { left: -6px; width: 86px; height: 86px; }
.hud-gem img { left: -4px; width: 78px; height: 66px; }
.hud-gold span, .hud-gem span { position: absolute; top: 50%; translate: 0 -54%; font-size: 64px; line-height: 1; white-space: nowrap; }
.hud-gold span { left: 100px; } .hud-gem span { left: 90px; }
.hud-prof { position: absolute; left: 920px; top: 131px; width: 121px; height: 121px; background: url(../img/button-wood.webp) center / 100% 100%; padding: 13px; }
.hud-prof div { width: 100%; height: 100%; border-radius: 8px; background: #E9D8B8 url(../img/hero-knight.webp) 30% 0 / 190% auto no-repeat; }
.idle { left: 156px; top: 1355px; width: 768px; height: 195px; }
.idle .title { position: absolute; left: 0; right: 0; top: -12px; text-align: center; font-size: 48px; color: #FFE7A6; }
.idle .row { position: absolute; left: 0; right: 0; top: 62px; display: flex; align-items: center; justify-content: space-between; padding-inline: 20px 26px; }
.idle .row > div { display: flex; align-items: center; gap: 18px; }
.idle .glass { width: 46px; height: 70px; object-fit: contain; }
.idle .coin { width: 64px; height: 64px; }
.idle .timer { font-size: 66px; line-height: 1; font-variant-numeric: tabular-nums; }
.idle .pend { font-size: 62px; line-height: 1; color: #FFE7A6; font-variant-numeric: tabular-nums; }
.chest { position: absolute; left: 522px; top: 1780px; width: 236px; translate: -50% -100%; transform-origin: 50% 100%; filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .35)); z-index: 3; }
.collect { position: absolute; left: 173px; top: 1950px; width: 527px; height: 144px; display: grid; place-items: center; border: 34px solid transparent; border-image: url(../img/button-gold.webp) 36 fill / 34px / 0 stretch; color: #3B2414; font-size: 80px; line-height: 1; }
.x2 { position: absolute; left: 718px; top: 1946px; width: 191px; height: 151px; background: url(../img/button-wood.webp) center / 100% 100%; display: grid; justify-items: center; align-content: center; gap: 4px; }
.x2 span { font-size: 54px; line-height: 1; }
.x2 img { width: 72px; height: 57px; }
.nav-rail { position: absolute; left: 0; top: 2218px; width: 1080px; height: 122px; }
.tab { position: absolute; top: 2147px; width: 150px; height: 141px; translate: -50% 0; background: url(../img/button-wood.webp) center / 100% 100%; display: grid; place-items: center; }
.tab img { width: 104px; height: 104px; object-fit: contain; }
.tab .alert { position: absolute; right: -16px; top: -18px; width: 58px; height: 58px; }
.tab-label { position: absolute; top: 2284px; translate: -50% 0; font-size: 44px; color: #F0D18C; white-space: nowrap; -webkit-text-stroke: 12px #3B2414; paint-order: stroke fill; }

.unit { position: absolute; translate: -50% -100%; }
.unit img { width: 100%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 12px 6px rgba(0, 0, 0, .3)); animation: breathe 1.9s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes breathe { 50% { scale: 1.02 .965; } }
.num { position: absolute; left: 0; top: 0; z-index: 220; pointer-events: none; white-space: nowrap; font-size: 92px; line-height: 1; color: #FFE28A; -webkit-text-stroke: 18px #3B2414; paint-order: stroke fill; }
.num.crit { color: #FF8A3D; font-size: 122px; }
.num.taken { color: #FF5A4E; font-size: 76px; }
.num.heal { color: #8CF07A; font-size: 76px; }
.bolt { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; z-index: 210; background: radial-gradient(#FFF1B8 30%, #FFC94D 60%, rgba(255, 201, 77, 0) 72%); box-shadow: 0 0 34px #FFC94D; pointer-events: none; }
.bolt.holy { background: radial-gradient(#FFFFFF 30%, #FFF3D6 60%, rgba(255, 243, 214, 0) 72%); box-shadow: 0 0 34px #FFF3D6; }
.gcoin { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; z-index: 240; pointer-events: none; }
.finger { position: absolute; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; border: 10px solid #FFFFFF; box-shadow: 0 0 0 4px rgba(59, 36, 20, .5); z-index: 260; pointer-events: none; opacity: 0; }

/* ---- The road ---- */
.road-section { position: relative; background: linear-gradient(var(--meadow), var(--meadow-2)); padding-block: 40px 90px; overflow: hidden; }
.road-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.road-svg path { fill: none; stroke-linecap: round; }
.road-svg .edge { stroke: var(--road-edge); stroke-width: 80; }
.road-svg .bed { stroke: var(--road); stroke-width: 68; }
.road-svg .dash { stroke: color-mix(in srgb, var(--road) 55%, #FFF4DC); stroke-width: 4; stroke-dasharray: 2 18; }
.section-title { text-align: center; position: relative; z-index: 1; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(34px, 5vw, 52px); margin: 0; text-wrap: balance; }
.section-title p { margin: 6px auto 0; font-weight: 800; max-width: 46ch; }

.stops { position: relative; z-index: 1; display: grid; gap: 76px; }
.stop { display: grid; grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr); align-items: center; }
.node { grid-column: 2; grid-row: 1; justify-self: center; width: 100px; height: 100px; display: grid; place-items: center; background: url(../img/stage-node.webp) center / contain no-repeat; filter: drop-shadow(0 6px 0 rgba(59, 36, 20, .45)); font-size: 38px; }
.card { background: var(--paper); border: 3px solid #3B2414; border-radius: 22px; box-shadow: 0 8px 0 rgba(59, 36, 20, .3); padding: 24px 26px 26px; min-width: 0; grid-row: 1; }
.stop:nth-child(odd) .card { grid-column: 1; }
.stop:nth-child(even) .card { grid-column: 3; }
.stop .art { grid-row: 1; min-width: 0; display: flex; justify-content: center; align-items: flex-end; gap: 6px; --u: 82px; }
.stop:nth-child(odd) .art { grid-column: 3; }
.stop:nth-child(even) .art { grid-column: 1; }
.card .tag { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--tag); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 4px 0 10px; text-wrap: balance; }
.card p { margin: 0 0 14px; color: var(--ink-soft); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card li { display: flex; gap: 10px; align-items: baseline; font-weight: 700; }
.card li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); border: 2px solid #3B2414; transform: rotate(45deg) translateY(-1px); }
.art img { min-width: 0; height: auto; filter: drop-shadow(0 8px 6px rgba(40, 24, 12, .35)); }
.art .bld { width: 32%; max-width: 150px; }
.art .w { width: calc(var(--w) * var(--u)); max-width: 34%; }   /* characters at their in-game size: --w is the sprite's width in world units */
.art.bosses { --u: 92px; gap: 10px; }
.art .gear { width: 27%; max-width: 110px; }

/* ---- Heroes ---- */
.heroes { padding-block: 84px 40px; }
.heroes .head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.heroes h2, .faq h2 { font-size: clamp(34px, 5vw, 50px); margin: 0; }
.heroes .head p { margin: 6px 0 0; color: var(--ink-soft); font-weight: 700; max-width: 50ch; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 2px solid var(--btn-edge); background: var(--btn-bg); color: var(--btn-ink); border-radius: 99px; padding: 5px 14px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 var(--btn-drop); }
.filters button[aria-pressed="true"] { background: var(--gold); color: #3B2414; border-color: #3B2414; }
#roster { display: grid; gap: 16px; }
.tier { --r: var(--common); display: grid; grid-template-columns: 170px minmax(0, 1fr); border: 3px solid #3B2414; border-radius: 24px; overflow: hidden; box-shadow: 0 6px 0 rgba(59, 36, 20, .28); background: var(--paper); }
.tier-name { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 16px 10px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--r) 85%, #FFF), var(--r) 55%, color-mix(in srgb, var(--r) 70%, #3B2414)); border-right: 3px solid #3B2414; text-align: center; }
.tier-name .toon { font-size: 26px; line-height: 1; }
.tier-name small { font-weight: 800; font-size: 13px; color: #3B2414; letter-spacing: .06em; text-transform: uppercase; }
.tier-heroes { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-evenly; gap: 6px 34px; padding: 22px 28px 18px; background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--r) 40%, transparent), transparent 70%), var(--paper); --u: 92px; }
.fig { display: grid; justify-items: center; align-content: end; min-width: 120px; }
.fig .pic { position: relative; display: grid; justify-items: center; align-items: end; height: calc(1.65 * var(--u)); }
.fig .pic::before { content: ""; position: absolute; bottom: -4px; width: 70%; height: 14px; border-radius: 50%; background: rgba(59, 36, 20, .22); }
.fig img { position: relative; width: calc(var(--w) * var(--u)); height: auto; filter: drop-shadow(0 4px 3px rgba(40, 24, 12, .3)); transition: transform .2s; transform-origin: 50% 100%; }
.fig:hover img { transform: translateY(-6px) scale(1.04); }
.plaque { margin-top: 8px; font-family: var(--display); font-size: 17px; line-height: 1; color: #FFF4DC; background: linear-gradient(#6B4325, #4A2D17); border: 3px solid #D9A441; border-radius: 10px; padding: 6px 12px 7px; box-shadow: 0 3px 0 #3B2414; white-space: nowrap; }
.ribbon { margin-top: -3px; width: 108px; height: 44px; display: grid; place-items: center; background: center / 100% 100% no-repeat; font-family: var(--display); font-size: 13px; letter-spacing: .04em; color: #FFF; -webkit-text-stroke: 3px rgba(0, 0, 0, .45); paint-order: stroke fill; padding-bottom: 6px; }
.ribbon.Healer { background-image: url(../img/badge-role-healer.webp); }
.ribbon.Tank { background-image: url(../img/badge-role-tank.webp); }
.ribbon.Damage { background-image: url(../img/badge-role-damage.webp); }
.fig[hidden], .tier[hidden] { display: none !important; }

/* ---- FAQ ---- */
.faq { padding-block: 44px 20px; }
.faq .list { display: grid; gap: 14px; margin-top: 22px; }   /* one question per line; only the first starts open */
.faq details { background: var(--paper); border: 3px solid #3B2414; border-radius: 16px; padding: 14px 18px; box-shadow: 0 5px 0 rgba(59, 36, 20, .25); }
.faq summary { font-family: var(--display); font-size: 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tag); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 2px; color: var(--ink-soft); }

/* ---- Finale ---- */
.finale { padding-block: 40px 80px; }
.finale .wrap { display: grid; justify-items: center; text-align: center; gap: 16px; }
.finale img { width: min(280px, 70%); filter: drop-shadow(0 14px 10px rgba(40, 24, 12, .35)); }
.finale h2 { font-size: clamp(34px, 5vw, 54px); margin: 0; text-wrap: balance; }
.finale p { margin: 0 0 8px; color: var(--ink-soft); font-weight: 700; }

footer { background: #3B2414; color: #E9D3B4; padding-block: 28px; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }
footer a { color: #FFDB73; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 0 80px; }
  .phone { width: 270px; transform: none; }
  .stage:hover .phone { transform: none; }
  header nav { display: none; }
  .stop { grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; }
  .node { grid-column: 1; width: 60px; height: 60px; font-size: 24px; align-self: start; }
  .stop:nth-child(odd) .card, .stop:nth-child(even) .card { grid-column: 2; }
  .stop:nth-child(odd) .art, .stop:nth-child(even) .art { grid-column: 2; grid-row: 2; margin-top: 18px; --u: 58px; }
  .art.bosses { --u: 62px; }
  .road-svg { display: none; }
  .stops::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 18px; border-radius: 9px; background: var(--road); box-shadow: 0 0 0 4px var(--road-edge); }
  .tier { grid-template-columns: 1fr; }
  .tier-name { border-right: 0; border-bottom: 3px solid #3B2414; grid-auto-flow: column; justify-content: start; gap: 12px; padding: 10px 16px; }
  .tier-heroes { --u: 50px; gap: 6px 4px; padding: 16px 8px 14px; justify-content: space-around; }
  .fig { min-width: 0; flex: 1 1 0; max-width: 33%; }
  .ribbon { width: 96px; }
  .plaque { font-size: clamp(10px, 3.3vw, 14px); padding: 5px 5px 6px; white-space: nowrap; }   /* "Plague Doctor" and "Paladin Queen" stay on one line */
}
@media (prefers-reduced-motion: reduce) {
  .btn, header nav a, .phone, .fig img { transition: none; }
  .unit img, .scroll-hint::after { animation: none; }
}

/* ---- Privacy page ---- */
.doc { max-width: 720px; margin: 0 auto; padding-block: 24px 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.doc header { padding-block: 18px 30px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin: 0 0 14px; }
.doc p { color: var(--ink-soft); font-weight: 700; }

