/* Legal pages — shared with Agent Aadi home visual language */
:root {
  --bg: #070d18;
  --text: #e8eef7;
  --muted: #93a4b8;
  --line: rgba(148, 163, 184, 0.18);
  --link: #93c5fd;
  --max: 720px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.field {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 82, 163, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(204, 0, 0, 0.08), transparent 50%),
    linear-gradient(180deg, #0a1220 0%, #070d18 40%, #050910 100%);
  z-index: -1;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 32px);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.top-actions a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.top-actions a:hover { color: #fff; }

.legal-doc {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 32px) 48px;
}

.legal-doc h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-updated {
  color: #64748b;
  font-size: 0.8rem;
  font-family: var(--mono);
  margin-bottom: 22px;
}

.legal-doc > p,
.legal-doc li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-doc > p { margin-bottom: 14px; }

.legal-doc h2 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
  color: #fff;
}

.legal-doc ul {
  margin: 0 0 14px 1.2em;
  display: grid;
  gap: 6px;
}

.legal-doc a {
  color: var(--link);
}

.legal-doc a:hover {
  color: #fff;
}

.legal-doc strong { color: #e2e8f0; font-weight: 600; }

.legal-contact {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.55);
}

.legal-contact p { margin-bottom: 4px; color: var(--muted); font-size: 0.92rem; }

.foot {
  padding: 20px clamp(16px, 4vw, 32px) 28px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.5;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
}

.foot-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot-legal { max-width: 72ch; }

.legal-doc--wide {
  max-width: 960px;
}

.stripe-pricing-mount {
  margin: 18px 0 12px;
  min-height: 48px;
}

.stripe-pricing-status {
  color: var(--muted);
  font-size: 0.92rem;
}

.stripe-link-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
}

.stripe-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #0052a3;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.stripe-pay-btn:hover {
  background: #004080;
  color: #fff !important;
}

.stripe-pay-btn--secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e8eef7 !important;
}

.stripe-pay-btn--secondary:hover {
  border-color: rgba(147, 197, 253, 0.55);
  background: rgba(0, 82, 163, 0.2);
}

.stripe-pricing-note {
  font-size: 0.85rem !important;
  color: #64748b !important;
  margin-bottom: 22px !important;
}

.pricing-lede-strong {
  margin-bottom: 22px !important;
}

.pricing-offer {
  margin: 8px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.55);
}

.pricing-offer h2 {
  margin-top: 0;
}

.pricing-price {
  font-size: 1.35rem !important;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.02em;
  margin: 10px 0 12px !important;
}

.pricing-steps {
  margin: 0 0 14px 1.2em;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-faq h3 {
  font-size: 0.95rem;
  color: #fff;
  margin: 18px 0 6px;
  font-weight: 600;
}

.pricing-faq h3:first-child {
  margin-top: 0;
}

.pricing-faq p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.region-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.region-menu-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.region-menu select {
  appearance: none;
  background: rgba(11, 18, 32, 0.7);
  color: #e8eef7;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 1.6rem 0.35rem 0.7rem;
  font: 600 0.8rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #93a4b8 50%),
    linear-gradient(135deg, #93a4b8 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% - 2px), calc(100% - 7px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.region-menu select:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

