/* =====================================================================
   LAKSHYA — LOGIN / LANDING REDESIGN
   Locked direction: Bold · Emerald · Light · Roomy
   Mirrors the Recommended Sessions handoff exactly.
   ===================================================================== */

:root {
  /* Surfaces */
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F2EC;
  --surface-3: #EFEBDF;

  /* Ink */
  --ink: #0E1413;
  --ink-2: #3D403E;
  --ink-3: #76796F;
  --ink-4: #A4A69E;

  /* Lines */
  --line: #E6E2D6;
  --line-2: #EFEBDF;

  /* Accent — Emerald (locked) */
  --accent: #047857;
  --accent-deep: #064E3B;
  --accent-soft: #E7F4ED;
  --accent-tint: #F2F9F4;

  /* Functional */
  --warm: #C2410C;
  --warm-soft: #FBE9DA;
  --danger: #B91C1C;
  --danger-soft: #FCEAEA;

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(14,20,19,0.04), 0 4px 12px rgba(14,20,19,0.04);
  --shadow-pop:  0 12px 32px rgba(14,20,19,0.10), 0 2px 6px rgba(14,20,19,0.06);
  --shadow-deep: 0 20px 60px rgba(14,20,19,0.18), 0 4px 12px rgba(14,20,19,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* =====================================================================
   PAGE FRAME
   ===================================================================== */

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .page { padding: 0 20px; }
}

/* =====================================================================
   HEADER / NAV
   ===================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.brand-lock {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto -20% -50% auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 80%, transparent), transparent 70%);
}
.brand-mark-glyph {
  position: relative;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.brand-name-block { line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
  transition: color .15s;
}
.nav-link:hover { color: var(--ink); }

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

/* =====================================================================
   BUTTONS
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 100px;
  padding: 11px 20px;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover:not(:disabled) { background: var(--ink); color: var(--bg); }

.btn-soft {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.btn-soft:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }

.btn-link {
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  border-radius: 0;
}
.btn-link:hover { color: var(--accent-deep); text-decoration-color: var(--accent); }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 22px; font-size: 14px; }

/* =====================================================================
   HERO (split: copy | login card)
   ===================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 14%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}
.hero-title-soft { color: var(--ink-3); font-weight: 400; }

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.hero-meta-label {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* hero-card — the login card sitting in the hero */

.hero-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 64px;
  }
  .hero-title { font-size: 48px; }
  .hero-card { padding: 28px; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 16px; }
}

/* =====================================================================
   AUTH FORM (lives in hero-card AND in modals)
   ===================================================================== */

.auth {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.auth-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  font-weight: 600;
}
.auth-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.auth-sub {
  font-size: 14px;
  color: var(--ink-2);
  margin: 4px 0 0;
  line-height: 1.5;
}

/* method toggle (Password / OTP) */
.method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}
.method-toggle-btn {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: 100px;
  letter-spacing: -0.005em;
  transition: background .18s, color .18s, box-shadow .18s;
}
.method-toggle-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(14,20,19,0.06), 0 0 0 1px var(--line);
}

/* form */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.field-label .req { color: var(--warm); margin-left: 2px; }

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap .input-icon {
  position: absolute;
  left: 14px;
  color: var(--ink-3);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.input-wrap .input-trail {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
}

.input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
  font-feature-settings: "tnum";
}
.input::placeholder { color: var(--ink-4); }
.input:hover { border-color: var(--ink-4); }
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent);
}
.input.has-icon { padding-left: 42px; }
.input.has-trail { padding-right: 44px; }

.input-error .input {
  border-color: var(--danger);
  background: color-mix(in oklab, var(--danger-soft) 60%, transparent);
}
.input-error .input:focus {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 14%, transparent);
}

.input-hint {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.input-hint.is-error { color: var(--danger); }

.password-toggle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  transition: color .15s, background .15s;
}
.password-toggle:hover { color: var(--ink); background: var(--surface-2); }

/* phone input with country code */
.phone-input {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
}
.phone-input .input { padding-left: 14px; }
.phone-input .country-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  font-feature-settings: "tnum";
}

