@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/onest-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/onest-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/onest-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ground: #f6f7f1;
  --paper: #ffffff;
  --ink: #12140f;
  --body: #34382f;
  --muted: #5c6056;
  --line: #dedfd8;
  --lime: #c4ff19;
  --olive: #527000;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1080px;
  color-scheme: light;
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--ink); }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---- header ---------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; }

/* ---- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease), background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #b6f000; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2d24; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; border-radius: 11px; }
.btn[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---- hero ---------------------------------------------------------------- */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem); line-height: 0.98; font-weight: 720; letter-spacing: -0.045em; }
.hero .lede { margin-top: 22px; font-size: 1.1875rem; max-width: 34ch; }
.hero .actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

/* The free month: 30 daily lessons. The one animated moment of the page. */
.month { color: #e9ebe3; border-radius: 28px; margin: 0; padding: 26px 26px 22px; }
.month-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.month-head strong { color: #fff; font-size: 1.125rem; font-weight: 600; }
.month-head span { font-size: 0.875rem; color: #a9ada1; }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.day {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center;
  font-size: 0.8125rem; font-weight: 550; color: #8b8f84; box-shadow: inset 0 0 0 1px #33372e;
  font-variant-numeric: tabular-nums;
}
.day.done { background: var(--lime); color: var(--ink); box-shadow: none; }
.day.today { box-shadow: inset 0 0 0 2px var(--lime); color: #fff; }
.month-foot { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: #a9ada1; }
.month-foot b { color: var(--lime); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .days.play .day.done { animation: fill 420ms var(--ease) both; animation-delay: calc(var(--i) * 55ms + 250ms); }
  @keyframes fill { from { background: transparent; color: #8b8f84; box-shadow: inset 0 0 0 1px #33372e; transform: scale(0.9); } }
}

/* ---- sections ---------------------------------------------------------------- */
section { padding: 72px 0; scroll-margin-top: 84px; }
.section-title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.1; font-weight: 680; max-width: 22ch; }
.section-lede { margin-top: 14px; max-width: 56ch; color: var(--muted); }

.modes { margin-top: 40px; display: flex; flex-direction: column; }
.mode { display: grid; grid-template-columns: 220px 1fr 280px; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.mode:last-child { border-bottom: 1px solid var(--line); }
.mode h3 { font-size: 1.375rem; font-weight: 650; }
.mode p { max-width: 46ch; }
.mode .who { font-size: 0.9375rem; color: var(--muted); margin-top: 2px; }

/* small pictures drawn in CSS, one per mode */
.pic { border-radius: 18px; padding: 16px; font-size: 0.875rem; }
.task { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.task i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; }
.task.ok i { background: var(--olive); box-shadow: none; }
.task.ok span { color: var(--muted); text-decoration: line-through; }
.letters { display: flex; gap: 8px; }
.letter { flex: 1; aspect-ratio: 0.8; border-radius: 12px; background: var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.letter b { font-size: 1.75rem; color: var(--ink); line-height: 1; }
.letter small { color: var(--muted); }
.letter.on { background: var(--lime); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.week i { height: 34px; border-radius: 6px; background: var(--ground); position: relative; }
.week i.ok { background: var(--olive); }
.week i.miss { background: repeating-linear-gradient(135deg, #e7e8e1 0 4px, #f3f4ee 4px 8px); }
.week-labels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; color: var(--muted); font-size: 0.75rem; text-align: center; }

/* steps: a real sequence, so it is numbered */
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 650; margin-bottom: 8px; }
.steps h3 { font-size: 1.1875rem; font-weight: 640; }

/* price */
.price { border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.price-figure { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); font-weight: 700; color: var(--ink); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-figure small { font-size: 1.0625rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price li { display: flex; gap: 12px; }
.price li::before { content: ''; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--olive); flex: none; }

/* questions */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; color: var(--ink); font-weight: 600; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { padding: 0 0 22px; max-width: 64ch; }

/* closing band */
.closing { background: var(--lime); border-radius: 28px; padding: 48px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 700; max-width: 18ch; line-height: 1.05; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.9375rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* ---- start (sign-up) page ---------------------------------------------------------------- */
.narrow { width: min(520px, 100% - 40px); margin-inline: auto; padding: 40px 0 80px; }
.panel { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.panel h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 700; line-height: 1.1; }
.panel ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.status { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--ink); animation: spin 700ms linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { padding: 14px 16px; border-radius: 14px; background: #fbe9ea; color: #a3242b; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.stores { display: flex; flex-direction: column; gap: 10px; }
.soon { font-size: 0.875rem; color: var(--muted); }
[hidden] { display: none !important; }

/* ---- responsive ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .mode { grid-template-columns: 1fr; gap: 14px; }
  .mode .pic { max-width: 360px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .price { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .hero { padding-top: 20px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .month { padding: 20px 18px 18px; border-radius: 22px; }
  .days { gap: 6px; }
  .closing { padding: 32px 24px; }
  .closing .btn { width: 100%; }
  .top .btn-small { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Liquid glass + moving background (v2)
   ===================================================================== */

/* body stays transparent: its own background would paint over the z-index:-1 aurora */
body { background: transparent; }

/* Slow aurora behind everything. Only transform animates (GPU), never blur. */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--ground); }
.aurora i {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  will-change: transform;
}
.aurora .a1 { left: -18vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(196, 255, 25, 0.95), rgba(196, 255, 25, 0) 70%); }
.aurora .a2 { right: -22vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(120, 226, 196, 0.8), rgba(120, 226, 196, 0) 70%); }
.aurora .a3 { left: 12vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(160, 198, 255, 0.85), rgba(160, 198, 255, 0) 70%); }
.aurora .a4 { right: 2vmax; top: 4vmax; width: 40vmax; height: 40vmax; background: radial-gradient(closest-side, rgba(150, 210, 20, 0.5), rgba(150, 210, 20, 0) 70%); }
@media (prefers-reduced-motion: no-preference) {
  .aurora .a1 { animation: drift1 26s ease-in-out infinite alternate; }
  .aurora .a2 { animation: drift2 32s ease-in-out infinite alternate; }
  .aurora .a3 { animation: drift3 38s ease-in-out infinite alternate; }
  .aurora .a4 { animation: drift1 22s ease-in-out infinite alternate-reverse; }
}
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(0.9); } }
@keyframes drift3 { to { transform: translate(10vmax, -16vmax) scale(1.15); } }

/* Glass surface: translucent fill, blur of what moves behind, a lit top edge. */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.4));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(18, 20, 15, 0.05),
    0 18px 48px -18px rgba(18, 20, 15, 0.18);
}
.glass-dark {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(24, 27, 20, 0.93), rgba(18, 20, 15, 0.88));
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 30px 60px -24px rgba(18, 20, 15, 0.45);
}
/* Specular light that follows the pointer (desktop only, set from site.js). */
.glass::after, .glass-dark::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 255, 255, 0.55), transparent 62%);
  opacity: 0; transition: opacity 300ms ease;
}
.glass-dark::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -20%), rgba(196, 255, 25, 0.16), transparent 62%); }
@media (hover: hover) and (pointer: fine) {
  .glass:hover::after, .glass-dark:hover::after { opacity: 1; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.92); }
  .glass-dark { background: #181b14; }
}

