/* ==========================================================================
   Oravia — promo website design system (2026-10-08)
   Identity: «Dawn» — night violet, first light cyan, one point of light.
   Colours are the app's own tokens (lib/theme/app_colors.dart + brand sheet).
   Type: Kufam (variable wght, self-hosted, OFL).
   RTL-first: logical properties everywhere.
   ========================================================================== */

@font-face {
  font-family: "Kufam";
  src: url("/assets/fonts/Kufam.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --night: #130321;
  --night-0: #0a0117;
  --deep: #2d0a4f;
  --surface: #1a0a2e;
  --violet: #7b2cbf;
  --violet-glow: #a77bff;
  --sky: #00b4d8;
  --cyan: #5ce1ff;
  --blue: #4f8bff;
  --lilac: #c7a4ff;
  --ring: linear-gradient(135deg, #00b4d8 0%, #4f8bff 38%, #8b5cff 72%, #c7a4ff 100%);
  --btn: linear-gradient(135deg, #7b2cbf 0%, #5a4bff 62%, #3f7bff 100%);

  /* text */
  --text: #f8f9fa;
  --text-2: #c2b3d4;
  --text-3: #9887ad;

  /* surfaces */
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  --glass-solid: #1d0d33;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.7);
}

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Kufam", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.9;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: fixed;
  inset-block-start: -80px;
  inset-inline-start: 16px;
  z-index: 200;
  background: #fff;
  color: var(--night);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: inset-block-start 0.2s;
}
.skip:focus {
  inset-block-start: 12px;
}

.ic {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gut) * 2);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.sec {
  position: relative;
  padding-block: clamp(76px, 10vw, 148px);
}
.sec--tight {
  padding-block: clamp(56px, 7vw, 96px);
}
.sec__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 18px;
  letter-spacing: 0;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.28), 0 0 14px 3px rgba(92, 225, 255, 0.7);
  flex: none;
}

