/* Section-specific styles */

/* Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-1);
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-1);
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-h1 { margin: 0 0 20px; }
.hero-h1-accent { color: var(--accent); font-style: normal; }

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg-1);
  max-width: 46ch;
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
  font-family: var(--mono);
  flex-wrap: wrap;
}

/* Dashboard hero visual */
.dash {
  background: #0a0908;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02);
  color: #ece8e3;
  font-family: var(--sans);
}
[data-theme="light"] .dash { background: #141311; }
.dash-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #2a2624;
  background: #141311;
}
.dash-chrome-dots { display: flex; gap: 6px; }
.dash-chrome-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a3532;
}
.dash-chrome-dots span:nth-child(1) { background: oklch(0.65 0.13 30); }
.dash-chrome-dots span:nth-child(2) { background: oklch(0.8 0.13 90); }
.dash-chrome-dots span:nth-child(3) { background: oklch(0.7 0.13 145); }
.dash-chrome-url {
  font-family: var(--mono);
  font-size: 11px;
  color: #a9a29a;
  background: #0f0e0c;
  border: 1px solid #26221f;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-lock { color: #7a736b; display: inline-flex; }

.dash-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 360px;
}
.dash-sidebar {
  background: #0f0e0c;
  border-right: 1px solid #2a2624;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-sidebar-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a736b;
  padding: 0 6px 8px;
}
.dash-site {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #b8b1a8;
  font-family: var(--mono);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: background 120ms, color 120ms;
}
.dash-site:hover { background: #1a1816; color: #ece8e3; }
.dash-site.is-active { background: #1a1816; color: #ece8e3; }
.dash-site-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: oklch(0.72 0.18 145);
  flex-shrink: 0;
}
.dash-site-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 6px;
}
.dash-regions span {
  font-size: 10px;
  color: #7a736b;
  background: #1a1816;
  border: 1px solid #26221f;
  padding: 2px 6px;
  border-radius: 3px;
}

.dash-main {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dash-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.dash-site-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ece8e3;
}
.dash-site-meta {
  font-size: 11px;
  color: #7a736b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.dash-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.72 0.18 145);
  box-shadow: 0 0 0 2px color-mix(in oklab, oklch(0.72 0.18 145) 25%, transparent);
}
.dash-dot-sep { color: #504a44; }
.dash-tabs {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: #7a736b;
}
.dash-tabs .is-active { color: #ece8e3; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }

.dash-onion-card {
  background: #0f0e0c;
  border: 1px solid #26221f;
  border-radius: 6px;
  padding: 12px 14px;
}
.dash-onion-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a736b;
  margin-bottom: 6px;
}
.dash-onion-addr {
  font-size: 13px;
  color: var(--accent);
  word-break: break-all;
  letter-spacing: -0.01em;
}
.dash-onion-foot {
  margin-top: 8px;
  font-size: 10px;
  color: #7a736b;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #26221f;
  border: 1px solid #26221f;
  border-radius: 6px;
  overflow: hidden;
}
.dash-stat {
  background: #0f0e0c;
  padding: 12px 14px;
}
.dash-stat-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a736b;
  margin-bottom: 6px;
}
.dash-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dash-stat-value {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ece8e3;
  font-family: var(--mono);
}
.dash-stat-spark { color: var(--accent); }
.dash-stat-trend {
  font-size: 10px;
  color: #7a736b;
  margin-top: 4px;
}

/* Config panel hero variant */
.cfg-h {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a736b;
  margin-bottom: 12px;
}
.cfg-table {
  border: 1px solid #26221f;
  border-radius: 6px;
  overflow: hidden;
}
.cfg-row {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr 0.7fr 1fr;
  padding: 10px 14px;
  font-size: 12px;
  border-bottom: 1px solid #26221f;
  align-items: center;
  gap: 10px;
}
.cfg-row:last-child { border-bottom: none; }
.cfg-head { background: #141311; color: #7a736b; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.cfg-pill {
  justify-self: start;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #1a1816;
  border: 1px solid #26221f;
  color: #b8b1a8;
  letter-spacing: 0.04em;
}
.cfg-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #7a736b;
  margin-top: 14px;
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; gap: 40px; } }

.problem-lead h2 { max-width: 14ch; }

.problem-cards {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.problem-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: baseline;
}
.problem-card-n {
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}
.problem-card-body h3 { margin-bottom: 6px; font-weight: 500; }
.problem-card-body p { color: var(--fg-1); font-size: 15px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 760px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
}
.feature-visual {
  height: 140px;
  background: var(--bg-1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-1);
  overflow: hidden;
}
.feat-svg { width: 100%; height: 100%; max-height: 140px; }
.feat-caption { font-family: var(--mono); font-size: 9px; fill: var(--fg-2); letter-spacing: 0.04em; }
.feat-caption-sm { font-family: var(--mono); font-size: 8px; letter-spacing: 0.03em; fill: var(--fg-1); }
.feature-body h3 { margin-bottom: 8px; font-weight: 500; }
.feature-body p { color: var(--fg-1); font-size: 14.5px; line-height: 1.55; }

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

