/* Dois sistemas de breakpoint:
   - Orientação (min-/max-aspect-ratio: 1/1): faixa livre do nó 3D, zona do hero e do rodapé.
     Tem que bater com o `camera.aspect <= 1` do módulo three (keys x keysMob).
   - Largura: tipografia e grids. 960 (links do menu), 860 (2 colunas → 1), 760 (celular), 560 (pequeno). */
:root {
  --bg: #0a0a0b;
  --surface: #121214;
  --line: rgba(255,255,255,.09);
  --text: #eeece7;
  --muted: #8f8d87;
  --accent: #e8875a;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --out: cubic-bezier(.215,.61,.355,1);     /* = anime 'out(3)' */
  --inout: cubic-bezier(.645,.045,.355,1);  /* = anime 'inOut(3)' */
  --wrap: min(1160px, 100% - 32px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; flex: none; width: 24px; height: 1px; background: var(--accent); transform-origin: left; transition: transform .6s var(--out); }
.motion .section-head:not(.seen) .eyebrow::before { transform: scaleX(0); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
h4 { font: 400 26px/1.1 var(--serif); letter-spacing: -.01em; }
em { font-style: italic; color: var(--accent); }
section { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }
.section-head h2 { font-size: clamp(38px, 5.5vw, 64px); }
.section-head h3 { font-size: clamp(32px, 4vw, 48px); }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.tags li { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* Faixa do nó: em paisagem o texto sobre fundo transparente fica numa coluna à esquerda; os ~40% da direita são do 3D. */
@media (min-aspect-ratio: 1/1) {
  .hero .hero-content { max-width: min(820px, 60vw); } /* .hero: vence o max-width: 820px da regra base, que vem depois */
  .section-head { max-width: min(720px, 60vw); }
  .col { max-width: min(680px, 60vw); }
  .work, .dots { max-width: min(760px, 60vw); }
}

/* botões e setas */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); transition: background .1s ease-out, color .1s ease-out, border-color .1s ease-out, box-shadow .2s ease-out; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 1px rgba(232,135,90,.35), 0 10px 36px -8px rgba(232,135,90,.6); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.arr { display: inline-block; transition: translate .125s ease-out; }
.btn:hover .arr, .link-arr:hover .arr, .footer-cta a:hover .arr { translate: 2px 0; }
a:hover .arr-ne { translate: 2px -2px; }
a:hover .arr-up { translate: 0 -2px; }
.chip { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn:disabled { opacity: .45; pointer-events: none; }

/* nav */
header { position: fixed; inset: 0 0 auto; z-index: 10; backdrop-filter: blur(14px); background: rgba(10,10,11,.7); border-bottom: 1px solid var(--line); }
header nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); font-size: 26px; }
.logo span { font-style: italic; color: var(--accent); }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
header nav .btn { padding: 10px 18px; font-size: 14px; }
/* menu compacto (sem JS): abaixo de 960px, no lugar dos links */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 12px 10px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary, .menu summary:hover { color: var(--text); }
.menu-links { position: absolute; inset: 100% 0 auto; display: grid; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.menu-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 28px/1.1 var(--serif); }
.menu-links a:hover, .menu-links a[aria-current] { color: var(--accent); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu { display: block; margin: 0 6px 0 auto; }
}
@media (max-width: 380px) { header nav .btn { padding: 10px 14px; font-size: 13px; } .logo { font-size: 23px; } }

/* trilho lateral: régua + navegação por seção (só quando a margem da .wrap comporta, >= 140px) */
.rail { display: none; }
@media (min-width: 1440px) and (min-aspect-ratio: 1/1) {
  .rail { display: block; position: fixed; left: 22px; top: 50%; translate: 0 -50%; height: min(56vh, 460px); z-index: 9; }
  .marquee { mask-image: linear-gradient(90deg, transparent 0 150px, #000 260px, #000 calc(100% - 260px), transparent calc(100% - 150px)); }
}
.rail::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rail-fill { position: absolute; left: 0; inset-block: 0; width: 1px; background: var(--accent); transform-origin: top; transform: scaleY(0); display: none; }
.motion .rail-fill { display: block; }
.rail ol { height: 100%; display: flex; flex-direction: column; justify-content: space-between; list-style: none; padding: 0; }
.rail a { position: relative; display: flex; align-items: center; gap: 8px; padding: 4px 0; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.rail a::before { content: ''; width: 8px; height: 1px; background: currentColor; }
.rail a:hover, .rail a[aria-current] { color: var(--accent); }
.rail a[aria-current]::before { width: 14px; }
.rail-l { position: absolute; left: 100%; margin-left: 10px; white-space: nowrap; text-transform: uppercase; opacity: 0; translate: -4px 0; transition: opacity .15s ease-out, translate .15s ease-out; pointer-events: none; }
.rail a:hover .rail-l, .rail a:focus-visible .rail-l { opacity: 1; translate: 0 0; }
@media (min-width: 1560px) { .rail a[aria-current] .rail-l { opacity: 1; translate: 0 0; } }

/* 3D de fundo */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity .8s var(--out); }
#gl.dim { opacity: .45; }
main { position: relative; z-index: 1; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; border: 0; overflow-x: clip; } /* clip: o mostrador girado nunca vaza na horizontal */
.hero-content { position: relative; display: grid; gap: 28px; max-width: 820px; }
.hero-content > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }
.hero-content > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; translate: 0 32px; } }
.intro:not(.nocdn) .hero-content > * { opacity: 0; }
.hero-anim .hero-content > * { animation: none; }
.hero h1 { font-size: clamp(48px, min(8.5vw, 13vh), 112px); }
@media (max-height: 780px) and (min-aspect-ratio: 1/1) { .hero { padding: 96px 0 48px; } .hero-content { gap: 20px; } }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; justify-self: start; gap: 10px; padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--text); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 2s var(--out) infinite; }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(232,135,90,.55); } to { box-shadow: 0 0 0 8px rgba(232,135,90,0); } }
/* mostrador: centro = centro do nó no hero (key fx .62 → 81%); largura = 56vh × fit do three */
.dial { position: absolute; left: 81%; top: 50vh; width: clamp(28vh, 35vw, 56vh); aspect-ratio: 1; translate: -50% -50%; overflow: visible; pointer-events: none; }
.dial path { fill: none; stroke: var(--accent); stroke-width: .6; opacity: .45; }
.dial path.maj { stroke-width: 1; opacity: 1; }
.dial .dial-arc { stroke-width: .5; opacity: .35; }
.dial .dial-comet { stroke: #ffc7a8; stroke-width: 1.6; opacity: 1; stroke-linecap: round; display: none; }
.motion .dial .dial-comet { display: inline; }
@media (max-aspect-ratio: 1/1) {
  .hero { align-items: start; padding-top: calc(39svh + 16px); }
  .dial { left: 50%; top: 25svh; }
}
@media (max-width: 760px) { .hero-content { gap: 22px; } }

/* letreiro */
.marquee { display: flex; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); position: relative; z-index: 1; background: var(--bg); } /* opaco: o nó passa por trás */
.marquee-track { flex: none; display: flex; list-style: none; padding: 0; animation: marquee 45s linear infinite; }
.marquee li { font: italic 400 clamp(26px, 3.2vw, 44px)/1 var(--serif); white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: '✦'; content: '✦' / ''; font-family: var(--mono); font-style: normal; color: var(--accent); font-size: .45em; margin-inline: 40px; }
@keyframes marquee { to { translate: -100% 0; } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee + section { border-top: 0; }

/* serviços */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: #202021; /* = --line sobre --bg, mas opaco: o nó não vaza pelas frestas */ border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.service { background: var(--bg); padding: 36px 30px; display: grid; gap: 14px; align-content: start; transition: background .3s; }
.service:hover { background: var(--surface); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.service .num { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.service h3 { font-size: 30px; }
.service p { color: var(--muted); font-size: 15px; }
.service ul { list-style: none; padding: 14px 0 0; margin-top: 6px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.service li { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.service li::before { content: '→'; content: '→' / ''; color: var(--accent); margin-right: 8px; }

/* trabalho */
.work { display: grid; grid-template-columns: 1fr; gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; }
.case-img { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.js .case-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--inout) .1s; }
.js .case.in .case-img { clip-path: inset(0); }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: scale .6s; }
.case:hover .case-img img { scale: 1.03; }
.case-body { padding: 28px 30px; display: grid; gap: 14px; }
.case-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.case h3 { font-size: 36px; }
.case .year { color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .12em; }
.case p { color: var(--muted); }
.case .link { color: var(--accent); font-weight: 600; font-size: 15px; }
.case:hover .link { text-decoration: underline; text-underline-offset: 4px; }
.case-next { border-style: dashed; place-content: center; text-align: center; padding: 48px 30px; gap: 18px; background: var(--bg); }
.case-next .eyebrow { justify-content: center; }
.case-next h3 { font-size: 40px; }
.case-next .btn { justify-self: center; }
.case-next > div { display: grid; gap: 12px; }
@media (min-width: 560px) {
  .case-next { grid-auto-flow: column; justify-content: space-between; align-items: center; text-align: left; padding: 28px 30px; }
  .case-next .eyebrow { justify-content: start; }
  .case-next h3 { font-size: 36px; }
}

/* sobre + trajetória (história fictícia) */
.manifesto { margin: clamp(56px, 8vw, 104px) 0; }
.manifesto-text { font: 400 clamp(32px, 4.2vw, 54px)/1.12 var(--serif); letter-spacing: -.01em; }
.sig { margin-top: 20px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.timeline-wrap { position: relative; }
.timeline { list-style: none; padding: 0; display: grid; gap: 44px; }
.timeline li { position: relative; padding-left: 40px; display: grid; gap: 6px; }
.t-line { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.t-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); display: none; }
.motion .t-fill { display: block; }
.t-dot { position: absolute; left: 0; top: 3px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); transition: background .3s var(--out), box-shadow .3s var(--out); }
.timeline li.on .t-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(232,135,90,.16); }
.t-next .t-dot { border-style: dashed; }
.t-year { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.timeline li > p:not(.t-year) { color: var(--muted); font-size: 15px; max-width: 56ch; }
.t-link { color: var(--accent); font-weight: 600; font-size: 14px; justify-self: start; }
.tools { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 16px; }

/* movimento: grade de pontos */
.dots:empty { display: none; } /* sem anime.js fica só o trecho de código */
.h-touch { display: none; }
@media (hover: none) { .h-mouse { display: none; } .h-touch { display: inline; } }
.dots { display: grid; grid-template-columns: repeat(var(--c), 1fr); margin: 8px 0 32px; touch-action: manipulation; cursor: crosshair; }
.dots i { aspect-ratio: 1; display: grid; place-items: center; color: rgba(255,255,255,.22); }
.dots i::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.play-bar { display: grid; gap: 14px; min-width: 0; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; }
.play-hint, .code-cap { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted); }
pre.code { margin: 0; max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font: 400 13px/1.65 var(--mono); color: #cfcac2; }
.code .f { color: var(--accent); }
.code .s { color: #f6d3b8; }
.code .n { color: #e9c29a; }
html:not(.motion) .modes, html:not(.motion) .play-hint { display: none; }

/* processo */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; list-style: none; padding: 0; }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 10px; align-content: start; }
.step-rule { position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--accent); transform-origin: left; display: none; }
.motion .step-rule { display: block; }
.step-num { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.steps h3 { font-size: 28px; }
.steps p { color: var(--muted); font-size: 15px; }

/* perguntas */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font: 400 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; content: '+' / ''; font: 400 20px/1 var(--mono); color: var(--accent); transition: rotate .25s var(--out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 62ch; }
@supports selector(::details-content) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--inout), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact .section-head { margin: 0; }
.channels { list-style: none; padding: 0; margin-top: 36px; display: grid; }
.channels li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.channels a:hover { color: var(--accent); }
form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
input, select, textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 15px; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); min-height: 1.4em; }