.h2 {
  font-size: clamp(1.9rem, 4.1vw, 3.3rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  font-weight: 800;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 2;
  color: var(--text-2);
  margin-top: 20px;
  text-wrap: pretty;
}
.muted {
  color: var(--text-2);
}
.grad {
  background: linear-gradient(100deg, #5ce1ff 0%, #8fb2ff 38%, #c7a4ff 78%, #e3d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(91, 75, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -10px rgba(91, 75, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.btn--light {
  background: #fff;
  color: #1a0a2e;
  box-shadow: 0 16px 36px -12px rgba(255, 255, 255, 0.45);
}
.btn--light:hover {
  transform: translateY(-2px);
}
.btn--sm {
  --h: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}
.btn .ic {
  width: 1.2em;
  height: 1.2em;
}

/* store buttons (neutral — official badge artwork is added at release) */
.store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 26px;
  min-height: 62px;
  border-radius: 18px;
  background: #0a0117;
  border: 1px solid var(--line-2);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.store:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 123, 255, 0.7);
  box-shadow: 0 18px 40px -16px rgba(123, 44, 191, 0.9);
}
.store .ic {
  width: 28px;
  height: 28px;
  color: var(--cyan);
}
.store small {
  display: block;
  font-size: 0.74rem;
  line-height: 1.2;
  color: var(--text-3);
  font-weight: 500;
}
.store strong {
  display: block;
  font-size: 1.14rem;
  line-height: 1.25;
  font-weight: 800;
  direction: ltr;
  text-align: start;
}
.store.is-mine {
  border-color: rgba(92, 225, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(92, 225, 255, 0.3), 0 16px 36px -16px rgba(0, 180, 216, 0.8);
}

/* ---------- glass / chips ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
}
.chip .ic {
  width: 1.05em;
  height: 1.05em;
  color: var(--cyan);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.25), 0 0 12px 3px rgba(92, 225, 255, 0.65);
  flex: none;
}

/* ---------- top progress (a line of first light) ---------- */
.dawn {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}
.dawn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ring);
  transform-origin: right center;
  transform: scaleX(var(--p, 0));
}
.dawn::after {
  content: "";
  position: absolute;
  inset-block-start: -4px;
  inset-inline-end: calc(var(--p, 0) * 100% - 5px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 225, 255, 0.25), 0 0 18px 6px rgba(92, 225, 255, 0.8);
  opacity: min(1, calc(var(--p, 0) * 40));
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(19, 3, 33, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px -6px rgba(123, 44, 191, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.brand__latin {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  direction: ltr;
}
.brand__ar {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-3);
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line-2);
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:not(.btn):hover,
.nav__links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav__cta {
  margin-inline-start: 10px;
}
.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  place-items: center;
}
.nav__burger .ic {
  width: 22px;
  height: 22px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: calc(var(--nav-h) + clamp(36px, 6vw, 84px)) clamp(60px, 8vw, 110px);
  isolation: isolate;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 46% at 24% 22%, rgba(123, 44, 191, 0.62), transparent 72%),
    radial-gradient(40% 36% at 92% 78%, rgba(0, 180, 216, 0.26), transparent 72%),
    radial-gradient(70% 50% at 50% 118%, rgba(79, 139, 255, 0.28), transparent 70%),
    linear-gradient(180deg, #0a0117 0%, #130321 55%, #130321 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  color: var(--text);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.7vw, 4.3rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  display: block;
  width: fit-content;
}
.hero__lead {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 2.05;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  font-size: 0.92rem;
  color: var(--text-3);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta .ic {
  color: var(--cyan);
  width: 1.1em;
  height: 1.1em;
}

/* hero visual */
.stage {
  position: relative;
  height: clamp(520px, 52vw, 700px);
  perspective: 1400px;
}
.stage__ring {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: min(150%, 960px);
  max-width: none;
  aspect-ratio: 1;
  transform: translate(50%, -50%);
  opacity: 0.55;
  pointer-events: none;
}
[dir="rtl"] .stage__ring {
  transform: translate(50%, -50%);
  animation: orbit 60s linear infinite;
}
@keyframes orbit {
  to { rotate: -360deg; }
}
.stage__glow {
  position: absolute;
  inset: 8% 4%;
  background:
    radial-gradient(40% 40% at 50% 50%, rgba(123, 44, 191, 0.55), transparent 70%),
    radial-gradient(30% 30% at 70% 30%, rgba(92, 225, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.stage .phone {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transition: transform 0.6s var(--ease);
  translate: calc(var(--mx, 0) * -22px * var(--z, 1)) calc(var(--my, 0) * -16px * var(--z, 1));
}
.stage .phone--c {
  --w: clamp(220px, 21vw, 292px);
  transform: translate(50%, -50%);
  z-index: 3;
}
.stage .phone--l {
  --w: clamp(176px, 17vw, 236px);
  transform: translate(calc(50% + clamp(96px, 13vw, 200px)), -44%) rotate(6deg);
  z-index: 1;
  opacity: 0.96;
}
.stage .phone--r {
  --w: clamp(176px, 17vw, 236px);
  transform: translate(calc(50% - clamp(96px, 13vw, 200px)), -56%) rotate(-6deg);
  z-index: 2;
  opacity: 0.98;
}
.float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 18px;
  background: rgba(26, 10, 46, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  animation: bob 7s ease-in-out infinite;
}
.float small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-3);
  font-weight: 500;
}
.float .ico {
  width: 38px;
  height: 38px;
}
.float--1 {
  inset-block-start: 9%;
  inset-inline-end: -2%;
  animation-delay: -1s;
}
.float--2 {
  inset-block-end: 13%;
  inset-inline-start: -4%;
  animation-delay: -3.4s;
}
.float--3 {
  inset-block-end: 4%;
  inset-inline-end: 6%;
  animation-delay: -5.2s;
  padding: 8px 12px;
}
.float--3 img {
  width: 76px;
  height: 76px;
  margin: -14px -4px -14px 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5));
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---------- phone ---------- */
.phone {
  --w: 300px;
  width: var(--w);
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.155);
  background: linear-gradient(150deg, #3a2160 0%, #120720 38%, #0a0412 62%, #2b1750 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 0 0 1.5px rgba(8, 2, 16, 0.9),
    0 50px 90px -30px rgba(90, 40, 200, 0.7),
    0 30px 60px -20px rgba(0, 0, 0, 0.85);
  position: relative;
}
.phone::before {
  /* side button */
  content: "";
  position: absolute;
  inset-block-start: 22%;
  inset-inline-end: -2.5px;
  width: 3px;
  height: 11%;
  border-radius: 3px;
  background: linear-gradient(180deg, #4a3170, #1a0d2e);
}
.phone__screen {
  position: relative;
  border-radius: calc(var(--w) * 0.128);
  overflow: hidden;
  background: #0b0415;
  aspect-ratio: 390 / 844;
}
.phone__screen::after {
  /* dynamic island */
  content: "";
  position: absolute;
  inset-block-start: calc(var(--w) * 0.03);
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 27%;
  height: calc(var(--w) * 0.075);
  border-radius: 999px;
  background: #05010a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 3;
}
[dir="rtl"] .phone__screen::after {
  transform: translateX(50%);
}
.phone__screen::before {
  /* glass sheen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 26%);
}
.phone__screen img,
.phone__screen picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- section: the idea (light enters the lecture) ---------- */
.idea {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(123, 44, 191, 0.28), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #170629 100%);
}
.idea__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.idea__list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.idea__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-2);
  line-height: 1.85;
}
.idea__list .dot {
  margin-top: 0.62em;
}
.idea__list strong {
  color: #fff;
}
.lecture {
  position: relative;
  border-radius: var(--r-xl);
  padding: 8px;
  background: linear-gradient(160deg, rgba(167, 123, 255, 0.35), rgba(92, 225, 255, 0.1) 40%, rgba(255, 255, 255, 0.04));
}
.lecture__paper {
  position: relative;
  border-radius: calc(var(--r-xl) - 8px);
  background: #12061f;
  padding: clamp(22px, 3vw, 36px);
  overflow: hidden;
}
.lecture__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 600;
}
.lecture p {
  font-size: 1rem;
  line-height: 2.1;
  color: rgba(194, 179, 212, 0.4);
  transition: color 0.9s var(--ease);
}
.lecture p + p {
  margin-top: 14px;
}
.lecture .src {
  position: relative;
  border-radius: 14px;
  padding: 10px 16px;
  margin-inline: -16px;
  color: rgba(194, 179, 212, 0.5);
  transition: color 0.9s var(--ease) 0.15s, background 1s var(--ease) 0.15s, box-shadow 1s var(--ease) 0.15s;
}
.lecture.is-lit .src {
  color: #fff;
  background: linear-gradient(90deg, rgba(92, 225, 255, 0.12), rgba(167, 123, 255, 0.16));
  box-shadow: inset 0 0 0 1px rgba(92, 225, 255, 0.35), 0 0 40px -6px rgba(92, 225, 255, 0.4);
}
.lecture .src::before {
  content: "";
  position: absolute;
  inset-block-start: 1.18em;
  inset-inline-end: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 225, 255, 0.3), 0 0 18px 6px rgba(92, 225, 255, 0.85);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.6s 0.5s, transform 0.9s var(--ease) 0.5s;
}
.lecture.is-lit .src::before {
  opacity: 1;
  transform: scale(1);
}
.lecture__ans {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.9s, transform 0.8s var(--ease) 0.9s;
}
.lecture.is-lit .lecture__ans {
  opacity: 1;
  transform: none;
}
.bubble {
  display: block;
  padding: 16px 20px;
  border-radius: 20px;
  border-start-start-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--text);
}
.cite {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(92, 225, 255, 0.1);
  border: 1px solid rgba(92, 225, 255, 0.35);
}
.cite .ic {
  width: 1em;
  height: 1em;
}
.note {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 14px;
}