.how-card {
  padding: 28px;
  border: 1px solid var(--line);
  margin-left: -1px;
  position: relative;
  background: var(--bg);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.how-card:first-child { margin-left: 0; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.how-card:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
@media (max-width: 900px) {
  .how-card { margin-left: 0; margin-top: -1px; border-radius: 0 !important; }
  .how-card:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; }
  .how-card:last-child { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
}

.how-card-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.how-n { color: var(--accent); font-size: 13px; letter-spacing: 0.04em; }
.how-card h3 { font-weight: 500; }

.how-desc { color: var(--fg-1); font-size: 15px; margin-bottom: 20px; flex-grow: 1; }
.how-code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--fg-1);
  margin: 0;
  white-space: pre-wrap;
  overflow: hidden;
}
.how-arrow {
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  color: var(--fg-2);
  font-size: 12px;
  z-index: 2;
}
@media (max-width: 900px) { .how-arrow { display: none; } }

/* Pricing */
.pay-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--bg-1);
  gap: 2px;
}
.pay-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--fg-1);
  font-size: 13px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 120ms, color 120ms;
}
.pay-toggle-btn.is-active { background: var(--fg); color: var(--bg); }
.pay-toggle-btn.is-active svg circle { fill: var(--btc); }

.btc-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid color-mix(in oklab, var(--btc) 30%, var(--line) 70%);
  background: color-mix(in oklab, var(--btc) 8%, var(--bg-1) 92%);
  border-radius: 6px;
  font-size: 14px;
  color: var(--fg-1);
  margin-bottom: 32px;
  max-width: 680px;
}
.btc-banner strong { color: var(--fg); font-weight: 500; }

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

.price-card {
  position: relative;
  padding: 28px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.price-card.is-highlight {
  border-color: var(--accent-2);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent) 6%, var(--bg) 94%) 0%,
    var(--bg) 40%);
  box-shadow: 0 0 0 1px var(--accent-2);
}
.price-ribbon {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--accent);
  color: #0e0d0c;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}

.price-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-name { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.price-btc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-1);
}
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.price-number { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; }
.price-period { color: var(--fg-2); font-size: 14px; font-family: var(--mono); }
.price-sub { color: var(--fg-2); font-size: 14px; margin-top: 6px; }

.price-lines {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.price-lines li { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--fg-1); line-height: 1.4; }
.price-line-primary { color: var(--fg); }
.price-line-sub { color: var(--fg-2); font-size: 12.5px; font-family: var(--mono); }

.price-footnote { margin-top: 40px; color: var(--fg-2); font-size: 14px; max-width: 70ch; line-height: 1.55; }
.link-u { color: var(--fg); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color 120ms, color 120ms; }
.link-u:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  color: var(--fg);
  font-family: inherit;
  letter-spacing: -0.005em;
  transition: color 120ms;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-2);
  flex-shrink: 0;
  transition: border-color 150ms, background 150ms;
}
.faq-item.is-open .faq-icon { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.faq-item.is-open .faq-v { display: none; }
.faq-a {
  padding: 4px 48px 22px 0;
  color: var(--fg-1);
  font-size: 15px;
  line-height: 1.6;
  display: flex; flex-direction: column; gap: 12px;
  max-width: 60ch;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  margin-top: 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } }

.footer-status { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 12px; color: var(--fg-2); }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.72 0.18 145);
  box-shadow: 0 0 0 3px color-mix(in oklab, oklch(0.72 0.18 145) 25%, transparent);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 600px) { .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

.footer-col-h {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 16px;
}
.footer-col-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col-list a { color: var(--fg-1); font-size: 14px; transition: color 120ms; }
.footer-col-list a:hover { color: var(--fg); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-2);
}
.footer-onion { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.onion-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Nav */
.nav-link { position: relative; transition: color 120ms; }
.nav-link:hover { color: var(--fg); }

@media (max-width: 820px) {
  .nav-links { display: none !important; }
  .nav-signin { display: none !important; }
  .nav-hamburger { display: inline-flex !important; align-items: center; justify-content: center; color: var(--fg); }
}

/* Tweaks panel */
.tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 14px;
  z-index: 100;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  font-size: 13px;
}
.tweaks-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweak-row { margin-bottom: 12px; }
.tweak-row:last-child { margin-bottom: 0; }
.tweak-label { font-size: 11px; color: var(--fg-2); margin-bottom: 6px; display: block; }
.tweak-seg { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg); }
.tweak-seg button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 7px 6px;
  color: var(--fg-1);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  border-right: 1px solid var(--line);
}
.tweak-seg button:last-child { border-right: none; }
.tweak-seg button.is-active { background: var(--fg); color: var(--bg); }

/* Mobile rail */
.mobile-frame-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.mobile-frame {
  width: 320px;
  height: calc(100vh - 120px);
  max-height: 700px;
  border: 1px solid var(--line-2);
  border-radius: 36px;
  padding: 10px;
  background: #050404;
  position: relative;
  overflow: hidden;
}
.mobile-frame::before {
  content: '';
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #050404;
  border-radius: 14px;
  z-index: 5;
}
.mobile-frame iframe { width: 100%; height: 100%; border: none; border-radius: 28px; background: var(--bg); }
