@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/vazirmatn-arabic-400-normal.woff2") format("woff2"),
    url("/fonts/vazirmatn-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/vazirmatn-arabic-500-normal.woff2") format("woff2"),
    url("/fonts/vazirmatn-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/vazirmatn-arabic-700-normal.woff2") format("woff2"),
    url("/fonts/vazirmatn-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/vazirmatn-arabic-800-normal.woff2") format("woff2"),
    url("/fonts/vazirmatn-latin-800-normal.woff2") format("woff2");
}

/* ── tokens ─────────────────────────────────────────────────── */

:root {
  --paper: #faf7f1;
  --paper-2: #f2ece2;
  --ink: #171a2b;
  --ink-2: #4b5068;
  --navy: #1f3c88;
  --navy-deep: #142752;
  --ocean: #169fb1;
  --ocean-soft: #d7f0f2;
  --coral: #ec6a48;
  --coral-soft: #fde3d9;
  --sage: #7fae8e;
  --sage-soft: #e0ede2;
  --sand: #e7d6b3;
  --sand-soft: #f4ead6;
  --line: #e4dccf;

  /* aliases kept for the shared widget/legal styles */
  --background: var(--paper);
  --foreground: var(--ink);
  --primary: var(--navy);
  --primary-dark: var(--navy-deep);
  --secondary: var(--ocean);
  --accent: var(--coral);
  --card: #ffffff;
  --muted: var(--ink-2);
  --border: var(--line);
  --landing-ink: var(--ink);

  --r-lg: 1.6rem;
  --r-md: 1.1rem;
  --shadow-soft: 0 24px 60px rgba(31, 60, 136, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html[lang="fa"] { direction: rtl; }
html[lang="en"] { direction: ltr; }

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: Vazirmatn, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
}
::selection {
  background: var(--coral-soft);
}

.skip {
  position: absolute;
  inset-inline-start: -999px;
}
.skip:focus {
  inset: 12px auto auto 12px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.num { font-variant-numeric: tabular-nums; }

/* ── page shell ─────────────────────────────────────────────── */

.landing-page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.landing-page > main { flex: 1; }
.z-1 { position: relative; z-index: 1; }
.landing-glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
}
.landing-orb { display: none; }

.max {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}
.max-narrow { width: min(820px, 100% - 2rem); }

.sec {
  padding: 4.5rem 0;
}
.sec-tight { padding: 3rem 0; }
.sec-alt {
  background: var(--paper-2);
}
.sec-h {
  max-width: 40rem;
  margin: 0 0 2.2rem;
}
.sec-h.center {
  margin-inline: auto;
  text-align: center;
}
.sec-h h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin: 0.3rem 0 0.7rem;
}
.sec-h p {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.95;
}
.kicker,
.feat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ocean);
  letter-spacing: 0.02em;
}
.kicker::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.sec-h.center .kicker::before { display: none; }

mark.hl {
  color: inherit;
  background: linear-gradient(transparent 60%, var(--coral-soft) 60%);
  padding: 0 0.1em;
  border-radius: 0.2em;
}
mark.hl-ocean { background: linear-gradient(transparent 60%, var(--ocean-soft) 60%); }

/* ── buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px rgba(236, 106, 72, 0.32);
}
.btn-primary:hover {
  background: #e25a37;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(236, 106, 72, 0.36);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 60, 136, 0.28);
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding-inline: 0.6rem;
}
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.86rem; }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1.02rem; }
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { background: var(--paper-2); }
.magnet { display: inline-block; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
}
.more::after {
  content: "←";
  transition: transform 0.25s var(--ease);
}
html[lang="en"] .more::after { content: "→"; }
.more:hover::after { transform: translateX(-4px); }
html[lang="en"] .more:hover::after { transform: translateX(4px); }
.more-light { color: #fff; }
.role .more { margin-top: 1.1rem; }

/* ── nav ────────────────────────────────────────────────────── */

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.6rem 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.landing-logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  object-fit: cover;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-inline: auto;
}
@media (min-width: 1000px) {
  .nav-links { display: flex; }
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--navy) 7%, transparent); }
.nav-links a[aria-current="page"] {
  color: var(--navy);
  background: color-mix(in srgb, var(--navy) 9%, transparent);
}
.nav-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
@media (min-width: 1000px) {
  .nav-actions { margin-inline-start: 0; }
}
.nav-login {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}
.nav-login:hover { color: var(--navy); }
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.nav-toggle i {
  position: relative;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle i::before { top: -6px; }
.nav-toggle i::after { top: 6px; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
}
.nav-sheet {
  display: none;
  width: min(1180px, 100% - 2rem);
  margin: 0.5rem auto 0;
  padding: 0.6rem;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.nav-sheet.is-open { display: grid; }
.nav-sheet a {
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  color: var(--ink);
}
.nav-sheet a[aria-current="page"] { color: var(--navy); background: color-mix(in srgb, var(--navy) 8%, transparent); }
.nav-sheet a:hover { background: var(--paper-2); }
@media (min-width: 1000px) {
  .nav-sheet { display: none !important; }
}

/* ── reveal ─────────────────────────────────────────────────── */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
.landing-rise { animation: landing-rise 0.8s var(--ease) both; }
.landing-rise-delay-1 { animation-delay: 0.05s; }
.landing-rise-delay-2 { animation-delay: 0.15s; }
.landing-rise-delay-3 { animation-delay: 0.28s; }
.landing-rise-delay-4 { animation-delay: 0.4s; }

/* ── phone frame ────────────────────────────────────────────── */

.phone { position: relative; }
.phone-body {
  position: relative;
  padding: 0.42rem;
  border-radius: 2.1rem;
  background: linear-gradient(165deg, #3a3a44 0%, #14141c 58%, #0b0b10 100%);
  box-shadow:
    0 30px 60px rgba(20, 24, 45, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}
.phone-body img {
  aspect-ratio: 1290 / 2796;
  width: 100%;
  height: auto;
  border-radius: 1.7rem;
  object-fit: cover;
  background: #f4f1ea;
}
.phone-island {
  position: absolute;
  top: 0.72rem;
  left: 50%;
  z-index: 2;
  width: 28%;
  height: 0.7rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0b10;
}

/* ── home hero ──────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: clip;
}
@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 3.5rem; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 62vw;
  height: 62vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ocean) 22%, transparent), transparent);
  pointer-events: none;
}
html[lang="fa"] .hero::before { inset: -20% auto auto -10%; }
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
}
html[lang="fa"] .eyebrow { padding: 0.35rem 0.5rem 0.35rem 0.85rem; }
.eyebrow .ping-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--ocean);
  box-shadow: 0 0 0 4px var(--ocean-soft);
}
.hero h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.35rem, 5.4vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero h1 .ac {
  color: var(--navy);
  position: relative;
  display: inline-block;
}
.hero h1 .ac::after {
  content: "";
  position: absolute;
  inset-inline: 0.05em;
  bottom: 0.06em;
  height: 0.22em;
  background: var(--coral-soft);
  border-radius: 0.2em;
  z-index: -1;
}
/* distinct product-type colors in hero slogan */
.hero .type-school,
.eyebrow .type-school { color: var(--navy); }
.hero .type-institute,
.eyebrow .type-institute { color: var(--ocean); }
.hero .type-tutor,
.eyebrow .type-tutor { color: var(--coral); }
.hero h1 .type-school,
.hero h1 .type-institute,
.hero h1 .type-tutor {
  font-weight: inherit;
}

.lede {
  max-width: 34rem;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.95;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
  align-items: center;
}
.hero-meta {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-2);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--coral);
}

/* three screens, fanned */
.fan {
  position: relative;
  height: clamp(380px, 52vw, 560px);
  perspective: 1400px;
}
.fan .phone {
  position: absolute;
  width: clamp(140px, 17vw, 190px);
  transition: transform 0.9s var(--ease);
}
.fan .phone-1 {
  inset-inline-start: 13%;
  top: 14%;
  transform: rotate(-8deg) translateZ(0);
  z-index: 1;
}
.fan .phone-2 {
  inset-inline-start: 50%;
  top: 0;
  transform: translateX(-50%) translateZ(40px);
  z-index: 3;
  width: clamp(160px, 20vw, 215px);
}
.fan .phone-3 {
  inset-inline-end: 13%;
  top: 18%;
  transform: rotate(8deg) translateZ(0);
  z-index: 2;
}
html[lang="fa"] .fan .phone-1 { transform: rotate(8deg); }
html[lang="fa"] .fan .phone-2 { transform: translateX(50%) translateZ(40px); }
html[lang="fa"] .fan .phone-3 { transform: rotate(-8deg); }
html[lang="fa"] .fan-tag-2 { transform: translateX(50%); }
.fan-tag {
  position: absolute;
  z-index: 4;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(20, 24, 45, 0.12);
  white-space: nowrap;
}
.fan-tag b { color: var(--navy); }
.fan-tag-1 { inset-inline-start: 0; top: 6%; }
.fan-tag-2 { inset-inline-start: 50%; transform: translateX(-50%); bottom: 2%; }
.fan-tag-3 { inset-inline-end: 0; top: 10%; }
.fan::after {
  content: "";
  position: absolute;
  inset: auto 10% -6%;
  height: 3rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 24, 45, 0.18), transparent);
  z-index: 0;
}

/* ── feature ribbon ─────────────────────────────────────────── */

.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.ribbon ul {
  list-style: none;
  margin: 0 auto;
  padding: 0.9rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.6rem;
}
.ribbon li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.ribbon li a:hover { background: var(--paper-2); color: var(--navy); }
.ribbon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--ocean);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── manifesto ──────────────────────────────────────────────── */

