/* ============================================================
   YELASAI — Premium Landing Stylesheet
   ============================================================ */
:root {
  --accent: #7C3FCE;
  --accent-lo: #4A0D66;
  --accent-hi: #a368e6;
  --peri: #6E6AF0;

  --ink: #241433;
  --ink-2: #5a4a6b;
  --ink-3: #8d7e9b;

  --bg: #faf8fd;
  --bg-2: #f3edfb;
  --card: #ffffff;
  --line: rgba(74,13,102,.10);

  --font-head: 'Spectral', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --glass-alpha: 0.10;
  --glass-blur: 18px;
  --glass-border: 0.18;

  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 28px -16px rgba(74,13,102,.30);
  --shadow: 0 28px 64px -30px rgba(74,13,102,.36);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: color-mix(in oklab, var(--accent) 28%, white); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }

/* ---------- Typography ---------- */
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.01em; margin: 10px 0 0; text-wrap: balance; }
.h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.12; margin: 0; }
.h4 { font-family: var(--font-head); font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.18; margin: 6px 0 0; letter-spacing: -.005em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 56ch; margin: 16px auto 0; text-wrap: pretty; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-block; }
.kicker.light { color: color-mix(in oklab, var(--accent) 55%, white); }

.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.head.left { text-align: left; margin-left: 0; }
.head.left .lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bpy: 13px; --bpx: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: var(--bpy) var(--bpx); border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .3s, background .3s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn-sm { --bpy: 10px; --bpx: 18px; font-size: 14px; }
.btn-lg { --bpy: 16px; --bpx: 30px; font-size: 16.5px; }
.btn-full { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(105deg, var(--peri) 0%, var(--accent) 55%, var(--accent-hi) 100%);
  box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px color-mix(in oklab, var(--accent) 75%, transparent), inset 0 1px 0 rgba(255,255,255,.34); }
.btn-soft { color: var(--accent-lo); background: color-mix(in oklab, var(--accent) 12%, white); border-color: var(--line); }
.btn-soft:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--accent) 18%, white); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.42); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.hero-light .btn-ghost { color: var(--accent-lo); border-color: color-mix(in oklab, var(--accent) 40%, white); background: rgba(255,255,255,.5); }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255,255,255, var(--glass-alpha));
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  border: 1px solid rgba(255,255,255, var(--glass-border));
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: #5be0a8; box-shadow: 0 0 0 4px color-mix(in oklab, #5be0a8 30%, transparent); display: inline-block; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 7px 15px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.92); }
.hero-light .eyebrow { background: color-mix(in oklab, var(--accent) 10%, white); border-color: var(--line); color: var(--accent-lo); }

