/* ═══════════════════════════════════════════════════════════════════════════
   AskOdin.org — main stylesheet
   Ported 1:1 from the Claude Design handoff (Home.html).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --bg-0:         #0a0a0a;
  --bg-1:         #141414;
  --bg-2:         #1c1c1c;
  --line:         #232323;
  --line-2:       #2c2c2c;
  --copper:       #a65e2e;
  --copper-soft:  rgba(166, 94, 46, 0.18);
  --copper-hover: #b86a36;
  --violet:       #7a3fcf;
  --violet-soft:  rgba(122, 63, 207, 0.18);
  --violet-hover: #8a4ee0;
  --silver:       #c8c8c8;
  --silver-dim:   #8a8a8a;
  --silver-faint: #5a5a5a;
  --green:        #4ade80;
  /* Bright text ramp (was hardcoded across dashboard.css) */
  --text-strong:  #f0f0f0;   /* headings / pane titles            */
  --text:         #ededed;   /* primary bright text               */
  --text-soft:    #e0e0e0;   /* secondary bright text             */
  --danger:       #e05555;   /* error / destructive (unified red) */
  /* Worker palette — semantic colours for the auto-crawler dispatcher.
     Each worker (VPS slot 0, VPS slot 1, home) gets a distinct shade so
     the activity bar + log lines tell you instantly who's doing what. */
  --worker-vps0:       #22C55E;                       /* slot 0 (green) */
  --worker-vps0-soft:  rgba(34, 197, 94, 0.18);
  --worker-vps1:       #C2410C;                       /* slot 1 (orange) */
  --worker-vps1-soft:  rgba(194, 65, 12, 0.18);
  --worker-home:       #8B5CF6;                       /* home  (purple) */
  --worker-home-soft:  rgba(139, 92, 246, 0.18);
  --worker-igor:       #FFD700;                       /* Igor  (gold)   */
  --worker-vlad:       #3B82F6;                       /* Vlad  (blue)   */
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-0);
  color: var(--silver);
  font-family: 'Karla', -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--copper); color: #fff; }

/* ── Utility ───────────────────────────────────────────────────────────── */
.mono { font-family: 'JetBrains Mono', monospace; }
.hand { font-family: 'Karla', sans-serif; font-weight: 400; }

/* ══ Two-pane shell ════════════════════════════════════════════════════════ */
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
@media (max-width: 880px) {
  .shell { grid-template-columns: 1fr; }
  .pane-brand { min-height: 70vh; }
}

/* ══ Brand pane (left) ═════════════════════════════════════════════════════ */
.pane-brand {
  position: relative;
  background: var(--bg-0);
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

/* Radial glow overlays */
.pane-brand::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 12% 30%, rgba(166, 94, 46, 0.10), transparent 60%),
    radial-gradient(700px 600px at 90% 90%, rgba(122, 63, 207, 0.08), transparent 60%);
  pointer-events: none;
}

/* Subtle grid texture */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* ── Brand top bar ─────────────────────────────────────────────────────── */
.brand-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
}

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

.logo-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  position: relative;
}
.logo-mark img { display: block; }

.logo-name {
  font-family: 'Karla', sans-serif;
  font-weight: 700; font-size:22px;
  letter-spacing: -0.01em; color: #ededed;
}
.logo-name .dot { color: var(--copper); }

/* Status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  background: rgba(20,20,20,0.6);
  backdrop-filter: blur(8px);
  font-family: 'JetBrains Mono', monospace;
  font-size:14px; color: var(--silver-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* ── Brand mid (headline block) ────────────────────────────────────────── */
.brand-mid {
  position: relative; z-index: 2;
  max-width: 620px;
  margin-left: 56px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Karla', sans-serif;
  font-size:17px; color: var(--silver-dim);
  letter-spacing: 0.02em; margin-bottom: 6px;
}
.eyebrow + .eyebrow {
  margin-top: 0;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--copper);
  flex-shrink: 0;
}
.eyebrow-offer {
  color: #d4af37;
  font-size:16px;
}
.eyebrow-offer::before {
  background: #d4af37;
}

h1.headline {
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: #f0f0f0;
  text-wrap: balance;
}
h1.headline .accent-copper { color: var(--copper); }
h1.headline .accent-violet { color: var(--violet); }
h1.headline .ital {
  font-family: 'Karla', sans-serif;
  font-weight: 400; letter-spacing: 0;
  font-size: 0.92em;
  display: inline-block;
  transform: translateY(0.04em);
}

.tagline {
  font-family: 'Karla', sans-serif;
  font-size:22px; font-weight: 500; line-height: 1.4;
  color: #ededed;
  margin: 0 0 14px;
  max-width: 540px;
  letter-spacing: -0.01em;
}

