/* ── TOKENS ── */
:root {
  --bg: #0A0A0C;
  --bg-2: #0F0F12;
  --bg-card: #12121A;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(56,189,248,0.35);
  --accent: #38BDF8;
  --accent-light: #7DD3FC;
  --accent-dark: #0284C7;
  --text: #F0F4FA;
  --text-2: #97A3B8;
  --text-3: #58627A;
  --success: #10B981;
  --danger: #EF4444;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --trans: 0.22s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ── AMBIENT BACKGROUND (whole site) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 15% 10%, rgba(56,189,248,0.08), transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 30%, rgba(168,85,247,0.06), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 90%, rgba(56,189,248,0.05), transparent 65%);
  background-size: 200% 200%;
  animation: ambientDrift 30s ease-in-out infinite;
}
@keyframes ambientDrift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%; }
  50% { background-position: 20% 15%, 80% 20%, 45% 85%; }
}

/* Star field canvas — faint, slow twinkle, drawn once via JS */
#bgStars {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* Fire glow — warm flicker hugging the very bottom edge of the viewport */
html::after {
  content: '';
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(251,146,60,0.10), transparent 70%);
  animation: fireFlicker 4s ease-in-out infinite;
}
@keyframes fireFlicker {
  0%, 100% { opacity: 0.7; }
  25% { opacity: 1; }
  50% { opacity: 0.6; }
  75% { opacity: 0.9; }
}

/* Water flow — slow horizontal wave layers at the bottom of the page */
.bg-water {
  position: fixed; left: 0; right: 0; bottom: 0; height: 140px;
  z-index: 0; overflow: hidden; pointer-events: none;
}
.bg-wave {
  position: absolute; bottom: -10px; left: 0;
  width: 200%; height: 100%;
}
.bg-wave svg { display: block; width: 100%; height: 100%; }
.bg-wave-1 {
  opacity: 0.22;
  animation: waveScroll 14s linear infinite;
}
.bg-wave-2 {
  opacity: 0.14;
  animation: waveScroll 22s linear infinite reverse;
}
@keyframes waveScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Everything else needs to sit above the ambient background layers */
.navbar, .hero, .how, .features, .cta-band, .footer, .results-wrap {
  position: relative;
  z-index: 1;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); border: none; cursor: pointer; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.55); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: var(--trans); }
.nav-links a:hover { color: var(--accent-light); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; box-shadow: 0 2px 12px rgba(56,189,248,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.brand-name { font-weight: 700; font-size: 15px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-tag { font-size: 13px; color: var(--text-3); }
.nav-gh-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); border: 1px solid var(--border); transition: var(--trans);
}
.nav-gh-btn:hover { color: var(--accent-light); border-color: var(--border-accent); }

/* ── HERO ── */
.hero { position: relative; padding: 80px 24px 60px; overflow: hidden; }
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(2,132,199,0.15), transparent);
}
.hero-container { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--accent-light);
  background: rgba(56,189,248,0.10); border: 1px solid var(--border-accent);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.hero-heading {
  font-family: var(--font-head); font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; line-height: 1.2; margin-bottom: 20px;
}
.hero-heading .accent { color: var(--accent-light); font-style: italic; }
.hero-sub { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto 36px; }

.analyze-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 20px; }
.analyze-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.analyze-input-icon { position: absolute; left: 16px; color: var(--text-3); pointer-events: none; }
.analyze-form input {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px 14px 44px; font-size: 15px; color: var(--text);
  outline: none; transition: var(--trans); font-family: var(--font-body);
}
.analyze-form input:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }
.analyze-form button {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 12px; white-space: nowrap;
  transition: var(--trans);
}
.analyze-form button:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(56,189,248,0.35); }
.analyze-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.branch-toggle {
  display: block; margin: 0 auto 16px; background: transparent; color: var(--text-3);
  font-size: 13px; transition: var(--trans);
}
.branch-toggle:hover { color: var(--accent-light); }
.branch-wrap { max-width: 560px; margin: 0 auto 20px; }
.branch-wrap input {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--text);
  outline: none; transition: var(--trans); font-family: var(--font-body);
}
.branch-wrap input:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }

.examples { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.example-chip {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-2);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; transition: var(--trans);
}
.example-chip:hover { border-color: var(--border-accent); color: var(--accent-light); }

