/* ========================
   VEYNOR — Design Tokens
   ======================== */
:root {
  --bg: #fafaf8;
  --bg-warm: #f3ede6;
  --fg: #141414;
  --fg-muted: #787878;
  --accent: #0f172a;
  --accent-blue: #1e40af;
  --accent-blue-light: #3b82f6;
  --blue-tint: #eff6ff;
  --accent: #0f172a;
  --amber: #d97706;
  --amber-light: #f59e0b;
  --white: #ffffff;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --success: #059669;
  --error: #dc2626;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --max-w: 1180px;
  --section-pad: clamp(4rem, 7vw, 8rem);
}

/* ========================
   Base
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--fg); border-radius: 3px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ========================
   Nav
   ======================== */
.nav {
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.nav__cta {
  background: var(--fg);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.nav__cta:hover { background: #2d2d2d; }

/* ========================
   Hero
   ======================== */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.75rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--amber);
}

.hero__descriptor {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 44ch;
}

.hero__form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero__input {
  flex: 1;
  min-width: 180px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--fg);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hero__input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}
.hero__input::placeholder { color: #b0b0b0; }

.hero__btn {
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero__btn:hover { background: #b45309; transform: translateY(-1px); }
.hero__btn:active { transform: translateY(0); }
.hero__btn:disabled { background: #d1d5db; cursor: not-allowed; transform: none; }

.hero__form-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero__form-note svg { flex-shrink: 0; }

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hero__card-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

/* Mini chart rows */
.chart-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.chart-row:last-child { margin-bottom: 0; }
.chart-row__label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  width: 110px;
  flex-shrink: 0;
}
.chart-row__bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.chart-row__bar {
  height: 100%;
  background: var(--amber);
  border-radius: 100px;
  transition: width 1.2s ease-out;
}
.chart-row__val {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* Stacked cards visual */
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cards-row .hero__card {
  padding: 1.25rem;
}
.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ========================
   Problem
   ======================== */
.problem {
  padding: var(--section-pad) 0;
  background: var(--fg);
}
.problem__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.problem__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.problem__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 3rem;
  max-width: 20ch;
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
}
.problem__card {
  background: #1a1a1a;
  padding: 2.5rem 2rem;
}
.problem__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.problem__card-icon svg { color: var(--amber); }
.problem__card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.problem__card-desc {
  font-size: 0.875rem;
  color: #8a8a8a;
  line-height: 1.65;
}

/* ========================
   Solution
   ======================== */
.solution {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.solution__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.solution__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.solution__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  color: var(--fg);
  line-height: 1.18;
  margin-bottom: 1.5rem;
}
.solution__body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 44ch;
}
.solution__checks { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.solution__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--fg);
}
.solution__check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.solution__visual-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.solution__visual-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ========================
   Features
   ======================== */
.features {
  padding: var(--section-pad) 0;
  background: var(--bg-warm);
}
.features__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.features__header {
  text-align: center;
  margin-bottom: 4rem;
}
.features__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.features__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.features__sub {
  font-size: 1rem;
  color: var(--fg-muted);
}
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-card__desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ========================
   Social Proof
   ======================== */
.social-proof {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.social-proof__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.social-proof__eyebrow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
}
.social-proof__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.stat-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-card__label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.social-proof__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ========================
   Closing CTA
   ======================== */
.closing-cta {
  padding: var(--section-pad) 0;
  background: var(--fg);
}
.closing-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.closing-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.closing-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.closing-cta__headline em { font-style: italic; color: var(--amber); }
.closing-cta__sub {
  font-size: 1rem;
  color: #8a8a8a;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.closing-cta__form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.closing-cta__input {
  padding: 0.7rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  outline: none;
  min-width: 200px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.closing-cta__input::placeholder { color: #6b6b6b; }
.closing-cta__input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
.closing-cta__btn {
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.closing-cta__btn:hover { background: #b45309; }
.closing-cta__btn:disabled { background: #4b5563; cursor: not-allowed; }
.closing-cta__note {
  font-size: 0.78rem;
  color: #6b6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.closing-cta__form-note {
  font-size: 0.78rem;
  color: #6b6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ========================
   Footer
   ======================== */
.footer {
  background: var(--fg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.8rem;
  color: #6b6b6b;
}
.footer__legal {
  font-size: 0.78rem;
  color: #4b5563;
}

/* ========================
   Form messages
   ======================== */
.form-msg {
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  margin-top: 0.75rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}
.form-msg--success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; display: flex; }
.form-msg--error   { background: #fff1f2; color: var(--error);   border: 1px solid #fecdd3; display: flex; }
.form-msg--info    { background: var(--blue-tint); color: var(--accent-blue); border: 1px solid #bfdbfe; display: flex; }

/* ========================
   Responsive
   ======================== */
@media (max-width: 900px) {
  .hero__inner,
  .solution__inner { grid-template-columns: 1fr; gap: 3rem; }
  .problem__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .social-proof__stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
  .hero__form { flex-direction: column; }
  .hero__input, .hero__btn { width: 100%; }
  .closing-cta__form { flex-direction: column; align-items: stretch; }
  .closing-cta__input { min-width: unset; width: 100%; }
  .closing-cta__btn { width: 100%; }
  .cards-row { grid-template-columns: 1fr; }
  .social-proof__logos { gap: 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}