/* =========================================================
   2DBI landing page — site styles
   ========================================================= */

* { box-sizing: border-box; }
html, body { background: var(--paper); }
body { overflow-x: hidden; }

.page { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* shared recency dot */
.recency-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(31,107,58,0.18);
  display: inline-block;
  flex: none;
}

/* ============== Nav ============== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-1);
  background: var(--paper);
  z-index: 50;
}
.brand-row { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 0; }
.brand-2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-rest {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  margin-left: 4px;
  box-shadow: 0 0 0 4px rgba(31,107,58,0.15);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-5);
  border: 0;
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease);
}
.nav-link:hover { color: var(--ink); }

.btn-primary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-2);
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-micro) var(--ease);
}
.btn-primary:hover { background: var(--ink-6); }
.btn-primary.accent { background: var(--accent); }
.btn-primary.accent:hover { background: var(--accent-hover); }
.btn-primary.accent:active { background: var(--accent-press); }

.btn-secondary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-2);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  line-height: 1;
  transition: background var(--dur-micro) var(--ease);
}
.btn-secondary:hover { background: var(--paper-alt); }

/* ============== Hero ============== */
.hero {
  padding: 96px 0 88px;
  text-align: center;
}
.hero-text {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-bottom: 32px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--ink-1);
  border-radius: var(--r-full);
  background: var(--paper);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-headline .it { font-style: italic; color: var(--ink-5); }
.hero-lede {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-5);
  max-width: 620px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 480px;
  flex-wrap: wrap;
  justify-content: center;
}
.input {
  height: 48px;
  padding: 0 16px;
  flex: 1;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--ink-2);
  border-radius: var(--r-2);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-micro) var(--ease), box-shadow var(--dur-micro) var(--ease);
}
.input::placeholder { color: var(--ink-3); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.cta-row .btn-primary { height: 48px; padding: 0 22px; font-size: 14px; }
.hero-foot {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-4);
  margin: 18px 0 0;
}
.hero-foot-link {
  color: var(--ink-5);
  border-bottom: 1px solid var(--ink-2);
  padding-bottom: 1px;
}
.hero-foot-link:hover { border-bottom-color: var(--accent); color: var(--ink); }

/* ============== Stats strip ============== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-1);
  border-bottom: 1px solid var(--ink-1);
}
.stat-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--ink-1);
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat-plus { color: var(--accent); font-style: italic; }
.stat-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-5);
  line-height: 1.4;
}

/* ============== Section scaffolding ============== */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--ink-1);
}
.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head .t-caps {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-4);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.section-title .it { font-style: italic; color: var(--ink-5); }
.section .lede,
.lede {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-5);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}
.lede em { font-style: italic; color: var(--ink); }
.lede.source-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-1);
  max-width: 620px;
}
.lede.source-note .t-mono {
  font-size: 11px;
  color: var(--ink-4);
  line-height: 1.5;
}

/* ============== Product preview mock ============== */
.preview-mock {
  border: 1px solid var(--ink-1);
  border-radius: var(--r-3);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--ink-1);
}
.mock-dots {
  display: inline-flex;
  gap: 6px;
}
.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink-2);
  display: inline-block;
}
.mock-dots span:first-child { background: #D97757; }
.mock-dots span:nth-child(2) { background: #C9A227; }
.mock-dots span:last-child { background: var(--accent); }
.mock-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-5);
  padding: 4px 12px;
  background: var(--paper);
  border: 1px solid var(--ink-1);
  border-radius: var(--r-full);
  flex: 1;
  max-width: 360px;
}

.mock-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mock-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-step-head .t-caps { color: var(--ink-5); }
.mock-step-sub {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-4);
  font-weight: 400;
  margin-left: 6px;
  font-family: var(--font-sans);
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  background: var(--ink);
  padding: 3px 7px;
  border-radius: var(--r-1);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mock-chips .chip {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-5);
  background: var(--paper);
  border: 1px solid var(--ink-1);
  border-radius: var(--r-2);
  padding: 7px 14px;
  cursor: pointer;
  line-height: 1.3;
  transition: all var(--dur-micro) var(--ease);
}
.mock-chips .chip:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}
.mock-chips .chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.mock-results {
  margin-top: 6px;
  border-top: 1px solid var(--ink-1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-results-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-results-head .t-caps { color: var(--ink-5); }

.mock-list {
  display: flex;
  flex-direction: column;
}
.mock-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 4px;
  border-top: 1px solid var(--ink-1);
}
.mock-row:first-child { border-top: 0; padding-top: 6px; }
.mock-row-left {
  padding-top: 6px;
  display: flex;
  justify-content: center;
}
.mock-row-title {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 4px;
  text-wrap: pretty;
}
.mock-row-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.01em;
}
.mock-row.empty {
  display: block;
  padding: 28px 16px;
  text-align: center;
  color: var(--ink-4);
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px dashed var(--ink-1);
  border-radius: var(--r-2);
}

