/* ========================================
   Lingotino — Design System (based on the Heart Tracker V2 system)
   Brand: Tino blue (from the app icon) + banana accent,
   Outfit + Inter typography
   ======================================== */


:root {
  /* ── Brand Colors ───────────────────────── */
  --navy:   #1F2A66;
  --brand-blue: #2F6DB5;
  --sky:          #8CC2EE;
  --ice-tint:      #EAF3FC;

  /* ── Neutrals ───────────────────────────── */
  --deep-slate:   #0F172A;
  --muted-slate:  #475569;
  --off-white:    #FAFAFA;
  --pure-white:   #FFFFFF;
  --border-subtle: #E2E8F0;

  /* ── Data Visualization ─────────────────── */
  --data-stable:    #2F6DB5;
  --data-positive:  #8CC2EE;
  --data-attention: #D97706;

  /* ── Mascot accents (Tino's face) ───────── */
  --banana:      #F2C38E;
  --banana-deep: #B9762B;
  --icon-top:    #4794CE;
  --icon-bottom: #335298;

  /* ── Semantic aliases (used by components) ─ */
  --text-primary:   var(--deep-slate);
  --text-secondary: var(--muted-slate);
  --text-tertiary:  #64748B;
  --bg-primary:     var(--pure-white);
  --bg-secondary:   var(--off-white);
  --border-color:   var(--border-subtle);

  /* ── Legacy aliases (backwards compat only) ─ */
  --brand-primary:       var(--brand-blue);
  --brand-primary-dark:  var(--navy);
  --brand-primary-light: var(--ice-tint);
  --brand-green:         var(--brand-blue);
  --brand-green-dark:    var(--navy);
  --brand-green-light:   var(--ice-tint);
  --brand-purple:        var(--navy);
  --brand-accent:        var(--sky);
  --bg-white:            var(--pure-white);
  --bg-gray-light:       var(--off-white);
  --text-light:          var(--text-tertiary);
  --gray-50:   #FAFAFA;
  --gray-100:  #F5F5F5;
  --gray-200:  #E2E8F0;
  --gray-300:  #CBD5E1;
  --gray-400:  #94A3B8;
  --gray-500:  #64748B;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1E293B;
  --gray-900:  #0F172A;

  /* ── Shadows (light — no heavy drops) ────── */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-md:  0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-lg:  0 4px 12px 0 rgb(0 0 0 / 0.08);
  --shadow-xl:  0 8px 24px 0 rgb(0 0 0 / 0.10);
  --shadow-2xl: 0 16px 40px 0 rgb(0 0 0 / 0.12);

  /* ── Spacing Scale (8px base) ─────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  2rem;      /* 32px — kept as rem for legacy rem-based rules */
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Border Radius ────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;     /* --radius-btn */
  --radius-lg:   12px;
  --radius-xl:   16px;    /* --radius-card */
  --radius-2xl:  24px;    /* --radius-social */
  --radius-full: 9999px;
  --radius-btn:  8px;
  --radius-card: 16px;

  /* ── Typography ───────────────────────────── */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* ── Transitions ──────────────────────────── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition:      all 200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Layout ───────────────────────────────── */
  --max-width:        1280px;
  --max-width-narrow: 768px;
}

/* ========================================
   Base Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

ul {
  list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep-slate);
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
}

.text-balance {
  text-wrap: balance;
}

/* Eyebrow / section label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}


/* ========================================
   Navigation
   ======================================== */

.navbar {
  position: fixed;
  /* Defaults to 0; the TEMPORARY announce-bar block above sets
     --announce-bar-height at :root while its banner is showing. */
  top: var(--announce-bar-height, 0px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base), top var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--deep-slate);
}

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  width: 28px;
  height: 28px;
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--navy);
  stroke: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-body);
  color: var(--muted-slate);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  transition: color var(--transition-base);
}

.nav-link:hover {
  color: var(--deep-slate);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: var(--radius-full);
}

.nav-cta {
  background: var(--navy);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background: #17204F;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.nav-cta-confirmed {
  background: var(--brand-blue);
  pointer-events: none;
}

/* Android "Join the beta" CTAs are links to the beta form standing in for App Store links.
   :where() keeps this reset at zero specificity so .btn / .nav-cta styles win. */
:where(.android-notify) {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--deep-slate);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  padding: clamp(8rem, 15vh, 12rem) var(--space-8) var(--space-24);
  background: var(--off-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(47, 109, 181, 0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--ice-tint);
  color: var(--navy);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-6);
}

.hero h1 {
  margin-bottom: var(--space-6);
  color: var(--deep-slate);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--muted-slate);
  margin-bottom: var(--space-8);
  text-wrap: balance;
}

.hero--article h1,
.hero--article .hero-subtitle {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

/* ========================================
   Hero Split — entrance animations
   ======================================== */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroPop {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

.hero--split .hero-badge,
.hero--split h1,
.hero--split .hero-subtitle,
.hero--split .btn,
.hero--split .hero-media-img,
.hero--split .hero-media-icon {
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
}

.hero--split .hero-badge       { animation-name: heroFadeUp;    animation-delay: 0.05s; }
.hero--split h1                { animation-name: heroFadeUp;    animation-delay: 0.18s; }
.hero--split .hero-subtitle    { animation-name: heroFadeUp;    animation-delay: 0.30s; }
.hero--split .btn              { animation-name: heroFadeUp;    animation-delay: 0.42s; }
.hero--split .hero-media-img   { animation-name: heroSlideRight; animation-delay: 0.20s; animation-duration: 0.7s; }
.hero--split .hero-media-icon  { animation-name: heroPop;       animation-delay: 0.60s; animation-duration: 0.5s; }

/* ========================================
   Hero Split — feature detail pages
   Left: text. Right: feature image + app icon offset.
   ======================================== */

.hero--split .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  text-align: left;
}

.hero--split .hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero--split .hero-badge {
  margin-bottom: var(--space-6);
}

.hero--split h1 {
  text-align: left;
}

.hero--split .hero-subtitle {
  text-align: left;
}

.hero--split .hero-media {
  position: relative;
}

.hero--split .hero-media-img {
  width: 100%;
  border-radius: var(--radius-card);
  display: block;
  box-shadow: var(--shadow-raised);
}

.hero--split .hero-media-icon {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
  .hero--split .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero--split .hero-text {
    align-items: center;
    order: 1;
  }

  .hero--split h1,
  .hero--split .hero-subtitle {
    text-align: center;
  }

  .hero--split .hero-media {
    order: 2;
    margin-bottom: var(--space-8);
  }

  .hero--split .hero-media-icon {
    width: 60px;
    height: 60px;
    bottom: -16px;
    left: -12px;
  }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #17204F;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background: var(--pure-white);
  color: var(--navy);
  border: 1px solid rgba(47, 109, 181, 0.4);
}

.btn-secondary:hover {
  background: var(--ice-tint);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--navy);
}

