/* ================================================
   KEPTIC — Warm Ivory (matches app theme)
   ================================================ */

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

:root {
  --bg:         #F4EFEA;
  --bg-card:    rgba(255,255,255,0.70);
  --bg-card-h:  rgba(255,255,255,0.90);
  --text:       #4A3C31;
  --text-2:     rgba(74,60,49,0.65);
  --text-3:     rgba(74,60,49,0.35);
  --coral:      #7BAFD4;
  --coral-h:    #8CBAD9;
  --border:     rgba(74,60,49,0.10);
  --border-h:   rgba(74,60,49,0.18);

  --font-head:  'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Particle canvas */
#particles {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

main, footer, .nav { position: relative; z-index: 1; }

/* ================================================
   NAVIGATION
   ================================================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s, background 0.3s;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(244,239,234,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 0.95rem;
  color: var(--coral);
}
.nav-brand img { border-radius: 6px; }

.nav-pill {
  display: flex; align-items: center; gap: 0;
  position: absolute; left: 50%; transform: translateX(-50%);
  background: rgba(74,60,49,0.06);
  border-radius: 100px;
  padding: 4px;
}
.nav-pill a {
  padding: 10px 24px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-2);
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-pill a:hover {
  color: var(--text);
  background: rgba(74,60,49,0.06);
}

.nav-actions {
  display: flex; align-items: center; gap: 20px;
  margin-left: auto;
}
.nav-link-sm {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-link-sm:hover { color: var(--text); }

/* Accent button */
.btn-coral {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600;
  border-radius: 6px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(123,175,212,0.25);
}
.btn-coral:hover {
  background: var(--coral-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123,175,212,0.30);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600;
  border: 1.5px solid var(--border-h);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--text-3);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.btn-full { width: 100%; justify-content: center; }

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  margin-left: auto;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(244,239,234,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 500;
  color: var(--text);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
}
.nav-overlay.open a { opacity: 1; transform: none; }
.nav-overlay.open a:nth-child(1) { transition-delay: 0.05s; }
.nav-overlay.open a:nth-child(2) { transition-delay: 0.10s; }
.nav-overlay.open a:nth-child(3) { transition-delay: 0.15s; }
.nav-overlay.open a:nth-child(4) { transition-delay: 0.20s; }
.nav-overlay.open a:nth-child(5) { transition-delay: 0.25s; }
.nav-overlay a:hover { color: var(--coral); }

/* ================================================
   HERO
   ================================================ */

.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 160px 0 100px;
  position: relative;
}

.hero .wrap {
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 400;
  color: var(--text-2);
  margin-top: 32px;
  line-height: 1.75;
  max-width: 560px;
}

.hero-cta {
  margin-top: 40px;
}

/* ================================================
   FEATURES — Left text, right tilted cards
   ================================================ */

.features {
  padding: 140px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.features-header p {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-top: 16px;
}

.features-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(74,60,49,0.04);
  transition: background 0.3s, transform 0.4s var(--ease-out), box-shadow 0.3s;
}
.feature-card:hover {
  background: var(--bg-card-h);
  box-shadow: 0 4px 16px rgba(74,60,49,0.08);
}

.feature-card-1 { transform: rotate(-2deg); }
.feature-card-2 { transform: rotate(1.5deg) translateY(30px); }
.feature-card-3 { transform: rotate(1deg) translateY(-15px); }
.feature-card-4 { transform: rotate(-1.5deg) translateY(20px); }
.feature-card-5 { transform: rotate(2deg); }
.feature-card-6 { transform: rotate(-1deg) translateY(25px); }
.feature-card-7 { transform: rotate(-2deg) translateY(-10px); }
.feature-card-8 { transform: rotate(1.5deg) translateY(15px); }

.feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 20px;
  color: var(--text-2);
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ================================================
   VELOCITY — Split heading + content
   ================================================ */

.velocity {
  padding: 140px 0;
}

.velocity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.velocity-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  font-style: italic;
}

.velocity-content {
  display: flex; gap: 24px;
}

