/* ════════════════════════════════════════════════════════════════════════════
   Bitikka School: صفحة الهبوط. هوية Bitikka Labs كما في bitikka.com
   (menu-pro-platform-main/BRAND.md و bitikka-web/style.css):
   · الأصفر هو اللون المميز الوحيد: الإجراء الأساسي ولمسة العلامة، لا خلفية واسعة.
   · الأزرار حبوب كاملة الاستدارة، واللوحات بزوايا 28 إلى 40px.
   · الفاتح والداكن يتبعان الجهاز. شاشات المنتج تبقى فاتحة كما هي فعلًا، مثل لقطات الموقع.
   · الحركة تشرح ما حدث، وتتوقف مع prefers-reduced-motion.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  /* الصفحة: تتبع الفاتح والداكن */
  --bg: #FFFFFF;
  --bg-alt: #F7F5EE;
  --surface: #FFFFFF;
  --surface-2: #EFEDE4;
  --text: #0D0D0D;
  --text-2: #2A2A2A;
  --muted: #5C5A53;
  --line: rgba(13, 13, 13, 0.1);
  --line-strong: rgba(13, 13, 13, 0.2);
  --yellow: #FFD600;
  --yellow-dark: #F5B800;
  --yellow-light: #FFE24D;
  --yellow-text: #8A6500;
  --ink: #0D0D0D;
  --on-ink: #F7F5EE;
  --on-ink-muted: #C9C6BC;
  --tile-dark: #141413;
  --nav-glass: rgba(255, 255, 255, 0.72);
  --shadow-device: 0 1px 2px rgba(40, 30, 0, 0.08), 0 24px 48px -18px rgba(40, 30, 0, 0.26), 0 64px 110px -48px rgba(40, 30, 0, 0.34);
  --shadow-card: 0 1px 2px rgba(40, 30, 0, 0.05), 0 18px 40px -24px rgba(40, 30, 0, 0.22);

  /* المنتج: ألوان تطبيق المدرسة الحقيقي، ثابتة في الوضعين */
  --p-bg: #F6F6F3;
  --p-surface: #FFFFFF;
  --p-surface-2: #F1F1EE;
  --p-text: #16181A;
  --p-muted: #5C605E;
  --p-line: rgba(0, 0, 0, 0.08);
  --p-line-2: rgba(0, 0, 0, 0.14);
  --p-btn: #1D1D1F;
  --p-green: #1F6A3A;
  --p-green-soft: #E7F1EA;
  --p-red: #BF2F2A;
  --p-red-soft: #FBEAE8;
  --p-amber: #9A5A0B;
  --p-amber-soft: #FBF1DF;
  --p-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);

  --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font-latin: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-hand: "Aref Ruqaa", "IBM Plex Sans Arabic", serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 28px);
  --section: clamp(80px, 11vw, 128px);
  --v: 0.85;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0D0D;
    --bg-alt: #141413;
    --surface: #1A1A19;
    --surface-2: #242422;
    --text: #F4F2EA;
    --text-2: #DEDBD1;
    --muted: #A6A398;
    --yellow-text: #FFD600;
    --line: rgba(244, 242, 234, 0.12);
    --line-strong: rgba(244, 242, 234, 0.24);
    --tile-dark: #1C1C1A;
    --nav-glass: rgba(13, 13, 13, 0.72);
    --shadow-device: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 48px -18px rgba(0, 0, 0, 0.7), 0 64px 110px -48px rgba(0, 0, 0, 0.8);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

fieldset {
  border: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 8px;
}

[hidden] {
  display: none !important;
}

.num {
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.ico {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: currentColor;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip:focus {
  top: 12px;
}

/* ── الأزرار: الضغط يستجيب فورًا ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), opacity 0.2s, transform 0.1s ease-out;
}

.btn:hover {
  opacity: 0.88;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: transparent;
  opacity: 1;
}

.btn--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.03rem;
}

.btn--tiny {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

/* أزرار داخل شاشات المنتج: سوداء كما في التطبيق */
.window .btn,
.ledger-card .btn,
.bank .btn {
  background: var(--p-btn);
  color: #FFFFFF;
}

.bank .btn--ghost,
.ledger-card .btn--ghost {
  background: transparent;
  color: var(--p-text);
  border-color: var(--p-line-2);
}

.ledger-card .btn--ghost:hover {
  background: var(--p-surface-2);
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 2s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: 0.7;
  }

  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* ── الترويسة: طبقة شفافة تمرّ الصفحة تحتها ── */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out);
}

.top.is-scrolled {
  border-bottom-color: var(--line);
}

@media (prefers-reduced-transparency: reduce) {
  .top {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.top__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  direction: ltr;
  color: var(--text);
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.logo b {
  font-weight: 500;
  color: var(--muted);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
}

.top__nav a:not(.btn) {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text-2);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.top__nav a:not(.btn):hover {
  background: var(--surface-2);
  color: var(--text);
}

.top__cta {
  margin-inline-start: 10px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease-out);
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 880px) {
  .menu-btn {
    display: flex;
  }

  .top__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0s 0.2s;
  }

  .top__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  }

  .top__nav a:not(.btn) {
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .top__cta {
    margin: 12px 0 0;
    min-height: 48px;
  }
}

