/* OneStop Living — shared styles for / (EN) and /fr/ (FR). Dark, minimal, animated light. */
/* Fonts served from this site (no visitor data sent to Google). SIL Open Font License. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-var.woff2") format("woff2"); }
:root {
  --accent: #c9a46a;          /* warm gold */
  --bg: #0c0b0a;
  --surface: #151311;
  --ink: #efe9df;
  --muted: #a39b8f;
  --line: #2a2622;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header: 72px;
  --font-head: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-head); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
h3 { font: 600 1.05rem/1.35 var(--font-body); letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow {
  font: 500 0.75rem/1 var(--font-body);
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent);
}
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 56ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.6em; border-radius: var(--radius);
  font: 500 0.95rem/1 var(--font-body); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem/1 var(--font-body); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 600; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 0.92rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 220ms ease, color 160ms ease; }
.nav a:not(.btn):hover { color: var(--ink); background-size: 100% 1px; }
.nav .btn { padding: 0.7em 1.15em; font-size: 0.88rem; }

/* Sections */
section { padding-block: clamp(88px, 12vw, 152px); }
section + section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 720px; }

/* Animated light (pure CSS, transforms only) */
.hero-bg, .band-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero-bg::after, .band-bg::after {   /* fine film grain */
  content: ""; position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; border-radius: 50%; will-change: transform; }
.g1 { width: 70vmax; height: 70vmax; left: 15%; top: -40%;
  background: radial-gradient(closest-side, rgb(201 164 106 / 0.42), rgb(201 164 106 / 0.1) 55%, transparent);
  animation: float1 13s ease-in-out infinite alternate; }
.g2 { width: 55vmax; height: 55vmax; left: 55%; top: 25%;
  background: radial-gradient(closest-side, rgb(150 92 44 / 0.4), rgb(150 92 44 / 0.08) 55%, transparent);
  animation: float2 16s ease-in-out infinite alternate; }
.g3 { width: 50vmax; height: 50vmax; left: -10%; top: 40%;
  background: radial-gradient(closest-side, rgb(70 88 74 / 0.32), transparent 70%);
  animation: float3 19s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate3d(22vw, 16vh, 0) scale(1.25); } }
@keyframes float2 { to { transform: translate3d(-28vw, -20vh, 0) scale(0.85); } }
@keyframes float3 { to { transform: translate3d(30vw, -22vh, 0) scale(1.3); } }
.band-bg .g2 { left: 50%; top: -20%; }
.band-bg .g3 { left: -10%; top: 30%; }

/* Hero: perspective tunnel. The section is tall; its stage sticks while the cards fly toward the viewer. */
.hero { position: relative; padding: 0; height: 280vh; }
.stage {
  position: sticky; top: var(--header);
  height: calc(100svh - var(--header)); overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
}
.dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(rgb(201 164 106 / 0.22) 1px, transparent 1px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}
.ring { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.ring.r1 { width: 48vmin; height: 48vmin; border: 1px solid rgb(201 164 106 / 0.16); }
.ring.r2 { width: 76vmin; height: 76vmin; border: 1px dashed rgb(255 255 255 / 0.08); }
.tunnel { position: absolute; inset: 0; z-index: 1; pointer-events: none; transform-style: preserve-3d; perspective: 1200px; }  /* depth lives here, so the words always stay on top */
.tcard {
  position: absolute; left: 50%; top: 50%; width: var(--w, 220px); aspect-ratio: 4 / 5;
  opacity: 0; will-change: transform, opacity;
  border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(201 164 106 / 0.28), transparent 60%),
    linear-gradient(160deg, #1d1a16, #0f0e0c);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9), inset 0 0 0 1px rgb(255 255 255 / 0.1);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px;
}
.tcard i { font: italic 400 1.1rem/1 var(--font-head); color: var(--accent); }
.tcard b { font: 400 clamp(1.2rem, 1.9vw, 1.7rem)/1.1 var(--font-head); color: var(--ink); }
.tcard::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 58px; height: 1px; background: rgb(201 164 106 / 0.3); }
.hero-copy {
  position: relative; z-index: 2; text-align: center;
  display: grid; justify-items: center; gap: 22px; max-width: 760px;
  will-change: transform, opacity;
}
.hero-copy .lead { color: #d6cfc4; }
.hero-copy::before {   /* soft halo so passing cards never fight the words */
  content: ""; position: absolute; inset: -32% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(12 11 10 / 0.96), rgb(12 11 10 / 0.9) 55%, rgb(12 11 10 / 0.5) 78%, transparent);
}
.hero h1 span { font-style: italic; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 4px 0 0; padding: 0; list-style: none; color: #bdb5a9; font-size: 0.88rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.hint {
  position: absolute; bottom: 24px; z-index: 2; display: grid; justify-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hint::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); }

