/* ===== VARIABLES =====
   Text is only black or white. One accent colour for bars, buttons and lines.
   One font (Poppins) and one text size everywhere. Spacing only with gap, no margins. */
:root {
  --accent: #000000;
  --tint: #F5F5F5;
  --white: #FFFFFF;
  --black: #000000;
  --line: rgba(0, 0, 0, .1);
  --line-on-dark: rgba(255, 255, 255, .15);

  --font: 'Poppins', system-ui, sans-serif;
  --fs: .9375rem;

  --wrap: 1240px;
  --marquee-h: 36px;
  --bar-h: 76px;
  --radius: 6px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: .3s;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + var(--marquee-h) + 1.5rem); }
body { font-family: var(--font); font-size: var(--fs); font-weight: 400; line-height: 1.7; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2)); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 300; padding: .5rem 1rem; background: var(--accent); color: var(--white); }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
main { display: flex; flex-direction: column; }

/* one link style: bold, line grows from the left on hover */
.ln, .prose a, .sec-head p a, .quick a, .warn a, .note a, .faq-a a, .card p a, .dtable a, .crumbs a, .msg a {
  font-weight: 600; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.ln:hover, .prose a:hover, .sec-head p a:hover, .quick a:hover, .warn a:hover, .note a:hover, .faq-a a:hover, .card p a:hover, .dtable a:hover, .crumbs a:hover, .msg a:hover { background-size: 100% 1.5px; }

/* ===== BUTTONS (one shape, one size) ===== */
.btn, .btn-line, .btn-light {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-size: var(--fs); font-weight: 500; line-height: 1.4; white-space: nowrap;
  border: 1px solid var(--accent); cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn { background: var(--accent); color: var(--white); }
.btn:hover { background: var(--white); border-color: var(--black); color: var(--black); }
.btn-line { background: transparent; color: var(--accent); }
.btn-line:hover { background: var(--accent); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }

/* ===================================================================
   HEADER
   =================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }
.marquee { height: var(--marquee-h); overflow: hidden; display: flex; align-items: center; background: var(--accent); color: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; }
.marquee-track span::after { content: '|'; padding-inline: 2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.bar { border-bottom: 1px solid var(--line); }
.bar-inner { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { flex: none; display: flex; align-items: center; gap: .8rem; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; line-height: 1; white-space: nowrap; }
.logo-text strong { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.01em; }
.logo-text small { display: flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .04em; }
.logo-text small::before { content: ''; width: 18px; height: 1.5px; background: var(--accent); }

.nav { flex: 1; align-self: stretch; display: flex; justify-content: flex-end; }
.nav ul { height: 100%; display: flex; align-items: stretch; }
.nav li { display: flex; }
.nav-link { position: relative; display: flex; align-items: center; padding: 0 1rem; font-weight: 500; }
.nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }

.toggle { display: none; position: relative; width: 44px; height: 44px; }
.toggle span { position: absolute; right: 0; width: 24px; height: 2px; border-radius: 2px; background: var(--black); transition: transform .4s var(--ease), opacity var(--t), top .4s var(--ease); }
.toggle span:nth-child(1) { top: 14px; }
.toggle span:nth-child(2) { top: 21px; }
.toggle span:nth-child(3) { top: 28px; }
body.menu-open .toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .toggle span:nth-child(2) { opacity: 0; }
body.menu-open .toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.m-menu { position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--bar-h) + var(--marquee-h)); overflow-y: auto; background: var(--white); display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 2rem; opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), visibility var(--t); }
body.menu-open .m-menu { opacity: 1; visibility: visible; }
.m-menu ul { display: flex; flex-direction: column; }
.m-menu li { border-bottom: 1px solid var(--line); }
.m-link { display: flex; padding: 1rem 0; font-weight: 500; }
.m-link.is-current { font-weight: 600; color: var(--accent); }
.m-menu .btn { width: 100%; padding-block: .9rem; }

/* ===================================================================
   SECTIONS
   =================================================================== */
.sec { padding-block: 5.5rem; }
.sec.is-tint { background: var(--tint); }
.sec > .wrap { display: flex; flex-direction: column; gap: 2.5rem; }
.sec-head { display: flex; flex-direction: column; gap: .5rem; }
.sec-head h2 { font-size: 1.75rem; font-weight: 600; line-height: 1.3; }
.sec-head p { font-size: 1.0625rem; }
.eyebrow { font-weight: 600; color: var(--accent); }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.quick, .warn { padding: 1.1rem 1.4rem; border-left: 3px solid var(--accent); background: var(--tint); border-radius: 0 var(--radius) var(--radius) 0; }
.quick strong, .warn strong { font-weight: 600; }
.is-tint .quick, .is-tint .warn { background: var(--white); }
.note { display: flex; flex-direction: column; gap: .6rem; }

/* base card */
.card { display: flex; flex-direction: column; gap: .8rem; padding: 1.9rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color var(--t); }
.card:hover { border-color: var(--accent); }
.card h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; }
.card.is-top { border-top: 4px solid var(--accent); }
.dash-title { display: flex; align-items: center; gap: .7rem; }
.dash-title::before { content: ''; flex: none; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }

/* grids */
.g2, .g3, .g4 { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.text-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.text-cols > div { display: flex; flex-direction: column; gap: 1rem; }
.text-cols strong { font-weight: 600; }

/* arrow link at the end of a card */
.more { position: relative; display: inline-block; align-self: flex-start; padding: 2px 2.6rem 2px 0; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; background-origin: content-box; transition: background-size .45s var(--ease); }
.more::after { content: ''; position: absolute; right: 0; top: calc(50% - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 12px no-repeat; transition: background-color var(--t); }
a:hover .more, a.more:hover { background-size: 100% 1.5px; }
a:hover .more::after, a.more:hover::after { background-color: var(--black); }

/* ===================================================================
   HOME: hero with the player
   =================================================================== */
.hero { background: var(--black); color: var(--white); }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; padding-block: 5rem; }
.hero-text { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: .7rem; font-weight: 500; }
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--white); }
.hero h1 { font-size: 3rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.hero-text > p { font-size: 1.125rem; }

.tool { display: flex; align-items: center; gap: .5rem; padding: .4rem; background: var(--white); border-radius: var(--radius); color: var(--black); }
.tool input { flex: 1; min-width: 0; padding: .7rem .8rem; border: 0; outline: 0; background: transparent; font-size: var(--fs); }
.tool input::placeholder { color: rgba(0, 0, 0, .5); }
.tool .btn-line { padding-inline: 1.1rem; }
.msg:empty { display: none; }
/* error popup */
.pop { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(0, 0, 0, .6); }
.pop.on { display: flex; }
body.pop-open { overflow: hidden; }
.pop-box { position: relative; width: min(460px, 100%); display: flex; flex-direction: column; gap: .7rem; padding: 2rem 1.75rem 1.75rem; background: var(--white); color: var(--black); border-top: 4px solid var(--black); border-radius: var(--radius); }
.pop-box h2 { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; padding-right: 2.5rem; }
.pop-row { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .6rem; }
@media (max-width: 600px) { .pop { align-items: flex-end; } .pop-box { padding: 1.75rem 1.25rem 1.5rem; } .pop-row > * { flex: 1 1 100%; } }
.msg-x { position: absolute; top: .85rem; right: .85rem; width: 30px; height: 30px; border-radius: 50%; background: #F5F5F5; transition: background var(--t); }
.msg-x::before, .msg-x::after { content: ''; position: absolute; left: 9px; right: 9px; top: calc(50% - .75px); height: 1.5px; background: var(--black); transform: rotate(45deg); }
.msg-x::after { transform: rotate(-45deg); }
.msg-x:hover { background: #E6E6E6; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.checks li { display: flex; align-items: center; gap: .6rem; }
.checks li::before { content: ''; width: 14px; height: 2px; background: var(--white); }

.screen { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line-on-dark); border-radius: var(--radius); overflow: hidden; background: #000; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #111; }
.stage video { width: 100%; height: 100%; background: #000; }
.stage .idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1rem; text-align: center; }
.pbtn { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); }
.pbtn svg { width: 28px; height: 28px; color: var(--black); }
.idle-text { display: flex; flex-direction: column; gap: .1rem; }
.idle-text b { font-weight: 600; }
.stage .load { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; background: rgba(0, 0, 0, .8); }
.stage.busy .load { display: flex; }
.pstep { font-weight: 600; }
.pbar { width: min(320px, 70%); height: 4px; border-radius: 4px; background: var(--line-on-dark); overflow: hidden; }
.pbar i { display: block; width: 0; height: 100%; background: var(--white); transition: width .3s linear; }
.spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line-on-dark); border-top-color: var(--white); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.meta-row { display: flex; flex-direction: column; gap: .1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line-on-dark); min-width: 0; }
.meta-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acts { display: none; flex-wrap: wrap; gap: .6rem; padding: 0 1.25rem 1.25rem; }
.acts.on { display: flex; }
.acts .btn-line { border-color: var(--line-on-dark); color: var(--white); }
.acts .btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* four numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.stats div { display: flex; flex-direction: column; gap: .3rem; padding: 1.75rem 1.6rem; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--accent); }

