/* ============================================================
   ICHOS Marketing — shared stylesheet
   Brand tokens kept in sync with frontend/style.css so the
   marketing site and the app feel like the same product.
   ============================================================ */

:root {
  /* Colour tokens — match Phase D2 'Default Dark' theme */
  --color-bg:           #0b0d1e;
  --color-bg-card:      #11111e;
  --color-bg-soft:      #1a1d2c;     /* alt-section bg — bumped for visual rhythm */
  --color-bg-bright:    #ffffff;     /* Stadium-bright preview */
  --color-ink-bright:   #0a0a14;     /* dark text on bright preview */
  --color-text:         #f5f0e8;
  --color-text-dim:     #a09888;
  --color-gold:         #c9a227;
  --color-gold-dark:    #9a7c1a;
  --color-gold-light:   #e8c55a;
  --color-blue:         #1a3060;          /* Stadium-bright accent */
  --color-green:        #4caf50;
  --color-red:          #f44336;
  --color-border:       rgba(201, 162, 39, 0.25);
  --color-border-soft:  rgba(255, 255, 255, 0.08);

  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  16px;
  --space-4:  24px;
  --space-5:  40px;
  --space-6:  64px;
  --space-7:  96px;
  --space-8:  128px;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;

  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern', 'liga';
}

a {
  color: var(--color-gold);
  text-decoration: none;
}
a:hover { color: var(--color-gold-light); }

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

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* --- Sticky nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-soft);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-text);
}
.nav-brand .gold { color: var(--color-gold); }
.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--color-text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
  background: var(--color-gold);
  color: var(--color-bg) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  padding: var(--space-7) 0 var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #141828;
  background-image:
    linear-gradient(180deg, rgba(11, 13, 30, 0.55) 0%, rgba(11, 13, 30, 0.85) 100%),
    url('https://images.unsplash.com/photo-1507692049790-de58290a4334?w=1400&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto var(--space-3);
  max-width: 16ch;
}
.hero h1 .gold { color: var(--color-gold); }
.hero p.lede {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-text-dim);
  max-width: 56ch;
  margin: 0 auto var(--space-5);
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.hero-trust {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-top: var(--space-3);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  text-decoration: none;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg) !important;
}
.btn-primary:hover {
  background: var(--color-gold-light);
  color: var(--color-bg) !important;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text) !important;
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-gold);
  background: rgba(201, 162, 39, 0.06);
}
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* --- Section + heading scaffolding --- */
section { padding: var(--space-7) 0; }
section.tight { padding: var(--space-6) 0; }
section.alt {
  background: var(--color-bg-soft);
  position: relative;
}
/* Subtle gold hairline at the top of alt sections — adds a clean
 * step between bg tones rather than the flat dark-on-dark look. */
section.alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(201, 162, 39, 0.30) 20%,
    rgba(201, 162, 39, 0.30) 80%,
    transparent);
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: var(--space-2);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.section-lede {
  text-align: center;
  color: var(--color-text-dim);
  max-width: 56ch;
  margin: 0 auto var(--space-5);
  font-size: 17px;
}

