
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f3eb;
  color: #121212;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:root {
  --bg: #f7f3eb;
  --panel: #fcfbf7;
  --line: #e4dccc;
  --text: #121212;
  --muted: #786a5e;
  --accent: #df8f28;
  --accent-dark: #c77717;
  --green-bg: #edf7ee;
  --green-line: #b8d9bc;
  --green-text: #27984a;
  --shadow: 0 18px 40px rgba(82, 58, 20, 0.08);
}

.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 36px)); }
.account-page-width { width: min(920px, calc(100% - 36px)); }
.max-text { max-width: 860px; margin-left: auto; margin-right: auto; }

.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; padding-top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 235, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover,
.mobile-menu-inner a:hover,
.footer-link:hover,
.footer-instagram:hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu-inner {
  display: grid;
  gap: 26px;
  padding: 34px 0 42px;
  text-align: center;
  justify-items: center;
}
.mobile-menu-inner a {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding: 30px 0 34px;
}
.footer-stack {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.footer-link { color: var(--muted); }
.footer-instagram { width: 22px; height: 22px; color: var(--muted); }

.hero,
.section-shell,
.page-section { padding: 84px 0; }
.support-shell,
.soft-section,
.cta-shell { border-top: 1px solid var(--line); }

.center-wrap {
  display: grid;
  justify-items: center;
  text-align: center;
}
.hero-stack { gap: 26px; }
.section-heading { gap: 20px; }
.spacious-heading { gap: 24px; }

.section-kicker {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  font-weight: 700;
}
.hero-title {
  margin: 0;
  font-size: clamp(2.85rem, 8vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  max-width: 980px;
}
.hero-subtitle,
.section-copy,
p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}
.hero-subtitle {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}
.section-heading h1,
.section-heading h2,
.account-page-heading h1,
.settings-card h2,
.privacy-card h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.section-heading h1,
.account-page-heading h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); }
.section-heading h2 { font-size: clamp(2.05rem, 5vw, 3.2rem); max-width: 900px; }
.settings-card h2 { font-size: 2.1rem; }

.hero-actions,
.inline-links,
.support-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.roomy-links { margin-top: 22px; }

.soft-card,
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.spacious-card { padding: 32px 30px 34px; }