/* CTA section button override — white on dark gradient */
.cta-section .btn-primary {
  background: white;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.cta-section .btn-primary:hover {
  background: var(--off-white);
  color: var(--navy);
}

/* ========================================
   Callout Boxes
   ======================================== */

.highlight-box, .tip-box, .warning-box, .info-box, .success-box {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.highlight-box { background: #EAF3FC; border: 1.5px solid #2F6DB5; }
.highlight-box h4 { color: var(--navy); font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--space-3); }

.tip-box { background: #FFFBEB; border: 1.5px solid var(--data-attention); }
.tip-box h4 { color: #92400E; font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--space-3); }

.warning-box { background: #FFF7ED; border: 1.5px solid var(--data-attention); }
.warning-box h4 { color: #92400E; font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--space-3); }

.info-box { background: #EFF6FF; border: 1.5px solid #3B82F6; }
.info-box h4 { color: #1E40AF; font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--space-3); }

.success-box { background: #F0FDF4; border: 1.5px solid #22C55E; }
.success-box h4 { color: #166534; font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--space-3); }

/* ========================================
   Section Badge
   ======================================== */

.section-badge {
  display: inline-block;
  background: var(--ice-tint);
  color: var(--navy);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-4);
}

/* ========================================
   Stats Section
   ======================================== */

.stats {
  padding: var(--space-16) var(--space-8);
  background: var(--brand-blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.25rem;
  font-weight: 900;
  color: white;
  margin-bottom: var(--space-1);
  background: none;
  -webkit-text-fill-color: unset;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

/* ========================================
   Features Section — Card Grid
   ======================================== */

.features {
  padding: var(--space-24) var(--space-8);
  background: var(--pure-white);
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

/* ========================================
   Feature Carousel
   ======================================== */

.feature-carousel {
  position: relative;
  overflow: hidden;
}

.feature-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  gap: var(--space-6);
}

.feature-carousel-track .feature-card {
  flex-shrink: 0;
  box-sizing: border-box;
}

.feature-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--pure-white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--ice-tint);
  border-color: var(--brand-blue);
}

.carousel-btn svg { width: 18px; height: 18px; stroke: currentColor; }

.carousel-dots {
  display: flex;
  gap: var(--space-2);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

.feature-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin: var(--space-16) 0;
}

.feature-card {
  background: var(--pure-white);
  padding: var(--space-8);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-slow);
  position: relative;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(47, 109, 181, 0.3);
}

.feature-card--static {
  cursor: default;
}

.feature-card--static:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-subtle);
}

/* Remove old gradient border pseudo-element */
.feature-card::before {
  display: none;
}

/* Feature icon box — replaces old emoji .feature-icon */
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--ice-tint);
  border: 2px solid rgba(47, 109, 181, 0.3);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.75rem;   /* fallback for any remaining emoji */
  margin-bottom: var(--space-6);
}

.feature-icon svg,
.feature-icon i {
  width: 28px;
  height: 28px;
  stroke: var(--navy);
}

/* Feature icon large (used on feature detail pages) */
.feature-icon-large {
  width: 80px;
  height: 80px;
  background: var(--ice-tint);
  border: 2px solid rgba(47, 109, 181, 0.3);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 2.25rem;   /* fallback */
  margin: 0 auto var(--space-8);
}

.feature-icon-large svg,
.feature-icon-large i {
  width: 40px;
  height: 40px;
  stroke: var(--navy);
  stroke-width: 1.75;
}

.feature-card h3 {
  color: var(--deep-slate);
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--muted-slate);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.feature-card a {
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition-base);
}

.feature-card a:hover {
  gap: var(--space-3);
  color: var(--brand-blue);
}

/* Feature card image variant */
.feature-card--image {
  padding: 0;
  overflow: hidden;
}

.feature-card--image .feature-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.feature-card--image .feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.feature-card--image:hover .feature-card-img img {
  transform: scale(1.04);
}

.feature-card--image .feature-card-body {
  padding: var(--space-6) var(--space-6) var(--space-8);
}

.feature-card--image h3 {
  margin-bottom: var(--space-2);
}

.feature-card--image p {
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
}

/* ========================================
   How It Works — Steps
   ======================================== */

.how-it-works {
  padding: var(--space-24) var(--space-8);
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-12);
  margin-top: var(--space-16);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-lg);
}

.step-card h3 {
  margin-bottom: var(--space-3);
  color: var(--deep-slate);
}

.step-card p {
  color: var(--muted-slate);
}

/* Step card — image variant */
.step-card--image {
  text-align: left;
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.step-card--image .step-card-image {
  position: relative;
}

.step-card--image .step-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.step-card--image .step-number {
  position: absolute;
  bottom: -36px;
  left: 24px;
  margin: 0;
  border: 3px solid var(--pure-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.step-card--image .step-card-body {
  padding: 52px 24px 28px;
}

.step-card--image h3 {
  text-align: left;
  margin-bottom: var(--space-3);
}

.step-card--image p {
  text-align: left;
  margin: 0;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
  padding: var(--space-24) var(--space-8);
  background: var(--pure-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.testimonial-card {
  background: var(--pure-white);
  padding: var(--space-8);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.rating {
  color: #F59E0B;
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.rating::before {
  content: '★★★★★';
}

.rating--4::before {
  content: '★★★★☆';
}

.testimonial-text {
  font-size: 1rem;
  color: var(--deep-slate);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
  color: var(--deep-slate);
}

.author-info p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

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

.cta-section {
  padding: var(--space-32) var(--space-8);
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 194, 238, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
}

.cta-section .text-small {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  margin-top: var(--space-4);
  display: block;
}

/* Visual variant: free badge + App Store button + phones on the bottom edge */
.cta-section--visual {
  padding-bottom: 0;
}

.cta-section--visual .app-cta-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: var(--space-6);
}

.cta-section--visual h2 {
  margin-bottom: var(--space-4);
}

.cta-section--visual p {
  margin-bottom: var(--space-6);
}

.cta-section .app-store-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cta-section .app-cta-meta {
  color: rgba(255, 255, 255, 0.75);
}

.cta-section .app-cta-visual {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-top: var(--space-12);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--deep-slate);
  color: white;
  padding: var(--space-24) var(--space-8) var(--space-8);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-section h4 {
  font-family: var(--font-display);
  color: white;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.footer-section p,
.footer-section a {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 2;
}

.footer-section a:hover {
  color: var(--brand-blue);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--brand-blue);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.875rem;
}

/* ========================================
   How-It-Works Guide — Sticky Sidenav
   ======================================== */

.guide-body-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--space-8);
  align-items: start;
}

.guide-sidenav {
  position: sticky;
  top: 5.5rem;
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.guide-sidenav-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.guide-sidenav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-sidenav li {
  margin-bottom: 0;
}

.guide-sidenav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: 0.875rem;
  color: var(--muted-slate);
  text-decoration: none;
  border-radius: var(--radius-md);
  line-height: 1.4;
  transition: all var(--transition-base);
}

.guide-sidenav a:hover {
  background: var(--ice-tint);
  color: var(--navy);
}

.guide-sidenav a.active {
  background: var(--ice-tint);
  color: var(--navy);
  font-weight: 600;
}

.guide-switcher a.current-guide {
  background: var(--navy);
  color: white;
  font-weight: 600;
}

.guide-switcher a.current-guide:hover {
  background: #17204F;
  color: white;
}

.sidenav-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-4) 0;
}

.guide-content {
  min-width: 0;
  padding: var(--space-4) 0;
}

h2[id] {
  scroll-margin-top: 6rem;
}

@media (max-width: 900px) {
  .guide-body-layout {
    grid-template-columns: 1fr;
    padding: var(--space-8) var(--space-4);
  }
  .guide-sidenav {
    display: none;
  }
}

/* ========================================
   Related Guides grid
   ======================================== */

.related-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

/* ========================================
   Utilities
   ======================================== */

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

.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.text-small {
  font-size: 0.875rem;
}

.hidden {
  display: none;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 968px) {
  :root {
    --space-24: 4rem;
    --space-32: 6rem;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-8);
    gap: var(--space-6);
    transition: left var(--transition-slow);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: var(--space-16);
  }

  .features,
  .how-it-works,
  .testimonials {
    padding: var(--space-16) var(--space-6);
  }

  .features-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FAQ Accordion (details/summary)
   ======================================== */

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 0.625rem;
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item[open] {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  user-select: none;
  transition: background var(--transition-fast);
}

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

.faq-item:not([open]) .faq-question:hover {
  background: var(--off-white);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--brand-blue);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-answer li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

/* ========================================
   Section S-Curve Dividers

   Each ::before sits at the very top of the
   receiving section, is coloured as the
   PREVIOUS section's background, and uses
   an SVG S-curve as a mask. The result: the
   previous section's colour flows in a soft
   S-shape into the new section, then fades
   to nothing — no padding adjustments needed
   since the existing padding-top on every
   section is larger than the 80px wave.

   Classes used:
     features--white        — white features section following a coloured section
     features--from-hero    — white features section following hero (off-white)
     features--feature-page — feature sub-pages: hero→features→cta (::before + ::after)
     features--offwhite     — off-white features section following a white section
     features--sky         — lime use-cases section (homepage)
     features--white2       — white features section following off-white (how-it-works page)
   ======================================== */

.features--white,
.features--from-hero,
.features--feature-page,
.features--offwhite,
.features--sky,
.features--white2,
.how-it-works,
.how-it-works--sky,
.testimonials {
  position: relative;
  overflow: visible;
}
/* .cta-section is deliberately not in the list above: it keeps overflow: hidden
   so its 600px glow (::before, right: -10%) can't widen the page on mobile. */

/* Shared pseudo-element setup — the S-curve mask */
.features--white::before,
.features--from-hero::before,
.features--feature-page::before,
.features--offwhite::before,
.features--sky::before,
.features--white2::before,
.how-it-works::before,
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C200,80 250,0 600,40 C950,80 1000,0 1200,0 L1200,0 L0,0 Z' fill='white'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C200,80 250,0 600,40 C950,80 1000,0 1200,0 L1200,0 L0,0 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}

/* Homepage */
/* No wave on stats top — hero→stats stays a clean straight edge */
.features--white::before { background: var(--brand-blue); } /* prev: stats green */
.features--sky::before  { background: var(--pure-white); }     /* prev: features white */
.how-it-works::before    { background: var(--sky); } /* prev: lime section */
.testimonials::before    { background: var(--off-white); }      /* prev: how-it-works */

/* Feature sub-pages (hero → features → cta) */
.features--feature-page::before { background: var(--off-white); }  /* prev: hero */
.features--feature-page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  background: var(--navy);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C200,0 250,80 600,40 C950,0 1000,80 1200,80 L1200,80 L0,80 Z' fill='white'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C200,0 250,80 600,40 C950,0 1000,80 1200,80 L1200,80 L0,80 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}

/* Features page */
.features--from-hero::before { background: var(--off-white); }  /* prev: hero off-white */
.features--offwhite::before  { background: var(--pure-white); } /* prev: features white */

/* How It Works page */
.features--white2::before    { background: var(--off-white); }  /* prev: faq off-white */
.how-it-works--sky          { background: var(--sky); }
.how-it-works--sky::before  { background: var(--pure-white); } /* prev: guides white */
.how-it-works--sky::after   {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  background: var(--off-white);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C200,0 250,80 600,40 C950,0 1000,80 1200,80 L1200,80 L0,80 Z' fill='white'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C200,0 250,80 600,40 C950,0 1000,80 1200,80 L1200,80 L0,80 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}

/* Features & How It Works pages: last section before cta is off-white or white
   Use ::after on the last non-cta section to flow into forest-green */
.features--offwhite,
.features--white2 {
  overflow: visible;
}
.features--offwhite::after,
.features--white2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  background: var(--navy);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C200,0 250,80 600,40 C950,0 1000,80 1200,80 L1200,80 L0,80 Z' fill='white'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C200,0 250,80 600,40 C950,0 1000,80 1200,80 L1200,80 L0,80 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}

@media (max-width: 768px) {
  .features--white::before,
  .features--from-hero::before,
  .features--feature-page::before,
  .features--feature-page::after,
  .features--offwhite::before,
  .features--sky::before,
  .features--white2::before,
  .how-it-works::before,
  .how-it-works--sky::before,
  .how-it-works--sky::after,
  .testimonials::before,
  .features--offwhite::after,
  .features--white2::after {
    height: 36px;
  }
}

/* ============================
   Blog Article Styles
   ============================ */
.article-wrap {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-16) var(--space-8);
}

.article-meta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
}

.article-featured-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg, 12px);
  margin-bottom: var(--space-12);
}