/* ---------- pillars ---------- */
.pillars {
  background: linear-gradient(180deg, #170629 0%, var(--night) 12%, var(--night) 100%);
}
.pillars__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 28px;
  opacity: 0.38;
  transition: opacity 0.5s var(--ease);
}
.step.is-on {
  opacity: 1;
}
.step__no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cyan);
  margin-bottom: 14px;
}
.step__no b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(92, 225, 255, 0.1);
  border: 1px solid rgba(92, 225, 255, 0.35);
  font-weight: 800;
}
.step h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
}
.step p {
  margin-top: 16px;
  color: var(--text-2);
  line-height: 2;
  max-width: 34em;
}
.step ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.step li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text);
}
.step li .ic {
  color: var(--cyan);
  margin-top: 0.3em;
  width: 1.1em;
  height: 1.1em;
}
.step__phone {
  display: none;
  margin-top: 30px;
}
.pillars__stick {
  position: sticky;
  inset-block-start: max(calc(var(--nav-h) + 12px), 9vh);
  display: grid;
  place-items: center;
  min-height: min(82vh, 760px);
}
.pillars__stick .halo {
  position: absolute;
  inset: 6% 0;
  background:
    radial-gradient(46% 42% at 50% 50%, rgba(123, 44, 191, 0.5), transparent 70%),
    radial-gradient(28% 26% at 66% 28%, rgba(92, 225, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.deck {
  --w: clamp(250px, 26vw, 340px);
  position: relative;
}
.deck .phone {
  width: var(--w);
}
.deck .phone__screen img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}
.deck .phone__screen img.is-on {
  opacity: 1;
  transform: none;
}
.deck__dots {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(100% + 22px);
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
}
.deck__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: all 0.4s var(--ease);
}
.deck__dots i.is-on {
  background: #fff;
  height: 26px;
  border-radius: 8px;
  box-shadow: 0 0 14px 2px rgba(92, 225, 255, 0.7);
}

/* ---------- Ora ---------- */
.ora {
  background:
    radial-gradient(50% 40% at 15% 15%, rgba(0, 180, 216, 0.16), transparent 70%),
    radial-gradient(60% 50% at 90% 85%, rgba(123, 44, 191, 0.4), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #1a0832 50%, var(--night) 100%);
  overflow: clip;
}
.ora__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.ora__fig {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.ora__fig::before {
  content: "";
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(123, 44, 191, 0.55), transparent),
    conic-gradient(from 210deg, transparent 0 50%, rgba(92, 225, 255, 0.14) 62%, transparent 76%);
}
.ora__bot {
  position: relative;
  width: min(100%, 340px);
  animation: hover 6s ease-in-out infinite;
}
.ora__bot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.35s;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.ora__bot::before {
  content: "";
  display: block;
  aspect-ratio: 640 / 700;
}
.ora__bot img.is-on {
  opacity: 1;
}
.ora__label {
  position: absolute;
  inset-block-end: 4%;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(26, 10, 46, 0.8);
  border: 1px solid var(--line-2);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
@keyframes hover {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.chat {
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.chat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}
.chat__who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat__who img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2d0a4f, #130321);
  padding: 4px;
  box-shadow: 0 0 0 1px var(--line-2);
}
.chat__who b {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
}
.chat__who small {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.78rem;
}
.chat__tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-3);
  padding: 4px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 999px;
}
.chat__log {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 330px;
  max-height: 430px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.msg {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 20px;
  line-height: 1.95;
  font-size: 0.98rem;
  animation: pop 0.45s var(--ease) both;
}
.msg--me {
  align-self: flex-start;
  border-start-start-radius: 6px;
  background: linear-gradient(135deg, #5b2fb0, #3f55d6);
  color: #fff;
}
.msg--ora {
  align-self: flex-end;
  border-start-end-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}
.msg--ora .cite {
  margin-top: 10px;
}
.msg--warn {
  border-color: rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.07);
}
.msg__tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f5c46a;
  margin-bottom: 4px;
}
.msg__sticker {
  width: 120px;
  margin-top: 8px;
}
.typing {
  align-self: flex-end;
  display: flex;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.1s 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: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.chat__ask {
  padding: 16px 22px 22px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
}
.chat__ask p {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 10px;
}
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qchip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: start;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.qchip:hover:not(:disabled) {
  background: rgba(92, 225, 255, 0.1);
  border-color: rgba(92, 225, 255, 0.5);
  transform: translateY(-2px);
}
.qchip:disabled {
  opacity: 0.4;
  cursor: default;
}
.qchip--ok {
  border-color: rgba(92, 225, 255, 0.55);
  background: rgba(92, 225, 255, 0.1);
  color: #fff;
}

.traits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 72px);
}
.trait {
  padding: 26px 26px 28px;
  border-radius: var(--r-lg);
}
.trait .ico {
  margin-bottom: 18px;
}
.trait h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
.trait p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.95;
}
.trait q {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.9;
  quotes: "«" "»";
}
.limits {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.28);
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.95;
}
.limits .ic {
  color: #f5c46a;
  margin-top: 0.35em;
}
.limits strong {
  color: #fff;
}
.stickers {
  display: flex;
  gap: clamp(8px, 2vw, 22px);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px);
}
.stickers img {
  width: clamp(92px, 12vw, 148px);
  transition: transform 0.4s var(--ease);
}
.stickers img:nth-child(odd) {
  rotate: -4deg;
}
.stickers img:nth-child(even) {
  rotate: 3deg;
}
.stickers img:hover {
  transform: translateY(-8px) scale(1.06) rotate(0deg);
}