.manifesto {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .manifesto { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}
.manifesto-text h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0.4rem 0 1.1rem;
}
.manifesto-text p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 2;
  max-width: 34rem;
}
.manifesto-text p + p { margin-top: 0.7rem; }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.facts b {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  min-width: 5.5rem;
  font-variant-numeric: tabular-nums;
}
.facts span {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── a day ──────────────────────────────────────────────────── */

.day-scroller {
  display: grid;
  gap: 1rem;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 19rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.4rem;
  scrollbar-width: none;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1rem, calc(50vw - 590px));
}
.day-scroller::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) {
  .day-scroller {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
.moment {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.15rem 1.15rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.moment:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.moment time {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
  background: color-mix(in srgb, var(--navy) 9%, transparent);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-variant-numeric: tabular-nums;
}
.moment h3 {
  font-size: 1.1rem;
  margin: 0.7rem 0 0.3rem;
}
.moment p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.8;
  min-height: 3.6em;
}
.moment .shot {
  margin: 1rem -0.4rem -1px;
  border-radius: 1.4rem 1.4rem 0 0;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.moment .shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  transform: translateY(0.4rem);
}
.moment.is-parent { background: linear-gradient(180deg, #fff, var(--coral-soft)); }
.moment.is-teacher { background: linear-gradient(180deg, #fff, var(--sage-soft)); }
.moment.is-student { background: linear-gradient(180deg, #fff, var(--ocean-soft)); }
.moment.is-school { background: linear-gradient(180deg, #fff, var(--sand-soft)); }
.day-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* ── live band ──────────────────────────────────────────────── */

.band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 30rem;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.band:hover > img { transform: scale(1.03); }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 22, 48, 0.92) 0%, rgba(14, 22, 48, 0.55) 45%, rgba(14, 22, 48, 0.1) 100%);
}
.band-body {
  padding: 2rem 1.4rem 1.6rem;
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 900px) {
  .band-body { grid-template-columns: 1.1fr 0.9fr; align-items: end; padding: 3rem 2.4rem 2.2rem; }
}
.band .kicker { color: #9fe3ea; }
.band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin: 0.4rem 0 0.7rem;
  color: #fff;
}
.band p {
  color: #d9dfee;
  max-width: 30rem;
  line-height: 1.9;
}
.band .more { margin-top: 1rem; }
.band-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.band-stats div {
  border-radius: var(--r-md);
  padding: 0.9rem 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  text-align: center;
}
.band-stats b {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.band-stats span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #cfd6e8;
  line-height: 1.5;
}

/* ── roles cast ─────────────────────────────────────────────── */

.cast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
@media (min-width: 900px) {
  .cast { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.cast-tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 0.8rem 0.8rem 1.1rem;
  text-align: center;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}
.cast-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(20, 24, 45, 0.14);
}
.cast-tile::before {
  content: "";
  position: absolute;
  inset: auto 14% 4.8rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(20, 16, 40, 0.14);
  filter: blur(10px);
}
.cast-tile img {
  position: relative;
  width: 80%;
  height: auto;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  filter: drop-shadow(0 18px 22px rgba(20, 16, 40, 0.18));
  transition: transform 0.5s var(--ease);
}
.cast-tile:hover img { transform: translateY(-4px) scale(1.03); }
.cast-tile h3 {
  margin: 0.75rem 0 0.15rem;
  font-size: 1.05rem;
}
.cast-tile p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.t-ocean { background: #d9ecf1; }
.t-coral { background: #fde0d3; }
.t-sage { background: #e0ebda; }
.t-sand { background: #f1e6cf; }

/* ── pricing teaser / dark card ─────────────────────────────── */

.dark-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 2.2rem 1.5rem;
  color: #fff;
  background:
    radial-gradient(520px 320px at 92% -10%, color-mix(in srgb, var(--ocean) 55%, transparent), transparent 70%),
    radial-gradient(420px 320px at -5% 110%, color-mix(in srgb, var(--coral) 40%, transparent), transparent 70%),
    linear-gradient(160deg, #1b2e63, var(--navy-deep));
  box-shadow: 0 30px 70px rgba(20, 39, 82, 0.35);
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 900px) {
  .dark-card { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 3rem 2.6rem; }
}
.dark-card .kicker { color: #9fe3ea; }
.dark-card h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0.4rem 0 0.8rem;
}
.dark-card p {
  color: #d3daee;
  line-height: 1.9;
  max-width: 30rem;
}
.dark-card .actions { margin-top: 1.4rem; }
.dark-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.dark-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #e7ebf7;
}
.dark-list li::before {
  content: "✓";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--ocean);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.15rem;
}
.dark-list b { color: #fff; }

/* ── CTA band ───────────────────────────────────────────────── */

.cta {
  text-align: center;
  padding: 4rem 0;
}
.cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0 0 0.7rem;
}
.cta p {
  color: var(--ink-2);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.9;
}
.cta .actions { justify-content: center; margin-top: 1.6rem; }
.cta small {
  display: block;
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── footer ─────────────────────────────────────────────────── */

.site-end {
  position: relative;
  margin-top: auto;
  background: #fff;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
  padding: 3rem 0 2rem;
}
.foot-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 560px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 0.9fr 1fr; gap: 2.2rem; }
  .foot-grid .foot-brand { grid-column: auto; }
}
.foot-brand p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-top: 0.7rem;
  max-width: 22rem;
}
.foot-col h4 {
  font-size: 0.85rem;
  color: var(--ink-2);
  margin: 0 0 0.7rem;
  font-weight: 800;
}
.foot-col a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.22rem 0;
  color: var(--ink);
}
.foot-col a:hover { color: var(--navy); }
.foot-col a[dir="ltr"] { text-align: end; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-2);
}
.foot-bottom .copy { margin: 0; }
.foot-bottom a { color: var(--ink); font-weight: 700; text-decoration: none; }
.enamad-seal img { height: 64px; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
}
.skyline {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.6rem;
  height: 92px;
  padding: 0 1rem;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.16;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.skyline img {
  height: 78px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(19%) sepia(30%) saturate(1400%) hue-rotate(200deg);
}

/* ── sub-page hero ──────────────────────────────────────────── */

.page-hero {
  padding: 3.2rem 0 2.4rem;
  position: relative;
  overflow: clip;
}
@media (min-width: 900px) {
  .page-hero { padding: 4.4rem 0 3rem; }
}
.page-hero .crumbs {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ink-2);
  font-weight: 700;
}
.page-hero .crumbs a { text-decoration: none; color: var(--ink-2); }
.page-hero .crumbs a:hover { color: var(--navy); }
.page-hero .crumbs li + li::before { content: "/"; margin-inline-end: 0.4rem; opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.9rem;
  max-width: 22ch;
}
.page-hero .lede { max-width: 36rem; }
.page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr 0.9fr; gap: 3rem; }
}
.page-hero .actions { margin-top: 1.4rem; }
.page-art {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
}
.page-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-art figcaption {
  position: absolute;
  inset-inline-start: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(14, 22, 48, 0.72);
  backdrop-filter: blur(8px);
}
.page-hero-dark {
  color: #fff;
  background:
    radial-gradient(900px 420px at 10% -10%, color-mix(in srgb, var(--ocean) 35%, transparent), transparent 62%),
    linear-gradient(180deg, #17295a 0%, var(--navy-deep) 100%);
}
.page-hero-dark h1 { color: #fff; }
.page-hero-dark .lede { color: #d3daee; }
.page-hero-dark .kicker { color: #9fe3ea; }
.page-hero-dark .crumbs,
.page-hero-dark .crumbs a { color: #aeb8d3; }
.page-hero-dark .btn-outline { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.page-hero-dark .btn-outline:hover { border-color: #fff; color: #fff; }

/* ── generic grids / tiles ──────────────────────────────────── */

.tiles {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .tiles-3 { grid-template-columns: repeat(3, 1fr); } .tiles-4 { grid-template-columns: repeat(4, 1fr); } }
.tile {
  border-radius: var(--r-lg);
  padding: 1.35rem 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.tile .ico {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  background: var(--ocean-soft);
  color: var(--ocean);
  margin-bottom: 0.9rem;
}
.tile .ico svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile .ico.coral { background: var(--coral-soft); color: var(--coral); }
.tile .ico.sage { background: var(--sage-soft); color: #4f8a62; }
.tile .ico.sand { background: var(--sand-soft); color: #9b7a2f; }
.tile .ico.navy { background: color-mix(in srgb, var(--navy) 10%, white); color: var(--navy); }
.tile h3 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}
.tile p {
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.85;
}
.tile-quiet {
  background: transparent;
  border-color: transparent;
  padding: 0.6rem 0.2rem;
}
.tile-quiet:hover { transform: none; box-shadow: none; }

.numbered {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  counter-reset: n;
}
@media (min-width: 720px) { .numbered { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .numbered-3 { grid-template-columns: repeat(3, 1fr); } .numbered-4 { grid-template-columns: repeat(4, 1fr); } }
.numbered li {
  counter-increment: n;
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.2rem 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
}
.numbered li::before {
  content: counter(n, persian);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.numbered li b {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}
.numbered li span {
  display: block;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.8;
}
.numbered .when {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 0.2rem;
  font-variant-numeric: tabular-nums;
}

/* two-up: text + image */
.split {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split.rev > :first-child { order: 2; }
}
.split h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.4rem 0 0.8rem;
}
.split p {
  color: var(--ink-2);
  line-height: 1.95;
}
.split ul.checks {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.75;
}
.checks li::before {
  content: "✓";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--ocean-soft);
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 0.25rem;
}
.split figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.split figure img { width: 100%; height: auto; }
.split .phone-duo {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem 0;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  overflow: hidden;
}
.split .phone-duo .phone { width: min(38%, 190px); }
.split .phone-duo .phone:nth-child(2) { transform: translateY(1.5rem); }
.split .phone-duo .phone-body { border-radius: 2.1rem 2.1rem 0 0; }
.split .phone-duo .phone-body img { border-radius: 1.7rem 1.7rem 0 0; aspect-ratio: 1290 / 2200; object-position: top; }

.quote {
  position: relative;
  margin: 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--sand-soft);
  border: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.95;
}
.quote b { color: var(--coral); margin-inline-end: 0.35rem; }

/* compact photo pair */
.photo-pair {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) { .photo-pair { grid-template-columns: 1.3fr 1fr; } }
.photo-pair figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-soft);
}
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }
.photo-pair figcaption {
  position: absolute;
  inset-inline-start: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(14, 22, 48, 0.72);
  backdrop-filter: blur(8px);
}

/* role sections */
.role {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .role { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .role.rev > .role-art { order: -1; }
}
.role-art {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  padding: 1.6rem 1rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.8rem;
  overflow: hidden;
  min-height: 22rem;
}
.role-art .phone { width: min(44%, 200px); }
.role-art .cast-fig {
  width: min(42%, 220px);
  height: auto;
  align-self: flex-end;
  filter: drop-shadow(0 18px 22px rgba(20, 16, 40, 0.18));
}
.role-art .phone-body { border-radius: 2.1rem 2.1rem 0 0; }
.role-art .phone-body img { border-radius: 1.7rem 1.7rem 0 0; aspect-ratio: 1290 / 2300; object-position: top; }
.role h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0.4rem 0 0.7rem; }
.role p { color: var(--ink-2); line-height: 1.95; }
.role .checks { margin-top: 1rem; }

/* faq */
.faq {
  display: grid;
  gap: 0.55rem;
}
.faq details {
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0 1.1rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 800;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--navy);
  font-weight: 800;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0 0 1rem;
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--ink-2);
}

/* price card */
.price-wrap {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 960px) { .price-wrap { grid-template-columns: 1.15fr 0.85fr; gap: 1.4rem; } }
.price-note {
  border-radius: var(--r-lg);
  padding: 1.3rem 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
}
.price-note h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.price-note p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.85; }
.price-side { display: grid; gap: 0.9rem; }

/* contact page */
.contact-wrap {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 1fr 17rem; gap: 1.4rem; } }
.contact-side {
  border-radius: var(--r-lg);
  padding: 1.3rem 1.3rem 1.35rem;
  color: #fff;
  background: linear-gradient(160deg, #1b2e63, var(--navy-deep));
  box-shadow: 0 24px 60px rgba(20, 39, 82, 0.3);
}
.contact-side h3 { margin: 0 0 0.8rem; font-size: 1rem; }
.contact-side p { margin: 0 0 0.65rem; display: flex; flex-direction: column; gap: 0.05rem; }
.contact-side p span { font-size: 0.72rem; font-weight: 800; color: #aeb8d3; }
.contact-side a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  direction: ltr;
  display: inline-block;
  text-align: start;
}
.contact-side a:hover { color: #9fe3ea; }
.contact-co { margin-top: 0.9rem !important; font-size: 0.76rem; color: #aeb8d3; font-weight: 700; }

/* 404 */
.oops {
  text-align: center;
  padding: 6rem 1rem;
}
.oops h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.oops p { color: var(--ink-2); margin-bottom: 1.4rem; }

/* ── shared keyframes ───────────────────────────────────────── */
@keyframes landing-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -22px, 0) scale(1.06); }
}

@keyframes landing-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes landing-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes type-caret {
  50% { border-color: transparent; }
}
@keyframes hand-wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-18deg); }
  75% { transform: rotate(12deg); }
}


.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
}
.bar {
  margin-top: 0.65rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ffedd5;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb923c, #f472b6);
  animation: bar-fill 2.2s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes bar-fill {
  to { width: 68%; }
}
.avatars {
  display: flex;
  margin-top: 0.6rem;
}
.avatars i {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  margin-inline-start: -0.35rem;
  border: 2px solid #fff;
}
.avatars i:first-child { margin-inline-start: 0; }
.live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.ping {
  position: relative;
  width: 0.62rem;
  height: 0.62rem;
}
.ping::after,
.ping::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #14b8a6;
}
.ping::after {
  background: #2dd4bf;
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.55;
}