@media (max-width: 640px) {
  .article-featured-image {
    aspect-ratio: 4 / 3;
  }
}

.article-body h2 {
  scroll-margin-top: 6rem;
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.article-body h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: var(--space-3);
  line-height: 1.8;
  list-style: disc;
  font-size: 1.0625rem;
}

.article-body ol li {
  list-style: decimal;
}

.article-highlight {
  background: var(--ice-tint);
  border-left: 4px solid var(--brand-blue);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.article-highlight h4 {
  color: var(--navy);
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

.article-highlight p {
  margin: 0;
  color: var(--text-primary);
}

.article-warning {
  background: #FFF4F4;
  border-left: 4px solid #E53E3E;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.article-warning h4 {
  color: #C53030;
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

.article-warning p {
  margin: 0;
  color: var(--text-primary);
}

.article-cta {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  margin: var(--space-12) 0;
}

.article-cta h3 {
  margin-bottom: var(--space-3);
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

/* ========================================
   App download CTA (visual card)
   Markup: scripts/render/renderSections.ts renderCta()
   ======================================== */

.article-cta.app-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) var(--space-8) 0;
  border: 1px solid rgba(47, 109, 181, 0.25);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(140, 194, 238, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, var(--ice-tint) 0%, var(--pure-white) 100%);
  box-shadow: var(--shadow-lg);
}

.article-cta.app-cta h3 {
  font-size: 1.625rem;
  line-height: 1.2;
  margin: var(--space-4) auto var(--space-3);
  max-width: 520px;
}

.article-cta.app-cta p {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.app-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 999px);
  background: var(--navy);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-cta-badge strong {
  color: var(--sky);
  font-weight: 800;
}

.app-cta .app-cta-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-6);
  padding: 0;
}

.app-cta .app-cta-perks li {
  list-style: none;
  margin: 0;
  padding: 5px 12px 5px 28px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(47, 109, 181, 0.3);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
}

.app-cta-perks li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* App Store-style button (used in .app-cta and .cta-section) */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 18px;
  border-radius: 14px;
  background: #000;
  color: white;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-btn:hover,
.app-store-btn:focus-visible {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.24);
}

.app-store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}

.app-store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-store-btn-text small {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.app-store-btn-text span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-cta-meta {
  display: block;
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.app-cta-stars {
  color: #F5A623;
  letter-spacing: 1px;
}

.app-cta-visual {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: var(--space-8) auto 0;
  vertical-align: bottom;
}

/* Compact variant: mid-article, app icon instead of phones */
.article-cta.app-cta--compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6);
  text-align: left;
  background: linear-gradient(120deg, var(--ice-tint) 0%, var(--pure-white) 100%);
}