/* ============== How it works ============== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-1);
}
.step {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--ink-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 28px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.step p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-5);
  margin: 0;
  text-wrap: pretty;
}
.step em { font-style: italic; color: var(--ink); }

/* ============== Companies ============== */
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-1);
  border-left: 1px solid var(--ink-1);
}
.company-cell {
  padding: 22px 20px;
  border-right: 1px solid var(--ink-1);
  border-bottom: 1px solid var(--ink-1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--dur-micro) var(--ease);
  cursor: default;
  background: var(--paper);
}
.company-cell:hover {
  background: var(--paper-alt);
}
.company-cell:hover .company-name { color: var(--accent); }
.company-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  transition: color var(--dur-micro) var(--ease);
}
.company-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-meta .recency-dot { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(31,107,58,0.18); }

.request-row {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--ink-1);
  border-radius: var(--r-3);
  background: var(--paper-alt);
}
.request-form { display: flex; flex-direction: column; gap: 14px; }
.request-label { display: flex; flex-direction: column; gap: 4px; }
.request-label .t-caps { color: var(--ink); }
.request-input-row { display: flex; gap: 10px; }
.request-input-row .input { flex: 1; }
.request-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.request-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--paper);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.request-tag .recency-dot { width: 5px; height: 5px; box-shadow: 0 0 0 2px rgba(31,107,58,0.22); }

/* ============== Cohort numbers ============== */
.cohort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.cohort-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--ink-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cohort-cell:last-child { border-right: 0; }
.cohort-num {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.cohort-unit {
  font-size: 56px;
  color: var(--accent);
  font-style: italic;
  margin-left: 2px;
}
.cohort-label {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-5);
  max-width: 280px;
  text-wrap: pretty;
}

.pull-quote {
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--ink-1);
  text-align: center;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.pull-quote .it { font-style: italic; }
.pull-byline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 18px;
}

/* ============== Waitlist (simplified) ============== */
.waitlist {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  margin: 0 -40px;
  padding-left: 40px;
  padding-right: 40px;
}
.waitlist .t-caps { color: var(--ink-2); }
.waitlist .section-title { color: var(--paper); margin-bottom: 18px; }
.waitlist .section-title .it { color: var(--ink-2); }
.waitlist .lede { color: var(--ink-2); max-width: 580px; margin-bottom: 28px; }

.waitlist-simple {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-simple .t-caps { display: block; margin-bottom: 14px; }
.waitlist-simple .cta-row { margin: 0 auto; justify-content: center; }
.waitlist .input {
  background: rgba(247,244,238,0.05);
  border-color: rgba(247,244,238,0.3);
  color: var(--paper);
}
.waitlist .input::placeholder { color: rgba(247,244,238,0.5); }
.waitlist .input:focus {
  border-color: var(--accent);
  background: rgba(247,244,238,0.08);
  box-shadow: 0 0 0 3px rgba(31,107,58,0.35);
}
.waitlist-foot { color: var(--ink-3); margin: 16px 0 0; }
.waitlist-foot.success { color: var(--accent); }

.perks-inline {
  list-style: none;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(247,244,238,0.12);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.perks-inline li {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.perk-bullet {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,107,58,0.32);
  flex: none;
}

/* ============== FAQ ============== */
.faq-list {
  border-top: 1px solid var(--ink-1);
}
.faq-item {
  border-bottom: 1px solid var(--ink-1);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color var(--dur-micro) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  text-wrap: pretty;
}
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-toggle {
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink-2);
  border-radius: var(--r-full);
  position: relative;
  flex: none;
  transition: all var(--dur-micro) var(--ease);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  left: 50%;
  top: 50%;
  transition: transform var(--dur-std) var(--ease);
}
.faq-toggle::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-toggle {
  background: var(--ink);
  border-color: var(--ink);
}
.faq-item[open] .faq-toggle::before { background: var(--paper); }
.faq-item[open] .faq-toggle::after {
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-a {
  padding: 0 0 24px;
  max-width: 720px;
}
.faq-a p {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-5);
  margin: 0;
  text-wrap: pretty;
}
.faq-a a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-2);
}
.faq-a a:hover { border-bottom-color: var(--accent); }

/* ============== Bottom CTA ============== */
.bottom-cta {
  border-top: 1px solid var(--ink-1);
  padding: 96px 0;
}
.bottom-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.bottom-cta-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
  text-wrap: balance;
}
.bottom-cta-headline .it { font-style: italic; color: var(--ink-5); }
.bottom-cta-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-5);
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
  text-wrap: pretty;
}

/* ============== Footer ============== */
.footer {
  border-top: 1px solid var(--ink-1);
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .colophon {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-4);
  max-width: 320px;
  margin: 14px 0 0;
  line-height: 1.6;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-5);
  border: 0;
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--dur-micro) var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-1);
}

/* ============== Responsive ============== */
@media (max-width: 960px) {
  .page { padding: 0 24px; }
  .hero { padding: 56px 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-bottom: 1px solid var(--ink-1); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: 0; }
  .mock-body { padding: 22px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--ink-1); padding: 24px 0; }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: 0; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .cohort-grid { grid-template-columns: 1fr; }
  .cohort-cell { border-right: 0; border-bottom: 1px solid var(--ink-1); }
  .cohort-cell:last-child { border-bottom: 0; }
  .bottom-cta-inner { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn-primary):not(.brand-row) { display: none; }
}