/* ---------- icon tile ---------- */
.ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(140deg, #7b2cbf 0%, #4f6bff 70%, #2aa4ff 100%);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(91, 75, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  flex: none;
}
.ico .ic {
  width: 23px;
  height: 23px;
}
.ico--cyan {
  background: linear-gradient(140deg, #0791b3 0%, #00b4d8 55%, #5ce1ff 100%);
  color: #04202b;
  box-shadow: 0 10px 22px -10px rgba(0, 180, 216, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.ico--lg {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.ico--lg .ic {
  width: 27px;
  height: 27px;
}

/* ---------- tools ---------- */
.tools {
  background: linear-gradient(180deg, var(--night) 0%, #150626 100%);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.3;
  transition: all 0.25s var(--ease);
}
.tab .ic {
  color: var(--cyan);
}
.tab:hover {
  background: rgba(255, 255, 255, 0.09);
}
.tab[aria-selected="true"] {
  background: var(--btn);
  border-color: transparent;
  box-shadow: 0 12px 28px -10px rgba(91, 75, 255, 0.8);
}
.tab[aria-selected="true"] .ic {
  color: #fff;
}
.tab small {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.7;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.tools__hint {
  color: var(--text-2);
  margin-bottom: 26px;
  font-size: 1.02rem;
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 16px;
}
.tool {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  animation: pop 0.5s var(--ease) both;
}
.tool:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 123, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}
.tool h3 {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}
.tool p {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.85;
}
.tools__shots {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 48px);
  margin-top: clamp(48px, 6vw, 80px);
}
.tools__shots .phone {
  --w: clamp(190px, 22vw, 270px);
}
.tools__shots .phone:nth-child(2) {
  margin-top: 48px;
}

/* ---------- practice (bento) ---------- */
.practice {
  background:
    radial-gradient(50% 40% at 100% 0%, rgba(0, 180, 216, 0.14), transparent 70%),
    linear-gradient(180deg, #150626 0%, var(--night) 100%);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  background: var(--glass);
  border: 1px solid var(--line);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.cell h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.35;
  margin-top: 18px;
}
.cell p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 0.99rem;
  line-height: 1.95;
  max-width: 30em;
}
.cell--a { grid-column: span 3; }
.cell--b { grid-column: span 3; }
.cell--c { grid-column: span 2; }
.cell--d { grid-column: span 2; }
.cell--e { grid-column: span 2; }
.cell .phone {
  --w: clamp(190px, 19vw, 240px);
  position: absolute;
  inset-block-end: -18%;
  inset-inline-end: clamp(16px, 4vw, 48px);
  transform: rotate(-5deg);
  transition: transform 0.6s var(--ease);
}
.cell--b .phone {
  transform: rotate(5deg);
}
.cell:hover .phone {
  transform: rotate(0deg) translateY(-12px);
}
.cell--a, .cell--b {
  min-height: 460px;
}
.cell--a > *:not(.phone),
.cell--b > *:not(.phone) {
  max-width: 54%;
  position: relative;
  z-index: 2;
}
.cell .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cell--glow::after {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(123, 44, 191, 0.5), transparent);
  pointer-events: none;
}

/* ---------- readiness ---------- */
.ready {
  background: linear-gradient(180deg, var(--night) 0%, #170629 100%);
}
.ready__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.gauge {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 44px);
  background: var(--glass);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.gauge__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
}
.gauge__ring {
  position: relative;
  width: 170px;
  height: 170px;
}
.gauge__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gauge__ring .trk {
  stroke: rgba(255, 255, 255, 0.09);
}
.gauge__ring .val {
  stroke: url(#gGrad);
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 2s var(--ease) 0.3s;
}
.gauge.is-in .gauge__ring .val {
  stroke-dashoffset: calc(440 - 440 * 0.62);
}
.gauge__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.gauge__num b {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}
.gauge__num small {
  font-size: 0.74rem;
  color: var(--text-3);
  margin-top: 6px;
}
.gauge__bars {
  display: grid;
  gap: 16px;
}
.bar label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.bar label span {
  color: var(--text-3);
  font-weight: 500;
}
.bar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: var(--ring);
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) 0.5s;
}
.gauge.is-in .bar i::before {
  transform: scaleX(1);
}
.bar--missing i::before {
  background: repeating-linear-gradient(135deg, rgba(245, 166, 35, 0.8) 0 6px, transparent 6px 12px);
}
.gauge__say {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: rgba(245, 166, 35, 0.07);
  border: 1px solid rgba(245, 166, 35, 0.3);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}
.gauge__say .ic {
  color: #f5c46a;
  margin-top: 0.3em;
}
.ready__pts {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}
.ready__pts li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ready__pts b {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.ready__pts span {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.9;
}

/* ---------- trust ---------- */
.trust {
  background: linear-gradient(180deg, #170629 0%, var(--night) 100%);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tcard {
  padding: 30px 28px 32px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
}
.tcard h3 {
  margin-top: 20px;
  font-size: 1.22rem;
  font-weight: 800;
}
.tcard p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.95;
}
.tcard a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.93rem;
}
.tcard a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- teachers ---------- */
.teach {
  background:
    radial-gradient(50% 50% at 0% 50%, rgba(123, 44, 191, 0.3), transparent 70%),
    var(--night);
}
.teach__box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(0, 180, 216, 0.16), transparent 60%),
    linear-gradient(150deg, rgba(123, 44, 191, 0.34), rgba(26, 10, 46, 0.6));
  border: 1px solid var(--line-2);
}
.teach__ring {
  position: absolute;
  left: -10%;
  top: -34%;
  width: 560px;
  max-width: none;
  opacity: 0.2;
  pointer-events: none;
}
.teach__box > *:not(.teach__ring) {
  position: relative;
}
.teach__list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.teach__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  line-height: 1.85;
  color: var(--text);
}
.teach__list .ic {
  color: var(--cyan);
  margin-top: 0.3em;
}
.teach__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.teach__vis {
  display: grid;
  gap: 14px;
}
.tpt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: rgba(10, 1, 23, 0.55);
  border: 1px solid var(--line);
}
.tpt b {
  display: block;
  font-size: 1.02rem;
}
.tpt span {
  font-size: 0.88rem;
  color: var(--text-3);
}

