/* ============ Stagify / Restager / Apstatyk — Design System ============ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--c-paper);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

:root {
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Ink palette (default) */
  --c-ink: #121315;
  --c-ink-2: #2a2c30;
  --c-ink-3: #52565c;
  --c-ink-4: #8a8e95;
  --c-line: #e6e3dc;
  --c-line-2: #d9d5cb;
  --c-paper: #f6f3ec;
  --c-paper-2: #eeeae0;
  --c-white: #ffffff;
  --c-accent: #1e3a2c;
  --c-accent-ink: #f4efe1;
  --c-highlight: #e8dcc5;
  --c-signal: #c4603a;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px;
  --container: 1240px;
  --page-pad: 32px;
  --shadow-sm: 0 1px 2px rgba(18,19,21,.04), 0 1px 3px rgba(18,19,21,.04);
  --shadow-md: 0 2px 8px rgba(18,19,21,.06), 0 8px 24px rgba(18,19,21,.06);
  --shadow-lg: 0 8px 24px rgba(18,19,21,.08), 0 24px 64px rgba(18,19,21,.10);
}

[data-palette="ocean"] {
  --c-accent: #1f3a5f;
  --c-highlight: #d9e6f2;
  --c-signal: #3a7bbf;
  --c-paper: #f4f5f7;
  --c-paper-2: #e9ebef;
}
[data-palette="sand"] {
  --c-accent: #1a1a1a;
  --c-highlight: #eadcc0;
  --c-signal: #c4603a;
  --c-paper: #faf6ee;
  --c-paper-2: #f0ead9;
  --c-line: #e3ddcd;
}
[data-palette="mono"] {
  --c-accent: #0a0a0a;
  --c-highlight: #f0f0ed;
  --c-signal: #0a0a0a;
  --c-paper: #ffffff;
  --c-paper-2: #f5f4f0;
  --c-line: #e8e6e1;
}

[data-theme="dark"] {
  --c-ink: #f4f2ec;
  --c-ink-2: #cfccc4;
  --c-ink-3: #8f8c84;
  --c-ink-4: #5d5a52;
  --c-line: #2a2a2e;
  --c-line-2: #3a3a3e;
  --c-paper: #0e0e10;
  --c-paper-2: #16161a;
  --c-white: #1b1b1e;
  --c-accent: #e8dcc5;
  --c-accent-ink: #121315;
  --c-highlight: #2a2a30;
}

[data-type="grotesque"] {
  --font-display: "Schibsted Grotesk", "Inter", sans-serif;
}
[data-type="editorial"] {
  --font-display: "Fraunces", serif;
}
[data-type="humanist"] {
  --font-display: "DM Sans", -apple-system, sans-serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
[data-type="rounded"] {
  --font-display: "Manrope", -apple-system, sans-serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}
[data-type="neutral"] {
  --font-display: "Geist", "Inter", -apple-system, sans-serif;
  --font-sans: "Geist", "Inter", -apple-system, sans-serif;
}

/* ============ Typography ============ */
.display {
  font-family: var(--font-display);
  font-weight: 420;
  letter-spacing: -0.022em;
  line-height: 0.98;
  color: var(--c-ink);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 100, "SOFT" 30;
  text-wrap: balance;
}
[data-type="grotesque"] .display { font-weight: 600; letter-spacing: -0.035em; }
[data-type="humanist"] .display { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
[data-type="rounded"] .display { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
[data-type="neutral"] .display { font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

.mono { font-family: var(--font-mono); }

.lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-ink-3);
  font-weight: 400;
  max-width: 58ch;
  text-wrap: pretty;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* ============ Layout ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
@media (max-width: 720px) { :root { --page-pad: 20px; } }

.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--big { padding: 120px 0; }
[data-density="compact"] .section { padding: 56px 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-ink); color: var(--c-paper); }
.btn--primary:hover { background: var(--c-ink-2); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-2); }
.btn--ghost:hover { background: var(--c-white); border-color: var(--c-ink-3); }
.btn--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--lg { padding: 16px 26px; font-size: 15.5px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--c-paper) 85%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--c-line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--c-ink-2); font-weight: 450; transition: color .2s; }
.nav__links a:hover { color: var(--c-ink); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__locale {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-ink-3);
  padding: 6px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: color .2s, border-color .2s, background .2s;
}
.nav__locale:hover { color: var(--c-ink); border-color: var(--c-ink-3); background: var(--c-paper-2); }
.nav__signin { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
.nav__signin:hover { background: var(--c-paper-2); border-color: var(--c-ink-3); }
@media (max-width: 820px) { .nav__links { display: none; } .nav__signin { display: none; } }

/* ============ Announce bar ============ */
.announce {
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 12.5px;
  overflow: hidden;
  border-bottom: 1px solid var(--c-ink);
}
.announce__track { display: flex; gap: 48px; padding: 10px 0; animation: slide 40s linear infinite; white-space: nowrap; }
.announce__track span { display: inline-flex; align-items: center; gap: 10px; }
.announce__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-highlight); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Hero ============ */
.hero { padding-top: 72px; padding-bottom: 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 48px; } }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--c-ink-2);
  background: var(--c-white);
  margin-bottom: 24px;
}
.hero__eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-signal);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-signal) 22%, transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.2); opacity: .6; } }

