/* TuitGPT landing — brand «Маркер» (mobile/src/theme/tokens.ts, design/redesign/bold-campus/concept.md).
   Structure and rhythm after a Framer-style app landing; all copy, colours, fonts and art are TuitGPT's own.
   Motion uses transform/opacity; everything turns off with prefers-reduced-motion or ?static=1. */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Onest"; src: url("../fonts/onest-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
/* Unbounded ships in one weight (800): every display number and label uses it, so one file is downloaded. */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  /* brand palette (tokens.ts → base) */
  --cobalt: #2D3CE6;
  --cobalt-deep: #2230C4;
  --cobalt-hover: #3846F0;
  --cobalt-tint: #E3E6FF;
  --marker: #FFE433;
  --marker-tint: #FFF5B3;
  --red: #E1243A;
  --red-text: #C41C33;
  --red-tint: #FFE2E5;
  --mint: #3DDC97;
  --mint-text: #0A7A4E;
  --mint-tint: #D7F7E8;
  --lilac: #B99EF9;
  --lilac-text: #5B3FD6;
  --lilac-tint: #EEE8FF;
  --sky: #5BC2F2;
  --peach: #FFB48A;
  --ink: #17134A;
  --ink2: #4B4874;
  --ink3: #6B6990;
  --night: #0F0C2E;
  --paper: #F4F6FC;
  --grid: #E4E9F5;
  --surface2: #ECEFF8;
  --line: #DCE1EF;
  --tab-inactive: #A9A7C6;
  --ink-veil: rgba(23, 19, 74, .14);
  --ink-veil-strong: rgba(23, 19, 74, .25);

  /* landing surfaces */
  --bg: #FFFFFF;
  --soft: #F7F8FC;
  --soft-line: rgba(23, 19, 74, .065);
  --muted: #5F5C86;       /* body copy on white: 6.3:1 */

  --shadow-xs: 0 1px 2px rgba(23, 19, 74, .05);
  --shadow-card: 0 2px 8px rgba(23, 19, 74, .05), inset 0 -2px 4px rgba(255, 255, 255, .5);
  --shadow-float: 0 8px 30px rgba(23, 19, 74, .08);
  --shadow-pop: 0 24px 60px -18px rgba(23, 19, 74, .22), 0 6px 18px -8px rgba(23, 19, 74, .10);

  --r-xl: 40px;
  --r-l: 24px;
  --r-m: 20px;
  --r-s: 16px;
  --pill: 100px;

  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Unbounded", "Onest", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1140px;
  --gutter: 24px;
  --nav-h: 64px;
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 18px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
::selection { background: var(--marker); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite .s, symbol .s { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
symbol .f { fill: currentColor; }
symbol rect:not(.s):not(.f), symbol path:not(.s):not(.f), symbol circle:not(.s):not(.f) { fill: currentColor; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; transition: top .2s; }
.skip:focus { top: 12px; }
.skip-motion { cursor: pointer; border: 0; font-family: var(--font); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
[tabindex="-1"]:focus { outline: none; }
.i18n-wait body { visibility: hidden; animation: i18n-reveal 0s 1.2s forwards; }
@keyframes i18n-reveal { to { visibility: visible; } }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: 140px 0; }

/* ------------------------------------------------------------------ type */
.h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h3 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; margin: 20px auto 0; text-wrap: pretty; }
.sec-lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; margin-top: 18px; text-wrap: pretty; }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 13px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink2);
  font-size: 13.5px; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  box-shadow: 0 0 0 1px rgba(23, 19, 74, .08), 0 2px 6px rgba(23, 19, 74, .06), inset 0 -2px 3px rgba(23, 19, 74, .03);
  margin-bottom: 18px;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-tint); }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head .sec-lead { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px;
  border: 0; border-radius: var(--pill);
  font: 600 16px/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 19px; height: 19px; margin-left: -2px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .09s; }
.btn-primary {
  background: var(--cobalt); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .10), 0 10px 22px -10px rgba(45, 60, 230, .75), 0 2px 5px rgba(45, 60, 230, .22);
}
.btn-primary:hover { background: var(--cobalt-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .10), 0 16px 30px -12px rgba(45, 60, 230, .8), 0 3px 8px rgba(45, 60, 230, .25); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(23, 19, 74, .09), 0 2px 8px rgba(23, 19, 74, .06), inset 0 -2px 3px rgba(23, 19, 74, .03); }
.btn-ghost:hover { box-shadow: 0 0 0 1px rgba(23, 19, 74, .12), 0 10px 24px -10px rgba(23, 19, 74, .22); }
.btn-white { background: #fff; color: var(--cobalt); box-shadow: 0 12px 26px -12px rgba(9, 12, 80, .55); }
.btn-outline-white { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn-white:focus-visible, .btn-outline-white:focus-visible { outline-color: #fff; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 50;
  width: min(880px, calc(100% - 32px));
  transform: translateX(-50%);
}
.nav-bar {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-h); padding: 0 11px 0 22px;
  border-radius: var(--pill);
  transform-origin: 50% 0;
  transition: transform .45s var(--ease);
}
.nav-bar::before, .nav-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; transition: opacity .45s var(--ease); }
.nav-bar::before { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 0 0 1px rgba(23, 19, 74, .06), 0 6px 24px -6px rgba(23, 19, 74, .12), inset 0 -2px 4px rgba(255, 255, 255, .6); }
.nav-bar::after { opacity: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 1px rgba(23, 19, 74, .07), 0 14px 40px -12px rgba(23, 19, 74, .22); }
.nav.compact .nav-bar { transform: translateY(-4px); } /* no scale: it blurs the 21x14 flags */
.nav.compact .nav-bar::after { opacity: 1; }
.nav-logo { display: inline-flex; flex: none; border-radius: 8px; }
.nav-logo img { width: 96px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 9px 13px; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(23, 19, 74, .045); }
.nav-links a.active { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
/* Language: a menu button (site.js: roles, keys, in-place switch). Without JS the button is hidden and the
   two links show as a plain RU / UZ switch (html:not(.js) below). */
.lang-dd { position: relative; flex: none; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 11px 0 14px; border: 0; border-radius: var(--pill); cursor: pointer;
  background: rgba(23, 19, 74, .055); color: var(--ink);
  font: 700 14px/1 var(--font); letter-spacing: .01em;
  transition: background-color .2s, box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lang-trigger:hover { background: rgba(23, 19, 74, .09); }
.lang-globe { width: 18px; height: 18px; color: var(--ink2); }
/* flags (#flag-ru / #flag-uz in the sprite, design/site-reference/tools/flags.mjs), always at their own 21x14:
   the Uzbek flag's thin red lines sit on whole pixels and blur when scaled. The buttons show the flag of the
   visible language (html[lang] switches with the text). */
.flag { display: block; flex: none; width: 21px; height: 14px; }
html:not([lang="uz"]) .lang-trigger .flag-uz, html[lang="uz"] .lang-trigger .flag-ru { display: none; }
.lang-chev { width: 14px; height: 14px; color: var(--ink3); transform: rotate(90deg); transition: transform .35s var(--ease); }
.lang-dd.open .lang-trigger { background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .08), 0 6px 16px -8px rgba(23, 19, 74, .3); }
.lang-dd.open .lang-chev { transform: rotate(-90deg); }
.lang-menu {
  position: absolute; z-index: 5; top: calc(100% + 10px); right: 0; min-width: 214px;
  padding: 6px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 19, 74, .07), var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.96); transform-origin: calc(100% - 30px) 0;
  transition: opacity .16s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.lang-dd.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .34s var(--ease-out), visibility 0s; }