/* ── features board ─────────────────────────────────────────── */
.board {
  border-radius: 1.9rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, white 86%, transparent), color-mix(in srgb, white 70%, transparent));
  border: 1px solid color-mix(in srgb, white 70%, var(--border));
  box-shadow:
    0 28px 70px color-mix(in srgb, var(--primary) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.35);
}

.feat-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  overflow: auto;
  scrollbar-width: none;
}
.feat-nav::-webkit-scrollbar { display: none; }
@media (min-width: 960px) {
  .feat-nav {
    grid-template-columns: repeat(8, 1fr);
  }
}

.feat-pill {
  --acc: var(--navy);
  position: absolute;
  top: 0;
  left: 0; /* physical: movePill() measures from the nav's left edge in both directions */
  width: 0;
  height: 0;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 4%, white), color-mix(in srgb, var(--acc) 15%, white));
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--acc) 16%, transparent),
    inset 0 -3px 0 var(--acc);
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 0;
}

.feat-tab {
  --acc: var(--navy);
  position: relative;
  z-index: 1;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 1.1rem;
  padding: 0.65rem 0.35rem 0.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--ink-2);
  transition: color 0.2s ease, background 0.25s ease;
}
.feat-tab.t-live { --acc: #1f6f5c; }
.feat-tab.t-attend { --acc: var(--navy); }
.feat-tab.t-consent { --acc: #5d9a6c; }
.feat-tab.t-exam { --acc: #c2792a; }
.feat-tab.t-msg { --acc: #2b64b8; }
.feat-tab.t-hw { --acc: var(--coral); }
.feat-tab.t-lib { --acc: #a3552e; }
.feat-tab.t-plan { --acc: var(--ocean); }
.feat-ico {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  margin-bottom: 0.25rem;
  background: color-mix(in srgb, var(--acc) 9%, white);
  color: var(--acc);
  transition: transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.3s ease;
}
.feat-tab svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat-tab span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
}
.feat-tab small {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-2);
  opacity: 0.75;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}
@media (max-width: 959px) {
  .feat-tab small { display: none; }
}
.feat-tab:hover { color: var(--ink); }
.feat-tab:hover .feat-ico {
  transform: translateY(-3px) rotate(-4deg);
  background: color-mix(in srgb, var(--acc) 16%, white);
  box-shadow: 0 8px 16px color-mix(in srgb, var(--acc) 22%, transparent);
}
.feat-tab:hover small { opacity: 1; }
.feat-tab.is-active { color: var(--acc); }
.feat-tab.is-active .feat-ico {
  background: var(--acc);
  color: #fff;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--acc) 30%, transparent);
  transform: translateY(-2px);
}
.feat-tab.is-active small { color: var(--acc); opacity: 0.85; }
.feat-tab:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

.feat-stage {
  display: grid;
  gap: 0;
}
@media (min-width: 900px) {
  .feat-stage {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 28rem;
  }
}

.feat-panel {
  display: none;
  padding: 1.35rem 1.25rem 1.5rem;
}
.feat-panel.is-active {
  display: block;
  animation: landing-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.feat-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.45rem;
}
html[lang="fa"] .feat-kicker {
  letter-spacing: 0.04em;
  text-transform: none;
}
.feat-panel h3 {
  margin: 0 0 1.05rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.feat-panel > p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

.widget {
  border-radius: 1.25rem;
  padding: 1rem;
  background: color-mix(in srgb, white 70%, var(--background));
  border: 1px solid color-mix(in srgb, var(--border) 80%, white);
  min-height: 13.5rem;
}

.hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.feat-shot {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.2rem;
  background:
    radial-gradient(380px 220px at 50% 80%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 6%, transparent));
}
@media (min-width: 900px) {
  .feat-shot { display: flex; }
}
.feat-shot .phone {
  position: relative;
  left: auto;
  top: auto;
  transform: rotate(4deg);
  width: 198px;
}
html[lang="fa"] .feat-shot .phone {
  transform: rotate(-4deg);
}
.feat-shot .phone-body img[hidden] {
  display: none;
}

/* live studio — chalkboard + shared page, not a video grid */
.widget.studio {
  padding: 0.7rem;
  background:
    radial-gradient(420px 180px at 20% 0%, color-mix(in srgb, var(--navy) 22%, transparent), transparent 60%),
    linear-gradient(180deg, #1c2430, #141820);
  border-color: #2a3340;
  color: #e8eef5;
}
.studio-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  padding: 0.15rem 0.35rem 0.55rem;
  font-size: 0.75rem;
}
.studio-top strong { font-size: 0.82rem; }
.studio-top em {
  margin-inline-start: auto;
  font-style: normal;
  color: rgba(232, 238, 245, 0.62);
  font-weight: 700;
}
.studio-stage {
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 560px) {
  .studio-stage {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: stretch;
  }
}
.chalkboard {
  position: relative;
  min-height: 11.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.05), transparent 40%),
    #1f4d3a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
@media (max-width: 559px) {
  .chalkboard,
  .sheet {
    min-height: 9.6rem;
  }
}
.chalk-mark {
  position: absolute;
  inset: 6% 12% 34%;
  width: auto;
  height: auto;
  pointer-events: none;
}
.chalkboard canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.teacher-pip {
  position: absolute;
  left: 0.42rem;
  bottom: 0.42rem;
  z-index: 3;
  width: 3.15rem;
  height: 3.15rem;
}
.teacher-pip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  background: #3b2a22;
}
.pip-live {
  position: absolute;
  right: 0.08rem;
  bottom: 0.08rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #34d399;
  border: 2px solid #1f4d3a;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pip-pulse 1.8s ease-out infinite;
}
@keyframes pip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65); }
  100% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
}
.hands {
  position: absolute;
  left: 3.75rem;
  right: 0.4rem;
  bottom: 0.4rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  pointer-events: none;
}
.hands .chip {
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(15, 23, 20, 0.72);
  color: #fff;
  cursor: pointer;
}
.hands .chip.is-up {
  background: #fde68a;
  color: #78350f;
  animation: hand-wave 0.8s ease-in-out 2;
  transform-origin: bottom center;
}
.hands .chip.is-on {
  background: #fff;
  color: #0f766e;
}
.sheet {
  border-radius: 0.7rem;
  padding: 0.75rem 0.8rem 0.7rem;
  background: #f6efe2;
  color: #2a2418;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
}
.sheet-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a7048;
}
html[lang="fa"] .sheet-kicker {
  letter-spacing: 0.03em;
  text-transform: none;
}
.sheet h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}
.sheet [data-sheet-body] {
  margin: 0;
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 700;
  color: #4a3f32;
}
.sheet-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.sheet-nav button {
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 999px;
  background: #e7d8c0;
  font-weight: 800;
  cursor: pointer;
}
.sheet-nav span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #7a6248;
}
.studio-tray {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.ink {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0;
  cursor: pointer;
  background: var(--ink);
}
.ink.is-on {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.tray-act {
  border: 0;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.tray-act.is-on {
  background: #fde68a;
  color: #78350f;
}
.studio-chat {
  margin: 0.55rem 0.2rem 0.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(232, 238, 245, 0.78);
}
.studio-chat b { color: #99f6e4; }

/* attendance */
.att-box {
  position: relative;
  display: grid;
  gap: 1.1rem;
  align-items: start;
}
@media (min-width: 560px) {
  .att-box {
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 2.4rem;
  }
}
.att-roll {
  display: grid;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}
.att-wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.att-wire path {
  fill: none;
  stroke: #be185d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
}
.att-wire circle {
  fill: #be185d;
}
.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.roster button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  background: #fff;
  font-weight: 800;
  text-align: start;
}
.roster .st {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-weight: 800;
}
.roster [data-state="present"] .st { background: #d1fae5; color: #047857; }
.roster [data-state="late"] .st { background: #ffedd5; color: #c2410c; }
.roster [data-state="away"] .st { background: #fce7f3; color: #be185d; }
.roster [data-state="away"] {
  position: relative;
}
.roster [data-state="away"]::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: -0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #be185d;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px color-mix(in srgb, #be185d 22%, transparent);
}
.roster-sum {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
}
.family-dock {
  position: relative;
  z-index: 1;
}
.family-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #be185d;
}
.family-alerts {
  display: grid;
  gap: 0.45rem;
  text-align: start;
}
.alert-empty {
  margin: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background: color-mix(in srgb, #be185d 8%, white);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}
.family-card {
  display: grid;
  gap: 0.4rem;
  animation: landing-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.alert-push {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  border-radius: 0.95rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 8%, transparent);
}
.alert-push img {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  flex-shrink: 0;
}
.alert-push span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.alert-push strong {
  display: block;
  font-size: 0.82rem;
  margin: 0.1rem 0 0.12rem;
}
.alert-push p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}
.alert-sms {
  margin-inline-start: 0.35rem;
  padding: 0.5rem 0.7rem 0.55rem;
  border-radius: 0.35rem 1rem 1rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
html[lang="fa"] .alert-sms {
  border-radius: 1rem 0.35rem 1rem 1rem;
}
.alert-sms span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.18rem;
  color: #0f766e;
}
html[lang="fa"] .alert-sms span { letter-spacing: 0.03em; }
.alert-sms p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

/* consents — the permission card a parent taps, and the tally the school sees */
.widget.consent-desk {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}
@media (min-width: 620px) {
  .widget.consent-desk {
    grid-template-columns: minmax(0, 1.35fr) minmax(9.5rem, 0.65fr);
    align-items: stretch;
  }
}
.permit {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 0.9rem 0.9rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  transition: filter 0.4s ease;
}
.permit::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--ocean));
}
.permit-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.permit-ico {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  background: var(--sage-soft);
  color: #3f7d55;
  flex-shrink: 0;
}
.permit-ico svg,
.permit-meta svg,
.permit-ok svg,
.permit-seal svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.permit-ico svg { width: 1.25rem; height: 1.25rem; }
.permit-title { display: grid; line-height: 1.3; min-width: 0; flex: 1; }
.permit-title b { font-size: 0.95rem; }
.permit-title span { font-size: 0.68rem; color: var(--ink-2); font-weight: 700; }
.permit-due {
  font-size: 0.64rem;
  font-weight: 800;
  color: #9b6a1d;
  background: var(--sand-soft);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}
.permit-text {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}
.permit-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
}
.permit-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-2);
}
.permit-meta svg { width: 0.85rem; height: 0.85rem; color: var(--ocean); }
.permit-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line);
}
.permit-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--navy) 28%, transparent);
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}
.permit-ok svg { width: 1rem; height: 1rem; stroke-width: 2.6; }
.permit-ok:hover { background: var(--navy-deep); transform: translateY(-1px); }
.permit-ok:active { transform: scale(0.97); }
.permit-no {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.permit-no:hover { border-color: var(--coral); color: var(--coral); }
.permit-ok:disabled,
.permit-no:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.permit-seal {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 2.6rem;
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  padding: 0.45rem 0.8rem 0.4rem;
  border: 2px solid #3f9a63;
  border-radius: 0.6rem;
  color: #2f7a4b;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  transform: rotate(-8deg) scale(1.6);
  opacity: 0;
  pointer-events: none;
}
.permit-seal svg { width: 1.3rem; height: 1.3rem; stroke-width: 3; }
.permit-seal b { font-size: 0.78rem; letter-spacing: 0.04em; }
.permit-seal small { font-size: 0.56rem; font-weight: 700; opacity: 0.8; }
.permit-seal-no { border-color: var(--coral); color: #b04a2e; }
.permit.is-signed .permit-seal:not(.permit-seal-no),
.permit.is-declined .permit-seal-no {
  opacity: 1;
  transform: rotate(-8deg) scale(1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.permit.is-signed .permit-actions,
.permit.is-declined .permit-actions { opacity: 0.35; }
.permit.is-declined { filter: grayscale(0.4); }

.permit-tally {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  background: var(--paper-2);
}
.tally-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ink-2);
}
.tally-bar {
  display: flex;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--sand);
  overflow: hidden;
}
.tally-bar i {
  display: block;
  height: 100%;
  transition: width 0.45s var(--ease);
}
.tally-bar .t-yes { background: #3f9a63; width: 80.7%; }
.tally-bar .t-no { background: var(--coral); width: 3.9%; }
.tally-rows {
  margin: 0;
  display: grid;
  gap: 0.3rem;
}
.tally-rows > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-2);
}
.tally-rows > div::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--sand);
}
.tally-rows .t-yes::before { background: #3f9a63; }
.tally-rows .t-no::before { background: var(--coral); }
.tally-rows dt { flex: 1; }
.tally-rows dd {
  margin: 0;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
  transition: transform 0.25s var(--ease);
}
.tally-rows dd.is-bump { transform: scale(1.25); }
.tally-faces { display: flex; margin-top: 0.1rem; }
.tally-faces i {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--paper-2);
  margin-inline-start: -0.4rem;
  background: #3f9a63;
  font-size: 0.5rem;
  font-weight: 800;
  font-style: normal;
  color: #fff;
}
.tally-faces i:first-child { margin-inline-start: 0; }
.tally-faces i:nth-child(2) { background: var(--ocean); }
.tally-faces i:nth-child(3) { background: var(--navy); }
.tally-faces .is-you {
  background: #fff;
  color: var(--ink-2);
  border-color: var(--sand);
  border-style: dashed;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.tally-faces .is-you.is-yes { background: #3f9a63; color: #fff; border-style: solid; border-color: var(--paper-2); }
.tally-faces .is-you.is-no { background: var(--coral); color: #fff; border-style: solid; border-color: var(--paper-2); }
.stamp-note {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.5;
}

/* library — a shelf of books, then a reader */
.widget.shelf {
  padding: 0.9rem 1rem 1rem;
  background: linear-gradient(180deg, #fff, var(--sand-soft));
}
.shelf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.shelf-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-2);
}
.shelf-score {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink);
}
.shelf-score svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: #f3b13b;
  stroke: none;
}
.shelf-score b { color: var(--navy); font-size: 0.9rem; }
.shelf-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.9rem;
  padding: 0 0.5rem;
  perspective: 800px;
}
.book {
  position: relative;
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 5.6rem;
  height: 7.2rem;
  border-radius: 0.35rem 0.7rem 0.7rem 0.35rem;
  padding: 0.7rem 0.6rem 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.1rem;
  text-align: start;
  color: #fff;
  background: var(--bk, var(--navy));
  box-shadow:
    inset 0.35rem 0 0 rgba(0, 0, 0, 0.18),
    inset 0.42rem 0 0 rgba(255, 255, 255, 0.12),
    0 10px 18px rgba(20, 24, 45, 0.18);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
html[lang="fa"] .book {
  border-radius: 0.7rem 0.35rem 0.35rem 0.7rem;
  padding: 0.7rem 0.8rem 0.6rem 0.6rem;
  box-shadow:
    inset -0.35rem 0 0 rgba(0, 0, 0, 0.18),
    inset -0.42rem 0 0 rgba(255, 255, 255, 0.12),
    0 10px 18px rgba(20, 24, 45, 0.18);
}
.book::before {
  content: "";
  position: absolute;
  inset: 0.55rem 0.55rem auto 0.9rem;
  height: 1.6rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.14);
}
html[lang="fa"] .book::before { inset: 0.55rem 0.9rem auto 0.55rem; }
.book:hover { transform: translateY(-4px) rotateX(4deg); }
.book.is-on {
  transform: translateY(-10px) scale(1.04);
  box-shadow:
    inset -0.35rem 0 0 rgba(0, 0, 0, 0.18),
    inset -0.42rem 0 0 rgba(255, 255, 255, 0.12),
    0 18px 26px rgba(20, 24, 45, 0.26),
    0 0 0 3px #fff,
    0 0 0 5px var(--ocean);
}
.book-tag {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 1rem;
  font-size: 0.58rem;
  font-weight: 800;
  opacity: 0.9;
}
.book strong {
  font-size: 0.9rem;
  line-height: 1.2;
}
.book em {
  font-style: normal;
  font-size: 0.66rem;
  opacity: 0.85;
}
.b-math { --bk: linear-gradient(160deg, #2b4ea3, var(--navy-deep)); }
.b-farsi { --bk: linear-gradient(160deg, #1fb2c2, #127a87); }
.b-tale { --bk: linear-gradient(160deg, #f0825f, #c9502f); }
.shelf-plank {
  height: 0.7rem;
  margin: 0 -0.2rem 0.9rem;
  border-radius: 0.3rem;
  background: linear-gradient(180deg, #d8b98a, #b8935e);
  box-shadow: 0 6px 12px rgba(120, 80, 30, 0.2);
}
.reader {
  position: relative;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 6.4rem;
  cursor: pointer;
}
.reader.is-turn { animation: page-flip 0.35s var(--ease); }
@keyframes page-flip {
  0% { transform: translateX(0); opacity: 1; }
  40% { transform: translateX(-10px); opacity: 0.2; }
  100% { transform: translateX(0); opacity: 1; }
}
.reader-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ocean);
}
.reader-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.75;
  min-height: 2.6em;
}
.reader-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.reader-n {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-2);
}
.reader-bar {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.reader-bar i {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ocean), var(--navy));
  transition: width 0.35s var(--ease);
}
.reader-pts {
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  animation: landing-rise 0.4s var(--ease) both;
}
.reader-next {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}
.reader-next:hover { background: var(--navy-deep); }
.reader-next[hidden] { display: none; }

/* exam */
.widget.quiz { padding: 0.9rem 1rem 0.9rem; }
.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.quiz-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-2);
}
.quiz-title b { color: var(--ink); }
.quiz-timer {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
  background: color-mix(in srgb, var(--navy) 9%, white);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-variant-numeric: tabular-nums;
}
.quiz-timer.is-low { color: var(--coral); background: var(--coral-soft); }
.quiz > p {
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.7;
}
.choices {
  display: grid;
  gap: 0.4rem;
}
.choices button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.5rem 0.6rem;
  text-align: start;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.choices button i {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-2);
  flex-shrink: 0;
}
.choices button:hover { border-color: var(--navy); }
.choices button.is-ok {
  background: #e6f6ee;
  border-color: #58b98b;
  color: #1f6e46;
}
.choices button.is-ok i { background: #58b98b; color: #fff; }
.choices button.is-no {
  background: var(--coral-soft);
  border-color: var(--coral);
  color: #a6402a;
}
.choices button.is-no i { background: var(--coral); color: #fff; }
.quiz-note {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  font-weight: 800;
  min-height: 1.2em;
  color: var(--navy);
}
.quiz-foot {
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}
.quiz-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-2);
}
.quiz-chip svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--ocean);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* messages: pinned notice + a private thread */
.widget.inbox { padding: 0.8rem 0.9rem 0.9rem; }
.pin {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.9rem;
  background: var(--sand-soft);
  border: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
  margin-bottom: 0.7rem;
}
.pin-ico {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.6rem;
  background: #fff;
  flex-shrink: 0;
}
.pin-ico svg {
  width: 1rem;
  height: 1rem;
  stroke: #9b7a2f;
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
}
.pin-body { flex: 1; min-width: 0; display: grid; }
.pin-body b { font-size: 0.82rem; }
.pin-body span { font-size: 0.7rem; color: var(--ink-2); font-weight: 700; }
.pin-body strong { color: var(--ink); }
.pin-seen { display: flex; }
.pin-seen i {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 2px solid #fff;
  margin-inline-start: -0.35rem;
  background: var(--ocean);
}
.pin-seen i:nth-child(2) { background: var(--coral); }
.pin-seen i:nth-child(3) { background: var(--sage); }
.pin-seen i:first-child { margin-inline-start: 0; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.15rem 0.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.6rem;
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.chat-head > div { display: grid; line-height: 1.3; }
.chat-head b { font-size: 0.84rem; }
.chat-head span:not(.chat-avatar):not(.chat-lock) { font-size: 0.68rem; color: var(--ink-2); font-weight: 700; }
.chat-lock {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--ocean);
  background: var(--ocean-soft);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}