/* rodapé: tela final */
body > footer { position: relative; z-index: 1; min-height: 100svh; display: grid; align-content: end; padding: 0 0 28px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); overflow-x: clip; }
.footer-cta { font: 400 clamp(34px, 4.6vw, 60px)/1.05 var(--serif); color: var(--text); }
.footer-links { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.footer-links a:hover { color: var(--text); }
.wordmark { font: 400 clamp(64px, 17vw, 260px)/.85 var(--serif); letter-spacing: -.03em; color: var(--text); white-space: nowrap; margin: clamp(40px, 8vh, 96px) 0 24px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; text-align: left; }

/* reveal on scroll */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .7s var(--out), translate .7s var(--out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* manter por último */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > *, .intro .hero-content > * { animation: none; opacity: 1; }
  .badge-dot { animation: none; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .js .case-img { clip-path: none; transition: none; }
  .marquee-track { animation: none; flex: 1; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee-track[aria-hidden] { display: none; }
  #gl { transition: none; }
  .faq details::details-content { transition: none; }
}

/* Aviso de privacidade no formulário, banner de cookies e páginas legais */
.form-legal { font-size: 12px; color: var(--muted); }
.form-legal a, .footer-base a { text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:hover, .footer-base a:hover { color: var(--text); }
.cookie-banner { position: fixed; z-index: 30; inset: auto 16px 16px; max-width: 760px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px -10px rgba(0,0,0,.6); font-size: 14px; color: var(--muted); }
.cookie-banner p { flex: 1 1 300px; }
.cookie-banner a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner div { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }
.legal { position: relative; z-index: 1; padding: 140px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); margin: 18px 0 12px; text-wrap: balance; }
.legal .updated { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin: 44px 0 12px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 10px; display: grid; gap: 8px; }
.legal a:not(.btn) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { margin-top: 18px; }
body > footer.legal-footer { min-height: 0; padding-top: 28px; }
button.btn-ghost { background: none; color: var(--text); }
.legal ul + p { margin-top: 12px; }
