/*
 * StarsBanking redesign stylesheet.
 * Dark navy palette, blue→mint accent gradient, Unbounded/Manrope typography.
 * Single theme, production-optimized — no editor tweaks.
 */

:root {
  --accent: #5ea6ff;
  --accent-2: #7dffcf;
  --accent-grad: linear-gradient(135deg, #5ea6ff 0%, #3d8cff 60%, #7dffcf 120%);
  --accent-glow: rgba(94, 166, 255, 0.32);

  --bg: #07111f;
  --bg-2: #0d1830;
  --bg-3: #12203d;
  --bg-raise: #0f1b33;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-hover: rgba(255, 255, 255, 0.08);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef4ff;
  --text-muted: #aeb8d0;
  --text-dim: #7a86a3;

  --font-display: 'Unbounded', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --space-section: clamp(80px, 10vw, 140px);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(94, 166, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(125, 255, 207, 0.10), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, video { max-width: 100%; display: block; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 8% -10%, var(--accent-glow), transparent 62%),
    radial-gradient(700px 500px at 95% 15%, rgba(125, 255, 207, 0.14), transparent 60%);
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.9'/></svg>");
}

.wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07111f;
  font-weight: 800;
  box-shadow: 0 0 24px var(--accent-glow);
}
.brand-mark svg { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 20px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); }
.nav-links a.active { color: var(--text); background: var(--bg-hover); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
}
.lang a {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.lang a.active { background: var(--text); color: var(--bg); }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav-links { margin-left: 0; order: 3; width: 100%; }
  .nav-right { margin-left: auto; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--accent-grad);
  color: #07111f;
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-hover); border-color: var(--text-muted); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

.hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 80px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 22px 0 24px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.meta-item .meta-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.meta-item .meta-lbl {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.calc::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--border-strong), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.calc-dots { display: flex; gap: 5px; }
.calc-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  display: block;
}
.calc-dots i.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.calc-row { margin-bottom: 14px; }
.calc-label {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.calc-input-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s;
}
.calc-input-wrap:focus-within { border-color: var(--accent); }
.calc-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.calc-unit {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--text-muted);
}

.calc-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.calc-preset {
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.calc-preset:hover { color: var(--text); border-color: var(--text-muted); }
.calc-preset.active { color: #07111f; background: var(--accent); border-color: transparent; }

.calc-total {
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.calc-total-lbl { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.calc-total-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.calc-total-val small {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 2px;
}
.calc-cta {
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border: none;
}
.calc-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

section.section {
  padding: var(--space-section) 0;
  position: relative;
}
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 16px;
}
.sec-eyebrow::before { content: "// "; opacity: 0.5; }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.sec-head p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.step:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 16px 0 10px;
}
.step p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 15px;
  margin: 0;
}
.step-inline { padding: 28px 28px 24px; }

.step-visual {
  height: 200px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(140% 140% at 0% 0%, rgba(94, 166, 255, 0.22), transparent 55%),
    radial-gradient(140% 140% at 100% 100%, rgba(125, 255, 207, 0.18), transparent 55%),
    var(--bg-3);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}
.step-visual:not(:has(video))::after {
  content: attr(data-label);
  position: absolute;
  left: 20px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.step-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* ─── Buy form (single functional panel) ─── */
.buy-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.buy-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--border-strong), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  position: relative;
}
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }
.buy-col {
  display: flex;
  flex-direction: column;
  background: rgba(7, 17, 31, 0.55);
}
.buy-col > .buy-step + .buy-step {
  border-top: 1px solid var(--border);
}
.buy-step {
  background: rgba(7, 17, 31, 0.55);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.buy-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.buy-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.buy-step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.buy-step p.buy-step-hint {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.buy-payoff {
  grid-column: 1 / -1;
  padding: 20px 28px;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.buy-payoff-left { min-width: 0; }
.buy-payoff-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.buy-payoff-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.buy-payoff .btn { flex-shrink: 0; }

.text-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-raise);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
}
.text-input:focus { border-color: var(--accent); }
.text-input::placeholder { color: var(--text-dim); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
@media (max-width: 600px) { .amount-grid { grid-template-columns: repeat(3, 1fr); } }
.amount-btn {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-raise);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.amount-btn:hover { border-color: var(--text-muted); }
.amount-btn.active {
  background: var(--accent);
  color: #07111f;
  border-color: transparent;
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.provider-list::-webkit-scrollbar { width: 6px; }
.provider-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.provider-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-raise);
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.provider-btn:hover { transform: translateY(-1px); border-color: var(--text-muted); }
.provider-btn.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(94, 166, 255, 0.14), rgba(125, 255, 207, 0.06));
}
.provider-btn-name { font-weight: 600; font-size: 15px; }
.provider-btn-price {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.auth-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in oklab, var(--accent-2) 40%, transparent);
  background: color-mix(in oklab, var(--accent-2) 10%, transparent);
  color: var(--accent-2);
  font-size: 14px;
}
.auth-card strong { color: var(--text); }

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.toggle-row input[type="checkbox"] { accent-color: var(--accent); }