/* Lists without boxes: hairlines only */
.grid { display: grid; column-gap: clamp(24px, 4vw, 56px); row-gap: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { padding-top: 22px; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .num { font: italic 400 1.4rem/1 var(--font-head); color: var(--accent); }

/* Category list */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cats li { list-style: none; padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.cats strong { font: 400 1.6rem/1.15 var(--font-head); transition: transform 0.4s var(--ease-out), color 0.3s ease; }
.cats li:hover strong { transform: translateX(6px); color: var(--accent); }
.cats span { color: var(--muted); font-size: 0.92rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(24px, 3vw, 40px); row-gap: 48px; padding: 0; margin: 0; }
.steps li { list-style: none; counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font: italic 400 1.4rem/1 var(--font-head); color: var(--accent); }
.steps p { color: var(--muted); font-size: 0.96rem; }

/* Call to action (from 21st.dev "CTA 3"): framed panel, plus marks, rails, dashed centre line, soft glow */
.cta-section { padding-block: clamp(80px, 11vw, 140px); }
.cta {
  position: relative; isolation: isolate; max-width: 880px; margin-inline: auto;
  border-block: 1px solid var(--line);
  padding: clamp(48px, 7vw, 84px) clamp(20px, 4vw, 48px);
  display: grid; justify-items: center; gap: 32px; text-align: center;
  background: radial-gradient(35% 80% at 25% 0%, rgb(201 164 106 / 0.14), transparent);
}
.cta-text { display: grid; gap: 14px; justify-items: center; }
.cta .rail { position: absolute; top: -24px; bottom: -24px; width: 1px; background: var(--line); }
.cta .rail.l { left: 0; } .cta .rail.r { right: 0; }
.cta .mid { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; border-left: 1px dashed var(--line); }
.plus { position: absolute; z-index: 1; width: 24px; height: 24px; color: var(--muted); transition: transform 0.6s var(--ease-out), color 0.3s ease; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 11.5px; top: 0; width: 1px; height: 24px; }
.plus::after { top: 11.5px; left: 0; height: 1px; width: 24px; }
.plus.tl { top: -12.5px; left: -11.5px; } .plus.tr { top: -12.5px; right: -11.5px; }
.plus.bl { bottom: -12.5px; left: -11.5px; } .plus.br { bottom: -12.5px; right: -11.5px; }
.cta:hover .plus { transform: rotate(90deg); color: var(--accent); }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Business-themed decoration for the plain sections: soft glow + faint floating line icons */
.has-deco { position: relative; isolation: isolate; overflow: hidden; }
.deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.deco .glow { left: 60%; top: -30%; width: 60vmax; height: 60vmax; opacity: 0.8; }
#why .deco .glow { left: -25%; top: 20%; }
#partners .deco .glow { left: 50%; top: 10%; }
.deco { container-type: size; }   /* lets icons travel exactly the section height (cqh) */
.deco svg {
  position: absolute; left: var(--x); top: 100%; width: var(--s); height: var(--s);
  fill: none; stroke: var(--accent); stroke-width: 0.7; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; will-change: transform, opacity;
  animation: drift var(--t, 28s) linear infinite; animation-delay: var(--d, 0s);
}
/* products float up through the section, turning slowly, fading in and out */
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(var(--r)); opacity: 0; }
  12%  { opacity: 0.2; }
  50%  { transform: translate3d(28px, calc(-50cqh - 50%), 0) rotate(calc(var(--r) + 14deg)); }
  88%  { opacity: 0.2; }
  100% { transform: translate3d(0, calc(-100cqh - 100%), 0) rotate(calc(var(--r) + 28deg)); opacity: 0; }
}

/* Small category icons */
.ci, .route svg, .tcard svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ci { width: 24px; height: 24px; color: var(--accent); stroke-width: 1.4; margin-bottom: 8px; transition: transform 0.4s var(--ease-out); }
.cats li:hover .ci { transform: translateY(-2px) rotate(-6deg); }
.tcard svg { position: absolute; right: 16px; top: 16px; width: 34%; height: auto; aspect-ratio: 1; color: var(--accent); stroke-width: 1; opacity: 0.55; }

/* Route: brand → prep centre → Amazon → customer, with a parcel travelling the line */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(48px, 6vw, 72px); }
.route .track {
  position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px;
  background: repeating-linear-gradient(90deg, rgb(201 164 106 / 0.55) 0 6px, transparent 6px 12px);
  animation: dash 1.1s linear infinite;
}
@keyframes dash { to { background-position: 12px 0; } }
.parcel {
  position: absolute; top: 0; left: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--bg);
  box-shadow: 0 0 0 6px rgb(201 164 106 / 0.15), 0 0 24px rgb(201 164 106 / 0.5);
  animation: travel 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.parcel svg { width: 16px; height: 16px; stroke-width: 1.8; }
