:root {
  --blue: #0874ff;
  --orange: #ff8800;
  --teal: #00a9a5;
  --purple: #8036d8;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --ink: #13223b;
  --muted: #68758a;
  --line: #dbe4f1;
  --tile: #e7edf6;
  --tile-dark: #d9e1ec;
  --shadow: 0 18px 55px rgba(15, 34, 70, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.dark {
  --bg: #050505;
  --surface: #0b0b0d;
  --surface-2: #111116;
  --ink: #f4f7ff;
  --muted: #8d929c;
  --line: #1c1d23;
  --tile: #4b4b4b;
  --tile-dark: #161a2c;
  --shadow: none;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(8, 116, 255, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(255, 136, 0, 0.1), transparent 32%),
    var(--bg);
}

body.dark {
  background: var(--bg);
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.app {
  min-height: 100vh;
}

.home-view,
.setup-view,
.video-view {
  display: none;
}

.app[data-view="home"] .home-view,
.app[data-view="setup"] .setup-view,
.app[data-view="video"] .video-view {
  display: block;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px 8px;
}

.brand,
.logo-button,
.video-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-name {
  width: min(245px, 58vw);
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: center;
  gap: 56px;
  max-width: 1160px;
  min-height: 560px;
  margin: 0 auto;
  padding: 22px 24px 42px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.65;
}

.primary-button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(8, 116, 255, 0.24);
}

.primary-button.wide {
  width: 100%;
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(15, 34, 70, 0.12));
}

.faq {
  max-width: 920px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.seo-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.safety-section h2 {
  margin: 5px 0 12px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(15, 34, 70, 0.06);
}

.feature-grid h3 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 21px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.step-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.benefits {
  padding-top: 24px;
}

.safety-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 48px;
  max-width: 1112px;
  margin: 24px auto 80px;
  border-radius: 20px;
  padding: 42px;
  background: linear-gradient(135deg, rgba(8, 116, 255, 0.1), rgba(255, 136, 0, 0.1));
}

.safety-section p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid var(--line);
  padding: 30px 24px;
  color: var(--muted);
  background: var(--surface);
}

.site-footer img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.faq h2 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 32px;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 780px) {
  .feature-grid,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .seo-section {
    padding: 52px 20px;
  }

  .safety-section {
    gap: 18px;
    margin: 10px 20px 60px;
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

.chat-topbar,
.video-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.logo-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--blue);
  font-weight: 900;
}

.logo-button img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 13px;
  color: #fff;
  background: #5865f2;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.discord-link:hover {
  background: #4752c4;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  background: var(--surface-2);
  white-space: nowrap;
}

.online-pill strong {
  color: var(--ink);
}

.spinner,
.loader {
  width: 16px;
  height: 16px;
  border: 2px solid #c8ced8;
  border-top-color: #8b93a1;
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.setup-view {
  min-height: 100vh;
}

.setup-panel {
  width: min(560px, calc(100vw - 32px));
  margin: 92px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

.setup-panel h2 {
  margin: 0 0 18px;
  font-size: 40px;
  letter-spacing: 0;
}

.mode-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.mode-button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
}

.mode-button.active {
  color: #fff;
  border-color: transparent;
  background: var(--blue);
}

.mode-button:disabled {
  color: #9fa8b7;
  background: var(--surface-2);
  cursor: not-allowed;
}

.interest-label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

.interest-input {
  width: 100%;
  height: 54px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--surface);
}

.safety-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.safety-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.video-view {
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.theme-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-switch {
  cursor: pointer;
}

.theme-switch span {
  position: relative;
  display: block;
  width: 50px;
  height: 26px;
  border-radius: 999px;
  background: #dbe3ef;
}

.theme-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease;
}

.theme-switch input:checked + span {
  background: #1c1d23;
}

.theme-switch input:checked + span::after {
  transform: translateX(24px);
  background: #2c2d34;
}

.video-shell {
  display: grid;
  grid-template-columns: minmax(620px, 44vw) minmax(0, 1fr);
  gap: 10px;
  height: calc(100vh - 72px);
  padding: 10px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 0;
}

.video-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--tile);
}