.flow-grid,
.results-grid,
.pricing-grid {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}
.flow-grid,
.results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.step-card,
.result-card,
.pricing-card { padding: 32px 30px 34px; }
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f0e8da;
  color: var(--accent-dark);
  font-weight: 700;
  margin: 0 auto 24px;
}
.step-card h3,
.result-card h3,
.pricing-card h2 {
  margin: 0 0 16px;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.price-line {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}
.price-line strong {
  color: var(--accent-dark);
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.07em;
}
.price-line span { margin-bottom: 7px; }
.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.06rem;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: rgba(255,255,255,0.56);
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: #d7c7af; }
.btn-danger-light {
  color: #9a372f;
  border-color: #e2c0bc;
  background: #fff7f6;
}
.btn-block { width: 100%; }
.btn-icon-mark { width: 18px; height: 18px; }

.support-pill {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.56);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.support-icon { width: 18px; height: 18px; }

.form-panel {
  display: grid;
  gap: 14px;
}
label { color: var(--muted); font-weight: 500; }
input {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid #c8d0dd;
  background: #eaf0fb;
  padding: 0 18px;
}
input:focus {
  outline: none;
  border-color: #9db4d8;
  box-shadow: 0 0 0 4px rgba(157,180,216,0.12);
}
.form-message {
  min-height: 22px;
  text-align: center;
  color: var(--muted);
}
.form-message.is-error { color: #b84b41; }
.form-message.is-success { color: #2f8d4c; }

.account-stack { display: grid; gap: 26px; }
.account-summary-top {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.status-pill {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  font-weight: 700;
}
.plan-pill {
  background: #f6efe4;
  color: var(--accent-dark);
  border-color: #e2c89f;
}
.verified-pill {
  background: var(--green-bg);
  color: var(--green-text);
  border-color: var(--green-line);
}
.data-list {
  display: grid;
}
.data-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.data-list dt { color: var(--muted); }
.data-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.account-next-card {
  margin-top: 28px;
  display: grid;
  justify-items: start;
  gap: 16px;
}
.settings-actions {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.privacy-card h1 { margin-bottom: 18px; font-size: clamp(2.1rem, 5vw, 3rem); }

@media (max-width: 920px) {
  .flow-grid,
  .results-grid,
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-links.desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero,
  .section-shell,
  .page-section { padding: 72px 0; }
  .hero-title { font-size: clamp(2.45rem, 10vw, 4rem); }
  .section-heading h1,
  .account-page-heading h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .section-heading h2 { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .step-card,
  .result-card,
  .pricing-card,
  .spacious-card { padding: 28px 22px 30px; }
  .data-list div { grid-template-columns: 1fr; gap: 10px; }
  .data-list dd { text-align: left; }
  .account-next-card { justify-items: stretch; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 20px, 1120px); }
  .btn,
  .support-pill { width: 100%; }
}

/* ═══════════════════════════════════════════
   DARK THEME — global override
   Bloomberg-terminal aesthetic across all pages
═══════════════════════════════════════════ */
:root {
  --bg: #000000;
  --panel: rgba(255,255,255,0.03);
  --line: rgba(255,255,255,0.08);
  --text: rgba(242,242,247,0.92);
  --muted: rgba(255,255,255,0.4);
  --accent: #d4943c;
  --accent-dark: #c87832;
  --green-bg: rgba(40,200,80,0.08);
  --green-line: rgba(40,200,80,0.2);
  --green-text: #4ade80;
  --shadow: 0 18px 40px rgba(0,0,0,0.4);
}

body { background: #000; color: var(--text); }

/* Header */
.site-header {
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.brand { color: #fff; }
.nav-links { color: rgba(255,255,255,0.4); }
.nav-links a:hover { color: #fff; }
.menu-toggle span { background: #fff; }

/* Mobile menu */
.mobile-menu {
  background: rgba(0,0,0,0.95);
  border-top-color: rgba(255,255,255,0.06);
}
.mobile-menu-inner a { color: rgba(255,255,255,0.5); }
.mobile-menu-inner a:hover { color: #fff; }

/* Footer */
.site-footer {
  background: #000;
  border-top-color: rgba(255,255,255,0.04);
}
.footer-link { color: rgba(255,255,255,0.25); }
.footer-link:hover { color: rgba(255,255,255,0.5); }
.footer-instagram { color: rgba(255,255,255,0.25); }
.footer-instagram:hover { color: rgba(255,255,255,0.5); }

/* Section kicker */
.section-kicker { color: var(--accent); }

/* Cards — glassmorphism */
.soft-card,
.pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Pricing featured card */
.pricing-card-featured {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,120,50,0.15);
}

/* Buttons */
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.1);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.btn-danger-light {
  color: #f87171;
  border-color: rgba(248,113,113,0.2);
  background: rgba(248,113,113,0.06);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Support pill */
.support-pill {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
}

/* Form inputs */
input, select, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(200,120,50,0.4);
  box-shadow: 0 0 0 4px rgba(200,120,50,0.08);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.2); }
label { color: rgba(255,255,255,0.5); }

/* Data list (account page) */
.data-list div { border-bottom-color: rgba(255,255,255,0.06); }
.data-list dt { color: rgba(255,255,255,0.4); }
.data-list dd { color: #fff; }

/* Status pills */
.plan-pill {
  background: rgba(200,120,50,0.1);
  color: var(--accent);
  border-color: rgba(200,120,50,0.2);
}
.verified-pill {
  background: var(--green-bg);
  color: var(--green-text);
  border-color: var(--green-line);
}

/* Step numbers */
.step-number {
  background: rgba(200,120,50,0.1);
  color: var(--accent);
}

/* Price line */
.price-line strong { color: var(--accent); }

/* Feature list */
.feature-list { color: rgba(255,255,255,0.4); }

/* Form message colors */
.form-message { color: rgba(255,255,255,0.35); }
.form-message.is-error { color: #f87171; }
.form-message.is-success { color: #4ade80; }

/* Page subtitle */
.page-subtitle { color: rgba(255,255,255,0.4); }

/* Section borders */
.support-shell,
.soft-section,
.cta-shell { border-top-color: rgba(255,255,255,0.04); }

/* Headings on dark */
h1, h2, h3 { color: #fff; }
.section-heading h1,
.section-heading h2,
.account-page-heading h1,
.settings-card h2,
.privacy-card h1 { color: #fff; }

/* Privacy/support card inline styles override */
.privacy-copy { color: rgba(255,255,255,0.4); }
.privacy-copy a { color: var(--accent); }

/* Nav "Get Started" — orange pill button globally */
.nav-links [data-auth-nav],
.mobile-menu-inner [data-auth-nav-mobile] {
  background: linear-gradient(135deg, #c87832, #d4943c, #b86a28);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.nav-links [data-auth-nav]:hover,
.mobile-menu-inner [data-auth-nav-mobile]:hover {
  box-shadow: 0 0 20px rgba(200,120,50,0.2);
  transform: translateY(-1px);
}

/* Glass card utility — reusable across pages */
.k2-glass-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(40px) saturate(120%);
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.k2-glass-page::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.k2-glass-page.k2-glass-wide { max-width: 920px; }
.k2-glass-page.k2-glass-narrow { max-width: 480px; }
@media (max-width: 640px) { .k2-glass-page { padding: 40px 24px; } }

/* Star field canvas — shared across pages */
.k2-stars-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Inline links on dark */
.inline-links a { color: rgba(255,255,255,0.35); }
.inline-links a:hover { color: #fff; }