.app-cta--compact .app-cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.article-cta.app-cta--compact h3 {
  font-size: 1.25rem;
  margin: var(--space-2) 0 var(--space-1);
}

.article-cta.app-cta--compact p {
  font-size: 0.9375rem;
  margin: 0;
}

.app-cta--compact .app-cta-badge {
  font-size: 0.6875rem;
  padding: 4px 10px;
}

@media (max-width: 640px) {
  .article-cta.app-cta {
    padding: var(--space-6) var(--space-4) 0;
  }

  .article-cta.app-cta h3 {
    font-size: 1.375rem;
  }

  .article-cta.app-cta--compact {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-4);
  }

  .app-cta--compact .app-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .app-cta--compact .app-store-btn {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.article-callout {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  border-left: 4px solid;
}

.article-callout h4 {
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

.article-callout p {
  margin: 0;
  color: var(--text-primary);
}

.article-callout--science {
  background: var(--ice-tint);
  border-left-color: var(--brand-blue);
}

.article-callout--science h4 {
  color: var(--navy);
}

.article-callout--insight {
  background: #EFF6FF;
  border-left-color: #2563EB;
}

.article-callout--insight h4 {
  color: #1E40AF;
}

.article-callout--tip {
  background: #FFFBEB;
  border-left-color: #D97706;
}

.article-callout--tip h4 {
  color: #92400E;
}

.article-callout--action {
  background: var(--ice-tint);
  border-left-color: var(--brand-blue);
}

.article-callout--action h4 {
  color: var(--navy);
}

.article-table-wrap {
  overflow-x: auto;
  margin: var(--space-6) 0;
}

.article-body table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 1rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--border-color);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  white-space: normal;
}

.article-body th:last-child,
.article-body td:last-child {
  width: 45%;
}

.article-body th {
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
}

.article-body td {
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-4);
}

.blog-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image-link {
  display: block;
}

.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card > .article-meta,
.blog-card > h3,
.blog-card > p,
.blog-card > .blog-card-footer {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.blog-card > .article-meta {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.blog-card:not(:has(.blog-card-image)) > .article-meta {
  margin-top: 0;
}

.blog-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--brand-blue);
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-6);
}

.blog-card a.read-more {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

.blog-card-updated {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.related-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.related-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.related-card h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.related-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.related-card a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .article-wrap {
    padding: var(--space-8) var(--space-4);
  }
}

.photo-credit {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: var(--space-8);
}

.photo-credit a {
  color: inherit;
  text-decoration: underline;
}

/* ========================================
   Lingotino additions
   Components the Heart Tracker system didn't need:
   skip link, breadcrumbs, home hero with Tino, phone
   mockups, chat bubbles, level ladder, comparison
   tables, key-facts box, guide layout, related grid.
   ======================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

.nav-logo-icon img { display: block; border-radius: 7px; }

:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }

.container--narrow { max-width: var(--max-width-narrow); }

/* Breadcrumbs (sit under the fixed nav) */
.breadcrumbs {
  padding: 88px var(--space-8) 0;
  background: var(--off-white);
  font-size: 0.875rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--text-secondary);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--gray-400); }