@keyframes travel {
  0% { left: 0; opacity: 0; } 6% { opacity: 1; }
  30% { left: 33.33%; } 36% { left: 33.33%; }
  60% { left: 66.66%; } 66% { left: 66.66%; }
  94% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; }
}
.stop { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.node {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid rgb(201 164 106 / 0.35); color: var(--accent);
}
.node svg { width: 24px; height: 24px; stroke-width: 1.4; }

/* Two-column checklist */
.split { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); row-gap: 48px; }
.check { margin: 8px 0 0; padding: 0; display: grid; }
.check li { list-style: none; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

/* Contact: animated light band, words in a glass panel */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 12vw, 160px); }
.contact .panel {
  background: rgb(21 19 17 / 0.6); border: 1px solid rgb(255 255 255 / 0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius); max-width: 640px; padding: clamp(28px, 4vw, 52px);
}
.contact .section-head { margin-bottom: 32px; }
.contact-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-card { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-card span { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.contact-card strong {
  font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--font-head); word-break: break-word; justify-self: start;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms ease;
}
.contact-card:hover strong { background-size: 100% 1px; }
.contact .note { margin-top: 24px; color: var(--muted); font-size: 0.92rem; }

/* Footer + language switch */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 40px; font-size: 0.85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer .brand { color: var(--ink); }
.lang { display: inline-flex; gap: 4px; }
.lang a { padding: 6px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 500; color: var(--muted); transition: background-color 160ms ease, color 160ms ease; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }

/* Phone-only quick contact bar */
.m-bar { display: none; }
.m-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Entrance + reveal */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.9s var(--ease-out) both; animation-delay: calc(0.2s + var(--d, 0) * 0.09s); }
.hero-copy > :nth-child(2) { --d: 1; }
.hero-copy > :nth-child(3) { --d: 2; }
.hero-copy > :nth-child(4) { --d: 3; }
.hero-copy > :nth-child(5) { --d: 4; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.08s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .grid-3, .cats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .grid-3, .cats, .steps { grid-template-columns: 1fr; }
  .hero { height: 220vh; }
  .tunnel { perspective: 900px; }
  .actions { width: 100%; }
  .actions .btn { width: 100%; }
  .contact .panel { padding: 24px; }
  .deco svg { width: calc(var(--s) * 0.7); height: calc(var(--s) * 0.7); }
  .route { margin-inline: -8px; }
  .stop { font-size: 0.74rem; gap: 10px; }
  .node { width: 46px; height: 46px; }
  .route .track { top: 23px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .m-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .m-bar .btn { padding-block: 0.9em; }
  .m-bar .btn-ghost { background: var(--bg); }
  .stage { height: calc(100svh - var(--header) - 68px - env(safe-area-inset-bottom)); }  /* the hero ends above the Call/Email bar */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hint { display: none; }
  .btn, .nav a, .lang a { -webkit-tap-highlight-color: transparent; }
}
/* Short phones (iPhone SE, small Android): tighten the hero so it fits between the header and the Call/Email bar */
@media (max-width: 640px) and (max-height: 800px) {
  .hero-copy { gap: 14px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); }
  .hero-copy .lead { font-size: 0.95rem; line-height: 1.5; }
  .hero .actions { margin-top: 0; gap: 10px; }
  .hero .actions .btn { padding-block: 0.8em; }
  .facts { font-size: 0.8rem; }
}
@media (max-width: 640px) and (max-height: 680px) {
  .hero .eyebrow { display: none; }
  .hero-copy .lead { font-size: 0.9rem; }
}
@media (max-width: 640px) {
  .lang a { padding: 12px 16px; }   /* 44px tap targets */
}
.brand, .nav .btn { white-space: nowrap; }
@media (max-width: 360px) {   /* smallest phones: header stays on one line in French too */
  .brand { font-size: 0.95rem; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .nav .btn { padding: 0.65em 0.9em; font-size: 0.84rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero { height: auto; }
  .stage { position: relative; top: 0; min-height: calc(100svh - var(--header)); height: auto; padding-block: 64px; }
  .tunnel, .hint, .parcel { display: none; }
}

/* Policy pages + footer links */
.legal { padding-block: clamp(56px, 8vw, 104px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 40px; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 44px 0 12px; }
.legal p, .legal li { color: #d6cfc4; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; background: var(--surface); }
.legal .box p { margin: 4px 0; }
.legal .lawyer { color: var(--muted); font-size: 0.85rem; border-left: 2px solid var(--accent); padding-left: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
body:not(:has(.m-bar)) { padding-bottom: 0; }

/* 404 page */
.nf { min-height: 100svh; display: grid; place-content: center; gap: 22px; text-align: center; padding: 24px; }