/* steps joined by a thin line */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps li > span { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 600; }
.steps li::after { content: ''; position: absolute; top: 3.5rem; left: calc(100% + 1px); width: calc(1.5rem - 2px); height: 2px; background: var(--accent); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1875rem; font-weight: 600; }

/* domains: one pill per domain */
.doms { display: flex; flex-wrap: wrap; gap: .75rem; }
.doms li { padding: .55rem 1.1rem; font-weight: 500; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* error cards: message on top, who can fix it in the bar below */
.errs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.err { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: border-color var(--t); }
.err:hover { border-color: var(--accent); }
.err-q { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem 1.5rem 1.25rem; }
.err-q h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
.err-a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.5rem; background: var(--tint); border-top: 1px solid var(--line); }
.err-a strong { font-weight: 600; color: var(--accent); }

/* data table */
.dtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); max-width: 100%; }
.dtable { width: 100%; min-width: 600px; border-collapse: collapse; font-size: var(--fs); }
.dtable th { padding: .9rem 1.1rem; background: var(--accent); color: var(--white); font-weight: 600; text-align: left; white-space: nowrap; }
.dtable td { padding: .9rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; }
.dtable tr:nth-child(even) td { background: #FAFAFA; }
.dtable td:first-child { font-weight: 500; }
.dtable td.y { font-weight: 600; }

/* guide cards */
.gcard { display: flex; flex-direction: column; gap: .8rem; padding: 1.9rem 1.75rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); background: var(--white); transition: border-color var(--t); }
.gcard:hover { border-color: var(--accent); }
.gcard h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; }
.gcard p { flex: 1; }