.velocity-bar {
  width: 3px; flex-shrink: 0;
  background: var(--coral);
  border-radius: 2px;
}

.velocity-content p {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ================================================
   NUMBERS
   ================================================ */

.numbers {
  padding: 140px 0;
  text-align: center;
}

.numbers-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 64px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.number-item {
  text-align: center;
}
.number-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.number-label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================
   HOW IT WORKS
   ================================================ */

.how {
  padding: 140px 0;
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}
.how-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}
.how-header h2 em {
  font-family: var(--font-display);
  font-style: italic;
}
.how-header p {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-top: 16px;
}

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.how-card {
  position: relative;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 28px 36px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.how-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(74,60,49,0.10);
}

.how-card-number {
  position: absolute;
  top: -20px;
  right: -8px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(74,60,49,0.10);
  pointer-events: none;
  user-select: none;
}

.how-card-glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.5s;
  pointer-events: none;
}
.how-card:hover .how-card-glow {
  opacity: 0.15;
}

/* Dark middle card */
.how-card-dark {
  background: var(--text);
  border-color: transparent;
}
.how-card-dark .how-card-number { color: rgba(255,255,255,0.10); }
.how-card-dark .how-card-icon { background: rgba(255,255,255,0.12); color: #fff; }
.how-card-dark h3 { color: #fff; }
.how-card-dark p { color: rgba(255,255,255,0.6); }
.how-card-dark kbd { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.15); }
.how-card-dark:hover {
  box-shadow: 0 20px 60px rgba(74,60,49,0.25);
}
.how-card-dark:hover .how-card-glow { opacity: 0.25; }

.how-card-body {
  position: relative;
  z-index: 1;
}

.how-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(74,60,49,0.06);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease-out);
}
.how-card:hover .how-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.how-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

.how-card kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-head);
  font-size: 0.78em;
  background: rgba(74,60,49,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  vertical-align: 1px;
}

/* ================================================
   PRICING
   ================================================ */

.pricing {
  padding: 140px 0;
}

.pricing-header {
  margin-bottom: 40px;
  text-align: center;
}
.pricing-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  font-style: italic;
}
.pricing-header p {
  font-size: 1rem;
  color: var(--text-2);
  margin-top: 16px;
}

.pricing-toggle-wrap {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-trial-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(74,60,49,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px 36px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(74,60,49,0.10);
}

/* Popular card — dark treatment */
.price-card-popular {
  background: var(--text);
  border-color: transparent;
  color: #fff;
}
.price-card-popular .price-tier { color: rgba(255,255,255,0.4); }
.price-card-popular .price-amount { color: #fff; }
.price-card-popular .price-period { color: rgba(255,255,255,0.4); }
.price-card-popular .price-equiv { color: rgba(255,255,255,0.5); }
.price-card-popular .price-equiv strong { color: var(--coral); }
.price-card-popular .price-features li { color: rgba(255,255,255,0.65); }
.price-card-popular .price-features svg { color: var(--coral); }
.price-card-popular .price-cta {
  background: #fff;
  color: var(--text);
}
.price-card-popular .price-cta:hover {
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.price-card-popular:hover {
  box-shadow: 0 20px 60px rgba(74,60,49,0.25);
}

.price-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 5px 14px;
  background: var(--coral);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.price-head {
  margin-bottom: 28px;
}
.price-tier {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  display: block;
  margin-bottom: 12px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
}
.price-decimal {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.6;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-3);
  font-weight: 500;
}
.price-equiv {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
}

.price-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}
.price-features li {
  font-size: 0.9rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features svg {
  flex-shrink: 0;
  color: var(--coral);
}

.price-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}
.price-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(74,60,49,0.15);
}

.pricing-footnote {
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 32px;
  text-align: center;
}

/* ================================================
   FAQ
   ================================================ */

.faq {
  padding: 140px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  font-style: italic;
}

