/* =========================================================
   LIDOUN — Design System
   Style: Accessible & Ethical · Palette: calm cyan + health green
   Type: Lexend (headings) + Source Sans 3 (body)
   ========================================================= */

:root {
  /* Brand & interactive */
  --c-brand:        #0E7490;   /* interactive teal — AA on white */
  --c-brand-strong: #155E75;
  --c-brand-bright: #0891B2;   /* decorative / icons */
  --c-brand-100:    #CFF5FB;
  --c-brand-50:     #ECFEFF;
  --c-accent:       #059669;   /* health green */
  --c-accent-strong:#047857;
  --c-warm:         #D97706;   /* warm human accent (sparing) */
  --c-warm-soft:    #FEF3E2;

  /* Ink & text */
  --c-ink:        #0F3744;   /* headings */
  --c-text:       #334155;   /* body */
  --c-text-soft:  #5B6B78;   /* secondary */

  /* Surfaces */
  --c-bg:        #FFFFFF;
  --c-bg-tint:   #F4FBFC;
  --c-bg-tint2:  #ECFAFB;
  --c-card:      #FFFFFF;
  --c-border:    #E1EEF1;
  --c-border-2:  #CDE7EC;

  /* Type */
  --font-head: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows (soft, sober) */
  --shadow-sm: 0 1px 2px rgba(15,55,68,.05), 0 1px 3px rgba(15,55,68,.05);
  --shadow-md: 0 6px 18px -6px rgba(15,55,68,.10), 0 2px 8px -4px rgba(15,55,68,.06);
  --shadow-lg: 0 24px 48px -16px rgba(8,108,140,.20), 0 8px 24px -12px rgba(15,55,68,.10);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 240ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px — comfortable for older readers */
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--c-brand); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 600;
}

