:root {
  --background: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f4f4f8;
  --foreground: #201c3a;
  --ink: #201c3a;
  --muted: #6b6785;
  --border: #e7e5f2;
  --border-strong: #d2cee6;
  --accent: #4f46e5;
  --accent-hover: #3f37c9;
  --accent-fg: #ffffff;
  --accent-soft: #eeecfd;
  --accent-2: #f59e0b;
  --accent-2-soft: #fef3e0;
  --hero-from: #4f46e5;
  --hero-to: #2f2a94;
  --shadow-sm: 0 1px 2px rgba(32, 28, 58, 0.05);
  --shadow-card: 0 1px 2px rgba(32, 28, 58, 0.05), 0 8px 24px rgba(32, 28, 58, 0.07);
  --shadow-lift: 0 14px 34px rgba(79, 70, 229, 0.18);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #131029;
    --surface: #1a1636;
    --surface-muted: #201b40;
    --foreground: #eeecfb;
    --ink: #f4f2ff;
    --muted: #a49ecb;
    --border: #2e2856;
    --border-strong: #3d356e;
    --accent: #8b84ff;
    --accent-hover: #a29cff;
    --accent-fg: #131029;
    --accent-soft: #262052;
    --accent-2: #fbbf24;
    --accent-2-soft: #3a2c10;
    --hero-from: #2f2a94;
    --hero-to: #16123f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 18px 38px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- background ----------
   Gigsouk skips the dot-grid/glow treatment on purpose (that's revmrr's
   signature look) in favor of a solid canvas with one bold gradient banner
   behind the hero — see .hero below. */
.bg-grid,
.bg-glow {
  display: none;
}

/* ---------- layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
}

.section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

.site-nav a.btn {
  color: var(--accent-fg);
}

.site-nav a.btn:hover {
  color: var(--accent-fg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

/* ---------- hero ----------
   A full-bleed gradient banner with a rounded bottom edge, rather than
   revmrr's plain hero on a dotted background — this is Gigsouk's main
   visual signature. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 24px 96px;
  max-width: 100%;
  background: radial-gradient(120% 160% at 15% 0%, color-mix(in srgb, var(--hero-to) 55%, var(--hero-from)) 0%, var(--hero-from) 45%, var(--hero-to) 100%);
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero h1 {
  color: #ffffff;
}

h1 .accent {
  color: var(--accent);
}

.hero h1 .accent {
  color: var(--accent-2);
}

.subtitle {
  margin: 18px 0 0;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.hero-note {
  margin: 10px 0 0;
  max-width: 560px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero .hero-note {
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero .btn-primary {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero .btn-primary:hover {
  background: color-mix(in srgb, #ffffff 90%, var(--accent));
}

.hero .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero .btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-links a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
}

.hero-links a:hover {
  border-color: #ffffff;
}

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

/* ---------- scroll sections ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.heading-block {
  text-align: center;
  margin-bottom: 44px;
}

.heading-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lede {
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- features ---------- */
.features {
  padding: 72px 0;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}

.feature-card {
  padding: 26px 24px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  border-top-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.feature-card.reveal:nth-child(1) { transition-delay: 0s; }
.feature-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.24s; }

.feature-card:nth-child(even) {
  border-top-color: var(--accent-2);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  font-size: 1.15rem;
}

.feature-card:nth-child(even) .feature-icon {
  background: var(--accent-2-soft);
}

.feature-title {
  margin: 16px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.feature-body {
  margin: 7px 0 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- how it works ---------- */
.steps {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.steps-columns {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.steps-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.step-ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step-ol li {
  display: flex;
  gap: 14px;
}

.step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.step-body {
  margin: 4px 0 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- cta band ---------- */
.cta-band {
  padding: 64px 24px;
  background: var(--accent);
  text-align: center;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  margin: 8px 0 0;
  color: color-mix(in srgb, #ffffff 82%, transparent);
  font-size: 0.98rem;
}

.cta-band .hero-actions {
  margin-top: 28px;
  animation: none;
}

.cta-band .btn-primary {
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: color-mix(in srgb, #ffffff 92%, var(--accent));
}

.cta-band .btn-outline {
  background: transparent;
  border-color: color-mix(in srgb, #ffffff 55%, transparent);
  color: #ffffff;
}

.cta-band .btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: left;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.contact-card .contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-card .contact-value {
  margin: 9px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-card .contact-body {
  margin: 7px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 780px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.contact-info-card .contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-card .contact-value {
  margin: 8px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

a.contact-info-card .contact-value {
  transition: color 0.15s ease;
}

a.contact-info-card:hover .contact-value {
  color: var(--accent);
}

.contact-panel {
  padding: 8px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  text-decoration: none;
  color: inherit;
}

.contact-row + .contact-row {
  border-top: 1px solid var(--border);
}

.contact-row-text {
  max-width: 460px;
}

.contact-row .contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-row .contact-value {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-row .contact-body {
  margin: 7px 0 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-row .contact-cta {
  flex-shrink: 0;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  transition: gap 0.15s ease;
}

.contact-row:hover .contact-cta {
  gap: 10px;
}

/* ---------- pricing ---------- */
.pricing {
  padding: 72px 0 84px;
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.price-card.featured {
  border-color: transparent;
  background: linear-gradient(165deg, var(--hero-from) 0%, var(--hero-to) 100%);
  color: rgba(255, 255, 255, 0.9);
}

.price-card.featured .price-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.price-card.featured .price-ribbon {
  background: var(--accent-2);
  color: #201c3a;
}

.price-card.featured .price-name,
.price-card.featured .amount {
  color: #ffffff;
}

.price-card.featured .period,
.price-card.featured .price-desc {
  color: rgba(255, 255, 255, 0.78);
}

.price-card.featured .price-list {
  color: rgba(255, 255, 255, 0.92);
}

.price-card.featured .price-list li::before {
  background: var(--accent-2);
  color: #201c3a;
}

.price-card.featured .btn-primary {
  background: #ffffff;
  color: var(--hero-from);
}

.price-card.featured .btn-primary:hover {
  background: color-mix(in srgb, #ffffff 88%, var(--hero-from));
}

.price-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-subhead {
  text-align: center;
  margin: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-divider {
  max-width: 1040px;
  margin: 56px auto 40px;
  border: none;
  border-top: 1px solid var(--border);
}

.pricing-note {
  max-width: 800px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.price-name {
  margin: 16px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.price-value {
  margin: 12px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-value .amount {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
}

.price-value .period {
  font-size: 0.85rem;
  color: var(--muted);
}

.price-desc {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.price-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--foreground);
  flex: 1;
}

.price-list li {
  padding-left: 24px;
  position: relative;
}

.price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.55rem;
  font-weight: 700;
}

.price-card .btn {
  margin-top: 22px;
}

.rules-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 800px;
  margin: 32px auto 0;
}

.rule-card {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- legal &amp; FAQ hero band ----------
   Same gradient-banner language as the homepage hero, scaled down, so
   Terms/Privacy/Refund/FAQ read as part of the same product instead of a
   bolted-on generic legal template. */
.legal-hero {
  position: relative;
  padding: 56px 24px 44px;
  text-align: center;
  color: #ffffff;
  background: radial-gradient(120% 160% at 15% 0%, color-mix(in srgb, var(--hero-to) 55%, var(--hero-from)) 0%, var(--hero-from) 45%, var(--hero-to) 100%);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 0%, transparent 75%);
  pointer-events: none;
}

.legal-hero > * {
  position: relative;
}

.legal-eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.legal-hero h1 {
  margin-top: 14px;
  color: #ffffff;
}

.legal-updated {
  margin: 10px auto 0;
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.legal-intro {
  position: relative;
  z-index: 2;
  margin: -30px auto 0;
  max-width: 740px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-2);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal-intro strong {
  color: var(--ink);
}

/* ---------- legal layout: sticky sidebar + content ---------- */
.legal-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

.legal-sidebar {
  position: sticky;
  top: 96px;
}

.legal-toc {
  padding: 0;
}

.legal-toc p {
  margin: 0;
  padding: 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-toc-grid {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.86rem;
}

.legal-toc-grid a {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.legal-toc-grid a:hover {
  background: var(--surface-muted);
  color: var(--ink);
  border-left-color: var(--accent);
}

.legal-body {
  padding-bottom: 88px;
  min-width: 0;
}

.legal-body section {
  margin-top: 44px;
  scroll-margin-top: 96px;
}

.legal-body section:first-child {
  margin-top: 0;
}

.legal-body h2 {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink);
}

.legal-body section:nth-of-type(even) h2 {
  border-left-color: var(--accent-2);
}

.legal-body h3 {
  margin: 26px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.legal-body section > h3:first-of-type {
  margin-top: 18px;
}

.legal-body p {
  margin: 12px 0 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--muted);
}

.legal-body ul {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--muted);
}

.legal-body li + li {
  margin-top: 8px;
}

.legal-body strong {
  color: var(--ink);
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-callout {
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: none;
  border-left: 4px solid var(--accent-2);
  background: var(--accent-2-soft);
  color: var(--foreground);
}

.legal-callout p {
  margin: 6px 0 0;
  color: var(--foreground);
}

.legal-callout p:first-child {
  margin-top: 0;
}

.legal-body section.divider {
  border-top: 1px solid var(--border);
  padding-top: 34px;
}

/* ---------- faq ---------- */
.faq-body {
  padding: 48px 24px 88px;
}

.faq-category {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 3px solid var(--accent);
}

.faq-category:nth-child(even) {
  border-top-color: var(--accent-2);
}

.faq-category:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.faq-category-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-category:nth-child(even) .faq-category-heading {
  color: color-mix(in srgb, var(--accent-2) 70%, var(--ink));
}

.faq-category-desc {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item[open] {
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 52px 24px 36px;
  overflow: hidden;
  background:
    radial-gradient(60% 140% at 100% 0%, color-mix(in srgb, var(--accent-2-soft) 70%, transparent), transparent 70%),
    linear-gradient(180deg, var(--accent-soft) 0%, var(--surface-muted) 45%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-2)) 1;
}

footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  filter: blur(10px);
  pointer-events: none;
}

.footer-cols {
  position: relative;
  display: grid;
  gap: 36px 28px;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 24px;
  width: auto;
}

.footer-tagline {
  margin: 10px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-heading::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.footer-col:nth-child(3) .footer-heading::before {
  background: var(--accent-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.copyright {
  position: relative;
  margin: 36px auto 0;
  max-width: 1040px;
  padding-top: 22px;
  border-top: 1px solid var(--border-strong);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