.local-tile {
  background: linear-gradient(155deg, #161b35 0%, #263471 52%, #15172d 53%, #15172d 100%);
}

.remote-tile:first-child {
  background: linear-gradient(135deg, #b9d7ff, var(--blue));
}

.remote-tile:nth-child(2) {
  background: linear-gradient(135deg, #ffdba7, var(--orange));
}

.remote-tile:nth-child(3) {
  background: linear-gradient(135deg, #d9c0ff, var(--purple));
}

.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.local-tile video {
  transform: scaleX(-1);
}

.local-tile.unmirrored video {
  transform: scaleX(1);
}

.remote-tile:not(.connected) video,
.local-tile:not(.has-video) video {
  display: none;
}

.empty-video,
.camera-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  align-content: center;
  color: #f7f9ff;
  background: rgba(86, 86, 86, 0.35);
}

.empty-video strong,
.empty-video .loader,
.camera-placeholder .loader {
  display: none;
}

.camera-placeholder strong {
  max-width: 80%;
  text-align: center;
  line-height: 1.35;
}

.app[data-room-state="searching"] .empty-video strong,
.app[data-room-state="searching"] .empty-video .loader {
  display: block;
}

.local-tile.has-video .camera-placeholder,
.remote-tile.connected .empty-video {
  display: none;
}

.tile-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(10, 20, 36, 0.58);
  font-size: 14px;
  font-weight: 800;
}

.report-flag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 20, 36, 0.68);
  font-size: 21px;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.report-flag:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.report-flag:hover,
.report-flag:focus-visible {
  background: #d92d20;
}

.report-flag:disabled:hover {
  background: rgba(10, 20, 36, 0.68);
}

.evidence-notice {
  max-width: 720px;
  font-size: 13px !important;
  line-height: 1.45;
  opacity: 0.78;
}

.report-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.report-dialog::backdrop {
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(4px);
}

.report-dialog form {
  display: grid;
  gap: 13px;
  padding: 26px;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-heading h2 {
  margin: 5px 0 8px;
  font-size: 27px;
}

.dialog-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface-2);
  font-size: 27px;
  line-height: 1;
}

.report-dialog label {
  font-weight: 800;
}

.report-dialog label span {
  color: var(--muted);
  font-weight: 500;
}

.report-dialog select,
.report-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  color: var(--ink);
  background: var(--surface);
}

.report-dialog textarea {
  resize: vertical;
}

.report-disclosure {
  margin: 0;
  border-radius: 9px;
  padding: 12px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 12px;
  line-height: 1.5;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.error {
  color: #d92d20;
}

.form-status.success {
  color: #079455;
}

.camera-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(280px, calc(100% - 28px));
  padding: 10px;
  border-radius: 8px;
  background: rgba(9, 11, 18, 0.74);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px));
  transition: 160ms ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.options-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 31;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: rgba(9, 11, 18, 0.76);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.local-tile:hover .camera-actions,
.local-tile.options-open .camera-actions {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.local-tile:hover .camera-placeholder strong,
.local-tile:focus-within .camera-placeholder strong {
  opacity: 1;
}

.camera-actions button,
.device-trigger,
.device-menu button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 800;
}

.device-picker {
  position: relative;
}

.device-picker.open {
  z-index: 20;
}

.device-trigger {
  position: relative;
  width: 100%;
  padding: 0 8px;
  padding-right: 30px;
  text-align: left;
}

.device-trigger::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.device-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  display: none;
  max-height: 180px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #080b12;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.58);
}

.device-picker.open .device-menu {
  display: grid;
  gap: 4px;
}

.device-menu button {
  width: 100%;
  min-height: 32px;
  border-color: transparent;
  padding: 0 8px;
  text-align: left;
  background: transparent;
}

