/* ═══════════════════════════════════════════════════
   STELAE — Design Tokens
   Stone palette, cuneiform-inspired ancient aesthetic
   ═══════════════════════════════════════════════════ */
:root {
  --stone-50: #f7f5f2;
  --stone-100: #ede9e3;
  --stone-200: #ddd6cc;
  --stone-300: #c4b9aa;
  --stone-400: #a89888;
  --stone-500: #8d7b69;
  --stone-600: #746252;
  --stone-700: #5c4d42;
  --stone-800: #3e342c;
  --stone-900: #262019;
  --stone-950: #151210;
  --ochre: #b8943e;
  --ochre-light: #d4b05a;
  --ochre-glow: rgba(184, 148, 62, 0.15);
  --basalt: #2a2520;
  --basalt-light: #3a332c;
  --ember: #c45d3e;
  --sage: #7a8c6e;
  --sage-muted: #a3b096;
  --sky: #6e8a9c;
  --success: #5a8a5e;
  --warning: #c49a3a;
  --danger: #a85a4a;
  --info: #5a7a8a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-elevated: 0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 30px rgba(184, 148, 62, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--stone-800);
  background: var(--stone-100);
  background-image: var(--noise);
  background-repeat: repeat;
  background-size: 1024px 1024px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.dark {
  color: var(--stone-200);
  background-color: var(--stone-950);
}

/* Noise texture is applied via body { background-image } above.
   No fixed overlay needed — static backgrounds don't force compositing. */

a { color: var(--ochre-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ochre); text-decoration: underline; }
code { font-family: var(--font-mono); font-size: 0.85rem; background: var(--stone-200); padding: 0.1rem 0.3rem; border-radius: 3px; }
body.dark code { background: var(--stone-800); color: var(--stone-300); }
::selection { background: var(--ochre); color: var(--stone-950); }

/* ═══════════════════════════════════════════════════
   CUNEIFORM GLYPH BORDER (alt7 glyphs on alt9 borders)
   ═══════════════════════════════════════════════════ */
.cuneiform-border {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stone-700) 20%, var(--stone-600) 50%, var(--stone-700) 80%, transparent);
  position: relative;
}
.cuneiform-border::after {
  content: '𒀀 𒁀 𒂀 𒃀 𒄀 𒀀 𒁀 𒂀 𒃀 𒄀 𒀀 𒁀 𒂀 𒃀 𒄀';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--stone-700);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  background: var(--stone-950);
  border-bottom: 1px solid var(--stone-700);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }

.nav-brand img {
  height: 36px;
  width: 36px;
  border-radius: 6px;
  border: 1px solid var(--stone-600);
  color: transparent;
}

.nav-brand span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--stone-100);
  text-transform: uppercase;
}

