/* Saynori — site styles.
   Palette from the iOS app (ChatTheme.accentColor #8B5CF6) and the dolphin icon.
   Motion: the app's one spring (Motion.swift, iOS 26: critically damped, ω≈23.56, 0.383 s),
   sampled from x(t) = 1 − (1 + ωt)·e^(−ωt) into CSS linear(). */

:root {
  color-scheme: light;

  --bg: #FBFAFF;
  --bg-tint: #F3F0FE;
  --surface: #FFFFFF;
  --ink: #0F0C1D;
  --ink-2: #4B4662;
  --ink-3: #8C86A4;
  --line: rgba(15, 12, 29, 0.08);

  --accent: #8B5CF6;
  --accent-ink: #6D3FE0;
  --accent-soft: rgba(139, 92, 246, 0.12);
  --lilac: #B98AF7;
  --indigo: #5B5FE0;
  --sea: #2BB5E5;
  --brand-grad: linear-gradient(100deg, #B98AF7 0%, #8B6CF2 30%, #5B6FE6 62%, #2BB5E5 100%);

  --orange: #FF9F0A;
  --green: #30D158;

  --phone-bg: linear-gradient(180deg, #2C2066 0%, #1D1546 52%, #120E2C 100%);
  --dark-card: #1C1B22;
  --dark-bubble: #26242F;

  --radius: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;

  --spring: linear(0, 0.055, 0.174, 0.311, 0.444, 0.561, 0.659, 0.739, 0.802, 0.851, 0.889, 0.918, 0.94, 0.956, 0.968, 0.976, 0.983, 0.988, 0.991, 0.994, 0.995, 0.997, 0.998, 0.998, 1);
  --spring-dur: 0.383s;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 10px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--accent-ink); margin-bottom: 14px;
}
.h2 {
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 700;
  text-wrap: balance;
}
.h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; margin-bottom: 8px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1rem + 0.4vw, 21px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.grad, .hero-title em {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform var(--spring-dur) var(--spring), background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -10px rgba(15, 12, 29, .5); }
.btn-dark:hover { background: #241F3B; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(15, 12, 29, .18); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; gap: 8px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 17px; }
.btn-lg .icon { width: 22px; height: 22px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.topbar.is-scrolled {
  background: rgba(251, 250, 255, .72);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand-mark { width: 22px; height: 28px; }
.topnav { display: none; gap: 28px; margin-inline: auto; font-size: 15px; color: var(--ink-2); }
.topnav a:hover { color: var(--ink); }
.topbar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.langmenu { position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; user-select: none;
  font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 6px 8px; border-radius: 8px;
}
.lang::-webkit-details-marker { display: none; }
.lang .icon { width: 17px; height: 17px; }
.lang:hover, .langmenu[open] .lang { color: var(--ink); background: var(--accent-soft); }
.langmenu-list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70;
  min-width: 210px; max-height: min(70vh, 480px); overflow-y: auto; padding: 6px; margin: 0; list-style: none;
  background: var(--surface); border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -12px rgba(15, 12, 29, .28);
}
.langmenu-list a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink); }
.langmenu-list a:hover { background: var(--accent-soft); }
.langmenu-list a[aria-current] { font-weight: 650; color: var(--accent-ink); }
.footer-langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-3); }
.footer-langs a:hover, .footer-langs a[aria-current] { color: var(--ink); }

/* Scripts that break with tight tracking or tall marks: Arabic joins letters, Devanagari and CJK need air. */
:lang(ar), :lang(hi), :lang(zh) { letter-spacing: 0 !important; }
:lang(ar) *, :lang(hi) *, :lang(zh) * { letter-spacing: 0 !important; }
:lang(ar) .hero-title, :lang(hi) .hero-title { line-height: 1.2; }
:lang(ar) .h2, :lang(hi) .h2, :lang(ar) .final-title, :lang(hi) .final-title { line-height: 1.25; }
:lang(zh) .hero-title { line-height: 1.1; }
@media (min-width: 900px) {
  .topnav { display: flex; }
  .topbar-end { margin-inline-start: 0; }
}