/* ── الافتتاح ── */
.hero {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(32px, 6vh, 64px) clamp(56px, 8vh, 96px);
}

.hero__head {
  max-width: 880px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 5px;
  padding-inline: 5px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: transform 0.1s ease-out;
}

.hero-pill::after {
  content: "←";
  font-family: var(--font-latin);
  color: var(--muted);
  transition: translate 0.3s var(--ease-out);
}

.hero-pill:hover::after {
  translate: -3px 0;
}

.hero-pill:active {
  transform: scale(0.98);
}

.hero-pill__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  line-height: 1.15;
}

/* بِتِكّة: اللسان الأصفر الذي «تطقّ» عليه الكلمة، علامة bitikka.com */
.snap {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding-inline: 0.2em;
  color: var(--ink);
}

.snap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.12em 0 -0.1em;
  border-radius: 0.22em;
  background: var(--yellow);
  rotate: 2deg;
}

.hero__lead {
  margin: 24px auto 0;
  max-width: 44ch;
  font-size: clamp(1.1rem, 1.45vw, 1.26rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: start;
}

.trust img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--line);
}

.trust b {
  font-weight: 600;
  color: var(--text-2);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-pill,
  .hero h1,
  .hero__lead,
  .hero__actions,
  .trust {
    animation: rise 0.9s var(--ease-out) both;
  }

  .hero h1 {
    animation-delay: 0.06s;
  }

  .hero__lead {
    animation-delay: 0.12s;
  }

  .hero__actions {
    animation-delay: 0.18s;
  }

  .trust {
    animation-delay: 0.24s;
  }

  .snap::before {
    animation: snap 0.7s var(--spring) 0.55s both;
  }

  .showcase__tile {
    animation: tile-in 1.2s var(--ease-out) 0.15s both;
  }

  .window {
    animation: rise-lg 1.2s var(--ease-out) 0.3s both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
}

@keyframes rise-lg {
  from {
    opacity: 0;
    translate: 0 64px;
  }
}

@keyframes snap {
  from {
    opacity: 0;
    scale: 0.3;
    rotate: 0deg;
  }
}

@keyframes tile-in {
  from {
    opacity: 0;
    scale: 0.85;
    rotate: 0deg;
  }
}

/* ── نافذة المنتج على لوح العلامة الأصفر ── */
.showcase {
  position: relative;
  margin-top: clamp(40px, 7vw, 72px);
}

.showcase__tile {
  position: absolute;
  inset-block: 70px -28px;
  inset-inline: 7%;
  border-radius: 48px;
  background: var(--yellow);
  rotate: -2.5deg;
  box-shadow: 0 50px 90px -46px rgba(201, 148, 0, 0.6);
}

.roles-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.role-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.role-tab {
  position: relative;
  flex: none;
  overflow: hidden;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.1s ease-out;
}

.role-tab:hover {
  background: var(--surface-2);
}

.role-tab:active {
  transform: scale(0.97);
}

.role-tab[aria-selected="true"] {
  background: var(--text);
  color: var(--bg);
}

/* كم بقي قبل الشاشة التالية: شريط أصفر كما في عرض منتجات bitikka.com */
.role-tab i {
  position: absolute;
  inset-inline: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  scale: 0 1;
  transform-origin: right;
  opacity: 0;
}

.showcase.is-auto .role-tab[aria-selected="true"] i {
  opacity: 1;
  animation: dwell var(--auto-ms, 6500ms) linear both;
}

@keyframes dwell {
  to {
    scale: 1 1;
  }
}

.pause-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  transition: background-color 0.2s var(--ease-out);
}

.pause-btn:hover {
  background: var(--surface-2);
}

.pause-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.window {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--p-bg);
  color: var(--p-text);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-device);
}

.window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 38px;
  padding-inline: 14px;
  background: #F2F1EC;
  border-bottom: 1px solid var(--p-line);
}

.window__dots {
  display: flex;
  gap: 7px;
  direction: ltr;
}

.window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D6D3C9;
}

.window__dots--ghost {
  visibility: hidden;
}

.window__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  font-family: var(--font-latin);
  font-size: 0.78rem;
  color: var(--p-muted);
}

.window__url svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.rpanel {
  min-height: 500px;
}

.rpanel.is-entering {
  animation: panelin 0.45s var(--ease-out) both;
}

@keyframes panelin {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}

.app {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 500px;
}

.app__side {
  padding: 18px 12px;
  background: #FFFFFF;
  border-inline-end: 1px solid var(--p-line);
  font-size: 0.9rem;
}

.app__school {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 16px;
  font-weight: 700;
  font-size: 0.92rem;
}

.app__badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--p-btn);
  color: #FFFFFF;
  font-size: 0.8rem;
}

.app__side li {
  padding: 7px 12px;
  border-radius: 12px;
  color: var(--p-muted);
}

.app__side li.on {
  background: var(--p-green-soft);
  color: var(--p-green);
  font-weight: 600;
}

.app__main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px 24px 26px;
  min-width: 0;
}

.app__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app__hello {
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.45;
}

