:root {
  --ink: #0d1e50;
  --ink-rgb: 13, 30, 80;
  --muted: #5b6b9a;
  --muted-rgb: 91, 107, 154;
  --paper: #eef1fb;
  --paper-strong: #f6f9ff;
  --surface-rgb: 245, 248, 255;
  --on-accent: #f6f9ff;
  --teal: #1a3c8f;
  --teal-rgb: 26, 60, 143;
  --teal-ink: #0d1e50;
  --coral: #d41519;
  --coral-rgb: 212, 21, 25;
  --coral-deep: #bd3f2c;
  --gold: #f5c400;
  --gold-rgb: 245, 196, 0;
  --modal-tint-rgb: 220, 232, 255;
  --sky-rgb: 123, 168, 224;
  --bg-grad-1: #e8eeff;
  --bg-grad-2: #f0f4ff;
  --bg-grad-3: #dce8ff;
  --bg-glow-opacity-1: 0.42;
  --bg-glow-opacity-2: 0.55;
  --line: rgba(var(--ink-rgb), 0.15);
  --line-strong: rgba(var(--ink-rgb), 0.24);
  --shadow: 0 24px 70px rgba(var(--ink-rgb), 0.18);
  --shadow-soft: 0 16px 42px rgba(var(--ink-rgb), 0.1);
  --radius-xl: 36px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
}

:root[data-theme="dark"] {
  --ink: #e8ecfb;
  --ink-rgb: 232, 236, 251;
  --muted: #9fb0dd;
  --muted-rgb: 159, 176, 221;
  --paper: #0a0f24;
  --paper-strong: #141b3d;
  --surface-rgb: 20, 27, 61;
  --on-accent: #f6f9ff;
  --teal: #6d93e8;
  --teal-rgb: 109, 147, 232;
  --teal-ink: #cbdaff;
  --coral: #ff6b64;
  --coral-rgb: 255, 107, 100;
  --coral-deep: #c2453a;
  --gold: #ffd645;
  --gold-rgb: 255, 214, 69;
  --modal-tint-rgb: 32, 44, 92;
  --sky-rgb: 147, 184, 234;
  --bg-grad-1: #080c1c;
  --bg-grad-2: #0b1128;
  --bg-grad-3: #0a0f24;
  --bg-glow-opacity-1: 0.16;
  --bg-glow-opacity-2: 0.18;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 960px;
  scroll-behavior: smooth;
}

