:root {
  color-scheme: dark;
  --bg: #070d18;
  --bg-soft: #0b1422;
  --panel: #101c2c;
  --panel-deep: #091321;
  --text: #f1faff;
  --muted: #8faabd;
  --muted-bright: #afc6d5;
  --line: #203b50;
  --accent: #5edbff;
  --ice: #a5eeff;
  --good: #55e6a5;
  --glow: rgba(94, 219, 255, 0.25);
  --page: 1160px;
  --gutter: 20px;
  --grid-gap: 14px;
  --section-space: 96px;
  --card-radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 16% 4%, rgba(94, 219, 255, 0.09), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 52%, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.shell {
  width: min(var(--page), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

/* Header */
.topbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(158, 195, 224, 0.12);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 11px;
  background: var(--accent);
}

.brand-icon svg { width: 17px; height: 17px; }
.brand-icon path { fill: var(--bg); }
.brand-icon.profile-icon { overflow: hidden; border-color: var(--line); background: var(--panel); }
.brand-icon.profile-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a, .footer a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav a:hover, .footer a:hover { color: var(--text); }

.nav-cta {
  justify-self: end;
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
}

.nav-cta:hover { background: var(--ice); }

/* Shared type and controls */
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 5px rgba(85, 230, 165, 0.1);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 27, 42, 0.9);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #42617c;
  background: #12253a;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.button.primary:hover { background: var(--ice); }
.button.ghost { color: var(--muted-bright); }
.button.large { min-height: 54px; padding-inline: 24px; }

/* Hero: 12-column matrix */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
  padding: 84px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 1 / span 6;
  padding-right: 28px;
}

.hero h1 {
  display: inline-block;
  margin: 0;
  padding-bottom: 0.09em;
  color: var(--text);
  font-size: clamp(4.5rem, 8vw, 7.4rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.hero-statement {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.25vw, 2.1rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-accent {
  margin: 18px 0 0;
  color: var(--ice);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted-bright);
  font-size: 1rem;
}

.lead > span,
.feature-card > p > span,
.workflow-copy > p > span { display: block; }

.microcopy {
  margin: 13px 0 0;
  color: #7892a6;
  font-size: 0.78rem;
}

.hero-paths {
  position: absolute;
  z-index: -1;
  inset: 0 calc(var(--gutter) * -1);
  width: calc(100% + (var(--gutter) * 2));
  height: 100%;
  pointer-events: none;
}

.hero-paths .bolt-fill {
  fill: rgba(94, 219, 255, 0.035);
  stroke: rgba(165, 238, 255, 0.09);
  stroke-width: 1;
}

.hero-paths .bolt-line {
  fill: none;
  stroke: rgba(94, 219, 255, 0.16);
  stroke-width: 2;
}

.hero-paths .bolt-line.small {
  stroke: rgba(94, 219, 255, 0.1);
  stroke-width: 1.5;
}

/* Discord previews */
.discord-window {
  position: relative;
  z-index: 1;
  grid-column: 7 / -1;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, var(--panel), var(--bg-soft));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.bot-avatar {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--panel);
}

.bot-avatar.small { width: 38px; height: 38px; border-radius: 11px; }
.bot-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.window-bar div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.18; }
.window-bar strong { font-size: 0.9rem; }
.window-bar div span { color: #7890a5; font-size: 0.61rem; letter-spacing: 0.08em; }

.online {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--good);
  font-size: 0.68rem;
  font-weight: 800;
}

.online i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }

.command-line {
  margin: 20px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-deep);
  color: var(--muted);
  font: 0.82rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.command-line span { color: var(--accent); font-weight: 800; }

.reply-card {
  padding: 22px;
  border-left: 3px solid var(--accent);
  border-radius: 6px 13px 13px 6px;
  background: var(--panel-deep);
}

.reply-label { margin: 0 0 5px; color: var(--ice); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.1em; }
.reply-card > strong { font-size: 1.06rem; }
.reply-card > p:not(.reply-label) { margin: 5px 0 18px; color: var(--muted); font-size: 0.76rem; }

.track {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
}