.chat-lock svg { width: 0.75rem; height: 0.75rem; stroke: currentColor; fill: none; stroke-width: 2.2; }
.chat {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.bubble {
  max-width: 82%;
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}
.bubble.in {
  background: #fff;
  border: 1px solid var(--line);
  justify-self: start;
  border-end-start-radius: 0.3rem;
}
.bubble.out {
  background: var(--navy);
  color: #fff;
  justify-self: end;
  border-end-end-radius: 0.3rem;
}
html[lang="fa"] .bubble.in { border-end-start-radius: 1rem; border-end-end-radius: 0.3rem; }
html[lang="fa"] .bubble.out { border-end-end-radius: 1rem; border-end-start-radius: 0.3rem; }
.bubble.typing::after {
  content: "▍";
  animation: type-caret 0.9s step-end infinite;
}
.bubble.voice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  min-width: 11rem;
}
.voice-play {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.voice-play::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.42rem;
  border-style: solid;
  border-width: 0.33rem 0 0.33rem 0.5rem;
  border-color: transparent transparent transparent var(--navy);
}
.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 1.1rem;
  flex: 1;
}
.wave b {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
}
.wave b:nth-child(1) { --h: 30%; } .wave b:nth-child(2) { --h: 60%; } .wave b:nth-child(3) { --h: 90%; }
.wave b:nth-child(4) { --h: 50%; } .wave b:nth-child(5) { --h: 75%; } .wave b:nth-child(6) { --h: 35%; }
.wave b:nth-child(7) { --h: 100%; } .wave b:nth-child(8) { --h: 55%; } .wave b:nth-child(9) { --h: 70%; }
.wave b:nth-child(10) { --h: 40%; } .wave b:nth-child(11) { --h: 85%; } .wave b:nth-child(12) { --h: 45%; }
.wave b:nth-child(13) { --h: 65%; } .wave b:nth-child(14) { --h: 30%; }
.bubble.voice .num { font-size: 0.7rem; opacity: 0.85; }