/* checkbox row */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.check {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink-3);
  border-radius: 5px;
  background: var(--surface);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: background .15s, border-color .15s;
}
.check:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.check-row a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* form footer / actions */
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-actions .row-spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 4px 0;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-foot {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 4px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}
.auth-foot a, .auth-foot button {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.auth-foot a:hover, .auth-foot button:hover { text-decoration-color: var(--accent); color: var(--accent-deep); }

/* error banner */
.error-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--danger-soft);
  border: 1px solid color-mix(in oklab, var(--danger) 30%, var(--line));
  font-size: 13px;
  color: var(--danger);
  line-height: 1.45;
}
.error-banner-icon { flex-shrink: 0; margin-top: 1px; }
.error-banner strong { font-weight: 600; }

/* success / info banner */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
  font-size: 13px;
  color: var(--accent-deep);
  line-height: 1.45;
}

/* loading button state */
.btn-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn-loading .btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* OTP input row */
.otp-input-row {
  display: flex;
  gap: 10px;
}
.otp-cell {
  width: 56px;
  height: 64px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.otp-cell:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent);
}
.otp-cell.is-filled { border-color: var(--ink-3); }

.otp-resend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}
.otp-resend-time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  font-feature-settings: "tnum";
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 4px;
}
.back-link:hover { color: var(--ink); }

/* =====================================================================
   MODAL
   ===================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 38%, transparent);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn .18s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: var(--shadow-deep);
  animation: popIn .2s cubic-bezier(0.2, 0.7, 0.3, 1.1);
}
.modal-wide { max-width: 580px; }

@keyframes popIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-body { padding: 32px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  background: var(--surface-2);
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--ink); color: var(--bg); }

.modal-wrap { position: relative; }

/* =====================================================================
   TICKER (student questions)
   ===================================================================== */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.ticker-label {
  flex-shrink: 0;
  padding: 0 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  z-index: 2;
}
.ticker-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  padding-left: 24px;
}
.ticker-item {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
}
.ticker-item::before {
  content: "→";
  margin-right: 12px;
  color: var(--accent);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* =====================================================================
   GENERIC SECTION
   ===================================================================== */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.section-head {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 720px;
}
.section-head.center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent-deep);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--accent-deep); }

.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
  max-width: 60ch;
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 36px; }
}

/* =====================================================================
   FRONTIER MODELS
   ===================================================================== */

.frontier {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.frontier::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 36%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.frontier-inner { position: relative; text-align: center; }
.frontier .section-eyebrow { color: color-mix(in oklab, var(--accent) 80%, var(--bg)); }
.frontier-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--bg);
  margin: 16px auto 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.frontier-title em { font-style: italic; color: var(--accent); }
.frontier-sub {
  font-size: 17px;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  max-width: 50ch;
  margin: 0 auto 48px;
}
.frontier-models {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
}
.frontier-model {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.frontier-model-by {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--accent) 60%, var(--bg));
}
.frontier-sep {
  color: color-mix(in oklab, var(--bg) 30%, transparent);
  font-size: 28px;
  font-family: var(--serif);
}
.frontier-note {
  font-size: 14px;
  color: color-mix(in oklab, var(--bg) 55%, transparent);
  max-width: 64ch;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .frontier-title { font-size: 36px; }
  .frontier-model { font-size: 24px; }
}

/* =====================================================================
   STATS STRIP
   ===================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-item {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: "tnum";
}
.stat-num-suffix { color: var(--accent-deep); }
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 600;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =====================================================================
   SPLIT (problem | solution)
   ===================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-problem {
  padding: 56px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.split-solution {
  padding: 56px;
  background: var(--ink);
  color: var(--bg);
}
.split-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 20px;
  display: block;
}
.split-eyebrow.light { color: color-mix(in oklab, var(--accent) 80%, var(--bg)); }
.split-problem h3, .split-solution h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.split-problem p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.split-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.split-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.split-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}
.split-list strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  display: block;
  margin-bottom: 2px;
}
.split-list span {
  font-size: 14px;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split-problem { border-right: none; border-bottom: 1px solid var(--line); }
  .split-problem, .split-solution { padding: 40px 28px; }
  .split-problem h3, .split-solution h3 { font-size: 28px; }
}

/* =====================================================================
   MANIFESTO
   ===================================================================== */

