/* The welcome page and brand kit (/brand, and / for anyone not signed in). On top of brand.css, which owns
   the tokens and follows the visitor's light or dark setting; everything here is this page's own.

   It borrows the brand guidelines' own manner — an orange slab, Be Vietnam Pro set big and tight, a thin rule
   and a section number — so the page reads as the brand talking. The orange is the hero and the buttons that
   matter; the logos sit on the backgrounds they were made for, which is the only thing a preview has to get
   right. brand.css styles every <button> as the fleet's orange primary, so each control here restates what
   it looks like instead of inheriting it. */

@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-display: swap;
             src: url('/assets/be-vietnam-pro-400.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-display: swap;
             src: url('/assets/be-vietnam-pro-600.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 700; font-display: swap;
             src: url('/assets/be-vietnam-pro-700.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 800; font-display: swap;
             src: url('/assets/be-vietnam-pro-800.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ink: #14140f;                           /* the fleet never sets white text on the orange */
  --ink-soft: rgba(20, 20, 15, 0.74);
  --card: var(--bg-raised);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.25), 0 12px 32px -12px rgba(0, 0, 0, 0.45);
  --r: 18px;
}
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; --lift: 0 1px 2px rgba(20, 20, 30, 0.06), 0 14px 34px -14px rgba(20, 20, 30, 0.22); }
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.welcome { font-size: 15px; line-height: 1.55; overflow-x: hidden; }
.welcome h1, .welcome h2, .welcome h3, .welcome h4 { margin: 0; letter-spacing: -0.015em; }
.welcome p { margin: 0; }
.welcome a { color: inherit; }
.welcome img { max-width: 100%; }
.wrapx { width: min(1200px, 100%); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrapx { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
:where(.welcome a, .welcome button, .welcome select, .welcome input):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ── buttons: restated, because brand.css makes every button an orange slab ─────────── */
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--bg-input); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, transform 0.15s; filter: none;
}
.wbtn:hover { text-decoration: none; filter: none; }
.wbtn:active { transform: translateY(1px); }
.wbtn.p { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.wbtn.p:hover { background: #ff9d2e; border-color: #ff9d2e; }
.wbtn.line { background: transparent; border-color: var(--border-bright); color: var(--text); }
.wbtn.line:hover { border-color: var(--orange); }
.wbtn.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.wbtn.ink:hover { background: #000; }
.wbtn.ghostink { background: transparent; border-color: rgba(20, 20, 15, 0.45); color: var(--ink); }
.wbtn.ghostink:hover { border-color: var(--ink); background: rgba(20, 20, 15, 0.06); }
.wbtn.lock { background: transparent; border-color: var(--border-bright); color: var(--text-muted); font-weight: 600; }
.wbtn.lock:hover { border-color: var(--orange); color: var(--text); }
.wbtn.small { height: 34px; padding: 0 14px; font-size: 13px; }
.wbtn.big { height: 52px; padding: 0 24px; font-size: 15.5px; }
.wbtn .dls { font-weight: 500; opacity: 0.72; font-variant-numeric: tabular-nums; }
.wbtn.disabled { pointer-events: none; opacity: 0.45; }
.wlink {
  background: none; border: 0; padding: 0; margin: 0; color: var(--text-muted); font: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer; text-decoration: none; border-radius: 4px; filter: none; height: auto;
}
.wlink:hover { color: var(--text); filter: none; }

/* ── the bar ─────────────────────────────────────────────────────────────────────── */
.wbar {
  position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border);
}
.wbar .wrapx { display: flex; align-items: center; gap: 24px; }
.wlogo { display: inline-flex; flex: none; }
.wlogo img { height: 26px; width: auto; display: block; }
.wlogo .onlight { display: none; }
@media (prefers-color-scheme: light) { .wlogo .onlight { display: block; } .wlogo .ondark { display: none; } }
.wnav { display: flex; gap: 22px; margin: 0 auto; }
.wnav a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.wnav a:hover { color: var(--text); }
.wme { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.wme form { margin: 0; display: flex; }
.me { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; max-width: 180px; }
.me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me img { width: 24px; height: 24px; border-radius: 50%; flex: none; }
@media (max-width: 860px) { .wnav { display: none; } }
@media (max-width: 520px) { .wme .wlink[href="/"] { display: none; } .me { max-width: 110px; } }

/* ── the hero: the guidelines' cover ─────────────────────────────────────────────── */
.hero { position: relative; background: var(--orange); color: var(--ink); overflow: hidden; isolation: isolate; padding: 0; border-bottom: 0; }
.hero::before {                             /* the pattern page, faint, fading in from the right */
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); opacity: 0.1;
  -webkit-mask: url('/assets/hoiv-pattern.svg') 0 0 / 66px 66px repeat; mask: url('/assets/hoiv-pattern.svg') 0 0 / 66px 66px repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--orange) 34%, color-mix(in srgb, var(--orange) 55%, transparent) 62%, transparent 100%);
}
.heroin { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.kicker {
  display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 26px !important;
}
.kicker span { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.kicker::after { content: ''; flex: 0 1 120px; height: 1.5px; background: currentColor; opacity: 0.55; }
.hero h1 { font-size: clamp(46px, 8.4vw, 112px); font-weight: 800; line-height: 0.94; letter-spacing: -0.045em; max-width: 9ch; }
.hero .lead { margin-top: 26px; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.5; color: var(--ink-soft); max-width: 36ch; font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ctas .wbtn { height: 48px; padding: 0 22px; font-size: 15px; }
.heromark { display: grid; place-items: center; }
.heromark .mark {
  width: min(100%, 340px); aspect-ratio: 393.83 / 437.25; background: #fff;
  -webkit-mask: url('/assets/hoiv-mark.svg') center / contain no-repeat; mask: url('/assets/hoiv-mark.svg') center / contain no-repeat;
  filter: drop-shadow(0 18px 30px rgba(120, 50, 0, 0.35));
  animation: markin 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes markin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .heromark .mark { animation: none; } }
@media (max-width: 860px) {
  .heroin { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .heromark { position: absolute; right: -40px; top: 32px; width: 200px; opacity: 0.35; z-index: -1; }
  .hero::after { background: linear-gradient(90deg, var(--orange) 20%, color-mix(in srgb, var(--orange) 70%, transparent)); }
}

/* ── sections ────────────────────────────────────────────────────────────────────── */
.sect { padding: 96px 0; }
.sect + .sect { border-top: 1px solid var(--border); }
@media (max-width: 640px) { .sect { padding: 64px 0; } }
.shead { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; margin-bottom: 40px; }
.shead .num { font-size: 14px; font-weight: 800; color: var(--orange); padding-top: 12px; font-variant-numeric: tabular-nums; position: relative; }
.shead .num::after { content: ''; position: absolute; left: 30px; right: 14px; top: 22px; height: 1.5px; background: var(--orange); opacity: 0.6; }
.shead h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.shead .sub { margin-top: 12px; color: var(--text-muted); font-size: 16.5px; max-width: 62ch; }
@media (max-width: 640px) { .shead { grid-template-columns: 1fr; } .shead .num { padding-top: 0; } .shead .num::after { display: none; } }
.fine { font-size: 13.5px; color: var(--text-muted); }
.fine a { color: var(--orange); font-weight: 600; text-decoration: none; }
.fine a:hover { text-decoration: underline; }

/* ── 01 take our logo ────────────────────────────────────────────────────────────── */
.takes { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .takes { grid-template-columns: minmax(0, 1fr); } }
.take { position: relative; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; background: var(--card); box-shadow: var(--lift); }
.take h3 { position: absolute; left: 18px; top: 16px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a93; }
.stage { flex: 1; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 12px; padding: 54px 28px 24px; min-height: 250px; }
.stage.light { background: #fff; color: #16161a; }
.stage.dark { background: #141417; color: #f2f2f4; }
.stage + .stage { border-top: 1px solid var(--border); }
.stage img { align-self: center; width: min(420px, 82%); height: auto; }
.stage.iconstage img { width: auto; max-height: 190px; }
.take.tall .stage { min-height: 100%; }
.stage .meta { font-size: 12.5px; opacity: 0.6; font-variant-numeric: tabular-nums; }
.more { margin-top: 18px !important; }
/* Supported by / Powered by: the badge, what it means, and the rules for using it — in small, as asked */
.takes.badges { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 720px) { .takes.badges { grid-template-columns: minmax(0, 1fr); } }
.stage.badgestage img { width: min(300px, 70%); }
.stage .use { margin: 0; max-width: 34ch; text-align: center; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.rules { margin-top: 18px; display: grid; gap: 6px; max-width: 78ch; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.rules b { color: var(--text); font-weight: 700; }
.rules a { color: var(--orange); font-weight: 600; text-decoration: none; }
.rules a:hover { text-decoration: underline; }

/* ── 02 the kit ──────────────────────────────────────────────────────────────────── */
.kitgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 920px) { .kitgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .access .wbtn.big { white-space: normal; height: auto; min-height: 52px; padding-block: 12px; text-align: center; flex-wrap: wrap; } }
.access, .guide { border: 1px solid var(--border); border-radius: var(--r); background: var(--card); box-shadow: var(--lift); }
.access { padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.access h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.access > p { color: var(--text-muted); }
.access.in { border-color: color-mix(in srgb, var(--orange) 55%, var(--border)); background:
  radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 60%), var(--card); }
.access.in .wbtn.big { align-self: flex-start; margin-top: 6px; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--green); letter-spacing: 0.02em; }
.state .tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--green) 18%, transparent); font-size: 11px; }
.quick { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: grid; gap: 4px; }
.quick a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text);
}
.quick a::before { content: '↓'; color: var(--orange); font-weight: 800; }
.quick a span:first-of-type { margin-right: auto; }
.quick a:hover { background: var(--bg-input); }
.quick .qs { font-size: 12.5px; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.steps .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 15px; }
.steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.guide { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.guide .cover { display: block; background: var(--orange); border-bottom: 1px solid var(--border); }
.guide .cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.guide .cover:hover img { transform: scale(1.02); }
.gmeta { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gmeta h3 { font-size: 22px; font-weight: 800; }
.gfacts { font-size: 13px; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; }
.gmeta p:not(.gfacts):not(.locked) { color: var(--text-muted); font-size: 14px; }
.gmeta .wbtn { margin-top: 8px; }
.locked { margin-top: 6px !important; font-size: 13.5px; font-weight: 600; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.pages { list-style: none; margin: 22px 0 0; padding: 0 0 6px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pages li { display: flex; flex-direction: column; gap: 8px; }
.pages img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.pages span { font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 860px) {
  .pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .pages li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ── 03 the gallery ──────────────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 12px; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-bright); background: transparent; color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; filter: none;
}
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.chip span { color: var(--text-faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--orange); filter: none; }
.chip[aria-pressed='true'] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip[aria-pressed='true'] span { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.group { margin-top: 44px; }
.ghead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 16px; }
.ghead h3 { font-size: 21px; font-weight: 800; }
.ghead p { color: var(--text-muted); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 18px; }
.card {
  padding: 0;                               /* brand.css pads every .card for the fleet's forms */
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); display: flex; flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--lift); transform: translateY(-2px); }
.card.chosen { border-color: var(--orange); box-shadow: 0 0 0 1.5px var(--orange); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.tile { position: relative; height: 188px; display: grid; place-items: center; padding: 26px 30px; background: var(--tile, var(--bg-input)); border-bottom: 1px solid var(--border); }
.tile img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tile.own { background:                     /* artwork that brings its own background, on a quiet chequer */
  repeating-conic-gradient(color-mix(in srgb, var(--text) 5%, transparent) 0 25%, transparent 0 50%) 0 0 / 18px 18px, var(--bg-input); }
.tile.own img { border-radius: 14px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45); max-height: 136px; }
.tile.photo { padding: 0; background: #050507; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.cbody { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cbody h4 { font-size: 15.5px; font-weight: 700; }
.csub { font-size: 13px; color: var(--text-muted); margin-top: -6px !important; min-height: 2.9em; }
.fmts { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--bg-input); }
.fmts button {
  flex: 1 1 0; min-width: 0; height: 28px; padding: 0 4px; border: 0; border-radius: 7px; background: transparent; color: var(--text-muted);
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; cursor: pointer; filter: none;
}
.fmts button:hover { color: var(--text); filter: none; }
.fmts button[aria-checked='true'] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-bright); }
.crow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; margin-top: auto; }
.cbody > .wbtn { width: 100%; height: 40px; font-size: 13.5px; }
.px { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.px select {                                /* brand.css makes every select a full-width form field */
  width: auto; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-input); color: var(--text);
  font: inherit; font-size: 13px; padding: 0 6px; cursor: pointer;
}
.px.vec::before { content: 'Vector · any size'; }
.pick { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: 13px; color: var(--text-muted); cursor: pointer; user-select: none; white-space: nowrap; }
.pick input { width: 16px; height: 16px; accent-color: var(--orange); margin: 0; }
.pick:hover { color: var(--text); }