/* ---------- start ---------- */
.start {
  background: linear-gradient(180deg, var(--night) 0%, #150626 100%);
}
.start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: s;
}
.sstep {
  position: relative;
  padding: 34px 30px 32px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
}
.sstep::before {
  counter-increment: s;
  content: counter(s, arabic-indic);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.2rem;
  background: var(--ring);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(79, 139, 255, 0.8);
}
.sstep h3 {
  margin-top: 22px;
  font-size: 1.28rem;
  font-weight: 800;
}
.sstep p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.95;
}
.sstep a.lnk {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 700;
}
.start__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--night);
}
.faq__list {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.q {
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}
.q[open] {
  border-color: rgba(167, 123, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}
.q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.6;
}
.q summary::-webkit-details-marker {
  display: none;
}
.q summary .ic {
  transition: transform 0.35s var(--ease);
  color: var(--cyan);
}
.q[open] summary .ic {
  transform: rotate(180deg);
}
.q div {
  padding: 0 26px 24px;
  color: var(--text-2);
  line-height: 2;
  font-size: 1rem;
}
.q div a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- final CTA ---------- */
.final {
  position: relative;
  isolation: isolate;
  overflow: clip;
  text-align: center;
  padding-block: clamp(90px, 12vw, 170px);
  background: linear-gradient(180deg, var(--night) 0%, #1f0a3a 100%);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 62% at 50% 112%, rgba(0, 180, 216, 0.55), transparent 62%),
    radial-gradient(60% 52% at 50% 112%, rgba(139, 92, 255, 0.7), transparent 70%),
    radial-gradient(90% 60% at 50% 125%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.final::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  box-shadow: 0 0 40px 8px rgba(92, 225, 255, 0.5);
}
.final__mark {
  width: clamp(120px, 16vw, 190px);
  margin-inline: auto;
  margin-bottom: 34px;
}
.final h2 {
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.22;
  text-wrap: balance;
}
.final .lead {
  max-width: 36em;
  margin-inline: auto;
}
.final__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- footer ---------- */
.foot {
  background: #0a0117;
  border-top: 1px solid var(--line);
  padding-block: 64px 28px;
  font-size: 0.97rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.foot p {
  color: var(--text-3);
  line-height: 1.95;
  margin-top: 18px;
  max-width: 28em;
  font-size: 0.93rem;
}
.foot h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}
.foot ul {
  display: grid;
  gap: 12px;
}
.foot ul a {
  color: var(--text-2);
  transition: color 0.2s;
}
.foot ul a:hover {
  color: var(--cyan);
}
.foot__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-3);
}
.foot__bar .fine {
  max-width: 62em;
  line-height: 1.8;
}

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.is-in {
  opacity: 1;
  transform: none;
}
.no-js .rv {
  opacity: 1;
  transform: none;
}

/* ---------- inner pages (contact / legal / 404) ---------- */
.page {
  padding-block: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) clamp(70px, 9vw, 120px);
  background:
    radial-gradient(50% 36% at 80% 0%, rgba(123, 44, 191, 0.45), transparent 70%),
    radial-gradient(40% 30% at 5% 40%, rgba(0, 180, 216, 0.14), transparent 70%),
    var(--night);
  min-height: 70vh;
}
.page__head {
  max-width: 820px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.page__head h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
}
.page__meta {
  color: var(--text-3);
  margin-top: 14px;
  font-size: 0.93rem;
}
.page--doc .page__head,
.page--doc .legal {
  max-width: 880px;
  margin-inline: auto;
}
.legal {
  max-width: 880px;
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 52px);
  background: var(--glass);
  border: 1px solid var(--line);
}
.legal .legal-section + .legal-section {
  margin-top: 38px;
}
.legal h2 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #fff;
}
.legal h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.legal p,
.legal li {
  color: var(--text-2);
  line-height: 2.05;
  font-size: 1rem;
}
.legal p + p {
  margin-top: 10px;
}
.legal strong {
  color: #fff;
}
.legal ul {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-inline-start: 1.2em;
  list-style: none;
}
.legal ul li {
  position: relative;
}
.legal ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.1em;
  inset-block-start: 1em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(92, 225, 255, 0.8);
}
.legal a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal .box {
  margin-block: 30px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  background: rgba(92, 225, 255, 0.06);
  border: 1px solid rgba(92, 225, 255, 0.28);
}
.legal .box p {
  color: var(--text);
}
.legal .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.legal .steps > div {
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.legal .steps .n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ring);
  font-weight: 900;
  margin-bottom: 12px;
}
.legal .steps p {
  font-size: 0.93rem;
  line-height: 1.9;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.ccards {
  display: grid;
  gap: 14px;
}
.ccard {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
a.ccard:hover {
  border-color: rgba(92, 225, 255, 0.5);
  transform: translateY(-3px);
}
.ccard b {
  display: block;
  font-size: 1.05rem;
}
.ccard .v {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  color: var(--cyan);
  direction: ltr;
  text-align: start;
  font-size: 1.05rem;
}
.ccard span.d {
  display: block;
  margin-top: 6px;
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.85;
}
.form {
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--glass);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.form h2 {
  font-size: 1.5rem;
  font-weight: 800;
}
.form > p {
  color: var(--text-2);
  margin-top: 6px;
  font-size: 0.97rem;
}
.f {
  margin-top: 18px;
}
.f label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.f input,
.f select,
.f textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(10, 1, 23, 0.6);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 52px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.f textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.8;
}
.f input:focus,
.f select:focus,
.f textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.2);
}
.f select option {
  background: #1a0a2e;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form__btns {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.btn--wa {
  background: linear-gradient(135deg, #1faa59, #25d366);
  color: #04200f;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.7);
}
.form__note {
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--text-3);
  line-height: 1.85;
}
.form__ok {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(31, 169, 113, 0.12);
  border: 1px solid rgba(31, 169, 113, 0.4);
  font-size: 0.93rem;
  line-height: 1.85;
}
.form__ok.is-on {
  display: block;
}
.err404 {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-block: 40px;
}
.err404 b {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 900;
  line-height: 1;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a:not(.btn) {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav__burger {
    display: grid;
  }
  .nav__links {
    position: fixed;
    inset-block-start: calc(var(--nav-h) + 8px);
    inset-inline: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(19, 3, 33, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 80px -20px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links a:not(.btn) {
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: 14px;
  }
  .nav__cta {
    margin: 8px 0 0;
  }
  .nav__cta.btn {
    width: 100%;
  }

  .hero__grid,
  .idea__grid,
  .ready__grid,
  .teach__box,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: start;
  }
  .stage {
    height: clamp(460px, 110vw, 620px);
    margin-top: 12px;
  }
  .stage .phone--c { --w: clamp(190px, 50vw, 260px); }
  .stage .phone--l,
  .stage .phone--r {
    --w: clamp(150px, 38vw, 210px);
  }
  .stage .phone--l { transform: translate(calc(50% + 24vw), -44%) rotate(6deg); }
  .stage .phone--r { transform: translate(calc(50% - 24vw), -56%) rotate(-6deg); }

  .pillars__grid {
    grid-template-columns: 1fr;
  }
  .pillars__stick {
    display: none;
  }
  .step {
    min-height: 0;
    opacity: 1;
    padding-block: 40px;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .step__phone {
    display: block;
  }
  .step__phone .phone {
    --w: min(70vw, 300px);
    margin-inline: auto;
  }
  .ora__grid {
    grid-template-columns: 1fr;
  }
  .ora__fig {
    min-height: 360px;
    order: -1;
  }
  .ora__bot {
    width: min(70%, 280px);
  }
  .traits,
  .trust__grid,
  .start__grid {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .cell--a, .cell--b, .cell--c, .cell--d, .cell--e {
    grid-column: auto;
    min-height: 0;
  }
  .cell--a > *:not(.phone),
  .cell--b > *:not(.phone) {
    max-width: none;
  }
  .cell .phone {
    position: relative;
    inset: auto;
    transform: none !important;
    margin: 28px auto -34% auto;
    --w: min(64vw, 250px);
  }
  .tools__shots .phone:nth-child(3) {
    display: none;
  }
  .gauge__row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .gauge__bars {
    width: 100%;
  }
  .legal .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
  }
  body {
    font-size: 1rem;
  }
  .brand__ar {
    display: none;
  }
  .btn {
    --h: 52px;
    padding: 0 22px;
  }
  .hero__cta .store {
    flex: 1 1 100%;
  }
  .float--1 { inset-inline-end: -3%; inset-block-start: 4%; }
  .float--2 { inset-inline-start: -3%; inset-block-end: 10%; }
  .float--3 { display: none; }
  .float {
    font-size: 0.8rem;
    padding: 9px 13px 9px 11px;
  }
  .float .ico {
    width: 32px;
    height: 32px;
  }
  .chat__log {
    padding: 16px;
    min-height: 300px;
  }
  .msg {
    max-width: 94%;
  }
  .tab {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  .frow {
    grid-template-columns: 1fr;
  }
  .foot__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .q summary {
    padding: 18px 20px;
    font-size: 1rem;
  }
  .q div {
    padding: 0 20px 20px;
  }
  .deck__dots {
    display: none;
  }
  .tools__shots .phone:nth-child(2) {
    margin-top: 30px;
  }
}

@media (hover: none) {
  .tool:hover,
  .btn--primary:hover,
  .btn--ghost:hover,
  .store:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .lecture .src,
  .lecture__ans {
    transition: none;
  }
}

@media print {
  .nav, .dawn, .skip { display: none; }
  body { background: #fff; color: #000; }
}
