/* Aerofield pages: /aerofield/, /aerofield/support/, /aerofield/privacy/.
   Calm, flat and warm, like the game's own menus: paper, ink, one burnt orange, night navy and amber.
   Everything is served from this site (no outside fonts or files), so the Content-Security-Policy in _headers allows it as it is.

   Fonts. Body text is Instrument Sans, which the site already hosts for the studio name (assets/fonts/boxdini/).
   Headings and numbers use a condensed stack: Avenir Next Condensed is the face the game itself uses for its numbers and is on every iPhone, iPad and Mac;
   "Barlow Semi Condensed" is used when it is installed; Arial Narrow and the system font come after that.
   To host Barlow later: put the two WOFF2 files in assets/fonts/aerofield/, add @font-face rules for them here, and keep the fallbacks. */

@font-face { font-family: "Instrument Sans"; src: url("../fonts/boxdini/instrument-sans-latin.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F4F1E7;
  --paper-2: #FBF9F2;
  --ink: #22303B;
  --ink-2: #4E5C67;
  --orange: #CE6C0B;
  --orange-text: #A85208;
  --amber: #F2A33A;
  --night: #0E1722;
  --night-2: #16222F;
  --night-text: #E9F0F6;
  --night-muted: #A9B7C3;
  --sage: #DCE5CF;
  --sage-2: #C9D8BA;
  --sky: #CFE1EE;
  --line: #D8D3C2;
  --soft: #F7E7D0;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 28px);
  --header-h: 68px;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Avenir Next Condensed", "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--orange-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: .005em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.af-night :focus-visible, .af-footer :focus-visible { outline-color: var(--amber); }

.af-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.af-skip:focus { top: 12px; }
.af-container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- header ---------- */
.af-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 231, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.af-nav { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.af-studio { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(34, 48, 59, .06); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.af-studio:hover { background: rgba(34, 48, 59, .12); color: var(--ink); }
.af-studio img { width: auto; height: 26px; flex: none; }
.af-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.af-brand:hover { color: var(--ink); }
.af-brand img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.af-brand span { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.af-links { display: flex; align-items: center; gap: 2px; }
.af-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.af-links a:hover { background: rgba(34, 48, 59, .08); color: var(--ink); }
.af-links a[aria-current="page"] { background: rgba(34, 48, 59, .1); }
@media (max-width: 880px) {
  .af-links a:not(.keep) { display: none; }
}
@media (max-width: 560px) {
  .af-studio-text { display: none; }
  .af-studio { padding: 6px 9px; }
  .af-brand span { font-size: 1.4rem; }
  .af-nav { gap: 8px; }
}
@media (max-width: 340px) { .af-brand span { display: none; } }

/* ---------- shared pieces ---------- */
.af-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 14px; }
.af-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); flex: none; }
.af-night .af-eyebrow { color: var(--amber); }
.af-night .af-eyebrow::before { background: var(--amber); }
.af-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.af-night .af-lead { color: var(--night-muted); }
.af-section { padding: clamp(56px, 8vw, 96px) 0; }
.af-section.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.af-section.sage { background: var(--sage); }
.af-head { margin-bottom: clamp(28px, 4vw, 44px); }
.af-head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: 12px; }
.af-head .af-lead { margin: 0; }
.af-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--soft); color: #6F3504; font-weight: 700; font-size: .95rem; border: 1px solid #E8C99A; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 4px 0 #B87413; transition: transform .12s ease, box-shadow .12s ease; }
.af-btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 0 #B87413; }
.af-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #B87413; }
/* Launch day: the official App Store badge goes inside <a class="af-badge"> (see CHANGES.md). */
.af-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.af-badge img { display: block; height: 56px; width: auto; }
.af-btn.quiet { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.af-btn.quiet:hover { background: rgba(34, 48, 59, .06); box-shadow: inset 0 0 0 2px var(--ink); transform: none; }
@media (prefers-reduced-motion: reduce) { .af-btn { transition: none; } }
.af-chip { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.af-shot { margin: 0; }
.af-shot img { display: block; width: 100%; border-radius: 20px; border: 1px solid var(--line); background: var(--sage); }
.af-shot figcaption { font-size: .92rem; color: var(--ink-2); margin-top: 10px; line-height: 1.45; }

/* ---------- hero ---------- */
.af-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--sage) 100%); }
.af-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.af-hero-icon { width: 104px; height: 104px; border-radius: 23px; display: block; margin-bottom: 22px; box-shadow: 0 1px 0 rgba(34, 48, 59, .12); }
.af-hero h1 { font-size: clamp(3.2rem, 2rem + 6vw, 6rem); line-height: .95; margin-bottom: 12px; }
.af-tag { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); color: var(--orange-text); margin: 0 0 18px; line-height: 1.15; }
.af-hero .af-lead { margin-bottom: 26px; }
.af-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.af-soon-note { color: var(--ink-2); font-size: .98rem; }
.af-made { font-size: .98rem; color: var(--ink-2); margin: 0; }
.af-phone { margin: 0 auto; width: min(100%, 300px); border: 7px solid var(--ink); border-radius: 46px; overflow: hidden; background: var(--sage); box-shadow: 0 24px 0 -12px rgba(34, 48, 59, .08); }
.af-phone img { display: block; width: 100%; }
.af-hero-art { position: relative; }
.af-hero-art::before { content: ""; position: absolute; inset: 6% -12% 2% -12%; border-radius: 48% 52% 46% 54% / 50% 46% 54% 50%; background: var(--sky); opacity: .75; z-index: 0; }
.af-hero-art .af-phone { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .af-hero-grid { grid-template-columns: 1fr; }
  .af-hero-art { order: 2; }
  .af-phone { width: min(78%, 280px); }
}