.app__date {
  font-size: 0.85rem;
  color: var(--p-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--p-line);
  font-size: 0.8rem;
  color: var(--p-text);
}

.chip--soft {
  background: var(--p-green-soft);
  box-shadow: none;
  color: var(--p-green);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
}

.kpi__label {
  font-size: 0.8rem;
  color: var(--p-muted);
}

.kpi__value {
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.45;
}

.kpi__value .num {
  font-weight: 700;
}

.kpi__value small {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--p-muted);
}

.kpi__note {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--p-muted);
}

.kpi--alert {
  background: var(--p-amber-soft);
}

.meter {
  height: 5px;
  border-radius: 5px;
  background: var(--p-surface-2);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--p-green);
  transform: scaleX(var(--v));
  transform-origin: right;
}

.is-play .meter span,
.is-play .hbars b::after,
.is-play .progress span {
  animation: grow 0.9s var(--ease-out) both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

.app__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
}

.app__cols--acct {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.card {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
  min-width: 0;
}

.card__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hbars {
  display: grid;
  gap: 9px;
}

.hbars li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.hbars b {
  position: relative;
  height: 9px;
  border-radius: 6px;
  background: var(--p-surface-2);
  overflow: hidden;
}

.hbars b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--p-green);
  transform: scaleX(var(--v));
  transform-origin: right;
}

.hbars em {
  font-style: normal;
  color: var(--p-muted);
  text-align: left;
}

.rows li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--p-line);
  font-size: 0.88rem;
}

.rows li:last-child {
  border-bottom: 0;
}

.rows b {
  font-weight: 600;
  color: var(--p-red);
}

/* المحاسب */
.notices {
  display: grid;
  gap: 10px;
}

.notices li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--p-bg);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.notices li.is-leaving {
  opacity: 0;
  transform: translateX(-24px);
}

.slip {
  width: 36px;
  height: 46px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--p-line-2);
  box-shadow: inset 0 6px 0 -3px var(--p-surface-2), inset 0 14px 0 -10px var(--p-surface-2);
}

.notices__text {
  display: grid;
  line-height: 1.5;
  min-width: 0;
}

.notices__text b {
  font-size: 0.9rem;
}

.notices__text small {
  font-size: 0.75rem;
  color: var(--p-muted);
}

.notices__empty {
  font-size: 0.85rem;
  color: var(--p-green);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mini-table th {
  padding: 0 0 8px;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--p-muted);
  text-align: start;
}

.mini-table td {
  padding-block: 9px;
  border-top: 1px solid var(--p-line);
}

.mini-table th,
.mini-table td {
  padding-inline: 0 12px;
}

.mini-table th:last-child,
.mini-table td:last-child {
  padding-inline-end: 0;
}

.mini-table td:last-child,
.mini-table th:last-child {
  text-align: end;
}

.mini-table tr.is-new td {
  animation: rowin 0.7s var(--ease-out) both;
}

@keyframes rowin {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
}

/* المعلّم */
.att-mini li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--p-line);
  font-size: 0.88rem;
}

.att-mini li:last-child {
  border-bottom: 0;
}

.st {
  padding: 1px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
}

.st--in {
  background: var(--p-green-soft);
  color: var(--p-green);
}

.st--out {
  background: var(--p-red-soft);
  color: var(--p-red);
}

.st--late {
  background: var(--p-amber-soft);
  color: var(--p-amber);
}

.lessons {
  display: grid;
  gap: 12px;
}

.lessons li {
  display: grid;
  line-height: 1.55;
}

.lessons b {
  font-size: 0.9rem;
}

.lessons small {
  font-size: 0.78rem;
  color: var(--p-muted);
}

.progress {
  display: block;
  margin-top: 6px;
  height: 5px;
  border-radius: 5px;
  background: var(--p-surface-2);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--p-green);
  transform: scaleX(var(--v));
  transform-origin: right;
}

/* وليّ الأمر داخل النافذة */
.app--parent {
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 24px;
}

.pportal {
  width: min(100%, 600px);
}

.pportal__hi {
  font-weight: 700;
  font-size: 1.45rem;
}

.kids {
  display: flex;
  gap: 8px;
  margin-block: 12px 16px;
}

.kids span {
  padding: 5px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--p-line);
  font-size: 0.85rem;
}

.kids span.on {
  background: var(--p-btn);
  color: #FFFFFF;
  box-shadow: none;
}

.pportal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.big {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
}

/* تنبيهات حول النافذة */
.pops {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.pop {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 240px;
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  color: var(--text);
  opacity: 0;
  translate: 0 12px;
  scale: 0.96;
  transition: opacity 0.4s var(--ease-out), translate 0.6s var(--ease-out), scale 0.6s var(--ease-out);
}

.pop.is-on {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.pop p {
  display: grid;
  line-height: 1.45;
}

.pop b {
  font-size: 0.9rem;
}

.pop small {
  font-size: 0.78rem;
  color: var(--muted);
}

.pop__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.25);
}

.pop:nth-child(1) {
  top: 140px;
  left: -28px;
}

.pop:nth-child(2) {
  bottom: 70px;
  right: -28px;
}

.pop:nth-child(3) {
  bottom: -24px;
  left: 16%;
}

