/* VibeCheck · minimal premium dark theme */

:root {
  --bg: #0c0c0e;
  --bg-elevated: #121214;
  --bg-card: #16161a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #7c9cff;
  --accent-dim: rgba(124, 156, 255, 0.15);
  --accent-glow: rgba(124, 156, 255, 0.35);
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --font: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --narrow: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: #0c0c0e;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #a5b8ff;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2.5rem, var(--narrow));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #0c0c0e;
}

.btn-primary:hover {
  background: #9eb4ff;
  color: #0c0c0e;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: #1c1c22;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

/* Hero */

.hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 156, 255, 0.12), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 340px;
    gap: 4rem;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 38ch;
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin: 0;
  max-width: 36ch;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--text-muted);
}

.inline-code {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.verdict-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 0 0 1px rgba(124, 156, 255, 0.06);
}

.verdict-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.verdict-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

.verdict-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.verdict-list li:last-child {
  margin-bottom: 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.ok {
  background: var(--ok);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

.dot.warn {
  background: var(--warn);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

.dot.bad {
  background: var(--bad);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.35);
}

.verdict-foot {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 58ch;
}

.section-lead.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* Problem */

.problem-list {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.problem-list li {
  margin-bottom: 0.75rem;
}

.problem-list strong {
  color: var(--text);
  font-weight: 600;
}

.pullquote {
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* How */

.how .section-lead {
  margin-bottom: 2.5rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.steps h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.steps p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Included */

.tag-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-grid li {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Audience */

.audience-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.audience-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.audience-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* About */

.about-auditor h2 {
  margin-bottom: 1.25rem;
}

.about-body p {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* Pricing */

.pricing .section-lead {
  font-size: 0.9375rem;
  color: var(--text-dim);
}

.pricing-help {
  max-width: 32rem;
  margin: 2.5rem auto 0;
  padding: 1.35rem 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-help-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.35;
  width: 100%;
}

.pricing-help-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  line-height: 1.5;
  width: 100%;
}

.pricing-help-btn {
  width: 100%;
  max-width: 22rem;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.price-card.featured {
  border-color: rgba(124, 156, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(124, 156, 255, 0.08);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 6px;
}

.price-card-head {
  margin-bottom: 1.25rem;
}

.price-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  min-height: 3rem;
  color: var(--text);
}

.price-card.featured .price-card-title {
  padding-right: 6.5rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  vertical-align: super;
}

.price-card-head .price-tagline {
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
  min-height: 4.35rem;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.price-card li {
  margin-bottom: 0.5rem;
}

.price-features li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.price-features strong {
  color: var(--text);
  font-weight: 600;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  float: right;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  margin-top: 0.35rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.5rem;
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* CTA */

.cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(124, 156, 255, 0.1), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.cta-foot {
  margin: 1.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.cta-foot a {
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* Intake form */

.form-page .intake-main {
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.intake-wrap {
  max-width: 720px;
}

.intake-header {
  margin-bottom: 2.5rem;
}

.intake-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.intake-intro {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 62ch;
}

.intake-note {
  margin: 0;
  max-width: 62ch;
}

.form-note {
  font-size: 0.9375rem;
  color: var(--text-dim);
}

.form-note a {
  color: var(--accent);
}

.intake-draft-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1.1rem;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: var(--radius-sm);
}

.intake-draft-banner strong {
  color: var(--text);
  font-weight: 600;
}

.intake-draft-banner__discard {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.intake-draft-banner__discard:hover {
  color: #c7d2fe;
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-error-banner {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: var(--radius-sm);
  color: #fecaca;
  font-size: 0.9375rem;
}

.form-fieldset {
  margin: 0;
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.form-fieldset legend {
  padding: 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.fieldset-lead {
  margin: -0.25rem 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-dim);
}

.field {
  margin-bottom: 1.25rem;
}

.field:last-child {
  margin-bottom: 0;
}

.field label,
.label-like {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.req {
  color: var(--bad);
  font-weight: 700;
}

.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form input[type="url"],
.intake-form select,
.intake-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.intake-form textarea {
  resize: vertical;
  min-height: 2.75rem;
  line-height: 1.5;
}

.intake-form input::placeholder,
.intake-form textarea::placeholder {
  color: var(--text-dim);
}

.intake-form input:hover,
.intake-form select:hover,
.intake-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: rgba(124, 156, 255, 0.55);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.form-grid {
  display: grid;
  gap: 1rem 1.25rem;
}

.form-grid-2 {
  grid-template-columns: 1fr;
}

.form-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.check-block {
  margin-bottom: 0.75rem;
  align-items: flex-start;
  line-height: 1.45;
}

.check-block:last-child {
  margin-bottom: 0;
}

.form-actions {
  padding-top: 0.5rem;
}

.form-foot {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.form-foot a {
  color: var(--text-muted);
}

.thanks-next {
  margin-top: 1.5rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