.beta-badge {
  font-family: var(--font-body) !important;
  font-size: 0.6rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: lowercase !important;
  color: var(--ochre) !important;
  border: 1px solid var(--ochre);
  border-radius: 3px;
  padding: 0.1em 0.35em;
  margin-left: -0.25rem;
  align-self: flex-start;
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a, .nav-links button {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--stone-400);
  background: none;
  border: none;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.nav-links a:hover, .nav-links button:hover {
  color: var(--stone-100);
  background: var(--stone-800);
  text-decoration: none;
}

.nav-links .nav-active {
  color: var(--stone-100);
  background: var(--stone-800);
}

.nav-links .nav-primary {
  background: var(--ochre);
  color: var(--stone-950);
  font-weight: 600;
}
.nav-links .nav-primary:hover {
  background: var(--ochre-light);
  color: var(--stone-950);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--stone-700);
  margin: 0 4px;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  text-decoration: none;
  border: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
  background: var(--ochre);
  color: var(--stone-950);
  box-shadow: 0 2px 12px rgba(184, 148, 62, 0.2);
}
.btn-primary:hover {
  background: var(--ochre-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(184, 148, 62, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--stone-300);
  border: 1px solid var(--stone-700);
}
.btn-ghost:hover {
  border-color: var(--stone-500);
  color: var(--stone-100);
  background: var(--stone-900);
}

.btn-danger {
  background: rgba(196,93,62,0.1);
  color: var(--ember);
  border: 1px solid rgba(196,93,62,0.25);
}
.btn-danger:hover {
  background: rgba(196,93,62,0.2);
  border-color: var(--ember);
}

.btn-secondary {
  background: transparent;
  color: var(--stone-400);
  border: 1px solid var(--stone-200);
}
body.dark .btn-secondary { border-color: var(--stone-700); color: var(--stone-400); }
.btn-secondary:hover { border-color: var(--stone-500); color: var(--stone-100); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.78rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════
   MESSAGES (snagbar inline variants)
   ═══════════════════════════════════════════════════ */
.msg-error { background: rgba(196,93,62,0.1); color: var(--ember); padding: 0.75rem; border-radius: var(--radius-md); font-size: 0.85rem; margin-bottom: 1rem; border: 1px solid rgba(196,93,62,0.2); }
.msg-info { background: rgba(90,122,138,0.1); color: var(--sky); padding: 0.75rem; border-radius: var(--radius-md); font-size: 0.85rem; margin-bottom: 1rem; border: 1px solid rgba(90,122,138,0.2); }
.msg-success { background: rgba(90,138,94,0.1); color: var(--success); padding: 0.75rem; border-radius: var(--radius-md); font-size: 0.85rem; margin-bottom: 1rem; border: 1px solid rgba(90,138,94,0.2); }
.msg-warn { background: rgba(196,154,58,0.1); color: var(--warning); padding: 0.75rem; border-radius: var(--radius-md); font-size: 0.85rem; margin-bottom: 1rem; border: 1px solid rgba(196,154,58,0.2); }

/* ═══════════════════════════════════════════════════
   TOAST NOTIFICATIONS (from alt9 snagbar style)
   ═══════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

.toast {
  padding: 0.85rem 1.25rem;
  background: var(--basalt);
  border: 1px solid var(--stone-700);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  color: var(--stone-200);
  box-shadow: var(--shadow-lg);
  animation: toastSlideIn 0.35s var(--ease-out);
  max-width: 360px;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-info { border-left: 3px solid var(--info); }

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   LANDING PAGE (alt9 structure, alt7 glyphs)
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, var(--ochre-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--stone-950), transparent);
  pointer-events: none;
}

/* Decorative cuneiform glyph line at top of hero (from alt7) */
.hero-glyphs {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--stone-700);
  letter-spacing: 0.4em;
  white-space: nowrap;
  opacity: 0.6;
}

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 22px;
  object-fit: cover;
  margin-bottom: 32px;
  background: #231e17;
  color: transparent;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--stone-100);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.hero-heading em { font-style: italic; color: var(--ochre-light); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--stone-400);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-price {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--basalt);
  border: 1px solid var(--stone-700);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.75rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.hero-price-amount { font-size: 1.75rem; font-weight: 600; color: var(--ochre-light); }
.hero-price-period { font-size: 0.88rem; color: var(--stone-400); }

.hero-actions {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* How it works */
.how-section { padding: 6rem 1.5rem; max-width: 960px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--stone-100);
  line-height: 1.2;
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  counter-increment: step;
  padding: 2rem 1.5rem;
  background: var(--basalt);
  border: 1px solid var(--stone-800);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.step:hover { border-color: var(--stone-600); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--stone-700);
  line-height: 1;
  display: block;
  margin-bottom: 1.25rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stone-100);
  margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.85rem; color: var(--stone-400); line-height: 1.6; }

/* Features */
.features-section { padding: 5rem 1.5rem 7.5rem; max-width: 960px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--stone-800);
  border-radius: var(--radius-md);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.feature-card:hover { border-color: var(--stone-600); background: rgba(255,255,255,0.015); }
.feature-icon { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-100);
  margin-bottom: 0.4rem;
}
.feature-desc { font-size: 0.85rem; color: var(--stone-400); line-height: 1.6; }