.buy-summary {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  border: 1px solid var(--border-strong);
  font-size: 14px;
}
.buy-summary-label { color: var(--text-muted); font-size: 12px; }
.buy-summary-value { font-weight: 600; margin-top: 2px; }

.buy-error {
  color: #ff7a7a;
  font-size: 13px;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.3);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: rgba(7, 17, 31, 0.55);
  padding: 36px 28px;
  transition: background 0.2s;
}
.feature:hover { background: rgba(255, 255, 255, 0.03); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 20px; height: 20px; stroke-width: 1.6; }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.feature p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }

.trust-band {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.trust-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(400px 200px at 85% 50%, var(--accent-glow), transparent 70%);
  opacity: 0.6;
}
@media (max-width: 900px) {
  .trust-band { grid-template-columns: repeat(2, 1fr); padding: 28px; }
}
.trust-lead h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.trust-lead p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 260px;
}
.trust-stat { position: relative; z-index: 1; }
.trust-val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.trust-val em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-lbl {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feed {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.feed-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.feed-list {
  max-height: 260px;
  overflow: hidden;
  position: relative;
}
.feed-list::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, var(--bg-card));
}
.feed-row {
  display: grid;
  grid-template-columns: 120px 1fr 140px 100px;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  align-items: center;
}
@media (max-width: 700px) {
  .feed-row { grid-template-columns: 1fr 1fr; }
  .feed-row .col-hide { display: none; }
}
.feed-row .col-t { font-family: var(--font-mono); color: var(--text-dim); font-size: 12px; }
.feed-row .col-u { color: var(--text); font-weight: 500; }
.feed-row .col-a { font-family: var(--font-display); font-weight: 500; color: var(--accent); }
.feed-row .col-s {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-intro h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 16px;
}
.faq-intro p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.faq-intro a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.faq-list details {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.015em;
  padding-right: 8px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
  width: 22px;
  flex-shrink: 0;
  text-align: center;
}
.faq-list details[open] summary::after { content: "−"; color: var(--accent); }
.faq-list details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
  max-width: 580px;
}

.cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 300px at 50% 0%, var(--accent-glow), transparent 70%),
    radial-gradient(600px 300px at 50% 100%, rgba(125, 255, 207, 0.18), transparent 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 16px;
}
.cta p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto 28px;
}
.cta-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: var(--space-section);
  padding: 48px 0 28px;
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand-col { grid-column: 1 / -1; }
}
.foot-brand-col p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.55;
  margin: 16px 0 0;
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.68, 0, 1.1);
}
.reveal.in, .reveal.visible { opacity: 1; transform: none; }

.page-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px);
  max-width: 760px;
  text-wrap: balance;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 18px;
}
.page-hero p.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 640px;
}

.grid-2, .grid-3 {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.panel:hover { border-color: var(--border-strong); }
.panel .sec-eyebrow { margin-bottom: 8px; }
.panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.panel p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}
.panel ul, .panel ol {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
  margin: 10px 0 0;
  padding-left: 20px;
}

.prose {
  max-width: 760px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 16px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 48px 0 16px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 32px 0 12px;
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}
.prose strong { color: var(--text); font-weight: 600; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.status-badge--ok {
  background: color-mix(in oklab, var(--accent-2) 10%, transparent);
  border-color: color-mix(in oklab, var(--accent-2) 40%, transparent);
  color: var(--accent-2);
}
.status-badge--warn {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}
.status-badge--down {
  background: rgba(255, 100, 100, 0.12);
  border-color: rgba(255, 100, 100, 0.4);
  color: #ff7a7a;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  padding: 0;
  margin: -1px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow-dot { animation: none; }
}
