/* ==========================================================================
   EduBuddy — one stylesheet, no build step.
   Dark-first with a light toggle, four languages, RTL-aware.
   Tokens follow the Astral Lab house palette so the project reads as part
   of the group.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg:          #070b14;
  --bg-elev:     #0c1220;
  --surface:     #101828;
  --surface-2:   #16203a;
  --border:      #1e2b47;
  --border-soft: #17223a;
  --text:        #e9eefb;
  --text-dim:    #a7b4d0;
  --text-mute:   #7688aa;

  --accent:      #6f9cff;
  --accent-2:    #a97bff;
  --accent-3:    #35d6ee;
  --accent-ink:  #0a1020;
  --good:        #34d399;
  --warn:        #fbbf24;
  --crit:        #fb7185;

  --grad: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --glow: 0 0 0 1px rgba(111,156,255,.18), 0 18px 60px -22px rgba(111,156,255,.45);
  --scrim: rgba(4, 8, 16, .64);

  --ff-head: "Sora", "Noto Sans Bengali", "Noto Sans Arabic", "Noto Sans SC", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --ff-body: "Inter", "Noto Sans Bengali", "Noto Sans Arabic", "Noto Sans SC", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --pad:  clamp(1.15rem, 4vw, 2.5rem);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
}

:root[data-theme="light"] {
  --bg:          #f7f9fc;
  --bg-elev:     #ffffff;
  --surface:     #ffffff;
  --surface-2:   #f1f5fb;
  --border:      #dfe6f1;
  --border-soft: #eaf0f8;
  --text:        #0d1424;
  --text-dim:    #46536e;
  --text-mute:   #6b7994;

  --accent:      #2f62e8;
  --accent-2:    #8244e0;
  --accent-3:    #0e9fc0;
  --accent-ink:  #ffffff;
  --good:        #0f9d63;
  --warn:        #b7791f;
  --crit:        #d2385a;
  --glow: 0 0 0 1px rgba(47,98,232,.12), 0 18px 50px -24px rgba(47,98,232,.35);
  --scrim: rgba(13, 20, 36, .46);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, dl, dd { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: 0 0 var(--r-s) 0;
}
.skip:focus { inset-inline-start: 0; }

/* -------------------------------------------------------------- backdrop */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%,  rgba(111,156,255,.16), transparent 65%),
    radial-gradient(760px 460px at 92% 4%,   rgba(169,123,255,.13), transparent 62%),
    radial-gradient(700px 500px at 50% 108%, rgba(53,214,238,.09),  transparent 60%);
}

/* --------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap-narrow { max-width: 760px; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt {
  background: var(--bg-elev);
  border-block: 1px solid var(--border-soft);
}

.sec-head { max-width: 68ch; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin-bottom: .6rem; }
.sec-more { margin-top: 1.6rem; }

/* --------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .hdr { background: var(--bg); }
}

.hdr-in {
  display: flex; align-items: center; gap: .55rem;
  min-height: 64px;
}
.hdr-gap { flex: 1; }

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; font-family: var(--ff-head);
}
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-word b { font-weight: 600; letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: .15rem; margin-inline-start: 1.1rem; }
.nav-a {
  display: inline-block;
  padding: .42rem .7rem;
  border-radius: 999px;
  font-size: .92rem;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav-a:hover { color: var(--text); background: var(--surface-2); }
.nav-a.is-on { color: var(--text); background: var(--surface-2); }

.lang { display: inline-flex; align-items: center; }
.lang label {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .5rem;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--text-dim);
}
.lang select {
  background: transparent; border: 0; padding: 0 .1rem;
  font-size: .88rem; cursor: pointer;
}
.lang select option { background: var(--surface); color: var(--text); }
.lang-go {
  margin-inline-start: .3rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .25rem .55rem; cursor: pointer;
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 999px;
  cursor: pointer; transition: color .18s, border-color .18s;
}
.icon-btn:hover { color: var(--text); border-color: var(--accent); }

/* ---------------------------------------------------------- menu sheet --
 *
 * The menu is a popup over the page, not a panel that pushes it down: a
 * dropdown moves everything the reader was looking at, and on a phone that is
 * the whole screen. This covers instead, and gives back exactly what it took
 * when it closes.
 *
 * `[hidden]` is spelled out rather than relied on. The browser's own
 * [hidden] rule loses to any author display rule, whatever the specificity —
 * which is precisely how the old dropdown ended up visible at every width.
 * Every display declaration here is paired with the one that turns it off.
 */