.pop:nth-child(4) {
  top: 96px;
  right: 8%;
}

/* ── رؤوس الأقسام ── */
.sec-head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.sec-head h2,
.money h2,
.parents h2,
.security h2,
.faq-wrap h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.3;
}

.sec-head p {
  margin: 16px auto 0;
  max-width: 52ch;
  font-size: 1.2rem;
  color: var(--muted);
}

.sec-head--start {
  margin-inline: 0;
  text-align: start;
}

.sec-head--start p {
  margin-inline: 0;
}

/* ── جرّبها ── */
.try {
  padding-block: var(--section);
  background: var(--bg-alt);
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 16px;
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: start;
  transition: box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out), transform 0.1s ease-out;
}

.demo-tab:hover {
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-card);
}

.demo-tab:active {
  transform: scale(0.98);
}

.demo-tab[aria-selected="true"] {
  box-shadow: inset 0 0 0 2px var(--text), var(--shadow-card);
}

.demo-tab svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.demo-tab[aria-selected="true"] svg {
  background: var(--yellow);
  color: var(--ink);
}

.demo-tab span {
  display: grid;
  line-height: 1.45;
}

.demo-tab b {
  font-size: 1rem;
}

.demo-tab small {
  font-size: 0.82rem;
  color: var(--muted);
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  padding: 20px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  animation: panelin 0.4s var(--ease-out) both;
}

.demo__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: var(--bg-alt);
  align-self: start;
}

.demo__hint {
  color: var(--text-2);
}

.demo__fine {
  font-size: 0.9rem;
  color: var(--muted);
}

.demo__stage {
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: clamp(8px, 2vw, 24px);
  border-radius: 24px;
  background: var(--p-bg);
  color: var(--p-text);
  min-width: 0;
}

.field-row {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field-row label,
.field-row legend {
  padding: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.field-row select,
.field-row input[type="text"] {
  width: 100%;
  min-height: 50px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field-row input[type="text"] {
  font-family: var(--font-latin);
  font-size: 1.2rem;
  font-weight: 600;
}

.field-row select:focus-visible,
.field-row input:focus-visible {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.45);
}

.field-row input[aria-invalid="true"] {
  border-color: #DC2626;
}

.help {
  font-size: 0.82rem;
  color: var(--muted);
}

.err {
  font-size: 0.86rem;
  color: #DC2626;
}

.err:empty {
  display: none;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6px;
}

.seg legend {
  margin-bottom: 6px;
}

.seg label {
  position: relative;
  font-weight: 600;
}

.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.seg span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.seg input:checked + span {
  background: var(--text);
  color: var(--bg);
  box-shadow: none;
}

.seg input:focus-visible + span {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.session-log {
  display: grid;
  gap: 6px;
}

.session-log:empty {
  display: none;
}

.session-log li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.86rem;
  animation: rowin 0.5s var(--ease-out) both;
}

.session-log li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.session-log li span {
  flex: 1;
}

/* الإيصال */
.receipt {
  width: 100%;
  max-width: 500px;
}

.receipt__paper {
  position: relative;
  padding: 26px 28px 22px;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--p-text);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04), 0 24px 48px -16px rgba(22, 24, 26, 0.22);
  rotate: -1.2deg;
}

.receipt.is-thud .receipt__paper {
  animation: thud 0.38s var(--ease-out);
}

@keyframes thud {
  40% {
    scale: 0.985;
  }
}

.receipt__paper::before {
  content: "";
  position: absolute;
  inset-inline: 20px;
  top: 9px;
  border-top: 2px dotted rgba(0, 0, 0, 0.16);
}

.receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-block: 10px 16px;
  border-bottom: 1px solid var(--p-text);
}

.receipt__school {
  font-weight: 600;
  font-size: 0.92rem;
}

.receipt__kind {
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.5;
}

.receipt__meta {
  display: grid;
  gap: 2px;
  font-size: 0.8rem;
}

.receipt__meta div {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.receipt__meta dt {
  color: var(--p-muted);
}

.receipt__meta dd {
  font-weight: 600;
}

.receipt__body {
  display: grid;
  gap: 2px;
  padding-block: 14px 8px;
}

.receipt__body > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-block: 5px;
}

.receipt__body dt {
  font-size: 0.8rem;
  color: var(--p-muted);
}

.receipt__body dd {
  min-width: 0;
  padding-bottom: 2px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.28);
  font-size: 0.97rem;
  overflow-wrap: anywhere;
}

.receipt__amount dd {
  justify-self: start;
  padding: 2px 12px;
  border: 1.5px solid var(--p-text);
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.15rem;
}

.receipt__words dd {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  line-height: 1.65;
  color: #2B2F2D;
}

[data-r-words].is-writing {
  animation: write 0.45s var(--ease-out);
}

@keyframes write {
  from {
    opacity: 0.25;
  }
}

.receipt__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 10px;
  padding-top: 13px;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
  color: var(--p-muted);
}

.receipt__foot strong {
  color: var(--p-text);
  font-weight: 600;
}

.receipt__sign {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--p-text);
}

