/* ─────────────────────────────────────────────
   Clearlyst — home.css
   Light, calm, single accent. Used by index.html only.
───────────────────────────────────────────── */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --tint: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: #e8f2fd;
  --ok: #1fa971;
  --dark: #0b0b0d;
  --dark-surface: #1c1c1f;
  --dark-line: #2c2c30;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.04), 0 30px 70px rgba(0, 0, 0, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ── Type ─────────────────────────────────── */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.07;
  letter-spacing: -0.028em;
  font-weight: 700;
}

h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }

.muted { color: var(--muted); }
.accent-text {
  background: linear-gradient(90deg, #0071e3, #2997ff 55%, #64d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons & links ──────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 113, 227, 0.28); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
}
.link-arrow::after { content: "›"; font-size: 20px; line-height: 1; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.light { color: #6cb4ff; }

/* ── Nav ──────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251, 251, 253, 0.86); }

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }

.nav-links { display: flex; gap: 28px; }
.nav-links a, .nav-login { font-size: 14px; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0; background: none; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile a:not(.btn) { padding: 14px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 20px; }
.nav-mobile.open { display: flex; }

/* ── Hero ─────────────────────────────────── */
.hero { padding: 132px 0 40px; text-align: center; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  background:
    radial-gradient(600px 320px at 22% 12%, rgba(0, 113, 227, 0.10), transparent 70%),
    radial-gradient(560px 320px at 80% 4%, rgba(191, 90, 242, 0.09), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }

.hero-title {
  font-size: clamp(46px, 9.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero-sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.42;
  color: var(--muted);
}
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; }

/* Load-in */
/* Resting state is visible; the animation only supplies the starting frame. */
.js .rise { animation: rise 0.9s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ── Sections ─────────────────────────────── */
.section { padding: 110px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-sub { max-width: 560px; margin: 18px auto 0; font-size: 19px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--stagger, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Cards ────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 30px 26px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.9s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin-top: 10px; font-size: 16px; color: var(--muted); }
.cards-note { max-width: 600px; margin: 44px auto 0; text-align: center; font-size: 18px; color: var(--muted); }

/* ── Calculator ───────────────────────────── */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-inputs { padding: 44px; display: grid; gap: 30px; align-content: center; }
.field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.field-top label { font-size: 15px; color: var(--ink-2); }
.field-top output { flex: none; white-space: nowrap; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0;
  background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(to right, var(--accent) var(--fill, 50%), #dcdce1 var(--fill, 50%));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #dcdce1; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px;
  border-radius: 50%; background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.calc-result { padding: 44px; background: var(--dark); color: #f5f5f7; display: flex; flex-direction: column; }
.calc-label { font-size: 15px; color: #a1a1a6; }
.calc-big {
  margin-top: 6px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.calc-row span { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-row small { display: block; margin-top: 2px; font-size: 13px; color: #a1a1a6; }
.calc-now { margin: 24px 0 28px; font-size: 15px; color: #a1a1a6; }
.calc-now strong { color: #f5f5f7; font-weight: 600; }
.calc-result .btn { margin-top: auto; }
.calc-fine { margin-top: 14px; font-size: 12px; color: #86868b; text-align: center; }

/* ── Steps ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.step { padding: 34px 30px 38px; background: var(--tint); border-radius: var(--radius); }
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600;
  margin-bottom: 26px;
}
.step h3 { font-size: 26px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); }

/* ── Dark section ───────────────────────── */
.section-dark { background: var(--dark); color: #f5f5f7; }
.section-dark .eyebrow { color: #6cb4ff; }

.chips { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips span { padding: 9px 18px; border-radius: 999px; background: var(--tint); font-size: 15px; color: var(--ink-2); }

/* ── FAQ ──────────────────────────────────── */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px; padding: 10px 0;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 600px; animation: pop 0.4s var(--ease) both; }

/* ── Form ─────────────────────────────────── */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.form-full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.optional { color: var(--muted); font-weight: 400; margin-left: 6px; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 92px; }
.form-group select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}
.form-group .invalid { border-color: #d70015; box-shadow: 0 0 0 4px rgba(215, 0, 21, 0.10); }

.form-error { margin-top: 14px; color: #d70015; font-size: 15px; text-align: center; }
.form-fine { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 30px 0; animation: pop 0.6s var(--ease) both; }
.success-check { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: #e3f6ee; }
.success-check svg { width: 30px; height: 30px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 28px; letter-spacing: -0.025em; }
.form-success p { margin-top: 10px; color: var(--muted); }

[hidden] { display: none !important; }

/* ── Footer ───────────────────────────────── */
.footer { background: var(--tint); padding: 56px 0 30px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer .logo { display: inline-block; margin-bottom: 10px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 44px; align-content: start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { padding-top: 22px; font-size: 13px; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero { padding-top: 108px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .calc-inputs, .calc-result { padding: 28px 22px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq { padding: 2px 20px; }
  .faq summary { font-size: 17px; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
}

/* ── 2026-11 refresh: logo, five-step method, scale and trust ── */
.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps-5 .step { padding: 26px 22px 28px; }
.steps-5 .step h3 { font-size: 21px; }
.steps-5 .step p { font-size: 15px; }
.steps-5 .step-num { margin-bottom: 18px; }
.section-tint .card { background: var(--surface); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; }
.trust div { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .steps-5 { grid-template-columns: 1fr; gap: 10px; }
  .steps-5 .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 18px; }
  .steps-5 .step-num { grid-row: span 2; margin: 0; }
  .steps-5 .step p { margin-top: 4px; }
  .trust { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── Slideshow ── */
.slider { margin-top: 44px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 40px; padding: 44px; background: linear-gradient(135deg, #0071e3, #2997ff 60%, #64d2ff); color: #fff; min-height: 300px; }
.slide-tag { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.slide h3 { margin-top: 10px; font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; }
.slide-text { margin-top: 14px; font-size: 17px; opacity: 0.92; max-width: 460px; }
.slide-stat { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); }
.slide-stat svg { width: 100%; height: auto; max-height: 110px; overflow: visible; }
.slide-stat polyline { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.active .slide-stat polyline { animation: draw 1.4s var(--ease) 0.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.slide-stat b { display: block; font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.slide-stat small { font-size: 15px; opacity: 0.85; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.slider-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.slider-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; transition: width 0.35s var(--ease), background 0.35s; }
.dots button[aria-current="true"] { width: 26px; background: var(--accent); }

/* ── Ask Clearlyst (AI FAQ) ── */
.ask { margin-bottom: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ask-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ask-head strong { display: block; font-size: 17px; }
.ask-head small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ask-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #0071e3, #64d2ff); }
.ask-avatar svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,169,113,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(31,169,113,0); } 100% { box-shadow: 0 0 0 0 rgba(31,169,113,0); } }
.ask-log { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; padding: 18px 20px; }
.ask-log .bubble { max-width: 85%; padding: 11px 15px; border-radius: 18px; font-size: 16px; line-height: 1.45; animation: bubble 0.35s var(--ease) both; }
.ask-log .bot { align-self: flex-start; background: var(--tint); border-bottom-left-radius: 6px; }
.ask-log .me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
@keyframes bubble { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px 12px; scrollbar-width: none; }
.ask-chips::-webkit-scrollbar { display: none; }
.ask-chips button { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; transition: background 0.2s; }
.ask-chips button:hover { background: var(--accent-soft); }
.ask-form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.ask-form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--tint); font: inherit; font-size: 16px; color: var(--ink); }
.ask-form input:focus { outline: 0; border-color: var(--accent); background: var(--surface); }
.ask-send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; flex: none; }
.ask-send svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

/* ── Smooth FAQ open/close ── */
.faq details > p { animation: none; }
.faq .faq-body { overflow: hidden; transition: height 0.35s var(--ease); }

@media (max-width: 720px) {
  .slide { grid-template-columns: 1fr; padding: 28px 22px; min-height: 0; }
  .slide h3 { font-size: 26px; }
  .slide-stat { grid-column: 1; grid-row: auto; margin-top: 22px; padding: 18px; }
  .slide-stat svg { max-height: 80px; }
  .slide-stat b { font-size: 38px; }
  .ask-log { max-height: 300px; padding: 16px; }
}

/* ── Audit call to action ── */
.audit-cta { text-align: center; padding: 56px 28px; border-radius: 32px; background: radial-gradient(500px 260px at 50% 0%, rgba(41,151,255,.16), transparent 70%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.audit-cta .section-sub { margin-left: auto; margin-right: auto; }
.audit-steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px; margin: 30px 0 34px; padding: 0; }
.audit-steps li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); }
.audit-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.btn-large { min-height: 56px; padding: 0 34px; font-size: 18px; animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 10px 30px rgba(0, 113, 227, 0.35); } }
@media (max-width: 720px) { .audit-cta { padding: 40px 20px; } .audit-steps { flex-direction: column; align-items: flex-start; width: fit-content; margin-left: auto; margin-right: auto; } .btn-large { width: 100%; } }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo img { width: 28px; height: 28px; flex: none; }
/* Phone notch / status bar: keep the menu below it (also inside the iPhone app). */
.nav { padding-top: env(safe-area-inset-top); }
.nav-mobile { padding-bottom: env(safe-area-inset-bottom); }

/* ── Trusted by: sliding banner ── */
.trusted { padding: 28px 0 8px; overflow: hidden; }
.trusted-label { text-align: center; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trusted-track { display: flex; width: max-content; animation: trusted-slide 28s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trusted:hover .trusted-track { animation-play-state: paused; }
.trusted-row { display: flex; gap: 56px; padding: 0 28px; margin: 0; list-style: none; }
.trusted-row li { white-space: nowrap; font-size: clamp(18px, 2.4vw, 24px); font-weight: 650; letter-spacing: -0.01em; color: var(--ink); opacity: .72; display: flex; align-items: center; gap: 56px; }
.trusted-row li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; }
@keyframes trusted-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trusted-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .trusted-row[aria-hidden] { display: none; } }

/* ── 2026-11-18: What we do (area picker) ── */
.hero { padding-bottom: 56px; }
.areas { display: grid; gap: 18px; }
.area-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.area-tabs button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 15px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.area-tabs button:hover { border-color: #c7c7cc; }
.area-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.area-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.area-kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.area-text h3 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; line-height: 1.1; }
.area-text > p:not(.area-kicker):not(.area-replace) { margin-top: 14px; font-size: 17px; color: var(--muted); }
.area-replace { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: 15px; color: var(--ink-2); }
.area-replace span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.area-replace b { font-weight: 500; }
.area-ui { padding: 18px; border-radius: 22px; background: var(--dark); color: #f5f5f7; }
.area-ui-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; font-size: 15px; }
.area-ui-top em { margin-left: auto; font-style: normal; font-size: 12px; color: #a1a1a6; }
.area-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,169,113,.5); animation: ping 2s infinite; }
.area-feed { display: grid; gap: 8px; }
.area-feed li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--dark-surface); border: 1px solid var(--dark-line); }
.area-feed strong { display: block; font-size: 15px; font-weight: 600; }
.area-feed small { display: block; font-size: 13px; color: #a1a1a6; }
.tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(31,169,113,.16); }
.tick::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #32d583; border-bottom: 2px solid #32d583; transform: translateY(-1px) rotate(-45deg); }
.js .area-panel.swap .area-text { animation: rise 0.5s var(--ease) both; }
.js .area-panel.swap .area-feed li { animation: pop 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 260ms + 120ms); }

/* ── 2026-11-18: How it works (stepper) ── */
.stepper { max-width: 900px; margin: 0 auto; padding: 28px; background: var(--tint); border-radius: 28px; }
.stepper-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stepper-nav button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.stepper-nav span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.stepper-nav button.past span { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.stepper-nav button[aria-selected="true"] { color: var(--ink); }
.stepper-nav button[aria-selected="true"] span { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.stepper-track { height: 4px; margin: 14px 10% 24px; border-radius: 2px; background: var(--line); overflow: hidden; }
.stepper-track i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--accent); transition: width 0.5s var(--ease); }
.step-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; padding: 30px; background: var(--surface); border-radius: 22px; animation: rise 0.45s var(--ease) both; }
.step-meta { font-size: 13px; font-weight: 600; color: var(--accent); }
.step-panel h3 { margin-top: 8px; font-size: 30px; letter-spacing: -0.025em; }
.step-panel p:not(.step-meta) { margin-top: 10px; color: var(--muted); }
.step-get { display: grid; gap: 10px; }
.step-get li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.step-get li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230071e3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.stepper-ctrl { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 18px; }
.slider-btn[disabled] { opacity: 0.4; cursor: default; }

/* ── 2026-11-18: Why us (dark) ── */
.section-dark .section-sub { color: #a1a1a6; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar { padding: 26px 22px; border-radius: var(--radius); background: var(--dark-surface); border: 1px solid var(--dark-line); }
.pillar .card-icon { background: rgba(41, 151, 255, 0.14); margin-bottom: 18px; }
.pillar .card-icon svg { stroke: #6cb4ff; }
.pillar h3 { font-size: 19px; }
.pillar p { margin-top: 8px; font-size: 15px; color: #a1a1a6; }
.path { margin-top: 44px; text-align: center; }
.path-label { font-size: 14px; font-weight: 600; color: #6cb4ff; margin-bottom: 16px; }
.path-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: path; text-align: left; }
.path-steps li { position: relative; padding: 18px 20px 18px 62px; border-top: 2px solid var(--dark-line); counter-increment: path; }
.path-steps li::before { content: counter(path); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }
.path-steps li:first-child { border-top-color: var(--accent); }
.path-steps b { display: block; font-size: 17px; }
.path-steps span { display: block; margin-top: 2px; font-size: 14px; color: #a1a1a6; }
.section-dark .trust div { color: #d2d2d7; }
.section-dark .trust svg { stroke: #6cb4ff; }

@media (max-width: 960px) {
  .area-panel { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  /* Area tabs become one swipeable row on phones. */
  .area-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
  .area-tabs::-webkit-scrollbar { display: none; }
  .area-tabs button { flex: none; min-height: 44px; }
  .area-panel { padding: 22px 18px; border-radius: 24px; }
  .area-ui { padding: 14px; }
  .stepper { padding: 18px 14px; border-radius: 24px; }
  .stepper-nav { gap: 2px; }
  .stepper-nav button { font-size: 12px; padding: 4px 0; min-height: 44px; }
  .stepper-nav span { width: 36px; height: 36px; }
  .stepper-track { margin: 10px 8% 18px; }
  .step-panel { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
  .step-panel h3 { font-size: 26px; }
  .stepper-ctrl .btn { flex: 1; min-height: 44px; }
  .slider-btn { width: 44px; height: 44px; }
  .pillars { grid-template-columns: 1fr; gap: 10px; }
  .pillar { padding: 20px 18px; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
  .pillar .card-icon { grid-row: span 2; margin: 0; }
  .pillar p { margin-top: 4px; }
  .path-steps { grid-template-columns: 1fr; }
  .path-steps li { border-top: 0; border-left: 2px solid var(--dark-line); padding: 12px 0 18px 52px; }
  .path-steps li::before { left: -16px; top: 10px; }
  .path-steps li:first-child { border-left-color: var(--accent); }
  .path { text-align: left; padding-left: 16px; }
}
@media (max-width: 720px) {
  /* Comfortable tap targets on iPhone. */
  .btn-small { min-height: 44px; padding: 0 20px; }
  .ask-chips button { min-height: 44px; }
}
/* Stepper sits on a tinted section: invert its surfaces. */
.section-tint .stepper { background: var(--surface); border: 1px solid var(--line); }
.section-tint .step-panel { background: var(--tint); }
/* Client logos in the trusted banner */
.trusted-row .tname { display: inline-flex; align-items: center; gap: 12px; }
.tlogo { flex: none; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
