/* ==========================================================================
   Fratera Marketing Site — Design System
   "Calm software" aesthetic — Linear/Notion-inspired, clean, light, confident.
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand palette (from brand-logo.tsx canonical source) */
  --brand-teal:    #1C6E7E;
  --brand-teal-dark: #0F4F5C;
  --brand-teal-light: #E8F4F6;
  --brand-green:   #2E9E5B;
  --brand-green-light: #ECFDF5;
  --brand-orange:  #EE8A22;
  --brand-orange-light: #FFF7ED;

  /* Neutrals */
  --bg-page:       #FAFBFC;
  --bg-card:       #FFFFFF;
  --bg-muted:      #F1F5F9;
  --border:        #E2E8F0;
  --border-light:  #F1F5F9;
  --text-primary:  #0F172A;
  --text-secondary:#334155;
  --text-muted:    #64748B;
  --text-faint:    #94A3B8;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Layout */
  --max-width:     1200px;
  --nav-height:    72px;
  --border-radius: 12px;
  --radius-sm:     8px;
  --radius-pill:   9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--space-xl));
  -webkit-text-size-adjust: 100%;
}

/* impeccable-disable overused-font: Jan's call 2026-08-03 — Inter stays until a
   distinctive display face is deliberately chosen (site brief §7). */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--brand-teal);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--duration) var(--ease-out);
}
.skip-link:focus { top: var(--space-md); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); font-weight: 800; }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 700; }
h4 { font-size: var(--text-xl);  font-weight: 600; }

p { max-width: 65ch; }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); line-height: 1.7; }
.text-center { text-align: center; }

/* p carries max-width: 65ch, so text-align:center centres the text INSIDE that box —
   and the box itself sits hard left, which reads as "not centred". Centre the box too.
   (Jan, 2026-08-20: the "Compare every feature" subtitle.) */
p.text-center { margin-left: auto; margin-right: auto; }
.text-balance { text-wrap: balance; }

/* Branded gradient text */
.gradient-text {
  color: var(--brand-teal);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 var(--space-xl);
  transition: background var(--duration) ease, box-shadow var(--duration) ease;
}

.site-nav.scrolled {
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

/* Explicit high-contrast states for navigation over a dark hero. */
.nav-over-dark .site-nav {
  background: rgba(13, 49, 53, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12);
}

.nav-over-dark .site-nav .nav-brand-title {
  color: #ffffff !important;
}

.nav-over-dark .site-nav .nav-brand-subtitle {
  color: #d0e1e2 !important;
  opacity: 1 !important;
}

.nav-over-dark .site-nav .nav-links a {
  color: #ffffff !important;
}

.nav-over-dark .site-nav .nav-links a:hover {
  color: #c7efd6 !important;
}

.nav-over-dark .site-nav .nav-links a.active {
  color: #a8e1bf !important;
}

.nav-over-dark .site-nav .nav-toggle span {
  background: #ffffff !important;
}

.nav-over-dark .site-nav .nav-actions .btn-primary {
  background: #218399 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.nav-over-dark .site-nav.scrolled {
  background: rgba(250, 251, 252, 0.94);
  box-shadow: 0 1px 0 var(--border);
}

.nav-over-dark .site-nav.scrolled .nav-brand-title {
  color: var(--brand-teal) !important;
}

.nav-over-dark .site-nav.scrolled .nav-brand-subtitle {
  color: var(--brand-teal) !important;
  opacity: 0.7 !important;
}

.nav-over-dark .site-nav.scrolled .nav-links a {
  color: var(--text-secondary) !important;
}

.nav-over-dark .site-nav.scrolled .nav-links a:hover,
.nav-over-dark .site-nav.scrolled .nav-links a.active {
  color: var(--brand-teal) !important;
}

.nav-over-dark .site-nav.scrolled .nav-toggle span {
  background: var(--text-secondary) !important;
}

.nav-over-dark .site-nav.scrolled .nav-actions .btn-primary {
  background: var(--brand-teal) !important;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Brand / Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* Approved outlined wordmark: light surfaces use the white-backed asset;
   dark hero navigation switches back to light when its scrolled header changes. */
.brand-artwork { display: block; width: 223px; height: 44px; flex-shrink: 0; }
.brand-artwork img { display: block; width: 223px; height: 44px; max-width: none; }
.brand-artwork .brand-dark { display: none; }
.nav-over-dark .site-nav:not(.scrolled) .brand-light { display: none; }
.nav-over-dark .site-nav:not(.scrolled) .brand-dark { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) ease;
  padding: var(--space-xs) 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-teal);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out), background-color var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 251, 252, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--duration) ease;
}

.mobile-menu a:hover { color: var(--brand-teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: #0f4f5c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f1f5f9 !important;
  color: #0f4f5c !important;
  border-color: #1c6e7e !important;
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand-orange), #D97706);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-accent:hover {
  background: #D97A1C;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.85rem 2rem;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* ---------- Cycling Hero Slogans ---------- */
.slogan-box {
  position: relative;
  min-height: 90px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(var(--text-lg), 2.2vw, var(--text-xl));
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 1s ease;
  filter: blur(8px);
  pointer-events: none;
  width: 100%;
  text-align: center;
}

.slogan.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.slogan.exit {
  opacity: 0;
  transform: translateY(-16px) scale(1.02);
  filter: blur(8px);
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--brand-green-light);
  border: 1px solid rgba(46, 158, 91, 0.2);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #065F46;
  margin-bottom: var(--space-xl);
  
  
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--brand-green);
  border-radius: 50%;
  position: relative;
}

.hero-badge .pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-green);
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(3); opacity: 0; }
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* Hero screenshot frame. Sized by its image — no aspect-ratio box to fight,
   which is why index.html no longer carries inline overrides here. */
.hero-visual {
  max-width: 940px;
  margin: var(--space-2xl) auto 0;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);   /* one edge treatment: the border is the edge, not a wide halo */
  background: var(--bg-card);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Pricing: the size spec line ---------- */
/* The single line that says what the selected size actually gives you. It read as a
   footnote (text-sm, muted) under three toggles; Jan, 2026-08-20: "this should be
   easier to read - more bold, more clear. Its important info." */
.size-spec-wrap {
  text-align: center;
  margin: var(--space-sm) 0 var(--space-lg);
}