/* homework: a list with deadlines, and the teacher's marked page */
.widget.hw-desk {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem;
}
@media (min-width: 560px) {
  .widget.hw-desk {
    grid-template-columns: minmax(0, 1fr) 9.5rem;
    grid-template-areas: "list photo" "bar photo";
    align-items: start;
    column-gap: 0.9rem;
  }
  .hw-list { grid-area: list; }
  .hw-desk .hw-bar { grid-area: bar; margin-top: 0.1rem; }
  .hw-photo { grid-area: photo; }
}
.hw-list {
  display: grid;
  gap: 0.4rem;
}
.hw {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.hw:hover { border-color: var(--navy); }
.hw input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.hw-body {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.hw-body span { font-weight: 800; font-size: 0.85rem; }
.hw-body small { font-size: 0.68rem; color: var(--ink-2); font-weight: 700; }
.hw.is-done .hw-body span {
  text-decoration: line-through;
  color: var(--ink-2);
}
.hw-tag {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.hw-tag.t-ok { background: var(--ocean-soft); color: #0f6f7c; }
.hw-tag.t-late { background: var(--coral-soft); color: #a6402a; }
.hw-bar {
  height: 0.5rem;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.hw-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ocean), var(--navy));
  transition: width 0.35s var(--ease);
}
.hw-photo {
  margin: 0.2rem auto 0;
  width: 100%;
  max-width: 11rem;
  display: grid;
  gap: 0.35rem;
}
.hw-paper {
  position: relative;
  aspect-ratio: 1 / 1.1;
  border-radius: 0.6rem;
  padding: 0.9rem 0.8rem 0.6rem;
  background:
    repeating-linear-gradient(180deg, transparent 0 1.55rem, rgba(31, 60, 136, 0.14) 1.55rem 1.6rem),
    #fffdf7;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(20, 24, 45, 0.1);
  transform: rotate(-2deg);
  display: grid;
  align-content: start;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #26304f;
  font-family: Vazirmatn, system-ui, sans-serif;
  direction: rtl;
}
.hw-paper span { line-height: 1.05rem; }
.hw-mark {
  position: absolute;
  inset-inline-end: 0.8rem;
  top: 0.65rem;
  color: var(--coral);
  font-size: 1.05rem;
  font-weight: 800;
  transform: rotate(-12deg);
  animation: landing-rise 0.5s 0.3s var(--ease) both;
}
.hw-mark-2 { top: 2.2rem; animation-delay: 0.6s; }
.hw-mark-3 { top: 3.75rem; animation-delay: 0.9s; }
.hw-ink {
  position: absolute;
  inset-inline-start: 0.9rem;
  bottom: 0.6rem;
  color: var(--coral);
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
  transform: rotate(-6deg);
  animation: landing-rise 0.5s 1.2s var(--ease) both;
}
.hw-photo figcaption {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
}

/* timetable */
.widget.tt-desk { padding: 0.9rem; }
.tt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.tt-kicker { font-size: 0.74rem; font-weight: 800; color: var(--ink-2); }
.tt-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #4f8a62;
  background: var(--sage-soft);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.tt-ai svg { width: 0.8rem; height: 0.8rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.tt {
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: 0.35rem;
  align-items: stretch;
}
.tt-h {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--ink-2);
  text-align: center;
  padding: 0.2rem 0 0.25rem;
  display: grid;
  line-height: 1.3;
}
.tt-h small { font-size: 0.58rem; color: var(--coral); }
.tt-h.is-today { color: var(--ink); }
.tt-r {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  padding-inline: 0.15rem;
  white-space: nowrap;
}
.tt-cell {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  padding: 0.45rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  background: #fff;
  cursor: pointer;
  min-height: 2.9rem;
  display: grid;
  line-height: 1.3;
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.tt-cell small { font-size: 0.58rem; font-weight: 700; opacity: 0.75; }
.tt-cell.c-math { background: color-mix(in srgb, var(--navy) 10%, white); }
.tt-cell.c-sci { background: var(--sage-soft); }
.tt-cell.c-art { background: var(--coral-soft); }
.tt-cell.c-pe { background: var(--sand-soft); }
.tt-cell.c-fa { background: var(--ocean-soft); }
.tt-cell:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(20, 24, 45, 0.1); }
.tt-cell.is-now { border-color: var(--navy); }
.tt-cell.is-on {
  background: var(--navy);
  color: #fff;
}
.tt-cell.is-on small { opacity: 0.85; }
.tt-note {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  font-weight: 800;
  min-height: 1.2em;
  color: var(--navy);
}


/* ── devices — a family of real screens, not another tab grid ─ */
.gear {
  padding-top: 1.2rem;
}
.gear-kit {
  display: grid;
  gap: 1.4rem;
}
.gear-slates {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.6rem, 3vw, 1.6rem);
}
.slate {
  margin: 0;
  width: min(46%, 22rem);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.slate-apple { transform: rotate(-5.5deg); }
.slate-droid {
  width: min(40%, 18.5rem);
  transform: rotate(6deg) translateY(8%);
}
.slate-body {
  position: relative;
  background: linear-gradient(165deg, #3a3a44 0%, #14141c 100%);
  box-shadow: 0 24px 44px rgba(15, 14, 23, 0.22);
}
.slate-apple .slate-body {
  padding: 0.7rem 0.7rem 0.85rem;
  border-radius: 1.35rem;
}
.slate-apple .slate-body img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--navy) 8%, white);
}
.slate-cam {
  position: absolute;
  top: 0.28rem;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #2a2a33;
}
.slate-droid .slate-body {
  padding: 0.38rem 0.34rem 0.5rem;
  border-radius: 0.65rem;
}
.slate-droid .slate-body img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.32rem;
  background: color-mix(in srgb, var(--navy) 8%, white);
}
.slate-hole {
  position: absolute;
  top: 0.16rem;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0b10;
}
.gear-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.4rem, 6vw, 4rem);
  position: relative;
  z-index: 2;
}
@media (min-width: 720px) {
  .gear-slates { margin-bottom: 0.4rem; }
}
.handset {
  margin: 0;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.handset-body {
  position: relative;
  width: min(158px, 42vw);
  background: linear-gradient(165deg, #3a3a44 0%, #14141c 58%, #0b0b10 100%);
  box-shadow: 0 24px 48px rgba(15, 14, 23, 0.28);
}
.handset-body img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  background: #f4f1ea;
}
.handset-apple { transform: rotate(-7deg); }
.handset-apple .handset-body {
  padding: 0.45rem;
  border-radius: 2.15rem;
}
.handset-apple .handset-body img { border-radius: 1.75rem; }
.handset-apple .phone-island { top: 0.7rem; }
.handset-droid { transform: rotate(7deg); }
.handset-droid .handset-body {
  padding: 0.36rem 0.32rem 0.48rem;
  border-radius: 1.4rem;
}
.handset-droid .handset-body img { border-radius: 1.05rem; }
.handset-hole {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 2;
  width: 0.52rem;
  height: 0.52rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0b10;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.slate figcaption,
.handset figcaption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}
.os-mark {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
}
.os-android { color: #3ddc84; }
.slate.is-up,
.handset.is-up {
  transform: translateY(-10px) scale(1.04);
  z-index: 4;
}
.gear-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.15rem;
  margin: 1.8rem auto 0;
  padding: 0;
  max-width: 40rem;
}
.gear-line button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  padding: 0.25rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}
.gear-line button + button {
  border-inline-start: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.gear-line button:hover,
.gear-line button.is-on {
  color: var(--primary);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 48rem;
  margin: 1.4rem auto 0.7rem;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 10.5rem;
  padding: 0.45rem 0.85rem 0.5rem 0.7rem;
  border-radius: 0.7rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  line-height: 1.05;
}
.store .os-mark {
  width: 1.45rem;
  height: 1.45rem;
}
.store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.store small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
html[lang="fa"] .store small {
  letter-spacing: 0.02em;
  text-transform: none;
}
html[lang="fa"] .store span { align-items: flex-end; }
.store-play .os-mark { color: inherit; }
.store-soon {
  background: #2a2a2a;
  color: #e8e8e8;
  cursor: default;
  pointer-events: none;
}
.store-soon small { opacity: 0.9; }
.gear-web {
  text-align: center;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.gear-web a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}
.gear-web a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .gear-slates { flex-direction: column; align-items: center; }
  .slate-apple,
  .slate-droid {
    width: min(100%, 22rem);
    transform: none;
  }
  .gear-phones { margin-top: 0; }
}