.sheet {
  display: block;
  position: fixed; inset: 0; z-index: 90;
  background: var(--scrim);
  backdrop-filter: blur(3px);
}
.sheet[hidden] { display: none; }

/* No burger above this width, so nothing can open it — and if it was already
   open when the window was widened, it goes away rather than hanging there. */
@media (min-width: 981px) {
  .sheet { display: none; }
}

.sheet-in {
  position: absolute; inset: auto 0 0 0;
  padding: .75rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom));
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-radius: var(--r-l) var(--r-l) 0 0;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .7);
  animation: sheet-up .22s cubic-bezier(.22, .8, .3, 1);
}
@keyframes sheet-up { from { transform: translateY(14px); opacity: 0; } }

.sheet-grip {
  width: 38px; height: 4px; margin: 0 auto .9rem;
  border-radius: 99px; background: var(--border);
}

.sheet-h {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .6rem;
}

.sheet-nav { display: grid; gap: .1rem; margin-bottom: .9rem; }
.sheet-nav a {
  display: flex; align-items: center;
  min-height: 48px;               /* a thumb, not a cursor */
  padding: .3rem .75rem;
  border-radius: var(--r-s);
  font-size: .98rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.sheet-nav a:active { background: var(--surface-2); }
.sheet-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--surface);
}

.sheet-x {
  width: 100%; min-height: 48px;
  font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--text-dim); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-m);
  cursor: pointer;
}
.sheet-x:hover { color: var(--text); border-color: var(--accent); }

/* Nothing behind the sheet scrolls while it is open. */
body.is-locked { overflow: hidden; }

.only-sm { display: none; }
@media (max-width: 980px) {
  .no-sm  { display: none; }
  .only-sm { display: inline-grid; }
}

/* --------------------------------------------------------------- ribbon */
.ribbon {
  display: flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .55rem var(--pad);
  background: color-mix(in srgb, var(--warn) 12%, var(--bg-elev));
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: .86rem;
  text-align: center;
}
.ribbon .dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--warn);
}

/* ----------------------------------------------------------------- hero */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.page-head { padding-bottom: clamp(1.5rem, 3vw, 2rem); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .7rem;
  margin-inline-end: .6rem;
}

.h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: .4rem;
}
.h1-sm {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: .5rem;
}

.owned-by { color: var(--text-mute); font-size: .95rem; margin-bottom: 1rem; }

.lede {
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 72ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad);
  color: var(--accent-ink);
  box-shadow: var(--glow);
  font-weight: 600;
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent); }

.link-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.link-more:hover { border-bottom-color: currentColor; }

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-mute);
  vertical-align: middle;
}
.b-soon {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 10%, transparent);
}

/* ---------------------------------------------------------------- stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-block: 1px solid var(--border-soft);
}
.stat {
  background: var(--bg);
  padding: clamp(1.1rem, 3vw, 1.9rem) var(--pad);
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stat span {
  display: block;
  margin-top: .4rem;
  font-size: .82rem;
  color: var(--text-mute);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(.9rem, 2vw, 1.25rem); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.card h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.card p { color: var(--text-dim); font-size: .95rem; }

.card-accent { position: relative; overflow: hidden; }
.card-accent::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--grad);
}
.card-tall { padding: clamp(1.4rem, 3vw, 2rem); }
.card-wide { grid-column: 1 / -1; }

.card-ico { font-size: 1.5rem; line-height: 1; margin-bottom: .7rem; }

/* ----------------------------------------------------------------- pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-item {
  display: inline-block;
  padding: .5rem .9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--text-dim);
}

/* ------------------------------------------------- numbered area listing */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-m);
  overflow: hidden;
}
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }

.area {
  display: flex; align-items: baseline; gap: .8rem;
  background: var(--surface);
  padding: 1rem 1.1rem;
}
.area-n {
  font-family: var(--ff-head);
  font-size: .8rem; font-weight: 600;
  color: var(--accent);
  flex: none;
}
.area-t { font-size: .95rem; color: var(--text-dim); }

/* --------------------------------------------------------- revenue paths */
.rev-strip { display: grid; gap: .7rem; }
.rev-step {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 1rem 1.15rem;
}
.rev-step > div { flex: 1; min-width: 0; }
.rev-step h3 { font-size: 1rem; }

.rev-n {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--ff-head);
  font-size: .85rem; font-weight: 600;
  color: var(--accent);
}