/* ============================================================ NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; gap: 24px; }
.nav-solid { background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-logo { color: var(--ink); display: flex; }
.nav:not(.nav-solid) .nav-logo, .nav:not(.nav-solid) .nav-links a, .nav:not(.nav-solid) .nav-login { color: #fff; }
.hero-light .nav:not(.nav-solid) .nav-logo, .hero-light .nav:not(.nav-solid) .nav-links a, .hero-light .nav:not(.nav-solid) .nav-login { color: var(--ink); }
.nav-links { display: flex; gap: 26px; margin-left: 18px; font-size: 14.5px; font-weight: 500; }
.nav-links a { opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14.5px; font-weight: 600; }
.nav-burger { display: none; margin-left: auto; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; color: var(--ink); }
.nav:not(.nav-solid) .nav-burger span { background: #fff; }
.hero-light .nav:not(.nav-solid) .nav-burger span { background: var(--ink); }
.nav-sheet { display: flex; flex-direction: column; gap: 14px; padding: 18px 28px 26px; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); box-shadow: var(--shadow-sm); }
.nav-sheet a { color: var(--ink); font-weight: 600; }

/* ============================================================ HERO */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: clamp(124px, 16vw, 188px) 0 clamp(72px, 10vw, 120px);
  background:
    radial-gradient(95% 78% at 12% 6%, rgba(168,170,255,.62), transparent 52%),
    radial-gradient(120% 120% at 92% 104%, var(--accent-lo), transparent 60%),
    linear-gradient(152deg, #5f59d8 0%, var(--accent) 48%, var(--accent-lo) 100%);
}
.hero-light .hero { color: var(--ink); background: radial-gradient(90% 80% at 15% 8%, #efe9ff, transparent 55%), linear-gradient(160deg, #f6f2fe 0%, #ece3fb 100%); }
.hero-aura { position: absolute; width: 60vw; height: 60vw; right: -14vw; top: -16vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 62%); pointer-events: none; }
.hero-in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero-copy { max-width: 660px; }
.hero-h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 4.7vw, 56px); line-height: 1.05; letter-spacing: -.015em; margin: 20px 0 0; text-wrap: balance; }
.hero-h1 em { font-style: italic; color: #ffe9b8; }
.hero-light .hero-h1 em { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: rgba(255,255,255,.86); margin: 22px 0 0; max-width: 50ch; text-wrap: pretty; }
.hero-light .hero-sub { color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.82); }
.hero-light .hero-meta { color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { opacity: .9; }
.hero-visual { position: relative; }
.hero-vfloat { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow); font-size: 13.5px; }
.hero-vfloat b { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent); }
.hero-vfloat span { display: block; line-height: 1.15; }
.hvf-1 { left: -6%; top: 14%; }
.hvf-2 { right: -4%; bottom: 12%; color: var(--accent-lo); }
.hvf-2 svg { color: var(--accent); }
.anim-rich .hero-vfloat { animation: floaty 5s ease-in-out infinite; }
.anim-rich .hvf-2 { animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Trichoscopy visual ---------- */
.tricho { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1; }
.tricho-field {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 42% 38%, #4a2461 0%, #2a0d36 55%, #160520 100%);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12), 0 0 0 12px rgba(255,255,255,.05);
}
.tricho-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.tricho-tint { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); mix-blend-mode: multiply; opacity: .10; pointer-events: none; }
.tricho-vignette { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 44px 10px rgba(8,2,16,.42), inset 0 0 0 1px rgba(255,255,255,.10); background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(12,3,20,.42) 100%); }
.tricho-scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--peri) 70%, white 30%) 78%, #fff 88%, color-mix(in oklab, var(--peri) 70%, white 30%) 92%, transparent 100%);
  mix-blend-mode: screen; }