/* ── 04 colours and type ─────────────────────────────────────────────────────────── */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sw {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0 0 14px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: copy; overflow: hidden; filter: none; transition: transform 0.2s, box-shadow 0.2s;
}
.sw:hover { transform: translateY(-2px); box-shadow: var(--lift); filter: none; }
.swc { display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--c); border-bottom: 1px solid var(--border); margin-bottom: 11px; }
.sw b { padding: 0 14px; font-size: 15px; }
.sw code { padding: 0 14px; font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 720px) { .fonts { grid-template-columns: 1fr; } }
.font {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 20px 22px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--card); text-decoration: none; transition: border-color 0.15s;
}
.font:hover { border-color: var(--orange); }
.font .aa { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--orange); }
.font.second .aa { font-family: Roboto, 'Helvetica Neue', Arial, sans-serif; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.font b { display: block; font-size: 16px; }
.font span span { font-size: 13.5px; color: var(--text-muted); }
.font .go { color: var(--text-faint); font-size: 18px; }

/* ── the footer and the .zip bar ─────────────────────────────────────────────────── */
.wfoot { border-top: 1px solid var(--border); padding: 40px 0 120px; color: var(--text-muted); font-size: 13.5px; }
.wfoot .wrapx { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.fmark { display: flex; align-items: center; gap: 14px; }
.fmark img { width: 28px; height: auto; }
.fmark b { color: var(--text); }
.team a { color: var(--orange); font-weight: 600; text-decoration: none; }
.team a:hover { text-decoration: underline; }
.zipbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-raised) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.5);
  animation: barin 0.22s ease-out both;
}
@keyframes barin { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .zipbar { animation: none; } }
.zin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.zn { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.zf { display: flex; flex-wrap: wrap; gap: 4px 12px; border: 0; margin: 0; padding: 0; }
.zf label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; }
.zf input { accent-color: var(--orange); width: 15px; height: 15px; margin: 0; }
.zpx { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.zpx select { width: auto; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-input); color: var(--text); font: inherit; font-size: 13px; padding: 0 6px; }
.zin .wbtn { margin-left: auto; }
body.zipping .wfoot { padding-bottom: 160px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 40; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.zipping .toast { bottom: 96px; }

/* ── the policy page ─────────────────────────────────────────────────────────────── */
.hero.small .heroin { padding-top: 64px; padding-bottom: 72px; }
.hero.small h1 { font-size: clamp(38px, 6vw, 76px); max-width: 12ch; }
.hero.small .heromark .mark { width: min(100%, 240px); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: p; }
@media (max-width: 720px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principles li {
  counter-increment: p; position: relative; padding: 24px 24px 24px 72px; border: 1px solid var(--border); border-radius: var(--r); background: var(--card);
}
.principles li::before {
  content: counter(p); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--ink); font-weight: 800; font-size: 15px;
}
.principles h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px !important; }
.principles p { color: var(--text-muted); }
.badgeuse { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .badgeuse { grid-template-columns: minmax(0, 1fr); } }
.badgeuse li { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r); background: var(--card); }
.badgeuse b { font-size: 18px; font-weight: 800; }
.badgeuse span { color: var(--text-muted); }
.wfoot p:not(.team) a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