::selection { background: var(--c-brand-100); color: var(--c-ink); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 2000;
  background: var(--c-brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 3px solid var(--c-brand-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

.section { padding-block: clamp(64px, 9vw, 116px); }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 14px;
}
.kicker-light { color: #BEEFF7; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; }

h2 { font-size: clamp(1.85rem, 1rem + 2.6vw, 2.7rem); }
.section-lead {
  font-size: clamp(1.06rem, 1rem + .4vw, 1.22rem);
  color: var(--c-text-soft);
  margin-top: 16px;
  line-height: 1.6;
}
.narrow.center .section-lead, .section-head .section-lead { margin-inline: auto; max-width: 64ch; }

.text-grad {
  background: linear-gradient(100deg, var(--c-brand-bright), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 13px 22px;
  min-height: 48px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-lg { padding: 16px 28px; min-height: 56px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(8,108,140,.55);
}
.btn-primary:hover {
  background: var(--c-brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(8,108,140,.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  color: var(--c-brand-strong);
  border-color: var(--c-border-2);
}
.btn-ghost:hover {
  border-color: var(--c-brand-bright);
  background: var(--c-bg-tint);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { display: inline-flex; filter: drop-shadow(0 4px 8px rgba(8,108,140,.25)); }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.logo-text-accent { color: var(--c-brand); font-weight: 600; }
.logo-text-light { color: var(--c-ink); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  color: var(--c-ink);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.main-nav > a:not(.nav-cta):hover { color: var(--c-brand); background: var(--c-bg-tint2); }
.nav-cta { margin-left: 8px; min-height: 44px; padding: 11px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 22px; height: 2.4px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  margin-inline: auto;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(120% 90% at 85% -10%, var(--c-bg-tint2) 0%, transparent 55%),
    linear-gradient(180deg, var(--c-bg-tint) 0%, #fff 70%);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: auto auto auto 0;
  top: -120px; left: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(34,211,238,.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--c-border-2);
  color: var(--c-brand-strong);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(5,150,105,.16);
  animation: pulseDot 2.4s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(5,150,105,.18); }
  50% { box-shadow: 0 0 0 7px rgba(5,150,105,.05); }
}

.hero h1 {
  font-size: clamp(2.4rem, 1rem + 5.4vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hero .lead {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.3rem);
  color: var(--c-text-soft);
  margin-top: 22px;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--c-border);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--c-ink);
}
.hero-trust svg { color: var(--c-accent); }

/* Hero visual — presence stage */
.hero-visual { display: flex; justify-content: center; }
.presence-stage {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--c-brand-100);
  inset: 0;
  margin: auto;
  animation: ringPulse 3.6s var(--ease) infinite;
}
.ring-1 { width: 56%; height: 56%; border-color: rgba(8,145,178,.35); }
.ring-2 { width: 76%; height: 76%; border-color: rgba(8,145,178,.22); animation-delay: .6s; }
.ring-3 { width: 96%; height: 96%; border-color: rgba(8,145,178,.12); animation-delay: 1.2s; }
@keyframes ringPulse {
  0%   { transform: scale(.92); opacity: .35; }
  50%  { transform: scale(1);   opacity: .9; }
  100% { transform: scale(.92); opacity: .35; }
}

.companion {
  position: relative;
  width: 44%;
  aspect-ratio: 1 / 1.08;
  background: linear-gradient(160deg, #ffffff 0%, #F0FBFD 100%);
  border: 1px solid var(--c-border-2);
  border-radius: 30% 30% 34% 34% / 34% 34% 30% 30%;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  z-index: 2;
}
.companion-antenna {
  position: absolute;
  top: -14px; left: 50%;
  width: 4px; height: 16px;
  background: var(--c-brand-bright);
  border-radius: 4px;
  transform: translateX(-50%);
}
.companion-antenna::after {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(5,150,105,.5);
  animation: pulseDot 2.4s var(--ease) infinite;
}
.companion-face {
  position: relative;
  width: 64%;
  height: 52%;
  background: linear-gradient(170deg, #0E7490, #0891B2);
  border-radius: 22px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
}
.eye {
  position: absolute;
  top: 38%;
  width: 13%;
  aspect-ratio: 1;
  background: #Eafdff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(190,239,247,.9);
  animation: blink 5s infinite;
}
.eye-l { left: 28%; }
.eye-r { right: 28%; }
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.12); }
}
.smile {
  position: absolute;
  bottom: 26%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 18%;
  border: 2.6px solid #Eafdff;
  border-top: none;
  border-radius: 0 0 40px 40px;
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card div { display: flex; flex-direction: column; line-height: 1.25; }
.float-card strong { font-family: var(--font-head); font-size: .9rem; color: var(--c-ink); font-weight: 600; }
.float-card span { font-size: .82rem; color: var(--c-text-soft); }
.fc-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.fc-icon-warm  { background: var(--c-warm-soft); color: var(--c-warm); }
.fc-icon-ok    { background: #E7F7EF; color: var(--c-accent-strong); }
.fc-icon-brand { background: var(--c-brand-50); color: var(--c-brand); }

.card-a { top: 6%; right: -4%; animation-delay: 0s; }
.card-b { bottom: 20%; left: -8%; animation-delay: 1.1s; }
.card-c { bottom: -2%; right: 4%; animation-delay: 2.1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(120deg, var(--c-brand) 0%, var(--c-brand-strong) 60%, #0c4f63 100%);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-block: clamp(40px, 5vw, 56px);
}
.stat { text-align: center; padding: 12px; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 1rem + 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, #C8F4FB);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: .98rem;
  color: #D6F2F8;
  max-width: 24ch;
  margin-inline: auto;
}

/* ---------- Problem ---------- */
.problem { background: var(--c-bg); }
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 5vw, 56px);
  text-align: left;
}
.pcard {
  background: var(--c-bg-tint);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-brand);
  margin-bottom: 18px;
}
.pcard h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pcard p { color: var(--c-text-soft); }

/* ---------- Solution / steps ---------- */
.solution { background: var(--c-bg-tint); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -18px; left: 30px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--c-brand-bright), var(--c-accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 16px -6px rgba(8,108,140,.5);
}
.step-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--c-brand-50);
  color: var(--c-brand);
  margin: 8px 0 18px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--c-text-soft); }

/* ---------- Benefits ---------- */
.benefits { background: var(--c-bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--c-border-2); }
.feature-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--c-brand-50), #E7F7EF);
  color: var(--c-brand);
  margin-bottom: 20px;
}
.feature h3 { font-size: 1.22rem; margin-bottom: 9px; }
.feature p { color: var(--c-text-soft); }

/* ---------- Audience ---------- */
.audience { background: var(--c-bg-tint); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.acard {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-brand-bright);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.acard-iso { border-top-color: var(--c-brand-bright); }
.acard-dem { border-top-color: var(--c-accent); }
.acard-aut { border-top-color: var(--c-warm); }
.acard-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--c-brand-50);
  color: var(--c-brand-strong);
  margin-bottom: 16px;
}
.acard-dem .acard-tag { background: #E7F7EF; color: var(--c-accent-strong); }
.acard-aut .acard-tag { background: var(--c-warm-soft); color: #B45309; }
.acard h3 { font-size: 1.28rem; margin-bottom: 10px; }
.acard > p { color: var(--c-text-soft); margin-bottom: 18px; }
.acard-list { list-style: none; display: grid; gap: 10px; }
.acard-list li {
  position: relative;
  padding-left: 28px;
  color: var(--c-text);
  font-size: .98rem;
}
.acard-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-brand-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--c-bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  position: relative;
  background: var(--c-bg-tint);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-mark { color: var(--c-brand-100); }
.quote blockquote {
  font-size: 1.06rem;
  color: var(--c-ink);
  line-height: 1.55;
  flex: 1;
}
.quote figcaption { display: flex; align-items: center; gap: 13px; }
.avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--c-brand-bright), var(--c-accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  flex-shrink: 0;
}
.quote-author { display: flex; flex-direction: column; line-height: 1.35; }
.quote-author strong { font-family: var(--font-head); color: var(--c-ink); }
.quote-author span { font-size: .9rem; color: var(--c-text-soft); }

/* ---------- Ethics ---------- */
.ethics {
  background:
    radial-gradient(90% 120% at 100% 0%, var(--c-bg-tint2) 0%, transparent 50%),
    var(--c-bg-tint);
}
.ethics-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.ethics-copy .btn { margin-top: 26px; }
.ethics-list { list-style: none; display: grid; gap: 16px; }
.ethics-list li {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ethics-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.ethics-icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--c-brand-50);
  color: var(--c-brand);
}
.ethics-list strong { font-family: var(--font-head); color: var(--c-ink); font-size: 1.08rem; }
.ethics-list p { color: var(--c-text-soft); font-size: .98rem; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { background: var(--c-bg); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--c-bg-tint);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq-item[open] { border-color: var(--c-border-2); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-brand);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: var(--c-brand-50); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--c-text-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--c-bg-tint); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 4vw, 56px);
  background: linear-gradient(150deg, var(--c-brand-strong) 0%, var(--c-brand) 55%, #0a4658 100%);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-intro h2 { color: #fff; }
.contact-intro p { color: #D6F2F8; margin-top: 14px; }
.contact-points { list-style: none; display: grid; gap: 11px; margin-top: 24px; }
.contact-points li {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head);
  font-weight: 500;
  color: #Eafdff;
}
.contact-points svg {
  flex-shrink: 0;
  color: #5EE6C0;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  padding: 4px;
  width: 26px; height: 26px;
}

.contact-form {
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .94rem;
  color: var(--c-ink);
}
.req { color: var(--c-accent-strong); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-bg-tint);
  border: 1.5px solid var(--c-border-2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  min-height: 50px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9AAAB2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-brand-bright);
  box-shadow: 0 0 0 4px rgba(8,145,178,.14);
}
.field input.invalid, .field select.invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.12);
}
.error-msg { color: #DC2626; font-size: .85rem; min-height: 0; }
.error-msg:not(:empty) { margin-top: -2px; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-chevron {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-brand);
  pointer-events: none;
}

.contact-form .btn { margin-top: 4px; }
.btn-spinner { display: none; animation: spin .8s linear infinite; }
.btn.loading .btn-label { opacity: .7; }
.btn.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { font-size: .85rem; color: var(--c-text-soft); text-align: center; }

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #E7F7EF;
  border: 1px solid #B6E6CE;
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-top: 4px;
}
.success-icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
}
.form-success strong { font-family: var(--font-head); color: var(--c-accent-strong); }
.form-success p { color: #1d6b4f; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--c-border);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand p { color: var(--c-text-soft); margin-top: 16px; max-width: 34ch; font-size: .98rem; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h3 {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--c-ink);
  font-size: .98rem;
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--c-brand); }
.footer-address { color: var(--c-text-soft); font-size: .98rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--c-border);
}
.footer-bottom p { color: var(--c-text-soft); font-size: .92rem; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--c-text-soft); font-size: .92rem; }
.footer-legal a:hover { color: var(--c-brand); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .presence-stage { width: min(360px, 86%); }
  .ethics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    padding: 16px clamp(20px, 5vw, 40px) 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }

  .step-num { left: 28px; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .section { padding-block: clamp(52px, 13vw, 72px); }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 9px 12px; }
  .float-card span { display: none; }
  .card-a { right: 0; }
  .card-b { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .presence-stage { width: 84%; }
  .float-card strong { font-size: .82rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ring, .float-card, .eye, .eyebrow-dot, .companion-antenna::after { animation: none !important; }
}


/* ===================== LIDOUN BRAND ===================== */
.logo-img { height: 52px; width: auto; display: block; }
.footer-brand .logo-img { height: 58px; }
.brand-slogan {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--c-text-soft);
}
.brand-slogan .hl { color: var(--c-brand-bright); }
@media (max-width: 560px){
  .logo-img { height: 40px; }
  .footer-brand .logo-img { height: 50px; }
}

