/* ============================================================
   TravView — Coming Soon site
   Brand: #E07D19 (orange), #1680C9 (blue)
============================================================ */

:root {
  --orange: #E07D19;
  --orange-soft: #f59a44;
  --blue: #1680C9;
  --blue-soft: #4aa3e0;

  --bg: #07091a;
  --bg-2: #0d1130;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);

  --text: #f4f6ff;
  --text-dim: #a8aec8;
  --text-faint: #6b7194;

  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --shadow-glow-orange: 0 20px 80px -10px rgba(224, 125, 25, 0.45);
  --shadow-glow-blue: 0 20px 80px -10px rgba(22, 128, 201, 0.45);

  --max-w: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ----------------- reset ----------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(at 15% 0%, rgba(22, 128, 201, 0.18), transparent 50%),
    radial-gradient(at 85% 10%, rgba(224, 125, 25, 0.18), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* decorative blobs */
.bg-blob {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.4;
  border-radius: 50%;
  will-change: transform;
  transition: transform 0.15s linear;
}
.bg-blob--orange {
  width: 500px; height: 500px;
  background: var(--orange);
  top: -120px; right: -120px;
}
.bg-blob--blue {
  width: 600px; height: 600px;
  background: var(--blue);
  bottom: -200px; left: -200px;
}

/* ----------------- container ----------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* ----------------- nav ----------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(7, 9, 26, 0.65);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__logo { width: 34px; height: 34px; object-fit: contain; }
.nav__brandname { font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px -8px rgba(224, 125, 25, 0.7);
}
.nav__cta:hover { color: #fff !important; transform: translateY(-1px); }
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ----------------- buttons ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  position: relative;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, #f48a2c 50%, var(--blue) 130%);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(224, 125, 25, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(224, 125, 25, 0.7); }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface-strong); transform: translateY(-2px); }
.btn__spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}
.btn--loading .btn__spinner { display: inline-block; }
.btn--loading .btn__label { opacity: 0.7; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------- hero ----------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}
.badge__dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(224, 125, 25, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 125, 25, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(224, 125, 25, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 125, 25, 0); }
}
.hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.hero__logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  flex-wrap: nowrap;
  justify-content: center;
  white-space: nowrap;
}
.hero__logo {
  width: 2.8em;
  height: 2.8em;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(224, 125, 25, 0.35));
}
.gradient-text {
  background: linear-gradient(120deg, var(--orange) 0%, #f9a14a 35%, var(--blue) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--text);
  font-weight: 500;
  margin: 0 0 0.7rem;
  max-width: 38ch;
}
@media (max-width: 900px) { .hero__sub { margin-left: auto; margin-right: auto; } }
.hero__support {
  color: var(--text-dim);
  margin: 0 0 2rem;
  font-size: 1rem;
}
.hero__ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
@media (max-width: 900px) { .hero__ctas { justify-content: center; } }

.store-badges {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) { .store-badges { justify-content: center; } }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
}
.store-badge small { display: block; font-size: 0.7rem; color: var(--text-dim); line-height: 1; margin-bottom: 2px; }
.store-badge strong { font-size: 0.95rem; font-weight: 600; }

/* phone mockups */
.hero__visual {
  position: relative;
  height: clamp(420px, 50vw, 580px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: relative;
  width: 240px;
  height: 480px;
  background: #0a0d22;
  border-radius: 38px;
  border: 6px solid #1a1d3a;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__visual .phone--back {
  position: absolute;
  transform: rotate(-8deg) translateX(-30%);
  z-index: 1;
  opacity: 0.85;
}
.hero__visual .phone--front {
  position: relative;
  transform: rotate(6deg) translateX(15%);
  z-index: 2;
  box-shadow: var(--shadow-glow-orange);
}
.phone__screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__screen--gradient-orange {
  background:
    radial-gradient(at 20% 10%, rgba(255,255,255,0.25), transparent 50%),
    linear-gradient(160deg, #f59a44 0%, var(--orange) 60%, #b25b0f 100%);
}
.phone__screen--gradient-blue {
  background:
    radial-gradient(at 80% 90%, rgba(255,255,255,0.2), transparent 50%),
    linear-gradient(160deg, #4aa3e0 0%, var(--blue) 60%, #0f5c92 100%);
}
.phone__placeholder {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px dashed rgba(255,255,255,0.4);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #050717;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone--single {
  box-shadow: var(--shadow-glow-blue);
}
.split--orange .phone--single { box-shadow: var(--shadow-glow-orange); }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 14px;
  border: 2px solid var(--border);
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 1;
}
.scroll-cue span {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-dim);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ----------------- sections ----------------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
  z-index: 1;
}
.section--what {
  text-align: center;
}
.section--what .container { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin: 0 0 1rem;
}
.eyebrow--orange { color: var(--orange-soft); }
.eyebrow--blue { color: var(--blue-soft); }
.eyebrow--center { display: block; }

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1.4rem;
}
.section__title--center { text-align: center; }
.section__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  margin: 0 0 1.4rem;
  line-height: 1.7;
}
.section__lead--center { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
.section__lead strong { color: var(--text); font-weight: 600; }
.section__highlight {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  border-radius: 6px;
}

/* split (for tourists / for businesses) */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.section--reversed .split { grid-template-columns: 1fr 1.1fr; }
.section--reversed .split__text { order: 2; }
.section--reversed .split__visual { order: 1; }
@media (max-width: 880px) {
  .split, .section--reversed .split { grid-template-columns: 1fr; text-align: center; }
  .section--reversed .split__text { order: unset; }
  .section--reversed .split__visual { order: unset; }
  .section__highlight { text-align: left; }
}
.split__visual { display: flex; justify-content: center; }
.split__visual .phone { transform: rotate(-3deg); }
.section--reversed .split__visual .phone { transform: rotate(3deg); }

/* ----------------- signup ----------------- */
.section--signup {
  text-align: center;
}
.section--signup .container {
  max-width: 720px;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(160deg, rgba(22, 128, 201, 0.12), rgba(224, 125, 25, 0.12));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}
.signup-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"] {
  flex: 1 1 280px;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form input[type="email"]::placeholder { color: var(--text-faint); }
.signup-form input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(224, 125, 25, 0.18);
}
.signup-msg {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.signup-msg--success { color: #74e08a; }
.signup-msg--error { color: #ff8c8c; }

/* ----------------- footer ----------------- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  position: relative;
  z-index: 1;
  background: rgba(7, 9, 26, 0.4);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__col--brand { grid-column: auto; }
}

.footer__col { min-width: 0; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.footer__logo { width: 32px; height: 32px; object-fit: contain; }
.footer__tagline {
  color: var(--text-dim);
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  max-width: 32ch;
}
.footer__location {
  color: var(--text-faint);
  margin: 0;
  font-size: 0.85rem;
}

.footer__heading {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__list a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer__list a:hover { color: var(--text); }

.footer__text {
  color: var(--text-dim);
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  max-width: 28ch;
}
.footer__signup {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  max-width: 320px;
}
.footer__signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.95rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer__signup input[type="email"]::placeholder { color: var(--text-faint); }
.footer__signup input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224, 125, 25, 0.18);
}
.footer__signup button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, #f48a2c 60%, var(--blue) 130%);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px -8px rgba(224, 125, 25, 0.55);
}
.footer__signup button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(224, 125, 25, 0.7); }
.footer__signup button[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.footer__signup-msg {
  margin: 0.4rem 0 1rem;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer__signup-msg--success { color: #74e08a; }
.footer__signup-msg--error { color: #ff8c8c; }

/* legal bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.6rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer__copy { color: var(--text-faint); font-size: 0.85rem; margin: 0; }
.footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer__legal a {
  color: var(--text-faint);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--text-dim); }

.footer__dev {
  font-size: 0.8rem;
  color: var(--text-faint);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer__dev:hover { color: var(--text-dim); border-color: var(--border); }
@media (max-width: 600px) {
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ----------------- modal ----------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}
.modal__panel {
  position: relative;
  background: linear-gradient(160deg, #161a3a 0%, #0d1130 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem 1.8rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.modal__close:hover { color: var(--text); background: var(--surface); }
.modal__panel h3 { margin: 0 0 0.4rem; font-size: 1.4rem; }
.modal__panel p { color: var(--text-dim); margin: 0 0 1.2rem; }
.modal__panel form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.modal__panel input[type="password"] {
  flex: 1 1 200px;
  padding: 0.85rem 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal__panel input[type="password"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224, 125, 25, 0.2);
}
.modal__msg {
  margin: 1rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #ff8c8c;
}
.modal__msg--success { color: #74e08a; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----------------- reveal animation -----------------
   Pattern: visible by default. JS adds `.reveal--hidden`
   right when it runs, then removes it on scroll-into-view.
   So if JS fails for any reason, content still shows. */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--hidden {
  opacity: 0;
  transform: translateY(20px);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .badge__dot { animation: none; }
  .scroll-cue span { animation: none; }
}

/* ============================================================
   Legal pages (privacy, terms)
============================================================ */
.legal {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(3rem, 6vw, 5rem);
}
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
  transition: color 0.2s;
}
.legal__back:hover { color: var(--text); }

.legal__title {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
}
.legal__updated {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin: 0 0 2.2rem;
}

.legal__callout {
  background: rgba(224, 125, 25, 0.1);
  border: 1px solid rgba(224, 125, 25, 0.4);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 0 0 2.2rem;
  color: var(--text-dim);
  font-size: 0.93rem;
}
.legal__callout strong { color: var(--text); }

.legal__toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin: 0 0 2.6rem;
}
.legal__toc h2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.8rem;
  border: none;
  padding: 0;
}
.legal__toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.4rem 1.4rem;
}
.legal__toc a { color: var(--text-dim); font-size: 0.92rem; transition: color 0.2s; }
.legal__toc a:hover { color: var(--orange-soft); }

.legal__body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 2.6rem 0 0.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal__body h3 {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--text);
  margin: 1.6rem 0 0.5rem;
}
.legal__body p,
.legal__body li {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
}
.legal__body p { margin: 0 0 1rem; }
.legal__body ul { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.legal__body li { margin-bottom: 0.45rem; }
.legal__body li::marker { color: var(--orange); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--orange-soft); }

.legal__table-wrap { overflow-x: auto; margin: 0 0 1.4rem; }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}
.legal__table th,
.legal__table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-dim);
}
.legal__table th {
  color: var(--text);
  font-weight: 600;
  background: var(--surface);
  white-space: nowrap;
}
.legal__table tr:last-child td { border-bottom: none; }
