:root {
  --bg: #090d1c;
  --card: rgba(17, 25, 48, 0.82);
  --card-strong: rgba(23, 34, 64, 0.92);
  --text: #edf4ff;
  --muted: #9daed2;
  --soft: #c9d7f2;
  --accent: #7c3aed;
  --accent-2: #22d3ee;
  --accent-hover: #8b5cf6;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 24px 80px rgba(0,0,0,0.35);
  --radius: 22px;
  --max: 1160px;
  --toggle-bg: rgba(255,255,255,0.04);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 540px at 78% 8%, rgba(124,58,237,0.28), transparent 65%),
    radial-gradient(760px 460px at 12% 0%, rgba(34,211,238,0.16), transparent 60%),
    linear-gradient(180deg, #0b1022 0%, var(--bg) 52%, #070a15 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
html[data-theme="light"] {
  --bg: #f7f8fc;
  --card: rgba(255,255,255,0.86);
  --card-strong: rgba(255,255,255,0.94);
  --text: #111827;
  --muted: #647084;
  --soft: #344054;
  --border: rgba(15,23,42,0.10);
  --shadow: 0 24px 70px rgba(15,23,42,0.12);
  --toggle-bg: rgba(255,255,255,0.78);
}
html[data-theme="light"] body {
  background:
    radial-gradient(900px 540px at 78% 8%, rgba(124,58,237,0.14), transparent 65%),
    radial-gradient(760px 460px at 12% 0%, rgba(34,211,238,0.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 52%, #eef2ff 100%);
}
html[data-theme="light"] .card,
html[data-theme="light"] .step,
html[data-theme="light"] .contact-panel,
html[data-theme="light"] footer,
html[data-theme="light"] .meet-sandra,
html[data-theme="light"] .sandra-stat,
html[data-theme="light"] .sandra-quote { box-shadow: var(--shadow); }
html[data-theme="light"] footer { background: rgba(255,255,255,.82); }
html[data-theme="light"] .lang-switch__btn.is-active { background: rgba(79,70,229,0.12); color: #3730a3; }
html[data-theme="light"] .eyebrow { color: #4f46e5; border-color: rgba(79,70,229,.18); background: rgba(79,70,229,.07); }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: calc(1.25rem + env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) calc(4rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left)); }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; letter-spacing: -0.03em; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.logo img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(34,211,238,0.22)); transition: transform .24s ease, filter .24s ease; }
@media (hover: hover) { .logo:hover img { transform: translateY(-1px) scale(1.04); filter: drop-shadow(0 0 16px rgba(34,211,238,0.32)); animation: sandra-blink .42s ease 1; } }
@keyframes sandra-blink { 0%,100% { opacity: 1; transform: translateY(-1px) scale(1.04); } 48%,52% { opacity: .72; transform: translateY(-1px) scale(1.02); } }
.header-actions { display: flex; gap: .55rem; align-items: center; justify-content: flex-end; }
.landing-prefs { display: flex; align-items: center; }
.csh-theme-toggle { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 999px; background: var(--toggle-bg); color: var(--text); cursor: pointer; }
.lang-switch { display: inline-flex; gap: .25rem; padding: .2rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.04); }
.lang-switch__btn { border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: .76rem; padding: .35rem .52rem; cursor: pointer; }
.lang-switch__btn.is-active { background: rgba(255,255,255,0.13); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .78rem 1.25rem; border-radius: 999px; font-weight: 750; text-decoration: none; border: 1px solid transparent; transition: .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #4f46e5); color: #fff; box-shadow: 0 16px 42px rgba(99,102,241,0.28); }
.btn-primary:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--accent-hover), #6366f1); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.045); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.24); color: #fff; background: rgba(255,255,255,0.08); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: #b9c8ff; border: 1px solid rgba(185,200,255,0.20); background: rgba(124,58,237,0.12); border-radius: 999px; padding: .35rem .75rem; font-size: .82rem; font-weight: 750; margin-bottom: 1.2rem; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.55rem, 5vw, 5rem); max-width: 780px; }
h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--soft); max-width: 45rem; margin: 1.35rem 0 1.8rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.beta-note { color: var(--muted); font-size: .95rem; margin-top: 1rem; }
section { margin: 4.5rem 0; animation: section-rise .7s ease both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
@supports not (animation-timeline: view()) { section { animation: section-rise .55s ease both; } }
@keyframes section-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.section-head { max-width: 760px; margin-bottom: 1.5rem; }
.section-head p { color: var(--soft); font-size: 1.06rem; margin: 0; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card, .step, .contact-panel, footer { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 14px 50px rgba(0,0,0,0.18); backdrop-filter: blur(14px); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
@media (hover: hover) { .card:hover, .step:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.28); box-shadow: 0 20px 64px rgba(0,0,0,.24); } }
.card h3, .step h3 { margin: 0 0 .55rem; font-size: 1.02rem; letter-spacing: -0.02em; }
.card p, .step p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.step { position: relative; padding-top: 3.2rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 1rem; left: 1rem; width: 1.55rem; height: 1.55rem; display: grid; place-items: center; border-radius: 999px; background: rgba(34,211,238,0.14); color: #8be9f7; font-weight: 850; font-size: .82rem; }
.pricing-note { color: var(--muted); margin-top: 1rem; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; background: var(--card-strong); border: 1px solid var(--border); border-radius: 28px; padding: 1.5rem; }
.contact-links { display: grid; gap: .7rem; }
.contact-links a { text-decoration: none; color: var(--text); font-weight: 800; }
footer { margin-top: 4rem; background: rgba(17,25,48,.66); border: 1px solid var(--border); border-radius: 28px; padding: 1.5rem; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1.5rem; }
footer h3, footer h4 { margin: 0 0 .55rem; }
footer p, footer a { color: var(--muted); }
footer nav, .footer-contacts { display: grid; gap: .45rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
.copyright { margin-top: 1rem; font-size: .9rem; }

/* Compact Meet Sandra teaser on home */
.meet-sandra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(17,25,48,0.72));
  box-shadow: 0 14px 50px rgba(0,0,0,0.18);
}
.meet-sandra__copy { min-width: 0; }
.meet-sandra__title { font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 850; letter-spacing: -0.03em; margin: 0 0 .35rem; }
.meet-sandra__meta { color: var(--soft); font-size: .98rem; margin: 0; }
.meet-sandra__role { color: var(--muted); font-size: .92rem; margin: .35rem 0 0; }

/* Sandra Evolution page */
.sandra-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, .85fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.sandra-hero__art { position: relative; display: grid; place-items: center; min-height: 380px; }
.sandra-hero__art::before {
  content: "";
  position: absolute;
  width: min(92%, 400px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34,211,238,0.28), rgba(124,58,237,0.22) 45%, transparent 72%);
  filter: blur(10px);
}
.sandra-hero__img {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  object-fit: contain;
  filter: drop-shadow(0 32px 50px rgba(0,0,0,0.38));
}
.sandra-hero__intro h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: none; margin-bottom: .5rem; }
.sandra-hero__tagline { color: var(--soft); font-size: 1.05rem; margin: 0 0 .35rem; }
.sandra-hero__bio { color: var(--muted); font-size: .95rem; margin: 0 0 1.25rem; max-width: 36rem; }
.sandra-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.sandra-stat {
  display: grid;
  gap: .15rem;
  padding: .85rem .95rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}
.sandra-stat dt { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sandra-stat dd { margin: 0; font-weight: 800; font-size: 1.02rem; }
.sandra-stat--wide { grid-column: 1 / -1; }
.sandra-quote {
  margin: 1.25rem 0 0;
  padding: .95rem 1.1rem;
  border-left: 3px solid var(--accent-2);
  border-radius: 0 14px 14px 0;
  background: rgba(34,211,238,0.08);
  color: var(--soft);
  font-size: .98rem;
  font-style: italic;
}
.sandra-cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.sandra-cap-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--soft);
  font-size: 1rem;
}
.sandra-cap-list li::before {
  content: "✓";
  color: #5eead4;
  font-weight: 900;
  flex-shrink: 0;
}
.sandra-future {
  display: grid;
  gap: .85rem;
}
.sandra-future-gen {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.sandra-future-gen h3 { font-size: 1rem; margin-bottom: .45rem; color: var(--text); }
.sandra-future-gen ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.sandra-future-gen--current { border-color: rgba(34,211,238,0.35); background: rgba(34,211,238,0.06); }
.sandra-future-gen--muted { opacity: .72; }
.sandra-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
  border-left: 2px solid rgba(124,58,237,0.35);
}
.sandra-timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.25rem;
}
.sandra-timeline li::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: .35rem;
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 4px rgba(124,58,237,0.18);
}
.sandra-timeline__year { font-weight: 850; font-size: 1.05rem; color: var(--text); }
.sandra-timeline__label { color: var(--soft); font-size: .95rem; margin-top: .15rem; }
.sandra-evolution-note {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 18px;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 980px) {
  header { margin-bottom: 2.3rem; }
  .grid, .grid.five, .steps-grid, .contact-panel, footer { grid-template-columns: 1fr; }
  .step { padding-top: 1.25rem; padding-left: 3.4rem; }
  .step::before { top: 1.3rem; }
  .sandra-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .sandra-hero__art { min-height: 280px; }
  .sandra-hero__img { width: min(72vw, 320px); }
}
@media (max-width: 640px) {
  .wrap { padding: .9rem .95rem 3rem; }
  header { gap: .65rem; flex-wrap: wrap; }
  .logo { gap: .35rem; font-size: 1rem; }
  .logo img { width: 42px; height: 42px; }
  .header-actions { gap: .4rem; }
  .header-actions .btn { min-height: 38px; padding: .55rem .78rem; font-size: .9rem; }
  .landing-prefs { order: 3; width: 100%; justify-content: flex-end; }
  h1 { font-size: clamp(2.1rem, 12vw, 3.1rem); }
  h2 { font-size: 2rem; }
  .lead { font-size: 1rem; margin-bottom: 1.25rem; }
  .hero-actions .btn { width: 100%; }
  section { margin: 3rem 0; }
  .meet-sandra { flex-direction: column; align-items: stretch; }
  .sandra-stats { grid-template-columns: 1fr; }
}