.hero-phone {
  margin: 0.9rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.hero-phone a {
  color: inherit;
  text-decoration: none;
}
.hero-phone a:hover { text-decoration: underline; }
.hero-contact {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}
.hero-contact a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 0.18em;
}
.hero-contact a:hover { text-decoration: underline; }
.soft-hub,
.price-aside {
  margin: 0 auto 1.1rem;
  max-width: 38rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.7;
}
.cta .soft-hub,
.cta .price-aside { text-align: center; }
.side-card .price-aside { margin: 0.55rem 0 0.85rem; font-weight: 650; }
.soft-hub a,
.price-aside a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
}
.soft-hub a:hover,
.price-aside a:hover { text-decoration: underline; }

/* ── contact form ───────────────────────────────────────────── */

.contact-sec .sec-h { margin-bottom: 1.25rem; }
.contact-card {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, white 88%, transparent), color-mix(in srgb, white 72%, transparent));
  border: 1px solid color-mix(in srgb, white 70%, var(--border));
  box-shadow:
    0 24px 60px color-mix(in srgb, var(--primary) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(1.3);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.9rem;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--landing-ink);
}
.contact-field em {
  font-style: normal;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}
.contact-field small {
  color: var(--muted);
  font-weight: 700;
}
.contact-field input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--landing-ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-field input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--primary);
}
.contact-sizes {
  margin: 1.05rem 0 0;
  padding: 0;
  border: 0;
}
.contact-sizes legend {
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
  padding: 0;
}
.size-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.size-picks label {
  cursor: pointer;
}
.size-picks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.size-picks span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.size-picks label:hover span {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}
.size-picks input:focus-visible + span {
  outline: 2px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 1px;
}
.size-picks input:checked + span {
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.contact-submit {
  width: 100%;
  margin-top: 1.1rem;
  border-radius: 1rem;
}
.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.contact-msg {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}
.contact-msg.is-ok {
  background: color-mix(in srgb, var(--secondary) 14%, #fff);
  color: #0f766e;
}
.contact-msg.is-err {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: #b42318;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}


/* ── legal ──────────────────────────────────────────────────── */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.2rem 1.15rem 3.5rem;
}
.legal-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}
html[lang="fa"] .legal-kicker { letter-spacing: 0.04em; }
.legal h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
  line-height: 1.2;
}
.legal .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}
.legal .toc {
  border-radius: 1.4rem;
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
}
.legal .toc strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
}
.legal .toc ol {
  margin: 0;
  padding-inline-start: 1.2rem;
  display: grid;
  gap: 0.28rem;
}
.legal .toc a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}
.legal .toc a:hover { color: var(--primary); }
.legal h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 2.1rem 0 0.7rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 5.5rem;
}
.legal p,
.legal li {
  color: #2b2a38;
  font-size: 0.98rem;
  line-height: 1.8;
}
html[lang="fa"] .legal p,
html[lang="fa"] .legal li { line-height: 2; }
.legal ul,
.legal ol.legal-list {
  margin: 0.4rem 0 1rem;
  padding-inline-start: 1.3rem;
}
.legal li { margin: 0.28rem 0; }
html[lang="fa"] .legal ol { list-style: persian; }
.legal a {
  color: var(--primary);
  font-weight: 700;
}
.legal .note {
  border-radius: 1.2rem;
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
}


/* ── motion preferences ─────────────────────────────────────── */

@media (max-width: 420px) {
  .feat-tab span { font-size: 0.64rem; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-rise,
  .bar > i,
  .feat-panel.is-active,
  .ping::after,
  .pip-live,
  .att-wire circle,
  .reader.is-turn,
  .hw-mark,
  .hw-ink,
  .reader-pts,
  .skyline img {
    animation: none !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
  .cast-tile,
  .cast-tile img,
  .moment,
  .band > img,
  .tile,
  .btn,
  .feat-pill,
  .fan .phone {
    transition: none !important;
  }
  .bar > i { width: 68%; }
}

/* ── long-form content pages (SEO landing pages) ───────────── */

.lede a,
.prose a,
.manifesto-text a,
.band-body p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ocean) 55%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s ease;
}
.lede a:hover,
.prose a:hover,
.manifesto-text a:hover,
.band-body p a:hover { text-decoration-color: var(--ocean); }
.band-body p a { text-decoration-color: rgba(255, 255, 255, 0.45); }
.band-body p a:hover { text-decoration-color: #fff; }

.prose {
  max-width: 44rem;
}
.prose > h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  letter-spacing: -0.02em;
  margin: 2.4rem 0 0.7rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.12rem;
  margin: 1.5rem 0 0.4rem;
}
.prose p {
  color: var(--ink-2);
  line-height: 2;
  margin: 0 0 0.9rem;
}
.prose p.answer {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 2;
  padding: 1rem 1.2rem;
  border-inline-start: 4px solid var(--ocean);
  background: #fff;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
}
.prose ul:not(.checks),
.prose ol:not(.numbered) {
  color: var(--ink-2);
  line-height: 1.9;
  padding-inline-start: 1.3rem;
  margin: 0 0 1rem;
}
.prose ul:not(.checks) li,
.prose ol:not(.numbered) li { margin: 0.3rem 0; }
.prose .checks { list-style: none; margin: 0.6rem 0 1.2rem; padding: 0; display: grid; gap: 0.55rem; }
.prose .quote { margin: 1.4rem 0; }
.prose strong { color: var(--ink); }

.prose-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1000px) {
  .prose-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; }
  .prose-grid > aside { position: sticky; top: 5.5rem; }
}
.side-card {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.3rem;
}
.side-card + .side-card { margin-top: 0.9rem; }
.side-card h3 {
  font-size: 0.98rem;
  margin: 0 0 0.6rem;
}
.side-card p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.85;
  margin: 0;
}
.side-card .actions { margin-top: 0.9rem; }
.side-card .btn { width: 100%; justify-content: center; }
.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.side-links a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  background: var(--paper-2);
}
.side-links a:hover { background: var(--ocean-soft); color: var(--navy-deep); }

/* on-page table of contents */
.toc-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.toc-inline a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
}
.toc-inline a:hover { color: var(--navy); border-color: var(--navy); }
.page-hero-dark .toc-inline a { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #d3daee; }
.page-hero-dark .toc-inline a:hover { color: #fff; border-color: #fff; }

/* "how to verify" checklist used on category + compare pages */
.criteria {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) { .criteria { grid-template-columns: 1fr 1fr; } }
.criteria li {
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.25rem;
}
.criteria li b { font-size: 1rem; }
.criteria li span {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.8;
}
.criteria li em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ocean);
}

/* comparison table */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.cmp th,
.cmp td {
  padding: 0.85rem 1rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
}
.cmp thead th {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-2);
  background: var(--paper-2);
  position: sticky;
  top: 0;
}
.cmp thead th.is-minab {
  color: #fff;
  background: var(--navy);
}
.cmp tbody th {
  font-weight: 800;
  color: var(--ink);
  width: 26%;
}
.cmp tbody td { color: var(--ink-2); }
.cmp tbody td.is-minab {
  color: var(--ink);
  background: color-mix(in srgb, var(--ocean-soft) 45%, white);
}
.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--ocean-soft);
  color: var(--ocean);
  font-size: 0.75rem;
  font-weight: 800;
  margin-inline-end: 0.45rem;
  vertical-align: middle;
}
.cmp .ask {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--coral);
  margin-inline-end: 0.45rem;
}
.cmp-note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.8;
}