.hero__title {
  font-size: clamp(48px, 6.4vw, 88px);
}
.hero__title em { font-style: italic; color: var(--c-accent); font-weight: 380; }

.hero__lead { margin-top: 28px; }
.hero__ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero__meta {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.hero__meta__item { font-size: 13px; color: var(--c-ink-3); display: flex; gap: 8px; align-items: center; }
.hero__meta__item svg { color: var(--c-accent); }

/* ============ Compare widget ============ */
.compare {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-paper-2);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  user-select: none;
}
.compare__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare__img--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--c-white);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,.25);
  cursor: ew-resize;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  color: var(--c-ink);
}
.compare__label {
  position: absolute;
  top: 16px;
  padding: 5px 11px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: color-mix(in oklab, var(--c-ink) 80%, transparent);
  color: var(--c-paper);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: color-mix(in oklab, var(--c-accent) 85%, transparent); color: var(--c-accent-ink); }

/* ============ Trust row ============ */
.trust {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.trust__item { text-align: center; }
.trust__num { font-family: var(--font-display); font-size: 38px; line-height: 1; letter-spacing: -0.03em; color: var(--c-ink); }
.trust__lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-ink-3); margin-top: 8px; font-family: var(--font-mono); }
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* ============ Section heading ============ */
.sec-head { margin-bottom: 56px; max-width: 820px; }
.sec-head__eyebrow { margin-bottom: 16px; }
.sec-head__title { font-size: clamp(34px, 4.5vw, 60px); line-height: 1; }
.sec-head__lead { margin-top: 20px; font-size: 18px; color: var(--c-ink-3); max-width: 58ch; }

