/* SocialCobalt site.
   Layout: dark stage bands (hero, how it works, closing) alternate with light
   working bands. One video on top, its channels below, like the crystal.
   The dark bands stay dark in both themes; the light bands follow the theme. */
:root {
  --paper: #F5F7FB;
  --surface: #FFFFFF;
  --fg: #0B1220;
  --muted: #5B6472;
  --line: #D9E0EA;
  --accent: #0047AB;
  --accent-fg: #FFFFFF;
  --accent-soft: #E6EEFA;
  --time: #8A5A00;
  --time-bg: #FFF4D6;
  --shadow: 0 30px 60px -32px rgb(11 18 32 / 0.45);

  /* stage: always dark */
  --stage: #0B1220;
  --stage-2: #121B2D;
  --stage-fg: #F1F4F9;
  --stage-muted: #A6B0C0;
  --stage-line: #263042;
  --stage-accent: #6EA8FF;
  --aureolin: #FFC83D;

  --logo-mark: #0047AB;
  --logo-word: #0B1220;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.4vw, 4.25rem);

  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1220;
    --surface: #121B2D;
    --fg: #F1F4F9;
    --muted: #A6B0C0;
    --line: #263042;
    --accent: #6EA8FF;
    --accent-fg: #0B1220;
    --accent-soft: #16243D;
    --time: #FFC83D;
    --time-bg: #2A2410;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
    --logo-mark: #6EA8FF;
    --logo-word: #FFFFFF;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0B1220;
  --surface: #121B2D;
  --fg: #F1F4F9;
  --muted: #A6B0C0;
  --line: #263042;
  --accent: #6EA8FF;
  --accent-fg: #0B1220;
  --accent-soft: #16243D;
  --time: #FFC83D;
  --time-bg: #2A2410;
  --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
  --logo-mark: #6EA8FF;
  --logo-word: #FFFFFF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--font);
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.028em; text-wrap: balance; font-weight: 750; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; line-height: 1.3; font-weight: 700; }
p { margin: 0; max-width: 62ch; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.skip { position: absolute; left: 16px; top: -48px; background: var(--surface); color: var(--fg); padding: 8px 12px; z-index: 20; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: var(--step-1); color: var(--muted); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 650; font-size: var(--step-0); text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-ghost { color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.on-stage .btn-primary { background: var(--stage-accent); color: #0B1220; }
.on-stage .btn-ghost { color: var(--stage-fg); border-color: rgb(255 255 255 / 0.22); }
.on-stage .btn-ghost:hover { border-color: var(--stage-accent); }

/* Header (sits on the dark stage) */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--stage);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: rgb(11 18 32 / 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  --logo-mark: #6EA8FF; --logo-word: #FFFFFF;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand svg { display: block; width: auto; height: 22px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--stage-fg); text-decoration: none; font-weight: 550; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgb(255 255 255 / 0.07); }
.nav .btn { margin-left: 6px; min-height: 40px; padding: 0 16px; }
.nav .btn-primary { background: var(--stage-accent); color: #0B1220; }
.nav .btn-ghost { border-color: rgb(255 255 255 / 0.22); }

/* Stage bands */
.on-stage { background: var(--stage); color: var(--stage-fg); }
.on-stage .eyebrow { color: var(--stage-accent); }
.on-stage .lead, .on-stage .muted { color: var(--stage-muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 40%, rgb(0 71 171 / 0.45), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgb(110 168 255 / 0.12), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy h1 em { font-style: normal; color: var(--stage-accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: var(--step--1); color: var(--stage-muted); }
.chips { display: flex; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1);
  color: var(--stage-fg); font-weight: 550;
}
.chip img { width: 22px; height: 22px; border-radius: 6px; }

.hero-art { position: relative; min-width: 0; }
.hero-art .crystal {
  width: 112%; max-width: none; margin-left: -6%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 74% 50%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(55% 62% at 66% 48%, #000 45%, transparent 100%);
  mask-image: radial-gradient(55% 62% at 66% 48%, #000 45%, transparent 100%);
}

/* The queue card */
.queue {
  position: absolute; left: -8%; bottom: -10%; width: min(400px, 92%);
  background: rgb(18 27 45 / 0.92); backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px; padding: 16px; display: grid; gap: 12px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7);
  margin: 0;
}
.queue-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--stage-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.queue-video { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.queue-video img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.queue-video strong { display: block; font-size: var(--step--1); line-height: 1.35; }
.queue-video span { font-size: 12.5px; color: var(--stage-muted); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.slot {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 8px 10px; border-radius: 10px; background: rgb(255 255 255 / 0.05);
  font-size: var(--step--1);
}
.slot img { width: 24px; height: 24px; border-radius: 6px; }
.slot small { color: var(--stage-muted); }
.slot time { font: 600 12.5px/1 var(--mono); color: var(--aureolin); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Showcase: real panel screenshots in a browser frame */
.showcase { padding-block: clamp(64px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.tab {
  font: inherit; font-weight: 600; font-size: var(--step--1); cursor: pointer;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--fg);
}
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.frame {
  border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame-bar span {
  margin-left: 12px; flex: 1; max-width: 360px; padding: 4px 12px; border-radius: 6px;
  background: var(--paper); color: var(--muted); font: 500 12px/1.4 var(--mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.frame-caption { text-align: center; margin-top: 14px; font-size: var(--step--1); color: var(--muted); }

/* Generic light section */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section + .section:not(.on-stage) { border-top: 1px solid var(--line); }

/* Who it's for: image cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.photo-card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); min-width: 0;
}
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card > div { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.photo-card p { color: var(--muted); }

/* How it works: dark band with the light-beam image */
.how { position: relative; overflow: hidden; }
.how .beams {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  opacity: 0.55; pointer-events: none;
}
.how .wrap { position: relative; }
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: passo;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px);
}
.steps li {
  counter-increment: passo; display: grid; gap: 10px; align-content: start; min-width: 0;
  padding: 24px; border-radius: 16px;
  background: rgb(18 27 45 / 0.78); border: 1px solid rgb(255 255 255 / 0.09); backdrop-filter: blur(6px);
}
.steps li::before {
  content: counter(passo); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--stage-accent); color: #0B1220; font: 700 var(--step-0)/1 var(--mono); margin-bottom: 6px;
}
.steps p { color: var(--stage-muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.feature {
  display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); min-width: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature p { color: var(--muted); }
.icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 6px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Channels with a phone */
.channels-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phone {
  justify-self: center; width: min(280px, 100%); padding: 10px; border-radius: 40px;
  background: #0B1220; box-shadow: var(--shadow); position: relative;
}
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; }
.phone .caption {
  position: absolute; left: 22px; right: 22px; bottom: 24px; padding: 10px 12px; border-radius: 12px;
  background: rgb(11 18 32 / 0.78); color: #F1F4F9; font-size: 12.5px; line-height: 1.4;
}
.phone .caption time { display: block; font: 600 12px/1.4 var(--mono); color: var(--aureolin); }
.channel-list { display: grid; gap: 14px; }
.channel {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.channel img { width: 48px; height: 48px; border-radius: 12px; }
.channel h3 { font-size: var(--step-1); }
.channel p { color: var(--muted); font-size: var(--step--1); }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--time-bg); color: var(--time); font-size: 12.5px; font-weight: 650; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fine { margin-top: 16px; color: var(--muted); font-size: 12.5px; }

/* Plans */
.plans-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.plans-art img { width: 100%; max-width: 420px; margin-inline: auto; border-radius: 24px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.plan {
  display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); min-width: 0;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .price { font-size: var(--step-3); font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: var(--step--1); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan p { color: var(--muted); font-size: var(--step--1); }
.plans-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding-inline: 22px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding-block: 18px; font-weight: 650; font-size: var(--step-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 500 1.4rem/1 var(--mono); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 20px; display: grid; gap: 10px; color: var(--muted); }

/* Closing band */
.closing { position: relative; overflow: hidden; text-align: center; padding-block: clamp(72px, 9vw, 120px); }
.closing img { position: absolute; right: -6%; top: 50%; translate: 0 -50%; width: min(620px, 70%); opacity: 0.55; mix-blend-mode: screen; pointer-events: none; }
.closing .wrap { position: relative; display: grid; gap: 18px; justify-items: center; }
.closing h2 { max-width: 18ch; }

/* Footer */
.site-footer { background: var(--stage); color: var(--stage-muted); padding-block: 48px 40px; font-size: var(--step--1); --logo-mark: #6EA8FF; --logo-word: #FFFFFF; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stage-muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--stage-fg); text-decoration: none; }
.site-footer a:hover { color: var(--stage-accent); text-decoration: underline; }
.site-footer .brand svg { height: 20px; }
.site-footer .about { display: grid; gap: 12px; align-content: start; }
.copy { grid-column: 1 / -1; max-width: none; padding-top: 24px; border-top: 1px solid var(--stage-line); }

/* Narrow screens */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: grid; }
  .hero-art .crystal { width: 100%; margin-left: 0; aspect-ratio: 16 / 9; }
  .queue { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -48px; }
  .channels-layout, .plans-layout { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cards-3, .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .nav .hide-sm { display: none; }
  .channel { grid-template-columns: 40px minmax(0, 1fr); }
  .channel img { width: 40px; height: 40px; }
  .channel .status { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav .btn-ghost { display: none; }
  .chips .chip span { display: none; }
  .chip { padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Pricing page */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(120px, 12vw, 168px); text-align: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% 0%, rgb(0 71 171 / 0.5), transparent 70%);
}
.page-hero .wrap { position: relative; display: grid; gap: 16px; justify-items: center; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 52ch; }

.price-cards {
  position: relative; margin-top: clamp(-120px, -10vw, -88px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch;
}
.price-card {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 28px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-card .tag {
  justify-self: start; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}
.price-card h2 { font-size: var(--step-2); }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; }
.price-card .amount b { font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 750; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.price-card .amount span { color: var(--muted); }
.price-card p { color: var(--muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.price-card li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.check { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn { width: 100%; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--step--1); }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: var(--step-0); font-weight: 700; background: var(--paper); }
.compare tbody th { font-weight: 550; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td { font-variant-numeric: tabular-nums; color: var(--fg); }
.compare .group th { background: var(--paper); color: var(--muted); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 650; }
.compare .no { color: var(--muted); }

@media (max-width: 960px) {
  .price-cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}
.price-card { grid-template-rows: auto auto auto auto 1fr auto; }
.center-note { text-align: center; margin-inline: auto; }
.closing img {
  -webkit-mask-image: radial-gradient(50% 55% at 62% 48%, #000 40%, transparent 100%);
  mask-image: radial-gradient(50% 55% at 62% 48%, #000 40%, transparent 100%);
}

/* Legal documents */
.doc-hero { padding-block: clamp(48px, 6vw, 80px); }
.doc-hero .wrap { display: grid; gap: 14px; }
.doc-date { font-size: var(--step--1); color: var(--stage-muted); }
.doc-layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 104px);
}
.doc-toc { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); align-self: start; font-size: var(--step--1); }
.doc-toc p { font-size: 12px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.doc-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--fg); border-left-color: var(--accent); }
.doc { display: grid; gap: 40px; min-width: 0; max-width: 760px; }
.doc section { display: grid; gap: 14px; scroll-margin-top: 96px; }
.doc h2 { font-size: var(--step-2); }
.doc h3 { font-size: var(--step-0); margin-top: 6px; }
.doc p, .doc li { color: var(--fg); }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.doc ul li::marker { color: var(--accent); }
.doc-summary { padding: 24px 26px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--line); }
.mono { font-family: var(--mono); font-size: 0.92em; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.doc-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: var(--step--1); }
.doc-table th, .doc-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table thead th { background: var(--paper); }
.doc-table tr:last-child td { border-bottom: 0; }

@media (max-width: 860px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { position: static; }
  .doc-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; }
  .doc-toc a { padding-left: 0; border-left: 0; }
}

/* Data deletion and contact */
.steps-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.steps-list li::marker { color: var(--accent); font-weight: 700; }
.contact-hero { padding-bottom: clamp(104px, 10vw, 140px); }
.contact-card {
  position: relative; margin-top: clamp(-96px, -8vw, -72px);
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between;
  padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card > div { display: grid; gap: 8px; min-width: 0; }
.contact-email { font-size: clamp(1.25rem, 1rem + 1.6vw, 2rem); font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.contact-topics { margin-top: clamp(24px, 3vw, 36px); }
.not-found { min-height: 70vh; display: grid; align-items: center; }
.not-found .actions { justify-content: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