body {
  min-width: 960px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  background:
    radial-gradient(circle at 15% 4%, rgba(var(--gold-rgb), var(--bg-glow-opacity-1)), transparent 28rem),
    radial-gradient(circle at 86% 2%, rgba(var(--sky-rgb), var(--bg-glow-opacity-2)), transparent 25rem),
    linear-gradient(135deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 44%, var(--bg-grad-3) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(30deg, rgba(var(--ink-rgb), 0.14) 12%, transparent 12.5%, transparent 87%, rgba(var(--ink-rgb), 0.14) 87.5%),
    linear-gradient(150deg, rgba(var(--ink-rgb), 0.14) 12%, transparent 12.5%, transparent 87%, rgba(var(--ink-rgb), 0.14) 87.5%);
  background-size: 58px 100px;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--on-accent);
  border-radius: 999px;
  background: var(--teal);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-toolbar {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  width: min(75%, calc(100% - 32px));
  min-width: 540px;
  margin: 0 auto;
  padding: 6px 20px;
}

.toolbar-logo {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.toolbar-logo img {
  height: 100px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.toolbar-utility {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-nav {
  grid-column: 2;
  justify-self: end;
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.74);
  box-shadow: 0 14px 42px rgba(var(--ink-rgb), 0.1);
  backdrop-filter: blur(18px);
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  color: var(--teal-ink);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.tab-button:not(.is-active):hover {
  background: rgba(var(--teal-rgb), 0.08);
}

.tab-button.is-active {
  color: var(--on-accent);
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(var(--teal-rgb), 0.2);
}

.site-selector {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 11px;
  color: var(--teal-ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.74);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(var(--ink-rgb), 0.06);
}

.language-trigger-caret {
  font-size: 0.62rem;
  opacity: 0.58;
}

.site-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(var(--surface-rgb));
  box-shadow: var(--shadow-soft);
}

.site-dropdown button {
  width: 100%;
  padding: 9px 10px;
  color: var(--ink);
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.site-dropdown button:hover {
  background: rgba(var(--teal-rgb), 0.1);
}

.site-main {
  width: min(1240px, calc(100% - 48px));
  min-width: 912px;
  margin: 0 auto;
  padding-bottom: 64px;
  animation: page-rise 520ms ease-out both;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 38px;
  align-items: start;
  min-height: 590px;
  padding: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(var(--surface-rgb), 0.96), rgba(var(--surface-rgb), 0.76)),
    linear-gradient(135deg, rgba(var(--teal-rgb), 0.2), rgba(var(--coral-rgb), 0.12));
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  top: -240px;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 74px solid rgba(var(--gold-rgb), 0.13);
}

.hero::after {
  right: 44%;
  bottom: -180px;
  width: 300px;
  height: 300px;
  border: 42px solid rgba(var(--coral-rgb), 0.08);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual {
  display: grid;
  justify-items: end;
  gap: 24px;
}

.hero-screenshot {
  width: 58%;
}

.hero-screenshot {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 630px;
  font-size: clamp(4.6rem, 6.2vw, 6.9rem);
  line-height: 0.88;
}

h2 {
  font-size: clamp(2.65rem, 4vw, 4.4rem);
  line-height: 0.95;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  box-shadow: 0 16px 30px rgba(var(--coral-rgb), 0.28);
}

.button-primary.button-large {
  min-height: 58px;
  padding: 16px 30px;
  font-size: 1.1rem;
}

.button-secondary {
  color: var(--teal-ink);
  border: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.72);
  box-shadow: 0 10px 25px rgba(var(--ink-rgb), 0.08);
}

.hero-note {
  display: flex;
  gap: 18px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.hero-note span::before {
  margin-right: 6px;
  color: var(--teal);
  content: "✓";
  font-weight: 950;
}

.browser-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgb(var(--surface-rgb));
  box-shadow: 0 24px 54px rgba(var(--ink-rgb), 0.22);
  transform: rotate(1deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--ink-rgb), 0.05);
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--ink-rgb), 0.24);
}

.browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.hero-floating-card {
  position: absolute;
  right: -18px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(var(--surface-rgb), 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(var(--coral-rgb), 0.14);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.hero-floating-card strong,
.hero-floating-card span {
  display: block;
}

.hero-floating-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(var(--surface-rgb), 0.75);
  box-shadow: var(--shadow-soft);
}

.hero-stats {
  position: relative;
  z-index: 1;
}

.stat {
  padding: 15px 12px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--teal);
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 2rem;
}

.stat span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.content-section {
  padding: 94px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.guide-grid,
.tips-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.guide-card,
.tip-card,
.faq-card,
.article-card {
  border: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-card::after {
  position: absolute;
  right: -36px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  content: "";
  border: 24px solid rgba(var(--teal-rgb), 0.08);
  border-radius: 50%;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 36px;
  color: var(--on-accent);
  border-radius: 17px;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(var(--teal-rgb), 0.2);
  font-size: 1.25rem;
  font-weight: 950;
}

.feature-card p,
.guide-card p,
.tip-card p,
.faq-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: nuz-step;
}

.step-card {
  position: relative;
  min-height: 255px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(var(--surface-rgb), 0.94), rgba(var(--surface-rgb), 0.7)),
    rgba(var(--teal-rgb), 0.08);
  box-shadow: var(--shadow-soft);
  counter-increment: nuz-step;
}

.step-card::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: var(--on-accent);
  border-radius: 50%;
  background: var(--coral);
  content: counter(nuz-step);
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(var(--coral-rgb), 0.2);
}

.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.tutorial-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.screenshot-card {
  align-self: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgb(var(--surface-rgb));
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.guide-list {
  display: grid;
  gap: 14px;
}

.guide-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.guide-card:hover {
  border-color: rgba(var(--teal-rgb), 0.45);
  background: rgba(var(--surface-rgb), 0.95);
  transform: translateX(4px);
}

.guide-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal);
  border-radius: 14px;
  background: rgba(var(--teal-rgb), 0.11);
  font-weight: 950;
}

.guide-arrow {
  color: var(--coral);
  font-size: 1.25rem;
  font-weight: 950;
}

.guide-card p {
  font-size: 0.9rem;
}

