/* ================================================================
   Ayrah Marketing Site — shared stylesheet
   Warm, calming peach-and-cream palette matching the brand PDF.
   ================================================================ */

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

:root {
  /* Brand palette (from PDF) */
  --cream:           #FBF6F1;
  --cream-deep:      #F5EDE4;
  --peach-soft:      #FBD9C6;
  --peach-mid:       #F4B89A;
  --peach-pill:      #FAD4C0;
  --coral:           #E76F3F;          /* primary CTA */
  --coral-dark:      #CE5C2D;          /* CTA hover */
  --coral-tint:      rgba(231,111,63,.08);

  --ink:             #3D3848;          /* heading + dark text */
  --ink-soft:        #5B5566;          /* body text */
  --ink-muted:       #877E91;          /* labels, captions */

  --line:            #ECE2D6;
  --line-strong:     #D8C7B8;

  --white:           #FFFFFF;
  --highlight:       #FCE9B0;          /* "real conversation" panel */
  --success-soft:    #D2F1CB;
  --success-ink:     #2F7C3A;

  /* Type */
  --serif: 'Lora', 'Source Serif Pro', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing */
  --max-w:           1180px;
  --nav-h:           72px;

  /* Radii */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 9999px;

  /* Shadow */
  --shadow-soft:     0 6px 28px rgba(61, 56, 72, 0.06);
  --shadow-card:     0 4px 18px rgba(61, 56, 72, 0.05);
  --shadow-lift:     0 14px 40px rgba(61, 56, 72, 0.10);

  /* Motion */
  --t-fast: 160ms ease;
  --t-med:  260ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

a { color: var(--coral); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--coral-dark); }

img, svg { max-width: 100%; display: block; }