.rev-card { display: flex; flex-direction: column; }
.rev-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-bottom: .9rem;
}
.rev-dl {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  display: grid; gap: .15rem;
}
.rev-dl dt {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-mute);
  margin-top: .7rem;
}
.rev-dl dt:first-child { margin-top: 0; }
.rev-dl dd { font-size: .9rem; color: var(--text-dim); }
.rev-dl .dt-gate { color: var(--warn); }
.rev-dl .dd-gate { color: var(--text); }

/* --------------------------------------------------------------- phases */
.phases {
  display: grid; gap: 0;
  border-inline-start: 2px solid var(--border);
  padding-inline-start: 0;
}
.phase {
  position: relative;
  display: flex; gap: 1rem;
  padding-block: 0 1.8rem;
  padding-inline: 1.5rem 0;
}
.phase:last-child { padding-bottom: 0; }
.phase-n {
  position: absolute;
  inset-inline-start: -15px; top: 0;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--accent);
  font-family: var(--ff-head);
  font-size: .8rem; font-weight: 600;
  color: var(--accent);
}
.phase-body { padding-inline-start: 1.4rem; }
.phase-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.phase-body p { color: var(--text-dim); font-size: .95rem; }

/* ---------------------------------------------------------------- notes */
.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--border);
  border-radius: var(--r-m);
  padding: 1rem 1.2rem;
  color: var(--text-dim);
  font-size: .95rem;
}
.note-lg { padding: 1.4rem 1.5rem; font-size: 1rem; }
.note-h { font-size: 1.25rem; margin-bottom: .4rem; color: var(--text); }

.note-warn {
  border-inline-start-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 8%, var(--surface));
}
.note-warn strong { color: var(--text); font-weight: 500; }

.note-good {
  border-inline-start-color: var(--good);
  background: color-mix(in srgb, var(--good) 8%, var(--surface));
}
.note-bad {
  border-inline-start-color: var(--crit);
  background: color-mix(in srgb, var(--crit) 8%, var(--surface));
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* ------------------------------------------------------------- cta band */
.cta-band {
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.cta-band > div { flex: 1 1 24rem; }
.cta-band h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.cta-band p { color: var(--text-dim); font-size: .95rem; }

/* ----------------------------------------------------------------- form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field label { font-size: .88rem; font-weight: 500; color: var(--text-dim); }
.req { color: var(--accent); }
.opt { color: var(--text-mute); font-weight: 400; font-size: .82rem; }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.field select option { background: var(--surface); color: var(--text); }

.has-err input, .has-err select, .has-err textarea { border-color: var(--crit); }
.err { color: var(--crit); font-size: .84rem; }

.check { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.check input { margin-top: .3rem; flex: none; width: 1rem; height: 1rem; accent-color: var(--accent); }
.check span { font-size: .92rem; color: var(--text-dim); font-weight: 400; }

.form-foot { display: grid; gap: .7rem; justify-items: start; }
.form-foot .small { max-width: 52ch; }

/* Honeypot — clipped rather than pushed off-canvas: a negative offset
   extends the scrollable area in RTL. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- footer */
.ftr {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-elev);
  padding-block: clamp(2.2rem, 5vw, 3.4rem) 1.6rem;
}
.ftr-in {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
@media (max-width: 860px) { .ftr-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-in { grid-template-columns: 1fr; } }

.ftr-brand { max-width: 34ch; }
.ftr-brand .brand { margin-bottom: .7rem; }
.ftr h4 {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .7rem;
}
.ftr ul { display: grid; gap: .4rem; }
.ftr ul a { color: var(--text-dim); text-decoration: none; font-size: .92rem; }
.ftr ul a:hover { color: var(--text); }

.ftr-legal {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
  font-size: .82rem;
  color: var(--text-mute);
}

.small { font-size: .88rem; }
.muted { color: var(--text-mute); }

/* -------------------------------------------------------------- to-top */
.to-top {
  position: fixed;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--text); border-color: var(--accent); }

/* ------------------------------------------------------------------ RTL */
[dir="rtl"] .link-more { display: inline-block; }
[dir="rtl"] .to-top svg,
[dir="rtl"] .phase-n { transform: none; }

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .card:hover { transform: none; }
  .sheet-in { animation: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .hdr, .ribbon, .to-top, .hero-cta, .cta-band, .sheet { display: none !important; }
  body { background: #fff; color: #000; }
  .sky { display: none; }
  .card, .note, .area { break-inside: avoid; }
}