.status-panel { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--text-2); }
.status-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-panel {
  margin-top: 24px; padding: 14px 18px; border-radius: 12px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; font-size: 14px; max-width: 560px; margin-left: auto; margin-right: auto;
}

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-stat-val { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent-light); }
.hero-stat-lbl { font-size: 11px; color: var(--text-3); }
.hero-stat-sep { width: 1px; height: 30px; background: var(--border); }

/* ── LIVE DEMO ── */
.demo { padding: 60px 24px 20px; }
.demo-container { max-width: 1000px; margin: 0 auto; text-align: center; }
.demo-sub { color: var(--text-2); font-size: 15px; max-width: 620px; margin: 0 auto 36px; }
.demo-repo-link { color: var(--accent-light); border-bottom: 1px solid var(--border-accent); transition: var(--trans); }
.demo-repo-link:hover { color: var(--accent); }

.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; text-align: left; }
.demo-panel {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -28px rgba(0,0,0,0.6);
  transition: border-color var(--trans);
  display: flex;
  flex-direction: column;
}
.demo-panel:hover { border-color: var(--border-accent); }
.demo-panel h3 {
  font-family: var(--font-head); font-size: 18px; font-weight: 600;
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.demo-panel h3::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px 2px rgba(56,189,248,0.6);
}

.demo-summary { font-size: 14.5px; color: var(--text-2); line-height: 1.7; flex: 1; }
.demo-summary p { color: var(--text); margin-bottom: 16px; }
.demo-summary h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 10px;
}
.demo-summary ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.demo-summary li { position: relative; padding-left: 18px; color: var(--text-2); }
.demo-summary li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7;
}
.demo-view-link {
  align-self: flex-start; margin-top: 20px; font-size: 13px; font-weight: 700;
  color: var(--accent-light); transition: var(--trans);
}
.demo-view-link:hover { color: var(--accent); }

.demo-diagram {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0) 0 0/16px 16px,
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  flex: 1;
}

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

/* ── HOW IT WORKS ── */
.how { padding: 60px 24px; }
.how-container { max-width: 1000px; margin: 0 auto; text-align: center; }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent-light);
  background: rgba(56,189,248,0.08); border: 1px solid var(--border-accent);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-title { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 40px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.how-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; transition: var(--trans); }
.how-step:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.how-step-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--text-3); margin-bottom: 10px; }
.how-step-icon { font-size: 24px; margin-bottom: 12px; }
.how-step h3 { font-size: 16px; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── FEATURES ── */
.features { padding: 20px 24px 70px; }
.features-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: var(--trans); }
.feature-card:hover { border-color: var(--border-accent); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

@media (max-width: 800px) {
  .features-container, .how-steps { grid-template-columns: 1fr; }
  .analyze-form { flex-direction: column; }
  .nav-links { display: none; }
}

/* ── CTA BAND ── */
.cta-band { padding: 60px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.cta-band-inner h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.cta-band-inner p { color: var(--text-2); font-size: 15px; margin-bottom: 24px; }
.cta-band-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border-accent); color: var(--accent-light);
  font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 12px; transition: var(--trans);
}
.cta-band-btn:hover { background: rgba(56,189,248,0.1); }

/* ── PRICING ── */
.pricing { padding: 70px 24px; }
.pricing-container { max-width: 640px; margin: 0 auto; text-align: center; }
.pricing-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--border-accent); border-radius: 20px; padding: 40px 36px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 24px 48px -28px rgba(0,0,0,0.6);
}
.pricing-badge {
  display: inline-block; font-family: var(--font-head); font-size: 26px; font-weight: 700;
  color: var(--accent-light); margin-bottom: 22px;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.pricing-features li {
  position: relative; padding-left: 26px; font-size: 15px; color: var(--text);
}
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.pricing-note { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 24px; }
.pricing-card .cta-band-btn { display: inline-flex; }

/* ── ABOUT ── */
.about { padding: 20px 24px 70px; }
.about-container { max-width: 700px; margin: 0 auto; text-align: center; }
.about-body { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 18px; text-align: left; }

/* ── HELP / FAQ ── */
.help { padding: 20px 24px 70px; }
.help-container { max-width: 720px; margin: 0 auto; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 16px; text-align: left; margin-bottom: 28px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; transition: var(--trans); }
.faq-item:hover { border-color: var(--border-accent); }
.faq-item h3 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.faq-item p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.help-contact { font-size: 14px; color: var(--text-2); }

/* ── FOOTER ── */
.footer {
  max-width: 1100px; margin: 0 auto; padding: 48px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(10,10,12,0.35); backdrop-filter: blur(10px);
  border-radius: 16px 16px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px;
}
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--text-3); max-width: 220px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: var(--text-2); transition: var(--trans); }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-3);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── RESULTS PAGE ── */
.btn-outline-sm { border: 1px solid var(--border); color: var(--text-2); padding: 7px 16px; border-radius: 100px; font-size: 13px; transition: var(--trans); }
.btn-outline-sm:hover { border-color: var(--border-accent); color: var(--accent-light); }