.sub {
  font-size:20px; line-height: 1.55;
  color: var(--silver-dim);
  max-width: 480px; margin: 0 0 36px;
}
.sub strong { color: var(--silver); font-weight: 500; }

/* Features wrapper */
.features-wrap { width: 100%; }

/* Feature row */
.features {
  display: flex; flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.feature {
  flex: 1 1 200px;
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.feature:last-child  { border-right: none; padding-right: 0; }
.feature:not(:first-child) { padding-left: 24px; }
.feature-num {
  font-family: 'Karla', sans-serif;
  font-size:16px; color: var(--copper);
  margin-bottom: 8px; letter-spacing: 0.04em;
}
.feature-title {
  font-size:18px; color: #ededed; font-weight: 600;
  margin-bottom: 4px; letter-spacing: -0.01em;
  font-family: 'Karla', sans-serif;
}
.feature-desc {
  font-size: 13.5px; color: var(--silver-faint);
  line-height: 1.5;
  font-family: 'Karla', sans-serif;
}

/* ── Terminal ticker ───────────────────────────────────────────────────── */
.brand-foot {
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: 'JetBrains Mono', monospace;
  font-size:14px; color: var(--silver-faint);
  letter-spacing: 0.06em;
}

.ticker {
  position: relative; z-index: 2;
  margin-top: 28px;
  width: 100%;
  flex: 1 1 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.ticker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--silver-faint);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ticker-head .lights { display: flex; gap: 6px; }
.ticker-head .lights span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
}
.ticker-head .lights span:first-child { background: var(--copper); }

.ticker-body {
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size:15px; line-height: 1.7;
  color: var(--silver-dim);
  height: 96px; overflow: hidden;
}
/* Real activity lines vary a lot in length (domain + timing + status +
   contact details) — ellipsis instead of a hard clip when one overflows
   the ticker's width. */
.ticker-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-line .tk-tag   { color: var(--copper); }
.ticker-line .tk-tag-v { color: var(--violet); }
.ticker-line .tk-ok    { color: var(--green); }
.ticker-line .tk-bad   { color: #ef4444; }
.ticker-line .tk-email { color: var(--green); }
.ticker-line .tk-dim   { color: var(--silver-faint); }

/* ══ Auth pane (right) ═════════════════════════════════════════════════════ */
.pane-auth {
  position: relative;
  background: var(--bg-1);
  padding: 40px 56px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}

/* Top bar */
.auth-top {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 16px; font-size:16px; color: var(--silver-dim);
}
.auth-new-here {
  font-size:14px; color: var(--silver-faint);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.auth-top a {
  color: var(--silver); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.auth-top a:hover { border-bottom-color: var(--copper); }

/* Auth card */
.auth-card {
  width: 100%; max-width: 420px;
  margin: 0 auto; align-self: center;
}

.auth-heading {
  font-family: 'Karla', sans-serif;
  font-weight: 600; font-size:35px;
  line-height: 1.1; letter-spacing: -0.02em;
  color: #f0f0f0; margin: 0 0 8px;
}
.auth-heading .accent { color: var(--copper); }

.auth-sub {
  color: var(--silver-dim); font-size:18px;
  margin: 0 0 32px; line-height: 1.5;
  font-family: 'Karla', sans-serif;
}

/* Tabs */
.tabs {
  display: flex; gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--line-2);
  padding: 4px;
  background: var(--bg-0);
}
.tab {
  flex: 1;
  background: transparent; border: none;
  color: var(--silver-dim);
  font-family: 'Karla', sans-serif;
  font-size:17px; font-weight: 500;
  padding: 10px; cursor: pointer;
  letter-spacing: -0.005em;
  transition: all 0.18s ease;
}
.tab.active {
  background: var(--bg-2); color: #ededed;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.tab:hover:not(.active) { color: var(--silver); }

/* Google button */
.btn-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 16px;
  background: #ededed; color: #1a1a1a;
  border: 1px solid #ededed;
  font-family: 'Karla', sans-serif;
  font-size:18px; font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-google:hover { background: #fff; transform: translateY(-1px); }
.btn-google svg { display: block; flex-shrink: 0; }

/* Divider */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  color: var(--silver-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size:14px; letter-spacing: 0.12em; text-transform: uppercase;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--line-2);
}

/* Form fields */
.field { margin-bottom: 14px; }

.field-label {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size:16px; color: var(--silver-dim);
  letter-spacing: 0.02em; margin-bottom: 8px;
}
.field-input {
  width: 100%; padding: 12px 14px;
  background: var(--bg-0);
  border: 1px solid var(--line-2);
  color: var(--silver);
  font-family: 'Karla', sans-serif; font-size:18px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field-input::placeholder { color: var(--silver-faint); }
.field-input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-soft);
}
.field-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}
.field-error {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size:14px; color: #e57373;
  min-height: 0;
}
.field-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.field-link {
  font-size:15px; color: var(--silver-dim);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.field-link:hover { color: var(--copper); border-bottom-color: var(--copper); }

/* Remember me */
.field-remember {
  margin-bottom: 16px;
}
.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size:16px;
  color: var(--silver-dim);
  cursor: pointer;
  user-select: none;
}
.remember-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--copper);
  cursor: pointer;
  flex-shrink: 0;
}
.remember-label:hover { color: #ededed; }

/* Submit button */
.btn-submit {
  width: 100%; padding: 13px 16px;
  background: var(--copper); color: #fff;
  border: 1px solid var(--copper);
  font-family: 'Karla', sans-serif;
  font-size:18px; font-weight: 600;
  letter-spacing: 0.01em; cursor: pointer;
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.15s ease;
  position: relative; overflow: hidden;
}
.btn-submit:hover:not(:disabled) {
  background: #b86a36;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(166, 94, 46, 0.5);
}
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-submit .arrow { transition: transform 0.2s; }
.btn-submit:hover:not(:disabled) .arrow { transform: translateX(3px); }

/* Spinner */
.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.success-state { text-align: center; padding: 20px 0; }
.success-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--copper);
  background: var(--copper-soft);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  animation: scaleIn 0.3s ease;
}
@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.success-title {
  font-size:25px; color: #ededed; margin: 0 0 8px;
  font-weight: 600; letter-spacing: -0.01em;
  font-family: 'Karla', sans-serif;
}
.success-sub {
  color: var(--silver-dim); font-size:17px;
  line-height: 1.5; margin: 0;
  font-family: 'Karla', sans-serif;
}
.success-mono { font-family: 'JetBrains Mono', monospace; color: var(--copper); }