/* --- Three-step "how it works" strip --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.step {
  text-align: left;
  padding: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
}
.step-num {
  display: inline-block;
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: var(--space-2);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--color-text-dim); font-size: 15px; }

/* --- Feature grid --- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.feature {
  padding: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--color-border);
  transform: translateY(-2px);
}
.feature-icon {
  display: block;
  margin-bottom: var(--space-2);
  color: #e8e8e8;
  filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.35));
}
.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--color-text-dim); font-size: 14px; line-height: 1.55; }

/* --- Comparison table --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-soft);
  vertical-align: top;
}
.compare-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dim);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
}
.compare-table th.highlight {
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.06);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .row-feature { font-weight: 600; }
.compare-table td.cell-yes  { color: var(--color-green); }
.compare-table td.cell-no   { color: var(--color-text-dim); }
.compare-table td.cell-partial { color: var(--color-gold); }
.compare-table td.highlight { background: rgba(201, 162, 39, 0.04); }

/* --- Pricing cards --- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.price-card {
  padding: var(--space-5) var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, var(--color-bg-card), rgba(201, 162, 39, 0.04));
  position: relative;
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-bg);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.price-amount {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount .currency { font-weight: 500; opacity: 0.8; font-size: 28px; vertical-align: top; }
.price-period {
  color: var(--color-text-dim);
  font-size: 14px;
  margin-bottom: var(--space-4);
}
.price-blurb {
  color: var(--color-text-dim);
  font-size: 14px;
  margin-bottom: var(--space-3);
}
.price-features {
  list-style: none;
  margin-bottom: var(--space-4);
  flex: 1;
}
.price-features li {
  padding: 6px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-features li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
}
.price-features li.muted { color: var(--color-text-dim); }
.price-features li.muted::before { content: '·'; }

/* --- FAQ --- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border-soft);
  padding: var(--space-4) 0;
}
.faq-q {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}
.faq-a {
  color: var(--color-text-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* --- Footer --- */
footer {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-text-dim);
  font-size: 13px;
  text-align: center;
}
footer a { color: var(--color-text-dim); margin: 0 var(--space-2); }
footer a:hover { color: var(--color-gold); }
footer .copyright { margin-top: var(--space-2); opacity: 0.7; }

/* --- Hero product screenshots --- */
.hero-screenshots {
  margin: var(--space-5) auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  position: relative;
}
.hero-screenshots::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(ellipse at 50% 40%, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-shot {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-shot picture { display: block; }
.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(201, 162, 39, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-shot img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(201, 162, 39, 0.2);
}
.hero-shot-label {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* --- Pipeline demo (Phase E follow-up: animated 3-panel pipeline) ---
 * Audio → Recognition → Verse. Each panel "lights up" in sequence on a
 * 9-second master cycle. Pure CSS animations, no JS. Visually narrates
 * how the product works without needing a screencast. */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-3);
  align-items: stretch;
}
.pipe-panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  animation: pipeHighlight 9s ease-in-out infinite;
}
.pipe-panel-1 { animation-delay: 0s; }
.pipe-panel-2 { animation-delay: 3s; }
.pipe-panel-3 { animation-delay: 6s; }
@keyframes pipeHighlight {
  0%, 33%, 100% {
    border-color: var(--color-border-soft);
    box-shadow: none;
    transform: translateY(0);
  }
  3%, 30% {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.10),
                0 8px 24px -8px rgba(201, 162, 39, 0.30);
    transform: translateY(-2px);
  }
}
.pipe-arrow {
  font-size: 22px;
  color: var(--color-text-dim);
  align-self: center;
  opacity: 0.5;
}
.pipe-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-dim);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.pipe-num {
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.pipe-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-3);
}
.pipe-foot {
  margin-top: var(--space-2);
  font-size: 12px;
  color: var(--color-text-dim);
  font-style: italic;
}

/* Panel 1 — always-pulsing waveform */
.pipe-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 50px;
}
.pipe-wave span {
  display: inline-block;
  width: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: pipeWaveBar 1.1s ease-in-out infinite;
}
.pipe-wave span:nth-child(1)  { animation-delay: 0.00s; }
.pipe-wave span:nth-child(2)  { animation-delay: 0.06s; }
.pipe-wave span:nth-child(3)  { animation-delay: 0.12s; }
.pipe-wave span:nth-child(4)  { animation-delay: 0.18s; }
.pipe-wave span:nth-child(5)  { animation-delay: 0.24s; }
.pipe-wave span:nth-child(6)  { animation-delay: 0.30s; }
.pipe-wave span:nth-child(7)  { animation-delay: 0.36s; }
.pipe-wave span:nth-child(8)  { animation-delay: 0.42s; }
.pipe-wave span:nth-child(9)  { animation-delay: 0.48s; }
.pipe-wave span:nth-child(10) { animation-delay: 0.54s; }
.pipe-wave span:nth-child(11) { animation-delay: 0.60s; }
.pipe-wave span:nth-child(12) { animation-delay: 0.66s; }
.pipe-wave span:nth-child(13) { animation-delay: 0.72s; }
.pipe-wave span:nth-child(14) { animation-delay: 0.78s; }
.pipe-wave span:nth-child(15) { animation-delay: 0.84s; }
@keyframes pipeWaveBar {
  0%, 100% { height: 6px;  }
  25%      { height: 36px; }
  50%      { height: 14px; }
  75%      { height: 50px; }
}