.faq-list { /* replaces faq-wrap for index */ }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500; font-size: 0.95rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
  color: var(--text);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--coral); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0; margin-left: 16px;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-answer p {
  padding: 0 0 22px;
  font-size: 0.92rem; line-height: 1.75;
  color: var(--text-2);
}

/* ================================================
   CTA
   ================================================ */

.cta {
  padding: 140px 0;
  border-top: 1px solid var(--border);
}

.cta-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.cta-layout h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  font-style: italic;
}
.cta-layout p {
  font-size: 1rem;
  color: var(--text-2);
  margin-top: 12px;
}

.cta-buttons {
  display: flex; gap: 14px; flex-shrink: 0;
}

/* ================================================
   FOOTER
   ================================================ */

footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 0.95rem;
  color: var(--coral);
}
.footer-brand img { border-radius: 6px; }

.footer-cols {
  display: flex; gap: 64px;
}
.footer-col {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ================================================
   COOKIE NOTICE
   ================================================ */

.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  max-width: 620px;
  width: calc(100% - 48px);
  background: var(--text);
  border-radius: 100px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: cnSlide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}
.cookie-notice.visible { display: flex; }
@keyframes cnSlide {
  to { transform: translateX(-50%) translateY(0); }
}
.cn-pill {
  flex-shrink: 0;
  font-size: 1rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cn-body { flex: 1; min-width: 0; }
.cn-body p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.45;
}
.cn-body strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.cn-body a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
}
.cn-body a:hover { text-decoration: underline; }
.cn-yes {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cn-yes:hover { background: var(--coral-h); transform: scale(1.04); }
.cn-no {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.cn-no:hover { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

/* ================================================
   SUB-PAGES
   ================================================ */

.page-content {
  padding: 140px 0 80px;
}
.page-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
}
.page-content .page-date {
  font-family: var(--font-head);
  font-size: 0.8rem; color: var(--text-3);
  margin-bottom: 40px;
}
.page-content .page-sub {
  font-size: 1.05rem; color: var(--text-2);
  margin-bottom: 48px;
}
.page-content h2 {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 500;
  margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.page-content p {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}
.page-content ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
}
.page-content li {
  font-size: 0.92rem; color: var(--text-2);
  padding-left: 20px; position: relative;
}
.page-content li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--coral);
  font-weight: 600;
}
.page-content li strong { color: var(--text); }

.inline-link {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover { color: var(--coral-h); }

.support-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(74,60,49,0.04);
  transition: background 0.3s, box-shadow 0.3s;
}
.support-card:hover { background: var(--bg-card-h); box-shadow: 0 4px 16px rgba(74,60,49,0.08); }
.support-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.support-icon-orange { background: rgba(123,175,212,0.12); color: var(--coral); }
.support-icon-green  { background: rgba(107,158,133,0.12); color: #6B9E85; }
.support-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 500;
  margin-bottom: 4px;
}
.support-card p { margin-bottom: 0; }

/* FAQ on sub-pages (no split layout) */
.page-content .faq-wrap {
  max-width: 100%;
}

/* ================================================
   SCROLL REVEAL
   ================================================ */

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ================================================
   REDUCED MOTION
   ================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .cookie-notice {
    opacity: 1 !important;
    transform: none !important;
  }
  .feature-card {
    transform: none !important;
  }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 767px) {
  .nav-pill, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 85vh; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }

  .features-grid-full {
    grid-template-columns: 1fr;
  }
  .feature-card-1, .feature-card-2,
  .feature-card-3, .feature-card-4,
  .feature-card-5, .feature-card-6,
  .feature-card-7, .feature-card-8 {
    transform: none;
  }

  .velocity-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .how-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-layout {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons { flex-wrap: wrap; justify-content: center; }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-cols {
    flex-direction: column;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cookie-notice { left: 12px; right: 12px; bottom: 12px; transform: translateX(0) translateY(120px); border-radius: 20px; }
  .cookie-notice.visible { transform: translateX(0); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .velocity-layout,
  .faq-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .how-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1440px) {
  .wrap { max-width: 1300px; }
}