/* related pages strip */
.related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.related a:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.related b { font-size: 1rem; }
.related span {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* ── audience chooser (ADA-94) ──────────────────────────────── */
.audience {
  padding: 2.4rem 0 0.4rem;
}
.audience .sec-h { margin-bottom: 1.2rem; }
.audience-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1100px) {
  .audience-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
}
.audience-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.audience-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.audience-card small {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.audience-card b {
  font-size: 1.12rem;
  color: var(--ink);
}
.audience-card span {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── tariffs (Stitch: Redesigned Minab Pricing Page) ───────── */

.tariff-body {
  --tn: #172554;
  --tn-l: #1e3a8a;
  --tn-d: #0f172a;
  --tc: #e05a38;
  --tc-h: #c94d2d;
  --tc-l: #fdf2ef;
  --tcream: #fcfbf8;
  --tsurf: #f5efe6;
  --tline: #e7ded2;
  --tink: #1e293b;
  --tmuted: #64748b;
  background: var(--tcream);
  color: var(--tink);
  overflow-x: clip;
}
.tariff-body .landing-page { background: var(--tcream); }
.tariff-body .header-wrap {
  padding: 0;
  background: rgba(252, 251, 248, 0.95);
  border-bottom: 1px solid rgba(231, 222, 210, 0.7);
}
.tariff-body .nav-inner { min-height: 4.6rem; }
.tariff-body .header-wrap .brand { color: var(--tn); font-weight: 900; font-size: 1.35rem; }
.tariff-body .nav-links a { color: #334155; font-weight: 700; }
.tariff-body .nav-links a:hover { color: var(--tc); background: transparent; }
.tariff-body .nav-links a[aria-current="page"] {
  color: var(--tn);
  background: var(--tsurf);
  border: 1px solid var(--tline);
}
.tariff-body .nav-login { color: #334155; }
.tariff-body .nav-login:hover { color: var(--tn); }
.tariff-body .nav-actions .btn-primary {
  background: var(--tc);
  border-radius: 0.75rem;
  box-shadow: 0 6px 16px rgba(224, 90, 56, 0.28);
}
.tariff-body .nav-actions .btn-primary:hover { background: var(--tc-h); }

.t-hero {
  position: relative;
  padding: 2.5rem 0 4.5rem;
  overflow: hidden;
}
.t-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}
.t-orb-a { top: -2.5rem; inset-inline-end: -10rem; width: 38rem; height: 38rem; background: radial-gradient(closest-side, rgba(254, 243, 199, 0.7) 55%, rgba(254, 243, 199, 0)); }
.t-orb-b { bottom: -2rem; inset-inline-start: -4rem; width: 36rem; height: 36rem; background: radial-gradient(closest-side, rgba(224, 90, 56, 0.1) 55%, rgba(224, 90, 56, 0)); }
.t-hero .max, .t-band .max { position: relative; z-index: 1; }

.t-pitch {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.4rem;
}
@media (min-width: 1020px) {
  .t-pitch { grid-template-columns: 1.35fr 1fr; gap: 2.6rem; }
}
.t-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--tsurf);
  border: 1px solid var(--tline);
  color: var(--tn);
  font-size: 0.75rem;
  font-weight: 800;
}
.t-kicker i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--tc);
}
.t-kicker i,
.t-rec-dot { position: relative; flex: none; }
.t-kicker i::after,
.t-rec-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(224, 90, 56, 0.6);
  animation: t-pulse 1.6s ease-out infinite;
}
.t-rec-dot::after { animation-duration: 1.4s; }
@keyframes t-pulse {
  from { transform: scale(1); opacity: 1; }
  70%, to { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .t-kicker i::after, .t-rec-dot::after { animation: none; opacity: 0; }
}
.t-pitch h1 {
  margin: 0;
  color: var(--tn);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}
.t-pitch h1 span { color: var(--tc); }
.t-pitch .lede {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.9;
}
.t-pitch-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.t-mini {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--tline);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.t-mini b {
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  background: #d1fae5;
  color: #047857;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.t-mini strong { display: block; font-size: 0.86rem; color: #1e293b; line-height: 1.45; }
.t-mini span { display: block; margin-top: 0.15rem; font-size: 0.72rem; color: var(--tmuted); line-height: 1.5; }

.t-cockpit {
  background: #fff;
  border: 1px solid rgba(231, 222, 210, 0.95);
  border-radius: 1.5rem;
  padding: 1.35rem;
  box-shadow: 0 24px 50px -24px rgba(148, 163, 184, 0.55);
}
@media (min-width: 720px) { .t-cockpit { padding: 2rem 2.1rem; } }
.t-cockpit-grid {
  display: grid;
  gap: 1.6rem;
  align-items: stretch;
}
@media (min-width: 980px) {
  .t-cockpit-grid { grid-template-columns: 1.35fr 0.9fr; gap: 2.2rem; }
}
.t-controls { display: flex; flex-direction: column; gap: 1.35rem; min-width: 0; }
.t-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0 0 0.7rem;
  color: var(--tmuted);
  font-size: 0.72rem;
  font-weight: 800;
}
.t-step em {
  font-style: normal;
  color: #059669;
  background: #ecfdf5;
  border-radius: 0.4rem;
  padding: 0.12rem 0.45rem;
  letter-spacing: 0;
  font-size: 0.72rem;
  font-weight: 800;
}
.t-step #rec-hint {
  color: var(--tmuted);
  background: transparent;
  padding: 0;
  font-weight: 700;
}
.t-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}
@media (min-width: 720px) {
  .t-offer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.t-offer button {
  border: 1px solid var(--tline);
  background: #fff;
  border-radius: 0.95rem;
  padding: 0.75rem 0.7rem;
  font: inherit;
  font-weight: 800;
  text-align: right;
  cursor: pointer;
  color: var(--tn);
}
.t-offer button span, .t-offer button small { display: block; }
.t-offer button small { margin-top: 0.2rem; font-size: 0.72rem; font-weight: 650; color: var(--tmuted); }
.t-offer button.is-on { background: var(--tn); color: #fff; border-color: var(--tn); }
.t-offer button.is-on small { color: #ffd7c8; }
.t-terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.6rem, 1fr));
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 1rem;
  background: var(--tsurf);
}
.t-terms button {
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 0.75rem;
  padding: 0.65rem 0.2rem;
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  color: #475569;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.t-terms button:hover { color: var(--tn); }
.t-terms button small { color: var(--tc); font-size: 0.68rem; font-weight: 800; }
.t-terms button.is-on {
  background: var(--tn);
  color: #fff;
  box-shadow: 0 6px 14px rgba(23, 37, 84, 0.22);
}
.t-terms button.is-on small {
  background: var(--tc);
  color: #fff;
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
  line-height: 1.45;
}
.t-seats-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0 0 0.7rem;
}
.t-seats-label > span:first-child {
  color: var(--tmuted);
  font-size: 0.72rem;
  font-weight: 800;
}
.t-seats-label #picked {
  color: var(--tn);
  background: var(--tsurf);
  border-radius: 0.55rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}
.t-roster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.t-roster button {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--tline);
  background: var(--tcream);
  border-radius: 1rem;
  padding: 0.75rem 0.15rem;
  font: inherit;
  cursor: pointer;
  text-align: center;
  color: #334155;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.t-roster button:hover { border-color: rgba(23, 37, 84, 0.45); background: #fff; }
.t-roster button b { display: block; font-size: 1.15rem; color: #1e293b; }
.t-roster button small { color: #94a3b8; font-size: 0.68rem; font-weight: 700; }
.t-roster button.is-on {
  border: 2px solid var(--tc);
  background: rgba(253, 242, 239, 0.75);
  box-shadow: 0 0 0 3px rgba(224, 90, 56, 0.18);
}
.t-roster button.is-on b { color: var(--tc); }
.t-roster button.is-on small { color: var(--tn); font-weight: 800; }
.t-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.t-custom span { font-size: 0.78rem; font-weight: 800; color: var(--tmuted); }
.t-custom input {
  width: 7.2rem;
  border: 1px solid var(--tline);
  border-radius: 0.75rem;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-weight: 800;
  text-align: center;
  background: #fff;
  color: var(--tn);
}
.t-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.t-rec button {
  border: 1px solid var(--tline);
  border-radius: 0.75rem;
  padding: 0.8rem 0.45rem;
  background: var(--tsurf);
  color: #475569;
  font: inherit;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.t-rec button.is-on {
  background: var(--tn);
  color: #fff;
  border: 2px solid var(--tn);
  box-shadow: 0 4px 10px rgba(23, 37, 84, 0.16);
}
.t-rec-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--tc);
}
.t-specs[hidden] { display: none; }
.t-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 0.8rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(245, 239, 230, 0.8);
  border: 1px solid var(--tline);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}
.t-specs span { display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.t-specs span:nth-child(4) { grid-column: 1 / -1; }
.t-specs span::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #10b981;
}
#platform-later[hidden] { display: none; }
#platform-later {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.15rem;
  min-height: 0;
}
.t-later-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.7rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}
.t-later-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}
.t-later-list li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #10b981;
}
.t-later-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.95rem;
  color: var(--tn);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.t-later-more::after { content: "←"; }