.breadcrumbs a { color: var(--brand-blue); font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs + section.hero { padding-top: var(--space-12); }

/* Text links inside content */
.prose a, .article-body a, .faq-answer a, .key-facts a, .compare-note a, .lead a {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.prose a:hover, .article-body a:hover, .faq-answer a:hover { color: var(--navy); }

/* ── Home hero: text left, Tino + phone right ── */
.hero--home { background: linear-gradient(180deg, var(--ice-tint) 0%, var(--off-white) 100%); }
.hero--home .hero-container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-12);
  align-items: center;
  text-align: left;
}
.hero--home .hero-cta-group { justify-content: flex-start; margin-bottom: var(--space-6); }
.hero--home .hero-subtitle { text-wrap: pretty; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  list-style: none;
}
.hero-proof li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-proof li::before {
  content: "";
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0 4%;
  border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
  background: linear-gradient(160deg, var(--icon-top), var(--icon-bottom));
  opacity: 0.95;
}
.hero-visual .phone, .hero-visual .app-shot { position: relative; z-index: 2; transform: rotate(-3deg); }
.hero-visual .hero-tino {
  position: absolute;
  z-index: 3;
  width: 230px;
  left: -2%;
  bottom: -6px;
  filter: drop-shadow(0 12px 24px rgb(15 23 42 / 0.25));
}
h1 .accent { color: var(--brand-blue); }
.hero-badge--italian { background: white; border: 1px solid var(--border-color); }
.flag-dots { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: middle; }
.flag-dots span { width: 8px; height: 8px; border-radius: 50%; }
.flag-dots span:nth-child(1) { background: #009246; }
.flag-dots span:nth-child(2) { background: #fff; border: 1px solid #ddd; }
.flag-dots span:nth-child(3) { background: #CE2B37; }

/* ── Phone mockup ── */
.phone {
  width: 290px;
  border-radius: 46px;
  background: #0F172A;
  padding: 12px;
  box-shadow: 0 30px 60px -12px rgb(15 23 42 / 0.45), inset 0 0 0 2px #334155;
  flex: none;
}
.phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #F2F4F8;
  min-height: 560px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--deep-slate);
  display: flex;
  flex-direction: column;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px; left: 50%;
  width: 92px; height: 26px;
  transform: translateX(-50%);
  background: #0F172A;
  border-radius: 20px;
  z-index: 5;
}
.phone--small { width: 250px; border-radius: 40px; padding: 10px; }
.phone--small .phone-screen { min-height: 480px; border-radius: 31px; font-size: 12px; }
.ps-top { padding: 46px 16px 10px; background: white; border-bottom: 1px solid #E5E7EB; }
.ps-top-row { display: flex; align-items: center; gap: 10px; }
.ps-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--icon-top), var(--icon-bottom)); flex: none; }
.ps-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ps-title { font-weight: 700; font-size: 14px; line-height: 1.2; }
.ps-sub { font-size: 11px; color: var(--text-tertiary); }
.ps-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ps-pills { display: flex; gap: 6px; margin-top: 8px; }
.ps-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #F1F5F9; }
.ps-pill--xp { color: #B45309; background: #FEF3C7; }
.ps-pill--streak { color: #C2410C; background: #FFEDD5; }
.ps-pill--lives { color: #BE123C; background: #FFE4E6; }
.ps-label { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-blue); }
.ps-card { background: white; border-radius: 16px; padding: 12px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.ps-card h5 { font-size: 14px; font-weight: 700; margin: 2px 0; font-family: inherit; }
.ps-card p { font-size: 12px; color: var(--muted-slate); margin: 0; line-height: 1.4; }
.ps-btn { display: block; text-align: center; background: var(--brand-blue); color: white; font-weight: 700; border-radius: 12px; padding: 10px; margin-top: 10px; font-size: 13px; }
.ps-progress { height: 6px; border-radius: 3px; background: #E2E8F0; overflow: hidden; margin-top: 8px; }
.ps-progress span { display: block; height: 100%; background: var(--brand-blue); border-radius: 3px; }
.ps-prompt { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 4px 0; }
.ps-option { background: white; border: 2px solid #E2E8F0; border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.ps-option--right { border-color: #16A34A; background: #F0FDF4; color: #166534; }
.ps-tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-tile { background: white; border: 1.5px solid #CBD5E1; border-bottom-width: 3px; border-radius: 10px; padding: 6px 10px; font-weight: 600; }
.ps-mic { width: 64px; height: 64px; margin: 6px auto; border-radius: 50%; background: var(--brand-blue); display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(47 109 181 / 0.15); }
.ps-mic svg { width: 26px; height: 26px; fill: white; }
.ps-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; font-size: 12px; }
.ps-table td { padding: 6px 10px; border-bottom: 1px solid #F1F5F9; }
.ps-table td:first-child { color: var(--text-tertiary); width: 40%; }
.ps-table td:last-child { font-weight: 700; }
.ps-table .ps-blank { display: inline-block; min-width: 54px; border-bottom: 2px solid var(--brand-blue); color: var(--brand-blue); }
.ps-note { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px; padding: 10px 12px; font-size: 12px; line-height: 1.45; }
.ps-note strong { display: block; color: #92400E; margin-bottom: 2px; }
.ps-cert { background: white; border-radius: 16px; padding: 16px; text-align: center; border: 2px solid var(--banana); }
.ps-cert .ps-level { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--navy); line-height: 1; }
.ps-scores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 10px; }
.ps-scores div { background: #F1F5F9; border-radius: 8px; padding: 6px 2px; font-size: 10px; color: var(--text-tertiary); }
.ps-scores b { display: block; font-size: 13px; color: var(--deep-slate); }

/* Chat bubbles */
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 18px; line-height: 1.4; font-size: 13px; }
.bubble small { display: block; font-size: 11px; opacity: 0.75; margin-top: 3px; }
.bubble--tino { background: white; border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }
.bubble--me { background: var(--brand-blue); color: white; border-bottom-right-radius: 6px; align-self: flex-end; }
.bubble-fix { align-self: flex-end; max-width: 84%; font-size: 11px; background: #FEF3C7; color: #92400E; border-radius: 10px; padding: 5px 9px; }

/* Mockup showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; margin-bottom: var(--space-24); }
.showcase:last-child { margin-bottom: 0; }
.showcase--flip .showcase-media { order: 2; }
.showcase-media { display: flex; justify-content: center; position: relative; }
.showcase-media::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(71 148 206 / 0.22), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.showcase-media .phone { position: relative; }
.showcase-text h2, .showcase-text h3 { margin-bottom: var(--space-4); }
.showcase-text > p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: var(--space-6); }
.check-list { list-style: none; display: grid; gap: 0.75rem; margin-bottom: var(--space-6); }
.check-list li { position: relative; padding-left: 2rem; color: var(--text-primary); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ice-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='%232F6DB5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.text-link { color: var(--brand-blue); font-weight: 600; }
.text-link:hover { color: var(--navy); }

/* ── Level ladder (A1 → C2) ── */
.levels { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); align-items: end; }
.level-step { background: white; border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: var(--space-6) var(--space-4); text-align: center; box-shadow: var(--shadow-sm); }
.level-step:nth-child(1) { margin-bottom: 0; }
.level-step:nth-child(2) { margin-bottom: 14px; }
.level-step:nth-child(3) { margin-bottom: 28px; }
.level-step:nth-child(4) { margin-bottom: 42px; }
.level-step:nth-child(5) { margin-bottom: 56px; }
.level-step:nth-child(6) { margin-bottom: 70px; }
.level-code { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.level-name { font-weight: 700; font-size: 0.875rem; margin: 0.4rem 0; }
.level-step p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.45; }
.level-step--b { border-top: 4px solid var(--brand-blue); }
.level-step--a { border-top: 4px solid var(--sky); }
.level-step--c { border-top: 4px solid var(--navy); }

/* ── Number band ── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.number-card { background: white; border-radius: var(--radius-card); padding: var(--space-6); border: 1px solid var(--border-color); }
.number-card b { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 900; color: var(--brand-blue); line-height: 1.1; }
.number-card span { color: var(--text-secondary); font-size: 0.9375rem; }

/* ── Key facts (answer-first summary box for search & AI answers) ── */
.key-facts {
  background: white;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin: 0 auto var(--space-12);
  max-width: var(--max-width-narrow);
  box-shadow: var(--shadow-sm);
}
.key-facts h2 { font-size: 1.125rem; letter-spacing: 0; margin-bottom: var(--space-3); color: var(--navy); }
.key-facts p { margin-bottom: var(--space-3); }
.key-facts ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.key-facts li { color: var(--text-primary); }

/* ── Comparison tables ── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); background: white; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9375rem; }
.compare-table caption { caption-side: bottom; text-align: left; padding: var(--space-4) var(--space-6); font-size: 0.8125rem; color: var(--text-tertiary); }
.compare-table th, .compare-table td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-color); }
.compare-table thead th { background: var(--navy); color: white; font-family: var(--font-display); font-weight: 700; position: sticky; top: 0; }
.compare-table thead th.is-us { background: var(--brand-blue); }
.compare-table tbody th { font-weight: 600; color: var(--text-primary); background: var(--off-white); width: 24%; }
.compare-table td.is-us { background: rgb(234 243 252 / 0.6); font-weight: 600; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.yes { color: #15803D; font-weight: 700; }
.partial { color: #B45309; font-weight: 700; }
.no { color: var(--text-tertiary); font-weight: 600; }
.compare-note { max-width: var(--max-width-narrow); margin: var(--space-6) auto 0; font-size: 0.875rem; color: var(--text-tertiary); text-align: center; }

.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.pick-card { background: white; border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: var(--space-8); }
.pick-card h3 { font-size: 1.25rem; margin-bottom: var(--space-3); }
.pick-card p { color: var(--text-secondary); margin-bottom: var(--space-3); }
.pick-card ul { padding-left: 1.2rem; color: var(--text-secondary); display: grid; gap: 0.35rem; }
.pick-card--us { border: 2px solid var(--brand-blue); background: linear-gradient(180deg, var(--ice-tint), white 60%); }
.pick-label { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand-blue); margin-bottom: var(--space-2); }

/* ── Guide / article layout ── */
.guide-hero { text-align: left; }
.guide-hero .hero-container { max-width: var(--max-width-narrow); text-align: left; }
.guide-hero .hero-subtitle { text-wrap: pretty; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; color: var(--text-tertiary); font-size: 0.875rem; }
.guide-section { background: white; padding: var(--space-12) var(--space-8) var(--space-24); }
.guide-section .article-body { max-width: var(--max-width-narrow); margin: 0 auto; }
.article-body > p:first-child { font-size: 1.125rem; }
.article-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.article-body h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: 1.25rem; }
.article-body p, .article-body li { font-size: 1.0625rem; line-height: 1.75; color: #1E293B; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: var(--space-6) 0; font-size: 0.975rem; }
.article-body th, .article-body td { border-bottom: 1px solid var(--border-color); padding: 0.7rem 0.8rem; text-align: left; vertical-align: top; }
.article-body thead th { background: var(--ice-tint); color: var(--navy); font-family: var(--font-display); }
.article-body .table-wrap { overflow-x: auto; }
.article-body .it { font-style: italic; color: var(--navy); font-weight: 600; }
.toc { background: var(--off-white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-6); margin: var(--space-6) 0 var(--space-8); }
.toc h2 { font-size: 1rem !important; margin: 0 0 var(--space-3) !important; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.toc a { color: var(--brand-blue); font-weight: 500; }
.inline-cta { display: flex; gap: var(--space-6); align-items: center; background: linear-gradient(135deg, var(--icon-top), var(--icon-bottom)); color: white; border-radius: var(--radius-xl); padding: var(--space-6) var(--space-8); margin: var(--space-12) 0; }
.inline-cta img { width: 96px; flex: none; }
.inline-cta h3 { color: white; margin: 0 0 0.25rem !important; }
.inline-cta p { color: rgb(255 255 255 / 0.9) !important; margin: 0 0 0.75rem !important; font-size: 1rem !important; }
.inline-cta .btn { background: white; color: var(--navy); }

/* ── FAQ section wrapper ── */
.faq-section { padding: var(--space-24) var(--space-8); }
.faq-section--offwhite { background: var(--off-white); }
.faq-section--white { background: white; }
.faq-section .section-header { margin-bottom: var(--space-8); }
.faq-chevron { font-size: 1.4rem; font-weight: 400; color: var(--brand-blue); transition: transform var(--transition-base); line-height: 1; }
.faq-item[open] .faq-chevron { transform: rotate(45deg); }
.faq-answer { padding-top: 1rem; }

/* ── Related pages ── */
.related-section { background: white; padding: var(--space-16) var(--space-8); border-top: 1px solid var(--border-color); }
.related-title { text-align: center; margin-bottom: var(--space-8); font-size: 1.75rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.related-card h3 { font-size: 1.0625rem; margin-bottom: var(--space-2); color: var(--text-primary); }
.related-card p { font-size: 0.9375rem; color: var(--text-secondary); flex: 1; margin-bottom: var(--space-4); }
.related-card .related-link { color: var(--brand-blue); font-weight: 600; font-size: 0.9375rem; }
.related-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── CTA with Tino ── */
.cta-section--visual { padding-bottom: 0; }
.cta-section .cta-mascot { position: relative; z-index: 1; width: 280px; margin: var(--space-12) auto 0; display: block;
  /* Tino is navy like this section: a white sticker outline and a sky glow lift him off the background. */
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
          drop-shadow(0 0 28px rgb(140 194 238 / 0.55)); }
.cta-section .app-cta-badge { background: rgb(255 255 255 / 0.12); color: var(--banana); margin-bottom: var(--space-6); }
.cta-section .app-cta-badge strong { color: white; }
.cta-section .app-store-btn { margin-top: var(--space-4); }

/* ── Footer brand ── */
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: white !important; margin-bottom: var(--space-4); }
.footer-brand img { border-radius: 10px; }
.footer-download { margin-top: var(--space-4); }
.footer-section--brand p { max-width: 320px; }
.footer-bottom a { color: var(--sky); }
.footer-note { font-size: 0.75rem; opacity: 0.6; margin-top: var(--space-2); max-width: 820px; margin-left: auto; margin-right: auto; }
.footer-content { grid-template-columns: 1.3fr repeat(4, 1fr); }

/* ── Pillars (method) ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: pillar; }
.pillar { background: white; border-radius: var(--radius-card); padding: var(--space-8); border: 1px solid var(--border-color); position: relative; }
.pillar::before { counter-increment: pillar; content: counter(pillar); position: absolute; top: -16px; left: var(--space-8); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: white; font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; }
.pillar h3 { margin: var(--space-2) 0 var(--space-3); font-size: 1.25rem; }
.pillar p { color: var(--text-secondary); }
.it-word { font-style: italic; color: var(--navy); font-weight: 600; }

.scenario-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--space-4); }
.scenario { background: white; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-6); }
.scenario b { display: block; font-family: var(--font-display); color: var(--navy); }
.scenario span { font-size: 0.875rem; color: var(--text-secondary); }

.legal-body { max-width: var(--max-width-narrow); margin: 0 auto; }
.legal-body h2 { font-size: 1.5rem; margin: var(--space-12) 0 var(--space-4); }
.legal-body h3 { font-size: 1.125rem; margin: var(--space-6) 0 var(--space-2); }
.legal-body p, .legal-body li { color: #1E293B; line-height: 1.75; margin-bottom: var(--space-3); }
.legal-body ul { padding-left: 1.4rem; }

@media (max-width: 1100px) {
  .footer-content { grid-template-columns: repeat(3, 1fr); }
  .footer-section--brand { grid-column: 1 / -1; }
  .levels { grid-template-columns: repeat(3, 1fr); }
  .level-step { margin-bottom: 0 !important; }
}

@media (max-width: 968px) {
  .hero--home .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero--home .hero-cta-group, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 0; padding-top: var(--space-8); }
  .hero-visual .hero-tino { width: 160px; left: 0; }
  .showcase, .showcase--flip { grid-template-columns: 1fr; gap: var(--space-8); margin-bottom: var(--space-16); }
  .showcase--flip .showcase-media { order: 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .pillars, .pick-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .breadcrumbs { padding-top: 84px; }
  .faq-section, .guide-section, .related-section { padding-left: var(--space-4); padding-right: var(--space-4); }
}

@media (max-width: 640px) {
  .breadcrumbs { padding-left: var(--space-4); padding-right: var(--space-4); }
  .hero { padding-left: var(--space-4); padding-right: var(--space-4); }
  .features, .how-it-works { padding-left: var(--space-4); padding-right: var(--space-4); }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .number-card { padding: var(--space-4); }
  .number-card b { font-size: 1.75rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .phone { width: 260px; }
  .phone-screen { min-height: 500px; }
  .hero-visual .hero-tino { width: 120px; left: -4px; }
  .key-facts { padding: var(--space-6); }
  .inline-cta { flex-direction: column; text-align: center; padding: var(--space-6); }
  .compare-table tbody th { width: auto; }
  .app-store-btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Four-step variant (gradual immersion on How It Works): flat, no staircase */
.levels--four { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.levels--four .level-step { margin-bottom: 0 !important; }
@media (max-width: 1100px) { .levels--four { grid-template-columns: repeat(2, 1fr); } }

/* A whole feature card can be the link */
a.feature-card { display: block; color: inherit; text-decoration: none; }
a.feature-card h3 { color: var(--navy); }

/* Practice questions: answer revealed on tap */
.practice-q { background: var(--pure-white); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: var(--space-6); margin: 0 0 var(--space-4); }
.practice-q h3 { font-size: 1rem; margin: 0 0 var(--space-2); color: var(--navy); }
.practice-q p { margin: 0 0 var(--space-3); }
.practice-q ol { margin: 0 0 var(--space-3); padding-left: 1.4rem; display: grid; gap: 0.25rem; }
.practice-q details { border-top: 1px dashed var(--border-color); padding-top: var(--space-3); }
.practice-q summary { cursor: pointer; font-weight: 700; color: var(--brand-blue); }
.practice-q details p { margin: var(--space-2) 0 0; }

/* Real app screenshots in a simple device frame */
.app-shot { margin: 0 auto; width: min(300px, 72vw); border-radius: 40px; overflow: hidden; border: 9px solid #1d1d1f; background: #1d1d1f; box-shadow: var(--shadow-xl); }
.app-shot img { display: block; width: 100%; height: auto; border-radius: 31px; }
.app-shot--small { width: min(250px, 66vw); }
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-8); margin-top: var(--space-8); align-items: start; }
.shot-row .app-shot { width: min(250px, 72vw); }
.shot-row figcaption, .shot-caption { text-align: center; font-size: 0.9375rem; color: var(--text-secondary); margin-top: var(--space-3); }

/* Desktop-only QR code in the download CTA: phones tap the button instead. */
.cta-qr { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .cta-qr { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 1.25rem; padding: 0.6rem 1rem 0.6rem 0.6rem;
    background: rgba(255,255,255,0.12); border-radius: 14px; text-align: left; max-width: 340px; }
  .cta-qr img { width: 96px; height: 96px; border-radius: 8px; background: #fff; flex-shrink: 0; }
  .cta-qr span { font-size: 0.9rem; line-height: 1.4; color: rgba(255,255,255,0.85); }
}

/* ── Verb conjugation pages (/verbs) ─────────────────────── */
.article-body--wide { max-width: 1040px; }
.conj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-4); margin: var(--space-6) 0; }
.conj-card { border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-4); background: var(--bg-primary); }
.conj-card h3 { margin: 0 0 2px; font-size: 1.1rem; color: var(--navy); }
.article-body .conj-card h3 { margin-top: 0; }
.conj-sub { font-size: .85rem; color: var(--text-tertiary); margin: 0 0 var(--space-3); line-height: 1.4; }
.article-body .conj-card p.conj-sub { margin-bottom: var(--space-3); font-size: .85rem; }
.article-body .conj-card table { min-width: 0; font-size: .98rem; }
.article-body .conj-card th, .article-body .conj-card td { border: 0; border-bottom: 1px solid var(--border-color); padding: 6px 4px; width: auto; }
.article-body .conj-card tr:last-child th, .article-body .conj-card tr:last-child td { border-bottom: 0; }
.article-body .conj-card th { background: none; color: var(--text-tertiary); font-weight: 500; width: 34%; }
.article-body .conj-card td:last-child { width: auto; }
.conj-note, .article-body p.conj-note { font-size: .9rem; color: var(--text-tertiary); }
.verb-list { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-8); display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-2) var(--space-6); }
.article-body .verb-list li { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border-color); display: flex; flex-direction: column; }
.article-body .verb-list li::before { content: none; display: none; }
.verb-list a { font-weight: 700; text-decoration: none; }
.verb-list li span:last-child { font-size: .88rem; color: var(--text-tertiary); }
.verb-list li[hidden] { display: none; }
.verb-search { margin: 0 0 var(--space-6); }
.verb-search label { display: block; font-weight: 700; color: var(--navy); margin-bottom: var(--space-2); }
.verb-search input { width: 100%; max-width: 420px; font: inherit; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-btn); }
.verb-search input:focus { outline: 2px solid var(--brand-blue); outline-offset: 1px; }