.stamp {
  position: absolute;
  inset-inline-end: 84px;
  bottom: 4px;
  width: 122px;
  height: 122px;
  color: var(--p-green);
  mix-blend-mode: multiply;
  opacity: 0;
  rotate: -14deg;
  pointer-events: none;
}

.stamp.is-down {
  animation: stamp 0.55s var(--spring) both;
}

.stamp__word {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 34px;
  fill: currentColor;
}

.stamp__small {
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
  fill: currentColor;
}

@keyframes stamp {
  from {
    opacity: 0;
    rotate: -22deg;
    scale: 1.7;
  }

  70% {
    opacity: 0.9;
  }

  to {
    opacity: 0.86;
    rotate: -14deg;
    scale: 1;
  }
}

/* الغياب */
.tally {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tally--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tally div {
  display: grid;
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}

.tally b {
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.35;
}

.tally span {
  font-size: 0.8rem;
  color: var(--muted);
}

.is-bump {
  display: inline-block;
  animation: bump 0.32s var(--spring);
}

@keyframes bump {
  40% {
    scale: 1.18;
  }
}

.saved {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
}

.saved:empty {
  display: none;
}

.att-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.att-grid button {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  min-height: 124px;
  padding: 14px 6px 12px;
  border: 1.5px solid transparent;
  border-radius: 20px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow);
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.1s ease-out;
}

.att-grid button:hover {
  border-color: var(--p-line-2);
}

.att-grid button:active {
  transform: scale(0.95);
}

.av {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--p-surface-2);
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}

.nm {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.lb {
  padding: 0 9px;
  border-radius: 999px;
  background: var(--p-green-soft);
  color: var(--p-green);
  font-size: 0.72rem;
  font-weight: 600;
}

.att-grid [data-state="out"] {
  background: var(--p-red-soft);
  border-color: rgba(191, 47, 42, 0.35);
}

.att-grid [data-state="out"] .av {
  background: var(--p-red);
  color: #FFFFFF;
}

.att-grid [data-state="out"] .lb {
  background: #FFFFFF;
  color: var(--p-red);
}

.att-grid [data-state="late"] {
  background: var(--p-amber-soft);
  border-color: rgba(154, 90, 11, 0.3);
}

.att-grid [data-state="late"] .av {
  background: var(--p-amber);
  color: #FFFFFF;
}

.att-grid [data-state="late"] .lb {
  background: #FFFFFF;
  color: var(--p-amber);
}

/* البنك */
.bank {
  display: grid;
  gap: 10px;
  width: 100%;
}

.bank li {
  position: relative;
  padding: 13px 16px;
  border-radius: 20px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease-out);
}

.bank li.is-scanning::after {
  content: "";
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 30%;
  background: rgba(255, 214, 0, 0.35);
  mix-blend-mode: multiply;
  animation: scan 0.7s var(--ease-out) both;
}

@keyframes scan {
  to {
    translate: -340% 0;
  }
}

.bank li.is-ok {
  box-shadow: 0 0 0 1.5px var(--p-green), var(--p-shadow);
}

.bank__line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.bank__date {
  font-size: 0.8rem;
  color: var(--p-muted);
}

.bank__name {
  font-family: var(--font-latin);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: right;
  overflow-wrap: anywhere;
}

.bank__res {
  display: grid;
  gap: 8px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px dashed var(--p-line-2);
  animation: rowin 0.45s var(--ease-out) both;
}

.bank__to {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bank__to b {
  font-size: 1rem;
}

.why {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.why span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--p-surface-2);
  font-size: 0.75rem;
  color: var(--p-text);
}

.bank__acts {
  display: flex;
  gap: 6px;
}

.bank__done {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--p-green);
}

.bank__manual {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--p-muted);
}

.bank__manual select {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--p-line-2);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--p-text);
}

/* العلامات */
.grades-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
}

.grades {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.grades th,
.grades td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--p-line);
  text-align: center;
}

.grades thead th {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--p-muted);
  background: #FAFAF8;
}

.grades thead small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
}

.grades tbody th {
  position: sticky;
  right: 0;
  font-weight: 600;
  text-align: start;
  white-space: nowrap;
  background: var(--p-surface);
}

.grades input {
  width: 58px;
  min-height: 40px;
  border: 1px solid var(--p-line-2);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--p-text);
  font-family: var(--font-latin);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.grades input:focus-visible {
  outline: none;
  border-color: var(--p-text);
  box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.5);
}

.grades input[aria-invalid="true"] {
  border-color: var(--p-red);
  background: var(--p-red-soft);
}

.grades [data-total] {
  font-weight: 700;
}

.res {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.res--pass {
  background: var(--p-green-soft);
  color: var(--p-green);
}

.res--fail {
  background: var(--p-red-soft);
  color: var(--p-red);
}

.res--part {
  background: var(--p-surface-2);
  color: var(--p-muted);
}

.grades tr.is-flash td,
.grades tr.is-flash th {
  animation: flash 0.6s var(--ease-out);
}

@keyframes flash {
  from {
    background-color: #FFF9E0;
  }
}

/* ── يوم في المدرسة ── */
.day {
  padding-block: var(--section);
}

.day__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.day__clock {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: grid;
  justify-items: center;
  gap: 20px;
}

.clock {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
}

/* لوح أصفر مائل خلف الساعة، كلوح العلامة خلف الأجهزة */
.clock::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 30%;
  background: var(--yellow);
  rotate: -8deg;
  box-shadow: 0 40px 70px -40px rgba(201, 148, 0, 0.6);
}