/* ===================================================================
   FAQ: heading on top, full width list, one open at a time
   =================================================================== */
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color var(--t); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 1.6rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; transition: color var(--t); }
.faq-item summary:hover h3, .faq-item[open] summary h3 { color: var(--accent); }
.pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--accent); transition: background var(--t), color var(--t); }
.pm::before, .pm::after { content: ''; position: absolute; left: 11px; right: 11px; top: calc(50% - .75px); height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm { background: var(--accent); color: var(--white); }
.faq-item[open] .pm::after { transform: rotate(0); }
.faq-a { display: flex; flex-direction: column; gap: .6rem; padding: 0 1.6rem 1.4rem; }

/* ===================================================================
   INNER PAGES: accent hero with breadcrumb, then text
   =================================================================== */
.page-hero { background: var(--accent); color: var(--white); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 1rem; padding-block: 2.5rem 3rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.crumbs li { display: flex; align-items: center; gap: .75rem; }
.crumbs li + li::before { content: ''; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.page-hero h1 { font-size: 2.25rem; font-weight: 600; line-height: 1.25; }
.page-hero .sub { font-size: 1.0625rem; }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; }
.byline b { font-weight: 600; }

.a-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; padding-block: 3rem 5rem; }
.a-main { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }
.toc { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); }
.toc h2 { font-size: 1.125rem; font-weight: 600; }
.toc ol { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc ol a { display: block; padding: .6rem 0; line-height: 1.5; transition: color var(--t); }
.toc ol a:hover { color: var(--accent); }

.prose { display: flex; flex-direction: column; gap: 2.5rem; overflow-wrap: anywhere; }
.prose section { display: flex; flex-direction: column; gap: .9rem; }
.prose section + section { padding-top: 2.5rem; border-top: 1px solid var(--line); }
.prose h2 { font-size: 1.375rem; font-weight: 600; line-height: 1.4; }
.prose h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; padding-top: .4rem; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: .5rem; padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent); }
.prose .dtable { min-width: 520px; }