/* ---------- steps ---------- */
.af-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.af-step { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; position: relative; }
.af-step svg { width: 84px; height: 84px; display: block; margin-bottom: 14px; }
.af-step h3 { font-size: 1.55rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.af-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 800; font-size: 1.15rem; flex: none; }
.af-step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .af-steps { grid-template-columns: 1fr; } .af-step { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; } .af-step svg { grid-row: 1 / span 2; margin: 0; } }
@media (max-width: 480px) { .af-step { display: block; } .af-step svg { margin-bottom: 12px; } }

/* ---------- three pictures in a row ---------- */
.af-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.af-trio .af-shot img { aspect-ratio: 603 / 700; object-fit: cover; }
.af-fine { color: var(--ink-2); font-size: .98rem; margin: 22px 0 0; max-width: 70ch; }
@media (max-width: 760px) { .af-trio { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- aircraft ---------- */
.af-fleet { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.af-craft { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 20px; text-align: center; }
.af-craft img { width: 124px; height: 124px; display: block; margin: 0 auto 4px; }
.af-craft h3 { font-size: 1.45rem; margin-bottom: 4px; }
.af-craft p { margin: 0; font-size: .96rem; color: var(--ink-2); line-height: 1.45; }
.af-craft .lands { display: block; margin-top: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
@media (max-width: 1000px) { .af-fleet { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .af-fleet { grid-template-columns: repeat(2, 1fr); } .af-craft:last-child { grid-column: 1 / -1; } }
@media (max-width: 380px) { .af-fleet { grid-template-columns: 1fr; } }

/* ---------- wind and fuel ---------- */
.af-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.af-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.af-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.af-card p { color: var(--ink-2); }
.af-card .af-shot img { border-radius: 16px; background: var(--night); border-color: var(--night-2); }
.af-ring { width: 132px; height: 132px; display: block; margin-top: 18px; }
@media (max-width: 760px) { .af-pair { grid-template-columns: 1fr; } }

/* ---------- airfields ---------- */
.af-maps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.af-map { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.af-map img { display: block; width: 100%; aspect-ratio: 603 / 700; object-fit: cover; object-position: top; background: var(--sage); }
.af-map-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.af-map h3 { font-size: 2rem; }
.af-map .tagline { color: var(--ink-2); margin: 0 0 8px; }
.af-map .af-chips { margin-top: auto; }
@media (max-width: 900px) { .af-maps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- dawn to night ---------- */
.af-times { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: clamp(14px, 3vw, 28px); justify-content: center; list-style: none; }
.af-times .af-shot img { aspect-ratio: 660 / 1380; object-fit: cover; border-radius: 26px; border: 4px solid var(--ink); }
.af-times figcaption { text-align: center; font-weight: 600; }
@media (max-width: 560px) { .af-times { grid-template-columns: repeat(3, 1fr); gap: 10px; } .af-times .af-shot img { border-radius: 16px; border-width: 3px; } .af-times figcaption { font-size: .8rem; } }

/* ---------- Plus and ads (night) ---------- */
.af-night { background: var(--night); color: var(--night-text); }
.af-night h2, .af-night h3 { color: var(--night-text); }
.af-night a { color: var(--amber); }
.af-night a:hover { color: #fff; }
.af-offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.af-offer-card { background: var(--night-2); border: 1px solid #2A3A4A; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.af-offer-card.plus { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.af-offer-card h3 { font-size: 1.9rem; margin-bottom: 4px; }
.af-offer-card .sub { color: var(--amber); font-weight: 700; margin: 0 0 14px; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.af-ticks { list-style: none; display: grid; gap: 10px; }
.af-ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--night-text); }
.af-ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E1722' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
.af-ticks .later::before { background-color: transparent; border: 2px dashed var(--amber); background-image: none; }
.af-night .af-fine { color: var(--night-muted); }
@media (max-width: 760px) { .af-offer { grid-template-columns: 1fr; } }

/* ---------- good to know ---------- */
.af-know { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.af-know li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.af-know .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sage); display: grid; place-items: center; }
.af-know .ico svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.af-know h3 { font-size: 1.35rem; margin-bottom: 2px; }
.af-know p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .af-know { grid-template-columns: 1fr; } }

/* ---------- closing band ---------- */
.af-closing { background: var(--sage); text-align: center; padding: clamp(48px, 7vw, 80px) 0; }
.af-closing h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin-bottom: 10px; }
.af-closing .af-lead { margin: 0 auto 14px; }
.af-closing p.help { margin: 0; color: var(--ink-2); }

/* ---------- sub page hero (support, privacy) ---------- */
.af-page-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--sage) 100%); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4.5vw, 52px); border-bottom: 1px solid var(--line); }
.af-page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); margin-bottom: 12px; }
.af-page-hero p { max-width: 62ch; color: var(--ink-2); font-size: 1.12rem; margin: 0; }
.af-page-hero .updated { display: inline-block; margin-top: 16px; padding: 4px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); }
.af-page-body { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }

/* ---------- support ---------- */
.af-support-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.af-support-grid > * { min-width: 0; }
.af-contact { position: sticky; top: calc(var(--header-h) + 18px); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.af-contact h2 { font-size: 1.7rem; margin-bottom: 10px; }
.af-contact p { color: var(--ink-2); }
.af-contact .af-btn { width: 100%; flex-wrap: wrap; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; column-gap: 6px; row-gap: 0; margin: 4px 0 16px; }
.af-contact .af-btn span { overflow-wrap: anywhere; }
.af-contact ul { margin: 0 0 12px 1.1em; color: var(--ink-2); font-size: .98rem; }
.af-contact li { margin-bottom: 4px; }
.af-contact .small { font-size: .95rem; margin-bottom: 8px; }
@media (max-width: 900px) { .af-support-grid { grid-template-columns: 1fr; } .af-contact { position: static; } }

.af-faq-group { margin-bottom: 40px; }
.af-faq-group > h2 { font-size: 2rem; margin-bottom: 14px; }
details.af-faq { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
details.af-faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; line-height: 1.35; }
details.af-faq summary::-webkit-details-marker { display: none; }
details.af-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
details.af-faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.af-faq[open] summary { border-bottom: 1px solid var(--line); }
details.af-faq .answer { padding: 14px 20px 6px; color: var(--ink-2); }
details.af-faq .answer p:last-child { margin-bottom: 14px; }
details.af-faq .answer ul, details.af-faq .answer ol { margin: 0 0 1em 1.2em; }
details.af-faq .answer li { margin-bottom: 4px; }
details.af-faq .answer strong { color: var(--ink); }
details.af-faq:target { outline: 3px solid var(--orange); outline-offset: 2px; }
.af-faq-pics { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 16px; padding: 0; list-style: none; }
.af-faq-pics li { display: flex; align-items: center; gap: 10px; }
.af-faq-pics img { width: 56px; height: 54px; display: block; border-radius: 12px; background: var(--night); }
.af-faq-pics span { font-size: .95rem; max-width: 22ch; line-height: 1.35; }
.af-faq-shot { display: block; max-width: 300px; width: 100%; border-radius: 18px; border: 1px solid var(--line); margin: 4px 0 16px; }
.af-faq-hud { display: block; max-width: 456px; width: 100%; border-radius: 12px; margin: 4px 0 16px; background: var(--night); }
.af-more { margin-top: 12px; }
.af-more p { color: var(--ink-2); margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { details.af-faq summary::after { transition: none; } }

/* ---------- long text (privacy) ---------- */
.af-prose > * { max-width: 780px; }
.af-prose h2 { font-size: 2.1rem; margin: 2.2em 0 .5em; padding-top: .3em; }
.af-prose h3 { font-size: 1.45rem; margin: 1.6em 0 .4em; }
.af-prose ul, .af-prose ol { margin: 0 0 1em 1.3em; }
.af-prose li { margin-bottom: 6px; }
.af-prose h2:first-of-type { margin-top: 1.4em; }
.af-callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: 14px; padding: 18px 22px; margin-bottom: 28px; }
.af-callout p { margin: 0; }
ol.af-toc { list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; margin: 0 0 12px; }
ol.af-toc li { counter-increment: toc; break-inside: avoid; margin-bottom: 6px; }
ol.af-toc li::before { content: counter(toc) ". "; color: var(--ink-2); }
@media (max-width: 640px) { ol.af-toc { columns: 1; } }
.af-table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.af-table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.af-table-wrap th, .af-table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.af-table-wrap th { font-family: var(--display); font-weight: 800; font-size: 1.05rem; background: var(--sage); }
.af-table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- footer ---------- */
.af-footer { background: var(--night); color: var(--night-text); padding: clamp(40px, 6vw, 64px) 0 28px; }
.af-footer a { color: rgba(233, 240, 246, .8); text-decoration: none; }
.af-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.af-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1fr; gap: 32px; }
.af-footer-h { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff; margin: 0 0 12px; }
.af-footer ul { list-style: none; display: grid; gap: 8px; }
.af-footer .tag { margin: 12px 0 0; max-width: 32ch; color: var(--night-muted); font-size: .98rem; }
.af-footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.af-footer-brand img { height: 50px; width: auto; flex: none; }
.af-footer-brand .word { font-weight: 400; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.012em; color: #FFF8E8; white-space: nowrap; }
.af-footer-brand .word b { font-weight: 700; }
.af-footer .follow a { display: inline-flex; align-items: center; gap: 9px; }
.af-footer .follow svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.af-legal { border-top: 1px solid #243444; margin-top: 36px; padding-top: 20px; font-size: .88rem; color: var(--night-muted); }
.af-legal p { max-width: 80ch; margin: 0 0 6px; }
.af-footer a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .af-footer-grid { grid-template-columns: repeat(2, 1fr); } .af-footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .af-footer-brand .word { font-size: 1.25rem; } }