/* Static compatibility section */
.static-section { padding: 5rem 1.5rem; max-width: 720px; margin: 0 auto; }
.static-intro {
  font-size: 1rem;
  color: var(--stone-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.static-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.static-col {
  padding: 1.5rem;
  border: 1px solid var(--stone-800);
  border-radius: var(--radius-md);
}
.static-col-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.static-col-heading.works { color: var(--sage-muted); }
.static-col-heading.wont { color: var(--ochre); }
.static-col ul {
  list-style: none;
  padding: 0;
}
.static-col li {
  font-size: 0.85rem;
  color: var(--stone-400);
  line-height: 1.6;
  padding: 0.3rem 0;
}
.static-col li + li { border-top: 1px solid var(--stone-800); }
.static-works li::before {
  content: '✓ ';
  color: var(--sage-muted);
  font-weight: 600;
}
.static-wont li::before {
  content: '✗ ';
  color: var(--stone-600);
  font-weight: 600;
}
.static-cta { text-align: center; margin-top: 1.5rem; }

/* Deal section */
.deal-section { padding: 5rem 1.5rem; text-align: center; position: relative; }
.deal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 148, 62, 0.03) 50%, transparent 100%);
  pointer-events: none;
}
.deal-box {
  max-width: 640px;
  margin: 1.5rem auto 0;
  padding: 3rem;
  border: 1px solid var(--stone-700);
  border-radius: var(--radius-lg);
  background: var(--basalt);
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  text-align: left;
}
.deal-price-col {
  flex-shrink: 0;
  text-align: center;
  padding-right: 2.5rem;
  border-right: 1px solid var(--stone-700);
}
.deal-price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--ochre-light);
  line-height: 1;
}
.deal-price-period {
  font-size: 0.75rem;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}
.deal-pitch-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.deal-pitch-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--stone-200);
  line-height: 1.4;
}
.deal-pitch-sub {
  font-size: 0.8rem;
  color: var(--stone-500);
}

/* Landing footer */
.landing-footer { padding: 3rem 1.5rem; text-align: center; border-top: 1px solid var(--stone-800); }
.landing-footer .footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.landing-footer .footer-links a { font-size: 0.82rem; color: var(--stone-500); }
.landing-footer .footer-links a:hover { color: var(--stone-300); text-decoration: none; }
.landing-footer .footer-copy { font-size: 0.75rem; color: var(--stone-600); }
.landing-footer .footer-etymology { font-size: 0.7rem; color: var(--stone-700); font-style: italic; margin-top: 0.5rem; }

/* Fade-up animation */
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s var(--ease-out) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════════════
   AUTH PAGES (Login / Register / Auth actions)
   Dark background, centered card
   ═══════════════════════════════════════════════════ */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--basalt);
  border: 1px solid var(--stone-700);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Cuneiform glyph decoration at top of auth cards */
.auth-card::before {
  content: '𒀀 𒁀 𒂀 𒃀 𒄀 𒀀 𒁀 𒂀 𒃀 𒄀';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--stone-700);
  padding: 8px;
  border-bottom: 1px solid var(--stone-800);
}

.auth-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0.5rem auto 1.5rem;
  background: #231e17;
  color: transparent;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--stone-100);
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.auth-card .auth-sub {
  font-size: 0.85rem;
  color: var(--stone-500);
  text-align: center;
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--stone-400);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone-100);
  background: var(--stone-900);
  border: 1px solid var(--stone-700);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder { color: var(--stone-600); }
.form-group input:focus, .form-group select:focus {
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(184, 148, 62, 0.12);
}
.form-group small { display: block; margin-top: 0.25rem; color: var(--stone-600); font-size: 0.78rem; }

.input-with-toggle { position: relative; }
.input-with-toggle input { padding-right: 3.5rem; }
.toggle-password {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: var(--stone-500); font-size: 0.78rem;
  cursor: pointer; padding: 0.2rem 0.4rem; font-family: var(--font-body);
}
.toggle-password:hover { color: var(--stone-300); }

.auth-links {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--stone-500);
}
.auth-links a { color: var(--ochre-light); cursor: pointer; font-weight: 500; }
.auth-links a:hover { text-decoration: underline; }

.form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.form-footer a { font-size: 0.82rem; color: var(--stone-400); }

/* ═══════════════════════════════════════════════════
   DASHBOARD
   Light stone background, card grid
   ═══════════════════════════════════════════════════ */