.device-menu button:disabled {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.device-menu button:hover,
.device-menu button.active {
  background: rgba(8, 116, 255, 0.78);
}

.mic-meter {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mic-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #15bd66, var(--orange));
  transition: width 70ms linear;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.camera-actions button.active {
  background: var(--orange);
}

.chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.notice {
  padding: 22px 26px;
}

.notice h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.notice p {
  margin: 6px 0;
  color: var(--ink);
  font-size: 20px;
}

.notice .rule-strong {
  color: #5659ff;
  font-weight: 900;
}

.chat-log {
  min-height: 0;
  overflow: auto;
  padding: 0 26px 18px;
}

.chat-message {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.45;
}

.chat-message strong {
  color: var(--blue);
}

.chat-message.banned,
.chat-message.banned strong,
.chat-message.blocked,
.chat-message.blocked strong {
  color: #d92d20;
  font-weight: 900;
}

.legal-links {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px !important;
}

.legal-links a {
  color: var(--blue);
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: 130px 1fr 84px;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.start-chat-button,
.send-button,
.chat-form input {
  min-height: 74px;
  border-radius: 8px;
}

.start-chat-button,
.send-button {
  border: 1px solid rgba(128, 54, 216, 0.5);
  color: var(--ink);
  background: var(--surface);
  font-size: 20px;
  font-weight: 800;
}

.start-chat-button:disabled {
  color: var(--muted);
  cursor: wait;
}

.start-chat-button span {
  display: block;
  font-size: 12px;
  color: #6d45ff;
}

.chat-form input {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--ink);
  background: var(--surface);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .video-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: calc(100vh - 72px);
    overflow: auto;
  }

  .video-view {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .video-grid {
    grid-template-rows: repeat(2, minmax(180px, 28vh));
  }

  .chat-panel {
    min-height: 420px;
  }

}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 20px;
    padding-top: 18px;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    width: min(70vw, 300px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(145px, 28svh));
  }
}

@media (max-width: 560px) {
  .site-header,
  .chat-topbar,
  .video-topbar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    width: min(210px, 64vw);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-topbar,
  .video-topbar {
    min-height: 58px;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .video-topbar .logo-button span,
  .video-topbar .discord-link {
    display: none;
  }

  .video-topbar .logo-button img {
    width: 36px;
    height: 36px;
  }

  .video-topbar .topbar-actions {
    gap: 6px;
  }

  .video-topbar .online-pill {
    padding: 6px 9px;
    font-size: 13px;
  }

  .setup-panel {
    margin-top: 28px;
    padding: 22px;
  }

  .setup-panel h2 {
    font-size: 32px;
  }

  .mode-buttons {
    grid-template-columns: 1fr;
  }

  .video-shell {
    gap: 8px;
    min-height: calc(100svh - 58px);
    padding: 8px;
  }

  .video-grid {
    grid-template-rows: repeat(2, minmax(130px, 26svh));
    gap: 6px;
  }

  .video-tile {
    border-radius: 10px;
  }

  .tile-label {
    left: 7px;
    bottom: 7px;
    padding: 5px 7px;
    font-size: 11px;
  }

  .report-flag {
    right: 7px;
    bottom: 7px;
    width: 32px;
    height: 32px;
  }

  .options-toggle {
    top: 7px;
    right: 7px;
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .camera-actions {
    width: calc(100% - 14px);
    max-height: calc(100% - 48px);
    overflow: auto;
    padding: 7px;
  }

  .chat-panel {
    min-height: min(390px, 48svh);
  }

  .notice {
    padding: 16px;
  }

  .notice h2 {
    font-size: 21px;
  }

  .notice p {
    font-size: 14px;
  }

  .chat-log {
    padding: 0 14px 12px;
  }

  .chat-form {
    position: sticky;
    bottom: 0;
    grid-template-columns: 72px minmax(0, 1fr) 62px;
    gap: 6px;
  }

  .start-chat-button,
  .send-button,
  .chat-form input {
    min-height: 50px;
    font-size: 15px;
  }

  .chat-form input {
    padding: 0 10px;
  }

  .report-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100svh - 12px);
  }

  .report-dialog form {
    padding: 18px 14px;
  }

  .cf-turnstile,
  .cf-turnstile iframe {
    max-width: 100%;
  }
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 36px auto 72px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 52px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(34px, 7vw, 54px);
}

.legal-page h2 {
  margin: 32px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page a {
  color: var(--blue);
  font-weight: 800;
}