/* ===================== LIDOUN BRAND HERO BANNER ===================== */
.brand-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 5.5vw, 66px);
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.brand-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(44% 52% at 14% 0%, rgba(8,145,178,.15), transparent 70%),
    radial-gradient(46% 56% at 86% 8%, rgba(5,150,105,.13), transparent 70%),
    radial-gradient(70% 60% at 50% 128%, rgba(8,145,178,.08), transparent 70%);
}
.brand-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.brand-hero-logo {
  width: min(640px, 88vw); height: auto; display: block;
  background: #fff;
  padding: clamp(16px, 2.4vw, 30px) clamp(22px, 3.2vw, 44px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* Acronym as one elegant phrase; initials L I D O U N in bold green */
.acr-sentence {
  margin: clamp(26px, 4vw, 40px) auto 0;
  max-width: 760px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.5;
  color: var(--c-ink);
}
.acr-sentence b { color: var(--c-accent); font-weight: 700; font-size: 1.06em; }
.acr-sentence .lead-in { color: var(--c-text-soft); font-weight: 600; letter-spacing: .04em; }


/* Contact form — anti-spam honeypot + error message */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form-error { margin-top: 12px; color: #B42318; font-size: .95rem; font-weight: 500; }

/* The hidden attribute must always win (e.g. #formSuccess is display:flex) */
[hidden] { display: none !important; }


/* ===================== LANGUAGE SWITCHER ===================== */
.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: none;
  background: transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--c-text-soft);
  line-height: 1;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-btn .flag {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15,55,68,.10);
}
.lang-btn.is-active { background: var(--c-brand-50); color: var(--c-brand-strong); }
.lang-btn:hover:not(.is-active) { color: var(--c-ink); background: var(--c-bg-tint2); }
.lang-btn:focus-visible { outline: 3px solid var(--c-brand-bright); outline-offset: 2px; }

@media (max-width: 400px) {
  .header-right { gap: 8px; }
  .lang-btn span { display: none; }
  .lang-btn { padding: 7px 8px; gap: 0; }
}