.overlay-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(var(--ink-rgb), 0.92), rgba(var(--teal-rgb), 0.84)),
    rgb(var(--surface-rgb));
  box-shadow: var(--shadow);
}

.overlay-screen {
  align-self: start;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.08) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.08) 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.overlay-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 16px;
}

.overlay-copy {
  align-self: start;
  color: #f6f9ff;
}

.overlay-copy .eyebrow {
  color: #ffd645;
}

.overlay-copy h2 {
  color: #fff;
}

.overlay-copy p {
  color: rgba(246, 249, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 750;
}

.check-list li::before {
  color: #ffd645;
  content: "✓";
  font-weight: 950;
}

.motion-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.motion-copy,
.motion-stage {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow: var(--shadow-soft);
}

.motion-copy {
  min-height: 0;
  padding: 32px;
}

.motion-stage {
  min-height: 470px;
}

.motion-copy p {
  color: var(--muted);
}

.motion-stage {
  position: relative;
  display: block;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--gold-rgb), 0.19), transparent 38%),
    rgba(var(--surface-rgb), 0.84);
}

.hero-motion-stage {
  width: 100%;
  min-height: 0;
  padding: 14px;
}

.motion-stream-frame {
  display: block;
  width: 100%;
  height: 432px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(var(--ink-rgb), 0.08);
}

.hero-motion-stage .motion-stream-frame {
  height: 390px;
}

.motion-detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.motion-detail h3 {
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 2.1rem;
  letter-spacing: -0.035em;
}

.tips-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tip-card {
  min-height: 286px;
  padding: 26px 28px 34px;
  border-radius: var(--radius-lg);
}

.tip-label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 10px;
  color: var(--teal);
  border-radius: 999px;
  background: rgba(var(--teal-rgb), 0.1);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-card {
  padding: 27px;
  border-radius: var(--radius-md);
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  margin-top: 94px;
  padding: 52px;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(var(--teal-rgb), 0.96), rgba(var(--ink-rgb), 0.95)),
    var(--teal);
  box-shadow: var(--shadow);
}

.final-cta::after {
  position: absolute;
  right: -80px;
  bottom: -145px;
  width: 320px;
  height: 320px;
  content: "";
  border: 42px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.final-cta h2,
.final-cta p,
.final-cta .button {
  position: relative;
  z-index: 1;
}

.final-cta p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.article-hero {
  position: relative;
  padding: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(var(--surface-rgb), 0.96), rgba(var(--surface-rgb), 0.75)),
    linear-gradient(135deg, rgba(var(--teal-rgb), 0.18), rgba(var(--gold-rgb), 0.14));
  box-shadow: var(--shadow);
}

.article-hero h1 {
  max-width: 900px;
}

.article-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--teal);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.article-content {
  display: grid;
  gap: 20px;
}

.article-card {
  padding: 36px;
  border-radius: var(--radius-lg);
}

.article-card h2 {
  margin-bottom: 18px;
  font-size: 2.5rem;
}

.article-card h3 {
  margin-top: 26px;
}

.article-card p,
.article-card li {
  color: var(--muted);
}

.article-card li + li {
  margin-top: 10px;
}

.article-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 26px 0 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.article-aside {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
}

.toc,
.aside-cta {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(var(--surface-rgb), 0.8);
  box-shadow: var(--shadow-soft);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
}

.aside-cta p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-prose {
  max-width: 900px;
  margin: 28px auto 0;
}

.legal-prose .article-card + .article-card {
  margin-top: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 60px;
  width: min(1240px, calc(100% - 48px));
  min-width: 912px;
  margin: 0 auto;
  padding: 42px 20px 28px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 150px;
}

.footer-brand p {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer nav strong {
  margin-bottom: 5px;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--teal);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.analytics-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid rgba(var(--surface-rgb), 0.54);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 22% 10%, rgba(var(--gold-rgb), 0.28), transparent 24rem),
    linear-gradient(140deg, rgba(var(--surface-rgb), 0.98), rgba(var(--modal-tint-rgb), 0.96));
  box-shadow: var(--shadow);
}

.analytics-consent-banner[hidden] {
  display: none;
}

.analytics-consent-banner p {
  margin: 0;
  flex: 1 1 320px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.analytics-consent-banner a {
  color: var(--teal);
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(var(--coral-rgb), 0.13);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(var(--coral-rgb), 0.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