/* Panel 2 — text typing in then clearing on the cycle */
.pipe-text {
  font-family: var(--font-sans);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  padding: 0 var(--space-3);
  display: block;
  width: 100%;
}
.pipe-text-content {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  width: 0;
  animation: pipeType 9s steps(48, end) infinite;
  animation-delay: 3s;
}
@keyframes pipeType {
  0%   { width: 0;     }
  20%  { width: 100%;  }
  33%  { width: 100%;  }
  34%  { width: 0;     }
  100% { width: 0;     }
}
.pipe-cursor {
  display: inline-block;
  width: 2px;
  background: var(--color-gold);
  height: 1em;
  margin-left: 2px;
  vertical-align: middle;
  animation: pipeCursor 0.85s ease-in-out infinite;
}
@keyframes pipeCursor {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

/* Panel 3 — verse card slides up + fades in */
.pipe-verse-card {
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  animation: pipeVerseAppear 9s ease-in-out infinite;
  animation-delay: 6s;
}
.pipe-verse-ref {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.pipe-verse-text {
  font-family: var(--font-serif);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.4;
}
@keyframes pipeVerseAppear {
  0%   { opacity: 0; transform: translateY(16px); }
  4%   { opacity: 1; transform: translateY(0);    }
  33%  { opacity: 1; transform: translateY(0);    }
  37%  { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; transform: translateY(16px); }
}

/* --- Theme preview pair: dark vs bright (Phase E follow-up #3) ---
 * Side-by-side mini verse cards demonstrating the two themes from the
 * app's Phase D2 theme picker. Lives in the Features section so
 * visitors see the Stadium-bright option exists and what it looks like. */
.theme-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.theme-card {
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  border: 1px solid var(--color-border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.theme-card-dark {
  background: var(--color-bg);
  color: var(--color-text);
}
.theme-card-bright {
  background: var(--color-bg-bright);
  color: var(--color-ink-bright);
  border-color: rgba(0, 0, 0, 0.10);
}
.theme-card-dark .tc-ref { color: var(--color-gold); }
.theme-card-bright .tc-ref { color: #1a3060; }
.tc-ref {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.tc-text {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
  max-width: 22ch;
  margin: 0 auto var(--space-3);
}
.tc-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.theme-card-dark .tc-label {
  background: rgba(201, 162, 39, 0.15);
  color: var(--color-gold);
}
.theme-card-bright .tc-label {
  background: rgba(26, 48, 96, 0.10);
  color: #1a3060;
}

/* --- Scroll-reveal animations (Intersection Observer) --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Honour the OS-level "reduce motion" preference — important for
 * users with vestibular disorders, and a free WCAG win. */
@media (prefers-reduced-motion: reduce) {
  .pipe-panel,
  .pipe-wave span,
  .pipe-text-content,
  .pipe-cursor,
  .pipe-verse-card {
    animation: none;
  }
  .hero-shot img { transition: none; }
  .pipe-wave span { height: 16px; }
  .pipe-text-content { width: 100%; white-space: normal; }
  .pipe-verse-card { opacity: 1; transform: none; }
  .pipe-cursor { display: none; }
  .pipe-panel { border-color: var(--color-border-soft); transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Language switcher in the nav (Phase G mirror-tree multilingual) ---
 * Always-visible, crawlable HTML links so search engines find the
 * alternate-language versions and visitors can override the default. */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--space-3);
  font-size: 13px;
  color: var(--color-text-dim);
}
.lang-switcher a {
  color: var(--color-text-dim);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}
.lang-switcher a:hover {
  color: var(--color-text);
  background: rgba(201, 162, 39, 0.06);
}
.lang-switcher a.active {
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.12);
  font-weight: 700;
}
.lang-switcher .sep {
  color: rgba(255, 255, 255, 0.18);
}

/* --- Locale-suggestion banner (locale.js) ---
 * Non-blocking, sticks to the bottom of the viewport. Suggests a
 * language switch when the visitor's browser language differs from
 * the current page. Per Google's 2026 guidance: suggest, don't
 * auto-redirect. */
#ichos-locale-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-gold);
  padding: 14px var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  box-shadow: 0 -8px 32px -12px rgba(0, 0, 0, 0.5);
  animation: ichosLocaleBannerIn 0.4s ease-out;
  font-size: 15px;
  color: var(--color-text);
  flex-wrap: wrap;
}
@keyframes ichosLocaleBannerIn {
  0%   { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
#ichos-locale-banner .ichos-locale-msg {
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 480px;
}
#ichos-locale-banner .ichos-locale-yes {
  background: var(--color-gold);
  color: var(--color-bg) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease;
}
#ichos-locale-banner .ichos-locale-yes:hover {
  background: var(--color-gold-light);
  color: var(--color-bg) !important;
}
#ichos-locale-banner .ichos-locale-no {
  background: transparent;
  color: var(--color-text-dim);
  padding: 8px 14px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
#ichos-locale-banner .ichos-locale-no:hover {
  color: var(--color-text);
  border-color: var(--color-border);
}

/* --- Pricing toggle (monthly ↔ annual) --- */
.pricing-toggle {
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 0 auto var(--space-5);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.pricing-toggle button {
  padding: 10px 24px;
  background: transparent;
  border: none;
  color: var(--color-text-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pricing-toggle button[aria-pressed="true"] {
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 600;
}
.pricing-toggle .save-badge {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

/* --- Trust bar --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  background: rgba(201, 162, 39, 0.03);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-dim);
}
.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-gold);
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
}

/* --- Download section --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: 700px;
  margin: 0 auto;
}
.platform-card {
  padding: var(--space-5) var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s ease;
}
.platform-card:hover {
  border-color: var(--color-border);
}
.platform-icon {
  font-size: 40px;
  margin-bottom: var(--space-2);
}
.platform-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.platform-card .tier-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-3);
}
.platform-card .tier-links a {
  display: block;
  padding: 8px 14px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.platform-card .tier-links a:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

/* --- Feedback section --- */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}
.feedback-card {
  padding: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
}
.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}
.feedback-header strong {
  font-size: 14px;
  color: var(--color-text);
}
.beta-badge {
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.feedback-text {
  color: var(--color-text-dim);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}
.feedback-stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  font-size: 14px;
  margin-top: var(--space-2);
}

/* --- Responsive --- */
@media (max-width: 800px) {
  .steps,
  .features,
  .pricing,
  .theme-preview { grid-template-columns: 1fr; }
  .pipeline {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .pipe-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: var(--space-6) 0; }
  .hero-screenshots { grid-template-columns: 1fr; max-width: 560px; }
  section { padding: var(--space-6) 0; }
  .download-grid { grid-template-columns: 1fr; }
  .trust-bar { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .nav-inner { padding: var(--space-2) var(--space-3); }
  .nav-brand { font-size: 16px; }
  .btn { padding: 12px 20px; font-size: 15px; }
  .price-amount { font-size: 32px; }
}