.size-spec {
  display: inline-block;
  max-width: none;
  margin: 0;
  padding: var(--space-sm) var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--text-base);
  color: var(--text-secondary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.size-spec strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Separator: a dot with room around it, not a character wedged between two words. */
.size-spec span {
  color: var(--text-faint);
  padding: 0 0.6rem;
}

@media (max-width: 560px) {
  .size-spec {
    display: block;
    border-radius: var(--border-radius);
    padding: var(--space-sm) var(--space-md);
  }
  .size-spec span { padding: 0 0.4rem; }
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: var(--space-md);
  align-items: start;
  align-content: start;
  transition: border-color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(28, 110, 126, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Icon sits beside the title, not floating alone above it — the stacked
   version left cards looking sparse (Jan, 2026-08-03). */
.feature-icon {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  margin-top: 1px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.teal { color: var(--brand-teal); }
.feature-icon.green { color: var(--brand-green); }
.feature-icon.orange { color: var(--brand-orange); }

/* Card titles sit a step above body (text-sm), never at section-heading scale —
   Jan, 2026-08-03: box titles were overpowering the card visuals. */
.feature-card h2,
.feature-card h3 {
  grid-column: 2;
  align-self: center;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature-card p {
  grid-column: 2;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ---------- Social Proof Section ---------- */
.social-proof {
  text-align: center;
}

.social-proof p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  
  
  font-weight: 500;
  margin: 0 auto var(--space-xl);
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  opacity: 0.35;
}

.logo-row span {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-muted);
}

/* ---------- Pricing Teaser ---------- */
.pricing-teaser {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-lg);
}

.pricing-teaser .eyebrow {
  font-size: var(--text-xs);
  
  
  font-weight: 600;
  color: var(--brand-teal);
  margin-bottom: var(--space-sm);
}

.pricing-teaser h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.pricing-teaser p {
  color: var(--text-muted);
  margin: 0 auto var(--space-xl);
  max-width: 500px;
}

/* ---------- Pricing Page ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.pricing-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
  border-color: var(--brand-teal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.repository-banner {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.repository-banner-info {
  flex: 1 1 200px;
}

.repository-banner-desc {
  flex: 2 1 400px;
}

.repository-banner-action {
  flex: 0 0 auto;
  text-align: right;
}

.pricing-tier-name {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--brand-teal);
  margin-bottom: var(--space-xs);
}

.pricing-price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   Price toggles — billing period + currency (pricing.html)
   Segmented controls. The active button is the source of truth for state;
   JS mirrors it onto aria-pressed so screen readers hear the same thing.
   -------------------------------------------------------------------------- */

.price-toggles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.seg {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.seg-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  padding: 0.5rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.seg-btn:hover { color: var(--text-primary); }

.seg-btn.is-on {
  background: #fff;
  color: var(--brand-teal);
  box-shadow: 0 1px 3px rgba(15, 79, 92, 0.13);
}

/* Keyboard focus must stay visible — these are the only controls on the page
   that change what a price says. */
.seg-btn:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 2px;
}

.seg-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-teal);
  opacity: 0.85;
}

.seg-btn:not(.is-on) .seg-note { color: inherit; opacity: 0.7; }

@media (max-width: 560px) {
  .price-toggles { flex-direction: column; gap: var(--space-sm); }
  .seg-btn { padding: 0.5rem 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .seg-btn { transition: none; }
}

.pricing-desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
  /* The rule sat flush against the feature list: this element's margin-bottom
     resolved to 0 inside the flex column, so all the breathing room was above
     the line and none below it. Space below now lives on .pricing-features'
     padding-top, which lands reliably. Keep the two roughly equal so the rule
     reads as centred between the description and the list. */
  margin-bottom: 0;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: auto;
  padding-top: var(--space-lg);      /* the other half of the rule's breathing room */
  padding-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li > span,
.product-benefits li > span {
  min-width: 0;      /* allow the text to wrap instead of overflowing the row */
  text-align: left;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-green);
  margin-top: 1px;
}

.pricing-callout {
  background: var(--brand-green-light);
  border: 1px solid rgba(46, 158, 91, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.pricing-callout p {
  color: #065F46;
  font-weight: 600;
  font-size: var(--text-sm);
  margin: 0 auto;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-faint);
  transition: transform var(--duration) var(--ease-out);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

/* No markup ever shipped the chevron the rules above expect — a bare bold line
   gives no hint it opens. CSS-only affordance for buttons without an icon. */
.faq-question:not(:has(svg))::after {
  content: "+";
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1;
  color: var(--text-faint);
  margin-left: var(--space-md);
  flex-shrink: 0;
}
.faq-item.open .faq-question:not(:has(svg))::after { content: "\2212"; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-answer > * {
  overflow: hidden;
  min-height: 0;   /* without this the 0fr row cannot collapse — a line of every
                      answer stayed visible under the closed question (2026-08-03) */
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  /* Padding is applied ONLY when open. On a collapsed 0fr grid track, padding is
     part of the border box and cannot be compressed, so a static padding-bottom
     left ~24px of every answer visible under its closed question — min-height:0
     alone does not fix that (measured 2026-08-03). */
  padding-bottom: 0;
}

.faq-item.open .faq-answer p {
  padding-bottom: var(--space-lg);
}

/* ---------- Security Page Features ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
}

.security-card h2,
.security-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.security-card h2 svg,
.security-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--brand-teal);
}

.security-card p, .security-card ul {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.security-card ul {
  list-style: disc;
  padding-left: var(--space-lg);
}

.security-card ul li {
  margin-bottom: var(--space-xs);
}

/* ---------- Product Page ---------- */
.product-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.product-section:last-of-type {
  border-bottom: none;
}

.product-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.product-section:nth-child(even) .product-section-inner {
  direction: rtl;
}

.product-section:nth-child(even) .product-section-inner > * {
  direction: ltr;
}

.product-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.product-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-benefits li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-green);
  margin-top: 2px;
}

.product-visual {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.08),
              0 0 0 1px var(--border);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: var(--text-sm);
}

.product-visual:not(:has(img)) {
  aspect-ratio: 4 / 3;
}

.product-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  background: var(--brand-teal);
  color: #FFFFFF;
  border-radius: var(--border-radius);
  padding: var(--space-3xl) var(--space-2xl);
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto var(--space-xl);
  max-width: 500px;
}

/* A banner that ends on its paragraph (no button) does not need the button gap. */
.cta-banner > p:last-child { margin-bottom: 0; }

/* .hero-actions carries a 4rem bottom margin for the homepage hero; inside a CTA
   banner that stacks on top of the banner's own padding and left the button
   floating in dead space (2026-08-03). */
.cta-banner .hero-actions { margin-bottom: 0; }

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: var(--brand-teal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
  background: #e8f4f6 !important;
  color: #0f4f5c !important;
  transform: translateY(-1px);
}

.cta-banner .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.cta-banner .btn-secondary:hover {
  background: #f1f5f9 !important;
  color: #0f4f5c !important;
  border-color: #1c6e7e !important;
}

/* Secondary CTA: same shape, quieter voice — two solid teal blocks back to back
   read as one message repeated (2026-08-03). */
.cta-banner.cta-quiet {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: var(--space-2xl);
}

.cta-banner.cta-quiet h2 {
  color: var(--text-primary);
  font-size: var(--text-2xl);
}

.cta-banner.cta-quiet p { color: var(--text-muted); }

.cta-banner.cta-quiet .btn-primary {
  background: var(--brand-teal);
  color: #FFFFFF;
}

.cta-banner.cta-quiet .btn-primary:hover {
  background: var(--brand-teal-dark) !important;
  color: #FFFFFF !important;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--bg-card);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-md);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col .footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: 0;
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--duration) ease;
}

.footer-col a:hover { color: var(--brand-teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- Legal / Placeholder Pages ---------- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-3xl)) 2rem var(--space-3xl) 2rem;
  text-align: center;
  
}

.page-header h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--text-muted);
  margin: 0 auto;
}

.page-content {
  padding: var(--space-3xl) 0;
  max-width: 720px;
  margin: 0 auto;
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

/* Prose-section headings: editorial scale, not display scale — a 3rem h2 inside
   a 720px text column overpowers everything under it (Jan, 2026-08-03). */
.page-content h2 {
  font-size: var(--text-2xl);
  margin: var(--space-2xl) 0 var(--space-md);
}
.page-content h2:first-child { margin-top: 0; }

/* ---------- Long-form legal documents ---------- */
.legal-page-content {
  max-width: none;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background: #fbfcfb;
}

.legal-layout {
  display: grid;
  width: 100%;
  max-width: 1480px;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1050px);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
  justify-content: center;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  max-height: calc(100vh - var(--nav-height) - 3rem);
  overflow: auto;
  padding: 1.25rem 0 1.25rem 1.15rem;
  border-left: 3px solid var(--brand-green);
}

.legal-toc-title {
  margin: 0 0 0.7rem !important;
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-size: 0.84rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.legal-toc ul { margin: 0; padding: 0; list-style: none; }
.legal-toc li { margin: 0; }
.legal-toc a {
  display: block;
  padding: 0.34rem 0;
  color: var(--text-muted);
  font-size: 0.81rem;
  line-height: 1.35;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--brand-teal); }

