/* ABOUTME: Stylesheet for bytebrand.org: dark, fire-gradient brand look, responsive, motion-aware.
   ABOUTME: Only self-hosted fonts (Inter, SIL OFL), no frameworks; motion is disabled under prefers-reduced-motion. */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Press Start 2P";
  src: url("/static/fonts/PressStart2P-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0c10;
  --bg-2: #111318;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --fg: #f3f1ec;
  --muted: #a6a39b;
  --fire-1: #ff4b03;
  --fire-2: #ff9a1f;
  --fire-3: #fcff65;
  --grad: linear-gradient(100deg, var(--fire-1), var(--fire-2) 50%, var(--fire-3));
  --radius: 20px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--fire-1); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--fire-2); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 12, 16, 0.55); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(11, 12, 16, 0.82); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: var(--surface); }
.nav .nav-cta { color: var(--fg); border: 1px solid var(--border); }
.nav .lang-switch { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; border: 1px solid var(--border); }
@media (max-width: 760px) {
  .nav a:not(.nav-cta):not(.lang-switch) { display: none; }
  .brand img { width: 124px; }
}

/* Type */
/* text-wrap: balance spreads headings over even lines instead of leaving one orphaned word. */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
/* text-wrap: pretty avoids a single word alone on the last line of running text. */
p, li { text-wrap: pretty; }
h1 { font-size: clamp(38px, 7.4vw, 92px); font-weight: 800; letter-spacing: -0.035em; }
/* The hero headline scales with its own column so the longest word ("Alltagsprobleme.") always fits unbroken. */
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(30px, 10.2cqi, 88px); }
/* Minecraft-style splash line floating above the problem→tool card. It is anchored by its centre
   (translate -50%/-50%), so short and long lines sit at the same spot instead of shifting up or down. */
.hero-grid { position: relative; }
.splash {
  --tx: -50%; --ty: -50%;
  /* Centre of the right grid column: columns 1.15fr / 1fr with a 56px gap. */
  position: absolute; left: calc((100% - 56px) * .7674 + 56px); top: -170px; width: max-content; max-width: 30ch; z-index: 2;
  font: 400 clamp(14px, 1.35vw, 20px)/1.5 "Press Start 2P", var(--mono); color: #fffbd6; text-align: center;
  text-shadow: 0 0 14px rgba(255, 240, 120, .55), 3px 3px 0 #6b5a12; background: none; border: 0; padding: 0; cursor: pointer;
  transform: translate(var(--tx), var(--ty)) rotate(12deg); animation: splash-pulse .55s ease-in-out infinite alternate;
}
.splash:focus-visible { outline: 2px dashed #fff3a0; outline-offset: 6px; }
@keyframes splash-pulse { to { transform: translate(var(--tx), var(--ty)) rotate(12deg) scale(1.08); } }
@media (max-width: 960px) {
  section.hero { padding-top: 210px; align-items: flex-start; }
  .splash { --tx: 0; left: auto; right: 0; top: -50px; max-width: 64%; font-size: 12px; }
}
/* Stacked layout with room beside the headline: the splash sits in the gap right of the kicker. */
@media (min-width: 600px) and (max-width: 960px) {
  section.hero { padding-top: 170px; }
  .splash { right: 2%; top: 30px; max-width: 46%; font-size: 14px; }
}
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fire-2); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.narrow { max-width: 62ch; }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .line { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
}
.btn-primary { background: var(--grad) border-box; color: #1a0d00; box-shadow: 0 10px 30px -10px rgba(255, 110, 20, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 110, 20, .8); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { border-color: var(--border); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 300px 0 80px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 75% 30%, rgba(255, 75, 3, .30), transparent 70%),
    radial-gradient(35% 30% at 85% 70%, rgba(252, 255, 101, .14), transparent 70%),
    radial-gradient(45% 40% at 15% 80%, rgba(255, 140, 30, .12), transparent 70%);
  filter: blur(20px); animation: drift 22s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%); opacity: .35; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) rotate(0); } 100% { transform: translate3d(-4%, 3%, 0) rotate(6deg); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.morph { position: relative; padding: 28px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  transform-style: preserve-3d; transition: transform .25s ease-out; min-height: 340px; display: grid; gap: 14px; align-content: center; }
.morph-side { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); transition: opacity .3s, transform .3s, filter .3s; }
.morph-before { background: rgba(255,255,255,.03); }
.morph-before .morph-problem { color: var(--muted); font-size: 18px; margin: 6px 0 0; font-style: italic; }
.morph-after { background: linear-gradient(120deg, rgba(255,75,3,.16), rgba(252,255,101,.08)); border-color: rgba(255,154,31,.4); }
.morph-after .morph-tool { font-size: 21px; font-weight: 700; margin: 6px 0 0; }
.morph-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.morph-after .morph-label { color: var(--fire-2); }
.morph-arrow { justify-self: center; transform: rotate(90deg); transition: opacity .25s; }
.morph-arrow svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.morph-dots { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.morph-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background .3s, width .3s; }
.morph-dots .dot.on { width: 18px; border-radius: 4px; background: var(--fire-2); }
/* Staged reveal once JS runs: problem first, then the arrow, then the tool. Without JS all three are visible. */
.js .morph .morph-side { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.js .morph .morph-arrow { opacity: 0; }
.js .morph .morph-arrow svg { transform: translateX(-14px); }
.js .morph.show-problem .morph-before,
.js .morph.show-tool .morph-after { opacity: 1; transform: none; filter: none; }
.js .morph.show-arrow .morph-arrow { opacity: 1; }
.js .morph.show-arrow .morph-arrow svg { transform: none; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.card p { color: var(--muted); }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 140, 30, .13), transparent 60%); }
.spot:hover::before { opacity: 1; }

