/* Stablecorp holding page. Tokens mirror bizOS src/app/globals.css (Swiss theme). */

@font-face { font-family: "Cabinet Grotesk"; src: url("assets/fonts/CabinetGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("assets/fonts/CabinetGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("assets/fonts/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("assets/fonts/CabinetGrotesk-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/Satoshi-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --background: 45 6% 95%;
  --foreground: 30 5% 7%;
  --card: 0 0% 100%;
  --primary: 235 85% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 40 4% 91%;
  --muted: 40 4% 91%;
  --muted-foreground: 30 4% 40%;
  --border: 40 4% 89%;
  --ring: 235 85% 55%;
  --mk-orange: 24 95% 53%;
  --card-shadow: 0 30px 60px -30px rgba(16, 24, 64, 0.25);
  --font-heading: "Cabinet Grotesk", system-ui, sans-serif;
  --font-sans: "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --logo-invert: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: 30 5% 7%;
    --foreground: 40 6% 90%;
    --card: 30 5% 10%;
    --secondary: 30 5% 15%;
    --muted: 30 5% 15%;
    --muted-foreground: 30 5% 60%;
    --border: 30 5% 18%;
    --mk-orange: 24 95% 58%;
    --logo-invert: invert(1);
  }
}

*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.02em; font-weight: 500; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

.page { position: relative; min-height: 100vh; }

/* Layout */
.wrap { position: relative; margin: 0 auto; width: 100%; max-width: 1120px; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0; } .inner { padding-left: 24px; padding-right: 24px; } }

.guides { pointer-events: none; position: absolute; inset: 0; display: none; }
.guides > div { margin: 0 auto; display: grid; height: 100%; max-width: 1120px; grid-template-columns: repeat(4, 1fr); }
.guides span { border-left: 1px solid hsl(var(--border) / 0.5); }
.guides span:last-child { border-right: 1px solid hsl(var(--border) / 0.5); }
@media (min-width: 1024px) { .guides { display: block; } }

.section { position: relative; border-top: 1px solid hsl(var(--border)); padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }

/* Type */
.overline { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.muted { color: hsl(var(--muted-foreground)); }
.primary-text { color: hsl(var(--primary)); }
.lead { margin-top: 16px; font-size: 18px; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.tabular { font-variant-numeric: tabular-nums; }
.orange-dot { display: inline-block; width: 6px; height: 6px; background: hsl(var(--mk-orange)); flex-shrink: 0; }

.section-head { max-width: 768px; }
.section-head .kicker { display: flex; align-items: center; gap: 8px; }
.section-head .kicker .overline { color: hsl(var(--primary)); }
.section-head h2 { margin-top: 16px; font-size: 30px; line-height: 1.25; letter-spacing: -0.025em; }
@media (min-width: 640px) { .section-head h2 { font-size: 36px; } }

/* Buttons (shared Button: pill, uppercase Satoshi, decorated icon circle) */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; width: fit-content; flex-shrink: 0; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 10px 24px; border-radius: 9999px; border: 0;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer;
  transition: background-color 100ms ease-out, color 100ms ease-out, border-color 100ms ease-out, transform 100ms ease-out;
}
.btn:active { transform: translateY(1px); }
.btn > * { position: relative; z-index: 2; }
.btn.icon-right { padding-right: 6px; }
.btn.icon-left { padding-left: 6px; }
.btn .ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9999px; flex-shrink: 0; transition: transform 100ms ease-out; }
.btn .ic svg { width: 18px; height: 18px; }
.btn:hover .ic { transform: rotate(12deg); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }
.btn-primary .ic { background: rgb(255 255 255 / 0.2); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='1.5' cy='1.5' r='0.7' fill='%23fff' fill-opacity='0.10'/%3E%3C/svg%3E");
  background-size: 4px 4px; transition: opacity 100ms ease-out;
}
.btn-primary:hover::before { opacity: 0; }
.btn-secondary { border: 1px solid hsl(var(--foreground) / 0.5); background: transparent; color: hsl(var(--foreground)); }
.btn-secondary:hover { background: hsl(var(--muted)); }
.btn-secondary .ic { background: hsl(var(--muted)); }
.btn-sm { height: 36px; padding: 8px 16px; gap: 8px; font-size: 11px; }
.btn-sm.icon-right { padding-right: 6px; }
.btn-sm .ic { width: 24px; height: 24px; }
.btn-sm .ic svg { width: 14px; height: 14px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border: 1px solid rgb(255 255 255 / 0.5); background: transparent; color: #fff; }
.btn-icon:hover { background: rgb(255 255 255 / 0.1); }
.btn-icon svg { width: 20px; height: 20px; }

.icon-tile { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 0.625rem; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.icon-tile svg { width: 20px; height: 20px; }

/* Moved banner + header (sticky together) */
.top { position: sticky; top: 0; z-index: 50; }
.moved {
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--card-shadow);
}
.moved-inner {
  position: relative; margin: 0 auto; max-width: 1400px; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
@media (min-width: 768px) { .moved-inner { padding: 16px 48px; } }
@media (min-width: 1024px) { .moved-inner { padding: 16px 80px; } }
.moved-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: hsl(var(--mk-orange)); }
.moved-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.moved-copy .overline { color: hsl(var(--primary)); }
.moved-title { font-family: var(--font-heading); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
@media (min-width: 640px) { .moved-title { font-size: 24px; } }
.moved-sub { font-size: 14px; color: hsl(var(--muted-foreground)); }

.header { background: hsl(var(--background) / 0.95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: 16px 0; border-bottom: 1px solid hsl(var(--border) / 0.6); }
.header-inner { margin: 0 auto; max-width: 1400px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .header-inner { padding: 0 48px; } }
@media (min-width: 1024px) { .header-inner { padding: 0 80px; } }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo img { width: 24px; height: 24px; }
.logo span { font-family: var(--font-heading); font-size: 20px; letter-spacing: -0.025em; }
.logo b { font-weight: 500; color: hsl(var(--foreground)); }
.logo i { font-style: normal; font-weight: 400; color: hsl(var(--muted-foreground)); }
.nav { display: none; align-items: center; gap: 16px; padding: 0 24px; }
.nav a { font-size: 14px; white-space: nowrap; color: hsl(var(--muted-foreground)); transition: color 150ms ease-out; }
.nav a:hover { color: hsl(var(--foreground)); }
@media (min-width: 1024px) { .nav { display: flex; } }
@media (min-width: 1280px) { .nav { gap: 24px; } }

/* Hero */
.hero { position: relative; padding-top: 72px; }
@media (min-width: 768px) { .hero { padding-top: 96px; } }
.hero .inner { max-width: 768px; }
.backed { display: inline-flex; align-items: center; gap: 8px; color: hsl(var(--muted-foreground)); }
.backed img { height: 14px; width: auto; filter: var(--logo-invert); }
.hero h1 { margin-top: 24px; font-size: 48px; line-height: 1.05; letter-spacing: -0.025em; }
@media (min-width: 640px) { .hero h1 { font-size: 60px; } }
.hero h1 br { display: none; }
@media (min-width: 640px) { .hero h1 br { display: inline; } }
.hero .lead { margin-top: 20px; max-width: 672px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Dashboard ribbon */
.ribbon { position: relative; margin-top: 64px; padding-bottom: 80px; }
@media (min-width: 768px) { .ribbon { margin-top: 80px; padding-bottom: 96px; } }
.ribbon-bg { position: absolute; left: 0; right: 0; top: 18%; bottom: 0; background: hsl(var(--primary)); }
.ribbon-bg span { position: absolute; right: 0; top: 0; width: 80px; height: 80px; background: hsl(var(--mk-orange)); }
@media (min-width: 768px) { .ribbon-bg span { width: 128px; height: 128px; } }
.shot { position: relative; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: var(--card-shadow); }
.dither { position: relative; overflow: hidden; }
.dither::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='%23000' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-size: 4px 4px; transition: opacity 0.7s ease;
}
.dither:hover::after { opacity: 0; }
.dither img { width: 100%; height: auto; filter: grayscale(100%) contrast(1.2); transition: filter 0.7s ease; }
.dither:hover img { filter: grayscale(0%) contrast(1); }
.shot-steps { border-top: 1px solid hsl(var(--border)); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
@media (min-width: 768px) { .shot-steps { padding: 16px 24px; } }
.shot-steps .overline { display: flex; align-items: center; gap: 16px; letter-spacing: 0.15em; color: hsl(var(--muted-foreground)); }
.shot-steps .clock { margin-left: auto; color: hsl(var(--primary)); }

/* Payers */
.payers { position: relative; background: hsl(var(--muted)); padding: 48px 0; }
.payers .overline { text-align: center; color: hsl(var(--muted-foreground)); }
.payer-list { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px; }
@media (min-width: 768px) { .payer-list { column-gap: 56px; } }
.payer-list li { display: flex; align-items: center; gap: 8px; }
.payer-list img { width: auto; filter: grayscale(1) var(--logo-invert); opacity: 0.7; }
.payer-list .h6 { height: 24px; } .payer-list .h7 { height: 28px; } .payer-list .h8 { height: 32px; } .payer-list .h9 { height: 36px; }
.payer-label { font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: -0.025em; color: hsl(var(--foreground) / 0.7); }

/* Chooser */
.chooser { position: relative; padding: 96px 0; }
@media (min-width: 768px) { .chooser { padding: 112px 0; } }
.chooser-card { margin-top: 48px; display: grid; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: var(--card-shadow); }
@media (min-width: 1024px) { .chooser-card { grid-template-columns: 5fr 7fr; } }
.chooser-tabs { padding: 20px; border-bottom: 1px solid hsl(var(--border)); }
@media (min-width: 640px) { .chooser-tabs { padding: 32px; } }
@media (min-width: 1024px) { .chooser-tabs { border-bottom: 0; border-right: 1px solid hsl(var(--border)); } }
.tablist { margin-top: 16px; display: grid; gap: 12px; }
.tab {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; text-align: left; width: 100%;
  border: 1px solid hsl(var(--border)); background: transparent; cursor: pointer; transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.tab:hover { border-color: hsl(var(--foreground) / 0.3); }
.tab[aria-selected="true"] { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.05); }
.tab .bar { position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: transparent; }
.tab[aria-selected="true"] .bar { background: hsl(var(--mk-orange)); }
.tab .icon-tile { transition: background-color 150ms ease-out, color 150ms ease-out; }
.tab[aria-selected="true"] .icon-tile { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.tab-text { min-width: 0; }
.tab-text b { display: block; font-size: 16px; font-weight: 500; }
.tab-text b::first-letter { text-transform: uppercase; }
.tab-text small { display: block; font-size: 14px; color: hsl(var(--muted-foreground)); }
.panels { background: hsl(var(--muted) / 0.4); }
.panel { display: flex; height: 100%; flex-direction: column; gap: 28px; padding: 20px; }
.panel[hidden] { display: none; }
@media (min-width: 640px) { .panel { padding: 32px; } }
.panel h3 { font-size: 24px; letter-spacing: -0.025em; }
.panel h3 + p { margin-top: 8px; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.panel .overline { margin-bottom: 12px; color: hsl(var(--muted-foreground)); }
.panel .cta { margin-top: auto; }
.money { display: flex; align-items: stretch; }
.stop { flex: 1; min-width: 0; border: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 12px; }
.stop.mid { border-color: hsl(var(--primary)); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.stop .overline { display: block; margin: 0; opacity: 0.6; color: inherit; font-variant-numeric: tabular-nums; }
.stop b { margin-top: 4px; display: block; font-family: var(--font-heading); font-size: 14px; line-height: 1.25; font-weight: 500; }
@media (min-width: 640px) { .stop b { font-size: 16px; } }
.leg { position: relative; width: 20px; flex-shrink: 0; align-self: center; height: 1px; background: hsl(var(--border)); }
@media (min-width: 640px) { .leg { width: 32px; } }
.leg span { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; background: hsl(var(--mk-orange)); animation: packet 1.65s linear infinite; }
.leg + .stop + .leg span { animation-delay: 0.55s; }
@keyframes packet { 0% { left: 0%; } 66.6% { left: 100%; } 100% { left: 100%; } }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks svg { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; color: hsl(var(--primary)); }

/* Founder note */
.note-wrap { max-width: 672px; margin: 0 auto; }
.note {
  border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 36px 28px; transform: rotate(0.5deg);
  box-shadow: 0 1px 0 hsl(var(--border)), 0 12px 40px -24px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) { .note { padding: 48px; } }
.note-kicker { margin-bottom: 32px; font-family: var(--font-heading); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.note-body { display: grid; gap: 20px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
@media (min-width: 1024px) { .note-body { font-size: 17px; } }
.note-body strong { font-weight: 500; color: hsl(var(--foreground)); }
.note-body .fg { color: hsl(var(--foreground)); }
.faces { margin-top: 32px; display: flex; align-items: center; }
.faces img { width: 56px; height: 56px; border-radius: 9999px; object-fit: cover; border: 2px solid hsl(var(--card)); box-shadow: 0 0 0 1px hsl(var(--border)); }
.faces img + img { margin-left: -16px; }
.sig { margin-top: 24px; width: 176px; height: auto; color: hsl(var(--primary)); }
@media (min-width: 768px) { .sig { width: 192px; } }
.sig path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: sign 0.8s ease-out 0.3s forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.sig-name { margin-top: 12px; font-size: 14px; font-weight: 500; }
.sig-role { font-size: 14px; color: hsl(var(--muted-foreground)); }

/* Features */
.features { margin-top: 56px; display: grid; row-gap: 48px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } .features li { padding-right: 40px; } }
.features li { display: flex; gap: 16px; }
.features h3, .steps h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.features p { margin-top: 6px; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* Steps */
.steps { margin-top: 56px; display: grid; row-gap: 40px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } .steps li { padding-right: 24px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; }
.num { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 9999px; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.step-head { position: relative; margin-top: 20px; }
.step-head .rule { position: absolute; left: -16px; top: 0; height: 100%; width: 2px; background: hsl(var(--primary)); }
.steps li:last-child .rule { background: hsl(var(--mk-orange)); }
@media (min-width: 1024px) { .step-head .rule { left: -24px; } }
.step-head h3 { margin-top: 4px; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* Stories */
.story { position: relative; overflow: hidden; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--card-shadow); }
.story-corner { position: absolute; right: 0; top: 0; width: 64px; height: 64px; background: hsl(var(--mk-orange)); }
@media (min-width: 768px) { .story-corner { width: 96px; height: 96px; } }
.story-grid { display: grid; gap: 32px; padding: 32px; }
@media (min-width: 640px) { .story-grid { padding: 48px; } }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 8fr 4fr; } }
.quote { font-family: var(--font-heading); font-size: 24px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.375; min-height: 6em; }
@media (min-width: 640px) { .quote { font-size: 1.75rem; min-height: 4.5em; } }
.quote[hidden], .story-cap[hidden] { display: none; }
.story-cap { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.story-cap img { width: 40px; height: 40px; border-radius: 9999px; object-fit: cover; }
.story-cap b { font-weight: 500; }
.story-cap span span { color: rgb(255 255 255 / 0.7); }
.story-nav { display: flex; gap: 8px; align-self: end; }
@media (min-width: 1024px) { .story-nav { justify-self: end; } }
.dots { display: flex; gap: 6px; padding: 0 32px 32px; }
@media (min-width: 640px) { .dots { padding: 0 48px 32px; } }
.dots span { height: 2px; width: 24px; background: rgb(255 255 255 / 0.3); transition: background-color 150ms ease-out; }
.dots span.on { background: #fff; }
.stats { margin-top: 56px; display: grid; row-gap: 32px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats div { text-align: center; display: flex; flex-direction: column-reverse; }
.stats dd { font-family: var(--font-heading); font-size: 36px; font-weight: 500; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.stats dt { margin-top: 4px; font-size: 14px; color: hsl(var(--muted-foreground)); }

/* FAQ */
.faq { margin-top: 40px; max-width: 768px; }
.faq-list { border-bottom: 1px solid hsl(var(--border)); }
.faq details { border-top: 1px solid hsl(var(--border)); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex-shrink: 0; color: hsl(var(--primary)); }
.faq summary .minus { display: none; }
.faq details[open] summary .plus { display: none; }
.faq details[open] summary .minus { display: block; }
.faq details p { padding-bottom: 20px; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* Footer */
.footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 64px 0; position: relative; }
.footer-inner { margin: 0 auto; max-width: 1400px; padding: 0 16px; }
@media (min-width: 768px) { .footer-inner { padding: 0 48px; } }
@media (min-width: 1024px) { .footer-inner { padding: 0 80px; } }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer-top .logo { margin-bottom: 16px; }
.footer-tag { font-size: 14px; line-height: 1.625; max-width: 320px; color: hsl(var(--muted-foreground)); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); display: grid; gap: 8px; font-size: 14px; color: hsl(var(--muted-foreground) / 0.8); }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; transition: color 100ms ease-out; }
.footer-legal a:hover { color: hsl(var(--foreground)); }
.footer-legal .copy { color: hsl(var(--muted-foreground) / 0.6); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .leg span { display: none; }
  .sig path { stroke-dashoffset: 0; }
  .btn:active { transform: none; }
}