.mini { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); }
.mini b { font-size: 1.0625rem; font-weight: 600; }
.mini form { display: flex; gap: .6rem; }
.mini input { flex: 1; min-width: 0; padding: .75rem 1rem; border: 1px solid rgba(0, 0, 0, .18); border-radius: var(--radius); outline: 0; transition: border-color var(--t); }
.mini input:focus { border-color: var(--accent); }

.page-body { display: flex; flex-direction: column; gap: 2.5rem; padding-block: 3rem 5rem; }

/* contact form */
.form { display: flex; flex-direction: column; gap: 1.25rem; padding: 2.25rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); }
.form label { display: flex; flex-direction: column; gap: .45rem; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; padding: .8rem 1rem; font-weight: 400; background: var(--white); border: 1px solid rgba(0, 0, 0, .18); border-radius: var(--radius); outline: 0; transition: border-color var(--t); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form .btn { align-self: flex-start; padding-inline: 2rem; }
.form .msg { font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* 404 */
.e404 { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.e404 h1 { font-size: 2.25rem; font-weight: 600; line-height: 1.25; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--accent); color: var(--white); }
.f-top { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block: 3rem 2.5rem; text-align: center; border-bottom: 1px solid var(--line-on-dark); }
.f-top .logo-text small::before { background: var(--white); }
.f-top p { max-width: 640px; }
.f-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.f-col { display: flex; flex-direction: column; gap: 1.1rem; padding: 2.5rem 1.75rem 2.5rem 0; }
.f-col + .f-col { padding-left: 1.75rem; border-left: 1px solid var(--line-on-dark); }
.f-col h4 { font-size: 1.125rem; font-weight: 600; }
.f-col ul { display: flex; flex-direction: column; gap: .6rem; }
.f-col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.f-col a:hover { background-size: 100% 1px; }
.f-note { padding-block: 1.5rem; text-align: center; border-top: 1px solid var(--line-on-dark); }
.f-bottom { background: var(--black); color: var(--white); border-top: 1px solid var(--line-on-dark); }
.f-bottom .wrap { padding-block: 1rem; text-align: center; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1180px) {
  .nav-link { padding: 0 .65rem; }
  .nav-link::after { left: .65rem; right: .65rem; }
}
@media (max-width: 1000px) {
  :root { --bar-h: 68px; }
  .nav, .bar-inner > .btn { display: none; }
  .toggle { display: block; }
  .sec { padding-block: 4rem; }
  .hero-in { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .g4, .errs { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .steps li::after { display: none; }
  .g3 { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .text-cols { grid-template-columns: 1fr; gap: 1rem; }
  .h-head { flex-direction: column; align-items: flex-start; }
  .a-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .toc { order: -1; }
  .f-grid { grid-template-columns: repeat(2, 1fr); }
  .f-col:nth-child(3) { padding-left: 0; border-left: 0; }
  .f-col:nth-child(n+3) { border-top: 1px solid var(--line-on-dark); }
}
@media (max-width: 600px) {
  :root { --bar-h: 64px; }
  .sec { padding-block: 2.75rem; }
  .sec > .wrap { gap: 1.5rem; }
  .sec-head h2 { font-size: 1.25rem; }
  .sec-head p, .hero-text > p { font-size: var(--fs); }
  .hero-in { padding-block: 2.5rem; gap: 2rem; }
  .hero h1 { font-size: 1.75rem; }
  .tool { flex-wrap: wrap; padding: .5rem; }
  .tool input { flex-basis: 100%; padding: .8rem .6rem; border-bottom: 1px solid var(--line); }
  .tool .btn, .tool .btn-line { flex: 1; }
  .acts .btn, .acts .btn-line { flex: 1 1 calc(50% - .3rem); }
  .pbtn { width: 56px; height: 56px; }
  .stats div { padding: 1.25rem 1rem; }
  .stats dt { font-size: 1.5rem; }
  .steps, .g2, .g3, .g4, .errs { grid-template-columns: 1fr; }
  .steps li, .card, .gcard { padding: 1.5rem 1.25rem; }
  .steps h3, .card h3, .gcard h3 { font-size: 1.0625rem; }
  .err-q { padding: 1.25rem; }
  .err-a { padding: .8rem 1.25rem; }
  .dtable { font-size: .875rem; }
  .dtable th, .dtable td { padding: .75rem .85rem; }
  .faq-item summary { padding: 1.1rem 1.15rem; gap: 1rem; }
  .faq-item summary h3 { font-size: var(--fs); }
  .faq-a { padding: 0 1.15rem 1.2rem; }
  .page-hero .wrap { padding-block: 2rem 2.25rem; }
  .page-hero h1, .e404 h1 { font-size: 1.5rem; }
  .page-hero .sub { font-size: var(--fs); }
  .a-layout, .page-body { padding-block: 2.25rem 3.5rem; }
  .prose, .a-main { gap: 2rem; }
  .prose section + section { padding-top: 2rem; }
  .prose h2 { font-size: 1.1875rem; }
  .mini { padding: 1.5rem 1.25rem; }
  .mini form { flex-direction: column; }
  .form { padding: 1.5rem 1.25rem; }
  .form .btn { align-self: stretch; }
  .crumbs ol { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
  .crumbs li { flex: 0 0 auto; }
  .crumbs li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .crumbs li:last-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .f-grid { grid-template-columns: 1fr; }
  .f-col, .f-col + .f-col { padding: 1.75rem 0; border-left: 0; }
  .f-col + .f-col { border-top: 1px solid var(--line-on-dark); }
  .f-top, .f-note, .f-bottom .wrap { text-align: left; }
  .f-top { align-items: flex-start; }
  .logo-text strong { font-size: 1.125rem; }
  .logo-text small { font-size: .6875rem; }
  .logo-mark { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* black and white only: buttons on black areas turn white */
.hero .acts .btn, .hero .tool .btn { background: var(--black); color: var(--white); border-color: var(--black); }
.hero .acts .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.hero .acts .btn:hover { background: transparent; color: var(--white); }
.hero .tool .btn:hover { background: var(--white); color: var(--black); border-color: var(--black); }
.hero .tool .btn-line { color: var(--black); border-color: rgba(0, 0, 0, .18); }
.hero .tool .btn-line:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.marquee, .page-hero, .site-footer { border-bottom: 1px solid var(--line-on-dark); }
.err-a strong, .stats dt, .eyebrow { color: var(--black); }