/* ── Daily word puzzle (/tools/italian-word-puzzle) ─────── */
.wp { max-width: 480px; margin: 0 auto var(--space-12); text-align: center; }
.wp-meta { color: var(--text-tertiary); font-size: .95rem; }
.wp-grid { display: grid; gap: 6px; margin: var(--space-4) auto; max-width: 330px; }
.wp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wp-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gray-300); border-radius: var(--radius-md); font: 800 1.7rem/1 'Outfit', sans-serif; text-transform: uppercase; color: var(--deep-slate); background: var(--bg-primary); }
.wp-cell.wp-filled { border-color: var(--gray-500); }
.wp-right, .wp-key.wp-right, .wp-key-demo.wp-right { background: #2E8B57; border-color: #2E8B57; color: #fff; }
.wp-elsewhere, .wp-key.wp-elsewhere, .wp-key-demo.wp-elsewhere { background: #D9A21B; border-color: #D9A21B; color: #fff; }
.wp-absent, .wp-key.wp-absent, .wp-key-demo.wp-absent { background: #8A94A6; border-color: #8A94A6; color: #fff; }
.wp-msg { min-height: 1.6em; font-weight: 600; color: var(--navy); }
.wp-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-4); }
.wp-kb { display: grid; gap: 6px; margin: var(--space-4) 0; }
.wp-kb-row { display: flex; gap: 5px; justify-content: center; }
.wp-key { flex: 1 1 0; max-width: 44px; min-width: 0; height: 52px; border: 0; border-radius: var(--radius-md); background: var(--gray-200); font: 700 1rem 'Inter', sans-serif; text-transform: uppercase; color: var(--deep-slate); cursor: pointer; padding: 0; }
.wp-key-wide { max-width: 68px; flex: 1.5 1 0; font-size: .8rem; }
.wp-key:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.wp-key-demo { display: inline-flex; width: 1.6em; height: 1.6em; align-items: center; justify-content: center; border-radius: 4px; font-weight: 800; }
.wp-end { text-align: left; margin-top: var(--space-6); }

/* ── Quizzes (/tools/italian-level-test, /tools/cils-b1-mini-mock-exam) ── */
.quiz { margin: 0 0 var(--space-12); }
.quiz-progress { height: 8px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden; margin-bottom: var(--space-4); }
.quiz-progress span { display: block; height: 100%; background: var(--brand-blue); width: 0; transition: width .3s ease; }
.quiz-count { font-size: .9rem; color: var(--text-tertiary); margin-bottom: var(--space-2); }
.quiz-card { border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: var(--space-6); background: var(--bg-primary); }
.quiz-section { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-blue); background: var(--ice-tint); border-radius: var(--radius-full); padding: 3px 10px; margin-bottom: var(--space-3); }
.quiz-text { background: var(--off-white); border-left: 3px solid var(--sky); padding: var(--space-4); border-radius: var(--radius-md); margin-bottom: var(--space-4); font-size: .98rem; }
.quiz-q { font-size: 1.15rem; font-weight: 600; color: var(--deep-slate); margin-bottom: var(--space-4); }
.quiz-options { display: grid; gap: var(--space-2); }
.quiz-opt { text-align: left; font: inherit; padding: 12px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-btn); background: var(--bg-primary); cursor: pointer; color: var(--deep-slate); }
.quiz-opt:hover:not([disabled]) { border-color: var(--brand-blue); background: var(--ice-tint); }
.quiz-opt.is-right { border-color: #2E8B57; background: #E8F5EE; }
.quiz-opt.is-wrong { border-color: #C2410C; background: #FDEEE6; }
.quiz-opt[disabled] { cursor: default; }
.quiz-explain { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--off-white); font-size: .95rem; }
.quiz-next { margin-top: var(--space-4); }
.quiz-result h2 { margin-top: 0; }
.quiz-level { font: 900 4rem/1 'Outfit', sans-serif; color: var(--brand-blue); margin: var(--space-2) 0; }
.quiz-bars { display: grid; gap: var(--space-2); margin: var(--space-4) 0; }
.quiz-bar { display: grid; grid-template-columns: 70px 1fr 48px; gap: var(--space-3); align-items: center; font-size: .95rem; }
.quiz-bar div { height: 10px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden; }
.quiz-bar div span { display: block; height: 100%; background: var(--brand-blue); }

/* ── Printable cheat sheets (/printables) ────────────────── */
.sheet { max-width: 1040px; margin: 0 auto; padding: 0 var(--space-4) var(--space-12); }
.sheet-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: 0 0 var(--space-6); }
.sheet-cols { columns: 3 260px; column-gap: var(--space-6); }
.sheet-block { break-inside: avoid; margin: 0 0 var(--space-4); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); }
.sheet-block h2 { font-size: 1.05rem; margin: 0 0 var(--space-2); color: var(--navy); }
.sheet-block table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sheet-block td, .sheet-block th { padding: 3px 4px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; }
.sheet-block th { color: var(--text-tertiary); font-weight: 500; }
.sheet-block tr:last-child td, .sheet-block tr:last-child th { border-bottom: 0; }
.sheet-block .it { font-style: normal; font-weight: 600; color: var(--navy); }
.sheet-block p { font-size: .9rem; margin: var(--space-1) 0; }
.sheet-foot { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-4); font-size: .9rem; color: var(--text-tertiary); }
.sheet-foot img { width: 72px; height: 72px; }
@media print {
  @page { margin: 12mm; }
  .navbar, .footer, .cta-section, .breadcrumbs, .related-section, .faq-section, .skip-link, .no-print, .sheet-actions { display: none !important; }
  body { background: #fff; }
  main { padding: 0 !important; }
  .hero { padding: 0 0 8px !important; min-height: 0 !important; background: none !important; }
  .hero h1 { font-size: 20pt !important; margin: 0 !important; }
  .hero .hero-subtitle, .hero .hero-badge { display: none !important; }
  .sheet { padding: 0; max-width: none; }
  .sheet-cols { columns: 3; column-gap: 6mm; font-size: 8.5pt; }
  .sheet-block { padding: 2mm 3mm; margin-bottom: 3mm; border-color: #bbb; }
  .sheet-block h2 { font-size: 10pt; }
  .sheet-block table, .sheet-block p { font-size: 8.5pt; }
}

/* Social links under the footer's download button */
.footer-social { margin-top: var(--space-3); font-size: 0.9rem; }
.footer-social a { font-weight: 600; }

/* ========================================
   New Year competition (/win) and its announcement bar
   ======================================== */
.announce-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: 38px; display: flex; align-items: center; justify-content: center;
  padding: 0 var(--space-4); background: var(--navy); color: white; font-size: .9rem; font-weight: 600; text-align: center; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-bar:hover { background: var(--brand-blue); color: white; }
.announce-bar strong { color: var(--banana); }
html.has-announce { --announce-bar-height: 38px; }
html.has-announce body { padding-top: 38px; }
@media (max-width: 480px) { .announce-bar { font-size: .8rem; } .announce-more { display: none; } }

.win-card { border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: var(--space-6); background: var(--bg-primary);
  box-shadow: var(--shadow-md); margin: 0 0 var(--space-12); }
.win-card h2 { margin: var(--space-8) 0 var(--space-3); font-size: 1.5rem; }
.win-card > h2:first-child, .win-card > :first-child { margin-top: 0; }
#win-me h2 { padding-top: var(--space-6); border-top: 1px solid var(--border-color); }
#win-me .win-tickets + h2 { margin-top: var(--space-6); }
#win-me > h2:first-child { border-top: 0; padding-top: 0; }
#win-me p { margin-bottom: var(--space-3); }
#win-me .win-check { margin-top: 0; }
.win-card label { display: block; font-weight: 700; color: var(--navy); margin: var(--space-4) 0 var(--space-2); }
.win-card input:not([type=checkbox]), .win-card select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--gray-300);
  border-radius: var(--radius-btn); background: white; color: var(--text-primary); }