.clock svg {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: var(--shadow-device);
}

.clock__face {
  fill: #FFFFFF;
  stroke: rgba(0, 0, 0, 0.06);
}

.clock__ticks line {
  stroke: #0D0D0D;
  stroke-linecap: round;
}

.clock__h,
.clock__m {
  stroke-linecap: round;
  transform-origin: 100px 100px;
  transform-box: view-box;
  transition: transform 0.9s var(--ease-out);
}

.clock__h {
  stroke: #0D0D0D;
  stroke-width: 6;
}

.clock__m {
  stroke: #0D0D0D;
  stroke-width: 3;
}

.clock__pin {
  fill: var(--yellow);
  stroke: #0D0D0D;
  stroke-width: 2;
}

.day__now {
  display: grid;
  justify-items: center;
  line-height: 1.3;
}

.day__now .num {
  font-weight: 800;
  font-size: 2.7rem;
  letter-spacing: -0.03em;
}

.day__now span:last-child {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps li {
  padding: 24px 26px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity 0.4s var(--ease-out), scale 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.day.is-live .steps li {
  opacity: 0.5;
  scale: 0.985;
}

.day.is-live .steps li.is-active {
  opacity: 1;
  scale: 1;
  box-shadow: inset 0 0 0 2px var(--text), var(--shadow-card);
}

.steps h3 {
  font-size: 1.25rem;
  line-height: 1.5;
}

.steps p {
  margin-top: 6px;
  color: var(--muted);
}

.snip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-block: 9px;
  padding-inline: 10px 18px;
  border-radius: 999px;
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line);
  line-height: 1.45;
}

.day.is-live .steps li .snip {
  opacity: 0.6;
  transition: opacity 0.4s var(--ease-out);
}

.day.is-live .steps li.is-active .snip {
  opacity: 1;
  animation: snipin 0.6s var(--spring) both;
}

@keyframes snipin {
  from {
    translate: 0 8px;
    scale: 0.96;
  }
}

.snip > span:last-child {
  display: grid;
}

.snip b {
  font-size: 0.88rem;
}

.snip small {
  font-size: 0.76rem;
  color: var(--muted);
}

.snip__qr {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    conic-gradient(#0D0D0D 0 25%, transparent 0 50%, #0D0D0D 0 75%, transparent 0) 0 0 / 9px 9px,
    #FFFFFF;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.snip__slip {
  width: 28px;
  height: 36px;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.snip__mark {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── لوحات بزوايا كبيرة (كبطاقات منتجات bitikka.com) ── */
.panel {
  border-radius: 40px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.panel--ink {
  background: var(--tile-dark);
  color: var(--on-ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.panel--alt {
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ── المالية ── */
.money {
  padding-block: 0 var(--section);
}

.money__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.money h2 {
  color: #FFFFFF;
}

.money__copy > p {
  margin-top: 16px;
  font-size: 1.14rem;
  color: var(--on-ink-muted);
}

.money__points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.money__points li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--on-ink);
}

.money__points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
}

.ledger-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: #FFFFFF;
  color: var(--p-text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.ledger-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.ledger-card__head > span {
  color: var(--p-muted);
}

.ledger-card__head > span b {
  color: var(--p-text);
  font-size: 1.2rem;
}

.ledger-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--p-line);
  transition: opacity 0.3s var(--ease-out);
}

.ledger-list li > span {
  display: grid;
  line-height: 1.45;
}

.ledger-list small {
  font-size: 0.78rem;
  color: var(--p-muted);
}

.ledger-list li.is-voided {
  opacity: 0.55;
}

.ledger-list li.is-voided small::after {
  content: "، أُلغي بقيد عكسي";
  color: var(--p-red);
}

.ledger-list li.is-reverse {
  margin-inline: -12px;
  padding-inline: 12px;
  border-radius: 14px;
  border-top-color: transparent;
  background: #FFF9E0;
  animation: rowin 0.6s var(--spring) both;
}

.ledger-card__note {
  font-size: 0.86rem;
  color: var(--p-muted);
}

.ledger-card__note:empty {
  display: none;
}

/* ── الأهل ── */
.parents {
  padding-block: var(--section);
  background: var(--bg-alt);
}

.parents__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.parents__copy > p {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 1.14rem;
  color: var(--muted);
}

.ticks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ticks li {
  position: relative;
  padding-inline-start: 34px;
}

/* علامة صح داخل دائرة صفراء: شكل لا اتجاه نص، فحدودها فيزيائية عمدًا كي لا تنقلب في RTL */
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.32em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
}

.ticks li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 0.62em;
  width: 10px;
  height: 5px;
  border-left: 2px solid #0D0D0D;
  border-bottom: 2px solid #0D0D0D;
  transform: rotate(-45deg);
}

/* الجوال على لوح العلامة الأصفر، كما في bitikka.com */
.phone-wrap {
  position: relative;
  display: grid;
  justify-items: center;
}

.phone-wrap::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  translate: -50% 0;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 26%;
  background: var(--yellow);
  rotate: -8deg;
  box-shadow: 0 50px 90px -46px rgba(201, 148, 0, 0.6);
}