.legal-document { min-width: 0; }
.legal-document p,
.legal-document li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.76;
}
.legal-document p { margin: 0 0 1rem; }
.legal-document ul,
.legal-document ol { margin: 0 0 1.35rem; padding-left: 1.45rem; }
.legal-document li { margin-bottom: 0.55rem; padding-left: 0.2rem; }
.legal-document h2 {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
  margin: 3.2rem 0 1rem;
  color: var(--text-main);
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.legal-document h3 {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
  margin: 2rem 0 0.7rem;
  color: #1f4448;
  font-size: 1.18rem;
  line-height: 1.35;
}
.legal-document strong { color: var(--text-main); }
.legal-document code {
  padding: 0.12em 0.32em;
  border-radius: 4px;
  color: #174f53;
  background: #edf5f1;
  font-size: 0.88em;
}

.legal-note {
  margin: 1.3rem 0 1.8rem;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 10px 10px 0;
  background: #fff7eb;
}
.legal-note p { margin: 0; color: #694a18; font-size: 0.94rem; }

.legal-section-break { margin: 3.1rem 0; border: 0; border-top: 1px solid var(--border); }
.legal-table-wrap { margin: 1.4rem 0 1.8rem; overflow-x: auto; }
.legal-document table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.9rem;
}
.legal-document th,
.legal-document td {
  padding: 0.72rem 0.78rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.legal-document th { color: var(--text-main); background: var(--bg-muted); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-toc { position: static; max-height: none; }
}

/* ---------- Blog Stub ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* A blog card borrows .feature-card's shell but NOT its icon column. With no
   icon, the date auto-placed into the 24px icon track and broke "2026-08"
   across two lines, and every line sat indented past an empty column. Flex
   column instead, so the date can sit in the bottom corner on its own. */
.blog-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
}

.blog-card h2,
.blog-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.blog-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.blog-date {
  margin-top: auto;            /* pin to the bottom of the card */
  font-size: var(--text-xs);
  color: var(--text-faint);
  white-space: nowrap;         /* never break a date across lines */
}

.blog-card-placeholder {
  background: var(--bg-muted);
  border: 1px dashed var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ---------- Contact Form ---------- */
.contact-section {
  text-align: center;
}

.contact-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: system-ui, sans-serif;
  font-size: var(--text-sm);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  text-align: center;
  margin-top: var(--space-sm);
}

/* ---------- Launch Banner ---------- */
.launch-banner {
  background: linear-gradient(135deg, var(--brand-orange-light), rgba(238, 138, 34, 0.08));
  border: 1px solid rgba(238, 138, 34, 0.2);
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.launch-banner p {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: #92400E;
  margin: 0 auto;
  font-size: var(--text-base);
}

.launch-banner .launch-date {
  font-size: var(--text-lg);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-xs);
}

/* ---------- Roadmap Section ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}

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

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  text-align: center;
}

.roadmap-card .roadmap-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--brand-teal);
}

.roadmap-card .roadmap-icon svg {
  width: 22px;
  height: 22px;
}

.roadmap-card h3,
.roadmap-card h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0;
}

.roadmap-card p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: var(--space-xs) auto 0;
}

/* ---------- Add-ons Simple ---------- */
.addons-simple {
  max-width: 520px;
  margin: var(--space-2xl) auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
}

.addons-simple h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.addons-simple p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  max-width: 600px;
  width: calc(100% - var(--space-2xl));
  transition: transform 0.5s var(--ease-out), opacity 0.5s ease;
}

.cookie-banner.hidden {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-banner p a {
  color: var(--brand-teal);
  text-decoration: underline;
}

/* ---------- Entrance motion ----------
   Scroll reveal is BACK (Jan, 2026-08-03) — rebuilt on the native CSS scroll
   timeline instead of an IntersectionObserver.

   The old version worked in normal browsing; the honest failure mode was
   narrower than first reported: elements lagged fast scrolling, and content
   stayed hidden in any context where the observer never ran (JS blocked or
   failed, full-page capture, print). The resting state being opacity:0 with
   only JS to undo it was the fragile part — not the animation.

   This version has no JavaScript at all. `animation-timeline: view()` is driven
   by the compositor from scroll position, and the whole thing sits behind an
   @supports guard, so a browser without it simply shows the content. Print is
   forced visible below. Do not reintroduce a JS-gated resting state. */
@keyframes fratera-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Hero: entrance on load, ordinary timeline — it is above the fold, nothing to
   scroll into. Always completes. */
@media (prefers-reduced-motion: no-preference) {
  .hero > .container > * { animation: fratera-enter 0.55s var(--ease-out) both; }
  .hero > .container > *:nth-child(2) { animation-delay: 0.04s; }
  .hero > .container > *:nth-child(3) { animation-delay: 0.08s; }
  .hero > .container > *:nth-child(4) { animation-delay: 0.12s; }
  .hero > .container > *:nth-child(5) { animation-delay: 0.16s; }
  .hero > .container > *:nth-child(6) { animation-delay: 0.20s; }
}

/* Everything below the fold: revealed by scroll position, no observer. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .pricing-card,
    .security-card,
    .roadmap-card,
    .blog-card-placeholder,
    .pricing-teaser,
    .contact-card,
    .cta-banner,
    .addons-simple,
    .repository-banner,
    .product-section .product-text,
    .product-section .product-visual {
      animation: fratera-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

/* A printed page never scrolls — force the resting state visible. */
@media print {
  .feature-card, .pricing-card, .security-card, .roadmap-card,
  .blog-card-placeholder, .pricing-teaser, .contact-card, .cta-banner,
  .addons-simple, .repository-banner,
  .product-section .product-text, .product-section .product-visual,
  .hero > .container > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-section-inner {
    grid-template-columns: 1fr;
  }
  .product-section:nth-child(even) .product-section-inner {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 1.5rem;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-height) + var(--space-2xl)); }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  
  .repository-banner {
    flex-direction: column;
    text-align: center;
    max-width: 420px;
    margin: var(--space-xl) auto 0;
  }
  .repository-banner-action { text-align: center; width: 100%; }
  .repository-banner-action .btn { width: 100%; justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}


/* =========================================
   Cinematic Hero Architecture (Solid Strip)
   ========================================= */
.hero-cinematic {
  position: relative;
  /* Reduced height to crop out the bottom desk area (the "green box") */
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  text-align: left;
  background-size: cover;
  background-position: center;
  min-height: 45vh; /* Much shorter than the old 60vh to crop the bottom */
  display: flex;
  align-items: center; /* Centers the strip vertically */
}

/* Modifiers for specific pages */

.hero-cinematic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--nav-height) + var(--space-xl));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-cinematic-home { background-image: url('../assets/images/cozy-hero-bg.jpg'); }
.hero-cinematic-pricing { background-image: url('../assets/images/cozy_pricing_bg.jpg'); }
.hero-cinematic-product { background-image: url('../assets/images/cozy_product_bg.jpg'); }