/* Floating header pill */
.top { background: transparent; backdrop-filter: none; padding-top: 12px; }
.top .wrap { height: auto; }
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 8px 8px 8px 18px; border-radius: 22px; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--body); font-weight: 500; font-size: 0.9375rem; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .top-nav a:hover { background: rgba(255, 255, 255, 0.7); } }
@media (max-width: 900px) { .top-nav { display: none; } }

.btn-glass {
  background: rgba(255, 255, 255, 0.55); color: var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(18, 20, 15, 0.14);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.8); }
.btn-lime { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -10px rgba(110, 160, 20, 0.7); }

/* Hero: month card is dark glass, two small notes float around it */
.hero-visual { position: relative; }
.float-note {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 18px; font-size: 0.875rem; color: var(--ink); white-space: nowrap;
}
.float-note .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--lime); flex: none; }
.float-note .ico.ink { background: var(--ink); }
.float-note b { display: block; font-weight: 620; }
.float-note span { color: var(--muted); font-size: 0.8125rem; }
.note-1 { left: -84px; top: 30%; }
.note-2 { right: -22px; bottom: -26px; }
@media (prefers-reduced-motion: no-preference) {
  .float-note { animation: bob 6s ease-in-out infinite alternate; }
  .note-2 { animation-duration: 7.5s; animation-delay: -2s; }
  .float-note.enter { animation: noteIn 600ms var(--ease) both, bob 6s ease-in-out 600ms infinite alternate; }
}
@keyframes bob { to { transform: translateY(-8px); } }
@keyframes noteIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
@media (max-width: 900px) {
  .hero-visual { margin-top: 18px; margin-bottom: 40px; }
  .note-1 { left: auto; right: -6px; top: -30px; }
  .note-2 { right: auto; left: -6px; bottom: -58px; }
}

/* Modes: pictures become glass tiles */
.mode { border-top-color: rgba(18, 20, 15, 0.1); }
.mode:last-child { border-bottom-color: rgba(18, 20, 15, 0.1); }
.letter { background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px rgba(18, 20, 15, 0.06); }
.week i { background: rgba(255, 255, 255, 0.7); }