.win-card input:focus, .win-card select:focus { outline: 2px solid var(--brand-blue); outline-offset: 1px; }
.win-card .win-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text-primary); }
.win-card .win-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.win-card .btn { margin-top: var(--space-6); }
.win-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.win-muted { color: var(--text-secondary); }
.win-small { font-size: .85rem; margin-top: var(--space-4); }
.win-hint, .win-error { color: #B42318; font-weight: 600; margin-top: var(--space-3); }
.win-friend, .win-confirmed { margin-bottom: var(--space-6); }
.win-confirmed { background: var(--ice-tint); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-weight: 600; color: var(--navy); }
.win-ok { font-weight: 600; color: var(--navy); }
.win-tickets { display: flex; align-items: center; gap: var(--space-4); margin: 0 0 var(--space-2); font-weight: 600; color: var(--navy); }
.win-tickets-n { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; line-height: 1; color: var(--brand-blue); }
.win-copy { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.win-copy input { flex: 1; min-width: 0; }
.win-copy .btn { margin-top: 0; flex: none; width: auto; }
.win-shares { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-2); }
.win-shares .btn { margin-top: 0; padding: 8px 14px; font-size: .9rem; width: auto; text-decoration: none; }
.win-card, .win-table { max-width: 100%; }
.win-table td { overflow-wrap: anywhere; }
.win-table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; }
.win-table th, .win-table td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--border-color); vertical-align: top; }
.win-table th:last-child, .win-table td:last-child { width: 9.5rem; }
.win-table td:last-child { font-weight: 700; color: var(--brand-blue); }
.win-loading { color: var(--text-secondary); }
.win-link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-blue); text-decoration: underline; cursor: pointer; }
.win-actions { margin-top: var(--space-4); color: var(--text-secondary); }