.hero-solid-strip {
  width: 100%;
  background: var(--bg-muted);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.hero-solid-strip .container {
  /* Keep text properly contained within the standard width */
  position: relative;
  z-index: 2;
}

.site-nav a { font-weight: 800; }

.hero-cinematic-security {
  background-image: url('../assets/images/cozy_security_bg.jpg');
}
.hero-cinematic-about {
  background-image: url('../assets/images/cozy_about_bg.jpg');
}
.hero-cinematic-partners {
  background-image: url('../assets/images/cozy_partners_bg.jpg');
}

/* ========================================================================== 
   Review v2 homepage — product-first positioning
   ========================================================================== */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 3.5rem) 0 3.75rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(238, 138, 34, 0.14), transparent 30rem),
    radial-gradient(circle at 8% 72%, rgba(46, 158, 91, 0.12), transparent 28rem),
    linear-gradient(145deg, #f8faf9 0%, #eef4f3 52%, #f9f4ec 100%);
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: linear-gradient(rgba(18, 62, 68, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 62, 68, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1440px;
  grid-template-columns: minmax(460px, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 3.5vw, 3.55rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: #14353a;
}

.home-hero-copy > .eyebrow {
  margin: 1.5rem 0 0.75rem;
}

.home-hero-lede {
  max-width: 720px;
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof-list li {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(29, 91, 95, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #31585b;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-hero-product {
  position: relative;
  width: 100%;
  margin: 0;
}

.home-hero-product::before {
  content: '';
  position: absolute;
  inset: 9% -6% -10% 8%;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(22, 102, 109, 0.24), rgba(238, 138, 34, 0.18));
  filter: blur(34px);
}

.home-hero-product img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(19, 61, 66, 0.12);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(19, 61, 66, 0.22), 0 5px 18px rgba(19, 61, 66, 0.12);
}

.home-hero-product figcaption {
  position: relative;
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: right;
}

.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #153f44;
  color: white;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip-grid > div {
  min-height: 128px;
  padding: 1.8rem 1.6rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.proof-strip-grid > div:last-child { border-right: 0; }

.proof-strip-grid strong,
.proof-strip-grid span { display: block; }
.proof-strip-grid strong { margin-bottom: 0.45rem; font-family: var(--font-heading); font-size: 1rem; }
.proof-strip-grid span { color: rgba(255,255,255,0.72); font-size: 0.82rem; line-height: 1.55; }

.home-section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.home-section-heading.text-center { margin-right: auto; margin-left: auto; }
.home-section-heading h2 { margin-bottom: 0.9rem; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.15; letter-spacing: -0.025em; }
.home-section-heading > p:last-child { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.7; }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.outcome-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(19, 61, 66, 0.055);
}

.outcome-card::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46,158,91,0.12), rgba(238,138,34,0.12));
}

.outcome-card-featured { background: linear-gradient(135deg, #fff 0%, #f2f8f5 100%); }
.outcome-number { display: block; margin-bottom: 1.75rem; color: var(--brand-orange); font-family: var(--font-heading); font-weight: 800; }
.outcome-card h3 { max-width: 460px; margin-bottom: 0.8rem; font-size: 1.45rem; }
.outcome-card p { position: relative; z-index: 1; color: var(--text-secondary); line-height: 1.65; }
.outcome-card a { position: relative; z-index: 2; align-self: flex-start; margin-top: auto; padding-top: 1.75rem; color: var(--brand-teal); font-weight: 700; }

.product-tour { background: #f3f7f6; }

.tour-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(19, 61, 66, 0.1);
}

.tour-row.reverse .tour-visual { order: 2; }
.tour-row.reverse .tour-copy { order: 1; }

.tour-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(19, 61, 66, 0.12);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 50px rgba(19, 61, 66, 0.13);
}

.tour-copy h3 { margin-bottom: 1rem; font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.18; letter-spacing: -0.02em; }
.tour-copy > p:not(.eyebrow) { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.tour-copy ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.tour-copy li { position: relative; padding-left: 1.25rem; color: #31585b; font-size: 0.86rem; font-weight: 650; }
.tour-copy li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-green); }

.tour-callout {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--brand-orange);
  background: rgba(255,255,255,0.7);
}
.tour-callout strong { color: var(--text-primary); font-family: var(--font-heading); font-size: 0.95rem; }
.tour-callout span { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.55; }