.t-later-ask {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--tc);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.t-later-ask::after { content: " ←"; }
.t-later-ask:hover { color: var(--tn); }
.t-online {
  padding: 2.8rem 0 0.6rem;
  scroll-margin-top: 5.5rem;
}
.t-online-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .t-online-list { grid-template-columns: 1fr 1fr; }
}
.t-online-list li {
  --glow: #e05a38;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  row-gap: 0.15rem;
  align-content: start;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 0;
}
.t-online-list li::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -140%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 300deg,
    var(--glow) 338deg,
    #fff 360deg
  );
  animation: t-online-orbit 3.4s linear infinite;
}
.t-online-list li::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px;
  border-radius: calc(1.1rem - 2px);
  background: #fff;
}
.t-online-list li:nth-child(2) { --glow: #f59e0b; }
.t-online-list li:nth-child(3) { --glow: #0ea5e9; }
.t-online-list li:nth-child(4) { --glow: #14b8a6; }
.t-online-list li:nth-child(5) { --glow: #8b5cf6; }
.t-online-list li:nth-child(6) { --glow: #22c55e; }
.t-online-list li:nth-child(7) { --glow: #f43f5e; }
.t-online-list li:nth-child(8) { --glow: #6366f1; }
.t-online-list li:nth-child(2)::before { animation-delay: -0.4s; }
.t-online-list li:nth-child(3)::before { animation-delay: -0.8s; }
.t-online-list li:nth-child(4)::before { animation-delay: -1.2s; }
.t-online-list li:nth-child(5)::before { animation-delay: -1.6s; }
.t-online-list li:nth-child(6)::before { animation-delay: -2s; }
.t-online-list li:nth-child(7)::before { animation-delay: -2.4s; }
.t-online-list li:nth-child(8)::before { animation-delay: -2.8s; }
@keyframes t-online-orbit {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  .t-online-list li::before { animation: none; }
}
.t-online-ico {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--tsurf);
  color: var(--tn);
}
.t-online-ico svg { width: 1.15rem; height: 1.15rem; }
.t-online-list b,
.t-online-list li > span:last-child { grid-column: 2; }
.t-online-list b { color: var(--tn); font-size: 0.95rem; line-height: 1.45; }
.t-online-list li > span:last-child { color: #475569; font-size: 0.82rem; line-height: 1.7; }
.t-later-next {
  margin-top: auto;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(245, 239, 230, 0.8);
  border: 1px solid var(--tline);
}
.t-later-next p { margin: 0; }
.t-later-next strong { display: block; color: var(--tn); font-size: 0.92rem; }
.t-later-next span { display: block; margin-top: 0.25rem; color: #64748b; font-size: 0.78rem; font-weight: 650; line-height: 1.7; }
.t-later-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.8rem;
}
.t-later-prices div {
  padding: 0.75rem 0.7rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid var(--tline);
}
.t-later-prices b {
  display: block;
  color: var(--tn);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}
.t-later-prices span {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.55;
}

.t-summary {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  color: #fff;
  background: linear-gradient(180deg, #172554 0%, #0f172a 100%);
  border: 1px solid var(--tn-l);
  border-radius: 1.5rem;
  padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.55);
}
.t-summary::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  inset-inline-start: -1rem;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(224, 90, 56, 0.22) 30%, rgba(224, 90, 56, 0));
  transform: scale(1.6);
  pointer-events: none;
}
.t-sum-head, .t-well, .t-guarantees, .t-sum-foot { position: relative; z-index: 1; }
.t-sum-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.t-sum-kicker {
  margin: 0 0 0.15rem;
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 800;
}
.t-plan { margin: 0; color: #fff; font-size: 1.15rem; font-weight: 800; line-height: 1.45; }
.t-save {
  flex: none;
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--tc);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(224, 90, 56, 0.28);
}
.t-well {
  text-align: center;
  padding: 1rem 0.7rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.t-well-label { margin: 0 0 0.35rem; font-size: 0.75rem; color: #cbd5e1; }
.t-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
}
.t-figure strong {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.t-figure s {
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration-color: rgba(224, 90, 56, 0.85);
}
.t-figure em {
  display: block;
  width: 100%;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.t-cut { margin: 0.3rem 0 0; font-size: 0.75rem; color: #cbd5e1; }
.t-each {
  margin: 0.85rem 0.4rem 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fcd34d;
  font-size: 0.78rem;
  font-weight: 800;
}
.t-each span { color: #fff; font-size: 0.92rem; }
.t-each s {
  margin-inline-end: 0.35rem;
  color: rgba(252, 211, 77, 0.55);
  font-weight: 700;
  text-decoration: line-through;
}
.t-guarantees { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.t-guarantees li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.28rem 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #e2e8f0;
}
.t-guarantees li::before { content: "✓"; color: #34d399; font-weight: 800; }
.t-sum-foot {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.t-order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: var(--tc);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 12px 24px rgba(224, 90, 56, 0.35);
}
.t-order:hover { background: var(--tc-h); }
.t-order i { font-style: normal; }
.t-micro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0.35rem 0.6rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.t-micro li { font-size: 0.68rem; font-weight: 700; color: #cbd5e1; }

.t-enterprise { padding: 3.2rem 0; background: var(--tcream); }
.t-enterprise-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: 1.8rem 1.4rem;
  border-radius: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 52%, #0f172a 100%);
  border: 1px solid var(--tn-l);
  box-shadow: 0 22px 40px -20px rgba(23, 37, 84, 0.5);
}
@media (min-width: 960px) {
  .t-enterprise-card { grid-template-columns: 1.6fr 0.7fr; padding: 2.6rem 2.4rem; gap: 2rem; }
}
.t-enterprise-card::after {
  content: "";
  position: absolute;
  left: -4rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(224, 90, 56, 0.22);
  filter: blur(42px);
  pointer-events: none;
}
.t-enterprise-card > * { position: relative; z-index: 1; }
.t-star {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 800;
}
.t-enterprise-card h2 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.4;
}
.t-enterprise-card p { margin: 0; max-width: 40rem; color: #e2e8f0; font-size: 0.95rem; line-height: 1.85; }
.t-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
}
@media (min-width: 720px) { .t-perks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.t-perks li::before { content: "✔ "; color: #34d399; }
.t-enterprise-actions { display: grid; gap: 0.7rem; justify-items: center; }
.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.4rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}
.t-btn-coral {
  width: 100%;
  background: var(--tc);
  color: #fff;
  box-shadow: 0 14px 28px rgba(224, 90, 56, 0.32);
}
.t-btn-coral:hover { background: var(--tc-h); }
.t-btn-navy { background: var(--tn); color: #fff; }
.t-btn-navy:hover { background: var(--tn-l); }
.t-enterprise-actions small { color: #cbd5e1; font-size: 0.75rem; text-align: center; }
.t-enterprise-actions small a { color: #fff; font-weight: 800; text-decoration: none; }

.t-values {
  padding: 4rem 0;
  background: #fff;
  border-block: 1px solid rgba(231, 222, 210, 0.7);
}
.t-head { max-width: 42rem; margin: 0 auto 2.6rem; text-align: center; }
.t-eyebrow {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--tc);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.t-head h2, .t-devices h2, .t-close h2 {
  color: var(--tn);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
}
.t-head p { margin: 0.55rem 0 0; color: #475569; font-size: 0.95rem; line-height: 1.85; }
.t-owns { display: grid; gap: 1.3rem; }
@media (min-width: 900px) { .t-owns { grid-template-columns: repeat(3, 1fr); } }
.t-own {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--tcream);
  border: 1px solid var(--tline);
}
.t-own:hover { box-shadow: 0 18px 36px -24px rgba(23, 37, 84, 0.45); border-color: rgba(23, 37, 84, 0.28); }
.t-own-navy {
  background: linear-gradient(145deg, #1e3a8a, #172554);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 36px -22px rgba(23, 37, 84, 0.55);
}
.t-own-navy:hover { border-color: transparent; }
.t-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.t-own-navy .t-tag { color: #fcd34d; background: rgba(255, 255, 255, 0.1); }
.t-tag-coral { color: var(--tc); background: var(--tc-l); }
.t-tag-green { color: #047857; background: #d1fae5; }
.t-own h3 { margin: 0 0 0.4rem; font-size: 1.35rem; line-height: 1.4; color: var(--tn); }
.t-own-navy h3 { color: #fff; }
.t-own p { margin: 0; color: #475569; font-size: 0.86rem; line-height: 1.8; }
.t-own-navy p { color: #e2e8f0; }
.t-mock {
  margin-top: 0.9rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--tline);
  color: var(--tink);
  font-size: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.t-own-navy .t-mock {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  box-shadow: none;
}
.t-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  direction: ltr;
  margin-bottom: 0.45rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.t-mock-bar i { width: 0.5rem; height: 0.5rem; border-radius: 999px; }
.t-mock-bar i:nth-child(1) { background: #f87171; }
.t-mock-bar i:nth-child(2) { background: #facc15; }
.t-mock-bar i:nth-child(3) { background: #4ade80; }
.t-mock-bar em {
  margin-inline-start: 0.35rem;
  font-style: normal;
  font-size: 0.68rem;
  color: #6ee7b7;
  direction: ltr;
}
.t-mock-row { display: flex; justify-content: space-between; gap: 0.5rem; align-items: center; }
.t-mock-meta { margin-top: 0.35rem; color: #64748b; font-size: 0.72rem; }
.t-ok {
  color: #059669;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 0.08rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
}
.t-own-navy .t-ok { color: #6ee7b7; background: transparent; padding: 0; }
.t-prompt {
  margin-top: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(245, 239, 230, 0.7);
}
.t-prompt b { display: block; color: var(--tn); font-size: 0.72rem; }
.t-prompt span { display: block; margin-top: 0.15rem; color: #64748b; font-size: 0.68rem; }
.t-own footer, .t-room footer {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--tline);
  font-size: 0.75rem;
  color: var(--tmuted);
}
.t-own-navy footer { border-top-color: rgba(255, 255, 255, 0.1); color: #cbd5e1; }
.t-own footer b, .t-room footer b { color: var(--tn); }
.t-own-navy footer b { color: #fff; }

.t-roles { padding: 4.5rem 0; background: var(--tcream); }
.t-rooms { display: grid; gap: 1.3rem; align-items: stretch; }
@media (min-width: 980px) {
  .t-rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .t-room { padding: 1.15rem 0.9rem 1rem; }
  .t-room h3 { font-size: 1.12rem; }
}
.t-room {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.35rem 1.25rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--tline);
  box-shadow: 0 8px 20px -16px rgba(15, 23, 42, 0.4);
}
.t-room-navy {
  background: var(--tn);
  color: #fff;
  border-color: var(--tn-l);
  box-shadow: 0 18px 36px -20px rgba(23, 37, 84, 0.55);
}
.t-room-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--tline);
}
.t-room-navy .t-room-top { border-bottom-color: rgba(255, 255, 255, 0.1); }
.t-room-top span { display: block; margin-bottom: 0.2rem; font-size: 0.75rem; font-weight: 800; color: var(--tc); }
.t-room h3 { margin: 0; font-size: 1.35rem; color: var(--tn); }
.t-room-navy h3 { color: #fff; }
.t-room-ico {
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: var(--tsurf);
  color: var(--tn);
}
.t-room-navy .t-room-ico { background: rgba(255, 255, 255, 0.1); color: #fff; }
.t-room ul { margin: 0; padding: 0; list-style: none; }
.t-room li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}
.t-room li:last-child { border-bottom: 0; }
.t-room-navy li { border-bottom-color: rgba(255, 255, 255, 0.1); }
.t-room li i {
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #94a3b8;
}
.t-room-navy li i { background: var(--tc); }
.t-room li strong { display: block; color: #1e293b; }
.t-room-navy li strong { color: #fff; }
.t-room li span { display: block; margin-top: 0.1rem; font-size: 0.75rem; color: var(--tmuted); line-height: 1.6; }
.t-room-navy li span { color: #cbd5e1; }
.t-room footer { margin-top: 1.2rem; }
.t-room-navy footer { border-top-color: rgba(255, 255, 255, 0.1); color: #fcd34d; }
.t-room-navy footer b { color: #fcd34d; }

.t-devices {
  padding: 3.6rem 0;
  text-align: center;
  background: rgba(245, 239, 230, 0.6);
  border-top: 1px solid var(--tline);
}
.t-devices h2 { margin: 0 auto 0.2rem; max-width: 36rem; }
.t-app-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.t-app {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: min(100%, 16.5rem);
  padding: 0.9rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--tline);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  text-align: right;
}
.t-app .os-mark { width: 1.65rem; height: 1.65rem; flex: none; color: #1e293b; }
.t-app .is-android { color: #16a34a; }
.t-app .is-web { color: var(--tc); }
.t-app b { display: block; font-size: 0.92rem; color: #1e293b; font-weight: 800; }
.t-app span { display: block; margin-top: 0.15rem; font-size: 0.75rem; color: #64748b; font-weight: 650; }
.t-app span a { color: #334155; font-weight: 800; text-decoration: none; }
.t-app span a:hover { color: var(--tn); }
.t-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.t-store {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 8.5rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--tline);
  text-decoration: none;
  text-align: right;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.t-store:hover { border-color: rgba(23, 37, 84, 0.35); }
.t-store b { display: block; font-size: 0.8rem; color: #1e293b; }
.t-store span { display: block; font-size: 0.68rem; color: var(--tmuted); }

.t-faq { padding: 4.2rem 0; background: #fff; }
.t-faq-list { display: grid; gap: 0.8rem; max-width: 52rem; margin: 0 auto; }
.t-faq details {
  background: var(--tcream);
  border: 1px solid var(--tline);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.t-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  font-weight: 800;
  color: #1e293b;
  list-style: none;
}
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary .t-chev { color: var(--tc); font-size: 1.05rem; transition: transform 0.2s ease; }
.t-faq details[open] .t-chev { transform: rotate(180deg); }
.t-faq details p {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(231, 222, 210, 0.7);
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.85;
}
.t-faq details a { color: var(--tn); font-weight: 800; }

.t-close {
  padding: 3.2rem 0;
  text-align: center;
  background: linear-gradient(90deg, var(--tsurf), #fff 45%, var(--tsurf));
  border-top: 1px solid var(--tline);
}
.t-close h2 { margin: 0 auto 0.45rem; }
.t-close p { margin: 0 auto; max-width: 34rem; color: #475569; }
.t-close-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.t-close .t-btn { min-width: 12rem; }

@media (max-width: 640px) {
  .t-terms button { font-size: 0.7rem; padding: 0.55rem 0.1rem; }
  .t-roster button { padding: 0.55rem 0.05rem; }
  .t-roster button b { font-size: 0.95rem; }
  .t-roster button small { font-size: 0.58rem; }
  .t-specs { grid-template-columns: 1fr; }
  .t-pitch-cards { grid-template-columns: 1fr; }
  .t-rec { grid-template-columns: 1fr; }
  .t-later-list, .t-later-prices { grid-template-columns: 1fr; }
  .t-sum-head { flex-direction: column; }
}