/* ============ Three step ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-3px); border-color: var(--c-line-2); box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  color: var(--c-paper-2);
  position: absolute;
  right: 20px;
  top: -10px;
  font-weight: 300;
  pointer-events: none;
}
.step__title { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; margin: 20px 0 8px; font-weight: 440; }
.step__body { color: var(--c-ink-3); font-size: 15px; line-height: 1.55; }
.step__ill { height: 200px; border-radius: var(--r-lg); overflow: hidden; position: relative; margin-bottom: 24px; background: var(--c-paper-2); }
.step__ill img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ============ Gallery (before/after grid) ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gcard {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gcard__pair { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 3/2; }
.gcard__half { position: relative; }
.gcard__half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(255,255,255,.9);
  border-radius: 4px;
  color: var(--c-ink);
}
.gcard__tag--after { background: var(--c-ink); color: var(--c-paper); }
.gcard__foot { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--c-line); }
.gcard__foot__l { font-weight: 500; font-size: 14.5px; }
.gcard__foot__r { font-family: var(--font-mono); font-size: 11px; color: var(--c-ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* ============ Styles showcase ============ */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.style-card {
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .3s ease;
}
.style-card:hover { transform: translateY(-3px); }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.style-card:hover img { transform: scale(1.06); }
.style-card__label {
  position: absolute;
  left: 12px; bottom: 12px; right: 12px;
  color: white;
  font-weight: 500;
  font-size: 14px;
  z-index: 2;
}
.style-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 45%);
  z-index: 1;
}
@media (max-width: 960px) { .styles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .styles-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ Features ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.feature {
  background: var(--c-white);
  padding: 36px 30px;
  transition: background .2s;
}
.feature:hover { background: var(--c-paper); }
.feature__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.feature__title { font-size: 18px; font-weight: 550; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature__body { color: var(--c-ink-3); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* ============ Pricing ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s ease, transform .3s ease;
}
.plan:hover { transform: translateY(-3px); border-color: var(--c-line-2); }
.plan--featured {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}
.plan--featured .plan__name, .plan--featured .plan__price, .plan--featured .plan__feat { color: var(--c-paper); }
.plan--featured .plan__per, .plan--featured .plan__tag { color: var(--c-ink-4); }

.plan__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__name { font-size: 15px; font-weight: 550; }
.plan__tag { font-size: 12px; color: var(--c-ink-3); margin-top: 2px; }
.plan__price { font-family: var(--font-display); font-size: 56px; font-weight: 380; letter-spacing: -0.03em; line-height: 1; margin-top: 28px; }
.plan__per { font-size: 13px; color: var(--c-ink-3); margin-top: 4px; }
.plan__feats { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan__feat { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.plan__feat svg { flex-shrink: 0; margin-top: 2px; color: var(--c-accent); }
.plan--featured .plan__feat svg { color: var(--c-highlight); }
.plan__cta { margin-top: auto; }
.plan__cta .btn { width: 100%; justify-content: center; }
@media (max-width: 980px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

/* ============ Logo strip ============ */
.logostrip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 0;
  opacity: .7;
  filter: grayscale(1);
}
.logostrip__logo { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--c-ink-3); letter-spacing: -0.02em; }
.logostrip__logo--mono { font-family: var(--font-mono); letter-spacing: -0.02em; font-size: 16px; font-weight: 500; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  width: 100%;
  text-align: left;
}
.faq__plus {
  width: 26px; height: 26px;
  position: relative;
  flex-shrink: 0;
}
.faq__plus::before, .faq__plus::after {
  content: '';
  position: absolute;
  background: var(--c-ink);
  top: 50%;
  left: 50%;
  transition: transform .3s ease;
}
.faq__plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a__inner { overflow: hidden; }
.faq__a p { padding: 0 0 24px; color: var(--c-ink-3); font-size: 16px; line-height: 1.6; max-width: 64ch; margin: 0; }

/* ============ Testimonial ============ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex; flex-direction: column;
}
.tcard__stars { display: flex; gap: 2px; color: var(--c-signal); margin-bottom: 16px; }
.tcard__quote { font-family: var(--font-display); font-size: 19px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 400; color: var(--c-ink); margin-bottom: 24px; flex: 1; }
.tcard__author { display: flex; align-items: center; gap: 12px; }
.tcard__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--c-paper-2); overflow: hidden; font-family: var(--font-display); display: flex; align-items: center; justify-content: center; font-weight: 500; color: var(--c-ink-2); flex-shrink: 0; }
.tcard__name { font-size: 14px; font-weight: 500; }
.tcard__role { font-size: 12px; color: var(--c-ink-3); }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

/* ============ CTA block ============ */
.cta-block {
  background: var(--c-ink);
  color: var(--c-paper);
  border-radius: var(--r-2xl);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block__title { font-family: var(--font-display); font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -0.025em; max-width: 20ch; margin: 0 auto; color: var(--c-paper); font-weight: 380; }
.cta-block__lead { color: var(--c-ink-4); margin: 20px auto 36px; max-width: 48ch; font-size: 17px; }
.cta-block .btn--primary { background: var(--c-paper); color: var(--c-ink); }
.cta-block .btn--primary:hover { background: var(--c-highlight); }
.cta-block__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in oklab, var(--c-accent) 50%, transparent), transparent 40%),
    radial-gradient(circle at 80% 80%, color-mix(in oklab, var(--c-signal) 30%, transparent), transparent 40%);
  opacity: .4;
  pointer-events: none;
}

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--c-line); padding: 72px 0 40px; margin-top: 96px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 56px; }
.footer__brand { max-width: 300px; }
.footer__brand__name { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer__brand__desc { color: var(--c-ink-3); font-size: 14px; line-height: 1.55; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-3); font-weight: 500; margin: 0 0 20px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--c-ink-2); transition: color .2s; }
.footer__col a:hover { color: var(--c-ink); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-ink-3); flex-wrap: wrap; gap: 16px; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ Tweaks panel ============ */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--c-white);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-lg);
  padding: 18px;
  width: 280px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 48px);
  overflow: auto;
}
.tweaks__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tweaks__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-ink-3); }
.tweaks__close { width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--c-ink-3); }
.tweaks__close:hover { background: var(--c-paper-2); color: var(--c-ink); }
.tweaks__row { margin-bottom: 14px; }
.tweaks__label { font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-ink-3); margin-bottom: 6px; display: block; }
.tweaks__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tweaks__opt { padding: 6px 10px; font-size: 12px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-white); color: var(--c-ink-2); cursor: pointer; transition: all .15s; }
.tweaks__opt:hover { border-color: var(--c-ink-3); }
.tweaks__opt.is-active { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.tweaks__swatch { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid var(--c-line); position: relative; }
.tweaks__swatch.is-active { border-color: var(--c-ink); }

/* ============ Misc ============ */
.divider { height: 1px; background: var(--c-line); }
.halo { position: absolute; pointer-events: none; }

/* tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-highlight);
  color: var(--c-ink);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
