/* ==========================================================================
   Features page (body.page-features)
   Night hero + app tour, sticky section nav, one section per feature.
   App replicas use the app's own dark-green palette (--a-*), sized in em so
   one --k factor scales a whole phone.
   ========================================================================== */

body.page-features {
  --a-bg: #111a16;
  --a-deep: #0c1310;
  --a-panel: #1d2b23;
  --a-hi: #243429;
  --a-line: #334439;
  --a-text: #f5f7ef;
  --a-muted: #a4b4a8;
  --a-faint: #7d9083;
  --a-leaf: #7ddd43;
  --a-leaf2: #95e85e;
  --a-onleaf: #0e1a0d;
  --a-leafbg: #1f3a1b;
  --a-amber: #f2b544;
  --a-lilac: #9db7f5;
  --a-red: #f07b6c;
  --a-flame: #ff9a3d;
}

@keyframes fx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fx-in-b { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fx-blink { 50% { opacity: 0; } }

/* ---------- shared bits ---------- */
.page-features .ui-i { width: 1.15em; height: 1.15em; flex: none; }
.page-features .fx-sec { position: relative; padding-block: var(--section); scroll-margin-top: 60px; overflow-x: clip; }
.page-features .fx-sec--paper { background: var(--paper); }
.page-features .fx-sec--paper2 { background: var(--paper-2); }
.page-features .fx-sec--mist { background: var(--mist); }
.page-features .fx-sec--night { overflow: hidden; isolation: isolate; }
.page-features .fx-sec__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 12% 6%, rgba(90, 69, 255, 0.3), transparent 70%),
    radial-gradient(36% 40% at 92% 96%, rgba(132, 214, 69, 0.13), transparent 70%);
}
.page-features .fx-sec__glow--b {
  background:
    radial-gradient(40% 50% at 85% 20%, rgba(90, 69, 255, 0.3), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, rgba(255, 126, 182, 0.1), transparent 70%);
}
.page-features .fx-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.page-features .fx-head--center { margin-inline: auto; text-align: center; }
.page-features .fx-head .h2 { margin-top: 14px; }
.page-features .fx-head .lead { margin-top: 18px; }
.page-features .fx-head--center .lead { margin-inline: auto; }
.page-features .section--night .fx-head .h2 { color: #fff; }
/* long highlighted phrases (e.g. Turkish) must be able to wrap on phones */
@media (max-width: 640px) { .page-features .hl { white-space: normal; } }
.page-features .fx-sub { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-small); max-width: 52ch; }

.page-features .fx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.page-features .fx-split--flip .fx-split__copy { order: 2; }
.page-features .fx-split__copy .fx-head { margin-bottom: 28px; }
@media (max-width: 960px) {
  .page-features .fx-split { grid-template-columns: minmax(0, 1fr); }
  .page-features .fx-split--flip .fx-split__copy { order: 0; }
}

.page-features .fx-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm);
}
.page-features .fx-card .h3 { margin-top: 16px; }
.page-features .fx-card p { margin-top: 8px; color: var(--ink-2); }

/* app module: a dark panel cut out of an app screen */
.page-features .fx-mod {
  position: relative; padding: 18px; border-radius: 24px; text-align: left; /* replicas are dir=ltr; keeps Arabic meanings under their English word */
  background: var(--a-bg); color: var(--a-text); font-size: 15px; line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 60px -30px rgba(17, 26, 22, 0.7);
}
.page-features .fx-mod__label { margin: 14px 0 8px; font-size: 0.72em; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-leaf); }
[data-script="arabic"] .page-features .fx-mod__label, [data-script="cjk"] .page-features .fx-mod__label, [data-script="devanagari"] .page-features .fx-mod__label { letter-spacing: 0; text-transform: none; }
.page-features .fx-mod__row { display: flex; align-items: center; gap: 10px; }
.page-features .fx-mod__row > span { display: flex; flex-direction: column; min-width: 0; }
.page-features .fx-mod__row .en-word { color: #fff; font-size: 1.08em; }
.page-features .fx-mod__row small { color: var(--a-leaf2); font-weight: 650; font-size: 0.86em; }
.page-features .fx-mini { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; flex: none; }

/* audio buttons inside replicas */
.page-features .ui-audio { width: 34px; height: 34px; background: var(--a-hi); color: var(--a-leaf2); }
.page-features .ui-audio::after { content: ""; position: absolute; inset: min(-6px, calc(50% - 22px)); border-radius: 50%; }
.page-features .ui-audio:hover { background: #2c4133; }
.page-features .ui-audio:focus-visible { outline: 3px solid var(--a-leaf); outline-offset: 2px; }
.page-features .ui-audio .icon { width: 18px; height: 18px; }
.page-features .ui-audio--sm { width: 30px; height: 30px; }
.page-features .ui-audio--sm .icon { width: 15px; height: 15px; }

/* ==========================================================================
   Hero + app tour
   ========================================================================== */
.page-features .fx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 84px));
  padding-bottom: clamp(48px, 6vw, 88px);
}
.page-features .fx-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-features .fx-hero__orb { position: absolute; border-radius: 50%; }
.page-features .fx-hero__orb--a { width: min(70vw, 900px); aspect-ratio: 1; left: -18%; top: 14%; background: radial-gradient(closest-side, rgba(90, 69, 255, 0.42), transparent); }
.page-features .fx-hero__orb--b { width: min(60vw, 760px); aspect-ratio: 1; right: -16%; top: 38%; background: radial-gradient(closest-side, rgba(132, 214, 69, 0.2), transparent); }
.page-features .fx-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 22%, #000 10%, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 22%, #000 10%, transparent 75%);
}
.page-features .fx-hero__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-features .fx-hero__title { margin-top: 22px; max-width: 15ch; color: #fff; }
.page-features .fx-hero__lead { margin-top: 22px; color: var(--on-night-2); }

.page-features .fx-tour { --k: 0.92; --tw: calc(300px * var(--k)); --th: calc(var(--tw) * 2.1333); position: relative; margin-top: clamp(36px, 5vw, 72px); }
@media (min-width: 1360px) { .page-features .fx-tour { --k: 1; } }
@media (max-width: 1100px) { .page-features .fx-tour { --k: 0.84; } }
@media (max-width: 760px) { .page-features .fx-tour { --k: 0.74; } }
@media (max-width: 400px) { .page-features .fx-tour { --k: 0.68; } }
.page-features .fx-tour__stage {
  position: relative; height: calc(var(--th) + 44px); perspective: 1700px; perspective-origin: 50% 30%;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; outline: none;
}
.page-features .fx-tour__stage:focus-visible { outline: 3px solid var(--lime); outline-offset: -6px; border-radius: 28px; }
.page-features .fx-tour.is-dragging .fx-tour__stage { cursor: grabbing; }
.page-features .fx-tour__floor {
  position: absolute; left: 50%; bottom: 0; width: min(1100px, 96vw); height: 140px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(132, 214, 69, 0.16), rgba(90, 69, 255, 0.1) 45%, transparent 72%);
}
.page-features .fx-tour__slide {
  position: absolute; top: 6px; left: 50%; width: var(--tw); margin-left: calc(var(--tw) / -2);
  transform-style: preserve-3d; will-change: transform;
}
.page-features .fx-tour.is-ready .fx-tour__slide { transition: transform 0.9s var(--ease-out), opacity 0.6s ease; }
.page-features .fx-tour.is-dragging .fx-tour__slide { transition: none; }
.page-features .fx-tour .fx-phone { --pw: var(--tw); }
.page-features .fx-tour .phone::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--night); opacity: var(--dim, 0); transition: opacity 0.8s var(--ease-out);
}
.page-features .fx-tour.is-dragging .phone::after { transition: none; }
.page-features .fx-tour__slide.is-active .phone {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 calc(var(--pw) * 0.012) #050409,
    0 50px 100px -30px rgba(0, 0, 0, 0.7), 0 0 80px -10px rgba(132, 214, 69, 0.25);
}
.page-features .fx-tour:not(.is-visible) * { animation-play-state: paused !important; }

/* no JS: a plain scrolling row of phones */
html:not(.js) .page-features .fx-tour__stage { display: flex; gap: 28px; height: auto; overflow-x: auto; padding: 8px max(var(--gutter), calc(50% - var(--tw) / 2)) 28px; scroll-snap-type: x mandatory; perspective: none; }
html:not(.js) .page-features .fx-tour__slide { position: relative; left: auto; top: auto; margin: 0; flex: none; scroll-snap-align: center; }
html:not(.js) .page-features .fx-tour__controls, html:not(.js) .page-features .fx-tour__floor { display: none; }

.page-features .fx-tour__controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.page-features .fx-tour__btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 1px solid var(--night-line); background: rgba(255, 255, 255, 0.04); color: var(--on-night);
  transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}
