/* VIBEBUILT landing pages */
:root {
  --bg: oklch(0.985 0.004 85);
  --bg-2: oklch(0.965 0.005 85);
  --bg-3: oklch(0.945 0.005 85);
  --fg: oklch(0.16 0.008 80);
  --fg-2: oklch(0.32 0.008 80);
  --fg-3: oklch(0.48 0.008 80);
  --line: oklch(0.16 0.008 80 / 0.18);
  --line-2: oklch(0.16 0.008 80 / 0.10);
  --accent: oklch(0.52 0.19 268);
  --accent-2: oklch(0.46 0.20 270);
  --shadow: 0 28px 80px oklch(0.14 0.008 80 / 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
  --maxw: 1380px;
  --gutter: clamp(24px, 4vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--fg);
  transition: transform .35s ease;
}

.nav.nav-hidden {
  transform: translateY(-130%);
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-style: italic;
}

.logo span {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px;
  margin-left: 4px;
  color: var(--fg-2);
  vertical-align: middle;
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav ul a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color .3s;
}

.nav ul a:hover { color: var(--fg); }

.contact-pill,
.btn,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.contact-pill,
.pill,
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.contact-pill:hover,
.pill:hover,
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-1px);
}

.hero {
  padding: 140px 0 clamp(48px, 8vw, 88px);
}

.breadcrumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

h1, h2, h3, strong { font-weight: 400; }
h1, h2, h3 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.96;
}

h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
}

.lede {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--fg-2);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.proof-strip {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.proof-strip span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.surface {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, oklch(0.95 0.03 275 / 0.35), transparent 38%),
    linear-gradient(180deg, oklch(0.99 0.004 85) 0%, oklch(0.97 0.005 85) 100%);
  box-shadow: var(--shadow);
}

.surface-kicker,
.tag,
.index,
.card-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.surface p {
  margin-top: 12px;
  color: var(--fg-2);
}

.mini-list,
.check-list {
  list-style: none;
}

.mini-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--fg-2);
}

.mini-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.section-head {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.section-head p {
  margin-top: 10px;
  max-width: 68ch;
  color: var(--fg-2);
}

.section-head.compact {
  margin-bottom: 28px;
}

.section-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.result,
.hub-card,
.related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--bg);
  min-height: 100%;
}

.card h3,
.result h3,
.hub-card strong,
.related-card strong {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hub-card p,
.related-card p,
.result p,
.card p {
  color: var(--fg-2);
}

.hub-card:hover,
.related-card:hover {
  transform: translateY(-2px);
  transition: transform .25s ease, border-color .25s ease;
  border-color: var(--accent);
}

.go {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
}

.process-list article:last-child {
  border-bottom: 1px solid var(--line-2);
}

.process-list strong {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-3);
}

.process-list p {
  margin-top: 8px;
  color: var(--fg-2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-2);
}

.faq-item {
  border-bottom: 1px solid var(--line-2);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.08;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item div {
  padding-top: 14px;
  max-width: 72ch;
}

.faq-item p {
  color: var(--fg-2);
}

.stats-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 16px;
  border: 1px solid var(--line-2);
  background: var(--bg);
}

.stat-card span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.08;
}

.sample-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sample-list a {
  color: var(--fg-2);
}

.sample-list a:hover {
  color: var(--accent);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, oklch(0.98 0.004 85), oklch(0.95 0.012 272 / 0.25));
}

.cta-panel p {
  margin-top: 12px;
  color: var(--fg-2);
  max-width: 58ch;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}

.page-footer {
  border-top: 1px solid var(--line-2);
  padding: 42px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.brand-footer {
  margin-bottom: 12px;
}

.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.page-footer h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.page-footer p,
.page-footer li {
  color: var(--fg-2);
}

.page-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-group + .hub-group {
  margin-top: 48px;
}

.legal-copy {
  display: grid;
  gap: 32px;
}

.legal-block {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-2);
}

.legal-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-block h2 {
  margin-bottom: 16px;
}

.legal-copy p,
.legal-copy li {
  max-width: 82ch;
  color: var(--fg-2);
}

.legal-copy a {
  border-bottom: 1px solid currentColor;
}

.legal-copy p + p,
.legal-copy ul,
.legal-copy ol {
  margin-top: 12px;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 20px;
}

.legal-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

.sticky-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta a {
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 40px oklch(0.16 0.008 80 / 0.18);
  transition: transform .3s, background .3s;
}

.sticky-cta a.wa {
  background: oklch(0.55 0.16 150);
  color: #fff;
}

.sticky-cta a:hover {
  transform: translateY(-2px);
}

.sticky-cta a.wa:hover {
  background: oklch(0.48 0.16 150);
}

html.js [data-reveal],
html.js [data-reveal-item] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}

html.js [data-reveal].is-visible,
html.js [data-reveal-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .section-split,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-stack {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .cards-4,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav ul { display: none; }
}

@media (max-width: 600px) {
  .sticky-cta {
    right: 12px;
    bottom: 12px;
  }

  .sticky-cta a {
    padding: 12px 14px;
    font-size: 9px;
  }
}

@media (max-width: 640px) {
  .site-nav nav a:not(.pill) {
    display: none;
  }

  h1 {
    font-size: clamp(44px, 13vw, 72px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 48px);
  }
}