.difference-section { color: white; background: #14383d; }
.difference-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.difference-section .eyebrow { color: #84d2ad; }
.difference-section h2 { margin-bottom: 1.2rem; color: white; font-size: clamp(1.9rem, 3.2vw, 2.85rem); line-height: 1.14; letter-spacing: -0.025em; }
.difference-section p:not(.eyebrow) { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.75; }
.difference-facts { border-top: 1px solid rgba(255,255,255,0.16); }
.difference-facts > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.difference-facts span { color: rgba(255,255,255,0.58); }
.difference-facts strong { text-align: right; }

.home-pricing-teaser { padding: clamp(2.5rem, 6vw, 5rem); background: linear-gradient(135deg, #fff 0%, #f6f0e8 100%); }
.home-pricing-teaser h2 { max-width: 800px; margin-right: auto; margin-left: auto; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.15; }
.home-pricing-teaser > p { max-width: 700px; margin: 0.9rem auto 1.8rem; color: var(--text-secondary); }
.home-pricing-teaser .home-hero-actions { justify-content: center; }

.contact-kicker,
.contact-heading { text-align: center; }
.contact-heading { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.15; }

@media (max-width: 1050px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-product { width: min(920px, 100%); margin: 1rem auto 0; }
  .home-hero-product img { width: 100%; }
  .proof-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-strip-grid > div:nth-child(2) { border-right: 0; }
  .proof-strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 800px) {
  .home-hero { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3rem; }
  .home-hero-copy h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .outcome-grid, .difference-grid { grid-template-columns: 1fr; }
  .tour-row, .tour-row.reverse { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .tour-row.reverse .tour-visual, .tour-row.reverse .tour-copy { order: initial; }
  .tour-row .tour-copy { order: -1; }
  .outcome-card { min-height: 300px; }
}

@media (max-width: 560px) {
  .home-hero-actions { align-items: stretch; flex-direction: column; }
  .home-hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof-list { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-proof-list li { border-radius: 12px; text-align: center; }
  .proof-strip-grid { grid-template-columns: 1fr; }
  .proof-strip-grid > div { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .proof-strip-grid > div:last-child { border-bottom: 0; }
  .tour-copy ul { grid-template-columns: 1fr; }
  .difference-facts > div { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
  .difference-facts strong { text-align: left; }
}

/* Review v2 About page */
.about-hero {
  padding: calc(var(--nav-height) + 4.25rem) 0 4.25rem;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(238,138,34,0.22), transparent 28rem),
    radial-gradient(circle at 8% 90%, rgba(46,158,91,0.2), transparent 30rem),
    #14383d;
}
.about-hero-inner { max-width: 940px; margin: 0 auto; text-align: center; }
.about-hero .eyebrow { margin-right: auto; margin-left: auto; color: #8ad6b2; text-align: center; }
.about-hero h1 { margin: 0.7rem 0 1.25rem; color: white; font-size: clamp(2.35rem, 4.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.04em; }
.about-hero p:last-child { max-width: 780px; margin: 0 auto; color: rgba(255,255,255,0.74); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }
.about-story-grid { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.15fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.about-story h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.14; letter-spacing: -0.025em; }
.about-prose p { color: var(--text-secondary); font-size: 1.03rem; line-height: 1.78; }
.about-prose p + p { margin-top: 1.3rem; }
.about-prose strong { color: var(--brand-orange); }
.about-principles { background: #f3f7f6; }
.about-principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.about-principle-grid article { min-height: 250px; padding: 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.68); }
.about-principle-grid span { display: block; margin-bottom: 2rem; color: var(--brand-orange); font-weight: 800; }
.about-principle-grid h3 { margin-bottom: 0.8rem; font-size: 1.3rem; }
.about-principle-grid p { color: var(--text-secondary); line-height: 1.65; }
.about-founder-grid { display: grid; grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.18fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; max-width: 1080px; }
.about-founder-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; margin: 0; border: 1px solid rgba(19,61,66,0.16); border-radius: 20px; background: #d9d9d6; box-shadow: 0 18px 50px rgba(19,61,66,0.14); }
.about-founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: grayscale(1) contrast(1.06); }
.about-founder-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 2.2rem 1rem 0.9rem; color: rgba(255,255,255,0.86); background: linear-gradient(to top, rgba(12,29,31,0.78), transparent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.about-founder h2 { margin-bottom: 0.35rem; font-size: clamp(2rem, 3vw, 2.7rem); }
.about-founder-role { margin-bottom: 1.5rem; color: var(--brand-teal); font-weight: 700; }
.about-founder p:not(.eyebrow):not(.about-founder-role) { color: var(--text-secondary); font-size: 1rem; line-height: 1.72; }
.founder-quote { margin-top: 1.5rem; padding: 0.2rem 0 0.2rem 1.4rem; border-left: 3px solid var(--brand-orange); }
.founder-quote p { color: #274b4f !important; font-size: 0.98rem !important; line-height: 1.72 !important; }
.founder-quote p + p { margin-top: 0.8rem; }
.about-founder-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.about-founder-links a, .about-founder-links span { padding: 0.6rem 0.85rem; border: 1px solid var(--border); border-radius: 10px; color: var(--brand-teal); font-weight: 700; }
.company-facts { background: #f8faf9; }
.company-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.company-facts-grid > div { min-height: 135px; padding: 1.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.company-facts-grid dt { margin-bottom: 1.3rem; color: var(--text-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.company-facts-grid dd { margin: 0; color: var(--text-main); font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; }
.company-facts-grid a { color: var(--brand-teal); }
@media (max-width: 800px) {
  .about-story-grid, .about-founder-grid { grid-template-columns: 1fr; }
  .about-principle-grid, .company-facts-grid { grid-template-columns: 1fr 1fr; }
  .about-founder-photo { width: min(420px, 100%); }
}
@media (max-width: 560px) {
  .about-hero { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3.25rem; }
  .about-principle-grid, .company-facts-grid { grid-template-columns: 1fr; }
}

/* ── Pricing: full feature comparison (2026-08-20) ─────────────────────────
   Collapsible <details> so the cards keep the fold. Native disclosure — no
   JavaScript, keyboard accessible, and it still prints and indexes because the
   content is in the DOM whether or not a section is open. */
.pricing-compare {
  max-width: 900px;
  margin: var(--space-3xl) auto 0 auto;
}
.pricing-compare details {
  border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, .08));
}
.pricing-compare details:last-of-type {
  border-bottom: 1px solid var(--border-subtle, rgba(0, 0, 0, .08));
}
.pricing-compare summary {
  cursor: pointer;
  padding: var(--space-sm) var(--space-2xs);
  font-weight: 600;
  font-size: var(--text-md);
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.pricing-compare summary::-webkit-details-marker { display: none; }
.pricing-compare summary::before {
  content: "+";
  font-weight: 700;
  opacity: .45;
  width: 1ch;
  font-size: var(--text-lg);
  line-height: 1;
}
.pricing-compare details[open] > summary::before { content: "\2212"; }
.pricing-compare summary:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 2px;
}
.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-sm);
}
.pricing-compare td {
  padding: var(--space-2xs) var(--space-2xs);
  font-size: var(--text-sm);
  border-top: 1px solid rgba(0, 0, 0, .05);
  color: var(--text-secondary);
}
.pricing-compare thead td {
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-primary);
  border-top: 0;
}
.pricing-compare td.c { text-align: center; width: 110px; }
.pricing-compare .yes { color: #2e7d32; font-weight: 700; }
.pricing-compare .no  { color: rgba(0, 0, 0, .22); }

@media (max-width: 640px) {
  .pricing-compare td.c { width: 68px; }
  .pricing-compare td { font-size: var(--text-xs); }
}

/* ========================================================================== 
   Review v2 Product page — one-page capability story
   ========================================================================== */

.product-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 4.5rem) 0 3.5rem;
  color: white;
  background:
    radial-gradient(circle at 86% 12%, rgba(238, 138, 34, 0.19), transparent 28rem),
    radial-gradient(circle at 10% 80%, rgba(46, 158, 91, 0.2), transparent 28rem),
    linear-gradient(140deg, #102f34 0%, #17474b 62%, #12383d 100%);
}

.product-hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  text-align: center;
}

.product-hero-inner h1 {
  max-width: 980px;
  margin: 0 auto 1.2rem;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.1vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.product-hero-lede {
  max-width: 850px;
  margin: 0 auto;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.product-hero-v2 .btn-secondary {
  border-color: rgba(255,255,255,0.36);
  color: #ffffff;
  background: rgba(255,255,255,0.04);
}

.product-hero-v2 .btn-secondary:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: rgba(255,255,255,0.11) !important;
}

.product-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.product-jump-nav a {
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.86);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-jump-nav a:hover,
.product-jump-nav a:focus-visible {
  border-color: rgba(255,255,255,0.58);
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}

.product-page-v2 .product-section {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-bottom: 1px solid rgba(19, 61, 66, 0.09);
  background: #fff;
}

.product-page-v2 .product-section.is-reverse { background: #f3f7f6; }
.product-page-v2 .product-section > .container { max-width: 1320px; }

.product-page-v2 .product-section-inner,
.product-page-v2 .product-section:nth-child(even) .product-section-inner {
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 6vw, 6rem);
  direction: ltr;
}

.product-page-v2 .product-section:nth-child(even) .product-section-inner > * { direction: ltr; }

.product-page-v2 .product-section.is-reverse .product-section-inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.product-page-v2 .product-section.is-reverse .product-visual { order: -1; }

.product-page-v2 .product-text .eyebrow { margin-bottom: 0.65rem; }

.product-page-v2 .product-text h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.product-page-v2 .product-text > p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.product-page-v2 .product-benefits { gap: 0.75rem; }

.product-page-v2 .product-benefits li {
  color: #31585b;
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-page-v2 .product-visual {
  overflow: hidden;
  border: 1px solid rgba(19, 61, 66, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(19, 61, 66, 0.12);
}

.product-page-v2 .product-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.product-collaboration {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
  padding: clamp(4rem, 7vw, 6rem) 0;
  color: white;
  background: #14383d;
}

.product-collaboration-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.product-collaboration .eyebrow { color: #84d2ad; }

.product-collaboration h2 {
  margin-top: 0.65rem;
  color: white;
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.product-collaboration-grid > div:last-child p {
  max-width: 720px;
  color: rgba(255,255,255,0.76);
  font-size: 1rem;
  line-height: 1.75;
}

.product-collaboration-grid > div:last-child p + p { margin-top: 1rem; }

.collection-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-left: 1px solid rgba(255,255,255,0.16);
}

.collection-steps li {
  min-height: 170px;
  padding: 1.35rem;
  border-right: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.collection-steps span,
.collection-steps strong,
.collection-steps small { display: block; }
.collection-steps span { margin-bottom: 2rem; color: var(--brand-orange); font-weight: 800; }
.collection-steps strong { margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; font-size: 1rem; }
.collection-steps small { color: rgba(255,255,255,0.66); font-size: 0.78rem; line-height: 1.55; }

.product-support-section {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  background: #f8faf9;
}

.product-section-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.product-section-heading h2 {
  margin: 0.55rem 0 0.85rem;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.product-section-heading > p:last-child {
  margin-right: auto;
  margin-left: auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

.product-support-section .feature-card {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(19, 61, 66, 0.05);
}

.product-support-section .feature-card h3 { font-size: 1.2rem; }
.product-support-section .feature-card p { color: var(--text-secondary); line-height: 1.65; }
.product-security-summary { background: #fff; }

.product-support-link {
  width: 100%;
  max-width: none;
  margin: 2rem auto 0;
  text-align: center;
}

.product-support-link a {
  color: var(--brand-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 1024px) {
  .product-page-v2 .product-section-inner,
  .product-page-v2 .product-section:nth-child(even) .product-section-inner,
  .product-page-v2 .product-section.is-reverse .product-section-inner,
  .product-collaboration-grid {
    grid-template-columns: 1fr;
  }
  .product-page-v2 .product-section.is-reverse .product-visual { order: initial; }
  .product-page-v2 .product-section .product-text { max-width: 760px; }
  .collection-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .product-hero-v2 { padding-top: calc(var(--nav-height) + 3rem); }
  .product-hero-inner { text-align: left; }
  .product-hero-inner h1,
  .product-hero-lede { margin-left: 0; }
  .product-hero-actions,
  .product-jump-nav { justify-content: flex-start; }
  .product-hero-actions { align-items: stretch; flex-direction: column; }
  .product-hero-actions .btn { width: 100%; justify-content: center; }
  .collection-steps { grid-template-columns: 1fr 1fr; }
  .collection-steps li { min-height: 145px; }
}

@media (max-width: 440px) {
  .collection-steps { grid-template-columns: 1fr; }
  .collection-steps li { min-height: 0; }
  .collection-steps span { margin-bottom: 1rem; }
}

/* Review v2 Security page */
.security-hero {
  padding: calc(var(--nav-height) + 4.25rem) 0 0;
  color: white;
  background:
    radial-gradient(circle at 84% 18%, rgba(238,138,34,0.2), transparent 27rem),
    radial-gradient(circle at 8% 90%, rgba(46,158,91,0.19), transparent 31rem),
    #14383d;
}

.security-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.security-hero .eyebrow {
  margin-right: auto;
  margin-left: auto;
  color: #8ad6b2;
  text-align: center;
}

.security-hero h1 {
  max-width: 980px;
  margin: 0.7rem auto 1.25rem;
  color: white;
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.security-hero-lede {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.security-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
}

.security-hero-facts > div {
  min-height: 112px;
  padding: 1.45rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.025);
}

.security-hero-facts strong,
.security-hero-facts span { display: block; }
.security-hero-facts strong { margin-bottom: 0.35rem; font-family: 'Outfit', sans-serif; font-size: 1.02rem; }
.security-hero-facts span { color: rgba(255,255,255,0.62); font-size: 0.82rem; line-height: 1.5; }

.security-foundation { background: #f8faf9; }

.security-intro-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  margin-bottom: 3.5rem;
}

.security-intro-grid h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.security-intro-copy p {
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.78;
}

.security-intro-copy p + p { margin-top: 1.25rem; }

.security-page-v2 .security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.security-page-v2 .security-card {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-color: rgba(19,61,66,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 32px rgba(19,61,66,0.055);
}

.security-page-v2 .security-card h3 {
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #14383d;
  font-size: 1.2rem;
  line-height: 1.3;
}

.security-page-v2 .security-card h3 svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--brand-orange);
}

.security-page-v2 .security-card p {
  max-width: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.72;
}

.security-page-v2 .security-card p + p { margin-top: 0.85rem; }

.security-ai {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: white;
  background: #14383d;
}

.security-ai-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.security-ai .eyebrow { color: #84d2ad; }
.security-ai h2 { margin-top: 0.6rem; color: white; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.14; }
.security-ai-grid > div:last-child p { max-width: 720px; color: rgba(255,255,255,0.74); font-size: 1.03rem; line-height: 1.78; }
.security-ai-grid > div:last-child p + p { margin-top: 1.25rem; }
.security-ai-grid > div:last-child .security-ai-training { color: white; }
.security-cta { padding-top: 2rem; }

@media (max-width: 900px) {
  .security-intro-grid,
  .security-ai-grid { grid-template-columns: 1fr; gap: 2rem; }
  .security-hero-facts { grid-template-columns: repeat(2, 1fr); }
  .security-hero-facts > div { border-bottom: 1px solid rgba(255,255,255,0.15); }
}

@media (max-width: 680px) {
  .security-hero { padding-top: calc(var(--nav-height) + 3rem); }
  .security-hero-inner { text-align: left; }
  .security-hero .eyebrow,
  .security-hero h1,
  .security-hero-lede { margin-left: 0; text-align: left; }
  .security-hero-facts { grid-template-columns: 1fr; }
  .security-hero-facts > div { min-height: 0; }
  .security-page-v2 .security-grid { grid-template-columns: 1fr; }
}

/* Review v2 Pricing page */
.pricing-hero-v2 {
  padding: calc(var(--nav-height) + 4rem) 0 4.25rem;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(238,138,34,0.2), transparent 27rem),
    radial-gradient(circle at 8% 88%, rgba(46,158,91,0.19), transparent 31rem),
    #14383d;
}

.pricing-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pricing-hero-v2 .eyebrow {
  margin-right: auto;
  margin-left: auto;
  color: #8ad6b2;
  text-align: center;
}

.pricing-hero-v2 h1 {
  margin: 0.65rem 0 1rem;
  color: white;
  font-size: clamp(2.35rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.pricing-hero-v2 p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.7;
}

.pricing-hero-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: white;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.45);
  text-underline-offset: 0.25em;
}

.pricing-plans {
  padding-top: 3.25rem;
  background: #f8faf9;
}

.pricing-page-v2 .price-toggles { margin-bottom: 1rem; }

.pricing-page-v2 .size-spec-wrap { margin: 0 0 2.5rem; }

.pricing-page-v2 .size-spec {
  border-color: rgba(19,61,66,0.14);
  box-shadow: 0 8px 24px rgba(19,61,66,0.06);
}

.pricing-page-v2 .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pricing-page-v2 .pricing-card {
  padding: clamp(1.65rem, 2.5vw, 2.15rem);
  border-color: rgba(19,61,66,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 34px rgba(19,61,66,0.055);
}

.pricing-page-v2 .pricing-card:hover {
  transform: none;
  border-color: rgba(19,61,66,0.2);
  box-shadow: 0 16px 38px rgba(19,61,66,0.08);
}

.pricing-page-v2 .pricing-card.featured {
  border: 2px solid var(--brand-teal);
  box-shadow: 0 18px 44px rgba(19,61,66,0.12);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 0.38rem 0.8rem;
  transform: translateX(-50%);
  border-radius: 999px;
  color: white;
  background: var(--brand-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-status {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 0.35rem 0.65rem;
  transform: translateX(-50%);
  border-radius: 999px;
  color: #9a5312;
  background: #fff2df;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-page-v2 .pricing-tier-name {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.pricing-page-v2 .pricing-price {
  margin-bottom: 0.65rem;
  font-size: clamp(2.25rem, 3vw, 3rem);
  letter-spacing: -0.035em;
}

.pricing-page-v2 .pricing-desc {
  min-height: 4.7rem;
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-includes {
  max-width: none;
  margin: 1.25rem 0 0.25rem;
  color: #14383d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.pricing-page-v2 .pricing-features {
  gap: 0;
  padding-top: 0;
  padding-bottom: 1.6rem;
}

.pricing-page-v2 .pricing-features li {
  gap: 0.7rem;
  min-height: 2.85rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(19,61,66,0.09);
  color: #31585b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.pricing-page-v2 .pricing-features li:last-child { border-bottom: 0; }

.pricing-page-v2 .pricing-features li svg {
  box-sizing: border-box;
  width: 21px;
  height: 21px;
  margin-top: 0;
  padding: 3px;
  border-radius: 50%;
  color: var(--brand-green);
  background: #eaf6ef;
}

.pricing-page-v2 .pricing-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pricing-tax-note {
  max-width: none;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

.pricing-page-v2 .pricing-compare {
  max-width: 1040px;
  margin-top: 5rem;
}

.pricing-section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.pricing-section-heading h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.pricing-section-heading > p:last-child {
  margin-right: auto;
  margin-left: auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-page-v2 .pricing-compare details {
  overflow: hidden;
  border: 1px solid rgba(19,61,66,0.12);
  border-bottom: 0;
  background: white;
}

.pricing-page-v2 .pricing-compare details:first-of-type { border-radius: 14px 14px 0 0; }
.pricing-page-v2 .pricing-compare details:last-of-type { border-bottom: 1px solid rgba(19,61,66,0.12); border-radius: 0 0 14px 14px; }
.pricing-page-v2 .pricing-compare summary { padding: 1rem 1.15rem; color: #14383d; font-weight: 700; }
.pricing-page-v2 .pricing-compare table { margin-bottom: 0; }
.pricing-page-v2 .pricing-compare td { padding: 0.68rem 1rem; }
.pricing-page-v2 .pricing-compare tbody tr:nth-child(even) { background: #f8faf9; }

.pricing-roadmap { background: white; }
.pricing-roadmap > .container > h2 { margin-top: 0.5rem; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.pricing-page-v2 .pricing-roadmap .roadmap-grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.pricing-page-v2 .pricing-roadmap .roadmap-card { padding: 1.75rem; border-radius: 16px; }

.pricing-faq { background: #f8faf9; }
.pricing-page-v2 .faq-list { max-width: 840px; }
.pricing-page-v2 .faq-item {
  margin-bottom: 0.75rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(19,61,66,0.12);
  border-radius: 14px;
  background: white;
}

.pricing-page-v2 .faq-answer p {
  width: 100%;
  max-width: none;
}

@media (max-width: 1000px) {
  .pricing-page-v2 .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin-right: auto; margin-left: auto; }
  .pricing-page-v2 .pricing-desc { min-height: 0; }
}

@media (max-width: 680px) {
  .pricing-hero-v2 { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3.25rem; }
  .pricing-hero-inner { text-align: left; }
  .pricing-hero-v2 .eyebrow,
  .pricing-hero-v2 p:not(.eyebrow) { margin-left: 0; text-align: left; }
  .pricing-page-v2 .pricing-compare { overflow-x: auto; }
  .pricing-page-v2 .pricing-compare td { padding: 0.6rem 0.5rem; }
  .pricing-page-v2 .pricing-roadmap .roadmap-grid { grid-template-columns: 1fr; }
}

/* ========== Partners v2 ========== */
.partners-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 5rem) 0 5.5rem;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(46,158,91,0.22), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(238,138,34,0.16), transparent 34%),
    linear-gradient(135deg, #102f34 0%, #17474b 58%, #12383d 100%);
}

.partners-hero-v2::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 35%, black 75%, transparent);
  pointer-events: none;
}

.partners-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  text-align: center;
}

.partners-hero-v2 .eyebrow {
  margin: 0 auto 1.2rem;
  color: #9fdfba;
}

.partners-hero-v2 h1 {
  max-width: 1000px;
  margin: 0 auto;
  color: white;
  font-size: clamp(2.8rem, 5vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.partners-hero-copy {
  max-width: 720px;
  margin: 1.65rem auto 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.partners-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.partners-text-link {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.partners-text-link:hover { color: #9fdfba; }

.partner-offer-section { background: #f8faf9; }

.partner-section-heading {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.partner-section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.partner-section-heading h2 {
  margin: 0.55rem 0 0.9rem;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.partner-section-heading > p:last-child {
  max-width: 720px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.partner-section-heading-centered > p:last-child { margin-right: auto; margin-left: auto; }

.partner-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.partner-offer-card {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid rgba(19,61,66,0.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 34px rgba(19,61,66,0.055);
}

.partner-offer-value {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--brand-teal);
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.partner-offer-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.partner-offer-card p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.65; }

.partner-example {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 18px;
  color: white;
  background: #153e43;
}

.partner-example .eyebrow { color: #9fdfba; }
.partner-example h2 { margin: 0.55rem 0 0; color: white; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; }
.partner-example > p { color: rgba(255,255,255,0.78); font-size: 1.08rem; line-height: 1.75; }
.partner-example strong { color: white; }

.partner-audience-section { background: white; }

.partner-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.partner-audience-grid article {
  position: relative;
  padding: 1.75rem 1.8rem 1.8rem 4.9rem;
  border: 1px solid rgba(19,61,66,0.11);
  border-radius: 16px;
  background: #fbfcfb;
}

.partner-audience-grid article > span {
  position: absolute;
  top: 1.8rem;
  left: 1.7rem;
  color: var(--brand-orange);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.partner-audience-grid h3 { margin-bottom: 0.45rem; font-size: 1.12rem; }
.partner-audience-grid p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

.partner-process-section { background: #eef5f2; }

.partner-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.partner-steps article { padding: 1.8rem; border-top: 3px solid var(--brand-green); background: white; }
.partner-steps article > span { color: var(--brand-green); font-family: "Outfit", sans-serif; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; }
.partner-steps h3 { margin: 1.15rem 0 0.65rem; font-size: 1.2rem; }
.partner-steps p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; }

.partners-terms { background: white; }
.partners-page-v2 .faq-list { max-width: 860px; }
.partners-page-v2 .faq-item { margin-bottom: 0.75rem; padding: 0 1.2rem; border: 1px solid rgba(19,61,66,0.12); border-radius: 14px; background: #fbfcfb; }
.partners-page-v2 .faq-answer p { width: 100%; max-width: none; }

.partner-contact-section { background: #f8faf9; }
.partner-contact-section .contact-card { max-width: 900px; margin: 0 auto; }

/* ========== Blog index v2 ========== */
.blog-hero-v2 {
  padding: calc(var(--nav-height) + 4.5rem) 0 5rem;
  color: white;
  background:
    radial-gradient(circle at 82% 15%, rgba(238,138,34,0.17), transparent 31%),
    linear-gradient(130deg, #102f34 0%, #17474b 65%, #12383d 100%);
}

.blog-hero-inner { max-width: 920px; }
.blog-hero-v2 .eyebrow { color: #9fdfba; }
.blog-hero-v2 h1 { max-width: 890px; margin: 0.7rem 0 1.35rem; color: white; font-size: clamp(2.8rem, 4.9vw, 4.5rem); line-height: 1.03; letter-spacing: -0.045em; }
.blog-hero-v2 p:last-child { max-width: 760px; color: rgba(255,255,255,0.76); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.7; }

.blog-editorial { background: #f8faf9; }
.blog-section-heading { margin-bottom: 2rem; }
.blog-section-heading h2 { margin-top: 0.5rem; font-size: clamp(2rem, 3.5vw, 2.85rem); }

.blog-featured {
  overflow: hidden;
  border: 1px solid rgba(19,61,66,0.12);
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 42px rgba(19,61,66,0.065);
}

.blog-featured-link {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  min-height: 390px;
  color: inherit;
  text-decoration: none;
}

.blog-featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.blog-featured-copy h2 { max-width: 620px; margin: 1rem 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.04em; }
.blog-featured-copy > p { max-width: 650px; color: var(--text-secondary); line-height: 1.7; }

.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.blog-meta span { color: var(--brand-teal); }
.blog-meta span::after { margin-left: 0.75rem; color: #b5c2c2; content: "·"; }

.blog-read-link { display: inline-block; margin-top: 1.4rem; color: var(--brand-teal); font-weight: 800; }
.blog-read-link span { display: inline-block; transition: transform 0.2s ease; }
.blog-featured-link:hover .blog-read-link span,
.blog-article-card a:hover .blog-read-link span { transform: translateX(4px); }

.blog-featured-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    #153e43;
  background-size: 48px 48px;
}

.blog-query { padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; color: white; background: rgba(255,255,255,0.08); font-size: 0.95rem; font-weight: 650; }
.blog-answer-line { display: block; width: 66%; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.25); }
.blog-answer-line-long { width: 92%; }
.blog-evidence { align-self: flex-start; margin-top: 0.5rem; padding: 0.55rem 0.8rem; border-radius: 999px; color: #bce6cb; background: rgba(46,158,91,0.2); font-size: 0.78rem; font-weight: 800; }

.blog-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.blog-article-card { border: 1px solid rgba(19,61,66,0.12); border-radius: 18px; background: white; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.blog-article-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,61,66,0.07); }
.blog-article-card > a { display: flex; flex-direction: column; min-height: 100%; padding: clamp(1.75rem, 3.5vw, 2.6rem); color: inherit; text-decoration: none; }
.blog-article-card h2 { margin: 1rem 0 0.8rem; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.18; letter-spacing: -0.025em; }
.blog-article-card p { color: var(--text-secondary); line-height: 1.7; }
.blog-article-card .blog-read-link { margin-top: auto; padding-top: 1.4rem; }

.blog-cta-section { background: white; }
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: clamp(2rem, 4vw, 3.25rem); border-radius: 20px; color: white; background: #153e43; }
.blog-cta .eyebrow { color: #9fdfba; }
.blog-cta h2 { max-width: 650px; margin-top: 0.55rem; color: white; font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.1; }
.blog-cta-actions { display: flex; flex: 0 0 auto; gap: 0.75rem; }
.blog-cta .btn-secondary { border-color: rgba(255,255,255,0.35); color: white; background: transparent; }
.blog-cta .btn-secondary:hover { border-color: white !important; color: white !important; background: rgba(255,255,255,0.08) !important; }

.blog-collection-visual { gap: 0.75rem; }
.blog-featured-visual.blog-collection-visual .blog-collection-label {
  margin-bottom: 0.35rem;
  color: #c8d9da !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-featured-visual.blog-collection-visual .blog-collection-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  color: #ffffff !important;
  background: rgba(255,255,255,0.1);
  font-size: 0.88rem;
  font-weight: 650;
}
.blog-featured-visual.blog-collection-visual .blog-collection-row i {
  color: #9fdfba !important;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

/* ========== Blog article v2 ========== */
.article-hero-v2 {
  padding: calc(var(--nav-height) + 4.25rem) 0 4.75rem;
  color: white;
  background:
    radial-gradient(circle at 82% 15%, rgba(46,158,91,0.2), transparent 29%),
    radial-gradient(circle at 12% 92%, rgba(238,138,34,0.13), transparent 32%),
    #14383d;
}

.article-hero-inner { max-width: 980px; }
.article-back-link { display: inline-block; margin-bottom: 2.75rem; color: rgba(255,255,255,0.67); font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.article-back-link:hover { color: white; }
.article-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-bottom: 1.15rem; color: rgba(255,255,255,0.56); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.article-kicker span { color: #9fdfba; }
.article-kicker span::after { margin-left: 0.8rem; color: rgba(255,255,255,0.28); content: "·"; }
.article-hero-v2 h1 { max-width: 960px; margin: 0; color: white; font-size: clamp(2.65rem, 5vw, 4.65rem); line-height: 1.02; letter-spacing: -0.045em; }
.article-hero-v2 h1 + p { max-width: 780px; margin-top: 1.45rem; color: rgba(255,255,255,0.75); font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.7; }

.article-body-v2 { padding: clamp(3.5rem, 7vw, 6.5rem) 0; background: #fbfcfb; }
.article-layout-v2 { display: grid; grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.9fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; max-width: 1120px; }

.article-summary { position: sticky; top: calc(var(--nav-height) + 2rem); padding: 1.5rem 0 1.5rem 1.4rem; border-left: 3px solid var(--brand-green); }
.article-summary > p:not(.eyebrow) { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.article-summary a { display: inline-block; margin-top: 1rem; color: var(--brand-teal); font-size: 0.86rem; font-weight: 800; text-decoration: none; }

.article-prose-v2 { min-width: 0; max-width: 760px; }
.article-prose-v2 p { margin-bottom: 1.45rem; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.83; }
.article-prose-v2 .article-lede { color: #1f4448; font-size: clamp(1.2rem, 2vw, 1.42rem); line-height: 1.72; }
.article-prose-v2 h2 { margin: 3.6rem 0 1.15rem; color: var(--text-primary); font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -0.03em; }
.article-prose-v2 ul { margin: 0 0 1.7rem; padding-left: 1.3rem; }
.article-prose-v2 li { margin-bottom: 0.8rem; padding-left: 0.35rem; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.75; }
.article-prose-v2 strong { color: #173d42; }

.article-pullquote { margin: 2.75rem 0; padding: clamp(1.7rem, 4vw, 2.5rem); border-radius: 16px; background: #eaf4ef; }
.article-pullquote p { margin: 0; color: #153e43; font-family: "Outfit", sans-serif; font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 650; line-height: 1.4; letter-spacing: -0.015em; }

.article-process-list { display: grid; gap: 0; margin: 2rem 0 2.25rem; padding: 0; list-style: none; border-top: 1px solid rgba(19,61,66,0.14); }
.article-process-list li { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; align-items: start; margin: 0; padding: 1.15rem 0; border-bottom: 1px solid rgba(19,61,66,0.14); }
.article-process-list li > span { padding-top: 0.15rem; color: var(--brand-orange); font-family: "Outfit", sans-serif; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.article-process-list strong { display: block; margin-bottom: 0.2rem; font-family: "Outfit", sans-serif; font-size: 1.04rem; }
.article-process-list p { margin: 0; font-size: 0.96rem; line-height: 1.65; }

.article-cta-v2 { margin-top: 4rem; padding: clamp(2rem, 4vw, 3rem); border-radius: 18px; color: white; background: #153e43; }
.article-cta-v2 .eyebrow { color: #9fdfba; }
.article-cta-v2 h2 { margin: 0.55rem 0 1.75rem; color: white; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.article-cta-v2 > div:last-child { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.article-cta-v2 .btn-secondary { border-color: rgba(255,255,255,0.34); color: white; }
.article-cta-v2 .btn-secondary:hover { border-color: white !important; color: white !important; background: rgba(255,255,255,0.08) !important; }

@media (max-width: 900px) {
  .partner-offer-grid,
  .partner-steps { grid-template-columns: 1fr; }
  .partner-offer-card { display: grid; grid-template-columns: 100px 1fr; column-gap: 1rem; }
  .partner-offer-card .partner-offer-value { grid-row: 1 / 3; }
  .partner-example { grid-template-columns: 1fr; gap: 1rem; }
  .blog-featured-link { grid-template-columns: 1fr; }
  .blog-featured-visual { min-height: 280px; }
  .blog-cta { align-items: flex-start; flex-direction: column; }
  .article-layout-v2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-summary { position: static; max-width: 720px; }
}

@media (max-width: 680px) {
  .partners-hero-v2,
  .blog-hero-v2 { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3.5rem; }
  .partners-hero-inner { text-align: left; }
  .partners-hero-v2 .eyebrow,
  .partners-hero-v2 h1,
  .partners-hero-copy { margin-left: 0; text-align: left; }
  .partners-hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .partner-offer-card { display: block; }
  .partner-audience-grid,
  .blog-list-grid { grid-template-columns: 1fr; }
  .partner-audience-grid article { padding-left: 4.5rem; }
  .partner-section-heading-centered { text-align: left; }
  .blog-featured-link { min-height: 0; }
  .blog-featured-visual { min-height: 235px; }
  .blog-cta-actions { width: 100%; flex-direction: column; }
  .blog-cta-actions .btn { justify-content: center; width: 100%; }
  .article-hero-v2 { padding-top: calc(var(--nav-height) + 2.75rem); padding-bottom: 3.5rem; }
  .article-back-link { margin-bottom: 2rem; }
  .article-hero-v2 h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
  .article-body-v2 { padding-top: 3.5rem; }
  .article-summary { padding: 1.25rem 0 1.25rem 1.15rem; }
  .article-cta-v2 > div:last-child { flex-direction: column; }
  .article-cta-v2 .btn { justify-content: center; width: 100%; }
}