.track.active { border-color: #25465c; background: #10253a; color: var(--text); }
.track > span { color: var(--accent); font-size: 0.7rem; font-weight: 850; }
.track div { display: flex; flex-direction: column; line-height: 1.25; }
.track b { font-size: 0.8rem; }
.track small, .track em { color: #8297aa; font-size: 0.67rem; font-style: normal; }

/* Proof row */
.proof-strip { border-block: 1px solid rgba(158, 195, 224, 0.12); background: rgba(11, 20, 34, 0.7); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 22px; }
.proof-grid div { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 30px; border-right: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong { font-size: 0.86rem; }
.proof-grid span { color: var(--muted); font-size: 0.8rem; }

/* Section matrix */
.section { padding: var(--section-space) 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.split-head {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
}

.split-head > div { grid-column: 1 / span 7; }
.split-head > p { grid-column: 8 / -1; margin: 0 0 6px; }

.section-head h2,
.workflow-copy h2,
.final-cta h2,
.trust-card h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.3vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.052em;
  word-break: keep-all;
}

.section-head > p:last-child { margin: 18px 0 0; color: var(--muted); }

/* Feature bento: 7+5, then 4+4+4 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.feature-card {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--panel);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:nth-child(1) { grid-column: span 7; }
.feature-card:nth-child(2) { grid-column: span 5; }
.feature-card:nth-child(3),
.feature-card:nth-child(4),
.feature-card:nth-child(5) { grid-column: span 4; }

.feature-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(440px circle at 82% 12%, rgba(94, 219, 255, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.feature-tag { color: var(--ice); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.13em; }

.feature-card h3 {
  min-height: 1.3em;
  margin: 30px 0 11px;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.feature-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
  word-break: keep-all;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.chips code {
  padding: 7px 10px;
  border: 1px solid #31536c;
  border-radius: 8px;
  background: var(--panel-deep);
  color: var(--ice);
  font-size: 0.75rem;
}

.log-preview,
.voice-preview,
.ticket-preview {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel-deep);
}

.log-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 14px;
  font-size: 0.74rem;
}

.log-preview span { color: #bed0df; }
.log-preview time { color: #748da2; }

.voice-preview,
.ticket-preview {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
}

.voice-preview i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--good); }
.voice-preview span, .ticket-preview span { color: #d5e2ec; font-size: 0.82rem; }
.voice-preview small { margin-left: auto; color: #7891a6; }
.ticket-preview b { color: var(--accent); font-size: 0.75rem; }
.ticket-preview em { margin-left: auto; padding: 3px 7px; border-radius: 5px; background: rgba(85, 230, 165, 0.1); color: var(--good); font-size: 0.67rem; font-style: normal; }
.voice-card .chips { margin-top: 14px; }

/* Workflow: 5+7 */
.workflow-section {
  border-block: 1px solid rgba(158, 195, 224, 0.1);
  background: rgba(9, 25, 39, 0.55);
}

.workflow-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.workflow-copy { grid-column: 1 / span 5; padding-right: 34px; }
.workflow-copy > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); }

.steps { margin: 34px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); }
.steps li > span { color: var(--accent); font: 750 0.72rem ui-monospace, monospace; }
.steps strong { display: block; font-size: 0.95rem; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 0.82rem; }