.dash-body {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.dash-header h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--stone-800);
  letter-spacing: 0.04em;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--stone-200);
  margin-bottom: 1.5rem;
}
.tab {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--stone-500);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.2s;
}
.tab:hover { color: var(--stone-700); }
.tab.active { color: var(--ochre); border-bottom-color: var(--ochre); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Site grid */
.site-grid { display: grid; gap: 1rem; }

/* Site card (from alt6) */
.site-card {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-card:hover {
  border-color: var(--stone-300);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.site-card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--stone-200);
}

.site-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--stone-800);
  letter-spacing: 0.02em;
}

.site-card-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--stone-500);
  margin-top: 0.2rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-running { background: rgba(122,140,110,0.15); color: var(--sage); }
.status-running::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

.status-stopped { background: rgba(110,138,156,0.12); color: var(--sky); }
.status-stopped::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

.status-suspended { background: rgba(196,93,62,0.1); color: var(--ember); }
.status-suspended::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }

.status-pending { background: rgba(196,154,58,0.1); color: var(--warning); }
.status-pending::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--warning); animation: statusPulse 2s infinite; }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.sub-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 0.25rem;
  letter-spacing: 0.03em;
}
.sub-badge.active { background: rgba(122,140,110,0.12); color: var(--sage); }
.sub-badge.pending { background: rgba(196,154,58,0.1); color: var(--warning); }
.sub-badge.cancelled { background: rgba(196,154,58,0.08); color: var(--warning); }
.sub-badge.expired { background: rgba(196,93,62,0.08); color: var(--ember); }

.site-card.card-suspended { opacity: 0.75; border-color: rgba(196,93,62,0.2); }

.site-card-body { padding: 1.25rem 1.5rem; }

.site-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.site-meta-item label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--stone-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.site-meta-item span {
  font-size: 0.85rem;
  color: var(--stone-700);
  font-weight: 500;
}
.site-meta-item .mono { font-family: var(--font-mono); font-size: 0.78rem; }

.site-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-200);
}

/* Inline link rows (editor link, live site) */
.link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
}
.link-row label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-400);
  flex-shrink: 0;
  min-width: 3rem;
}
.link-row a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ochre);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.link-row a:hover { text-decoration: underline; }
.link-row a.link-sage { color: var(--sage); }
.link-row .link-actions {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
}

/* Icon buttons (inside link rows) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  color: var(--stone-400);
  padding: 0;
}
.icon-btn:hover { color: var(--stone-700); background: var(--stone-200); border-color: var(--stone-300); }
.icon-btn svg { width: 14px; height: 14px; }

/* Overflow menu (⋯) */
.overflow-wrap {
  position: relative;
  margin-left: auto;
}
.overflow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid var(--stone-300);
  background: transparent;
  color: var(--stone-600);
  letter-spacing: 0.1em;
}
.overflow-btn:hover { border-color: var(--stone-500); color: var(--stone-800); background: var(--stone-100); }
.overflow-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 4px;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 190px;
  z-index: 100;
  padding: 0.25rem 0;
}
.overflow-menu.open { display: block; }
.overflow-menu button,
.overflow-menu a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-family: var(--font-body);
  color: var(--stone-700);
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
}
.overflow-menu button:hover,
.overflow-menu a:hover { background: var(--stone-100); color: var(--stone-800); text-decoration: none; }
.overflow-sep { height: 1px; background: var(--stone-200); margin: 0.25rem 0; }

/* Credential block */
.credential-block {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.credential-block h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  margin-bottom: 0.75rem;
}
.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}
.credential-row:not(:last-child) { border-bottom: 1px solid var(--stone-200); }
.credential-label { font-size: 0.78rem; color: var(--stone-500); }
.credential-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--stone-700);
  background: var(--stone-50);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--stone-200);
}

/* CF status */
.cf-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.cf-connected { background: rgba(122,140,110,0.1); color: var(--sage); }
.cf-not-connected { background: var(--stone-100); color: var(--stone-400); border: 1px dashed var(--stone-300); }

/* New site card */
.new-site-card {
  border: 2px dashed var(--stone-300);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  background: transparent;
  min-height: 160px;
}
.new-site-card:hover {
  border-color: var(--ochre);
  background: rgba(184,148,62,0.03);
}
.new-site-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--stone-500);
  margin-bottom: 0.75rem;
  transition: background 0.25s, color 0.25s;
}
.new-site-card:hover .new-site-icon { background: var(--ochre); color: var(--stone-950); }
.new-site-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--stone-600);
  margin-bottom: 0.25rem;
}
.new-site-card p { font-size: 0.78rem; color: var(--stone-400); }