/* ── Layout helpers ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 72px 0; }
.section--alt   { background: var(--cream-deep); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--peach-pill);
  padding: 7px 14px;
  border-radius: var(--r-pill);
}
.eyebrow--outline {
  background: transparent;
  border: 1px solid var(--peach-mid);
  color: var(--coral-dark);
}

.section-title {
  font-size: clamp(34px, 4.4vw, 54px);
  margin: 18px 0 18px;
}
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.7;
}
.section-head--centre {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.section-head--centre .section-lead { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--coral);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--coral-dark);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(231, 111, 63, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}
.btn--ghost:hover {
  background: var(--coral-tint);
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 241, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.nav-brand:hover { color: var(--ink); }
.nav-brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--peach-mid), var(--coral));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-tagline {
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 10px;
  font-family: var(--serif);
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(140deg, #f7e4d4 0%, #f4cbb1 55%, #ecb398 100%);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lift);
}
.hero-visual::after {
  /* Soft scene: sheer curtain + sofa + coffee table */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(circle at 25% 85%, rgba(216, 167, 137, 0.5), transparent 60%);
}
.hero-visual-inner {
  position: absolute; inset: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  max-width: 280px;
}
.hero-card--top { align-self: flex-end; }
.hero-card-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-card-text {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.hero-card--bottom .hero-card-text { font-style: italic; }

/* Decorative blurry blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.hero::before {
  width: 380px; height: 380px;
  background: rgba(244, 184, 154, 0.45);
  top: -120px; left: -120px;
}
.hero::after {
  width: 300px; height: 300px;
  background: rgba(251, 217, 198, 0.55);
  bottom: -100px; right: 35%;
}

/* ── About cards (Where Faith Meets Inner Healing) ───────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--peach-soft);
  border-radius: var(--r-md);
  padding: 30px 28px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.feature-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--peach-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ── How it works (6 steps) ──────────────────────────────────── */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 6px;
}
.step-circle {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--peach-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  z-index: 2;
  transition: transform var(--t-med);
}
.step:hover .step-circle { transform: scale(1.05); }
.step-circle svg { width: 44px; height: 44px; }
.step-arrow {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 22px;
  height: 22px;
  background: var(--peach-mid);
  transform: translateY(-50%) rotate(45deg);
  border-top-right-radius: 4px;
  z-index: 1;
}
.step:last-child .step-arrow { display: none; }
.step-label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-top: 22px;
  text-align: center;
  line-height: 1.3;
}
.steps-caption {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Big features grid (page 5) ──────────────────────────────── */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.features-split .hero-visual { aspect-ratio: 1.05; }

.features-tiles {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-tile {
  text-align: left;
}
.feature-tile-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--peach-soft), var(--peach-mid));
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.feature-tile-img svg { width: 52px; height: 52px; opacity: 0.85; }
.feature-tile-img--a { background: linear-gradient(135deg, #FFD9C6, #F2A88C); }
.feature-tile-img--b { background: linear-gradient(135deg, #FBE4C9, #ECB97A); }
.feature-tile-img--c { background: linear-gradient(135deg, #E8D5C4, #BF9A82); }
.feature-tile-img--d { background: linear-gradient(135deg, #DDE5D0, #ABB58F); }
.feature-tile-img--e { background: linear-gradient(135deg, #F5DBC3, #D89A6A); }
.feature-tile-img--f { background: linear-gradient(135deg, #FBD9C6, #E29D80); }
.feature-tile-img--g { background: linear-gradient(135deg, #E2DCEA, #B3A8C2); }

.feature-tile h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.feature-tile p {
  font-size: 14.5px;
  line-height: 1.55;
}

/* ── Example chat ────────────────────────────────────────────── */
.chat-demo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}
.chat-demo-intro {
  background: var(--highlight);
  border-radius: var(--r-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chat-demo-intro h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.chat-demo-intro p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.chat-demo-intro p:last-child { margin-bottom: 0; }

.chat-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.chat-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  align-items: start;
}
.chat-row:last-child { border-bottom: none; }
.chat-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}
.chat-role-icon { font-size: 18px; }
.chat-message {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.chat-message strong { color: var(--ink); }

/* ── Progress tracking ───────────────────────────────────────── */
.progress-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.progress-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.progress-item {
  border: 1.5px solid var(--peach-soft);
  border-left: 4px solid var(--peach-mid);
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 18px 22px;
}
.progress-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.progress-item-icon { font-size: 20px; }
.progress-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.chart-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.chart-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.chart-legend-dot {
  width: 14px; height: 3px; border-radius: 2px; display: inline-block;
}

.callout-success {
  margin-top: 26px;
  background: var(--success-soft);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
}
.callout-success-icon {
  width: 22px; height: 22px;
  background: var(--success-ink);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: bold;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.cta-text {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.65;
}
.cta-visual {
  border-radius: var(--r-lg);
  aspect-ratio: 4/5;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(80, 110, 140, 0.45) 100%),
    linear-gradient(160deg, #FAD7B6 0%, #F4B89A 35%, #B7DBE2 70%, #6A8FAA 100%);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.cta-visual::after {
  content: "";
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE8D2 0%, #F8B98E 60%, transparent 70%);
  top: 28%; left: 60%;
  filter: blur(2px);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--cream-deep);
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.footer-top {
  text-align: center;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-tagline {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.footer-card {
  background: var(--peach-soft);
  border-radius: var(--r-md);
  padding: 26px 28px;
  transition: transform var(--t-fast);
}
.footer-card:hover { transform: translateY(-3px); }
.footer-card h4 {
  font-size: 19px;
  margin-bottom: 6px;
}
.footer-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ── Sub-pages (About, Contact, Privacy) ─────────────────────── */
.page-hero {
  padding: 80px 0 32px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  margin: 18px 0 18px;
}
.page-hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.65;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose h2 {
  font-size: 28px;
  margin: 48px 0 16px;
}
.prose h3 {
  font-size: 21px;
  margin: 32px 0 10px;
}
.prose p, .prose ul, .prose ol { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 48px 0;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: left;
}
.value-card .feature-card-icon {
  background: var(--peach-soft);
  width: 46px; height: 46px;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p  { font-size: 14.5px; line-height: 1.55; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--peach-soft);
  border-radius: var(--r-md);
  padding: 32px;
}
.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.contact-info-card p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(61, 56, 72, 0.1);
  font-size: 14.5px;
  color: var(--ink);
}
.contact-info-row svg { color: var(--coral-dark); flex-shrink: 0; margin-top: 2px; }
.contact-info-row strong { display: block; margin-bottom: 2px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-soft);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(231, 111, 63, 0.12);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.form-success {
  display: none;
  background: var(--success-soft);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 14.5px;
}
.form-success.show { display: block; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner,
  .features-split,
  .progress-split,
  .cta-split,
  .chat-demo,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .features-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .section { padding: 72px 0; }
  .hero { padding: 32px 0 64px; }
  .hero-visual { aspect-ratio: 4/3; max-width: 520px; margin: 0 auto; }
  .cta-visual { max-width: 480px; margin: 0 auto; }

  /* Steps on tablet — wrap into rows of 3 */
  .steps { flex-wrap: wrap; gap: 28px 12px; justify-content: center; }
  .step { flex: 1 1 30%; max-width: 180px; }
  .step-arrow { display: none; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 28px 22px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero-title { font-size: 46px; }
  .features-tiles { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feature-tile h3 { font-size: 17px; }
  .feature-tile p { font-size: 13.5px; }
  .chat-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .chat-role { font-size: 13.5px; }

  .step-circle { width: 96px; height: 96px; border-width: 5px; }
  .step-circle svg { width: 36px; height: 36px; }
  .step-label { font-size: 16px; margin-top: 14px; }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   Language toggle button (in nav)
   ================================================================ */
.nav-lang-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast);
  letter-spacing: 0.01em;
  min-width: 76px;
}
.nav-lang-btn:hover {
  background: var(--peach-pill);
  border-color: var(--peach-mid);
  color: var(--ink);
}

/* ================================================================
   Arabic / RTL — applied when <html dir="rtl"> + <body class="rtl">
   ----------------------------------------------------------------
   Strategy: native `dir="rtl"` does most of the work (text direction,
   block-flow margins via *-inline-start/end). Below we patch the
   remaining places where layout assumed LTR.
   ================================================================ */

html[dir="rtl"] body {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', 'Inter', sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: 'Amiri', 'Cairo', 'Lora', Georgia, serif;
  letter-spacing: 0;
  line-height: 1.3;
}

/* Hero title is huge — pull line-height closer for Arabic display */
html[dir="rtl"] .hero-title { line-height: 1.15; }
html[dir="rtl"] .cta-title  { line-height: 1.2; }

/* Nav — flip alignment of the link list (auto-margin from the right) */
html[dir="rtl"] .nav-links {
  margin-left: 0;
  margin-right: auto;
}

/* Nav brand text needs a small gap reset since the mark is on the right */
html[dir="rtl"] .nav-brand { direction: rtl; }

/* Step arrows point left in LTR; mirror them for RTL so the flow
   reads right-to-left visually. */
html[dir="rtl"] .step-arrow {
  right: auto;
  left: -10px;
  transform: translateY(-50%) rotate(-135deg);
}

/* Chat-demo: role column lives on the left in LTR. Swap padding so
   the role label sits on the right and the message on the left. */
html[dir="rtl"] .chat-row {
  text-align: right;
}

/* Progress callout icon: stays at the inline-start automatically.
   But the border-left accent on .progress-item should flip to right. */
html[dir="rtl"] .progress-item {
  border-left: 1.5px solid var(--peach-soft);
  border-right: 4px solid var(--peach-mid);
}

/* Contact info row icons sit on the inline-start naturally. */
html[dir="rtl"] .contact-info-row { text-align: right; }

/* Form fields */
html[dir="rtl"] .form-field label { text-align: right; }
html[dir="rtl"] .form-field input,
html[dir="rtl"] .form-field textarea,
html[dir="rtl"] .form-field select {
  text-align: right;
}

/* Prose: indented lists need padding on the right side instead */
html[dir="rtl"] .prose ul,
html[dir="rtl"] .prose ol {
  padding-left: 0;
  padding-right: 22px;
}

/* Hero visual: in LTR the floating card text columns hug certain
   corners. The visual itself doesn't need mirroring, but the cards
   inside read better when their inner text is right-aligned. */
html[dir="rtl"] .hero-card { text-align: right; }
html[dir="rtl"] .hero-card-label { letter-spacing: 0; }

/* Eyebrow letter-spacing looks odd in Arabic — drop it */
html[dir="rtl"] .eyebrow { letter-spacing: 0.04em; }
html[dir="rtl"] .vod-label,
html[dir="rtl"] .hero-card-label,
html[dir="rtl"] .chart-legend-item { letter-spacing: 0; }

/* Section-head--centre stays centred either way. Just ensure the
   text-align cascades correctly. */
html[dir="rtl"] .section-head--centre { text-align: center; }

/* Buttons: keep them centred internally (already done by flex). */

/* Footer cards arrow flow — text alignment to the right. */
html[dir="rtl"] .footer-card { text-align: right; }

/* Chart x/y labels are SVG <text> — text-anchor handles direction.
   Nothing to override. */

/* Quranic Arabic in the hero verse card looks best in Amiri */
html[dir="rtl"] .hero-card-text { font-family: 'Amiri', 'Cairo', serif; }

/* Mobile menu — when open on RTL it slides from the top still, so
   align items to the right. */
@media (max-width: 960px) {
  html[dir="rtl"] .nav-links.open {
    align-items: flex-end;
  }
}

/* Quote characters in Arabic should use Arabic quotes when possible.
   This is a soft touch — the text content drives most of it. */
html[dir="rtl"] q::before { content: "«"; }
html[dir="rtl"] q::after  { content: "»"; }