.admin-card {
  grid-column: 6 / -1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, var(--panel), var(--bg-soft));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.admin-card-head { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: #c4d2df; font-weight: 800; }
.admin-card-head i { color: var(--good); font-size: 0.65rem; font-style: normal; letter-spacing: 0.1em; }
.admin-message { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: center; margin-top: 21px; }
.admin-message > div:last-child { display: flex; align-items: baseline; gap: 7px; }
.admin-message strong { font-size: 0.85rem; }
.admin-message strong em { padding: 2px 4px; border-radius: 3px; background: #547ac7; font-size: 0.55rem; font-style: normal; }
.admin-message time { color: #72899e; font-size: 0.65rem; }

.embed {
  margin: 12px 0 0 49px;
  padding: 20px;
  border-left: 3px solid var(--accent);
  border-radius: 5px 12px 12px 5px;
  background: var(--panel-deep);
}

.embed h3 { margin: 4px 0 18px; font-size: 1rem; }
.embed dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; }
.embed dl div { display: flex; flex-direction: column; }
.embed dt { color: #7890a4; font-size: 0.65rem; }
.embed dd { margin: 2px 0 0; color: #d7e4ed; font-size: 0.76rem; }

/* Commands */
.command-section { padding-bottom: 70px; }
.command-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.command-card { min-height: 70px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.command-card code { color: var(--ice); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 850; }
.command-card span { color: var(--muted); font-size: 0.84rem; }
.command-card b { padding: 4px 7px; border-radius: 5px; background: rgba(94, 219, 255, 0.12); color: var(--accent); font-size: 0.62rem; }

/* Trust and footer */
.trust-card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.trust-card > div:first-child { grid-column: 1 / span 7; padding-right: 34px; }
.trust-card > div:first-child > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }
.trust-card h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.discord-support-button {
  grid-column: 8 / -1;
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 5px 24px;
  padding: 28px 30px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.discord-support-button span { grid-column: 1; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.13em; opacity: 0.68; }
.discord-support-button strong { grid-column: 1; font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -0.035em; }
.discord-support-button b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.7rem; }
.discord-support-button:hover { background: var(--ice); box-shadow: 0 0 34px var(--glow); transform: translateY(-2px); }

.final-cta { padding: 102px 20px 116px; text-align: center; }
.final-cta h2 span { color: var(--accent); }
.final-cta > p:not(.eyebrow) { margin: 19px 0 28px; color: var(--muted); }

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 38px 0 45px;
  border-top: 1px solid rgba(158, 195, 224, 0.12);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand > div { display: flex; flex-direction: column; }
.footer strong { color: var(--text); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer > p { grid-column: 1 / -1; margin: 0; color: #657b8e; }

/* Policy pages */
.legal-body {
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(94, 219, 255, 0.025) 44% 44.15%, transparent 44.15% 100%),
    radial-gradient(circle at 78% 2%, rgba(94, 219, 255, 0.08), transparent 28rem),
    var(--bg);
}

.policy-nav a[aria-current="page"],
.footer a[aria-current="page"] { color: var(--accent); }

.legal-main { padding: 82px 0 110px; }

.legal-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  padding-bottom: 62px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .eyebrow,
.legal-hero h1,
.legal-summary { grid-column: 1 / span 8; }

.legal-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 7.3rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.legal-hero .legal-long-title { font-size: clamp(3.7rem, 7vw, 5.45rem); }

.legal-summary {
  max-width: 680px;
  margin: 27px 0 0;
  color: var(--muted-bright);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.legal-meta {
  grid-column: 10 / -1;
  grid-row: 2 / span 2;
  align-self: end;
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-meta span {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 28, 44, 0.58);
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: start;
  padding-top: 54px;
}

.legal-index {
  position: sticky;
  top: 24px;
  grid-column: 1 / span 3;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 19, 33, 0.78);
}

.legal-index > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.77rem;
  letter-spacing: 0.12em;
}

.legal-index nav { display: grid; }

.legal-index a {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(143, 170, 189, 0.12);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.35;
  transition: color 0.18s ease;
}

.legal-index a:hover { color: var(--text); }
.legal-index a span { color: var(--accent); font: 700 0.67rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.legal-content { grid-column: 5 / -1; }

.legal-content section {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 14px;
  scroll-margin-top: 30px;
  padding: 0 0 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(143, 170, 189, 0.2);
}

.legal-content section:last-child { margin-bottom: 0; }
.legal-number { grid-column: 1; grid-row: 1; padding-top: 5px; color: var(--accent); font: 750 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.08em; }
.legal-content h2 { grid-column: 2; grid-row: 1; margin: 0 0 18px; font-size: clamp(1.42rem, 3vw, 1.85rem); line-height: 1.25; letter-spacing: -0.035em; }
.legal-content p,
.legal-content ul { grid-column: 2; margin: 0 0 16px; color: #cedbe5; }
.legal-content p:last-child,
.legal-content ul:last-child { margin-bottom: 0; }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin: 9px 0; padding-left: 4px; }
.legal-content li::marker { color: var(--accent); }
.legal-content a:not(.button) { color: var(--ice); text-underline-offset: 3px; }

.data-list {
  display: grid;
  gap: 9px;
  padding: 0 !important;
  list-style: none;
}

.data-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 15px 17px;
  border: 1px solid rgba(32, 59, 80, 0.82);
  border-radius: 10px;
  background: rgba(16, 28, 44, 0.55);
}

.data-list strong { color: var(--text); font-size: 0.9rem; }
.data-list span { color: var(--muted-bright); font-size: 0.9rem; }

.legal-content .legal-contact {
  padding: 27px 28px 29px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(16, 28, 44, 0.92), rgba(9, 19, 33, 0.96));
}

.legal-contact .button { grid-column: 2; justify-self: start; margin-top: 7px; text-decoration: none; }
.mobile-break { display: none; }

@media (hover: hover) {
  .feature-card:hover { border-color: var(--accent); box-shadow: 0 0 34px var(--glow); }
  .feature-card:hover::before { opacity: 1; }
}

@media (max-width: 900px) {
  :root { --section-space: 78px; }
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; padding-top: 64px; }
  .hero-copy, .discord-window { grid-column: 1 / -1; }
  .hero-copy { padding-right: 0; }
  .discord-window { width: min(600px, 100%); margin-inline: auto; }
  .hero-paths { inset: 0 calc(var(--gutter) * -1); }
  .section-head.split-head, .workflow-layout, .trust-card { grid-template-columns: 1fr; gap: 30px; }
  .split-head > div, .split-head > p, .workflow-copy, .admin-card, .trust-card > div:first-child, .discord-support-button { grid-column: auto; }
  .workflow-copy, .trust-card > div:first-child { padding-right: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:nth-child(n) { grid-column: span 1; }
  .feature-card:nth-child(1) { grid-column: 1 / -1; }
  .command-grid { grid-template-columns: 1fr; }
  .legal-hero .eyebrow, .legal-hero h1, .legal-summary { grid-column: 1 / span 9; }
  .legal-meta { grid-column: 10 / -1; }
  .legal-index { grid-column: 1 / span 4; }
  .legal-content { grid-column: 5 / -1; }
  .data-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 640px) {
  :root { --gutter: 14px; --section-space: 68px; }
  .topbar { min-height: 66px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .nav-cta { font-size: 0.78rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 56px 0 60px; }
  .hero h1 { padding-bottom: 0.1em; font-size: clamp(3.9rem, 20vw, 5.3rem); line-height: 1; }
  .hero-statement { font-size: 1.5rem; line-height: 1.2; }
  .hero-accent { font-size: 1.05rem; }
  .lead { font-size: 0.94rem; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-paths { inset: 0 calc(var(--gutter) * -1); width: calc(100% + (var(--gutter) * 2)); }
  .discord-window { padding: 16px; border-radius: 19px; }
  .reply-card { padding: 17px 14px; }
  .proof-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .proof-grid div { justify-content: flex-start; padding: 12px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid div:last-child { border-bottom: 0; }
  .proof-grid strong { width: 78px; }
  .section-head h2, .workflow-copy h2, .final-cta h2, .trust-card h2 { font-size: clamp(2.1rem, 10.5vw, 3.2rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { grid-column: auto; min-height: 0; padding: 24px; }
  .feature-card h3 { min-height: 0; margin-top: 25px; font-size: 1.55rem; }
  .feature-card > p { margin-bottom: 22px; }
  .admin-card { padding: 17px; }
  .embed { margin-left: 0; }
  .command-card { min-height: 76px; grid-template-columns: 95px 1fr; }
  .command-card b { display: none; }
  .trust-card { padding: 28px 23px; }
  .discord-support-button { min-height: 122px; padding: 24px; }
  .final-cta { padding-block: 82px 94px; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { gap: 14px; }
  .footer > p { grid-column: auto; }
  .policy-topbar .policy-nav { display: none; }
  .legal-main { padding: 54px 0 78px; }
  .legal-hero { display: block; padding-bottom: 39px; }
  .legal-hero h1, .legal-hero .legal-long-title { font-size: clamp(3.25rem, 16vw, 4.6rem); }
  .legal-summary { margin-top: 21px; font-size: 1rem; }
  .legal-meta { margin-top: 26px; grid-template-columns: 1fr 1fr; }
  .legal-meta span { padding: 9px 10px; font-size: 0.7rem; }
  .legal-layout { display: block; padding-top: 34px; }
  .legal-index { position: static; margin-bottom: 42px; padding: 16px; }
  .legal-index nav { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .legal-content section { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding-bottom: 34px; margin-bottom: 34px; }
  .legal-content h2 { margin-bottom: 15px; font-size: 1.35rem; }
  .legal-content p, .legal-content ul { font-size: 0.92rem; }
  .legal-content .legal-contact { padding: 22px 18px 23px; }
  .legal-contact .button { width: auto; }
  .mobile-break { display: block; }
}

@media (max-width: 420px) {
  .legal-index nav { grid-template-columns: 1fr; }
  .legal-index a { grid-template-columns: 26px minmax(0, 1fr); gap: 6px; font-size: 0.75rem; }
}

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

@media (prefers-contrast: more) {
  :root { --muted: #d2dce7; --line: #47627a; }
}