.lang-menu li + li { margin-top: 2px; }
.lang-opt {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 14px; border-radius: 16px;
  color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.lang-opt:hover, .lang-opt:focus { background: var(--soft); outline: none; }
.lang-opt:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: -2.5px; }
.lang-badge { display: inline-grid; place-items: center; flex: none; width: 34px; height: 26px; border-radius: 9px; background: var(--surface2); color: var(--ink2); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; transition: background-color .2s, color .2s; }
/* with JS the flag marks the language; the RU / UZ badge is for the no-JS switch (and the type-ahead) */
.js .lang-opt .lang-badge { display: none; }
.lang-name { flex: 1; white-space: nowrap; }
.lang-check { width: 18px; height: 18px; color: var(--cobalt); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .35s var(--ease-out); }
.lang-opt.on .lang-badge, .lang-opt[aria-current="true"] .lang-badge { background: var(--cobalt); color: #fff; }
.lang-opt.on .lang-check, .lang-opt[aria-current="true"] .lang-check { opacity: 1; transform: none; }
/* in the mobile menu: a full-width row «Язык … Русский»; the list unfolds inside the same card (it pushes the
   button below down instead of covering it) */
.lang-dd-lg { display: grid; grid-template-rows: auto 0fr; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--soft-line); transition: grid-template-rows .34s var(--ease), background-color .2s, box-shadow .25s var(--ease); }
.lang-dd-lg.open { grid-template-rows: auto 1fr; background: #fff; box-shadow: inset 0 0 0 1px rgba(23, 19, 74, .09), 0 12px 28px -16px rgba(23, 19, 74, .32); }
.lang-dd-lg .lang-trigger, .lang-dd-lg.open .lang-trigger { width: 100%; height: 54px; padding: 0 16px; gap: 10px; border-radius: 18px; background: none; box-shadow: none; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lang-dd-lg .lang-trigger:focus-visible { outline-offset: -2.5px; }
.lang-dd-lg .lang-globe { width: 20px; height: 20px; }
.lang-dd-lg .lang-title { color: var(--ink2); }
.lang-dd-lg .lang-trigger .flag { margin-left: auto; }
.lang-dd-lg .lang-cur { font-weight: 700; }
.lang-dd-lg .lang-menu { position: static; min-width: 0; min-height: 0; overflow: hidden; padding: 0 6px; border-radius: 0; background: none; box-shadow: none; transform: none; transition: opacity .18s var(--ease), visibility 0s .34s; }
.lang-dd-lg.open .lang-menu { transform: none; transition: opacity .26s var(--ease) .06s, visibility 0s; }
.lang-dd-lg .lang-menu li:first-child { padding-top: 6px; border-top: 1px solid var(--line); }
.lang-dd-lg .lang-menu li:last-child { padding-bottom: 6px; }
.lang-dd-lg .lang-opt { min-height: 52px; }
/* without JS: RU | UZ links */
html:not(.js) .lang-trigger, html:not(.js) .lang-check, html:not(.js) .lang-opt .flag { display: none; }
html:not(.js) .lang-menu { position: static; display: flex; gap: 2px; min-width: 0; padding: 3px; border-radius: var(--pill); background: rgba(23, 19, 74, .055); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
html:not(.js) .lang-menu li + li { margin: 0; }
html:not(.js) .lang-opt { min-height: 38px; padding: 0; border-radius: var(--pill); background: none; }
html:not(.js) .lang-opt .lang-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:not(.js) .lang-badge { width: 42px; height: 38px; border-radius: var(--pill); background: none; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
html:not(.js) .lang-opt[aria-current="true"] .lang-badge { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23, 19, 74, .16); }
.nav-burger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(23, 19, 74, .06); color: var(--ink); cursor: pointer; place-items: center;
}
.nav-burger .ic { width: 22px; height: 22px; }
.sheet {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  padding: 10px; border-radius: 30px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 19, 74, .06), var(--shadow-pop);
  opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: 50% 0;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.sheet.open { opacity: 1; transform: none; }
/* scrim behind the open mobile menu (on body: .nav is transformed, so a fixed child would be clipped to it) */
body::after { content: ""; position: fixed; inset: 0; z-index: 49; visibility: hidden; opacity: 0; background: rgba(23, 19, 74, .28); transition: opacity .3s var(--ease), visibility 0s .3s; }
.sheet-open body::after { visibility: visible; opacity: 1; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition-delay: 0s; }
.sheet-links { display: flex; flex-direction: column; }
.sheet-links a { padding: 16px 18px; border-radius: 18px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.sheet-links a:hover { background: var(--soft); }
.sheet-foot { display: grid; gap: 12px; padding: 12px 8px 8px; border-top: 1px solid var(--line); margin-top: 6px; }

/* ------------------------------------------------------------------ intro (logo reveal) */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  transition: opacity .5s var(--ease), visibility .5s;
}
/* ~1 s logo reveal over the already-painted page; it fades out on its own (no JS needed), and any
   click, key, wheel or touch makes site.js fade it out at once. */
.intro-on .intro { display: grid; animation: intro-auto .3s .68s forwards; }
@keyframes intro-auto { to { opacity: 0; visibility: hidden; } }
.intro.out { opacity: 0; visibility: hidden; transition-duration: .25s; }
.intro-mark { width: 128px; height: 128px; overflow: visible; filter: drop-shadow(0 18px 30px rgba(45, 60, 230, .35)); }
.intro-mark .intro-tile { transform-box: fill-box; transform-origin: 50% 50%; animation: in-tile .3s var(--ease-out) both; }
.intro-mark .intro-shade { opacity: 0; animation: in-fade .2s .46s forwards; }
.intro-mark .intro-stem { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: in-stem .24s .2s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.intro-mark .intro-bar { stroke-dasharray: 60; stroke-dashoffset: 60; animation: in-bar .2s .37s var(--ease) forwards; }
.intro-mark .intro-dot-x { animation: in-dot-x .3s .24s cubic-bezier(.3, .6, .4, 1) both; }
.intro-mark .intro-dot { transform-box: fill-box; transform-origin: 50% 100%; animation: in-dot .62s 0s both; }
@keyframes in-tile { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes in-fade { to { opacity: 1; } }
@keyframes in-stem { to { transform: none; } }
@keyframes in-bar { to { stroke-dashoffset: 0; } }
@keyframes in-dot-x { from { transform: translateX(0); } to { transform: translateX(26.5px); } }
@keyframes in-dot {
  0% { transform: translateY(-90px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  25% { transform: translateY(0) scale(1, 1); }
  31% { transform: translateY(0) scale(1.55, .6); }
  40% { transform: translateY(-34px) scale(.92, 1.1); animation-timing-function: cubic-bezier(.2, .6, .5, 1); }
  58% { transform: translateY(0) scale(1, 1); }
  64% { transform: translateY(0) scale(1.16, .86); }
  74% { transform: translateY(-8px) scale(1); }
  86%, 100% { transform: none; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 132px 0 0; overflow: hidden; isolation: isolate; }
.sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #CFD7FF 0%, #DEE3FF 24%, #EBEEFF 48%, #F5F6FF 68%, #FFFFFF 90%);
}
.sky-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(45, 60, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 60, 230, .07) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  -webkit-mask-image: radial-gradient(50% 42% at 50% 30%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
  mask-image: radial-gradient(50% 42% at 50% 30%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
}
.cloud { position: absolute; height: auto; opacity: .95; will-change: transform; }
.cloud-l { width: 780px; left: -230px; bottom: 150px; animation: drift-a 38s ease-in-out infinite alternate; }
.cloud-r { width: 860px; right: -300px; bottom: 260px; animation: drift-b 44s ease-in-out infinite alternate; }
.cloud-s { width: 260px; right: 9%; top: 128px; opacity: .6; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate3d(-24px, 0, 0); } to { transform: translate3d(28px, -6px, 0); } }
@keyframes drift-b { from { transform: translate3d(26px, 0, 0); } to { transform: translate3d(-30px, 4px, 0); } }

.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .h1 { max-width: 980px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.trust { margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--muted); letter-spacing: -0.005em; text-wrap: pretty; }

.stage { position: relative; max-width: 1140px; margin: 38px auto 0; display: flex; justify-content: center; }
.phone-rise { position: relative; z-index: 2; }
/* Two classes so this beats the generic .phone-wrap rule below: the hero phone is cut at 720 pt
   (the tab bar stays below the hero's edge) and fades into the page. */
.phone-wrap.phone-wrap-hero {
  --s: .84; --vh: 720px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0, 0, 0, .55) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0, 0, 0, .55) 88%, transparent 100%);
}
.js .phone-rise { translate: 0 140px; opacity: 0; transition: translate 1.5s var(--ease-out) .1s, opacity .9s ease .1s; }
.js.ready .phone-rise { translate: 0 0; opacity: 1; }

/* floating cards */
.fl { position: absolute; z-index: 3; will-change: transform; }
.fl-in { will-change: transform; }
.js .fl-in, .js .fl-mascot { opacity: 0; translate: 0 24px; scale: .94; transition: opacity .8s var(--ease), translate 1s var(--ease-out), scale 1s var(--ease-out); }
.js.ready .fl-in, .js.ready .fl-mascot { opacity: 1; translate: 0 0; scale: 1; }
.js.ready .fl-next .fl-in { transition-delay: .45s; }
.js.ready .fl-file .fl-in { transition-delay: .6s; }
.js.ready .fl-win .fl-in { transition-delay: .75s; }
.js.ready .fl-push .fl-in { transition-delay: .9s; }
.js.ready .fl-mascot { transition-delay: 1.05s; }
/* Desktop: the phone is 348 px wide (half 174); every card keeps 32–40 px of air from the bezel. */
.fl-next { right: calc(50% + 214px); top: 100px; }
.fl-push { right: calc(50% + 206px); top: 230px; }
.fl-file { left: calc(50% + 208px); top: 46px; }
.fl-win { left: calc(50% + 214px); top: 196px; }
.fl-next .fl-in { animation: float 7s ease-in-out infinite; }
.fl-win .fl-in { animation: float 8s ease-in-out -2s infinite; }
.fl-file .fl-in { animation: float 6.5s ease-in-out -4s infinite; }
.fl-push .fl-in { animation: float 9s ease-in-out -1s infinite; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }

.card-float {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), 0 16px 40px -16px rgba(23, 19, 74, .25), inset 0 -2px 4px rgba(255, 255, 255, .6);
  white-space: nowrap;
}
.fl-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.fl-icon .ic { width: 22px; height: 22px; }
.fl-icon-brand { background: var(--cobalt-tint); color: var(--cobalt); }
.fl-icon-hatch { color: var(--cobalt); background: repeating-linear-gradient(-45deg, rgba(45, 60, 230, .13) 0 5px, rgba(45, 60, 230, .03) 5px 10px); box-shadow: inset 0 0 0 1.5px rgba(45, 60, 230, .35); }
.fl-txt { display: flex; flex-direction: column; gap: 2px; }
.fl-txt small { font-size: 13px; font-weight: 600; color: var(--ink3); line-height: 1.2; }
.fl-txt b { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }

.pill-dark {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px 0 6px; border-radius: var(--pill);
  background: var(--ink); color: #fff;
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(23, 19, 74, .55);
}
.pill-check { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; }
.pill-check .ic { width: 17px; height: 17px; }

.fl-mascot { position: absolute; z-index: 1; width: 128px; right: calc(50% + 118px); top: -34px; rotate: -16deg; }
.fl-mascot { animation: peek 5.5s ease-in-out infinite; }
@keyframes peek { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-5px, -7px, 0); } }

/* notification bubble (iOS-like, own drawing) */
.push {
  display: flex; align-items: flex-start; gap: 11px;
  width: 300px; padding: 12px 14px 13px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), 0 18px 44px -18px rgba(23, 19, 74, .3);
  text-align: left; white-space: normal;
}
.push-icon { width: 38px; height: 38px; flex: none; }
.push-body { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 1px; }
.push-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--ink3); font-weight: 600; }
.push-top b { color: var(--ink); font-weight: 700; }
.push-top i { font-style: normal; font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.push-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.push-text { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink2); text-wrap: pretty; }