/* Usage */
.usage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.usage-card {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 1.25rem;
}
.usage-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: 0.75rem;
}
.usage-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--stone-200);
}
.usage-row:last-child { border-bottom: none; }
.usage-label { color: var(--stone-500); }
.usage-value { font-weight: 500; color: var(--stone-700); }
.usage-bar { height: 6px; background: var(--stone-200); border-radius: 3px; margin-top: 0.5rem; overflow: hidden; }
.usage-bar-fill { height: 100%; background: var(--ochre); border-radius: 3px; transition: width 0.3s; }
.usage-bar-fill.warn { background: var(--warning); }
.usage-bar-fill.danger { background: var(--ember); }

/* Billing tab */
.billing-card {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 540px;
}
.billing-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: 1rem;
}
.billing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}
.billing-row + .billing-row { border-top: 1px solid var(--stone-200); }
.billing-status { font-weight: 500; }
.billing-status.active { color: var(--sage); }
.billing-status.inactive { color: var(--stone-500); }

/* Empty state */
.empty-state { text-align: center; padding: 3rem; color: var(--stone-500); grid-column: 1 / -1; }
.loading { text-align: center; color: var(--stone-500); grid-column: 1 / -1; }

/* Inline spinner for buttons */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.35rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════
   MODALS (from alt6 style)
   ═══════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24,22,20,0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease-out;
}
.modal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--stone-800);
}
.modal .modal-sub {
  font-size: 0.82rem;
  color: var(--stone-500);
  margin-bottom: 1.5rem;
}
.modal .form-group label { color: var(--stone-500); }
.modal .form-group input {
  background: white;
  color: var(--stone-800);
  border-color: var(--stone-300);
}
.modal .form-group input:focus {
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(184,148,62,0.12);
}
.modal .form-group input::placeholder { color: var(--stone-400); }
.modal .form-group small { color: var(--stone-400); }
.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.template-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--stone-300);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 0.2s, background 0.2s;
  color: var(--stone-600);
  background: white;
}
.template-option:has(input:checked) { border-color: var(--ochre); background: rgba(184,148,62,0.05); }
.template-option input { accent-color: var(--ochre); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════
   ACCOUNT PAGE (from alt6)
   ═══════════════════════════════════════════════════ */
.account-body {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.account-body h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--stone-800);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.settings-section {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.settings-section h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--stone-800);
}
.settings-section .section-desc {
  font-size: 0.8rem;
  color: var(--stone-500);
  margin-bottom: 1.25rem;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.settings-row:not(:last-child) { border-bottom: 1px solid var(--stone-200); }
.settings-row label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--stone-700);
}
.settings-row .value {
  font-size: 0.82rem;
  color: var(--stone-500);
  font-family: var(--font-mono);
}

.danger-zone { border-color: rgba(196,93,62,0.2); }
.danger-zone h2 { color: var(--ember); }