.page-features .fx-tour__btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.page-features .fx-tour__btn:active { transform: scale(0.94); }
.page-features .fx-tour__btn:focus-visible, .page-features .fx-tour__tab:focus-visible { outline-color: var(--lime); }
.page-features .fx-tour__btn .ui-i { width: 18px; height: 18px; }
.page-features .fx-tour__btn--play { margin-inline-start: 6px; }
.page-features .fx-tour__btn .fx-i-play { display: none; }
.page-features .fx-tour.is-paused .fx-tour__btn .fx-i-play { display: block; }
.page-features .fx-tour.is-paused .fx-tour__btn .fx-i-pause { display: none; }
.page-features .fx-tour__tabs {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px; min-width: 0;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--night-line);
  overflow-x: auto; scrollbar-width: none;
}
.page-features .fx-tour__tabs::-webkit-scrollbar { display: none; }
.page-features .fx-tour__tab {
  position: relative; flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; overflow: hidden;
  color: var(--on-night-2); font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.page-features .fx-tour__tab:hover { color: #fff; }
.page-features .fx-tour__tab[aria-current="true"] { background: #fff; color: var(--ink); }
.page-features .fx-tour__prog {
  position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--iris); opacity: 0; transform: scaleX(0); transform-origin: left center;
}
[dir="rtl"] .page-features .fx-tour__prog { transform-origin: right center; }
.page-features .fx-tour.is-auto .fx-tour__tab[aria-current="true"] .fx-tour__prog { opacity: 1; animation: fx-prog-a var(--auto, 5200ms) linear forwards; }
.page-features .fx-tour.is-auto[data-cycle="1"] .fx-tour__tab[aria-current="true"] .fx-tour__prog { animation-name: fx-prog-b; }
@keyframes fx-prog-a { to { transform: scaleX(1); } }
@keyframes fx-prog-b { to { transform: scaleX(1); } }
.page-features .fx-tour__caps { margin-top: 18px; min-height: 3.4em; text-align: center; }
.page-features .fx-tour__cap { max-width: 52ch; margin-inline: auto; text-wrap: balance; color: var(--on-night-2); font-size: var(--fs-lead); line-height: 1.5; animation: fx-in 0.5s var(--ease-out); }
.page-features .fx-tour__cap strong { color: #fff; font-weight: 700; }
.page-features .fx-tour__note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 18px; color: var(--on-night-3); font-size: var(--fs-xs); text-align: center; }
.page-features .fx-tour__note .icon { flex: none; margin-top: 1px; }
@media (max-width: 640px) {
  .page-features .fx-tour__controls { flex-wrap: wrap; }
  .page-features .fx-tour__tabs { order: -1; flex: 1 1 100%; max-width: max-content; margin-inline: auto; }
  .page-features .fx-tour__tab { padding: 0 13px; font-size: 0.9rem; }
  .page-features .fx-tour__btn--play { margin-inline-start: 0; }
  .page-features .fx-tour__cap { font-size: 1.02rem; }
}

/* ==========================================================================
   App screen replicas (inside .phone; 1em = 16px × --k)
   ========================================================================== */
.page-features .fx-phone { --pw: calc(300px * var(--k, 1)); }
.page-features .fx-phone .phone__screen { font-size: calc(16px * var(--k, 1)); line-height: 1.35; }
.page-features .ui {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--a-bg); color: var(--a-text); font-family: var(--font-sans); text-align: left;
}
.page-features .ui-status {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  height: 3.6em; padding: 0.1em 2.1em 0 2.3em; font-size: 0.74em; font-weight: 650; letter-spacing: 0.01em;
}
.page-features .ui-status__r { display: inline-flex; align-items: center; gap: 0.38em; }
.page-features .ui-st { width: auto; height: 0.92em; }
.page-features .ui-st--bat { height: 1em; }
.page-features .ui-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.72em; padding: 0.2em 1em 0.8em; overflow: hidden; }
.page-features .ui-tabs {
  flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0.55em 0.2em 1.2em; background: var(--a-deep); border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.page-features .ui-tab { display: flex; flex-direction: column; align-items: center; gap: 0.28em; min-width: 0; color: var(--a-faint); }
.page-features .ui-tab .ui-i { box-sizing: content-box; width: 1.25em; height: 1.25em; padding: 0.18em 0.7em; border-radius: 999px; }
.page-features .ui-tab.is-on { color: var(--a-leaf); }
.page-features .ui-tab.is-on .ui-i { background: rgba(125, 221, 67, 0.15); }
.page-features .ui-tab__l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.56em; font-weight: 700; letter-spacing: -0.01em; }