.results-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 24px 80px; }
.results-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 100px 0; color: var(--text-2); font-size: 15px; }
.result-header { margin-bottom: 32px; }
.result-header h1 { font-family: var(--font-head); font-size: 32px; margin-bottom: 10px; }
.result-header p { color: var(--text-2); font-size: 15px; margin-bottom: 14px; }
.repo-meta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.repo-meta-tag { font-size: 12px; color: var(--text-2); background: var(--bg-card); border: 1px solid var(--border); padding: 4px 12px; border-radius: 100px; }

.result-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-bottom: 24px; align-items: start; }
.result-panel {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -28px rgba(0,0,0,0.6);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.result-panel:hover { border-color: var(--border-accent); }
.result-panel h2 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.result-panel h2::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(56,189,248,0.6);
}

.summary-body { font-size: 14.5px; color: var(--text-2); line-height: 1.75; }
.summary-body h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 20px 0 8px;
}
.summary-body h3:first-child { margin-top: 0; }
.summary-body p { margin-bottom: 10px; color: var(--text); }
.summary-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.summary-body li {
  position: relative;
  padding-left: 18px;
  color: var(--text-2);
}
.summary-body li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.summary-body strong { color: var(--text); font-weight: 600; }
.summary-body code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.9em;
  background: rgba(56,189,248,0.1);
  color: var(--accent-light);
  padding: 1px 6px;
  border-radius: 5px;
}

.mermaid {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0) 0 0/16px 16px,
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  min-height: 220px;
}

.chat-panel { padding: 24px; }
.chat-messages { display: flex; flex-direction: column; gap: 14px; max-height: 340px; overflow-y: auto; margin-bottom: 16px; }
.chat-msg { padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.chat-msg.user { background: rgba(56,189,248,0.08); border: 1px solid var(--border-accent); align-self: flex-end; max-width: 80%; }
.chat-msg.bot { background: var(--bg-2); border: 1px solid var(--border); }
.chat-msg .sources { font-size: 11px; color: var(--text-3); margin-top: 8px; }
.chat-form { display: flex; gap: 10px; }
.chat-form input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px; color: var(--text); font-size: 14px; outline: none;
  font-family: var(--font-body);
}
.chat-form input:focus { border-color: var(--border-accent); }
.chat-form button {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; font-weight: 700; padding: 11px 22px; border-radius: 10px; font-size: 14px;
}

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

/* ── Bring-your-own-key modal ── */
.byok-modal {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,7,10,0.72);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}
.byok-modal.open { opacity: 1; pointer-events: auto; }
.byok-card {
  width: 100%; max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 28px 26px 24px;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.2s ease;
}
.byok-modal.open .byok-card { transform: translateY(0) scale(1); }
.byok-icon { font-size: 28px; margin-bottom: 10px; }
.byok-card h3 { font-family: var(--font-head); font-size: 20px; color: var(--text); margin-bottom: 10px; }
.byok-copy { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.byok-copy strong { color: var(--accent-light); }
.byok-input {
  width: 100%;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  color: var(--text); font-size: 14px; font-family: var(--font-body);
  outline: none; margin-bottom: 14px;
  transition: var(--trans);
}
.byok-input:focus { border-color: var(--border-accent); }
.byok-actions { display: flex; gap: 10px; }
.byok-btn {
  flex: 1; padding: 11px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: var(--trans);
}
.byok-btn-primary { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #fff; border: none; }
.byok-btn-primary:hover { filter: brightness(1.1); }
.byok-btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.byok-btn-ghost:hover { border-color: var(--border-accent); color: var(--text); }
.byok-link { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--accent-light); }
.byok-link:hover { text-decoration: underline; }