.phone {
  position: relative;
  width: min(100%, 300px);
  padding: 9px;
  border-radius: 48px;
  background: #0B0B0A;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 4px #161615, var(--shadow-device);
}

.phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  width: 80px;
  height: 22px;
  border-radius: 999px;
  background: #050505;
}

.phone__screen {
  position: relative;
  height: 600px;
  border-radius: 40px;
  background: var(--p-bg);
  color: var(--p-text);
  overflow: hidden;
}

.pscreen {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 56px 16px 22px;
  overflow-y: auto;
  scrollbar-width: none;
  animation: panelin 0.4s var(--ease-out) both;
}

.phone__school {
  font-size: 0.8rem;
  color: var(--p-muted);
  text-align: center;
}

.phone__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
}

.pfield {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--p-line-2);
}

.pfield span {
  font-size: 0.75rem;
  color: var(--p-muted);
}

.pfield b {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: right;
}

.phone__btn {
  min-height: 50px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--p-btn);
  color: #FFFFFF;
  font-weight: 600;
  transition: transform 0.1s ease-out;
}

.phone__btn:active {
  transform: scale(0.97);
}

.phone__hint {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--p-muted);
  text-align: center;
}

.pbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plink {
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  color: var(--p-muted);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.pkids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--p-surface-2);
}

.pkids button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--p-muted);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pkids button[aria-pressed="true"] {
  background: #FFFFFF;
  color: var(--p-text);
  box-shadow: var(--p-shadow);
}

.pcard {
  padding: 13px 15px;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: var(--p-shadow);
  font-size: 0.88rem;
}

.pcard--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pcard__t {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-weight: 600;
}

.pcal {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.pcal span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--p-green-soft);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--p-red);
  animation: dotin 0.4s var(--spring) both;
  animation-delay: calc(var(--i) * 18ms);
}

.pcal span.x {
  background: var(--p-red-soft);
}

@keyframes dotin {
  from {
    opacity: 0;
    scale: 0.4;
  }
}

.pgrades li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid var(--p-line);
}

.pgrades li:first-child {
  border-top: 0;
}

/* ── الأمان ── */
.security {
  padding-block: var(--section);
}

.security__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.security__lead {
  margin-top: 16px;
  font-size: 1.14rem;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 32px;
}

.facts div {
  padding-top: 14px;
  border-top: 2px solid var(--text);
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin-top: 4px;
  font-size: 0.96rem;
  color: var(--muted);
}

.audit {
  border-radius: 28px;
  background: #141413;
  color: #F7F5EE;
  box-shadow: inset 0 0 0 1px rgba(244, 242, 234, 0.1), var(--shadow-device);
  overflow: hidden;
}

.audit__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audit__head > span:last-child {
  margin-inline-start: auto;
  font-size: 0.8rem;
  color: #C9C6BC;
}

.audit__list {
  height: 340px;
  overflow: hidden;
}

.audit__list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: #DEDBD1;
}

.audit__list li.is-new {
  animation: auditin 0.7s var(--ease-out) both;
}

@keyframes auditin {
  from {
    opacity: 0;
    translate: 0 -100%;
  }
}

.audit__list time {
  font-size: 0.8rem;
  color: #A6A398;
}

.audit__list b {
  color: #FFFFFF;
  font-weight: 600;
}

.audit__list s {
  color: #A6A398;
}

/* ── الاشتراك ── */
.plans {
  padding-block: var(--section);
  background: var(--bg-alt);
}

.sizer {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 22px 26px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}

.sizer__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-weight: 600;
}

.sizer__label b {
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

.sizer input {
  width: 100%;
  height: 44px;
  accent-color: var(--yellow-dark);
  cursor: pointer;
}

.sizer__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tier {
  padding: 28px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s var(--ease-out), translate 0.5s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.tier.is-match {
  background: var(--yellow);
  color: var(--ink);
  translate: 0 -8px;
  box-shadow: 0 30px 60px -30px rgba(201, 148, 0, 0.7);
}

.tier h3 {
  font-size: 1.1rem;
}

.tier__size {
  margin-block: 6px 10px;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.35;
}

.tier p:last-child {
  font-size: 0.96rem;
  color: var(--muted);
}

.tier.is-match p:last-child {
  color: rgba(13, 13, 13, 0.74);
}

.sizer__result {
  min-height: 1.75em;
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--text-2);
}

.onboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  counter-reset: step;
}

.onboard li {
  display: grid;
  gap: 4px;
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  counter-increment: step;
}

.onboard li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-latin);
  font-weight: 700;
}

.onboard span {
  font-size: 0.96rem;
  color: var(--muted);
}

.plans__note {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--muted);
}

/* ── الأسئلة ── */
.faq-sec {
  padding-block: var(--section);
}

.faq-wrap {
  max-width: 860px;
}

.faq-wrap h2 {
  text-align: center;
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.faq details {
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease-out);
}