.steps-wrap { position: relative; margin-top: 76px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; z-index: 1; }
.step-no { display: inline-block; font-family: var(--mono); font-size: 14px; color: var(--fire-2); border: 1px solid rgba(255,154,31,.4); border-radius: 999px; padding: 3px 10px; margin-bottom: 18px; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop path { fill: none; stroke: var(--fire-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.loop-top { position: absolute; left: 0; right: 0; top: -58px; height: 58px; }
.loop-back { height: 130px; margin-top: -4px; }
.loop-note { text-align: center; margin: -86px auto 0; position: relative; max-width: 34ch; font-style: italic; font-size: 18px;
  color: var(--fg); transform: rotate(-1.2deg); }
/* Arrows draw themselves when scrolled into view; heads appear once the line has arrived. */
.js .loop.reveal { opacity: 1; transform: none; }
/* --len is each path's own length, measured by site.js; the head only fades in once the line has arrived. */
.js .loop .draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 1.4s cubic-bezier(.4,.1,.2,1) .2s; }
.js .loop .head { opacity: 0; transition: opacity .3s 1.5s; }
.js .loop.in .draw { stroke-dashoffset: 0; }
.js .loop.in .head { opacity: 1; }
.loop-side { display: none; }
@media (max-width: 860px) {
  /* Stacked steps: hand-drawn arrows drawn over the cards, down on the right, back up on the left. */
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps-wrap { margin-top: 40px; }
  .loop-top, .loop-back { display: none; }
  .loop-side { display: block; position: absolute; left: 2px; top: 26%; bottom: 24%; width: 30px; z-index: 3; pointer-events: none; }
  .step:has(+ .step)::after {
    content: ""; position: absolute; right: 16%; bottom: -66px; width: 28px; height: 100px; z-index: 3; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 100'%3E%3Cg fill='none' stroke='%23ff9a1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4 C17 18, 19 34, 13 52 C9 66, 16 80, 15 94'/%3E%3Cpath d='M7 84 Q11 89 15 96 Q19 89 24 85'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  }
  .step { overflow: visible; }
  .loop-note { margin-top: 24px; transform: none; }
}

.diagram { margin: 48px auto 40px; max-width: 900px; }
.diagram text { fill: var(--muted); font: 600 15px var(--font); }
.diagram .dg-cap { fill: var(--fg); font-size: 14px; letter-spacing: .04em; }
.dg-node rect:first-child { fill: rgba(255,255,255,.04); stroke: var(--border); stroke-width: 1.5; }
.dg-node circle { fill: rgba(255,255,255,.18); }
.dg-gate rect:first-child { stroke: rgba(255,154,31,.55); }
.dg-app { fill: rgba(255,154,31,.12); stroke: rgba(255,154,31,.5); stroke-width: 1.2; }
.dg-flow { fill: none; stroke-width: 3; stroke-dasharray: 6 10; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.tier-name { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fire-2); }
.tier-tag { font-size: 13px; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier li { color: var(--muted); padding-left: 26px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); }
.tier-1 { background: linear-gradient(160deg, rgba(255,75,3,.10), rgba(255,255,255,.03)); }
@media (max-width: 1020px) { .tiers { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.cmp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cmp li { padding-left: 30px; position: relative; color: var(--muted); }
.cmp-them h3 { color: var(--muted); }
.cmp-them li::before { content: "✕"; position: absolute; left: 0; color: #7d7a74; font-weight: 700; }
.cmp-us { border-color: rgba(255,154,31,.45); background: linear-gradient(160deg, rgba(255,75,3,.12), rgba(255,255,255,.03)); }
.cmp-us h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmp-us li { color: var(--fg); }
.cmp-us li::before { content: "✓"; position: absolute; left: 0; color: var(--fire-2); font-weight: 700; }
.apps-title { margin-top: 64px; font-size: 24px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.app h3 { font-size: 18px; }
.icon { display: inline-grid; place-items: center; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #1a0d00; margin-bottom: 16px;
  box-shadow: 0 10px 24px -12px rgba(255, 110, 20, .7); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.icon-badge svg { width: 28px; height: 28px; }
.icon-watermark { position: absolute; right: -18px; bottom: -22px; width: 130px; height: 130px; color: var(--fire-2);
  opacity: .07; pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.icon-watermark svg { width: 100%; height: 100%; }
.card:hover .icon-badge { transform: translateY(-3px) rotate(-4deg); }
.card:hover .icon-watermark { opacity: .13; transform: scale(1.06) rotate(-6deg); }
.app { min-height: 230px; }
.app-idea .icon-badge { background: transparent; color: var(--fire-2); border: 1.5px dashed rgba(255,154,31,.6); box-shadow: none; }
.app p { font-size: 15px; margin: 0; }
.app:last-child { border-style: dashed; }
@media (max-width: 1020px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .compare, .apps { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 21px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--fire-1) 0 8px, transparent 8px 18px); opacity: .8;
  animation: flowline 1.2s linear infinite; background-size: 18px 2px; }
@keyframes flowline { to { background-position: 18px 0; } }
.flow-step { position: relative; padding: 0 18px; }
.flow-no { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--mono); font-size: 14px; color: #1a0d00; background: var(--grad); box-shadow: 0 0 0 6px var(--bg-2); margin-bottom: 18px; }
.flow-step p { color: var(--muted); font-size: 15px; }
.flow-punch { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin: 36px 0 0; display: inline-block; }
.showcase + .showcase { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--border); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .flow::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--fire-1) 0 8px, transparent 8px 18px); background-size: 2px 18px; animation: none; }
  .flow-step { padding: 0 0 12px 64px; }
  .flow-no { position: absolute; left: 0; top: 0; }
}

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.case-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fire-2) !important; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,154,31,.1); border: 1px solid rgba(255,154,31,.3); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 40px 0 72px; }
.tool { padding: 24px; }
.tool h3 { font-size: 18px; }
.tool p { font-size: 15px; }
.more { margin: 32px 0 0; }
.tools + .more { margin: -40px 0 72px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); }
.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.also-item { border-top: 1px solid var(--border); padding-top: 18px; }
.also-item p { color: var(--muted); }
@media (max-width: 860px) { .also { grid-template-columns: 1fr; } }