.manifesto {
  padding: 120px 0;
  background: var(--surface-2);
  text-align: center;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-mark {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.manifesto-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.manifesto-quote em {
  font-style: italic;
  color: var(--accent-deep);
  display: block;
  margin-top: 8px;
}
.manifesto-rule {
  width: 60px;
  height: 1px;
  background: var(--ink-3);
  margin: 0 auto 16px;
}
.manifesto-attr {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) { .manifesto-quote { font-size: 26px; } .manifesto { padding: 80px 0; } }

/* =====================================================================
   PRODUCT PEEK
   ===================================================================== */

.peek-frame {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-deep);
  position: relative;
}
.peek-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.peek-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.peek-chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.peek-chrome-url {
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 12px;
}

/* =====================================================================
   WHY-AI GRID
   ===================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.why-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 4px;
}
.why-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.why-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PROOF (slideshow + numbers)
   ===================================================================== */

.proof {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.proof-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  box-shadow: var(--shadow-card);
}
.proof-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.proof-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(14,20,19,0.92);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.proof-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.proof-block { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.proof-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: "tnum";
}
.proof-num-unit {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent-deep);
  margin-left: 2px;
}
.proof-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.proof-source {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 24px;
  font-style: italic;
}

@media (max-width: 880px) { .proof { grid-template-columns: 1fr; } }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.testimonial-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-meta { font-size: 12px; color: var(--ink-3); }

@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

/* =====================================================================
   CLOSING CTA
   ===================================================================== */

.closing-cta {
  text-align: center;
  padding: 120px 32px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.closing-cta::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 40%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.closing-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.closing-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--bg);
  text-wrap: balance;
}
.closing-cta p {
  font-size: 17px;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  margin: 0 0 36px;
}
.closing-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.closing-cta .btn-ghost {
  background: transparent;
  color: var(--bg);
  border-color: color-mix(in oklab, var(--bg) 35%, transparent);
}
.closing-cta .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

@media (max-width: 720px) {
  .closing-cta { padding: 80px 24px; }
  .closing-cta h2 { font-size: 36px; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 16px 0 0;
  max-width: 36ch;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 6px 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   STATE PANEL
   ===================================================================== */

.state-pin {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  gap: 8px;
}
.state-pin-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }


/* =====================================================================
   HERO WRAP — keeps the hero block in the page grid
   ===================================================================== */

.hero-wrap { padding-top: 24px; padding-bottom: 96px; }

/* =====================================================================
   AUTH-ONLY mode (Tweaks: showLanding off)
   ===================================================================== */

.auth-only .auth-only-inner {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 40%),
    radial-gradient(circle at 100% 100%, color-mix(in oklab, var(--warm) 10%, transparent), transparent 40%),
    var(--bg);
}
.hero-card--standalone {
  width: 100%;
  max-width: 520px;
}

/* =====================================================================
   DEMO TWEAKS — state chips inside the panel
   ===================================================================== */

.tw-group { padding: 6px 0 12px; }
.tw-group + .tw-group { border-top: 1px dashed color-mix(in oklab, var(--ink-3) 35%, transparent); margin-top: 4px; }
.tw-group-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 8px;
}
.tw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tw-chip {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.tw-chip:hover { border-color: var(--ink-3); color: var(--ink); }
.tw-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* =====================================================================
   ACCENT VARIANTS — driven by data-accent on <html>
   ===================================================================== */

html[data-accent="saffron"] {
  --accent: #E07A2B;
  --accent-deep: #B85F1A;
  --accent-soft: #FBE9D7;
}
html[data-accent="ink"] {
  --accent: #2A2A2A;
  --accent-deep: #0A0A0A;
  --accent-soft: #ECECEC;
}
/* indigo is the default declared at :root */