/* Footnote */
.auth-footnote {
  margin-top: 24px; text-align: center;
  font-size:15px; color: var(--silver-faint); line-height: 1.5;
}
.auth-footnote a {
  color: var(--silver-dim);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.auth-footnote a:hover { color: var(--copper); text-decoration-color: var(--copper); }

/* Auth foot */
.auth-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size:14px; color: var(--silver-faint); letter-spacing: 0.06em;
}
.auth-foot .links { display: flex; gap: 18px; }
.auth-foot a { color: var(--silver-faint); text-decoration: none; }
.auth-foot a:hover { color: var(--silver-dim); }

/* ── Hamburger / Mobile menu ───────────────────────────────────────────── */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.hamburger .bar {
  width: 20px; height: 1.5px;
  background: var(--silver);
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}
.hamburger .bar.a { transform: translateY(3.5px) rotate(45deg); }
.hamburger .bar.b { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(2px);
  z-index: 9998;
  animation: rev 0.18s ease both;
}

.mobile-menu {
  position: fixed;
  top: 78px; right: 22px; left: 22px;
  z-index: 9999;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.7);
  animation: rev 0.18s ease both;
}
.mm-item {
  padding: 14px 16px;
  font-family: 'Karla', sans-serif;
  font-size:19px; color: var(--silver);
  text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.15s, color 0.15s;
}
.mm-item:hover { background: var(--bg-2); color: #ededed; }
.mm-item.mm-primary {
  background: var(--copper); color: #fff;
  font-weight: 600; margin-bottom: 4px;
}
.mm-item.mm-primary:hover { background: #b86a36; color: #fff; }
.mm-item.mm-dim { color: var(--silver-dim); font-size:17px; padding: 11px 16px; }
.mm-item.mm-dim:hover { color: var(--silver); }
.mm-item span { font-family: 'JetBrains Mono', monospace; font-size:17px; opacity: 0.8; }
.mm-divider { height: 1px; background: var(--line); margin: 6px 8px; }

/* ── Standalone login page ─────────────────────────────────────────────── */
.login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(800px 600px at 10% 10%, rgba(166, 94, 46, 0.08), transparent 60%),
    radial-gradient(800px 600px at 90% 90%, rgba(122, 63, 207, 0.07), transparent 60%);
}
.login-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.login-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--silver-dim); text-decoration: none;
  font-size:17px; font-family: 'Karla', sans-serif;
  padding: 6px 10px; margin-left: -10px;
  transition: color 0.15s;
}
.login-back:hover { color: var(--copper); }
.login-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px 48px;
}
.login-foot {
  padding: 20px 28px 24px;
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size:14px; color: var(--silver-faint);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
}
.login-foot .links { display: flex; gap: 18px; }
.login-foot a { color: var(--silver-faint); text-decoration: none; }
.login-foot a:hover { color: var(--silver-dim); }