.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; text-align: center; }
.principle h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 24px; }
.principle p { color: var(--muted); max-width: 32ch; margin-inline: auto; font-size: 15px; }
.principle h3 { font-size: 22px; }
@media (max-width: 1100px) { .principles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: radial-gradient(60% 60% at 80% 20%, rgba(255,75,3,.10), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.direct { margin-top: 32px; }
.direct p { margin: 0 0 6px; }
.direct a { text-decoration: none; border-bottom: 1px solid rgba(255,154,31,.5); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; font: 16px/1.5 var(--font); color: var(--fg); background: rgba(0,0,0,.25);
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--fire-2); box-shadow: 0 0 0 4px rgba(255,154,31,.15); }
.contact-form .invalid { border-color: #ff5a5a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.seal { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.seal-track { flex: 0 0 120px; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.seal-bar { height: 100%; width: 0; background: var(--grad); transition: width .3s; }
.seal.done .seal-text { color: var(--fire-3); }
.seal.idle { opacity: .55; }
.pow-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #9be38a; }
.form-status.err { color: #ff8a7a; }
.form-status a { color: inherit; }
.noscript p { color: var(--muted); }
.contact-form.sent { opacity: .5; pointer-events: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.footer-tag { display: flex; gap: 12px; align-items: center; }
.footer-tag p { margin: 0; max-width: 46ch; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--fg); }
.footer-copy { margin: 0; grid-column: 1 / -1; font-size: 13px; opacity: .7; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Legal */
.page-legal main { padding-top: 60px; }
.page-intro { padding-bottom: 0; }
.page-intro h1 { font-size: clamp(40px, 6vw, 72px); }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p { color: var(--muted); }

/* Reveal on scroll (only when JS marks the document ready) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .dg-flow, .flow::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .morph, .morph-side, .btn { transition: none; }
  .splash { animation: none; }
  .js .loop .draw { stroke-dashoffset: 0; transition: none; }
  .js .loop .head { opacity: 1; transition: none; }
}