/* ---- three products ---------------------------------------------------- */
.kicker { color: var(--olive); font-weight: 600; font-size: 0.9375rem; margin-bottom: 10px; }
.bento { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.product.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.product h3 { font-size: 1.5rem; font-weight: 680; }
.product .for { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
.product .copy { display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 0.875rem; background: rgba(255, 255, 255, 0.62); box-shadow: inset 0 0 0 1px rgba(18, 20, 15, 0.08); color: var(--ink); }

/* CRM window mock */
.window { border-radius: 18px; background: rgba(255, 255, 255, 0.78); box-shadow: inset 0 0 0 1px rgba(18, 20, 15, 0.08), 0 20px 40px -24px rgba(18, 20, 15, 0.35); overflow: hidden; font-size: 0.8125rem; }
.window-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(18, 20, 15, 0.07); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d9d2; }
.window-body { display: grid; grid-template-columns: 120px 1fr; min-height: 210px; }
.window-side { padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(18, 20, 15, 0.07); color: var(--muted); }
.window-side span { padding: 5px 8px; border-radius: 8px; }
.window-side .on { background: var(--ink); color: #fff; }
.window-main { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.crm-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(18, 20, 15, 0.06); }
.crm-row:last-child { border-bottom: 0; }
.crm-row strong { color: var(--ink); font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att { display: flex; gap: 3px; }
.att i { width: 8px; height: 8px; border-radius: 2px; background: var(--olive); }
.att i.no { background: #e3a1a5; }
.paid { font-weight: 600; color: var(--olive); font-variant-numeric: tabular-nums; }
.paid.due { color: #a3242b; }

/* Phone mock */
.phone-wrap { display: flex; justify-content: center; margin-top: auto; padding-top: 6px; }
.phone {
  width: 230px; border-radius: 34px; padding: 10px; background: var(--ink);
  box-shadow: 0 30px 50px -28px rgba(18, 20, 15, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin-bottom: -60px;
}
.screen { border-radius: 26px; background: var(--ground); padding: 14px 12px 70px; display: flex; flex-direction: column; gap: 8px; font-size: 0.8125rem; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-weight: 620; }
.coins { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 0.75rem; background: #fff; padding: 3px 8px; border-radius: 999px; }
.coins::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #f2b705; box-shadow: inset 0 0 0 2px #d99a00; }
.tile { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; box-shadow: 0 1px 0 rgba(18, 20, 15, 0.04); }
.tile b { color: var(--ink); font-weight: 600; }
.tile small { color: var(--muted); display: block; }
.tile .go { width: 24px; height: 24px; border-radius: 8px; background: var(--lime); flex: none; }
.tile .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--olive); flex: none; display: grid; place-items: center; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: rgba(18, 20, 15, 0.06); font-size: 0.75rem; text-align: center; }
.seg span { padding: 5px 0; border-radius: 9px; color: var(--muted); }
.seg .on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(18, 20, 15, 0.12); }

/* How the three connect: a real sequence */
.flow { margin-top: 20px; border-radius: 24px; padding: 22px 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: flow; }
.flow p { counter-increment: flow; display: flex; gap: 12px; align-items: flex-start; }
.flow p::before { content: counter(flow); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 650; font-size: 0.875rem; margin-top: 1px; }
.centers-cta { margin-top: 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .product.wide { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .window-body { grid-template-columns: 1fr; }
  .window-side { display: none; }
}
@media (max-width: 520px) {
  .product { padding: 22px; border-radius: 24px; }
  .glass, .btn-glass { -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
}

/* =====================================================================
   v3: real app screens (from the design canvas) + scroll reveal
   ===================================================================== */
.showcase { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.show { border-radius: 30px; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 20px; }
.show h3 { font-size: 1.375rem; font-weight: 680; }
.show .who { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
.show-text p:last-child { margin-top: 10px; }

/* Phone frame around a real screen; the crop shows the top of the screen. */
.device {
  align-self: center; width: min(250px, 100%); padding: 8px; border-radius: 40px; background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 50px -26px rgba(18, 20, 15, 0.55);
  transition: transform 400ms var(--ease);
}
.device .crop { border-radius: 32px; overflow: hidden; aspect-ratio: 390 / 700; background: #fff; }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-sm { width: 230px; margin-bottom: -64px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .show:hover .device, .product:hover .device { transform: translateY(-6px) rotate(-1deg); }
}

@media (max-width: 900px) {
  /* Phones become a swipeable row */
  .showcase { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 20px 20px; margin-inline: -20px; scrollbar-width: none; }
  .showcase::-webkit-scrollbar { display: none; }
  .show { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Sections rise in once as they enter the screen */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .showcase .reveal:nth-child(2), .js .bento .reveal:nth-child(2) { transition-delay: 90ms; }
  .js .showcase .reveal:nth-child(3), .js .bento .reveal:nth-child(3) { transition-delay: 180ms; }
}