.page-features .ui-title { font-size: 1.38em; font-weight: 750; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.page-features .ui-h { font-size: 1.12em; font-weight: 750; line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.page-features .ui-sub { font-size: 0.8em; font-weight: 700; color: #fff; }
.page-features .ui-link { font-size: 0.68em; font-weight: 700; color: var(--a-leaf); }
.page-features .ui-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5em; }
.page-features .ui-meta { font-size: 0.68em; color: var(--a-muted); }
.page-features .ui-label { font-size: 0.56em; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-leaf); }
.page-features .ui-lvl {
  flex: none; display: inline-flex; align-items: center; padding: 0.2em 0.6em; border-radius: 999px;
  background: var(--a-leafbg); color: var(--a-leaf2); font-size: 0.62em; font-weight: 800; line-height: 1.2;
}
.page-features .fx-mod .ui-lvl, .page-features .fx-lib .ui-lvl { font-size: 0.7em; }
.page-features .ui-pill { flex: none; padding: 0.38em 0.85em; border-radius: 999px; background: var(--a-leaf); color: var(--a-onleaf); font-size: 0.66em; font-weight: 800; }
.page-features .ui-avatar { width: 2.4em; height: 2.4em; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--a-hi); }
.page-features .ui-thumb { width: 2.7em; height: 2.7em; flex: none; border-radius: 0.75em; object-fit: cover; }
.page-features .ui-list { list-style: none; padding: 0; display: grid; gap: 0.4em; }
.page-features .ui-list li { display: flex; align-items: center; gap: 0.7em; padding: 0.45em 0.6em 0.45em 0.45em; border-radius: 0.9em; background: var(--a-panel); }
.page-features .ui-list__t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.page-features .ui-list__t .en-word { font-size: 0.92em; color: #fff; }
.page-features .ui-list__m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74em; color: var(--a-muted); }
.page-features .ui-st-pill {
  flex: none; display: inline-flex; align-items: center; gap: 0.3em; padding: 0.28em 0.7em; border-radius: 999px;
  font-size: 0.62em; font-weight: 800; white-space: nowrap;
}
.page-features .ui-st-pill--due { background: rgba(242, 181, 68, 0.15); color: var(--a-amber); }
.page-features .ui-st-pill--learning { background: rgba(157, 183, 245, 0.15); color: var(--a-lilac); }
.page-features .ui-st-pill--learned { background: var(--a-leafbg); color: var(--a-leaf2); }
.page-features .ui-st-pill--next { background: rgba(255, 255, 255, 0.07); color: var(--a-muted); }
.page-features .ui-st-pill--saved { background: rgba(255, 154, 61, 0.14); color: var(--a-flame); }
.page-features .ui-st-pill .icon { width: 1.1em; height: 1.1em; }
.page-features .ui-seg { display: inline-flex; padding: 0.2em; border-radius: 999px; background: var(--a-panel); font-size: 0.72em; font-weight: 750; }
.page-features .ui-seg span { padding: 0.38em 0.95em; border-radius: 999px; color: var(--a-muted); }
.page-features .ui-seg .is-on { background: var(--a-hi); color: #fff; }
.page-features .ui-chips { display: flex; gap: 0.35em; overflow: hidden; margin-inline: -1em; padding-inline: 1em; font-size: 0.66em; font-weight: 700; }
.page-features .ui-chips span { flex: none; padding: 0.45em 0.9em; border-radius: 999px; border: 1px solid var(--a-line); color: var(--a-muted); }
.page-features .ui-chips .is-on { background: var(--a-leaf); border-color: var(--a-leaf); color: var(--a-onleaf); }
.page-features .ui-bar { display: block; height: 0.32em; margin-top: 0.15em; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.page-features .ui-bar i { display: block; height: 100%; border-radius: inherit; background: var(--a-leaf); transform: scaleX(var(--p)); transform-origin: left; }
.page-features .ui-practice { display: flex; align-items: center; gap: 0.65em; padding: 0.6em 0.7em; border-radius: 0.9em; background: var(--a-panel); }
.page-features .ui-practice > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.page-features .ui-practice b { font-size: 0.8em; font-weight: 750; }
.page-features .ui-practice small { font-size: 0.64em; color: var(--a-muted); }
.page-features .ui-practice__ic { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.6em; background: var(--a-hi); color: var(--a-leaf2); flex: none; }
.page-features .ui-practice > .ui-i { color: var(--a-faint); width: 1em; height: 1em; }

/* home */
.page-features .ui-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8em; padding-top: 0.15em; }
.page-features .ui-due { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.65em; border-radius: 0.95em; background: linear-gradient(120deg, #1f3a1b, #192a1f); border: 1px solid #2b4826; }
.page-features .ui-due__ic { display: grid; place-items: center; width: 2em; height: 2em; flex: none; border-radius: 0.6em; background: rgba(125, 221, 67, 0.16); color: var(--a-leaf); }
.page-features .ui-due__t { flex: 1; font-size: 0.7em; font-weight: 700; line-height: 1.25; }
.page-features .ui-deck { border-radius: 1em; overflow: hidden; background: var(--a-panel); border: 1px solid rgba(255, 255, 255, 0.05); }
.page-features .ui-deck__art { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; height: 6.2em; }
.page-features .ui-deck__art img { width: 100%; height: 100%; object-fit: cover; }
.page-features .ui-deck__a { grid-row: span 2; }
.page-features .ui-deck__body { display: flex; flex-direction: column; gap: 0.28em; padding: 0.65em 0.8em 0.8em; }
.page-features .ui-deck__t { font-size: 0.92em; font-weight: 750; color: #fff; }
.page-features .ui-btn { align-self: flex-start; margin-top: 0.4em; padding: 0.42em 0.95em; border-radius: 999px; background: var(--a-leaf); color: var(--a-onleaf); font-size: 0.66em; font-weight: 800; }
.page-features .ui-worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45em; }
.page-features .ui-world { position: relative; height: 4.7em; border-radius: 0.8em; overflow: hidden; }
.page-features .ui-world img { width: 100%; height: 100%; object-fit: cover; }
.page-features .ui-world > span { position: absolute; inset: auto 0 0; padding: 1em 0.55em 0.45em; font-size: 0.58em; font-weight: 800; line-height: 1.15; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }

/* feed */
.page-features .ui-feed__art { position: relative; flex: 0 0 47%; overflow: hidden; }
.page-features .ui-feed__art img { width: 100%; height: 100%; object-fit: cover; }
.page-features .ui-feed__top { position: absolute; inset: 0 0 auto; padding-bottom: 1.8em; background: linear-gradient(rgba(0, 0, 0, 0.55), transparent); }
.page-features .ui-status--over { color: #fff; }
.page-features .ui-feed__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 1.05em; color: #fff; font-size: 0.86em; font-weight: 800; }
.page-features .ui-feed__body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.3em; padding: 0.85em 1em 0.8em; }
.page-features .ui-word { position: relative; display: flex; align-items: center; gap: 0.5em; }
.page-features .ui-word .en-word { font-size: 1.55em; line-height: 1.1; color: #fff; }
.page-features .ui-word .ui-lvl { margin-inline-start: auto; }
.page-features .ui-spk { display: inline-grid; place-items: center; width: 1.85em; height: 1.85em; flex: none; border-radius: 50%; background: var(--a-hi); color: var(--a-leaf2); }
.page-features .ui-spk--sm { width: 1.5em; height: 1.5em; vertical-align: middle; }
.page-features .ui-spk--sm .ui-i { width: 0.85em; height: 0.85em; }
.page-features .ui-mean { position: relative; font-size: 1em; font-weight: 750; line-height: 1.25; color: var(--a-leaf2); }
.page-features .ui-ctx { position: relative; margin-top: 0.15em; font-size: 0.8em; line-height: 1.4; color: var(--a-text); }
.page-features .ui-tr { font-size: 0.74em; line-height: 1.4; color: var(--a-muted); }
.page-features .ui-add {
  position: relative; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 0.4em;
  height: 2.65em; border-radius: 999px; background: var(--a-leaf); color: var(--a-onleaf); font-size: 0.8em; font-weight: 800;
}
.page-features .ui .ui-audio { width: 1.9em; height: 1.9em; }
.page-features .ui .ui-audio .icon { width: 1.05em; height: 1.05em; }
.page-features .ui .ui-audio--sm { display: inline-grid; width: 1.75em; height: 1.75em; margin-inline-start: 0.2em; vertical-align: middle; }
.page-features .ui .ui-audio--sm .icon { width: 0.9em; height: 0.9em; }

/* review */
.page-features .ui-hub {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.3em; padding: 1em 0.9em 1.05em;
  border-radius: 1.2em; background: radial-gradient(120% 90% at 50% 0%, #22401d, var(--a-panel) 70%); border: 1px solid #2b4826;
}
.page-features .ui-hub__count { display: flex; align-items: baseline; gap: 0.35em; }
.page-features .ui-hub__n { font-size: 2.6em; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.page-features .ui-hub__l { font-size: 0.8em; font-weight: 700; color: var(--a-leaf2); }
.page-features .ui-hub__min { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.68em; color: var(--a-muted); }
.page-features .ui-hub__min .ui-i { width: 1.2em; height: 1.2em; }
.page-features .ui-start {
  position: relative; display: inline-flex; align-items: center; gap: 0.45em; margin-top: 0.55em; padding: 0.7em 1.4em;
  border-radius: 999px; background: var(--a-leaf); color: var(--a-onleaf); font-size: 0.8em; font-weight: 800;
}
.page-features .ui-start .ui-i { width: 1em; height: 1em; fill: currentColor; }
.page-features .ui-start__ring { position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--a-leaf); animation: fx-pulse 2.2s var(--ease-out) infinite; }
@keyframes fx-pulse { 0% { opacity: 0.85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14, 1.5); } }
.page-features .ui-fc { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35em; align-items: end; height: 5.4em; }
.page-features .ui-fc__d { display: flex; flex-direction: column; align-items: center; gap: 0.2em; height: 100%; justify-content: flex-end; }
.page-features .ui-fc__d b { font-size: 0.6em; color: var(--a-muted); font-weight: 700; }
.page-features .ui-fc__d i { display: block; width: 100%; height: calc(var(--h) * 3.2em); border-radius: 0.35em 0.35em 0.2em 0.2em; background: #2f4a36; }
.page-features .ui-fc__d.is-today i { background: var(--a-leaf); }
.page-features .ui-fc__d.is-today b { color: var(--a-leaf2); }
.page-features .ui-fc__d small { max-width: 100%; overflow: hidden; font-size: 0.52em; color: var(--a-faint); white-space: nowrap; text-overflow: clip; }
/* Devanagari matras need taller lines inside the clipped one-line labels */
[data-script="devanagari"] .page-features :is(.ui-tab__l, .ui-list__m, .ui-fc__d small) { line-height: 1.6; }

/* profile */
.page-features .ui-prof { display: flex; align-items: center; gap: 0.7em; padding-top: 0.2em; }
.page-features .ui-prof .ui-avatar { width: 3em; height: 3em; }
.page-features .ui-prof__t { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.page-features .ui-prof__t b { font-size: 1.05em; color: #fff; }
.page-features .ui-prof__t small { font-size: 0.68em; color: var(--a-muted); }
.page-features .ui-prof__set { color: var(--a-muted); }
.page-features .ui-streak { display: flex; align-items: center; gap: 0.7em; padding: 0.8em 0.85em; border-radius: 1.1em; background: linear-gradient(120deg, #3a2614, #23201a); border: 1px solid #4a3218; }
.page-features .ui-streak__flame { display: grid; place-items: center; width: 2.5em; height: 2.5em; flex: none; border-radius: 0.8em; background: rgba(255, 154, 61, 0.18); color: var(--a-flame); }
.page-features .ui-streak__flame .ui-i { width: 1.45em; height: 1.45em; }
.page-features .ui-streak__t { flex: 1; display: flex; align-items: baseline; gap: 0.35em; }
.page-features .ui-streak__t b { font-size: 1.8em; font-weight: 800; line-height: 1; color: #fff; }
.page-features .ui-streak__t span { font-size: 0.74em; font-weight: 700; color: #ffd4a8; }
.page-features .ui-streak__best { font-size: 0.62em; color: var(--a-muted); }
.page-features .ui-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3em; }
.page-features .ui-week > span { display: flex; flex-direction: column; align-items: center; gap: 0.25em; }
.page-features .ui-week i { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--a-panel); color: #2a1400; }
.page-features .ui-week .is-on i { background: linear-gradient(135deg, #ff9a3d, #f2b544); }
.page-features .ui-week i .ui-i { width: 1em; height: 1em; stroke-width: 3; }
.page-features .ui-week small { font-size: 0.56em; color: var(--a-faint); font-weight: 700; }
.page-features .ui-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; }
.page-features .ui-stats span { display: flex; flex-direction: column; padding: 0.6em 0.7em; border-radius: 0.9em; background: var(--a-panel); line-height: 1.2; }
.page-features .ui-stats b { font-size: 1.35em; font-weight: 800; color: #fff; }
.page-features .ui-stats small { font-size: 0.62em; color: var(--a-muted); }

/* ==========================================================================
   Sticky section nav
   ========================================================================== */
.page-features .fx-body { position: relative; }
.page-features .fx-subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(251, 250, 246, 0.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.page-features .fx-subnav__in { max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; }
.page-features .fx-subnav__list {
  --fade-l: var(--gutter); --fade-r: var(--gutter);
  display: flex; gap: 4px; overflow-x: auto; padding: 8px var(--gutter); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
}
/* more chips hidden on that side (set by features.js while the row overflows) */
.page-features .fx-subnav__list.is-more-l { --fade-l: 64px; }
.page-features .fx-subnav__list.is-more-r { --fade-r: 64px; }
.page-features .fx-subnav__list::-webkit-scrollbar { display: none; }
.page-features .fx-subnav__list > li { flex: none; }
.page-features .fx-subnav__list > li:first-child { margin-inline-start: auto; }
.page-features .fx-subnav__list > li:last-child { margin-inline-end: auto; }
.page-features .fx-subnav__chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-2); font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.page-features .fx-subnav__chip:hover { background: rgba(22, 19, 45, 0.05); color: var(--ink); }
.page-features .fx-subnav__chip.is-active { background: var(--ink); color: #fff; }
.page-features .fx-subnav__chip:focus-visible { outline-offset: -2px; }

/* ==========================================================================
   1. Feed anatomy
   ========================================================================== */
.page-features .fx-anatomy { --k: 1.06; position: relative; display: flex; flex-direction: column; align-items: center; }
.page-features .fx-anatomy__glow {
  position: absolute; left: 50%; top: 42%; width: min(760px, 100vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(90, 69, 255, 0.16), rgba(132, 214, 69, 0.09) 55%, transparent);
}
.page-features .fx-anatomy__phone { position: relative; z-index: 1; }
.page-features .ui--live .ui-feed__art { cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.page-features .ui-burst {
  position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center;
  width: 4.6em; height: 4.6em; margin: -2.3em 0 0 -2.3em; border-radius: 50%;
  background: rgba(125, 221, 67, 0.94); color: var(--a-onleaf); opacity: 0; transform: scale(0.4); pointer-events: none;
}
.page-features .ui-burst .ui-i { width: 2.2em; height: 2.2em; stroke-width: 2.6; }
.page-features .ui-burst.is-go { animation: fx-burst 0.95s var(--ease-out); }
@keyframes fx-burst { 0% { opacity: 0; transform: scale(0.4); } 25% { opacity: 1; transform: scale(1.1); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }
.page-features .ui-add--btn { width: 100%; flex: none; cursor: pointer; overflow: visible; transition: background-color 0.3s, color 0.3s, transform 0.2s; }
.page-features .ui-add--btn::after { content: ""; position: absolute; inset: min(-4px, calc(50% - 22px)) 0; }
.page-features .ui-add--btn:active { transform: scale(0.98); }
.page-features .ui-add--btn:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; }
.page-features .ui-add__a, .page-features .ui-add__b { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; transition: opacity 0.3s, transform 0.45s var(--ease-out); }
.page-features .ui-add__b { position: absolute; inset: 0; opacity: 0; transform: translateY(40%); }
.page-features .ui-add--btn[aria-pressed="true"] { background: var(--a-leafbg); color: var(--a-leaf2); box-shadow: inset 0 0 0 1.5px rgba(125, 221, 67, 0.4); }
.page-features .ui-add--btn[aria-pressed="true"] .ui-add__a { opacity: 0; transform: translateY(-40%); }
.page-features .ui-add--btn[aria-pressed="true"] .ui-add__b { opacity: 1; transform: none; }
.page-features .fx-mark {
  position: absolute; z-index: 4; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--iris); color: #fff; font-family: var(--font-sans); font-size: 0.7rem; font-style: normal; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 4px rgba(90, 69, 255, 0.28); pointer-events: none;
}
.page-features .fx-mark--1 { left: 0.9em; bottom: 1em; }
.page-features .fx-mark--2 { right: -0.6em; top: -0.9em; }
.page-features .fx-mark--3 { position: relative; display: inline-grid; vertical-align: middle; margin-inline-start: 0.7em; }
.page-features .fx-mark--4 { right: 0; top: 0.2em; }
.page-features .fx-phone--anatomy .ui-ctx { padding-right: 1.6em; }
.page-features .fx-mark--5 { left: -0.7em; top: 50%; margin-top: -0.8em; }
.page-features .fx-anatomy__parts { position: relative; z-index: 1; display: grid; gap: 10px; width: 100%; max-width: 540px; margin-top: 36px; }
.page-features .fx-part { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-features .fx-part__n { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--iris); color: #fff; font-size: 0.8rem; font-weight: 800; }
.page-features .fx-part__t { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.45; padding-top: 2px; }
.page-features .fx-anatomy__try {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-small); font-weight: 600; box-shadow: var(--shadow);
}
.page-features .fx-anatomy__try .icon { color: var(--lime); }
@media (min-width: 1080px) {
  .page-features .fx-anatomy__parts { position: absolute; inset: 0 0 auto; height: calc(var(--k) * 640px); max-width: none; margin: 0; display: block; direction: ltr; pointer-events: none; }
  .page-features .fx-part { position: absolute; width: min(300px, calc(50% - var(--k) * 150px - 72px)); transform: translateY(-50%); background: transparent; border: 0; box-shadow: none; padding: 0; }
  .page-features .fx-part::after { content: ""; position: absolute; top: 13px; width: 52px; height: 1px; }
  .page-features .fx-part--1, .page-features .fx-part--3, .page-features .fx-part--5 { right: calc(50% + var(--k) * 150px + 44px); flex-direction: row-reverse; text-align: right; }
  .page-features .fx-part--1::after, .page-features .fx-part--3::after, .page-features .fx-part--5::after { right: -60px; background: linear-gradient(90deg, rgba(90, 69, 255, 0.5), rgba(90, 69, 255, 0)); }
  .page-features .fx-part--2, .page-features .fx-part--4 { left: calc(50% + var(--k) * 150px + 44px); }
  .page-features .fx-part--2::after, .page-features .fx-part--4::after { left: -60px; background: linear-gradient(270deg, rgba(90, 69, 255, 0.5), rgba(90, 69, 255, 0)); }
  .page-features .fx-part--1 { top: 43.5%; }
  .page-features .fx-part--2 { top: 48.5%; }
  .page-features .fx-part--3 { top: 56.3%; }
  .page-features .fx-part--4 { top: 61%; }
  .page-features .fx-part--5 { top: 82.6%; }
  .page-features .fx-part__t { font-size: 1rem; color: var(--ink); font-weight: 550; }
  [dir="rtl"] .page-features .fx-part__t { direction: rtl; }
}
.page-features .fx-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.page-features .fx-point { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-features .fx-point .h3 { margin-top: 18px; }
.page-features .fx-point p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 900px) { .page-features .fx-points { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .page-features .fx-anatomy { --k: 0.94; } }

/* ==========================================================================
   2. Word details bento
   ========================================================================== */
.page-features .fx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "ex pa pa" "ex se st"; gap: 20px; }
.page-features .fx-tile { display: flex; flex-direction: column; gap: 14px; padding: 12px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-features .fx-tile__copy { padding: 14px 14px 0; }
.page-features .fx-tile__copy p { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-small); }
.page-features .fx-tile .fx-mod { flex: 1; }
.page-features .fx-tile--ex { grid-area: ex; }
.page-features .fx-tile--partners { grid-area: pa; flex-direction: row; align-items: stretch; }
.page-features .fx-tile--partners .fx-tile__copy { flex: 1 1 40%; align-self: center; padding: 14px; }
.page-features .fx-tile--partners .fx-mod { flex: 1 1 56%; }
.page-features .fx-tile--senses { grid-area: se; }
.page-features .fx-tile--step { grid-area: st; }
@media (max-width: 1080px) {
  .page-features .fx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "ex pa" "ex se" "st st"; }
  .page-features .fx-tile--partners { flex-direction: column; }
  .page-features .fx-tile--partners .fx-tile__copy { padding: 14px 14px 0; align-self: auto; }
}
@media (max-width: 720px) {
  .page-features .fx-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ex" "pa" "se" "st"; }
}
.page-features .fx-ex__art { margin: -6px -6px 16px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; }
.page-features .fx-ex__art img { width: 100%; height: 100%; object-fit: cover; }
.page-features .fx-mod--ex { display: flex; flex-direction: column; }
.page-features .fx-mod--ex .fx-mod__foot { margin-top: auto; padding-top: 12px; }
.page-features .fx-wordhead { display: flex; align-items: center; gap: 12px; }
.page-features .fx-wordhead__t { flex: 1; min-width: 0; }
.page-features .fx-wordhead__w { display: flex; align-items: center; gap: 8px; }
.page-features .fx-wordhead__w .en-word { font-size: 1.45em; line-height: 1.15; color: #fff; }
.page-features .fx-wordhead__m { font-size: 0.95em; font-weight: 700; color: var(--a-leaf2); }
.page-features .fx-ex { display: grid; gap: 8px; }
.page-features .fx-ex__row { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 15px; background: var(--a-panel); }
.page-features .fx-ex__en { font-size: 0.97em; color: #fff; }
.page-features .fx-ex__tr { margin-top: 2px; font-size: 0.86em; color: var(--a-muted); }
.page-features .fx-mod__foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.76em; color: var(--a-faint); }
.page-features .fx-partners { display: flex; flex-wrap: wrap; gap: 8px; }
.page-features .fx-partner { padding: 8px 14px; border-radius: 999px; background: var(--a-leafbg); border: 1px solid rgba(125, 221, 67, 0.25); color: var(--a-leaf2); font-weight: 650; font-size: 0.95em; }
.page-features .fx-note { display: flex; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 15px; background: var(--a-panel); }
.page-features .fx-note .icon { flex: none; margin-top: 2px; color: var(--a-amber); }
.page-features .fx-note__l { font-size: 0.72em; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-amber); }
.page-features .fx-note__t { margin-top: 2px; font-size: 0.9em; color: var(--a-text); }
.page-features .fx-senses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.page-features .fx-sense { border-radius: 16px; overflow: hidden; background: var(--a-panel); transition: transform 0.5s var(--ease-out); }
.page-features .fx-sense:hover { transform: translateY(-3px); }
.page-features .fx-sense__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.page-features .fx-sense__t { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }
.page-features .fx-sense__t .en-word { font-size: 1.05em; color: #fff; }
.page-features .fx-sense__m { font-size: 0.9em; font-weight: 700; color: var(--a-leaf2); }
.page-features .fx-sense__t .ui-lvl { align-self: flex-start; margin-top: 4px; }
.page-features .fx-step__n { font-size: 1.45em; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.page-features .fx-step__bar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; align-items: end; height: 48px; margin-top: 10px; }
.page-features .fx-step__bar i { display: block; height: calc(28% + var(--i) * 10%); border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, 0.09); transform-origin: bottom; }
.page-features .fx-step__bar i.is-on { background: var(--a-leaf); }
.js .page-features .fx-tile--step .fx-step__bar i { transform: scaleY(0.15); transition: transform 0.7s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 250ms); }
.js .page-features .fx-tile--step.is-in .fx-step__bar i { transform: none; }
.page-features .fx-step__next { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.86em; color: var(--a-muted); }

/* ==========================================================================
   3. Review games
   ========================================================================== */
.page-features .fx-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.page-features .fx-game { display: flex; flex-direction: column; gap: 18px; padding: 10px 10px 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--night-line); }
.page-features .fx-game__screen { position: relative; container-type: inline-size; aspect-ratio: 4 / 4.7; overflow: hidden; border-radius: 20px; background: var(--a-bg); border: 1px solid rgba(255, 255, 255, 0.07); }
.page-features .fx-game__copy { padding: 0 12px; }
.page-features .fx-game__num { font-family: var(--font-word); font-size: 0.8rem; font-weight: 600; color: var(--lime); letter-spacing: 0.04em; }
.page-features .fx-game__copy .h3 { margin-top: 6px; color: #fff; }
.page-features .fx-game__copy p { margin-top: 6px; color: var(--on-night-2); font-size: var(--fs-small); }
@media (max-width: 1100px) { .page-features .fx-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .page-features .fx-games { grid-template-columns: minmax(0, 1fr); }
  .page-features .fx-game__screen { aspect-ratio: 1 / 1; }
}

.page-features .g {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.75em;
  padding: 1em 1em 3.3em; font-size: min(16px, 5.6cqi); color: var(--a-text); text-align: left; line-height: 1.35;
}
@media (min-width: 561px) and (max-width: 1100px) {
  /* two wide columns: a landscape-ish frame and slightly larger type, so the replicas don't float in empty space */
  .page-features .fx-game__screen { aspect-ratio: 4 / 3.6; }
  .page-features .g { font-size: min(19px, 5.6cqi); }
}
.page-features .g-progress { display: block; flex: none; height: 0.32em; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.page-features .g-progress i { display: block; height: 100%; border-radius: inherit; background: var(--a-leaf); transform: scaleX(var(--p)); transform-origin: left; }
.page-features .g-prompt { font-size: 0.82em; font-weight: 750; text-align: center; color: #fff; }
/* localized strings inside the LTR app mockups: punctuation follows the text's own direction (Arabic) */
.page-features :is(.g-toast, .g-prompt, .ui-h, .n-text, .fx-mod__foot > span) { unicode-bidi: plaintext; }
.page-features .g-toast {
  position: absolute; left: 50%; bottom: 0.95em; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.5em 1em;
  border-radius: 999px; background: var(--a-leaf); color: var(--a-onleaf); font-size: 0.78em; font-weight: 800; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 0.8em); transition: opacity 0.35s, transform 0.5s var(--ease-spring);
}
.page-features .g[data-s="3"] .g-toast { opacity: 1; transform: translate(-50%, 0); }

/* listen */
.page-features .g-spk { position: relative; align-self: center; display: grid; place-items: center; }
.page-features .g .g-spk__btn.ui-audio { position: relative; z-index: 1; width: 3em; height: 3em; background: var(--a-leaf); color: var(--a-onleaf); }
.page-features .g .g-spk__btn .icon { width: 1.35em; height: 1.35em; }
.page-features .g-spk__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--a-leaf); opacity: 0; }
.page-features .g[data-s="1"] .g-spk__ring { animation: g-ring 1.3s var(--ease-out) infinite; }
.page-features .g[data-s="1"] .g-spk__ring--2 { animation-delay: 0.45s; }
@keyframes g-ring { 0% { opacity: 0.75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.page-features .g-pics { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.5em; }
.page-features .g-pic { position: relative; overflow: hidden; border-radius: 0.8em; background: var(--a-panel); transition: opacity 0.4s, transform 0.45s var(--ease-out); }
.page-features .g-pic img { width: 100%; height: 100%; object-fit: cover; }
.page-features .g-pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--a-leaf); opacity: 0; transition: opacity 0.3s; }
.page-features .g[data-s="3"] .g-pic:not(.is-ok) { opacity: 0.3; transform: scale(0.95); }
.page-features .g[data-s="3"] .g-pic.is-ok::after { opacity: 1; }
.page-features .g-ok { position: absolute; top: 0.4em; right: 0.4em; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--a-leaf); color: var(--a-onleaf); opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.45s var(--ease-spring); }
.page-features .g-ok .icon { width: 0.95em; height: 0.95em; stroke-width: 3; }
.page-features .g[data-s="3"] .g-ok { opacity: 1; transform: none; }
.page-features .g-tap { position: absolute; left: 50%; top: 50%; width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border-radius: 50%; background: rgba(255, 255, 255, 0.9); opacity: 0; pointer-events: none; }
.page-features .g[data-s="2"] .g-tap { animation: g-tap 0.7s var(--ease-out) forwards; }
@keyframes g-tap { 0% { opacity: 0; transform: scale(1.7); } 45% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.25); } }

/* match */
.page-features .g-board { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 0.5em; }
.page-features .g-cell {
  position: relative; display: grid; place-items: center; padding: 0.3em; border-radius: 0.8em; text-align: center;
  background: var(--a-panel); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.88em; font-weight: 750;
  transition: opacity 0.4s, transform 0.35s var(--ease-out);
}
.page-features .g-cell--en { font-family: var(--font-word); font-size: 0.8em; font-weight: 600; letter-spacing: -0.02em; }
.page-features .g-cell::before, .page-features .g-cell::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; opacity: 0; transition: opacity 0.3s; }
.page-features .g-cell::before { border: 2px solid var(--a-lilac); }
.page-features .g-cell::after { border: 2px solid var(--a-leaf); background: rgba(125, 221, 67, 0.16); }
.page-features .g-cell.is-sel { transform: scale(1.04); }
.page-features .g-cell.is-sel::before { opacity: 1; }
.page-features .g-cell.is-done { transform: none; }
.page-features .g-cell.is-done::before { opacity: 0; }
.page-features .g-cell.is-done::after { opacity: 1; }
.page-features .g-cell.is-gone { opacity: 0.35; }

/* gap */
.page-features .g-sentence { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 0.2em; text-align: center; font-size: 1.04em; font-weight: 650; line-height: 1.7; color: #fff; }
.page-features .g-sentence > span { display: inline; }
.page-features .g-gap { position: relative; display: inline-block; min-width: 3.4em; margin: 0 0.15em; border-bottom: 2px dashed var(--a-faint); line-height: 1.3; text-align: center; transition: border-color 0.3s; }
.page-features .g-gap__w { display: inline-block; font-family: var(--font-word); font-weight: 600; color: var(--a-leaf2); opacity: 0; transform: translateY(0.6em) scale(0.9); transition: opacity 0.35s, transform 0.5s var(--ease-spring); }
.page-features .g[data-s="3"] .g-gap { border-bottom-style: solid; border-bottom-color: var(--a-leaf); }
.page-features .g[data-s="3"] .g-gap__w { opacity: 1; transform: none; }
.page-features .g-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45em; }
.page-features .g-opt { position: relative; padding: 0.5em 0.9em; border-radius: 999px; background: var(--a-panel); border: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--font-word); font-size: 0.74em; font-weight: 600; transition: opacity 0.35s, transform 0.45s var(--ease-out); }
.page-features .g-opt::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--a-lilac); opacity: 0; transition: opacity 0.25s; }
.page-features .g[data-s="2"] .g-opt.is-ok { transform: translateY(-0.3em) scale(1.06); }
.page-features .g[data-s="2"] .g-opt.is-ok::after { opacity: 1; }
.page-features .g[data-s="3"] .g-opt.is-ok { opacity: 0; transform: translateY(-1.2em) scale(0.8); }
.page-features .g[data-s="3"] .g-opt:not(.is-ok) { opacity: 0.35; }

/* type */
.page-features .g-cue { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45em; }
.page-features .g-cue__img { height: 100%; max-height: 7em; width: auto; aspect-ratio: 1; object-fit: cover; border-radius: 1em; min-height: 0; }
.page-features .g-cue__m { font-size: 1.02em; font-weight: 800; color: var(--a-leaf2); }
.page-features .g-input {
  display: flex; align-items: center; justify-content: center; flex: none; height: 2.5em; border-radius: 0.8em;
  background: var(--a-deep); border: 1.5px solid var(--a-line); font-family: var(--font-word); font-size: 1em; font-weight: 600; color: #fff;
  transition: border-color 0.3s;
}
.page-features .g-ch { display: none; }
.page-features .g-ch.is-on { display: inline-block; animation: fx-in 0.22s var(--ease-out); }
.page-features .g-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; background: var(--a-leaf); }
.page-features .g.is-running .g-caret { animation: fx-blink 1s steps(1) infinite; }
.page-features .g[data-s="3"] .g-input { border-color: var(--a-leaf); }
.page-features .g[data-s="3"] .g-caret { opacity: 0; }
.page-features .g-actions { display: flex; flex: none; align-items: center; justify-content: center; gap: 0.4em; font-size: 0.68em; font-weight: 700; transition: opacity 0.3s; }
.page-features .g-ghost { padding: 0.5em 0.75em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); color: var(--a-muted); white-space: nowrap; }
.page-features .g-check { padding: 0.5em 0.95em; border-radius: 999px; background: var(--a-leaf); color: var(--a-onleaf); white-space: nowrap; transition: transform 0.2s; }
.page-features .g[data-s="2"] .g-check { transform: scale(0.94); }
.page-features .g[data-s="3"] .g-actions { opacity: 0; }

/* rules */
.page-features .fx-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--night-line); }
.page-features .fx-rule { display: flex; gap: 14px; padding-top: 26px; }
.page-features .fx-rule > .icon { flex: none; margin-top: 2px; color: var(--lime); }
.page-features .fx-rule__t { font-size: 1.04rem; font-weight: 650; color: #fff; }
.page-features .fx-rule p { margin-top: 4px; color: var(--on-night-2); font-size: var(--fs-small); }
@media (max-width: 1000px) { .page-features .fx-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .page-features .fx-rules { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   4. Memory ladder + daily pace
   ========================================================================== */
.page-features .fx-ladder-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.page-features .fx-ladder-head .fx-head { margin-bottom: 0; }
.page-features .fx-legend { display: grid; gap: 10px; justify-items: start; }
.page-features .fx-legend__i { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: var(--fs-small); font-weight: 600; }
.page-features .fx-legend__i--good .icon { color: var(--leaf); }
.page-features .fx-legend__i--hard .icon { color: #a86d00; }
.page-features .fx-legend__i--again .icon { color: #d43c2c; }
@media (max-width: 900px) { .page-features .fx-ladder-head { grid-template-columns: minmax(0, 1fr); } }

.page-features .fx-ladder { margin: 0; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-features .fx-ladder__rungs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: clamp(6px, 1vw, 14px); height: clamp(320px, 34vw, 430px); }
.page-features .fx-rung { display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%; }
.page-features .fx-rung__col { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.page-features .fx-rung__bar { position: relative; display: block; height: calc(12% + var(--i) * 10%); border-radius: 14px 14px 6px 6px; background: var(--paper-2); overflow: hidden; }
.page-features .fx-rung__bar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #7b66ff, var(--iris)); opacity: 0; transition: opacity 0.5s var(--ease-out); }
.page-features .fx-rung.is-on .fx-rung__bar::before { opacity: 1; }
.page-features .fx-rung:nth-child(n + 6) .fx-rung__bar::before { background: linear-gradient(180deg, var(--lime), var(--leaf)); }
.page-features .fx-rung__label { text-align: center; font-size: var(--fs-small); font-weight: 650; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.page-features .fx-rung.is-on .fx-rung__label { color: var(--ink); }
.page-features .fx-rung__token {
  position: absolute; left: 50%; bottom: calc(12% + var(--i) * 10% + 10px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 5px 7px; border-radius: 16px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow); font-family: var(--font-word); font-size: 0.72rem; font-weight: 600;
  opacity: 0; transform: translate(-50%, 12px) scale(0.85); transition: opacity 0.35s, transform 0.55s var(--ease-spring); pointer-events: none;
}
.page-features .fx-rung__img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; }
.page-features .fx-rung.is-cur .fx-rung__token { opacity: 1; transform: translate(-50%, 0); }
.page-features .fx-rung__flag {
  position: absolute; left: 50%; bottom: calc(12% + var(--i) * 10% - 38px); z-index: 1; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--leaf-700); font-size: 0.74rem; font-weight: 750; box-shadow: var(--shadow-sm);
}
.page-features .fx-ladder__cap { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-small); }
.page-features .fx-ladder__cap .icon { flex: none; color: var(--leaf); }
@media (max-width: 1000px) { .page-features .fx-rung__label { font-size: 0.78rem; } }
@media (max-width: 720px) {
  .page-features .fx-ladder__rungs { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; gap: 8px; }
  .page-features .fx-rung { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px; height: 44px; }
  .page-features .fx-rung__label { order: -1; text-align: start; }
  .page-features .fx-rung__col { flex-direction: row; justify-content: flex-start; align-items: center; height: 100%; }
  .page-features .fx-rung__bar { width: calc(14% + var(--i) * 7.5%); height: 30px; border-radius: 6px 12px 12px 6px; }
  [dir="rtl"] .page-features .fx-rung__bar { border-radius: 12px 6px 6px 12px; }
  .page-features .fx-rung__token { left: auto; inset-inline-start: calc(14% + var(--i) * 7.5% + 8px); bottom: auto; top: 50%; padding: 3px; border-radius: 10px; transform: translate(0, -50%) scale(0.85); }
  .page-features .fx-rung.is-cur .fx-rung__token { transform: translate(0, -50%); }
  .page-features .fx-rung__token span { display: none; }
  .page-features .fx-rung__img { width: 30px; height: 30px; border-radius: 8px; }
  .page-features .fx-rung__flag { left: auto; inset-inline-start: 8px; bottom: auto; top: 50%; transform: translateY(-50%); font-size: 0.68rem; padding: 2px 7px; }
}

.page-features .fx-pace {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl);
  background: radial-gradient(70% 90% at 100% 0%, rgba(90, 69, 255, 0.28), transparent 70%), var(--night); color: var(--on-night);
}
.page-features .fx-pace .h3 { color: #fff; }
.page-features .fx-pace__copy p { margin-top: 10px; color: var(--on-night-2); }
.page-features .fx-pace__label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
[data-script="arabic"] .page-features .fx-pace__label, [data-script="cjk"] .page-features .fx-pace__label, [data-script="devanagari"] .page-features .fx-pace__label { letter-spacing: 0.02em; text-transform: none; }
.page-features .fx-pace__picker { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin-top: 10px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); }
.page-features .fx-pace__opt { min-width: 50px; height: 44px; padding: 0 10px; border-radius: 999px; color: var(--on-night-2); font-size: 1.05rem; font-weight: 750; transition: background-color 0.25s, color 0.25s; }
.page-features .fx-pace__opt:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.page-features .fx-pace__opt[aria-checked="true"] { background: var(--lime); color: #11240a; }
.page-features .fx-pace__opt:focus-visible { outline-color: var(--lime); }
.page-features .fx-pace__value { margin-top: 14px; font-size: 1.25rem; font-weight: 700; color: #fff; }
.page-features .fx-queue { display: grid; gap: 10px; margin-top: 16px; }
.page-features .fx-queue__lane { display: flex; align-items: flex-start; gap: 12px; }
.page-features .fx-queue__l { flex: none; width: 64px; font-size: var(--fs-xs); font-weight: 700; line-height: 14px; color: var(--on-night-3); }
.page-features .fx-queue__cells { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 14px; }
.page-features .fx-queue i { display: block; width: 14px; height: 14px; border-radius: 4px; }
.page-features .fx-queue .q-due { background: var(--iris); }
.page-features .fx-queue .q-new { background: var(--lime); }
.page-features .fx-queue .q-wait { background: rgba(255, 255, 255, 0.14); }
.page-features .fx-queue__cells i { animation: fx-pop 0.35s var(--ease-spring) both; }
@keyframes fx-pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }
.page-features .fx-queue__sep { width: 1px; height: 14px; margin: 0 4px; background: var(--night-line); }
.page-features .fx-queue__key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; padding-inline-start: 76px; font-size: var(--fs-xs); color: var(--on-night-2); }
.page-features .fx-queue__key span { display: inline-flex; align-items: center; gap: 8px; }
.page-features .fx-queue__key i { width: 12px; height: 12px; border-radius: 4px; }
@media (max-width: 900px) {
  .page-features .fx-pace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .page-features .fx-queue__lane { flex-direction: column; gap: 8px; }
  .page-features .fx-queue__key { padding-inline-start: 0; }
  .page-features .fx-pace__opt { min-width: 44px; padding: 0 6px; }
}

/* ==========================================================================
   5. Discover
   ========================================================================== */
.page-features .fx-discover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "head search" "decks worlds"; gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 80px); align-items: start; }
.page-features .fx-discover__head { grid-area: head; margin-bottom: 0; align-self: center; }
.page-features .fx-search { grid-area: search; display: grid; gap: 18px; }
.page-features .fx-search__mod { padding: 16px; }
.page-features .fx-search__copy p { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-small); }
.page-features .ui-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 999px; background: var(--a-panel); border: 1px solid var(--a-line); color: var(--a-muted); }
.page-features .ui-search .ui-i { width: 20px; height: 20px; }
.page-features .ui-search__q { color: #fff; font-weight: 650; font-size: 1.05em; }
.page-features .ui-caret { display: inline-block; width: 2px; height: 20px; margin-inline-start: -8px; background: var(--a-leaf); }
.page-features .fx-search__mod.is-running .ui-caret { animation: fx-blink 1s steps(1) infinite; }
.page-features .ui-results { display: grid; gap: 6px; margin-top: 12px; min-height: 124px; align-content: start; }
.page-features .ui-results li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); animation: fx-in 0.45s var(--ease-out) both; }
.page-features .ui-results li + li { animation-delay: 90ms; }
.page-features .ui-results .ui-thumb { width: 44px; height: 44px; border-radius: 12px; }
.page-features .ui-results .ui-list__t .en-word { font-size: 1.02em; }
.page-features .ui-results .ui-list__m { font-size: 0.86em; color: var(--a-leaf2); font-weight: 650; }
.page-features .fx-decks { grid-area: decks; }
.page-features .fx-worlds { grid-area: worlds; }
.page-features .fx-decks__list { display: grid; gap: 12px; margin-top: 20px; }
.page-features .fx-deck { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-features .fx-deck__art { position: relative; width: 88px; height: 64px; flex: none; }
.page-features .fx-deck__art img { position: absolute; width: 50px; height: 50px; object-fit: cover; border-radius: 14px; border: 3px solid var(--card); box-shadow: var(--shadow-sm); }
.page-features .fx-deck__art img:nth-child(1) { left: 0; top: 8px; transform: rotate(-8deg); }
.page-features .fx-deck__art img:nth-child(2) { left: 18px; top: 2px; z-index: 1; transform: rotate(3deg); }
.page-features .fx-deck__art img:nth-child(3) { left: 36px; top: 10px; z-index: 2; transform: rotate(10deg); }
.page-features .fx-deck__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.page-features .fx-deck__t strong { font-weight: 700; }
.page-features .fx-deck__t small { color: var(--ink-3); font-size: var(--fs-xs); }
.page-features .fx-deck__bar { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.page-features .fx-deck__bar i { display: block; height: 100%; border-radius: inherit; background: var(--leaf); transform: scaleX(var(--p)); transform-origin: left; }
[dir="rtl"] .page-features .fx-deck__bar i { transform-origin: right; }
.page-features .fx-deck__go { color: var(--ink-3); flex: none; }
.page-features .fx-worlds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.page-features .fx-world { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; isolation: isolate; border-radius: 22px; background: var(--night); }
.page-features .fx-world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.page-features .fx-world:hover img { transform: scale(1.06); }
.page-features .fx-world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(10, 8, 25, 0.8)); }
.page-features .fx-world__t { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; padding: 12px 14px; color: #fff; font-weight: 700; font-size: 0.98rem; line-height: 1.2; }
.page-features .fx-world__t small { margin-top: 3px; color: rgba(255, 255, 255, 0.72); font-size: 0.76rem; font-weight: 600; }
.page-features .fx-world--soon { background: repeating-linear-gradient(135deg, var(--night-2) 0 12px, var(--night) 12px 24px); }
.page-features .fx-world__pattern { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 28px; color: rgba(255, 255, 255, 0.35); }
@media (max-width: 960px) {
  .page-features .fx-discover { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "search" "decks" "worlds"; }
}
@media (max-width: 520px) { .page-features .fx-worlds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   6. My Words, collections, sharing
   ========================================================================== */
.page-features .fx-words { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.page-features .fx-lib { padding: 18px; }
.page-features .fx-lib__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.page-features .fx-lib .ui-seg { font-size: 0.82em; }
.page-features .fx-lib__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-block: 3px 5px; }
.page-features .fx-lib__f { flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--a-line); color: var(--a-muted); font-size: 0.92em; font-weight: 650; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.page-features .fx-lib__f:hover { color: #fff; border-color: var(--a-faint); }
.page-features .fx-lib__f[aria-pressed="true"] { background: var(--a-leaf); border-color: var(--a-leaf); color: var(--a-onleaf); }
.page-features .fx-lib__f:focus-visible { outline: 3px solid var(--a-leaf); outline-offset: 2px; }
.page-features .fx-lib__list { display: grid; align-content: start; gap: 6px; min-height: calc(8 * 58px + 7 * 6px); margin-top: 12px; }
.page-features .fx-lib__row { display: flex; align-items: center; gap: 12px; height: 58px; padding: 8px 12px 8px 8px; border-radius: 15px; background: var(--a-panel); }
.page-features .fx-lib__row .ui-thumb { width: 42px; height: 42px; border-radius: 11px; }
.page-features .fx-lib__row .ui-list__t .en-word { font-size: 1em; }
.page-features .fx-lib__row .ui-list__m { font-size: 0.85em; }
.page-features .fx-lib__row .ui-st-pill { font-size: 0.72em; }
.page-features .fx-lib__list[data-anim="a"] .fx-lib__row { animation: fx-in 0.4s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 40ms); }
.page-features .fx-lib__list[data-anim="b"] .fx-lib__row { animation: fx-in-b 0.4s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 40ms); }
.page-features .fx-lib__count { margin-top: 12px; font-size: 0.82em; color: var(--a-faint); }
.page-features .fx-words__cap { margin-top: 22px; }
.page-features .fx-words__cap p, .page-features .fx-words__block p { margin-top: 8px; color: var(--ink-2); }
.page-features .fx-words__side { display: grid; gap: clamp(36px, 4vw, 52px); }
.page-features .fx-colls { display: grid; gap: 10px; margin-top: 18px; }
.page-features .fx-coll { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "art t" "art acts"; align-items: center; gap: 6px 14px; padding: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-features .fx-coll__art { grid-area: art; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 66px; height: 66px; overflow: hidden; border-radius: 15px; }
.page-features .fx-coll__art img { width: 100%; height: 100%; object-fit: cover; }
.page-features .fx-coll__t { grid-area: t; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.page-features .fx-coll__t strong { font-weight: 700; font-size: 1.05rem; }
.page-features .fx-coll__t small { color: var(--ink-3); font-size: var(--fs-xs); }
.page-features .fx-coll__acts { grid-area: acts; display: flex; flex-wrap: wrap; gap: 6px; }
.page-features .fx-coll__acts span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--iris-700); font-size: 0.8rem; font-weight: 650; }
.page-features .fx-share__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.page-features .fx-share__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-small); font-weight: 650; }
.page-features .fx-share__link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: var(--fs-small); font-weight: 600; }
.page-features .fx-share__link .icon { color: var(--iris); }
.page-features .fx-share__page { margin-top: 14px; overflow: hidden; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-features .fx-share__chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-features .fx-share__chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.page-features .fx-share__chrome span { flex: 1; display: flex; align-items: center; height: 22px; margin-inline-start: 8px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--ink-3); }
.page-features .fx-share__body { padding: 18px 20px 20px; }
.page-features .fx-share__kick { font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); }
.page-features .fx-share__name { margin-top: 2px; font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; }
.page-features .fx-share__words { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.page-features .fx-share__words span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.page-features .fx-share__words img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.page-features .fx-share__words b { font-family: var(--font-word); font-size: 0.78rem; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.page-features .fx-share__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-features .fx-share__acts span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: var(--fs-small); font-weight: 650; }
.page-features .fx-share__acts .is-primary { background: var(--iris); border-color: transparent; color: #fff; }
@media (max-width: 960px) { .page-features .fx-words { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   7. Reminders: notification shade
   ========================================================================== */
.page-features .fx-facts { display: grid; margin-top: 8px; }
.page-features .fx-fact { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--night-line); }
.page-features .fx-fact > .icon { flex: none; margin-top: 3px; color: var(--lime); }
.page-features .fx-fact__t { font-size: 1.05rem; font-weight: 650; color: #fff; }
.page-features .fx-fact p { margin-top: 2px; color: var(--on-night-2); font-size: var(--fs-small); }
.page-features .fx-facts--light .fx-fact { border-top-color: var(--line); }
.page-features .fx-facts--light .fx-fact__t { color: var(--ink); }
.page-features .fx-facts--light .fx-fact p { color: var(--ink-2); }
.page-features .fx-facts--light .fx-fact > .icon { color: var(--iris); }

.page-features .fx-notif { --k: 1; position: relative; display: flex; justify-content: center; padding-block: 12px; }
.page-features .fx-notif .phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 calc(var(--pw) * 0.012) #050409, 0 50px 100px -30px rgba(0, 0, 0, 0.75); }
.page-features .ui--shade { gap: 0.65em; padding: 2.9em 0.75em 1em; background: radial-gradient(130% 60% at 25% 0%, #2c2566 0%, #16132f 55%, #0b0a1b 100%); }
.page-features .sh-top { display: flex; flex-direction: column; padding: 0 0.45em; }
.page-features .sh-clock { font-size: 2.4em; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.page-features .sh-date { margin-top: 0.35em; font-size: 0.72em; color: rgba(255, 255, 255, 0.72); }
.page-features .sh-qs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45em; }
.page-features .sh-qs span { display: grid; place-items: center; height: 2.5em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; }
.page-features .sh-qs span:first-child { background: #c8d4ff; color: #1b1739; }
.page-features .sh-qs .ui-i { width: 1.1em; height: 1.1em; }
.page-features .n { padding: 0.8em 0.9em 0.85em; border-radius: 1.4em; background: rgba(36, 33, 54, 0.94); border: 1px solid rgba(255, 255, 255, 0.07); color: #fff; box-shadow: 0 0.8em 2em -1em rgba(0, 0, 0, 0.6); }
.page-features .n-head { display: flex; align-items: center; gap: 0.35em; font-size: 0.64em; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.page-features .n-app { width: 1.55em; height: 1.55em; flex: none; }
.page-features .n-dot { opacity: 0.6; }
.page-features .n-time { margin-left: auto; }
.page-features .n-body { margin-top: 0.4em; }
.page-features .n-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3em; font-size: 0.86em; font-weight: 700; line-height: 1.3; }
.page-features .n-title .en-word { font-size: 1.05em; }
.page-features .n-dash { color: rgba(255, 255, 255, 0.45); }
.page-features .n-text { margin-top: 0.15em; font-size: 0.74em; color: rgba(255, 255, 255, 0.75); }
.page-features .n-pic { margin-top: 0.6em; overflow: hidden; border-radius: 0.9em; aspect-ratio: 16 / 9; }
.page-features .n-pic img { width: 100%; height: 100%; object-fit: cover; }
.page-features .n-acts { display: flex; gap: 0.22em; margin-top: 0.55em; font-size: 0.64em; font-weight: 750; letter-spacing: -0.012em; color: var(--a-leaf2); }
.page-features .n-acts span { flex: 1 1 auto; min-width: 0; padding: 0.5em 0.28em; border-radius: 999px; background: rgba(255, 255, 255, 0.07); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.js .page-features [data-shade] .n { opacity: 0; transform: translateY(-1.4em) scale(0.97); transition: opacity 0.6s, transform 0.85s var(--ease-spring); }
.js .page-features [data-shade] .n--rev { transition-delay: 0.7s; }
.js .page-features [data-shade].is-live .n { opacity: 1; transform: none; }
.page-features .fx-ring {
  position: absolute; left: 0; bottom: 10%; z-index: 2; display: grid; place-items: center; width: 156px; padding: 16px;
  border-radius: 28px; background: rgba(27, 23, 57, 0.9); border: 1px solid var(--night-line); color: var(--on-night);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.page-features .fx-ring__svg { width: 100%; height: auto; }
.page-features .fx-ring__t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.2; }
.page-features .fx-ring__t small { font-size: 0.68rem; color: var(--on-night-3); }
.page-features .fx-ring__t b { font-size: 0.82rem; color: #fff; }
.page-features .fx-lock {
  position: absolute; right: 0; top: 14%; z-index: 2; width: 220px; padding: 12px 14px; border-radius: 22px; font-size: 18px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.page-features .fx-lock__t { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 1100px) and (min-width: 961px) { .page-features .fx-notif { --k: 0.9; } }
@media (max-width: 640px) {
  .page-features .fx-notif { --k: 0.9; flex-wrap: wrap; gap: 14px; }
  .page-features .fx-ring, .page-features .fx-lock { position: relative; inset: auto; }
  .page-features .fx-ring { width: 132px; }
  .page-features .fx-lock { align-self: center; width: 190px; }
}

/* ==========================================================================
   8. Streak & progress
   ========================================================================== */
.page-features .fx-streak { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 16px; align-items: start; }
.page-features .fx-cal, .page-features .fx-prog { padding: 20px; }
.page-features .fx-cal__head { display: flex; align-items: center; gap: 12px; }
.page-features .fx-cal__flame { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 16px; background: rgba(255, 154, 61, 0.15); color: var(--a-flame); }
.page-features .fx-cal__n { display: flex; flex-direction: column; line-height: 1.1; }
.page-features .fx-cal__n b { font-size: 2em; font-weight: 800; color: #fff; }
.page-features .fx-cal__n small { font-size: 0.82em; color: var(--a-muted); }
.page-features .fx-cal__best { display: flex; flex-direction: column; margin-left: auto; text-align: right; line-height: 1.2; }
.page-features .fx-cal__best small { font-size: 0.74em; color: var(--a-faint); }
.page-features .fx-cal__best b { font-size: 1.15em; color: #fff; }
.page-features .fx-cal__month { margin-top: 18px; font-size: 0.9em; font-weight: 700; color: #fff; }
.page-features .fx-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 10px; }
.page-features .cal-wd { padding-bottom: 4px; text-align: center; font-size: 0.68em; font-weight: 700; color: var(--a-faint); }
.page-features .cal-d { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, 0.035); font-size: 0.74em; color: var(--a-muted); }
.page-features .cal-d b { position: relative; z-index: 1; font-weight: 650; transition: color 0.3s; }
.page-features .cal-d--pad { background: none; }
.page-features .cal-d.is-future { opacity: 0.4; }
.page-features .cal-d::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; }
.page-features .cal-d.is-on::before { background: var(--a-leafbg); border: 1px solid rgba(125, 221, 67, 0.35); }
.page-features .cal-d.is-run::before { background: linear-gradient(135deg, #ff9a3d, #f2b544); border: 0; }
.page-features .cal-d.is-today::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; border: 2px solid #fff; }
.js .page-features .cal-d.is-on::before { transform: scale(0.5); transition: opacity 0.4s, transform 0.55s var(--ease-spring); transition-delay: calc(var(--i) * 35ms + 200ms); }
.js .page-features .fx-cal.is-in .cal-d.is-on::before, html:not(.js) .page-features .cal-d.is-on::before { opacity: 1; transform: none; }
.page-features .fx-cal.is-in .cal-d.is-on b, html:not(.js) .page-features .cal-d.is-on b { color: #fff; }
.page-features .fx-cal.is-in .cal-d.is-run b, html:not(.js) .page-features .cal-d.is-run b { color: #2a1400; }
.page-features .fx-cal.is-in .cal-d b { transition-delay: calc(var(--i) * 35ms + 300ms); }
.page-features .fx-prog__stats { display: grid; gap: 10px; }
.page-features .fx-prog__stats span { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 15px; background: var(--a-panel); }
.page-features .fx-prog__stats b { font-size: 1.65em; font-weight: 800; line-height: 1.1; color: var(--a-leaf2); }
.page-features .fx-prog__stats small { margin-top: 4px; font-size: 0.8em; line-height: 1.3; color: var(--a-muted); }
.page-features .fx-prog__chart { display: flex; align-items: flex-end; gap: 4px; height: 92px; margin-top: 16px; }
.page-features .fx-prog__chart i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--a-leaf), #3f7f22); transform-origin: bottom; }
.js .page-features .fx-prog__chart i { transform: scaleY(0.1); opacity: 0.4; transition: transform 0.7s var(--ease-out), opacity 0.5s; transition-delay: calc(var(--i) * 45ms + 250ms); }
.js .page-features .fx-prog.is-in .fx-prog__chart i { transform: none; opacity: 1; }
.page-features .fx-prog__cap { margin-top: 8px; font-size: 0.74em; color: var(--a-faint); }
@media (max-width: 560px) { .page-features .fx-streak { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   9. Settings
   ========================================================================== */
.page-features .fx-settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.page-features .fx-set { padding: 20px 18px 18px; }
.page-features .set-group { margin: 18px 4px 4px; font-size: 0.72em; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-leaf); }
:is([data-script="cjk"], [data-script="arabic"], [data-script="devanagari"]) .page-features :is(.set-group, .fx-note__l) { letter-spacing: 0.02em; text-transform: none; }
.page-features .set-row { display: flex; align-items: center; gap: 12px; min-height: 58px; margin-top: 6px; padding: 8px 12px 8px 10px; border-radius: 15px; background: var(--a-panel); }
.page-features .set-row__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--a-hi); color: var(--a-leaf2); }
.page-features .set-row__ic .ui-i { width: 18px; height: 18px; }
.page-features .set-row__l { flex: 1; min-width: 0; font-weight: 650; font-size: 0.97em; }
.page-features .set-row__v { display: inline-flex; align-items: center; gap: 4px; color: var(--a-muted); font-size: 0.9em; }
.page-features .set-row__v .ui-i { width: 16px; height: 16px; }
.page-features .set-row--stack { flex-wrap: wrap; padding-bottom: 12px; }
.page-features .set-levels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; flex-basis: 100%; padding-left: 48px; }
.page-features .set-level { min-height: 44px; border-radius: 10px; background: var(--a-hi); color: var(--a-muted); font-size: 0.86em; font-weight: 800; transition: background-color 0.2s, color 0.2s; }
.page-features .set-level:hover { color: #fff; }
.page-features .set-level[aria-checked="true"] { background: var(--a-leaf); color: var(--a-onleaf); }
.page-features .ui-switch { position: relative; width: 52px; height: 32px; flex: none; border-radius: 999px; background: var(--a-line); transition: background-color 0.25s; }
.page-features .ui-switch::after { content: ""; position: absolute; inset: -6px -4px; }
.page-features .ui-switch__k { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.35s var(--ease-spring); }
.page-features .ui-switch[aria-checked="true"] { background: var(--a-leaf); }
.page-features .ui-switch[aria-checked="true"] .ui-switch__k { transform: translateX(20px); }
.page-features .ui-switch:focus-visible, .page-features .set-level:focus-visible { outline: 3px solid var(--a-leaf); outline-offset: 2px; }
.page-features .fx-settings__side { display: grid; gap: 24px; }
.page-features .fx-langs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-features .fx-langs__list li { padding: 7px 13px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 0.92rem; font-weight: 600; }
.page-features .fx-langs__list li.is-on { background: var(--iris); color: #fff; }
.page-features .fx-rtl__demo { padding: 14px; border-radius: 18px; background: var(--a-bg); }
.page-features .fx-rtl__row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--a-panel); color: var(--a-text); font-size: 15px; font-family: "IBM Plex Sans Arabic", var(--font-sans); }
.page-features .fx-rtl__row .ui-thumb { width: 44px; height: 44px; }
.page-features .fx-rtl__row .ui-list__m { font-size: 0.9em; color: var(--a-leaf2); }
.page-features .fx-rtl__row .ui-list__t { align-items: flex-start; gap: 2px; }
.page-features .fx-rtl .h3 { margin-top: 18px; }
@media (max-width: 900px) { .page-features .fx-settings { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .page-features .set-levels { padding-left: 0; } }

/* ==========================================================================
   10. Account & data
   ========================================================================== */
.page-features .fx-acc { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.page-features .fx-acc::before { content: ""; position: absolute; top: 40px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.page-features .fx-acc__step { position: relative; display: flex; flex-direction: column; padding: 20px 22px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-features .fx-acc__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--iris-100); color: var(--iris-700); }
.page-features .fx-acc__step:nth-child(4) .fx-acc__n { background: var(--coral-100); color: #c23a2b; }
.page-features .fx-acc__demo { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 112px; margin-top: 18px; padding: 14px; border-radius: 18px; background: var(--a-bg); }
.page-features .acc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--a-line); background: var(--a-panel); color: var(--a-text); font-size: 0.82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-features .acc-btn--leaf { background: var(--a-leaf); border-color: transparent; color: var(--a-onleaf); }
.page-features .acc-btn--light { background: #fff; border-color: transparent; color: #1f1f1f; }
.page-features .acc-btn--danger { background: rgba(240, 123, 108, 0.12); border-color: rgba(240, 123, 108, 0.3); color: var(--a-red); }
.page-features .acc-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--a-panel); color: var(--a-text); }
.page-features .acc-file .icon { flex: none; color: var(--a-leaf2); }
.page-features .acc-file b { display: block; font-size: 0.86rem; }
.page-features .acc-file small { display: block; font-size: 0.74rem; color: var(--a-muted); }
.page-features .fx-acc__step .h3 { margin-top: 18px; font-size: 1.15rem; }
.page-features .fx-acc__step p { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-small); }
.page-features .fx-acc__step .text-link { align-self: flex-start; min-height: 44px; margin-top: 2px; font-size: var(--fs-small); }
.page-features .fx-acc__note { display: flex; align-items: flex-start; gap: 10px; max-width: 780px; margin-top: 24px; padding: 14px 18px; border-radius: 16px; background: var(--iris-50); border: 1px solid var(--iris-100); color: var(--ink-2); font-size: var(--fs-small); }
.page-features .fx-acc__note .icon { flex: none; margin-top: 2px; color: var(--iris); }
@media (max-width: 1100px) {
  .page-features .fx-acc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-features .fx-acc::before { display: none; }
}
@media (max-width: 560px) { .page-features .fx-acc { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   11. On the go (partial offline)
   ========================================================================== */
.page-features .fx-checks { display: grid; gap: 12px; }
.page-features .fx-checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.page-features .fx-checks li > .icon { flex: none; margin-top: 3px; color: var(--leaf); }
.page-features .fx-checks li.is-limit { margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px dashed var(--line-2); }
.page-features .fx-checks li.is-limit > .icon { color: var(--ink-3); }
.page-features .fx-off { max-width: 470px; margin-inline: auto; padding: 18px; }
.page-features .fx-off__bar { position: relative; height: 38px; }
.page-features .fx-off__badge { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 0.86em; font-weight: 750; white-space: nowrap; transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.page-features .fx-off__badge .ui-i { width: 15px; height: 15px; }
.page-features .fx-off__badge--off { background: rgba(242, 181, 68, 0.14); color: var(--a-amber); }
.page-features .fx-off__badge--on { background: var(--a-leafbg); color: var(--a-leaf2); opacity: 0; transform: translateY(6px); }
.page-features .fx-off.is-online .fx-off__badge--off { opacity: 0; transform: translateY(-6px); }
.page-features .fx-off.is-online .fx-off__badge--on { opacity: 1; transform: none; }
.page-features .fx-off__q { display: grid; gap: 8px; margin-top: 12px; }
.page-features .fx-off__q li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 15px; background: var(--a-panel); font-size: 0.92em; }
.page-features .fx-off__q li > span:nth-child(2) { flex: 1; min-width: 0; }
.page-features .fx-off__q .ui-thumb { width: 40px; height: 40px; border-radius: 11px; }
.page-features .fx-off__q .en-word { color: #fff; font-size: 0.95em; }
.page-features .fx-off__st { position: relative; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.page-features .fx-off__st::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--a-leaf); opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.45s var(--ease-spring); }
.page-features .fx-off__st .icon { position: absolute; transition: opacity 0.3s, transform 0.45s var(--ease-spring); }
.page-features .fx-off__st .st-wait { color: var(--a-amber); }
.page-features .fx-off__st .st-done { color: var(--a-onleaf); stroke-width: 2.6; opacity: 0; transform: scale(0.4); }
.page-features .fx-off.is-online .fx-off__st .st-wait { opacity: 0; }
.page-features .fx-off.is-online .fx-off__st::before, .page-features .fx-off.is-online .fx-off__st .st-done { opacity: 1; transform: none; }
.page-features .fx-off.is-online .fx-off__st::before, .page-features .fx-off.is-online .fx-off__st .icon { transition-delay: calc(var(--i) * 260ms + 350ms); }
.page-features .fx-off__cards { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.page-features .fx-off__cards span { width: 40px; height: 52px; overflow: hidden; border-radius: 10px; }
.page-features .fx-off__cards img { width: 100%; height: 100%; object-fit: cover; }
.page-features .fx-off__cards small { margin-left: 6px; font-size: 0.8em; color: var(--a-faint); }

/* ==========================================================================
   12. Honesty strip + CTA
   ========================================================================== */
.page-features .fx-honest__box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 72px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--card), var(--paper)); }
.page-features .fx-honest__head .h2 { margin-top: 12px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.page-features .fx-honest__head .lead { margin-top: 12px; font-size: 1.05rem; }
.page-features .fx-honest__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.page-features .fx-honest__list li { position: relative; padding-inline-start: 50px; }
.page-features .fx-honest__list li > .icon { position: absolute; inset-inline-start: 0; top: 0; box-sizing: content-box; padding: 8px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); }
.page-features .fx-honest__t { font-size: 1.05rem; font-weight: 700; }
.page-features .fx-honest__list p { margin-top: 4px; color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 900px) { .page-features .fx-honest__box { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .page-features .fx-honest__list { grid-template-columns: minmax(0, 1fr); } }

.page-features .fx-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(88px, 11vw, 160px); text-align: center; border-bottom: 1px solid var(--night-line); }
.page-features .fx-cta__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 65% at 50% 105%, rgba(132, 214, 69, 0.24), transparent 70%), radial-gradient(40% 50% at 18% 0%, rgba(90, 69, 255, 0.34), transparent 70%); }
.page-features .fx-cta__in { display: flex; flex-direction: column; align-items: center; }
.page-features .fx-cta__mark { width: 64px; height: 64px; margin-bottom: 26px; filter: drop-shadow(0 12px 30px rgba(132, 214, 69, 0.35)); }
.page-features .fx-cta .h1 { max-width: 14ch; color: #fff; }
.page-features .fx-cta .lead { margin-top: 18px; color: var(--on-night-2); }
.page-features .fx-cta__row { justify-content: center; margin-top: 34px; }
@media (max-width: 480px) { .page-features .fx-cta__row .btn { width: 100%; } }

/* ---------- reduced motion: show complete, still states ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-features .fx-tour.is-ready .fx-tour__slide { transition: none; }
  .page-features .ui-start__ring { display: none; }
}