/* ═══════════════════════════════════════════════════
   LEGAL PAGES (TOS, Privacy, Impressum)
   ═══════════════════════════════════════════════════ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--stone-800);
  margin-bottom: 0.25rem;
}
.legal .updated {
  font-size: 0.82rem;
  color: var(--stone-500);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--stone-700);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal p, .legal li, .legal address {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--stone-600);
  margin-bottom: 0.75rem;
}
.legal address {
  font-style: normal;
}
.legal ul, .legal ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal li {
  margin-bottom: 0.4rem;
}
.legal a {
  color: var(--ochre);
  text-decoration: underline;
  text-decoration-color: var(--ochre-glow);
  text-underline-offset: 2px;
}
.legal a:hover {
  color: var(--ochre-light);
  text-decoration-color: var(--ochre);
}
.legal strong {
  color: var(--stone-800);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   FOOTER (for non-landing pages)
   ═══════════════════════════════════════════════════ */
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--stone-500);
  font-size: 0.8rem;
  border-top: 1px solid var(--stone-200);
  margin-top: auto;
}
footer a { color: var(--stone-500); font-size: 0.8rem; }
footer a:hover { color: var(--stone-700); text-decoration: none; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-links .sep { color: var(--stone-300); }
body.dark footer { border-top-color: var(--stone-800); }
body.dark footer a { color: var(--stone-600); }
body.dark footer a:hover { color: var(--stone-400); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Layout */
  nav { padding: 0 1rem; }
  .nav-brand span { font-size: 1.1rem; }
  .dash-body, .account-body { padding: 1.25rem; }
  .dash-header { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .hero { padding: 100px 16px 60px; }
  .legal { padding: 2rem 1rem 3rem; }
  .legal h1 { font-size: 1.6rem; }
  .hero-glyphs { top: 40px; overflow: hidden; max-width: 100vw; }
  .cuneiform-border::after { display: none; }
  .deal-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .deal-price-col {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--stone-700);
  }
  .deal-pitch-col { align-items: center; }
  .deal-pitch-col .btn { align-self: center !important; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .static-columns { grid-template-columns: 1fr; }
  .site-meta { grid-template-columns: 1fr 1fr; }
  .site-card-actions { flex-direction: column; }
  .site-card-actions .btn { width: 100%; }
  .settings-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .tabs { overflow-x: auto; }
  .sites-grid, .usage-grid { grid-template-columns: 1fr; }
  .billing-card { max-width: 100%; }
  .auth-card { padding: 2.25rem 1.5rem; }

  /* Performance — kill expensive effects */
  body, body.dark { background-image: none !important; }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-logo {
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 40px rgba(184, 148, 62, 0.15) !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  /* Replace expensive radial-gradient pseudo with a smaller, simpler one */
  .hero::before {
    width: 350px !important;
    height: 350px !important;
    background: radial-gradient(ellipse, rgba(184, 148, 62, 0.25) 0%, transparent 70%) !important;
    filter: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
.faq-section {
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 2.5rem;
}
.faq-item {
  border-bottom: 1px solid var(--stone-800);
}
.faq-item summary {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stone-200);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--stone-500);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--stone-400);
  padding-bottom: 1.25rem;
}
.faq-item p a {
  color: var(--ochre-light);
}
.faq-item p a:hover {
  color: var(--ochre);
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════ */

/* Skip-to-content link: hidden until focused via keyboard */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--ochre);
  color: var(--stone-950);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.skip-link:focus {
  top: 0.5rem;
}

/* Focus-visible: keyboard-only focus rings */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}
body.dark a:focus-visible,
body.dark button:focus-visible,
body.dark .btn:focus-visible {
  outline-color: var(--ochre-light);
}

/* High contrast: strip decorative styling for users who need stronger contrast */
@media (prefers-contrast: more) {
  .hero-glyphs,
  .cuneiform-border::after { display: none !important; }
  body, body.dark {
    background-image: none !important;
  }
  .hero::before { display: none !important; }
  .deal-box, .feature-card, .step {
    border-width: 2px !important;
  }
  .deal-pitch-sub, .feature-desc, .step-desc {
    color: inherit !important;
  }
}

/* Windows High Contrast: let the browser fully control colors */
@media (forced-colors: active) {
  .hero-glyphs,
  .cuneiform-border::after { display: none !important; }
  .btn-primary {
    border: 2px solid ButtonText;
  }
  .deal-price-col {
    border-right-color: ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-logo { animation: none !important; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--stone-100); }
::-webkit-scrollbar-thumb { background: var(--stone-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-500); }
body.dark::-webkit-scrollbar-track { background: var(--stone-950); }
body.dark::-webkit-scrollbar-thumb { background: var(--stone-700); }
body.dark::-webkit-scrollbar-thumb:hover { background: var(--stone-600); }

/* Getting started checklist */
.gs-card {
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--stone-50);
}
body.dark .gs-card {
  border-color: var(--stone-700);
  background: var(--stone-900);
}
.gs-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.gs-items { display: flex; flex-direction: column; gap: 0.35rem; }
.gs-item {
  font-size: 0.88rem;
  color: var(--stone-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.dark .gs-item { color: var(--stone-400); }
.gs-item.gs-done { color: var(--stone-400); }
body.dark .gs-item.gs-done { color: var(--stone-600); }
.gs-check {
  width: 1.1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--sage);
}
