/* ============================================================
   tachyonⁿ landing page — section styles
   Extracted from site.jsx inline styles.
   Desktop-first; media queries at bottom.
   ============================================================ */

/* ===== Page shell ===== */
.page {
  background: var(--surface-page);
  overflow-x: hidden;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ===== Eyebrow ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow--inverse { color: var(--teal-300); }
.eyebrow--emphasis { color: var(--text-emphasis); }

/* ===== Em (purple emphasis run) ===== */
.em {
  color: var(--text-emphasis);
  font-weight: 600;
}

/* ===== Icon helper ===== */
.icon-wrap {
  display: inline-flex;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-actions a {
  text-decoration: none;
}
.nav-toggle {
  display: none;
}

/* ===== Hero ===== */
.hero {
  padding-top: 72px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 18px 0 0;
  color: var(--text-strong);
}
.hero-sup {
  font-size: 0.42em;
  color: var(--brand-bright);
  vertical-align: super;
}
.hero-desc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 44ch;
  margin: 22px 0 0;
}
.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-cta-group a {
  text-decoration: none;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 46px;
}

/* ===== Hero Panel ===== */
.hero-panel {
  overflow: hidden;
}
.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--ink-50);
}
.hero-panel-id-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-panel-id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.hero-panel-body {
  padding: 20px 18px;
}
.gate-rows {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gate-row-label {
  font-size: 13.5px;
  color: var(--text-body);
}
.gate-alert {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--state-gate-bg);
  border-radius: var(--radius-md);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.gate-alert-text {
  font-size: 13px;
  color: var(--state-gate-fg);
  line-height: 1.4;
}

/* ===== What is a Tachyon ===== */
.tachyon-section {
  background: var(--ink-950);
  color: #fff;
  padding: 88px 0;
}
.tachyon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.tachyon-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: #fff;
  margin: 16px 0 18px;
}
.tachyon-vc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(155, 31, 255, 0.16);
  border: 1px solid rgba(168, 85, 251, 0.4);
  margin-bottom: 18px;
}
.tachyon-vc-math {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-300);
  letter-spacing: 0.02em;
}
.tachyon-vc-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.tachyon-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
}
.tachyon-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 30px 30px;
}
.tachyon-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 14px;
}
.tachyon-card-body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.tachyon-card-highlight {
  color: #fff;
  font-weight: 600;
}
.tachyon-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tachyon-point {
  border-top: 2px solid var(--teal-500);
  padding-top: 16px;
}
.tachyon-point-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(0, 194, 224, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.tachyon-point-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 7px;
}
.tachyon-point-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* ===== Why section ===== */
.why-section {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0;
}
.why-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 8px;
}
.why-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.why-card-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ===== How it works ===== */
.how-section {
  padding: 80px 32px;
}
.how-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.how-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
}
.how-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.how-cascade-wrap {
  max-width: 840px;
  margin: 0 auto 48px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.how-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.how-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-card-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.how-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 7px;
}
.how-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== Proof ===== */
.proof-section {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0;
}
.proof-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.proof-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 14px 0 12px;
}
.proof-desc {
  font-size: 16.5px;
  color: var(--text-muted);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.proof-stat {
  text-align: center;
  padding: 26px 16px;
  background: var(--surface-page);
  border-radius: var(--radius-lg);
  box-shadow: var(--ring-hairline);
}
.proof-stat--dark {
  background: var(--ink-950);
}
.proof-stat-value {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.proof-stat--dark .proof-stat-value {
  color: var(--teal-300);
}
.proof-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
}
.proof-stat--dark .proof-stat-label {
  color: rgba(255, 255, 255, 0.6);
}
.proof-note {
  text-align: center;
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Difference ===== */
.diff-section {
  padding: 80px 32px;
}
.diff-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 8px;
}
.diff-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 36px;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.diff-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--ring-hairline);
  padding: 24px 24px;
}
.diff-card--good {
  box-shadow: inset 0 0 0 1.5px var(--teal-200), var(--shadow-sm);
}
.diff-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.diff-card-header--good {
  color: var(--brand-strong);
}
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.diff-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.diff-item-icon {
  margin-top: 2px;
  flex-shrink: 0;
}
.diff-item-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.diff-item--good .diff-item-text {
  color: var(--text-body);
}

/* ===== Closing CTA ===== */
.cta-section {
  padding-bottom: 88px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.14;
}
.cta-content {
  position: relative;
}
.cta-logo {
  margin-bottom: 18px;
}
.cta-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 14px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 28px;
  max-width: 40ch;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.cta-actions a {
  text-decoration: none;
}

/* CTA secondary button override (transparent on dark) */
.cta-btn-secondary {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-desc {
  font-size: 13.5px;
  margin-top: 12px;
  max-width: 32ch;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  gap: 56px;
}
.footer-col-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-link {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE — Media queries
   ============================================================ */

/* ===== Tablet (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
  }

  .tachyon-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 28px;
  }
}

/* ===== Mobile (max-width: 768px) ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Hide Sign in button on mobile, keep only primary CTA */
  .nav-actions .nav-signin {
    display: none;
  }

  /* Nav: hamburger */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 20px 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 0;
    font-size: 15px;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-body);
    border-radius: 2px;
    transition: all 0.2s ease;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-inner {
    position: relative;
  }

  /* Hero */
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 32px;
  }
  .hero-title {
    font-size: 40px;
    max-width: 100%;
  }
  .hero-desc {
    font-size: 17px;
    max-width: 100%;
  }
  .hero-stats {
    gap: 12px;
    margin-top: 36px;
  }

  /* Sections: reduce padding */
  .tachyon-section {
    padding: 56px 0;
  }
  .why-section {
    padding: 56px 0;
  }
  .how-section {
    padding: 56px 20px;
  }
  .proof-section {
    padding: 56px 0;
  }
  .diff-section {
    padding: 56px 20px;
  }

  /* Titles: reduce */
  .tachyon-title {
    font-size: 32px;
  }
  .why-title {
    font-size: 30px;
  }
  .how-title {
    font-size: 30px;
  }
  .proof-title {
    font-size: 32px;
  }
  .diff-title {
    font-size: 30px;
  }
  .cta-title {
    font-size: 32px;
  }

  /* Grids: single column */
  .tachyon-points {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diff-grid {
    grid-template-columns: 1fr;
  }

  /* Footer: stack */
  .footer-links {
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  /* CTA actions: stack on mobile */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* CTA: reduce padding */
  .cta-box {
    padding: 40px 24px;
  }
  .cta-section {
    padding-bottom: 56px;
  }
}

/* ===== Small phone (max-width: 480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

  .hero-title {
    font-size: 34px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-stats {
    gap: 8px;
  }

  .tachyon-title {
    font-size: 28px;
  }
  .why-title,
  .how-title,
  .proof-title,
  .diff-title {
    font-size: 26px;
  }
  .cta-title {
    font-size: 28px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-stat-value {
    font-size: 42px;
  }

  /* Container sections need vertical padding preserved at 480px;
     the bare .container rule above has same specificity and later source order,
     so it silently zeroes out .how-section / .diff-section / .cta-section padding. */
  .how-section {
    padding: 56px 16px;
  }
  .diff-section {
    padding: 56px 16px;
  }
  .cta-section {
    padding: 56px 16px;
  }

  .cta-box {
    padding: 32px 20px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
