/* ═══════════════════════════════════════════════════
   VEYL — Marketing Site
   Brand: Crimson Pro (serif) + IBM Plex Sans (sans)
   Palette: teal green, cream, warm gray
   ═══════════════════════════════════════════════════ */

:root {
  --ink: #1a2026;
  --paper: #ebe4d8;
  --cream: #ebe4d8;
  --accent: #1a6b5a;
  --accent-hover: #145a4b;
  --accent-light: rgba(26, 107, 90, 0.08);
  --accent-border: rgba(26, 107, 90, 0.2);
  --warm-gray: #555;
  --muted: #a0b4b4;
  --border: #d8d4cc;
  --shadow: rgba(26, 32, 38, 0.08);
  --shadow-lg: rgba(26, 32, 38, 0.14);
  --deep: #1a2026;
  --deep-light: rgba(26, 32, 38, 0.08);
  --deep-border: rgba(26, 32, 38, 0.2);
  --serif: 'Crimson Pro', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, sans-serif;
  --max-width: 1100px;
  --section-pad: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
h1 { font-size: 4.875rem; letter-spacing: -0.02em; }
h2 { font-size: 3.375rem; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: var(--section-pad) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header .subtitle {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.65;
  max-width: 560px;
  margin: 16px auto 0;
}

/* ─── Navigation ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(235, 228, 216, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-logo-image {
  height: 54px;
  width: auto;
  display: block;
}
.nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav-brand span {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-active { color: var(--ink); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 6px;
  transition: 0.2s;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }

/* ─── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary, a.btn-primary {
  background: var(--accent);
  color: white !important;
}
.btn-primary:hover, a.btn-primary:hover {
  background: var(--accent-hover);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 107, 90, 0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ─── Hero ────────────────────────────────────── */
.hero {
  padding: 160px 0 var(--section-pad);
  text-align: center;
}
.hero h1 {
  font-size: 5.25rem;
  margin-bottom: 20px;
}
.hero .subtitle {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── Trust Bar ──────────────────────────────── */
.trust-bar {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logos span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}

/* ─── Steps ───────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card {
  text-align: center;
  padding: 32px 24px;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ─── Score Guide ────────────────────────────────── */
.score-bar-wrap {
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 0 8px;
}
.score-bar {
  position: relative;
  height: 14px;
  border-radius: 7px;
  overflow: visible;
}
.score-bar-fill {
  height: 100%;
  border-radius: 7px;
  background: linear-gradient(to right, #22c55e 0%, #84cc16 20%, #eab308 40%, #f97316 65%, #ef4444 85%, #dc2626 100%);
}
.score-marker {
  position: absolute;
  top: -2px;
  transform: translateX(-50%);
}
.score-marker span {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warm-gray);
  text-align: center;
}
.score-zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.score-zone {
  text-align: center;
  padding: 24px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.score-zone:hover {
  box-shadow: 0 6px 24px var(--shadow);
  transform: translateY(-2px);
}
.score-zone-color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 14px;
  opacity: 0.9;
}
.score-zone-range {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--warm-gray);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.score-zone h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.score-zone p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.6;
}
.score-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(26, 107, 90, 0.06);
  border: 1px solid rgba(26, 107, 90, 0.18);
  border-radius: 10px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}
.score-callout svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.score-callout strong {
  color: var(--ink);
}

@media (max-width: 768px) {
  .score-zones {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .score-zones {
    grid-template-columns: 1fr;
  }
}

/* ─── Modules ─────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.module-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-2px);
}
.module-tier {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tier-standard { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); }
.tier-deep { background: var(--deep-light); color: var(--deep); border: 1px solid var(--deep-border); }
.module-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  background: var(--cream);
}
.module-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.module-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ─── Use Cases ───────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.case-card {
  padding: 40px 36px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-2px);
}
.case-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.case-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.case-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ─── Testimonials ────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}
.testimonial-stars {
  color: #d4940a;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
}
.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── Case Study ──────────────────────────────── */
.case-study-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.case-study-content {
  padding: 48px;
}
.case-study-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}
.case-study-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.case-study-content p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-study-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.case-study-stat .stat-number {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.case-study-stat .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}
.case-study-visual {
  background: linear-gradient(135deg, #1a3d35, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: white;
}
.case-study-mockup { text-align: center; }
.case-study-mockup .mockup-icon { font-size: 64px; margin-bottom: 16px; }
.case-study-mockup .mockup-label { font-size: 15px; font-weight: 600; opacity: 0.9; }
.case-study-mockup .mockup-detail { font-size: 13px; opacity: 0.7; margin-top: 4px; }
.case-study-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

/* ─── Pricing ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}
.price-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px var(--shadow-lg);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.price-desc {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 20px;
  min-height: 40px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.price-amount .currency {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-gray);
}
.price-amount .amount {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount .period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}
.price-words {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.price-minimum {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.price-features {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  font-size: 0.85rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.price-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.price-btn-primary, a.price-btn-primary {
  background: var(--accent);
  color: white !important;
}
.price-btn-primary:hover, a.price-btn-primary:hover { background: var(--accent-hover); color: white !important; }
.price-btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.price-btn-secondary:hover { border-color: var(--ink); }

/* ─── FAQ ─────────────────────────────────────── */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item summary {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ─── CTA Banner ──────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 {
  color: var(--paper);
  margin-bottom: 16px;
}
.cta-banner .subtitle {
  font-family: var(--sans);
  font-size: 1.1rem;
  color: #b0ada6;
  max-width: 480px;
  margin: 0 auto 32px;
}
.cta-banner .btn-primary {
  background: var(--paper);
  color: var(--ink) !important;
}
.cta-banner .btn-primary:hover {
  background: white;
  color: var(--ink) !important;
  box-shadow: 0 4px 16px rgba(250, 249, 247, 0.25);
}

/* ─── Footer ──────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--warm-gray);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px;
    gap: 20px;
    box-shadow: 0 8px 24px var(--shadow);
  }
  .nav-toggle { display: block; }
  .hero { padding: 120px 0 64px; }
  .hero h1 { font-size: 3.75rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .modules-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .case-study-card { grid-template-columns: 1fr; }
  .case-study-visual { min-height: 200px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 3rem; }
  .price-card { padding: 28px 20px; }
}