/* Android beta sign-up (/android): reuses the .win-card form styles */
.win-card .win-field-help { font-size: .85rem; margin: var(--space-2) 0 0; }

/* New Year competition: nav link, the band on key pages ({{COMPETITION_BAND}}) and the line in the closing CTA */
.nav-link--win { color: var(--banana-deep); font-weight: 700; }
.nav-link--win:hover { color: var(--navy); }
.win-band { padding: var(--space-12) var(--space-6); background: var(--ice-tint); }
.win-band-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: var(--space-8);
  background: var(--navy); color: white; border-radius: var(--radius-card); padding: var(--space-8) var(--space-10, 2.5rem);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.win-band-inner::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 195, 142, 0.22) 0%, transparent 70%); pointer-events: none; }
.win-band-text { flex: 1; position: relative; z-index: 1; }
.win-band-badge { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--banana); margin-bottom: var(--space-2); }
.win-band h2 { color: white; margin: 0 0 var(--space-3); font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.win-band p { color: rgba(255, 255, 255, 0.85); margin: 0 0 var(--space-6); max-width: 560px; }
.win-band .btn-primary { background: var(--banana); color: var(--navy); border-color: var(--banana); }
.win-band .btn-primary:hover { background: white; color: var(--navy); }
.win-band-rules { color: rgba(255, 255, 255, 0.8); margin-left: var(--space-4); font-weight: 600; font-size: .9rem; }
.win-band-rules:hover { color: white; }
.win-band-prize { position: relative; z-index: 1; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 160px; height: 160px; border-radius: 50%; background: var(--banana); color: var(--navy); text-align: center; font-weight: 700; line-height: 1.2; }
.win-band-n { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; line-height: 1; }
@media (max-width: 700px) {
  .win-band { padding: var(--space-8) var(--space-4); }
  .win-band-inner { flex-direction: column-reverse; align-items: flex-start; padding: var(--space-6); gap: var(--space-4); }
  .win-band-prize { width: auto; height: auto; flex-direction: row; gap: var(--space-2); border-radius: var(--radius-full); padding: 6px 16px; }
  .win-band-prize br { display: none; }
  .win-band-n { font-size: 1.5rem; }
}
.cta-section .cta-win { display: inline-block; margin-top: var(--space-6); padding: var(--space-3) var(--space-5, 1.25rem); border-radius: var(--radius-full);
  background: rgba(242, 195, 142, 0.16); border: 1px solid rgba(242, 195, 142, 0.5); color: white; font-size: .95rem; text-decoration: none; }
.cta-section .cta-win strong { color: var(--banana); }
.cta-section .cta-win:hover { background: rgba(242, 195, 142, 0.28); color: white; }
.cta-section .text-small a { color: white; text-decoration: underline; }
.hero-android { margin: 0 0 var(--space-6); font-size: .95rem; color: var(--text-secondary); }
.hero-android a { font-weight: 700; }