.faq details[open] {
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-card);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* زر + يصير × عند الفتح */
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  font-family: var(--font-latin);
  font-size: 1.2rem;
  font-weight: 500;
  transition: rotate 0.3s var(--ease-out), background-color 0.25s;
}

.faq details[open] summary::after {
  rotate: 45deg;
  background: var(--yellow);
  color: var(--ink);
}

.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.32s var(--ease-out), content-visibility 0.32s allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
}

.faq__a p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ── التواصل: لوحة العلامة الداكنة ── */
.contact {
  padding-block: 0 var(--section);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
  border-radius: 40px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* بقعة الضوء الصفراء من لوحة التواصل في bitikka.com */
.contact-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-start: -20%;
  bottom: -70%;
  width: 900px;
  max-width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 0, 0.32), rgba(255, 158, 0, 0.1) 60%, transparent);
}

.contact-panel :focus-visible {
  outline-color: var(--yellow);
}

.contact-panel h2 {
  max-width: 16ch;
  color: var(--on-ink);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.25;
}

.contact-sub {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 1.14rem;
  color: var(--on-ink-muted);
}

.contact-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(247, 245, 238, 0.16);
  border-radius: 999px;
  background: rgba(247, 245, 238, 0.07);
  color: var(--on-ink);
  font-weight: 600;
  font-size: 0.97rem;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.1s ease-out;
}

.pick:hover {
  background: rgba(247, 245, 238, 0.13);
}

.pick:active {
  transform: scale(0.97);
}

.pick[aria-pressed="true"] {
  background: var(--on-ink);
  color: var(--ink);
  border-color: transparent;
}

.contact-go {
  margin-top: 22px;
}

.contact-ways {
  display: grid;
  gap: 10px;
}

.contact-ways a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 245, 238, 0.1);
  border-radius: 22px;
  background: rgba(247, 245, 238, 0.06);
  color: var(--on-ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out);
}

.contact-ways a::after {
  content: "←";
  margin-inline-start: auto;
  font-family: var(--font-latin);
  color: var(--on-ink-muted);
  transition: translate 0.3s var(--ease-out);
}

.contact-ways a:hover {
  background: rgba(247, 245, 238, 0.12);
}

.contact-ways a:hover::after {
  translate: -4px 0;
}

.way-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 23px;
}

.way-text {
  display: grid;
}

.way-label {
  font-size: 0.86rem;
  color: var(--on-ink-muted);
}

.way-value {
  font-family: var(--font-latin);
  font-weight: 600;
  text-align: right;
}

/* ── التذييل ── */
.foot {
  padding-block: 56px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.foot__brand p {
  margin-top: 14px;
  max-width: 34ch;
  color: var(--muted);
}

.foot__col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.foot__col h3 {
  margin-bottom: 4px;
  font-family: var(--font-latin);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.foot__col a {
  width: fit-content;
  color: var(--text-2);
  text-decoration: none;
}

.foot__col a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── إشعار عائم ── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--shadow-device);
  opacity: 0;
  translate: -50% 16px;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), translate 0.4s var(--ease-out);
}

.toast.is-on {
  opacity: 1;
  translate: -50% 0;
}

/* ── الشاشات الأصغر ── */
@media (max-width: 1100px) {
  .pop:nth-child(1),
  .pop:nth-child(4) {
    display: none;
  }
}

@media (max-width: 960px) {
  .demo,
  .day__grid,
  .money__grid,
  .parents__grid,
  .security__grid,
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel {
    gap: 32px;
  }

  .demo-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo__stage {
    min-height: 0;
  }

  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .foot__brand {
    grid-column: 1 / -1;
  }

  /* الساعة تصبح شريطًا لاصقًا صغيرًا أعلى القسم */
  .day__clock {
    top: var(--nav-h);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 10px var(--gutter);
    background: var(--nav-glass);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .clock {
    width: 56px;
  }

  .clock::before {
    inset: -10%;
  }

  .clock svg {
    box-shadow: var(--shadow-card);
  }

  .day__now {
    justify-items: start;
  }

  .day__now .num {
    font-size: 1.6rem;
  }
}

@media (max-width: 760px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .app__side {
    display: none;
  }

  .app__main {
    padding: 16px;
  }

  .app__cols,
  .app__cols--acct {
    grid-template-columns: minmax(0, 1fr);
  }

  .rpanel,
  .app {
    min-height: 0;
  }

  .pops {
    display: none;
  }

  .showcase__tile {
    inset-inline: 2%;
    border-radius: 32px;
  }

  .att-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tiers,
  .onboard,
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .tier.is-match {
    translate: 0 0;
  }

  .demo {
    padding: 10px;
    border-radius: 26px;
  }

  .demo__controls {
    padding: 18px;
  }

  .receipt__paper {
    padding-inline: 18px;
  }

  .receipt__body > div {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .stamp {
    width: 102px;
    height: 102px;
    inset-inline-end: 70px;
  }

  .phone__screen {
    height: 540px;
  }

  .panel,
  .contact-panel {
    border-radius: 28px;
  }
}

@media (max-width: 480px) {
  .slip {
    display: none;
  }

  .notices li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .demo-tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .att-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pportal__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .live-dot::after {
    display: none;
  }
}