/* ── Auth-form shared utilities (home.html + login.html) ─────────────────── */
.is-hidden          { display: none; }
.auth-top-hint      { font-size:16px; color: var(--silver-faint); letter-spacing: 0.02em; }
.cf-turnstile       { margin: 12px 0 4px; }
.forgot-form        { margin-top: 20px; }
.forgot-success {
  margin-top: 16px;
  color: var(--green);
  font-size:17px;
  line-height: 1.5;
}
.back-to-signin-row { margin-top: 20px; }
.back-to-signin-link {
  color: var(--silver-dim);
  font-size:16px;
}

@media (max-width: 600px) {
  .login-header { padding: 16px 18px; }
  .login-header .logo-name { font-size:18px; }
  .login-header .logo-mark img { width: 28px; height: 28px; }
  .login-main { padding: 24px 20px 32px; }
  .login-foot { padding: 16px 18px 20px; font-size:13px; flex-wrap: wrap; gap: 8px; }
  .login-foot .links { gap: 14px; }
}

/* ── Reveal animations ─────────────────────────────────────────────────── */
/*
   Opacity intentionally excluded from keyframes: content is always at
   opacity:1 so Lighthouse / crawlers always see it on first paint.
   The slide-up transform gives the visual entrance without hiding content.
*/
.reveal { animation: rev 0.45s ease both; }
@keyframes rev {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.10s; }
.reveal.d3 { animation-delay: 0.18s; }
.reveal.d4 { animation-delay: 0.26s; }

/* ── Responsive ────────────────────────────────────────────────────────── */

/* Tablet & below: stack panes */
@media (max-width: 880px) {
  .pane-brand, .pane-auth { padding: 36px 36px; }
  .pane-brand { border-right: none; border-bottom: 1px solid var(--line); }
  .brand-mid  { max-width: none; margin-left: 0; }
  h1.headline { font-size: clamp(38px, 7vw, 54px); }
  .sub        { font-size:19px; max-width: none; }
  .auth-card  { max-width: 460px; }
  .brand-top  { gap: 16px; flex-wrap: wrap; }
}

/* Phone: hide auth pane, show brand only with hamburger menu */
@media (max-width: 600px) {
  /* Auth pane moves to /login page on mobile */
  .pane-auth { display: none; }

  .pane-brand {
    padding: 0;
    border-right: none;
    border-bottom: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* Sticky header bar */
  .brand-top {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    flex-wrap: nowrap;
  }
  .logo-mark { width: 36px; height: 36px; }
  .logo-mark img { width: 32px; height: 32px; }
  .logo-name { font-size:20px; }

  /* Hide desktop noise */
  .status-pill { display: none; }
  .eyebrow     { display: none; }
  .ticker      { display: none; }
  .brand-foot  { display: none; }

  /* Keep the offer tag as single line above headline */
  .eyebrow-offer {
    display: inline-flex;
    font-size: 12.5px;
    margin: 0 0 18px;
    color: #d4af37;
  }

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Spacer above headline */
  .brand-spacer {
    display: block;
    flex: 0 0 3vh;
    min-height: 14px;
  }

  /* Headline area — centered, natural top-aligned flow */
  .brand-mid {
    padding: 0 22px;
    max-width: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    min-height: 0;
  }
  h1.headline {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.05;
    margin: 0 0 36px;
    letter-spacing: -0.025em;
  }
  h1.headline .ital { font-size: 0.88em; }
  .tagline {
    font-size:21px;
    margin: 0 0 14px;
    max-width: 100%;
  }
  .sub {
    font-size:18px;
    margin: 0;
    max-width: 460px;
    line-height: 1.55;
  }

  /* Steps section — flows naturally below body text */
  .features-wrap {
    padding: 44px 22px 48px;
    margin-top: 36px;
    border-top: 1px solid var(--line);
    background:
      radial-gradient(600px 400px at 80% 20%, rgba(122, 63, 207, 0.06), transparent 70%),
      var(--bg-0);
    display: block;
  }
  .features {
    flex-direction: column;
    margin-top: 0;
    border-top: none;
    width: 100%;
  }
  .feature {
    flex: 1 1 auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    width: 100%;
  }
  .feature:first-child { padding-top: 0; }
  .feature:last-child  { border-bottom: none; padding-bottom: 0; }
  .feature:not(:first-child) { padding-left: 0; }
  .feature-num   { font-size:17px; margin-bottom: 6px; }
  .feature-title { font-size:20px; margin-bottom: 6px; }
  .feature-desc  { font-size: 14.5px; line-height: 1.55; }
}

/* Tiny phones (< 380px) */
@media (max-width: 380px) {
  h1.headline { font-size:41px; }
  .tagline { font-size:19px; }
  .sub { font-size:17px; }
  .brand-top { padding: 14px 18px; }
  .features-wrap { padding: 48px 18px 40px; }
}