/* ------------------------------------------------------------------ phone */
.phone-wrap { --s: .8; --vh: 868px; position: relative; width: calc(414px * var(--s)); height: calc(var(--vh) * var(--s)); flex: none; }
.phone { position: absolute; left: 0; top: 0; width: 414px; height: 868px; transform: scale(var(--s)); transform-origin: 0 0; }
.phone-frame {
  position: absolute; inset: 0; padding: 12px;
  border-radius: 70px;
  background: #0B0A1C;
  box-shadow: 0 0 0 2.5px #C7CAE0, 0 0 0 4px #9296B6, 0 0 0 5px #DADCEB, 0 50px 90px -28px rgba(23, 19, 74, .45), 0 24px 40px -24px rgba(23, 19, 74, .35);
}
.phone-btn { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #8F93B3, #D3D6E8); }
.pb-a { left: -8px; top: 150px; height: 34px; }
.pb-b { left: -8px; top: 212px; height: 64px; }
.pb-c { left: -8px; top: 290px; height: 64px; }
.pb-d { right: -8px; left: auto; top: 232px; height: 102px; background: linear-gradient(270deg, #8F93B3, #D3D6E8); }
.phone-screen { position: relative; width: 390px; height: 844px; border-radius: 58px; overflow: hidden; background: var(--paper); isolation: isolate; }
.paper {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px;
}
.island { position: absolute; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; z-index: 6; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: 56px; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 48px; color: var(--ink); }
.sb-time { font: 600 17px/1 var(--font); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sb-ic { display: flex; align-items: center; gap: 6px; }
.sb-sig { width: 18px; height: 12px; } .sb-wifi { width: 16px; height: 12px; } .sb-bat { width: 27px; height: 13px; }
.sb-ic svg { fill: currentColor; }
.sb-light { color: #fff; }

/* in-app UI (the real Home screen at 1 pt = 1 px) */
.app { position: absolute; top: 56px; left: 0; right: 0; padding: 8px 20px 130px; display: flex; flex-direction: column; gap: 22px; color: var(--ink); font-family: var(--font); }
.app .ic { width: 18px; height: 18px; }
.a-head { display: flex; align-items: flex-start; gap: 12px; }
.a-head > div { flex: 1; min-width: 0; }
.a-date { font: 600 14.5px/20px var(--font); color: var(--ink2); }
.a-hello { font: 800 28px/32px var(--display); letter-spacing: -0.6px; margin-top: 2px; }
.a-ava { width: 46px; height: 46px; margin-top: 4px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; font: 800 16px/1 var(--font); }
.a-meta { display: flex; align-items: center; gap: 10px; margin-top: -12px; font: 700 14.5px/20px var(--font); color: var(--ink2); }
.a-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font: 700 13px/17px var(--font); white-space: nowrap; }
.a-chip .ic { width: 15px; height: 15px; }
.a-chip.sm { height: 22px; padding: 0 8px; font-size: 11.5px; }
.a-chip-brand { background: var(--cobalt); color: #fff; }
.a-chip-ink { background: var(--ink); color: #fff; }
.a-chip-neutral { background: var(--surface2); color: var(--ink2); }
.a-chip-danger { background: var(--red-tint); color: var(--red-text); }
.a-chip-success { background: var(--mint-tint); color: var(--mint-text); }
.a-chip-success-tint { background: var(--mint-tint); color: var(--mint-text); }
.a-chip-brand-tint { background: var(--cobalt-tint); color: var(--cobalt); }
.a-chip-lilac-tint { background: var(--lilac-tint); color: var(--lilac-text); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--marker); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: var(--marker); opacity: 0; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .45; } 100% { transform: scale(1); opacity: 0; } }

.a-now { margin: 0 -8px; padding: 18px; border-radius: 32px; background: var(--marker); display: flex; flex-direction: column; gap: 12px; }
.a-now-top { display: flex; align-items: center; justify-content: space-between; }
.a-cap { font: 700 13px/17px var(--font); font-variant-numeric: tabular-nums; }
.a-now-sub { display: flex; flex-direction: column; gap: 2px; }
.a-now-sub b { font: 800 21px/26px var(--font); letter-spacing: -0.2px; }
.a-now-sub span { font: 600 14.5px/20px var(--font); color: var(--ink2); }
.a-now-room { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.a-room { font: 800 42px/44px var(--display); letter-spacing: -1.4px; }
.a-left { font: 800 18px/23px var(--font); letter-spacing: -0.1px; padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.a-prog { display: block; height: 8px; border-radius: 4px; background: var(--ink-veil); overflow: hidden; }
.a-prog i { display: block; height: 100%; border-radius: 4px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, .28)); transition: transform .8s var(--ease); }
.a-dash { display: block; height: 0; border-top: 1.5px dashed var(--ink-veil-strong); margin: 4px 0; }
.a-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 14.5px/20px var(--font); }

.a-abs { margin: 0 -8px; padding: 18px 18px 10px; border-radius: 28px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.a-abs-head { display: flex; align-items: center; gap: 8px; }
.a-abs-head b { flex: 1; font: 700 16px/21px var(--font); }
.a-abs-num { display: flex; align-items: baseline; gap: 10px; color: var(--red-text); }
.a-display { font: 800 58px/58px var(--display); letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.a-of { font: 800 18px/23px var(--font); }
.a-seg { display: flex; gap: 2.6px; height: 15px; }
.a-seg i { flex: 1; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--line); }
.a-seg i.on { background: var(--red); box-shadow: none; }
.a-abs-act { display: flex; align-items: center; gap: 6px; color: var(--red-text); font: 700 14.5px/20px var(--font); }
.a-worst { display: flex; align-items: center; gap: 12px; min-height: 60px; margin: 0 -8px; padding: 10px 12px; border-radius: 16px; background: var(--surface2); }
.a-tile { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 800 13px/1 var(--font); flex: none; }
.a-tile-lilac { background: var(--lilac); color: var(--ink); }
.a-worst-t { flex: 1; display: flex; flex-direction: column; }
.a-worst-t small { font: 500 13px/18px var(--font); color: var(--ink2); }
.a-worst-t b { font: 700 14.5px/20px var(--font); }
.a-badge { height: 22px; padding: 0 8px; border-radius: 9px; background: var(--red-tint); color: var(--red-text); font: 700 12px/22px var(--font); }
.app .a-chev { width: 16px; height: 16px; color: var(--ink3); }
.a-sec { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: -12px; }
.a-sec b { font: 800 18px/23px var(--font); letter-spacing: -0.1px; }
.a-sec span { font: 700 14.5px/20px var(--font); color: var(--cobalt); }
.a-dl { margin: 0 -8px; padding: 14px; border-radius: 24px; background: #fff; display: flex; align-items: center; gap: 12px; }
.a-dl + .a-dl { margin-top: -12px; }
.a-date-tile { width: 52px; min-height: 56px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.a-date-tile b { font: 800 18px/22px var(--display); letter-spacing: -0.3px; }
.a-date-tile small { font: 700 13px/17px var(--font); margin-top: -2px; }
.a-tint-cobalt { background: var(--cobalt-tint); color: var(--cobalt); }
.a-tint-lilac { background: var(--lilac-tint); color: var(--lilac-text); }
.a-dl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.a-dl-t > b { font: 700 16px/21px var(--font); }
.a-dl-t > small { font: 500 13px/18px var(--font); color: var(--ink2); }
.a-dl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.a-dl-meta .a-chip { height: 24px; padding: 0 9px; font-size: 12.5px; }
.a-dl-meta .ic { width: 14px; height: 14px; }
.a-dl-meta em { font: 700 13px/17px var(--font); font-style: normal; color: var(--red-text); }
.a-dl-meta em.muted { color: var(--ink2); }
.a-tabs { position: absolute; left: 16px; right: 16px; bottom: 28px; height: 68px; border-radius: 26px; background: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; box-shadow: 0 12px 18px -6px rgba(23, 19, 74, .4); z-index: 4; }
.a-tab { display: flex; align-items: center; justify-content: center; gap: 6px; width: 54px; height: 48px; color: var(--tab-inactive); }
.a-tab .ic { width: 24px; height: 24px; }
.a-tab.on { width: auto; padding: 0 16px; border-radius: 20px; background: var(--marker); color: var(--ink); font: 700 13px/1 var(--font); }

/* ------------------------------------------------------------------ cards / bento */
.card { position: relative; background: var(--soft); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--soft-line), var(--shadow-card); }
.features { padding-top: 120px; }
.features .sec-head { margin-bottom: 64px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.f-card { grid-column: span 2; display: flex; flex-direction: column; min-height: 440px; padding: 30px 30px 0; overflow: hidden; }
.f-card:hover { box-shadow: 0 0 0 1px rgba(23, 19, 74, .08), 0 22px 50px -24px rgba(23, 19, 74, .22); }
.f-wide { grid-column: span 4; flex-direction: row; align-items: stretch; min-height: 330px; padding: 34px; gap: 28px; }
.f-txt p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.f-wide .f-txt { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: center; }
/* every demo sits centred in the space under its text, so no card has a dead band */
.f-vis { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; margin-top: 22px; padding-bottom: 30px; }
.f-wide .f-vis { margin: 0; padding: 0; }
.f-card .a-chip { font-family: var(--font); }

/* 1 · timeline */
.f-sched .f-vis { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.tl { width: 100%; max-width: 330px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font); }
.tl-row { display: grid; grid-template-columns: 42px 1fr; gap: 10px; }
.tl-t { display: flex; flex-direction: column; justify-content: space-between; padding: 3px 0; font-size: 12px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tl-t b { font-weight: 700; }
.tl-t i { font-style: normal; font-weight: 600; color: var(--ink3); }
.tl-card { position: relative; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px 12px; border-radius: 15px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.tl-card b { font-weight: 700; }
.tl-room { margin-left: auto; font: 800 12px/1 var(--display); }
.tl-tag { font-size: 11.5px; font-weight: 600; color: var(--ink3); }
.tl-past .tl-card { background: var(--surface2); box-shadow: none; color: var(--ink3); }
.tl-past .tl-room { margin-left: 0; }
.tl-past .tl-tag { margin-left: auto; }
.tl-now { flex-wrap: wrap; align-content: space-between; min-height: 96px; padding: 11px 12px 12px; background: var(--marker); box-shadow: none; }
.tl-now-top { width: 100%; }
.tl-now b { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.tl-room-lg { font: 800 21px/1 var(--display); letter-spacing: -0.04em; }
.tl-line { position: absolute; left: -54px; right: -4px; top: 0; height: 2px; background: var(--red); border-radius: 2px; transform: translateY(var(--y, 26px)); pointer-events: none; }
.tl-line::before { content: ""; position: absolute; left: 50px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.tl-line em { position: absolute; left: 0; top: -9px; height: 19px; padding: 0 5px; border-radius: 6px; background: var(--red); color: #fff; font: 700 10.5px/19px var(--font); font-style: normal; font-variant-numeric: tabular-nums; }
.tl-break { display: flex; align-items: center; gap: 8px; margin-left: 52px; font-size: 11.5px; font-weight: 600; color: var(--ink3); }
.tl-break::before, .tl-break::after { content: ""; flex: 1; border-top: 1.5px dashed var(--line); }
.tl-window { display: flex; align-items: center; gap: 8px; margin-left: 52px; padding: 12px; border-radius: 15px; color: var(--cobalt); font-size: 13px; font-weight: 600; background: repeating-linear-gradient(-45deg, rgba(45, 60, 230, .11) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1.5px rgba(45, 60, 230, .4); }
.tl-window b { font-weight: 800; }
.tl-window .ic { width: 18px; height: 18px; }

/* 2 · upload */
.up { width: 100%; max-width: 330px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), var(--shadow-float); font-family: var(--font); }
.up-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.up-head .a-chip { height: 24px; font-size: 12px; }
.up-due { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--marker); font-size: 12px; font-weight: 700; white-space: nowrap; }
.up-due .ic { width: 14px; height: 14px; }
.up-title { display: block; margin: 12px 0 14px; font: 800 21px/1.15 var(--display); letter-spacing: -0.04em; }
.up-file { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--ink); }
.ftile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); font: 800 11px/1 var(--font); letter-spacing: .02em; flex: none; }
.up-file-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.up-file-t b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-file-t small { font-size: 12px; font-weight: 600; color: var(--ink3); }
.up-stamp { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--ink); flex: none; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.up-stamp .ic { width: 16px; height: 16px; }
.up-btn { position: relative; display: grid; place-items: center; height: 52px; margin-top: 12px; border-radius: 17px; background: var(--ink); color: #fff; overflow: hidden; font-size: 15.5px; font-weight: 700; transition: background-color .35s var(--ease), color .35s; }
.up-fill { position: absolute; inset: 0; display: grid; place-items: center; background: var(--marker); color: var(--ink); clip-path: inset(0 100% 0 0 round 0 10px 10px 0); }
.up-fill .up-l { opacity: 1; transform: none; }
.up-l { position: absolute; display: inline-flex; align-items: center; gap: 7px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .35s var(--ease); white-space: nowrap; }
.up-l .ic { width: 18px; height: 18px; }
.up-l2 { gap: 0; }
[data-pct] { font-variant-numeric: tabular-nums; }
.up[data-state="idle"] .up-l1, .up[data-state="loading"] .up-l2, .up[data-state="done"] .up-l3 { opacity: 1; transform: none; }
.up[data-state="loading"] .up-fill { clip-path: inset(0 0 0 0 round 0); transition: clip-path 2.4s cubic-bezier(.45, .1, .3, 1); }
.up[data-state="done"] .up-btn { background: var(--mint); color: var(--ink); }
.up[data-state="done"] .up-fill { opacity: 0; clip-path: inset(0 0 0 0); transition: opacity .3s; }
.up[data-state="done"] .up-stamp { transform: scale(1); }

/* 3 · push stack */
.stack { position: relative; width: 100%; max-width: 330px; height: 270px; margin-top: 4px; }
.push-sm { position: absolute; left: 0; right: 0; top: 0; width: auto; padding: 11px 13px 12px 11px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), 0 12px 30px -16px rgba(23, 19, 74, .28); transition: transform .7s var(--ease), opacity .6s var(--ease); }
.push-sm .push-icon { width: 34px; height: 34px; }
.push-sm .push-top { font-size: 12.5px; }
.push-sm .push-top b { font-size: 13.5px; }
.push-sm .push-text { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.push-sm[data-pos="0"] { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
.push-sm[data-pos="1"] { transform: translateY(84px) scale(1); opacity: 1; z-index: 2; }
.push-sm[data-pos="2"] { transform: translateY(168px) scale(.97); opacity: .7; z-index: 1; }
.push-sm[data-pos="in"] { transform: translateY(-36px) scale(.94); opacity: 0; z-index: 4; }
.push-sm[data-pos="out"] { transform: translateY(210px) scale(.92); opacity: 0; z-index: 0; }
.push-sm.no-tr { transition: none; }
.f-push .f-vis { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }

/* 4 · absences gauge */
.gauge { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; font-family: var(--font); }
.gauge-dial { position: relative; width: 100%; aspect-ratio: 320 / 172; }
.gauge-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge-svg line { stroke: var(--line); stroke-width: 7; stroke-linecap: round; transition: stroke .35s var(--ease); }
.gauge-svg line.on { stroke: var(--cobalt); }
.gauge.risk .gauge-svg line.on { stroke: var(--red); }
.gauge-num { position: absolute; left: 0; right: 0; bottom: 2%; display: flex; align-items: baseline; justify-content: center; gap: 8px; color: var(--ink); transition: color .35s; }
.gauge.risk .gauge-num { color: var(--red-text); }
.gauge-num b { font: 800 64px/1 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.gauge-num span { font-size: 18px; font-weight: 800; }
.gauge-act { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 14px; border-radius: 99px; background: var(--red-tint); font-size: 14.5px; font-weight: 700; color: var(--red-text); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gauge-act .ic { width: 18px; height: 18px; }
.gauge.risk .gauge-act { opacity: 1; transform: none; }

/* 5 · session */
.ses { width: 100%; max-width: 360px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), var(--shadow-float); font-family: var(--font); }
.ses-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 13px; background: var(--surface2); }
.ses-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(23, 19, 74, .16); transition: transform .5s var(--ease); }
.ses.past .ses-pill { transform: translateX(100%); }
.ses-opt { position: relative; z-index: 1; padding: 8px 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink3); transition: color .3s; }
.ses-opt.on { color: var(--ink); }
.ses-views { position: relative; margin-top: 10px; height: 196px; }
.ses-view { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; transition: opacity .45s var(--ease), transform .5s var(--ease); }
.ses-past { opacity: 0; transform: translateX(14px); pointer-events: none; }
.ses.past .ses-now { opacity: 0; transform: translateX(-14px); }
.ses.past .ses-past { opacity: 1; transform: none; }
.ses-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 14px; background: var(--ink); color: #fff; }
.ses-count small { font-size: 12.5px; font-weight: 600; color: var(--tab-inactive); }
.ses-count b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ex { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 15px; box-shadow: inset 0 0 0 1px var(--line); }
.ex-date { width: 44px; height: 48px; border-radius: 12px; background: var(--surface2); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.ex-date b { font: 800 16px/1.1 var(--display); letter-spacing: -0.03em; }
.ex-date small { font-size: 11px; font-weight: 700; color: var(--ink2); }
.ex-soon .ex-date { background: var(--marker); }
.ex-soon .ex-date small { color: var(--ink); }
.ex-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ex-t > b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-t > span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
.ex-t .a-chip { height: 20px; padding: 0 7px; font-size: 11px; }
.ex-stamp { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; font: 800 14px/1 var(--display); letter-spacing: -0.03em; }
.ex-wait { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink3); font-family: var(--font); }
.ex-mint { background: var(--mint); color: var(--ink); }
.ex-brand { background: var(--cobalt-tint); color: var(--cobalt); }
.ex-lilac { background: var(--lilac); color: var(--ink); }
.legend { margin-top: 24px; }
.legend p { font-size: 13.5px; font-weight: 600; color: var(--ink3); margin-bottom: 10px; }
.legend ul { display: flex; flex-wrap: wrap; gap: 6px; }
.legend li { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 99px; font: 700 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.lg-mint { background: var(--mint); color: var(--ink); }
.lg-brand { background: var(--cobalt-tint); color: var(--cobalt); }
.lg-lilac { background: var(--lilac); color: var(--ink); }
.lg-red { background: var(--red-tint); color: var(--red-text); }

/* ------------------------------------------------------------------ works with (arc) */
.works { padding-top: 100px; overflow: hidden; }
.arc { position: relative; max-width: 900px; height: 440px; margin: 40px auto 0; }
.arc::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 1080px; height: 540px; transform: translateX(-50%); border-radius: 540px 540px 0 0; background: radial-gradient(closest-side at 50% 100%, rgba(45, 60, 230, .0) 30%, rgba(45, 60, 230, .05) 62%, rgba(45, 60, 230, .0) 100%); pointer-events: none; }
.arc-glow { position: absolute; left: 50%; bottom: 0; width: 760px; height: 380px; transform: translateX(-50%); border-radius: 380px 380px 0 0; background: linear-gradient(180deg, #EEF0FF 0%, rgba(238, 240, 255, .55) 45%, rgba(255, 255, 255, 0) 100%); box-shadow: inset 0 1.5px 0 rgba(45, 60, 230, .12); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.arc-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc-lines path { fill: none; stroke: rgba(45, 60, 230, .28); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.arc-items { position: absolute; inset: 0; }
.arc-it { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translate(-50%, -42px); }
.a1 { left: 14.44%; top: 69%; } .a2 { left: 29.1%; top: 31.4%; } .a3 { left: 50%; top: 16.7%; } .a4 { left: 70.9%; top: 31.4%; } .a5 { left: 85.56%; top: 69%; }
.arc-tile { position: relative; width: 86px; height: 86px; border-radius: 26px; background: #fff; display: grid; place-items: center; color: var(--cobalt); box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), 0 18px 34px -16px rgba(23, 19, 74, .28), inset 0 -3px 6px rgba(23, 19, 74, .04); animation: float 7s ease-in-out infinite; }
.arc-tile .ic { width: 38px; height: 38px; }
.a1 .arc-tile { rotate: -14deg; animation-delay: -1s; } .a2 .arc-tile { rotate: -7deg; animation-delay: -3s; } .a4 .arc-tile { rotate: 7deg; animation-delay: -2s; } .a5 .arc-tile { rotate: 14deg; animation-delay: -5s; }
.arc-tile-text { font: 800 18px/1 var(--font); letter-spacing: -0.03em; color: var(--ink); }
.arc-tile-sky { color: #1E8FC6; }
.arc-badge { position: absolute; top: 20px; right: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 3px #fff; }
.arc-l { position: relative; padding: 4px 11px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), 0 2px 6px rgba(23, 19, 74, .05); font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink2); white-space: nowrap; text-align: center; }
.arc-center { position: absolute; left: 50%; top: 90.5%; transform: translate(-50%, -50%); }
.arc-center img { width: 104px; height: 104px; filter: drop-shadow(0 18px 26px rgba(45, 60, 230, .35)); }
.arc-center::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1.5px solid rgba(45, 60, 230, .14); animation: ring 3s ease-out infinite; }
@keyframes ring { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.works-note { max-width: 560px; margin: 46px auto 0; text-align: center; font-size: 16.5px; color: var(--muted); text-wrap: pretty; }

/* ------------------------------------------------------------------ how it works */
.how { padding-top: 120px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.how-side { align-self: stretch; }
.how-sticky { position: sticky; top: 112px; }
.how-sticky .btn { margin-top: 30px; }
.steps { display: flex; flex-direction: column; gap: 32px; }
.step { position: sticky; top: calc(112px + var(--i) * 22px); }
.step-in {
  position: relative; padding: 28px; border-radius: 28px;
  background: var(--soft); box-shadow: 0 0 0 1px var(--soft-line), 0 2px 8px rgba(23, 19, 74, .05), 0 30px 60px -40px rgba(23, 19, 74, .3);
  transform-origin: 50% 0; transform: scale(var(--sc, 1)); will-change: transform;
}
.step-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; opacity: var(--dim, 0); pointer-events: none; }
.step-head { display: flex; gap: 14px; align-items: flex-start; padding-right: 52px; }
.step-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; flex: none; box-shadow: 0 8px 16px -8px rgba(45, 60, 230, .7); }
.step-ic .ic { width: 21px; height: 21px; }
.step-head p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.step-vis { margin-top: 24px; min-height: 290px; padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .05); display: grid; place-items: center; overflow: hidden; font-family: var(--font); }
.step-n { position: absolute; right: 28px; top: 30px; height: 26px; padding: 0 10px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 700; line-height: 26px; color: var(--ink3); font-variant-numeric: tabular-nums; }

.signin { width: 100%; max-width: 330px; display: flex; flex-direction: column; gap: 10px; }
.signin-t { margin-bottom: 8px; font: 800 19px/1.35 var(--display); letter-spacing: -0.045em; }
.mk { color: inherit; padding: 0 4px; margin: 0 -2px; border-radius: 4px; background: linear-gradient(180deg, transparent 52%, var(--cobalt-tint) 52%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .step .mk { background-size: 0% 100%; transition: background-size .6s var(--ease) .3s; }
.js .step.seen .mk { background-size: 100% 100%; }
.sbtn { display: flex; align-items: center; justify-content: center; gap: 9px; height: 52px; border-radius: 17px; font-size: 15.5px; font-weight: 700; }
.sbtn .ic { width: 20px; height: 20px; }
.sbtn-brand { background: var(--cobalt); color: #fff; }
.sbtn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.signin-or { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink3); }
.signin-foot { margin-top: 4px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--ink3); }

.sync { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 7px; }
.sync-row { position: relative; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 13px; overflow: hidden; font-size: 14.5px; }
.sync-row b { position: relative; font-weight: 700; }
.sync-row small { position: relative; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink3); }
.sync-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; flex: none; }
.sync-ok .ic { width: 13px; height: 13px; }
.sync-dot { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; }
.sync-row.active .sync-dot { box-shadow: inset 0 0 0 2px var(--ink); }
.sync-row.active small { color: var(--ink); }
.sync-row.wait { color: var(--ink3); }
.sync-mk { position: absolute; inset: 0; }
.sync-mk i { position: absolute; inset: 0 -20px 0 0; background: linear-gradient(90deg, var(--marker) 0, var(--marker) calc(100% - 24px), rgba(255, 228, 51, .2) 100%); transform-origin: 0 50%; transform: scaleX(var(--w, .6)) skewX(-8deg); transition: transform 1.2s var(--ease); }
.sync-total { display: flex; align-items: center; gap: 2px; margin-top: 10px; }
.sync-total b { font: 800 46px/1 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; min-width: 1.6em; }
.sync-total > span:not(.sync-track) { font: 800 20px/1 var(--display); align-self: flex-start; margin-top: 4px; }
.sync-track { flex: 1; height: 8px; margin-left: 16px; border-radius: 4px; background: var(--surface2); overflow: hidden; }
.sync-track i { display: block; height: 100%; border-radius: 4px; background: var(--marker); box-shadow: inset 0 0 0 1px rgba(23, 19, 74, .08); transform-origin: 0 50%; transform: scaleX(var(--w, .68)); transition: transform 1.4s var(--ease); }

.lock { width: 100%; max-width: 350px; min-height: 290px; margin: -6px 0; padding: 22px 14px 14px; border-radius: 24px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; background: radial-gradient(110% 80% at 15% 0%, #3A49F2 0%, rgba(58, 73, 242, 0) 60%), radial-gradient(90% 70% at 100% 70%, #7B5CE6 0%, rgba(123, 92, 230, 0) 60%), var(--night); }
.lock-date { font-size: 13px; font-weight: 600; opacity: .85; }
.lock-time { font: 800 56px/1 var(--display); letter-spacing: -0.06em; margin-bottom: 14px; }
.push-glass { width: 100%; background: rgba(255, 255, 255, .17); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.push-glass .push-top { color: rgba(255, 255, 255, .7); }
.push-glass .push-top b, .push-glass .push-text { color: #fff; }
.push-glass .push-text { font-weight: 600; font-size: 13.5px; }
.push-back { opacity: .72; transform: scale(.97); }

/* ------------------------------------------------------------------ widgets */
.widgets-sec { padding: 40px 0; }
.panel {
  position: relative; max-width: 1392px; margin: 0 auto; padding: 110px 0; border-radius: var(--r-xl); overflow: hidden;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(23, 19, 74, .04);
}
.paper-grid { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; background-position: center center; }
.panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 75% 50%, rgba(45, 60, 230, .10), rgba(45, 60, 230, 0) 70%), radial-gradient(40% 50% at 10% 0%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.widgets-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wlist { margin-top: 34px; display: flex; flex-direction: column; }
.wlist li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.wlist li:last-child { border-bottom: 1px solid var(--line); }
.wlist b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.wlist li > span:last-child > span { display: block; margin-top: 2px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.wl-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.wl-ic .ic { width: 21px; height: 21px; }
.wl-marker { background: var(--marker); color: var(--ink); }
.wl-ink { background: var(--ink); color: #fff; }
.wl-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.wall-switch { display: inline-flex; gap: 2px; margin-top: 30px; padding: 4px; border-radius: var(--pill); background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .07), 0 2px 8px rgba(23, 19, 74, .05); }
.ws-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink2); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.ws-btn .ic { width: 17px; height: 17px; }
.ws-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.widgets-phone { display: flex; justify-content: center; }
.phone-wrap-w { --s: .8; }

.hs { background: var(--night); font-family: var(--font); }
.hs-wall { position: absolute; inset: 0; z-index: -1; transition: opacity .6s var(--ease); background: radial-gradient(120% 70% at 0% 0%, #3442F0 0%, rgba(52, 66, 240, 0) 55%), radial-gradient(90% 60% at 100% 55%, #8461EE 0%, rgba(132, 97, 238, 0) 60%), radial-gradient(110% 60% at 30% 100%, #1B27B0 0%, rgba(27, 39, 176, 0) 60%), var(--night); }
.hs-wall::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(120% 70% at 0% 0%, #C9D1FF 0%, rgba(201, 209, 255, 0) 60%), radial-gradient(90% 60% at 100% 60%, #E6DCFF 0%, rgba(230, 220, 255, 0) 60%), radial-gradient(100% 60% at 20% 100%, #D7F7E8 0%, rgba(215, 247, 232, 0) 60%), #F4F6FC; }
.hs[data-wallpaper="light"] .hs-wall::after { opacity: 1; }
.hs[data-wallpaper="light"] .sb { color: var(--ink); }
.hs-body { position: absolute; top: 70px; left: 24px; right: 24px; display: grid; grid-template-columns: repeat(4, 62px); justify-content: space-between; row-gap: 22px; }
.hs-row, .hs-icons { display: contents; }
.hs-label { display: block; margin-top: 7px; text-align: center; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.hs[data-wallpaper="light"] .hs-label, .hs[data-wallpaper="light"] .hs-app small { color: var(--ink); text-shadow: none; }
.hs-body > .hs-label { grid-column: 1 / -1; margin-top: -15px; }
.wd { border-radius: 24px; overflow: hidden; }
.wd-m { grid-column: 1 / -1; height: 162px; display: flex; gap: 12px; padding: 14px; background: #1C1946; color: #F4F3FF; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); transition: background-color .5s var(--ease), color .5s; }
.hs[data-wallpaper="light"] .wd-m { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -16px rgba(23, 19, 74, .25); }
.wd-m-l { width: 82px; display: flex; flex-direction: column; flex: none; }
.wd-m-l small { font-size: 12px; font-weight: 600; opacity: .75; }
.wd-day { font: 800 36px/1.05 var(--display); letter-spacing: -0.06em; margin-top: 2px; }
.wd-chip { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; height: 22px; margin-top: 8px; padding: 0 8px; border-radius: 99px; background: #4A5BFF; color: #fff; font-size: 11px; font-weight: 700; }
.wd-chip .ic { width: 13px; height: 13px; }
.hs[data-wallpaper="light"] .wd-chip { background: var(--cobalt); }
.wd-abs { margin-top: auto; font-size: 11.5px; font-weight: 700; color: #FF8794; }
.wd-abs b { font-weight: 800; }
.hs[data-wallpaper="light"] .wd-abs { color: var(--red-text); }
.wd-m-r { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.wd-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 6px; height: 25px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.wd-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.wd-row span { overflow: hidden; text-overflow: ellipsis; }
.wd-row i { font: 800 10.5px/1 var(--display); font-style: normal; }
.wd-row.past { opacity: .45; }
.wd-row.now { background: var(--marker); color: var(--ink); }
.wd-gap { height: 12px; display: flex; align-items: center; gap: 6px; padding-left: 8px; font-size: 10px; font-weight: 600; opacity: .6; white-space: nowrap; }
.wd-gap::after { content: ""; flex: 1; border-top: 1px dashed currentColor; opacity: .6; }
.wd-s-wrap { grid-column: span 2; grid-row: span 2; }
.wd-s { height: 162px; display: flex; flex-direction: column; padding: 14px; background: var(--marker); color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }
.wd-s-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.wd-s-top small { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.wd-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.wd-pill .pulse { width: 6px; height: 6px; }
.wd-room { margin-top: auto; font: 800 34px/1 var(--display); letter-spacing: -0.06em; }
.wd-subj { margin-top: 5px; font-size: 14px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.wd-prog { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--ink-veil); overflow: hidden; }
.wd-prog i { display: block; height: 100%; background: var(--ink); border-radius: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, .28)); transition: transform .8s var(--ease); }
.hs-app { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hs-app small { font-size: 11.5px; font-weight: 500; color: #fff; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.hs-ic { width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); }
.hs-ic .ic { width: 30px; height: 30px; }
.hs-ic-t { background: none; }
.hs-ic-t img { width: 62px; height: 62px; }
.g1 { background: #fff; color: var(--cobalt); }
.g2 { background: var(--peach); color: var(--ink); }
.g3 { background: var(--lilac); color: var(--ink); }
.g4 { background: var(--mint); color: var(--ink); }
.g5 { background: #26215F; color: #fff; }
.g6 { background: var(--sky); color: #fff; }
.g7 { background: var(--surface2); color: var(--ink); }
.g8 { background: var(--mint); color: var(--ink); }
.g9 { background: var(--cobalt); color: #fff; }
.g10 { background: var(--sky); color: #fff; }
.g11 { background: #fff; color: var(--lilac-text); }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 122px; display: flex; justify-content: center; gap: 8px; }
.hs-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.hs-dots i.on { background: #fff; }
.hs[data-wallpaper="light"] .hs-dots i { background: rgba(23, 19, 74, .25); }
.hs[data-wallpaper="light"] .hs-dots i.on { background: var(--ink); }
.hs-dock { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 94px; padding: 0 16px; border-radius: 38px; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hs[data-wallpaper="light"] .hs-dock { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(23, 19, 74, .05); }

/* ------------------------------------------------------------------ price */
.price { padding-bottom: 120px; }
.plan { position: relative; max-width: 1000px; margin: 84px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); border-radius: 34px; background: #fff; box-shadow: 0 0 0 2px var(--cobalt), 0 40px 80px -40px rgba(45, 60, 230, .45), 0 10px 30px -18px rgba(23, 19, 74, .2); }
.plan-mascot { position: absolute; right: 30px; top: -94px; width: 140px; rotate: 9deg; z-index: 2; animation: bob 4.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
.plan-main { display: flex; flex-direction: column; align-items: flex-start; padding: 44px; border-right: 1px solid var(--line); }
.plan-badge { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px 0 5px; border-radius: 99px; background: var(--soft); box-shadow: 0 0 0 1px var(--soft-line); font-size: 14px; font-weight: 600; color: var(--ink2); }
.plan-badge img { width: 28px; height: 28px; }
.plan-price { margin-top: 34px; }
.plan-price { display: flex; align-items: baseline; gap: .22em; font: 800 80px/.95 var(--display); color: var(--ink); white-space: nowrap; }
.plan-price b { font-weight: 800; letter-spacing: -0.06em; }
.plan-price .unit { letter-spacing: -0.01em; }
.okina { display: inline-block; margin: 0 .01em; letter-spacing: 0; }
.plan-price .okina { margin: 0 -.03em; }
.plan-per { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.plan-main .btn { margin-top: 34px; }
.plan-note { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--mint-text); }
.plan-note .ic { width: 17px; height: 17px; }
.plan-list { padding: 44px; border-radius: 0 34px 34px 0; background: linear-gradient(180deg, rgba(247, 248, 252, .8), rgba(247, 248, 252, 0)); }
.plan-list-t { font-size: 14.5px; font-weight: 700; color: var(--ink3); margin-bottom: 20px; }
.plan-list ul { display: grid; gap: 15px; }
.plan-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.ok { width: 24px; height: 24px; margin-top: 0; border-radius: 50%; display: grid; place-items: center; background: var(--mint-tint); color: var(--mint-text); flex: none; }
.ok .ic { width: 14px; height: 14px; }


/* ------------------------------------------------------------------ overview (1.3: everything in six tiles) */
.lead-b { font-weight: 700; color: var(--ink); }
.overview { padding-top: 120px; padding-bottom: 60px; }
.overview .sec-head { margin-bottom: 56px; }
.ov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ov-card { display: flex; flex-direction: column; padding: 30px; }
.ov-card:hover { box-shadow: 0 0 0 1px rgba(23, 19, 74, .08), 0 22px 50px -24px rgba(23, 19, 74, .22); transform: translateY(-2px); }
.ov-card p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; flex: 1; }
.ov-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.ov-ic .ic { width: 26px; height: 26px; }
.ov-cobalt { background: var(--cobalt); color: #fff; box-shadow: 0 10px 20px -10px rgba(45, 60, 230, .8); }
.ov-red { background: var(--red-tint); color: var(--red-text); }
.ov-marker { background: var(--marker); color: var(--ink); }
.ov-lilac { background: var(--lilac-tint); color: var(--lilac-text); }
.ov-ink { background: var(--ink); color: var(--marker); }
.ov-mint { background: var(--mint-tint); color: var(--mint-text); }
.ov-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.ov-chips li { height: 28px; padding: 0 11px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 700 13px/28px var(--font); color: var(--ink2); white-space: nowrap; }
.ov-chips li.hot { background: var(--red); box-shadow: none; color: #fff; }
.ov-chips li.code { background: var(--ink); box-shadow: none; color: #fff; font-family: var(--display); font-size: 12px; letter-spacing: .04em; }

/* ------------------------------------------------------------------ how it works (strip) */
.strip-sec { padding: 40px 0 60px; }
.strip { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; padding: 44px 48px; border-radius: 34px; background: var(--ink); color: #fff; box-shadow: 0 40px 80px -48px rgba(23, 19, 74, .7); position: relative; overflow: hidden; isolation: isolate; }
.strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(45, 60, 230, .55), rgba(45, 60, 230, 0) 70%); }
.strip .tag { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.strip-title { color: #fff; font-size: 38px; }
.strip-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.strip-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; border-radius: 22px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.strip-steps b { font-size: 16.5px; line-height: 1.3; letter-spacing: -0.01em; color: #fff; margin-top: 14px; }
.strip-steps span:last-child { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); text-wrap: pretty; }
.strip-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--marker); color: var(--ink); font: 800 15px/1 var(--display); }

/* ------------------------------------------------------------------ showcase (tests, helper): copy + two phones */
.show-sec { padding: 40px 0; }
.show-alt { padding: 120px 0 60px; }
.show-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.show-alt .show-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.show-stats { display: flex; gap: 10px; margin-top: 28px; }
.show-stats li { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .06), 0 2px 8px rgba(23, 19, 74, .05); }
.show-stats b { font: 800 26px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.show-stats span { font-size: 13.5px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.show-copy .wlist { margin-top: 26px; }
.show-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: calc(868px * .64 + 60px); }
.phone-wrap-shot { --s: .64; }
.phone-wrap-shot .phone-screen { background: var(--paper); }
.shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.show-back { margin-right: -64px; rotate: -4deg; z-index: 1; }
.show-front { margin-top: 60px; rotate: 3deg; z-index: 2; }
.show-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 22px; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--ink2); }
.show-note .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--cobalt); }

/* ------------------------------------------------------------------ pricing: three plans */
.plans { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; max-width: 1100px; margin: 84px auto 0; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 30px; background: var(--soft); box-shadow: 0 0 0 1px var(--soft-line), var(--shadow-card); }
.tier-free { background: #fff; box-shadow: 0 0 0 2px var(--cobalt), 0 40px 80px -40px rgba(45, 60, 230, .45), 0 10px 30px -18px rgba(23, 19, 74, .2); }
.tier-free .plan-mascot { right: 18px; top: -78px; width: 116px; }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier-k { font-size: 15px; font-weight: 700; color: var(--ink2); letter-spacing: -0.005em; }
.tier-free .tier-k { color: var(--cobalt); }
.soon { height: 26px; padding: 0 10px; border-radius: 99px; background: var(--marker); color: var(--ink); font: 700 12.5px/26px var(--font); white-space: nowrap; }
.tier-sub { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.tier-price { display: flex; align-items: baseline; gap: .22em; margin-top: 22px; font: 800 64px/.95 var(--display); color: var(--ink); white-space: nowrap; }
.tier-price b { font-weight: 800; letter-spacing: -0.06em; }
.tier-price .unit { font-size: .42em; letter-spacing: -0.01em; }
.tier-price-sm { font-size: 44px; }
.tier-per { margin-top: 10px; font-size: 15px; color: var(--muted); }
.tier-list { display: grid; gap: 12px; margin-top: 26px; }
.tier-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.tier-list-sm { margin-top: 22px; gap: 10px; }
.tier-list-sm li { font-size: 15px; }
.tier-btn { margin-top: auto; }
.tier-free .tier-list { margin-bottom: 30px; }
.tier-alt { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.tier-alt a { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.tier-opts { display: grid; gap: 6px; margin-top: 20px; }
.tier-opts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .06); font-size: 15px; font-weight: 600; color: var(--ink); }
.tier-opts li.best { box-shadow: 0 0 0 2px var(--cobalt); }
.tier-opts b { font: 800 17px/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.tier-opts b .unit { font-size: .62em; letter-spacing: 0; color: var(--ink2); }
.tier-opts b .okina { margin: 0 -.03em; }
.tier-opts small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.tier-off { font-style: normal; display: inline-block; height: 20px; padding: 0 7px; border-radius: 99px; background: var(--mint-tint); color: var(--mint-text); font: 700 11.5px/20px var(--font); vertical-align: 1px; }
.plans-note { max-width: 720px; margin: 30px auto 0; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.plans-note .ic { display: inline-block; width: 17px; height: 17px; margin: 0 4px -3px 0; color: var(--cobalt); }
.plans-note a { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

/* ------------------------------------------------------------------ facts */
.facts { padding-top: 60px; }
.sec-head-left { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 48px; text-align: left; }
.sec-head-left .tag { grid-column: 1; justify-self: start; }
.sec-head-left .h2 { grid-column: 1; }
.sec-head-left .sec-lead { grid-column: 2; grid-row: 2; margin: 0 0 6px; justify-self: end; max-width: 440px; }
.facts-row { margin-top: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 44px 0; border-radius: 30px; background: var(--soft); box-shadow: 0 0 0 1px var(--soft-line), var(--shadow-card); }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-n { display: block; white-space: nowrap; color: var(--ink); font: 800 50px/1 var(--display); letter-spacing: -0.06em; }
.fact-n b { font-weight: 800; font-variant-numeric: tabular-nums; }
.fact-n > .unit { font-size: .5em; font-weight: 800; letter-spacing: -0.01em; }
.fact:last-child .fact-n b { font-size: .5em; letter-spacing: -0.03em; }
.fact-l { margin-top: 14px; font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 180px; text-wrap: balance; }

/* ------------------------------------------------------------------ faq */
.faq { padding-top: 120px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 130px; }
.faq-side .btn { margin-top: 30px; }
.faq-list { padding: 10px; border-radius: 30px; background: var(--soft); box-shadow: 0 0 0 1px var(--soft-line), var(--shadow-card); }
.qa { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 74, .05), 0 1px 3px rgba(23, 19, 74, .04); transition: box-shadow .3s var(--ease); }
.qa + .qa { margin-top: 8px; }
.qa h3 { margin: 0; font: inherit; }
.qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 22px; border: 0; border-radius: 20px; background: none; cursor: pointer; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; color: var(--ink); }
.qa-ic { position: relative; width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--soft); box-shadow: 0 0 0 1px var(--soft-line); transition: background-color .3s, transform .45s var(--ease); }
.qa-ic::before, .qa-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink2); transition: transform .45s var(--ease), background-color .3s; }
.qa-ic::after { transform: rotate(90deg); }
.qa.open .qa-ic { background: var(--cobalt); transform: rotate(45deg); }
.qa.open .qa-ic::before, .qa.open .qa-ic::after { background: #fff; }
.qa-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 64px 22px 22px; font-size: 16px; line-height: 1.62; color: var(--muted); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.js .qa-a { grid-template-rows: 0fr; }
.js .qa-a > div { visibility: hidden; transition: visibility 0s .45s; }
.js .qa-a p { opacity: 0; transform: translateY(-4px); }
.js .qa.open .qa-a { grid-template-rows: 1fr; }
.js .qa.open .qa-a > div { visibility: visible; transition-delay: 0s; }
.js .qa.open .qa-a p { opacity: 1; transform: none; }
html:not(.js) .qa-ic { display: none; }
.qa-a a, .sec-lead a { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.qa-a a:hover { color: var(--cobalt-deep); }

/* ------------------------------------------------------------------ cta band */
.cta-sec { padding: 40px 0 0; }
.cta-band {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 72px 72px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--cobalt); color: #fff;
  box-shadow: 0 40px 80px -40px rgba(45, 60, 230, .6);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(80% 90% at 80% 50%, #000, transparent 85%); mask-image: radial-gradient(80% 90% at 80% 50%, #000, transparent 85%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(110, 155, 255, .55), rgba(110, 155, 255, 0)); }
.cta-band .h2 { color: #fff; }
.tag-on-brand { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.cta-text { margin-top: 20px; max-width: 540px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-small { display: flex; align-items: center; gap: 7px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .75); text-wrap: pretty; }
.cta-small .ic { width: 18px; height: 18px; flex: none; }
.cta-small a { color: #fff; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.cta-small a:hover { text-decoration-thickness: 2.5px; }
.cta-small a:focus-visible { outline-color: #fff; outline-offset: 2px; border-radius: 4px; }
.cta-mascot { justify-self: center; width: min(320px, 100%); filter: drop-shadow(0 30px 40px rgba(10, 14, 90, .35)); animation: wave-bob 4s ease-in-out infinite; }
@keyframes wave-bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); } 50% { transform: translate3d(0, -12px, 0) rotate(2deg); } }

/* ------------------------------------------------------------------ footer */
.footer { margin-top: 120px; padding: 84px 0 44px; background: var(--ink); color: rgba(255, 255, 255, .72); }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand img { width: 128px; }
.foot-tag { margin: 24px 0 34px; font-size: 30px; line-height: 1.22; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .25s, transform .25s var(--ease); }
.foot-social a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.foot-social .ic { width: 20px; height: 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 72px; }
.foot-h { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, .9); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer :focus-visible { outline-color: #fff; }
.foot-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 10px; }
.foot-copy { color: rgba(255, 255, 255, .78); }
.foot-motion { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px; border: 0; border-radius: var(--pill); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .86); font: 600 13.5px/1 var(--font); cursor: pointer; transition: background-color .2s; }
.foot-motion:hover { background: rgba(255, 255, 255, .15); }
.foot-motion .ic { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ reveal */
/* safety net: if site.js never runs, show everything after 3 s */
.js:not(.ready) .rv, .js:not(.ready) .phone-rise, .js:not(.ready) .fl-in, .js:not(.ready) .fl-mascot { animation: no-js-reveal .6s 3s forwards; }
.f-card:hover { transform: translateY(-2px); }
@keyframes no-js-reveal { to { opacity: 1; transform: none; translate: none; scale: none; filter: none; } }
.js .rv { opacity: 0; translate: 0 26px; filter: blur(8px); transition: opacity .9s var(--ease) var(--d, 0s), translate 1s var(--ease-out) var(--d, 0s), filter .9s var(--ease) var(--d, 0s), transform .25s var(--ease), box-shadow .3s var(--ease), background-color .2s; }
.js .rv.in { opacity: 1; translate: none; filter: none; }
/* The hero text is painted at once (it is the largest contentful paint); it only settles into place. */
.js .hero-copy .rv { opacity: 1; filter: none; translate: 0 12px; transition: translate .9s var(--ease-out) var(--d, 0s), transform .25s var(--ease), box-shadow .3s var(--ease), background-color .2s; }
.js.ready .hero-copy .rv { translate: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .h1 { font-size: 58px; }
  .h2 { font-size: 46px; }
  .fl-push .push { width: 272px; }
  .f-wide { flex-direction: column; padding: 30px 30px 0; }
  .f-wide .f-txt { flex: none; }
  .f-wide .f-vis { margin: 22px 0 0; padding-bottom: 30px; }
}
@media (max-width: 1060px) {
  .fl-push { display: none; }
}
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-card, .f-wide { grid-column: span 1; }
  .f-push { grid-column: span 2; flex-direction: row; align-items: center; min-height: 320px; padding: 32px; gap: 24px; }
  .f-push .f-txt { flex: 0 0 40%; }
  .f-push .f-vis { margin: 0; padding: 0; }
  .how-grid, .faq-grid { gap: 40px; }
  .cta-band { padding: 60px 48px; }
  .foot-cols { gap: 48px; }
  .plan-main, .plan-list { padding: 36px; }
  .plan-price { font-size: 78px; }
}
@media (max-width: 900px) {
  /* hero: smaller phone (half-width 153 px) and compact cards that still clear the bezel */
  .phone-wrap.phone-wrap-hero { --s: .74; }
  .card-float { gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; }
  .fl-icon { width: 34px; height: 34px; border-radius: 11px; }
  .fl-icon .ic { width: 19px; height: 19px; }
  .fl-txt small { font-size: 12px; }
  .fl-txt b { font-size: 15px; }
  .fl-next { right: calc(50% + 176px); top: 104px; }
  .fl-win { left: calc(50% + 176px); top: 172px; }
  .fl-file { left: calc(50% + 172px); top: 36px; }
  .fl-mascot { right: calc(50% + 104px); top: -26px; width: 108px; }
  .nav { width: calc(100% - 24px); top: 12px; }
  .nav-links, .nav-end > .lang-dd { display: none; }
  html:not(.js) .nav-end > .lang-dd { display: block; } /* no burger without JS: keep RU | UZ in the bar */
  .nav-burger { display: grid; }
  html:not(.js) .nav-burger { display: none; } /* the burger needs JS; the footer lists every section */
  .nav-end { margin-left: auto !important; }
  .nav-bar { --nav-h: 60px; padding: 0 8px 0 18px; }
  .section { padding: 110px 0; }
  .how-grid, .faq-grid, .widgets-grid { grid-template-columns: minmax(0, 1fr); }
  .how-sticky, .faq-side { position: static; }
  .how-side { text-align: left; }
  .widgets-copy { max-width: 620px; }
  .widgets-phone { margin-top: 10px; }
  .plan { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-list { border-radius: 0 0 34px 34px; }
  .facts-row { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 40px; }
  .fact { grid-column: span 2; }
  .fact:nth-child(4) { grid-column: 2 / span 2; border-left: 0; }
  .fact:nth-child(5) { grid-column: span 2; }
  .sec-head-left { grid-template-columns: minmax(0, 1fr); }
  .sec-head-left .sec-lead { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
  .cta-band { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .cta-mascot { width: 220px; justify-self: end; margin: -40px -10px -50px 0; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, auto)); gap: 36px; }
  .arc { height: 380px; }
  .arc-tile { width: 74px; height: 74px; border-radius: 22px; }
  .arc-tile .ic { width: 32px; height: 32px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .h1 { font-size: 46px; letter-spacing: -0.04em; }
  .h2 { font-size: 38px; }
  .lead { font-size: 17.5px; }
  .hero { padding-top: 128px; }
  .stage { margin-top: 44px; }
  /* No room beside the phone: keep the «file attached» pill and Нукта only. The pill overlaps the
     phone in the empty band between the greeting row and the yellow «Сейчас» card (phone points
     128–186, right of x = 200), so it covers no app content. */
  .fl-next, .fl-win { display: none; }
  .fl-file { left: calc(50% - 4px); top: 99px; }
  .fl-file .pill-dark { height: 34px; gap: 7px; padding: 0 12px 0 4px; font-size: 13px; }
  .fl-file .pill-check { width: 26px; height: 26px; }
  .fl-file .pill-check .ic { width: 15px; height: 15px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .f-card, .f-wide, .f-push { grid-column: span 1; flex-direction: column; align-items: stretch; min-height: 0; padding: 26px 22px 0; }
  .f-push .f-txt { flex: none; }
  .f-push .f-vis { margin-top: 22px; padding-bottom: 26px; }
  .f-wide .f-vis { margin: 20px 0 0; padding-bottom: 26px; }
  .f-sched .f-vis, .f-upload .f-vis { margin-top: 22px; }
  .arc { height: 330px; margin-top: 20px; }
  .arc-lines { display: none; }
  .arc-glow { width: 560px; height: 280px; }
  .arc-tile { width: 62px; height: 62px; border-radius: 19px; }
  .arc-tile .ic { width: 27px; height: 27px; }
  .arc-tile-text { font-size: 14.5px; }
  .arc-badge { top: 13px; right: 14px; width: 10px; height: 10px; }
  .arc-it { gap: 8px; transform: translate(-50%, -31px); }
  .arc-l { padding: 0; background: none; box-shadow: none; font-size: 12.5px; white-space: normal; max-width: 112px; line-height: 1.25; }
  .a1 { left: 13%; top: 74%; } .a2 { left: 27%; top: 38%; } .a3 { top: 22%; } .a4 { left: 73%; top: 38%; } .a5 { left: 87%; top: 74%; }
  .arc-center img { width: 82px; height: 82px; }
  .step { top: calc(92px + var(--i) * 16px); }
  .step-in { padding: 22px; }
  .step-vis { padding: 18px; min-height: 260px; }
  .panel { border-radius: 30px; padding: 80px 0; margin: 0 10px; }
  .phone-wrap-w { --s: .74; }
  .cta-band { padding: 48px 28px 0; border-radius: 30px; }
  .cta-mascot { justify-self: center; margin: 0 0 -40px; width: 210px; }
  .plan-mascot { width: 110px; top: -76px; right: 18px; }
  .plan-main, .plan-list { padding: 30px 26px; }
  .plan-price { font-size: 70px; }
  .foot-top { flex-direction: column; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .foot-tag { font-size: 26px; }
}
@media (max-width: 560px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 34px; }
  .section { padding: 92px 0; }
  .features { padding-top: 92px; }
  .features .sec-head { margin-bottom: 44px; }
  .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero-ctas .btn { width: 100%; }
  .phone-wrap.phone-wrap-hero { --s: .68; }
  .h1 br { display: none; }
  /* the pill overlaps the phone, so it sits in the empty band between the greeting row and the
     yellow «Сейчас» card, on the right where nothing is shown */
  .fl-mascot { display: none; }
  .fl-file { top: 90px; }
  .arc { height: auto; margin-top: 36px; display: flex; flex-direction: column; align-items: center; }
  .arc::before, .arc-glow { display: none; }
  .arc-center { position: relative; left: auto; top: auto; transform: none; margin: 0 0 34px; }
  .arc-items { position: relative; inset: auto; order: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 0; width: 100%; }
  .arc-it { position: static; transform: none; width: 33.33%; }
  .arc-it.a4, .arc-it.a5 { width: 50%; }
  .arc-tile { width: 70px; height: 70px; border-radius: 21px; }
  .arc-tile .ic { width: 30px; height: 30px; }
  .arc-l { font-size: 13px; max-width: 98px; }
  .a4 .arc-l, .a5 .arc-l { max-width: 140px; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 34px 0; }
  .fact, .fact:nth-child(4), .fact:nth-child(5) { grid-column: span 1; border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:last-child { grid-column: 1 / -1; }
  .fact-n { font-size: 40px; }
  .qa-q { padding: 18px; font-size: 16px; }
  .step-head { flex-direction: column; gap: 14px; padding-right: 0; }
  .step-n { top: 30px; right: 22px; }
  .push-glass .push-top { flex-wrap: wrap; column-gap: 8px; }
  .qa-a p { padding: 0 18px 20px; font-size: 15.5px; }
  .faq-list { padding: 6px; border-radius: 24px; }
  .cta-btns .btn { width: 100%; }
  .wall-switch { width: 100%; }
  .ws-btn { flex: 1; justify-content: center; padding: 0 10px; font-size: 13.5px; }
  .phone-wrap-w { --s: .7; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .h1 { font-size: 35px; }
  .h2 { font-size: 31px; }
  .phone-wrap.phone-wrap-hero { --s: .64; }
  .fl-file { top: 84px; }
  .phone-wrap-w { --s: .66; }
  .nav-cta { padding: 0 14px; }
  .arc-l { font-size: 11.5px; max-width: 96px; }
  .plan-price { font-size: 52px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
}


/* ------------------------------------------------------------------ 1.3 sections: responsive */
@media (max-width: 1180px) {
  .strip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
  .tier-free { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 40px; }
  .tier-free > * { grid-column: 1; }
  .tier-free .tier-list { grid-column: 2; grid-row: 1 / span 5; margin: 0; align-self: center; }
  .tier-free .tier-btn { margin-top: 26px; }
  .tier-free .tier-alt { text-align: left; }
}
@media (max-width: 1024px) {
  .ov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-wrap-shot { --s: .56; }
  .show-phones { min-height: calc(868px * .56 + 60px); }
}
@media (max-width: 900px) {
  .show-grid, .show-alt .show-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .show-alt .show-phones { order: 2; }
  .show-copy { max-width: 620px; }
  .strip-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview { padding-bottom: 40px; }
  .show-alt { padding: 100px 0 40px; }
}
@media (max-width: 760px) {
  .ov { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ov-card { padding: 24px 22px; }
  .ov-ic { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; }
  .ov-ic .ic { width: 23px; height: 23px; }
  .strip { padding: 32px 22px 22px; border-radius: 28px; }
  .strip-title { font-size: 31px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-top: 72px; }
  .tier-free { display: flex; }
  .tier-free .tier-list { margin: 22px 0 26px; }
  .tier-free .tier-btn { margin-top: auto; }
  .tier { padding: 28px 22px 24px; border-radius: 26px; }
  .tier-price { font-size: 56px; }
  .tier-price-sm { font-size: 40px; }
  .show-stats { gap: 8px; }
  .show-stats li { padding: 14px 12px 12px; border-radius: 16px; }
  .show-stats b { font-size: 21px; }
  .show-stats span { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .overview { padding-top: 92px; }
  .overview .sec-head { margin-bottom: 40px; }
  .strip-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .strip-steps li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 2px; padding: 14px 16px; border-radius: 18px; }
  .strip-steps b { margin: 0; flex: 1; min-width: 0; }
  .strip-steps span:last-child { flex-basis: 100%; padding-left: 46px; }
  .phone-wrap-shot { --s: .46; }
  .show-phones { min-height: calc(868px * .46 + 44px); }
  .show-back { margin-right: -44px; }
  .show-front { margin-top: 44px; }
  .plans-note { text-align: left; }
}
@media (max-width: 380px) {
  .phone-wrap-shot { --s: .42; }
  .show-phones { min-height: calc(868px * .42 + 40px); }
  .show-stats b { font-size: 18px; }
  .tier-price { font-size: 48px; }
  .tier-opts li { padding: 8px 12px; }
}

/* short screens (phone in landscape, laptops at 200 % zoom): a stuck card would hide part of the one
   under it for good, so the steps simply follow each other */
@media (max-height: 700px) {
  .step { position: relative; top: auto; }
}

/* ------------------------------------------------------------------ static / reduced motion */
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static .rv, .static .phone-rise, .static .fl-in, .static .fl-mascot { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; filter: none !important; }
.static .intro { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv, .js .phone-rise, .js .fl-in, .js .fl-mascot { opacity: 1; transform: none; translate: none; scale: none; filter: none; }
  .intro { display: none !important; }
  .cloud, .fl, .fl-in { will-change: auto; }
}

/* Without JS on very narrow phones the RU | UZ links would push «Установить» out of the nav pill. */
@media (max-width: 420px) {
  html:not(.js) .nav-end > .lang-dd { display: none; }
}