/* ---------- Aurora ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: -8vw; top: -10vw; background: radial-gradient(circle, #D7C2FF 0%, transparent 68%); }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -6vw; top: 8vw; background: radial-gradient(circle, #BFE9FA 0%, transparent 68%); animation-delay: -7s; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: 30vw; bottom: -14vw; background: radial-gradient(circle, #C9CCFF 0%, transparent 68%); animation-delay: -13s; }
.aurora-soft i { opacity: .45; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 3vw, 0) scale(1.12); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(20px, 4vw, 56px) 0 clamp(16px, 6vw, 120px); margin-top: -64px; padding-top: calc(64px + clamp(20px, 4vw, 56px)); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-title {
  font-size: clamp(3.6rem, 1.6rem + 8.4vw, 8.6rem);
  line-height: .95; letter-spacing: -0.05em; font-weight: 750;
  margin-bottom: 22px; text-wrap: balance;
}
.hero-title em { padding-inline-end: .04em; }
.hero-lead { font-size: clamp(18px, 1rem + .55vw, 23px); line-height: 1.42; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.hero-visual { display: flex; justify-content: center; }
@media (max-width: 559px) {
  .hero-actions .btn { width: 100%; }
  .hero-note { text-align: center; }
}
@media (min-width: 960px) {
  .hero { min-height: min(100svh, 960px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero-visual { justify-content: flex-end; }
  .hero .phone { --w: min(340px, calc((100svh - 150px) * 0.465)); }
}
@media (min-width: 960px) and (max-height: 640px) {
  .hero .phone { --w: 260px; }
}

/* ---------- Phone ---------- */
.phone {
  --w: min(330px, 84vw);
  width: var(--w); aspect-ratio: 9 / 19.2;
  padding: 11px; border-radius: calc(var(--w) * .16);
  background: #0B0A10;
  box-shadow:
    inset 0 0 0 1.5px #2A2833,
    inset 0 0 0 4px #0B0A10,
    0 50px 100px -30px rgba(76, 48, 170, .45),
    0 30px 60px -30px rgba(15, 12, 29, .5);
  transform: translateZ(0);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * .13);
  background: var(--phone-bg); color: #fff;
  font-size: 13.5px; line-height: 1.35; letter-spacing: -0.01em;
  isolation: isolate;
}
.wallpaper {
  position: absolute; inset: 0; z-index: -1;
  background: #B6A4FF; opacity: .13;
  -webkit-mask: url(/assets/img/chat-pattern.png) 0 0 / 300px 450px repeat;
  mask: url(/assets/img/chat-pattern.png) 0 0 / 300px 450px repeat;
}
.statusbar {
  height: 46px; padding: 0 26px 0 30px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 14px; position: relative;
}
.island { position: absolute; left: 50%; top: 11px; width: 31%; height: 27px; transform: translateX(-50%); background: #000; border-radius: 20px; }
.sb-icons { display: flex; gap: 5px; align-items: center; }
.sb-icons svg:first-child { width: 16px; height: 11px; }
.sb-icons svg:last-child { width: 24px; height: 11px; }

.glass {
  background: rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.agent-bar {
  margin: 2px 10px 0; padding: 6px 16px 6px 6px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
}
.agent-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #C4A6FF, #8B5CF6 55%, #6D3FE0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 4px 14px -4px rgba(139, 92, 246, .8);
}
.agent-ava .icon { width: 18px; height: 18px; }
.agent-meta { display: flex; flex-direction: column; min-width: 0; }
.agent-meta b { font-size: 15px; font-weight: 600; }
.agent-meta small { font-size: 12px; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s ease; }
.agent-meta small.is-busy { color: #C9B6FF; }

.feed {
  position: absolute; left: 10px; right: 10px; top: 106px; bottom: 70px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
  transition: opacity .45s ease;
}
.feed.is-fading { opacity: 0; }

.composer {
  position: absolute; left: 10px; right: 10px; bottom: 16px;
  min-height: 42px; border-radius: 22px; padding: 5px 5px 5px 16px;
  display: flex; align-items: center; gap: 8px;
}
.composer-text { flex: 1; font-size: 13.5px; line-height: 1.3; max-height: 3.9em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.composer-text.is-empty { color: rgba(255, 255, 255, .45); }
.composer-text.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: #B79BFF; vertical-align: -2px; margin-inline-start: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.send {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  transform: scale(0); transition: transform var(--spring-dur) var(--spring);
}
.send .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.send.is-on { transform: scale(1); }

/* bubbles (phone + mini screens) */
.bubble {
  max-width: 84%; padding: 8px 12px; border-radius: 18px;
  font-size: 13.5px; line-height: 1.36; text-wrap: pretty; position: relative;
}
.bubble-me { align-self: flex-end; background: var(--accent); color: #fff; border-end-end-radius: 6px; }
.bubble-them { align-self: flex-start; background: var(--dark-bubble); color: #fff; border-end-start-radius: 6px; }
.bubble-them.light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 12, 29, .06); }
.bubble.is-short { padding: 7px 12px; }

.enter { animation: enter .55s var(--spring) both; }
@keyframes enter {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.enter-user { transform-origin: 100% 100%; }
.enter-agent { transform-origin: 0 100%; }

.typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: dots 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.tasks { background: rgba(28, 27, 34, .94); border-radius: 20px; padding: 4px 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* Name and status share the top row; the task line gets the full width below, so longer languages fit. */
.task {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "ava name status" "ava line line";
  column-gap: 10px; align-items: center; padding: 8px 12px; position: relative;
}
.task .ava { grid-area: ava; }
.task-text { display: contents; }
.task-text b { grid-area: name; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-text span { grid-area: line; min-width: 0; }
.task-status { grid-area: status; }
.task + .task::before { content: ""; position: absolute; top: 0; inset-inline: 52px 0; height: 1px; background: rgba(255, 255, 255, .07); }
.task .ava, .mini-head .ava {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c));
  display: grid; place-items: center; font-weight: 650; font-size: 13px; color: #fff;
}
.task-text b { display: block; font-size: 13px; font-weight: 600; }
.task-text span { display: block; font-size: 12px; color: rgba(255, 255, 255, .58); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-status { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .5); white-space: nowrap; transition: color .3s ease; }
.task-status[data-kind="done"] { color: var(--green); }
.task-status[data-kind="progress"] { color: #A99BFF; }
.task-status[data-kind="wait"] { color: rgba(255, 255, 255, .55); }
.task.enter { animation-duration: .6s; }

.ask { background: var(--dark-card); border-radius: 20px; padding: 11px 12px 12px; box-shadow: inset 0 0 0 1px rgba(255, 159, 10, .5); }
.ask-label { color: var(--orange); font-size: 12px; font-weight: 650; margin-bottom: 4px; }
.ask p { font-size: 13px; line-height: 1.38; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  position: relative; overflow: hidden;
  padding: 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
  transition: background-color .25s ease, box-shadow .25s ease, transform var(--spring-dur) var(--spring);
}
.chip.is-picked { background: var(--accent); box-shadow: none; transform: scale(1.04); }
.tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; animation: tap .6s ease-out forwards; }
@keyframes tap { from { transform: scale(.2); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.ask.is-leaving { animation: leave .35s ease forwards; }
@keyframes leave { to { opacity: 0; transform: scale(.96); } }

.summary {
  align-self: center; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.summary .icon { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

/* How it works */
.how { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%); }
.steps { display: grid; gap: 40px; counter-reset: step; }
.step { position: relative; }
.step-visual {
  position: relative; isolation: isolate; overflow: hidden;
  height: 230px; border-radius: 28px; margin-bottom: 22px;
  background: var(--phone-bg); color: #fff;
  box-shadow: 0 30px 60px -36px rgba(60, 40, 150, .55);
}
.step-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.mini-chat { position: absolute; left: 14px; right: 14px; bottom: 70px; display: flex; flex-direction: column; gap: 7px; }
.step:nth-child(2) .mini-chat { top: 62px; bottom: 16px; justify-content: flex-end; overflow: hidden; }
.mini-composer {
  position: absolute; left: 14px; right: 14px; bottom: 16px; height: 40px; border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 14px;
  font-size: 13px; color: rgba(255, 255, 255, .45);
}
.mini-composer .send { width: 30px; height: 30px; }
.mini-head {
  position: absolute; top: 14px; left: 14px; right: 14px; height: 44px; border-radius: 22px;
  display: flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; font-size: 14px;
}
.mini-head .icon { width: 18px; height: 18px; opacity: .8; }
.mini-head .ava { display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; font-size: 0; }
.mini-head .ava::first-letter { font-size: 13px; }
.agent-tag {
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
  font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .78);
}
.agent-tag .icon { width: 11px; height: 11px; }
.push {
  position: absolute; left: 14px; right: 14px; top: 26px; border-radius: 22px; padding: 12px 14px;
  background: rgba(255, 255, 255, .14);
}
.push-top { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .02em; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.push-top img { width: 20px; height: 20px; border-radius: 5px; }
.push-now { margin-inline-start: auto; }
.push-title { display: block; font-size: 14px; font-weight: 650; margin-bottom: 2px; }
.push p { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.push-actions { position: absolute; left: 14px; right: 14px; bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.push-actions span { height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 13px; font-weight: 600; padding: 0 8px; text-align: center; line-height: 1.15; }
.push-actions span:first-child { background: rgba(139, 92, 246, .85); box-shadow: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step-visual { height: 260px; }
}

/* Statement */
.statement { padding: clamp(96px, 16vw, 220px) 0; text-align: center; }
.statement-text {
  font-size: clamp(2.3rem, 1rem + 5.4vw, 5.8rem); line-height: 1.04;
  letter-spacing: -0.045em; font-weight: 750; text-wrap: balance;
  max-width: 13em; margin-inline: auto;
}
.st-line { display: block; }
.statement .w { transition: opacity .35s ease; }
.js .statement .w { opacity: .14; }
.js .statement .w.is-lit { opacity: 1; }
.statement-small { margin: 32px auto 0; max-width: 34em; font-size: clamp(17px, 1rem + .3vw, 20px); color: var(--ink-2); text-wrap: balance; }

/* Trust */
.trust { background: var(--surface); }
.cards3 { display: grid; gap: 16px; }
.card {
  background: var(--bg); border-radius: var(--radius); padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.card-icon .icon { width: 24px; height: 24px; }
.more { margin-top: 28px; }
.more a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 600; }
.more a:hover { gap: 10px; }
.more .icon { transition: transform var(--spring-dur) var(--spring); }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, 1fr); } .card { padding: 34px; } }

/* Link */
.link { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.link-grid { display: grid; gap: 48px; align-items: center; }
.link-grid > * { min-width: 0; }
.link-copy .lead { margin-top: 18px; max-width: 30em; }
.linkfield {
  margin-top: 30px; display: flex; align-items: center; gap: 4px;
  background: var(--surface); border-radius: 18px; padding: 6px 6px 6px 16px;
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(60, 40, 150, .35);
  max-width: 480px; cursor: text;
}
.linkfield:focus-within { box-shadow: inset 0 0 0 2px var(--accent), 0 10px 30px -18px rgba(60, 40, 150, .35); }
.linkfield-prefix { color: var(--ink-3); font-size: 17px; white-space: nowrap; }
.linkfield input {
  flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 600 17px var(--font); color: var(--ink); padding: 10px 0;
}
.linkfield input::placeholder { color: var(--ink-3); font-weight: 400; }
.linkfield .btn .icon { width: 16px; height: 16px; }
.hint { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 420px) {
  .linkfield { padding-inline-start: 14px; }
  .linkfield-prefix, .linkfield input { font-size: 16px; }
  .linkfield .btn { padding: 0 12px; }
}

.browser {
  background: var(--surface); border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(60, 40, 150, .4);
  max-width: 520px; width: 100%; justify-self: center;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #F4F2F9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #DCD8E6; }
.browser-url {
  flex: 1; margin-inline-start: 10px; height: 30px; border-radius: 9px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; white-space: nowrap;
}
.browser-url b { color: var(--ink); font-weight: 600; }
.browser-body { background: #F6F4FD; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.guest-head { display: flex; align-items: center; gap: 10px; }
.guest-head b { display: block; font-size: 15px; }
.guest-head small { display: block; font-size: 12px; color: var(--ink-3); }
.guest-chat { display: flex; flex-direction: column; gap: 8px; min-height: 180px; justify-content: flex-end; }
.guest-chat .bubble { font-size: 14px; }
.guest-input {
  display: flex; align-items: center; justify-content: space-between; height: 42px; border-radius: 21px;
  padding: 0 5px 0 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; color: var(--ink-3);
}
.guest-input .send { width: 32px; height: 32px; }
@media (min-width: 900px) { .link-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Basics */
.basics { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.basics .h2 { max-width: 14em; margin: 0 auto 36px; font-size: clamp(1.8rem, 1rem + 2.6vw, 3rem); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: 16px;
}
.pill .icon { width: 22px; height: 22px; color: var(--accent-ink); }
.pill-dolphin { width: 18px; height: 23px; }

/* Pricing */
.pricing { background: var(--bg-tint); }
.plans { display: grid; gap: 16px; max-width: 880px; margin-inline: auto; }
.plan {
  position: relative; background: var(--surface); border-radius: 28px; padding: 32px;
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.plan-pro {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-grad) border-box;
  box-shadow: 0 40px 80px -50px rgba(91, 95, 224, .6);
}
.plan-badge {
  position: absolute; top: 24px; inset-inline-end: 24px; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
}
.plan-name { font-size: 18px; font-weight: 650; color: var(--ink-2); }
.plan-price { font-size: 52px; line-height: 1.1; font-weight: 750; letter-spacing: -0.04em; margin: 6px 0 6px; }
.plan-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon { color: var(--accent-ink); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.4; }
.plan .btn { margin-top: auto; }
.plan-head { margin: 22px 0 0; font-weight: 650; }
.plan-list-rich { margin: 14px 0 18px; gap: 11px; }
.plan-list-rich li { line-height: 1.4; color: var(--ink-2); }
.plan-list-rich b { color: var(--ink); font-weight: 650; }
.plan-note { margin: 0 0 24px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq .h2 { margin-bottom: 28px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: clamp(17px, 1rem + .3vw, 20px); font-weight: 600; letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 22px; height: 22px; color: var(--ink-3); transition: transform var(--spring-dur) var(--spring); }
.qa[open] summary .icon { transform: rotate(45deg); color: var(--accent-ink); }
.qa p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 40em; }

/* Final */
.final { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) 0; background: var(--surface); }
.final .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-dolphin { width: clamp(150px, 22vw, 210px); height: auto; aspect-ratio: 1; }
.final-title { font-size: clamp(2.6rem, 1.2rem + 5vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 750; text-wrap: balance; }
.final .lead { margin-bottom: 14px; }

/* Footer */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; }
.footer-inner { display: grid; gap: 24px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand b { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-links { justify-content: center; }
}

/* Sticky mobile CTA */
.glass-light {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(30, 20, 80, .35);
}
.sticky-cta {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 9px 9px 9px 14px; border-radius: 22px;
  transform: translateY(160%); transition: transform .55s var(--spring);
}
.sticky-cta.is-visible { transform: none; }
.sticky-mark { width: 23px; height: 30px; }
.sticky-text { display: flex; flex-direction: column; line-height: 1.2; margin-inline-end: auto; }
.sticky-text b { font-size: 15px; }
.sticky-text small { font-size: 13px; color: var(--ink-2); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Reveal on scroll (only with JS) */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform 1s var(--spring); }
.js .steps .reveal.is-in:nth-child(2), .js .cards3 .reveal.is-in:nth-child(2), .js .plans .reveal.is-in:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal.is-in:nth-child(3), .js .cards3 .reveal.is-in:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .enter, .task.enter { animation: none; }
  .js .statement .w { opacity: 1; }
}