.tricho-on .tricho-scan { animation: scanY 3.6s cubic-bezier(.55,0,.45,1) infinite; }
.anim-rich .tricho-on .tricho-scan { animation-duration: 2.4s; }
@keyframes scanY { 0% { transform: translateY(-110%); opacity: 0; } 12% { opacity: .9; } 78% { opacity: .9; } 100% { transform: translateY(540%); opacity: 0; } }
.tricho-glow { position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #ffe9b8 0%, color-mix(in oklab, var(--peri) 80%, white) 38%, transparent 72%); opacity: 0; }
.tricho-on .tricho-glow { animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.tricho-marker { position: absolute; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.tricho-on .tricho-marker { animation: markIn .7s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes markIn { from { opacity: 0; transform: translate(-50%,-46%) scale(.7); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.tm-ring { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 1.5px solid #ffe9b8; box-shadow: 0 0 0 4px rgba(255,233,184,.18); }
.tricho-on .tm-ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(255,233,184,.7); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.tm-tag { position: absolute; left: 20px; top: -8px; white-space: nowrap; font-size: 11px; font-weight: 600; color: #2a0f3a; background: rgba(255,255,255,.94); padding: 4px 9px; border-radius: 8px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.tm-tag b { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tricho-hud { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: rgba(20,8,30,.72); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow); }
.hud-pct { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-left: 4px; }
.hud-pct i { font-size: 11px; font-style: normal; opacity: .7; }

/* ============================================================ TRUST */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-in { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.trust-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.trust-regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.trust-pill b { color: var(--accent); font-family: var(--font-head); }
.trust-more { color: var(--ink-3); font-weight: 500; background: transparent; box-shadow: none; border-style: dashed; }
.trust-stats { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 2px; }
.trust-sep { width: 1px; height: 22px; background: var(--line); }
.trust-stat { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.trust-stat b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }

/* ============================================================ BEFORE/AFTER */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.ba-card { border-radius: var(--radius-lg); padding: 34px 34px 38px; }
.ba-before { background: #f1edf4; border: 1px dashed rgba(74,13,102,.22); color: var(--ink-2); }
.ba-after { position: relative; background: linear-gradient(160deg, var(--accent) 0%, var(--accent-lo) 100%); color: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.18); }
.ba-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ba-card h3 { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 0; }
.ba-x { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(74,13,102,.1); color: var(--ink-3); font-weight: 700; }
.ba-ok { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.2); color: #fff; }
.ba-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.ba-before li { padding-left: 26px; position: relative; font-size: 15.5px; }
.ba-before li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.ba-after li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; }
.ba-after li svg { flex: none; margin-top: 2px; color: #ffe9b8; }
.ba-vs { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-sm); color: var(--accent); font-size: 22px; font-weight: 700; }

/* ============================================================ FEATURES */
.feat-list { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.feat-row { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(34px, 5vw, 76px); }
.feat-row.rev .feat-copy { order: 2; }
.feat-copy { max-width: 460px; }
.feat-num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.feat-copy .kicker { margin-bottom: 6px; }
.feat-copy .h3 { margin-bottom: 14px; }
.feat-copy p { color: var(--ink-2); font-size: 16.5px; }

/* ---------- Browser frame + dashboards ---------- */
.feat-mock { position: relative; }
.frame { border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #f4f0f8; border-bottom: 1px solid var(--line); }
.frame-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d9cfe4; }
.frame-bar .dot:nth-child(1) { background: #f0a8b8; } .frame-bar .dot:nth-child(2) { background: #f3d39a; } .frame-bar .dot:nth-child(3) { background: #a8e0bb; }
.frame-url { margin-left: 12px; font-size: 12px; color: var(--ink-3); background: #fff; padding: 4px 12px; border-radius: 7px; border: 1px solid var(--line); }
.frame-body { padding: 22px; }

.da-head, .dp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.da-kick { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.da-head h4 { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin: 4px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(74,13,102,.07); color: var(--ink-2); }
.chip-live { color: #1f8a5b; background: rgba(91,224,168,.16); }
.da-grid { display: grid; grid-template-columns: 150px 1fr; gap: 22px; margin-top: 20px; align-items: center; }
.mini-tricho { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 42% 40%, #4a2461, #2a0c34 60%, #160520); box-shadow: inset 0 0 26px 6px rgba(0,0,0,.45), 0 0 0 6px rgba(124,63,206,.1); }
.mini-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.mini-tint { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); mix-blend-mode: multiply; opacity: .10; pointer-events: none; }
.mini-vignette { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 24px 6px rgba(8,2,16,.4); background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(12,3,20,.4) 100%); }
.mini-scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--peri) 70%, white 30%) 78%, #fff 88%, color-mix(in oklab, var(--peri) 70%, white 30%) 92%, transparent 100%);
  mix-blend-mode: screen; animation: scanY 4s cubic-bezier(.55,0,.45,1) infinite; }
.da-metrics { display: flex; flex-direction: column; gap: 13px; }
.metric-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.metric-top b { color: var(--accent-lo); font-weight: 700; }
.metric-track { height: 7px; border-radius: 99px; background: rgba(74,13,102,.1); overflow: hidden; }
.metric-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--peri), var(--accent)); }
.da-tags { display: flex; gap: 8px; margin-top: 4px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: rgba(74,13,102,.07); color: var(--ink-2); }

.dp-head p { color: var(--ink-2); font-size: 14px; margin: 6px 0 0; }
.dp-head h4 { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin: 4px 0 0; }
.dp-steps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dp-steps li { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 13px; background: #f7f4fb; border: 1px solid var(--line); }
.dp-steps li.done { background: color-mix(in oklab, var(--accent) 8%, white); }
.dp-check { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #e6ddf2; color: var(--accent); }
.dp-steps li.done .dp-check { background: linear-gradient(135deg, var(--peri), var(--accent)); color: #fff; }
.dp-steps b { display: block; font-size: 14.5px; }
.dp-steps i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }

.dc { display: flex; flex-direction: column; gap: 12px; }
.dc-ctx { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--accent-lo); background: color-mix(in oklab, var(--accent) 10%, white); padding: 6px 12px; border-radius: 8px; }
.dc-stream { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 80%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.bubble.in { align-self: flex-start; background: #f1edf6; color: var(--ink); border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: linear-gradient(120deg, var(--peri), var(--accent)); color: #fff; border-bottom-right-radius: 5px; }
.bubble.out.soft { background: color-mix(in oklab, var(--accent) 16%, white); color: var(--accent-lo); }
.dc-input { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 11px 11px 11px 16px; border-radius: 13px; border: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.dc-send { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--peri), var(--accent)); color: #fff; font-style: normal; }

/* ============================================================ PILLARS */
.pillars { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { border-radius: var(--radius); padding: 28px 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pillar-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--peri), var(--accent)); box-shadow: 0 12px 24px -12px color-mix(in oklab, var(--accent) 70%, transparent); }
.pillar-count { font-size: 12px; font-weight: 700; color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, white); padding: 5px 11px; border-radius: 999px; }
.pillar .kicker { font-size: 11.5px; margin-top: 4px; }
.pillar h3 { margin-bottom: 14px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pillar li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.pillar li svg { flex: none; margin-top: 2px; color: var(--accent); }

/* ============================================================ PRICING */
.cur-toggle { display: inline-flex; margin: 24px auto 0; padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 8%, white); border: 1px solid var(--line); }
.cur-toggle button { border: 0; background: none; padding: 8px 20px; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .2s; }
.cur-toggle button.on { background: #fff; color: var(--accent-lo); box-shadow: var(--shadow-sm); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; border-radius: var(--radius-lg); padding: 34px 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(170deg, var(--accent) 0%, var(--accent-lo) 100%); color: #fff; box-shadow: var(--shadow); transform: scale(1.03); border: 1px solid rgba(255,255,255,.2); z-index: 2; }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; background: #ffe9b8; color: #6b4a13; white-space: nowrap; box-shadow: var(--shadow-sm); }
.price-badge.alt { background: color-mix(in oklab, var(--accent) 14%, white); color: var(--accent-lo); }
.price-name { font-family: var(--font-head); font-size: 24px; font-weight: 600; margin: 6px 0 0; }
.price-tag { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.featured .price-tag { color: rgba(255,255,255,.8); }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 0; }
.price-amount .cur { font-size: 18px; font-weight: 600; color: var(--ink-3); }
.featured .price-amount .cur { color: rgba(255,255,255,.75); }
.price-amount b { font-family: var(--font-head); font-size: 54px; font-weight: 700; line-height: 1; }
.price-unit { font-size: 14px; color: var(--ink-3); margin: 6px 0 22px; display: block; }
.featured .price-unit { color: rgba(255,255,255,.78); }
.price-perks { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.featured .price-perks { border-color: rgba(255,255,255,.2); }
.price-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.featured .price-perks li { color: rgba(255,255,255,.92); }
.price-perks li svg { flex: none; margin-top: 2px; color: var(--accent); }
.featured .price-perks li svg { color: #ffe9b8; }

/* ============================================================ TESTIMONIALS */
.testi { background: var(--bg-2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { position: relative; border-radius: var(--radius); padding: 30px 28px 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote-mark { position: absolute; top: 12px; right: 22px; font-family: var(--font-head); font-size: 64px; line-height: 1; color: color-mix(in oklab, var(--accent) 18%, white); }
.testi-card p { font-size: 16.5px; line-height: 1.5; color: var(--ink); position: relative; }
.testi-by { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--peri), var(--accent)); flex: none; }
.testi-by b { display: block; font-size: 14.5px; }
.testi-by i { font-style: normal; font-size: 13px; color: var(--ink-3); }
.testi-note { text-align: center; font-size: 13px; color: var(--ink-3); margin: 28px 0 0; }

/* ============================================================ REGISTER */
.register { background: linear-gradient(165deg, var(--accent) 0%, var(--accent-lo) 100%); color: #fff; }
.reg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.reg-copy .h2 { color: #fff; }
.reg-copy .lead { color: rgba(255,255,255,.84); margin-left: 0; }
.reg-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.reg-list li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 500; }
.reg-list svg { color: #ffe9b8; flex: none; }
.reg-form { border-radius: var(--radius-lg); padding: 34px; background: rgba(255,255,255,.1); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: rgba(255,255,255,.88); }
.field input, .field select { width: 100%; padding: 14px 16px; border-radius: 13px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.12); color: #fff; font-family: var(--font-body); font-size: 15px; transition: border .2s, background .2s; }
.field input::placeholder { color: rgba(255,255,255,.55); }
.field input:focus, .field select:focus { outline: none; border-color: #ffe9b8; background: rgba(255,255,255,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: #241433; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg-form .btn { margin-top: 8px; }
.reg-hint { font-size: 12.5px; color: rgba(255,255,255,.66); text-align: center; margin: 14px 0 0; }
.reg-ok { text-align: center; padding: 18px 6px; }
.reg-ok-ic { width: 66px; height: 66px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.16); color: #ffe9b8; margin-bottom: 16px; }
.reg-ok .h3 { color: #fff; }
.reg-ok p { color: rgba(255,255,255,.84); margin: 10px 0 22px; }

/* ============================================================ FAQ */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq-wrap .head { position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--ink); text-align: left; }
.faq-pl { position: relative; width: 16px; height: 16px; flex: none; }
.faq-pl::before, .faq-pl::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s; }
.faq-pl::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-pl::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.open .faq-pl::after { transform: scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; transition: padding .35s; }
.faq-item.open .faq-a > p { padding: 0 22px 22px; }

/* ============================================================ FOOTER */
.footer { background: #1c0728; color: rgba(255,255,255,.7); padding: 64px 0 30px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer-brand svg { color: #fff; }
.footer-brand p { font-size: 14.5px; max-width: 36ch; margin: 18px 0 0; line-height: 1.55; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 14px; }
.footer-cols a { display: block; font-size: 14.5px; margin-bottom: 10px; color: rgba(255,255,255,.78); transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ============================================================ HERO POINTS */
ul.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; max-width: 580px; }
.hero-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: rgba(255,255,255,.9); line-height: 1.35; }
.hero-points li svg { flex: none; margin-top: 2px; color: #ffe9b8; }
.hero-light .hero-points li { color: var(--ink-2); }
.hero-light .hero-points li svg { color: var(--accent); }

/* ============================================================ HOW IT WORKS */
.howto { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; border-radius: var(--radius); padding: 28px 24px 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; overflow: hidden; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-size: 32px; font-weight: 700; line-height: 1; color: color-mix(in oklab, var(--accent) 18%, white); }
.step-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--peri), var(--accent)); box-shadow: 0 12px 24px -12px color-mix(in oklab, var(--accent) 70%, transparent); }
.step-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin: 20px 0 9px; }
.step-card p { font-size: 14px; color: var(--ink-2); line-height: 1.52; margin: 0; }

/* ============================================================ DEMO VIDEO */
.demo { padding-top: 0; }
.demo-frame { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.18); cursor: pointer; }
.demo-thumb { position: absolute; inset: 0; display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
    radial-gradient(80% 90% at 28% 18%, rgba(168,170,255,.5), transparent 55%),
    linear-gradient(150deg, #5f59d8 0%, var(--accent) 50%, var(--accent-lo) 100%);
}
.demo-mono { position: absolute; top: 18px; left: 22px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11.5px; letter-spacing: .04em; color: rgba(255,255,255,.7); background: rgba(20,8,30,.3); padding: 5px 11px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); }
.demo-play { width: 86px; height: 86px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--accent); background: rgba(255,255,255,.94); box-shadow: 0 20px 50px -16px rgba(0,0,0,.5); padding-left: 5px; transition: transform .3s; }
.demo-play::after { content: ""; position: absolute; width: 86px; height: 86px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: ping 2.6s ease-out infinite; }
.anim-rich .demo-play::after { animation-duration: 1.8s; }
.demo-frame:hover .demo-play { transform: scale(1.08); }
.demo-title { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 26px 28px; font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 2vw, 22px); color: #fff; background: linear-gradient(transparent, rgba(16,5,24,.72)); }
.demo-dur { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); }

/* ============================================================ RESPONSIVE */
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 12px auto 0; order: 2; }
  .hvf-1 { left: 0; } .hvf-2 { right: 0; }
  .feat-row, .feat-row.rev .feat-copy { grid-template-columns: 1fr; order: 0; }
  .feat-copy { max-width: 560px; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-vs { transform: rotate(90deg); margin: -4px auto; }
  .pillar-grid, .price-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .reg-wrap, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .head { position: static; }
  .footer-in { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .pillar-grid, .price-grid, .testi-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  ul.hero-points { grid-template-columns: 1fr; }
  .da-grid { grid-template-columns: 1fr; }
  .da-grid .mini-tricho { max-width: 180px; margin: 0 auto; }
  .row2 { grid-template-columns: 1fr; }
  .trust-sep { display: none; }
  .tricho { max-width: 280px; }
  .hero-cta .btn { flex: 1; }
}

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
