/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --ink-950: #0a0f1c;
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;

    --paper: #fbfaf7;
    --paper-tint: #f4f2ec;
    --surface: #ffffff;

    --brand-800: #0b4f4a;
    --brand-700: #0d5f58;
    --brand-600: #0f766e;
    --brand-500: #14a394;
    --brand-100: #d5f5ef;
    --brand-50: #ecfbf8;

    --accent-600: #d97706;
    --accent-500: #f59e0b;
    --accent-100: #fdf0d2;

    --success-600: #15803d;
    --warning-700: #a16207;
    --warning-50: #fffbeb;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgb(15 23 42 / 6%);
    --shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 10px 28px -12px rgb(15 23 42 / 18%);
    --shadow-lg: 0 2px 4px rgb(15 23 42 / 4%), 0 32px 64px -24px rgb(15 23 42 / 32%);

    --font-sans: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1180px;
    --header-height: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --brand-mark-check: var(--accent-500);
}

[dir="rtl"] {
    --font-sans: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-800);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[dir="rtl"] body {
    line-height: 1.8;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink-900);
    line-height: 1.2;
    letter-spacing: -.015em;
    text-wrap: balance;
}

[dir="rtl"] :is(h1, h2, h3, h4) {
    letter-spacing: 0;
    line-height: 1.35;
}

p {
    margin: 0;
}

a {
    color: var(--brand-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

ul, ol {
    margin: 0;
    padding: 0;
}

img, svg {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--accent-500);
    outline-offset: 3px;
    border-radius: 6px;
}

main:focus {
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink-900);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: top .2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.container--narrow {
    max-width: 780px;
}

.icon {
    flex-shrink: 0;
}

[dir="rtl"] .icon--flip {
    transform: scaleX(-1);
}

/* ==========================================================================
   Buttons, badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:active {
    transform: translateY(1px);
}

.btn--sm {
    min-height: 38px;
    padding: 8px 14px;
    font-size: .9rem;
}

.btn--lg {
    min-height: 52px;
    padding: 14px 26px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: var(--brand-600);
    color: #fff;
    box-shadow: 0 1px 0 rgb(255 255 255 / 15%) inset, var(--shadow-sm);
}

.btn--primary:hover {
    background: var(--brand-700);
}

.btn--accent {
    background: var(--accent-500);
    color: var(--ink-950);
}

.btn--accent:hover {
    background: #fbb12e;
}

.btn--ghost {
    background: var(--surface);
    border-color: var(--ink-200);
    color: var(--ink-800);
}

.btn--ghost:hover {
    border-color: var(--ink-300);
    background: var(--ink-100);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.badge--accent {
    background: var(--accent-500);
    color: var(--ink-950);
}

.badge--brand {
    background: var(--brand-100);
    color: var(--brand-800);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(251 250 247 / 82%);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--ink-200);
    box-shadow: 0 6px 24px -18px rgb(15 23 42 / 35%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1360px;
    height: var(--header-height);
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: var(--ink-900);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    letter-spacing: -.01em;
}

.brand__mark {
    color: var(--ink-900);
}

.brand--inverted,
.brand--inverted .brand__mark {
    color: #fff;
}

.brand--inverted .brand__mark rect {
    fill: var(--brand-600);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav__links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.site-nav__links a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--ink-600);
    font-weight: 500;
    font-size: .95rem;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s var(--ease), background-color .15s var(--ease);
}

.site-nav__links a:hover {
    color: var(--ink-900);
    background: var(--ink-100);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}

.lang-switch:hover {
    background: var(--ink-100);
}

.lang-switch[lang="ar"] {
    font-family: "IBM Plex Sans Arabic", var(--font-sans);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-900);
    cursor: pointer;
}

.nav-toggle__close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
    display: block;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding-block: 104px;
}

.section--compact {
    padding-block: 56px 96px;
}

.section--tinted {
    background: var(--paper-tint);
    border-block: 1px solid #ebe8df;
}

.section-header {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-header--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--brand-700);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

[dir="rtl"] .eyebrow {
    letter-spacing: 0;
    font-size: .9rem;
}

.eyebrow--pill {
    padding: 6px 14px 6px 10px;
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    letter-spacing: .04em;
    text-transform: none;
    font-size: .85rem;
}

[dir="rtl"] .eyebrow--pill {
    padding: 6px 10px 6px 14px;
}

.section-title {
    font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem);
    font-weight: 800;
}

.section-subtitle {
    margin-top: 16px;
    color: var(--ink-600);
    font-size: 1.1rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: 72px 112px;
    background-image: radial-gradient(rgb(15 23 42 / 7%) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: -11px -11px;
}

.hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--paper));
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

/* Above the fold, so it animates with CSS on load instead of waiting for the reveal script. */
.hero__copy,
.hero__visual {
    animation: rise .8s var(--ease) both;
}

.hero__visual {
    animation-delay: .12s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

.hero__title {
    margin-top: 6px;
    font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
}

[dir="rtl"] .hero__title {
    letter-spacing: 0;
    line-height: 1.25;
}

.hero__highlight {
    position: relative;
    white-space: nowrap;
    color: var(--brand-600);
}

.hero__highlight::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: .04em;
    height: .14em;
    border-radius: 4px;
    background: var(--accent-500);
    opacity: .55;
    z-index: -1;
}

.hero__subtitle {
    max-width: 540px;
    margin-top: 22px;
    color: var(--ink-600);
    font-size: 1.15rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 30px;
    list-style: none;
    color: var(--ink-700);
    font-size: .92rem;
    font-weight: 500;
}

.hero__highlights li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero__highlights .icon {
    color: var(--brand-600);
}

/* Product preview */
.hero__visual {
    position: relative;
}

.app-preview {
    position: relative;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.app-preview__chrome {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ink-100);
    background: #fcfcfd;
}

.app-preview__chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink-200);
}

.app-preview__body {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 330px;
}

.app-preview__sidebar {
    padding: 18px 14px;
    background: var(--demo-secondary);
    color: #fff;
    transition: background-color .45s var(--ease);
}

.app-preview__logo {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--demo-primary);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    transition: background-color .45s var(--ease);
}

.app-preview__teacher {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    line-height: 1.3;
}

.app-preview__teacher strong {
    font-size: .82rem;
}

.app-preview__teacher small {
    opacity: .65;
    font-size: .72rem;
}

.app-preview__menu {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    list-style: none;
}

.app-preview__menu li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: .74rem;
    opacity: .7;
}

.app-preview__menu li.is-active {
    opacity: 1;
    background: color-mix(in srgb, var(--demo-primary) 30%, transparent);
    transition: background-color .45s var(--ease);
}

.app-preview__main {
    padding: 18px;
    background: #f8fafc;
}

.app-preview__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.app-preview__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--ink-100);
    border-radius: 12px;
    background: #fff;
}

.app-preview__stat small {
    color: var(--ink-500);
    font-size: .68rem;
    line-height: 1.3;
}

.app-preview__stat strong {
    color: var(--ink-900);
    font-size: 1.15rem;
}

.app-preview__bar {
    height: 4px;
    border-radius: 4px;
    background: var(--ink-100);
    overflow: hidden;
}

.app-preview__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--demo-primary);
    transition: background-color .45s var(--ease);
}

.app-preview__list {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--ink-100);
    border-radius: 12px;
    background: #fff;
}

.app-preview__list > p {
    margin-bottom: 6px;
    color: var(--ink-500);
    font-size: .7rem;
    font-weight: 600;
}

.app-preview__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--ink-100);
    font-size: .76rem;
}

.app-preview__avatar {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--demo-primary) 16%, #fff);
    color: var(--demo-secondary);
    font-weight: 700;
    font-size: .64rem;
    transition: background-color .45s var(--ease), color .45s var(--ease);
}

.app-preview__name {
    flex: 1;
    color: var(--ink-800);
    font-weight: 600;
}

.app-preview__time {
    color: var(--ink-500);
}

.app-preview__ok {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--success-600);
}

.app-preview__toast {
    position: absolute;
    inset-inline-end: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 250px;
    padding: 10px 14px;
    border: 1px solid var(--ink-100);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    line-height: 1.35;
    animation: toast-in .7s .9s var(--ease) both;
}

.app-preview__toast strong {
    display: block;
    color: var(--ink-900);
    font-size: .74rem;
}

.app-preview__toast small {
    color: var(--ink-600);
    font-size: .72rem;
}

.app-preview__toast-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #dcfce7;
    color: var(--success-600);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.swatches__caption {
    width: 100%;
    color: var(--ink-500);
    font-size: .85rem;
    text-align: center;
}

.swatch {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--swatch-a) 0 50%, var(--swatch-b) 50% 100%);
    box-shadow: 0 0 0 1px var(--ink-200), var(--shadow-sm);
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.swatch:hover {
    transform: translateY(-2px);
}

.swatch[aria-pressed="true"] {
    box-shadow: 0 0 0 2px var(--ink-900), var(--shadow-sm);
}

/* ==========================================================================
   Overview, features, steps
   ========================================================================== */
.outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
}

.outcome {
    padding: 32px 28px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    background: var(--surface);
}

.outcome__number {
    display: block;
    margin-bottom: 20px;
    color: var(--accent-600);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .06em;
}

.outcome h3 {
    font-size: 1.2rem;
}

.outcome p {
    margin-top: 10px;
    color: var(--ink-600);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
}

.feature {
    padding: 28px;
    border: 1px solid #e9e6dd;
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.feature:hover {
    border-color: var(--ink-300);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand-700);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.feature h3 {
    font-size: 1.05rem;
}

.feature p {
    margin-top: 8px;
    color: var(--ink-600);
    font-size: .95rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    background: var(--surface);
}

.step__number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink-900);
    color: #fff;
    font-weight: 800;
}

.step h3 {
    font-size: 1.05rem;
}

.step p {
    margin-top: 6px;
    color: var(--ink-600);
    font-size: .95rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
    justify-content: center;
    gap: 28px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px 30px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.plan-card--featured {
    border-color: var(--ink-900);
    background: var(--ink-900);
    color: var(--ink-300);
    box-shadow: var(--shadow-lg);
}

.plan-card--featured :is(h3, .plan-card__amount) {
    color: #fff;
}

.plan-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan-card__name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
}

.plan-card__name .icon {
    color: var(--brand-600);
}

.plan-card--featured .plan-card__name .icon {
    color: var(--accent-500);
}

.plan-card__tagline {
    margin-top: 8px;
    color: var(--ink-600);
}

.plan-card--featured .plan-card__tagline {
    color: var(--ink-400);
}

.plan-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-block: 26px 26px;
}

.plan-card__amount {
    color: var(--ink-900);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.plan-card__period {
    color: var(--ink-500);
    font-weight: 500;
}

.plan-card--featured .plan-card__period {
    color: var(--ink-400);
}

.plan-card__divider {
    height: 1px;
    margin-block: 28px 22px;
    background: var(--ink-200);
}

.plan-card--featured .plan-card__divider {
    background: rgb(255 255 255 / 12%);
}

.plan-card__included {
    margin-bottom: 14px;
    color: var(--ink-500);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

[dir="rtl"] .plan-card__included {
    letter-spacing: 0;
    font-size: .9rem;
}

.plan-card__details {
    margin-top: auto;
    padding-top: 24px;
    font-weight: 600;
    font-size: .92rem;
}

.plan-card--featured .plan-card__details {
    color: var(--accent-500);
}

.check-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list .icon {
    margin-top: 3px;
    color: var(--brand-600);
}

.plan-card--featured .check-list .icon {
    color: var(--accent-500);
}

.plan-card--featured .check-list li {
    color: #e2e8f0;
}

.check-list--columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-footnote {
    max-width: 640px;
    margin: 36px auto 0;
    color: var(--ink-500);
    font-size: .9rem;
    text-align: center;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
}

.faq__intro {
    position: sticky;
    top: calc(var(--header-height) + 32px);
}

.faq__intro .section-header {
    margin-bottom: 28px;
}

.faq__list {
    display: grid;
    gap: 36px;
}

.faq__category {
    margin-bottom: 10px;
    color: var(--ink-500);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

[dir="rtl"] .faq__category {
    letter-spacing: 0;
    font-size: .9rem;
}

.faq__item {
    border-bottom: 1px solid var(--ink-200);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: var(--ink-900);
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary:hover {
    color: var(--brand-700);
}

.faq__chevron {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--ink-200);
    border-radius: 50%;
    transition: transform .25s var(--ease), background-color .2s var(--ease);
}

.faq__chevron::before,
.faq__chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.8px;
    border-radius: 2px;
    background: var(--ink-700);
    transform: translate(-50%, -50%);
}

.faq__chevron::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .25s var(--ease);
}

.faq__item[open] .faq__chevron {
    background: var(--ink-900);
    border-color: var(--ink-900);
}

.faq__item[open] .faq__chevron::before,
.faq__item[open] .faq__chevron::after {
    background: #fff;
}

.faq__item[open] .faq__chevron::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq__item p {
    padding-bottom: 20px;
    color: var(--ink-600);
    max-width: 640px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    padding: 56px;
    border-radius: 28px;
    background: var(--ink-900);
    color: var(--ink-300);
}

.contact-panel .section-header {
    margin-bottom: 32px;
}

.contact-panel .section-title,
.contact-panel h3 {
    color: #fff;
}

.contact-panel .section-subtitle {
    color: var(--ink-400);
}

.contact-panel .eyebrow {
    color: var(--accent-500);
}

.contact-panel__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--ink-400);
    font-size: .9rem;
}

.contact-panel__codes {
    padding: 32px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 4%);
}

.contact-panel__codes h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

.contact-panel__codes h3 .icon {
    color: var(--accent-500);
}

.number-list {
    display: grid;
    gap: 14px;
    margin-block: 22px 26px;
    list-style: none;
    counter-reset: n;
}

.number-list li {
    position: relative;
    padding-inline-start: 40px;
    counter-increment: n;
}

.number-list li::before {
    content: counter(n);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgb(255 255 255 / 10%);
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
}

.contact-channels {
    display: grid;
    gap: 12px;
    list-style: none;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius);
    background: rgb(255 255 255 / 4%);
    color: #fff;
    text-decoration: none;
    transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.contact-channel:hover {
    background: rgb(255 255 255 / 9%);
    border-color: rgb(255 255 255 / 22%);
}

.contact-channel--preferred {
    border-color: rgb(20 163 148 / 55%);
}

.contact-channel__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--brand-600);
}

.contact-channel__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.contact-channel__label {
    color: var(--ink-400);
    font-size: .8rem;
}

.contact-channel__value {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: start;
}

.contact-channels--compact .contact-channel {
    padding: 10px 12px;
}

.contact-channels--compact .contact-channel__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

/* Light variant when channels sit on a light panel */
.panel .contact-channel {
    border-color: var(--ink-200);
    background: var(--surface);
    color: var(--ink-900);
}

.panel .contact-channel:hover {
    background: var(--ink-100);
}

.panel .contact-channel__label {
    color: var(--ink-500);
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
    padding-block: 48px 40px;
    border-bottom: 1px solid var(--ink-200);
    background: var(--paper-tint);
}

.page-hero--plain {
    padding-block: 64px 48px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: var(--ink-600);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
}

.back-link:hover {
    color: var(--ink-900);
}

.page-title {
    font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
    font-weight: 800;
}

.page-lead {
    margin-top: 12px;
    color: var(--ink-600);
    font-size: 1.1rem;
}

.page-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--ink-500);
    font-size: .9rem;
}

.plan-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.plan-summary__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.plan-layout__main {
    display: grid;
    gap: 24px;
}

.panel {
    padding: 32px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.panel--notice {
    border-color: #f3e2b3;
    background: var(--warning-50);
}

.panel--notice .panel__title .icon {
    color: var(--warning-700);
}

.panel--sticky {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 18px;
}

.panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.panel--sticky .panel__title {
    margin-bottom: 0;
}

.panel__title .icon {
    color: var(--brand-600);
}

.timeline {
    position: relative;
    display: grid;
    gap: 24px;
    list-style: none;
    counter-reset: t;
}

.timeline li {
    position: relative;
    padding-inline-start: 52px;
    counter-increment: t;
}

.timeline li::before {
    content: counter(t);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-600);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
}

.timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 16px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: var(--brand-100);
}

.timeline h3 {
    font-size: 1.02rem;
}

.timeline p {
    margin-top: 4px;
    color: var(--ink-600);
}

.dot-list {
    display: grid;
    gap: 10px;
    padding-inline-start: 20px;
    color: var(--ink-700);
}

.dot-list li::marker {
    color: var(--brand-600);
}

.callout {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--brand-50);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.callout strong {
    color: var(--ink-900);
}

.callout p {
    margin-top: 4px;
    color: var(--ink-600);
    font-size: .93rem;
}

.fine-print {
    color: var(--ink-500);
    font-size: .85rem;
    text-align: center;
}

.legal h2 {
    margin-block: 40px 12px;
    font-size: 1.3rem;
}

.legal p + p {
    margin-top: 12px;
}

.legal p {
    color: var(--ink-700);
}

.state-page {
    padding-block: 120px;
}

.state-page__inner {
    display: grid;
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.state-page__code {
    color: var(--brand-600);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .2em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding-block: 72px 32px;
    background: var(--ink-950);
    color: var(--ink-400);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}

.site-footer__brand p {
    max-width: 320px;
    margin-top: 16px;
    font-size: .95rem;
}

.site-footer__heading {
    margin-bottom: 16px;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
}

.site-footer__links {
    display: grid;
    gap: 10px;
    list-style: none;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-400);
    font-size: .93rem;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgb(255 255 255 / 8%);
    font-size: .85rem;
}

/* ==========================================================================
   Audience
   ========================================================================== */
.container--medium {
    max-width: 960px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
}

.audience-card {
    position: relative;
    padding: 34px 30px;
    border: 1px solid #e9e6dd;
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
}

.audience-card::after {
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-100), transparent 70%);
}

.audience-card__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--ink-900);
    color: var(--accent-500);
}

.audience-card h3 {
    font-size: 1.15rem;
}

.audience-card p {
    margin-top: 10px;
    color: var(--ink-600);
}

/* ==========================================================================
   Modules
   ========================================================================== */
.modules {
    display: grid;
    gap: 88px;
}

.module {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 64px;
}

.module--reverse .module__copy {
    order: 2;
}

.module__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--brand-700);
    font-size: .85rem;
    font-weight: 700;
}

.module__index {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--ink-900);
    color: #fff;
    font-size: .75rem;
    letter-spacing: .06em;
}

.module__title {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
    font-weight: 800;
}

.module__text {
    margin-top: 14px;
    color: var(--ink-600);
    font-size: 1.05rem;
}

.module__points {
    margin-top: 26px;
}

.module__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 40px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 15%, rgb(245 158 11 / 22%), transparent 45%),
        radial-gradient(circle at 85% 90%, rgb(20 163 148 / 35%), transparent 50%),
        var(--ink-900);
    overflow: hidden;
}

.module__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(255 255 255 / 9%) 1px, transparent 1px);
    background-size: 18px 18px;
}

.module__card {
    position: relative;
    display: grid;
    gap: 16px;
    width: min(100%, 380px);
    padding: 24px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 6%);
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px -30px rgb(0 0 0 / 60%);
}

.module__card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.module__badge {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--brand-600);
    color: #fff;
}

.module__card-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.module__rows {
    display: grid;
    gap: 10px;
    list-style: none;
}

.module__rows li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgb(255 255 255 / 6%);
    color: #e2e8f0;
    font-size: .85rem;
    line-height: 1.4;
}

.module__chip {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgb(245 158 11 / 18%);
    color: var(--accent-500);
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.compare-table,
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.compare-table :is(th, td),
.spec-table :is(th, td) {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ink-100);
    text-align: start;
    vertical-align: middle;
}

.compare-table tbody tr:last-child :is(th, td),
.spec-table tbody tr:last-child :is(th, td) {
    border-bottom: 0;
}

.compare-table thead th,
.spec-table thead th {
    background: var(--paper-tint);
    color: var(--ink-600);
    font-size: .82rem;
    font-weight: 700;
}

.compare-table tbody th,
.spec-table tbody th {
    color: var(--ink-900);
    font-weight: 600;
}

.compare-table td,
.compare-table thead th:not(:first-child) {
    width: 30%;
    text-align: center;
}

.compare-table .is-featured {
    background: rgb(245 158 11 / 7%);
}

.compare-table thead .is-featured {
    background: var(--ink-900);
    color: #fff;
}

.compare-table__plan {
    display: block;
    font-size: 1rem;
}

.compare-table__price {
    display: block;
    margin-top: 2px;
    font-weight: 600;
    opacity: .8;
}

.compare-table__mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.compare-table__mark--yes {
    background: var(--brand-50);
    color: var(--brand-600);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.compare-table__mark--no {
    background: var(--ink-100);
    color: var(--ink-400);
}

.compare-table tfoot td {
    padding-block: 18px;
    border-bottom: 0;
}

.spec-table__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spec-table__label .icon {
    color: var(--brand-600);
}

.spec-table td:last-child {
    color: var(--brand-800);
    font-weight: 600;
}

/* ==========================================================================
   Activation band and hotline
   ========================================================================== */
.section--band {
    padding-block: 24px 104px;
}

.activation-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    padding: 56px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgb(245 158 11 / 18%), transparent 40%),
        linear-gradient(135deg, var(--brand-800), var(--ink-900) 70%);
    color: var(--ink-300);
}

.activation-band .eyebrow {
    color: var(--accent-500);
}

.activation-band .section-title,
.activation-band h3 {
    color: #fff;
}

.activation-band .section-subtitle {
    margin-bottom: 28px;
    color: rgb(226 232 240 / 80%);
}

.activation-band__prepare {
    align-self: start;
    padding: 30px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 5%);
}

.activation-band__prepare h3 {
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.activation-band__prepare .check-list li {
    color: #e2e8f0;
}

.activation-band__prepare .check-list .icon {
    color: var(--accent-500);
}

.activation-band__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    color: var(--accent-500);
    font-weight: 600;
    text-decoration: none;
}

.activation-band__link:hover {
    text-decoration: underline;
}

.hotline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 18px;
    padding: 20px 22px;
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}

.hotline__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--brand-600);
    color: #fff;
}

.hotline__text {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
    line-height: 1.35;
}

.hotline__label {
    color: var(--brand-800);
    font-size: .85rem;
    font-weight: 700;
}

.hotline__number {
    color: var(--ink-950);
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    font-weight: 800;
    letter-spacing: .01em;
    text-align: start;
    text-decoration: none;
    unicode-bidi: isolate;
}

.hotline__number:hover {
    color: var(--brand-700);
}

.hotline__hint {
    margin-top: 2px;
    color: var(--ink-600);
    font-size: .85rem;
}

.hotline--inverted {
    border-color: rgb(255 255 255 / 14%);
    background: rgb(255 255 255 / 7%);
}

.hotline--inverted .hotline__icon {
    background: var(--accent-500);
    color: var(--ink-950);
}

.hotline--inverted .hotline__label {
    color: var(--accent-500);
}

.hotline--inverted .hotline__number {
    color: #fff;
}

.hotline--inverted .hotline__hint {
    color: var(--ink-400);
}

.contact-panel__codes .hotline {
    margin-top: 4px;
}

/* ==========================================================================
   Trust, requirements, call to action
   ========================================================================== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
}

.trust-item {
    display: flex;
    gap: 16px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px #e9e6dd;
}

.trust-item__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--accent-100);
    color: var(--accent-600);
}

.trust-item h3 {
    font-size: 1.02rem;
}

.trust-item p {
    margin-top: 6px;
    color: var(--ink-600);
    font-size: .94rem;
}

.requirements-summary {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.requirements-summary .section-header {
    margin-bottom: 28px;
}

.requirements-summary__subheading {
    margin-bottom: 14px;
    font-size: 1rem;
}

.hardware-list {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
    list-style: none;
}

.hardware-list li {
    display: flex;
    gap: 12px;
    color: var(--ink-600);
    font-size: .95rem;
}

.hardware-list strong {
    display: block;
    color: var(--ink-900);
}

.hardware-list__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-700);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.section--cta {
    padding-block: 0 104px;
}

.cta-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 72px 32px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 15% 20%, rgb(245 158 11 / 25%), transparent 40%),
        radial-gradient(circle at 85% 80%, rgb(20 163 148 / 45%), transparent 45%),
        var(--ink-950);
    text-align: center;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.cta-card > * {
    position: relative;
}

.cta-card__title {
    max-width: 720px;
    color: #fff;
    font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem);
    font-weight: 800;
}

.cta-card__text {
    max-width: 560px;
    color: var(--ink-300);
    font-size: 1.1rem;
}

.cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.btn--ghost-light {
    border-color: rgb(255 255 255 / 25%);
    background: transparent;
    color: #fff;
}

.btn--ghost-light:hover {
    background: rgb(255 255 255 / 10%);
}

/* ==========================================================================
   Content pages
   ========================================================================== */
.page-lead--wide {
    max-width: 760px;
}

.panel--highlight {
    border-color: var(--brand-100);
    background: linear-gradient(180deg, var(--brand-50), var(--surface));
}

.panel--highlight .hotline {
    background: var(--surface);
}

.panel__footer {
    margin-top: 28px;
}

.panel__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--ink-500);
    font-size: .9rem;
}

.panel__text {
    color: var(--ink-600);
    font-size: .95rem;
}

.panel__divider {
    height: 1px;
    margin-block: 6px;
    background: var(--ink-200);
}

.code-sample {
    padding: 14px;
    border: 1px dashed var(--ink-300);
    border-radius: var(--radius);
    background: var(--paper-tint);
    color: var(--ink-900);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center;
}

.faq__group .faq__item:last-child {
    border-bottom: 0;
}

.faq__group .faq__item p {
    max-width: none;
}

.topic-list {
    display: grid;
    gap: 20px;
    list-style: none;
}

.topic-list li {
    display: flex;
    gap: 14px;
}

.topic-list__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand-700);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.topic-list h3 {
    font-size: 1.02rem;
}

.topic-list p {
    margin-top: 4px;
    color: var(--ink-600);
    font-size: .95rem;
}

.timeline--compact {
    gap: 16px;
}

.timeline--compact li {
    padding-top: 4px;
}

.timeline--compact p {
    margin-top: 0;
    color: var(--ink-700);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 32px;
    margin-bottom: 72px;
}

.about-name {
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    background: var(--ink-900);
    color: var(--ink-300);
}

.about-name__mark {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #fff;
}

.about-name h2 {
    color: #fff;
    font-size: 1.5rem;
}

.about-name p {
    margin-top: 14px;
    font-size: 1.02rem;
}

.about-story {
    padding: 8px 0;
}

.about-story h2,
.about-heading {
    font-size: 1.6rem;
    font-weight: 800;
}

.about-story p {
    margin-top: 16px;
    color: var(--ink-700);
    font-size: 1.05rem;
}

.about-heading {
    margin-bottom: 28px;
}

.about-promise {
    margin-top: 48px;
}

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .feature-grid,
    .steps,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .site-header__inner {
        gap: 16px;
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav__links {
        gap: 2px;
    }

    .site-nav__links a {
        padding: 8px 8px;
        font-size: .9rem;
    }

    .site-nav__actions {
        gap: 8px;
    }
}

@media (max-width: 1280px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: var(--header-height);
        inset-inline: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--ink-200);
        background: var(--paper);
        box-shadow: 0 16px 32px -24px rgb(15 23 42 / 40%);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__links {
        flex-direction: column;
    }

    .site-nav__links a {
        padding: 12px;
        font-size: 1rem;
    }

    .site-nav__actions {
        justify-content: space-between;
    }
}

@media (max-width: 960px) {
    :root {
        --header-height: 64px;
    }

    .hero {
        padding-block: 48px 80px;
    }

    .hero__grid,
    .faq,
    .contact-panel,
    .plan-layout,
    .module,
    .activation-band,
    .requirements-summary,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .module {
        gap: 32px;
    }

    .module--reverse .module__copy {
        order: 0;
    }

    .module__visual {
        min-height: 240px;
    }

    .modules {
        gap: 64px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .activation-band {
        padding: 40px 28px;
    }

    .hero__grid {
        gap: 48px;
    }

    .faq {
        gap: 32px;
    }

    .faq__intro,
    .panel--sticky {
        position: static;
    }

    .outcomes {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 40px 28px;
    }

    .section {
        padding-block: 80px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-inline: 18px;
    }

    .feature-grid,
    .steps,
    .trust-grid,
    .check-list--columns {
        grid-template-columns: 1fr;
    }

    .compare-table :is(th, td),
    .spec-table :is(th, td) {
        padding: 12px 14px;
        font-size: .88rem;
    }

    .activation-band__prepare {
        padding: 24px 20px;
    }

    .hotline__cta {
        width: 100%;
    }

    .cta-card {
        padding: 56px 22px;
    }

    .about-name {
        padding: 30px 24px;
    }

    .app-preview__body {
        grid-template-columns: 1fr;
    }

    .app-preview__sidebar {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .app-preview__teacher {
        margin-top: 0;
    }

    .app-preview__menu {
        display: none;
    }

    .app-preview__toast {
        position: static;
        margin: 0 14px 14px;
        max-width: none;
    }

    .plan-card,
    .panel {
        padding: 26px 22px;
    }

    .contact-panel__codes {
        padding: 24px 20px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
    }
}

/* ==========================================================================
   Branding preview (/preview)
   ========================================================================== */
.hero__preview-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--brand-700);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
}

.steps__more {
    margin-top: 40px;
    text-align: center;
}

.hero__preview-link:hover {
    color: var(--brand-800);
    text-decoration: underline;
}

.btn--text {
    border: 0;
    background: none;
    color: var(--brand-700);
    padding-inline: 8px;
}

.btn--text:hover {
    color: var(--brand-800);
    background: var(--brand-50);
}

.container--wide {
    max-width: 1360px;
}

.studio [hidden] {
    display: none !important;
}

.studio {
    --p: #0f766e;
    --s: #0b2530;
    --p-light: color-mix(in srgb, var(--p) 70%, #fff);
    --p-dark: color-mix(in srgb, var(--p) 72%, #000);
    --p-soft: color-mix(in srgb, var(--p) 14%, transparent);
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.studio__form .panel__title {
    margin-bottom: 12px;
}

.studio__privacy {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--brand-50);
    color: var(--brand-800);
    font-size: .86rem;
    line-height: 1.5;
}

.studio__privacy .icon {
    margin-top: 2px;
}

.field {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.field__label {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    color: var(--ink-900);
    font-weight: 700;
    font-size: .92rem;
}

.field__sublabel {
    display: block;
    margin-bottom: 4px;
    color: var(--ink-700);
    font-weight: 600;
    font-size: .86rem;
}

.field__input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-900);
    font: inherit;
    font-size: .95rem;
}

.field__input:focus {
    outline: 2px solid var(--brand-500);
    outline-offset: 1px;
    border-color: var(--brand-600);
}

.field__input[aria-invalid="true"] {
    border-color: #b91c1c;
}

.field__input--hex {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    text-transform: uppercase;
}

.field__hint {
    margin-top: 6px;
    color: var(--ink-500);
    font-size: .82rem;
    line-height: 1.5;
}

.field__error,
.field__warning,
.studio__warnings li {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: .84rem;
    line-height: 1.5;
}

.field__error {
    background: #fef2f2;
    color: #991b1b;
}

.field__warning,
.studio__warnings li {
    background: var(--warning-50);
    color: var(--warning-700);
}

.studio__logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.studio__logo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.studio__file {
    position: relative;
    overflow: hidden;
}

.studio__file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.studio__file:focus-within {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

.studio__colors {
    display: grid;
    gap: 14px;
}

.studio__color {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.studio__color input[type="color"] {
    width: 52px;
    height: 52px;
    margin-top: 22px;
    padding: 3px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
}

.swatches--studio {
    justify-content: flex-start;
    margin-top: 0;
}

.studio__warnings {
    margin: 0;
    padding: 0;
    list-style: none;
}

.studio__reset {
    margin-top: 4px;
}

.panel__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.studio__stage {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    min-width: 0;
}

.studio__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.studio__tabs,
.studio__lang {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--ink-100);
}

.studio__tab,
.studio__lang button {
    min-height: 36px;
    padding: 6px 14px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink-600);
    font: inherit;
    font-weight: 600;
    font-size: .86rem;
    cursor: pointer;
}

.studio__tab:hover,
.studio__lang button:hover {
    color: var(--ink-900);
}

.studio__tab[aria-selected="true"] {
    background: var(--surface);
    color: var(--ink-900);
    box-shadow: var(--shadow-sm);
}

.studio__lang-label {
    padding-inline: 8px 2px;
    color: var(--ink-500);
    font-size: .82rem;
}

.studio__lang button[aria-pressed="true"] {
    background: var(--ink-900);
    color: #fff;
}

.studio__noscript {
    margin-bottom: 12px;
    color: var(--warning-700);
}

.studio__screen + .studio__screen {
    margin-top: 24px;
}

.js .studio__screen:not(.is-active) {
    display: none;
}

.studio__caption {
    margin-bottom: 12px;
    color: var(--ink-600);
    font-size: .92rem;
}

.studio__frame {
    container-type: inline-size;
    padding: 18px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 15% 0%, #fff 0, transparent 55%), linear-gradient(160deg, var(--paper-tint), #e9e5da);
}

.studio__frame .icon {
    width: 1.15em;
    height: 1.15em;
}

/* --- Shared mock pieces ------------------------------------------------- */
.mock-window,
.mock-desktop {
    font-size: clamp(4px, 1.55cqi, 14px);
    line-height: 1.45;
}

.mock-window {
    overflow: hidden;
    border: 1px solid #d6d9de;
    border-radius: .7em;
    background: #fff;
    box-shadow: var(--shadow-lg);
    font-family: Inter, var(--font-sans);
}

.mock-window__bar {
    display: flex;
    align-items: center;
    gap: .6em;
    height: 2.5em;
    padding-inline: .8em;
    border-bottom: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #374151;
    font-size: .88em;
}

.mock-window__title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-window__controls {
    display: flex;
    gap: 1.4em;
    color: #6b7280;
}

.mock-window__body {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.mock-logo {
    position: relative;
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p-light), var(--p));
    color: var(--s);
    font-weight: 800;
    box-shadow: 0 0 0 .12em color-mix(in srgb, var(--p) 45%, transparent);
}

.mock-logo.has-image {
    background: transparent;
}

.mock-logo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mock-logo__img[hidden],
.mock-logo.has-image .mock-logo__initial {
    display: none;
}

.mock-logo__initial {
    font-size: 1em;
    line-height: 1;
}

.mock-logo--xs { width: 1.5em; height: 1.5em; font-size: .9em; box-shadow: none; }
.mock-logo--sm { width: 2.3em; height: 2.3em; font-size: .9em; }
.mock-logo--md { width: 3.6em; height: 3.6em; font-size: 1.2em; }
.mock-logo--xl { width: 6.6em; height: 6.6em; font-size: 1.6em; }
.mock-logo--icon { width: 3.2em; height: 3.2em; font-size: 1.1em; box-shadow: none; }
.mock-logo--task { width: 1.7em; height: 1.7em; font-size: .8em; box-shadow: none; }
.mock-logo--glow { box-shadow: 0 .4em 1.4em color-mix(in srgb, var(--p) 32%, transparent); }

.mock-logo--thumb {
    width: 72px;
    height: 72px;
    font-size: 30px;
}

.mock-logo--thumb.has-image {
    background: var(--ink-100);
}

.mock-logo--xl .mock-logo__initial,
.mock-logo--md .mock-logo__initial {
    font-size: 1.4em;
}

.mock-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 2.8em;
    margin-top: 1.1em;
    padding-inline: 1em;
    border-radius: .6em;
    background: linear-gradient(135deg, var(--p), var(--p-dark));
    color: var(--s);
    font-weight: 700;
    font-size: .9em;
    box-shadow: 0 .3em .9em color-mix(in srgb, var(--p) 30%, transparent);
}

.mock-button--sm {
    min-height: 2.1em;
    margin-top: 0;
    padding-inline: .8em;
    font-size: .74em;
    white-space: nowrap;
}

/* --- Login --------------------------------------------------------------- */
.mock-login {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    height: 100%;
}

.mock-login__brand {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 2em 2.4em;
    color: #f8fafc;
    background:
        radial-gradient(ellipse at 18% 12%, color-mix(in srgb, var(--p) 42%, transparent) 0%, transparent 52%),
        radial-gradient(ellipse at 88% 88%, color-mix(in srgb, var(--p) 18%, transparent) 0%, transparent 46%),
        linear-gradient(165deg, #14161c 0%, var(--s) 48%, #16181f 100%);
}

.mock-login__symbols,
.mock-splash__symbols {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mock-login__symbols span,
.mock-splash__symbols span {
    position: absolute;
    font-family: "Noto Sans Arabic", Georgia, serif;
    font-weight: 700;
    font-size: 2em;
    line-height: 1;
    animation: mock-float 8s ease-in-out infinite;
}

.mock-login__symbols span {
    color: #fff;
    opacity: .1;
}

.mock-splash__symbols span {
    color: var(--p);
    opacity: .14;
}

:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(1) { top: 8%; inset-inline-start: 10%; font-size: 2.4em; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(2) { top: 18%; inset-inline-end: 12%; animation-delay: .8s; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(3) { top: 42%; inset-inline-end: 8%; animation-delay: 1.6s; font-size: 2.8em; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(4) { top: 28%; inset-inline-start: 18%; animation-delay: 2.2s; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(5) { bottom: 28%; inset-inline-end: 16%; animation-delay: 1.1s; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(6) { bottom: 16%; inset-inline-start: 12%; animation-delay: 2.8s; font-size: 2.3em; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(7) { top: 58%; inset-inline-start: 6%; animation-delay: .4s; }
:is(.mock-login__symbols, .mock-splash__symbols) span:nth-child(8) { bottom: 8%; inset-inline-end: 22%; animation-delay: 1.9s; font-size: 1.9em; }

@keyframes mock-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-.35em); }
}

.mock-login__brand-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.mock-login__brand .mock-logo {
    margin-bottom: 1.1em;
}

.mock-login__kicker {
    margin-bottom: .3em;
    color: rgb(248 250 252 / 62%);
    font-weight: 700;
    font-size: .62em;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mock-login__name {
    margin-bottom: .35em;
    overflow-wrap: anywhere;
    color: #fff;
    font-weight: 800;
    font-size: 1.85em;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.mock-login__tagline {
    margin-bottom: 1.2em;
    color: rgb(248 250 252 / 72%);
    font-size: .9em;
}

.mock-login__features {
    display: grid;
    gap: .55em;
    margin: 0 0 1.2em;
    padding: 0;
    list-style: none;
    font-size: .78em;
}

.mock-login__features li {
    display: flex;
    align-items: center;
    gap: .6em;
    color: rgb(248 250 252 / 85%);
}

.mock-login__features li > span:first-child {
    display: inline-grid;
    place-items: center;
    width: 2em;
    height: 2em;
    border-radius: .55em;
    background: rgb(255 255 255 / 8%);
    color: var(--p-light);
}

.mock-login__status {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .35em .8em;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 99em;
    color: rgb(248 250 252 / 75%);
    font-size: .7em;
}

.mock-login__pulse {
    width: .55em;
    height: .55em;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 .25em rgb(34 197 94 / 25%);
}

.mock-login__panel {
    display: grid;
    place-items: center;
    padding: 1.5em;
    background: #f8fafc;
}

.mock-login__card {
    display: grid;
    width: min(100%, 22em);
    padding: 1.8em 1.7em;
    border: 1px solid #e5e7eb;
    border-radius: 1.1em;
    background: #fff;
    box-shadow: 0 1em 2.4em -1.2em rgb(15 23 42 / 25%);
}

.mock-login__badge {
    display: inline-grid;
    place-items: center;
    width: 2.6em;
    height: 2.6em;
    margin-bottom: .8em;
    border-radius: .8em;
    background: linear-gradient(135deg, var(--p), var(--p-dark));
    color: var(--s);
}

.mock-login__title {
    color: #0f172a;
    font-weight: 800;
    font-size: 1.35em;
}

.mock-login__subtitle {
    margin-bottom: 1.1em;
    color: #64748b;
    font-size: .78em;
}

.mock-login__label {
    margin-bottom: .35em;
    color: #334155;
    font-weight: 600;
    font-size: .74em;
}

.mock-login__input {
    display: flex;
    align-items: center;
    gap: .6em;
    height: 2.6em;
    margin-bottom: .8em;
    padding-inline: .8em;
    border: 1px solid #e2e8f0;
    border-radius: .6em;
    color: #94a3b8;
}

.mock-login__dots {
    color: #475569;
    letter-spacing: .1em;
}

/* --- Main window ------------------------------------------------------- */
.mock-shell {
    display: grid;
    grid-template-columns: 11.5em minmax(0, 1fr);
    height: 100%;
}

.mock-shell__sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.1em .8em;
    background: var(--s);
}

.mock-shell__sidebar .mock-logo {
    align-self: center;
    margin-bottom: 1.1em;
}

.mock-shell__section {
    margin-bottom: .5em;
    padding-inline: .7em;
    color: rgb(255 255 255 / 40%);
    font-weight: 700;
    font-size: .6em;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mock-shell__nav {
    display: grid;
    gap: .2em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mock-shell__nav li {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .55em .7em;
    border-radius: .55em;
    color: rgb(255 255 255 / 55%);
    font-size: .76em;
    white-space: nowrap;
}

.mock-shell__nav li.is-active {
    background: color-mix(in srgb, var(--p) 22%, transparent);
    color: #fff;
}

.mock-shell__nav li.is-active::before {
    content: "";
    position: absolute;
    inset-block: .45em;
    inset-inline-start: 0;
    width: .22em;
    border-radius: 99em;
    background: var(--p);
}

.mock-shell__nav li.is-featured .icon {
    color: var(--p-light);
}

.mock-shell__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8fafc;
}

.mock-shell__header {
    display: flex;
    align-items: center;
    gap: .7em;
    height: 3.3em;
    padding-inline: 1em;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.mock-shell__search {
    display: flex;
    flex: 1;
    align-items: center;
    gap: .5em;
    min-width: 0;
    height: 2.1em;
    overflow: hidden;
    padding-inline: .8em;
    border-radius: 99em;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: .72em;
    white-space: nowrap;
}

.mock-shell__chip {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: .35em .7em;
    border-radius: 99em;
    background: var(--p-soft);
    color: var(--p-dark);
    font-weight: 600;
    font-size: .7em;
    white-space: nowrap;
}

.mock-shell__content {
    flex: 1;
    padding: 1em;
}

.mock-shell__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8em;
}

.mock-stat {
    display: grid;
    gap: .2em;
    padding: .8em;
    border: 1px solid #e5e7eb;
    border-radius: .8em;
    background: #fff;
}

.mock-stat__icon {
    display: inline-grid;
    place-items: center;
    width: 2em;
    height: 2em;
    margin-bottom: .2em;
    border-radius: 50%;
    background: var(--p-soft);
    color: var(--p-dark);
}

.mock-stat small {
    overflow: hidden;
    color: #64748b;
    font-size: .68em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-stat strong {
    color: var(--s);
    font-size: 1.3em;
    text-align: start;
}

.mock-shell__list {
    margin-top: .8em;
    padding: .8em;
    border: 1px solid #e5e7eb;
    border-radius: .8em;
    background: #fff;
}

.mock-shell__list > p {
    margin-bottom: .5em;
    color: var(--s);
    font-weight: 700;
    font-size: .78em;
}

.mock-shell__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .7em;
    padding-block: .4em;
    border-top: 1px solid #f1f5f9;
}

.mock-shell__avatar {
    display: inline-grid;
    place-items: center;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    background: var(--p-soft);
    color: var(--p-dark);
    font-weight: 700;
    font-size: .72em;
}

.mock-shell__name {
    overflow: hidden;
    color: #1e293b;
    font-size: .76em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-shell__time {
    color: #64748b;
    font-size: .68em;
    direction: ltr;
}

.mock-shell__status {
    padding: .2em .7em;
    border-radius: 99em;
    background: #dcfce7;
    color: #15803d;
    font-weight: 600;
    font-size: .64em;
}

/* --- Splash -------------------------------------------------------------- */
.mock-splash {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--p) 16%, transparent), transparent 50%),
        radial-gradient(circle at 82% 82%, color-mix(in srgb, var(--p) 12%, transparent), transparent 45%),
        #f8fafc;
}

.mock-splash > :not(.mock-splash__symbols) {
    position: relative;
    z-index: 1;
}

.mock-splash__tagline {
    display: flex;
    align-items: center;
    gap: .45em;
    color: #64748b;
    font-weight: 700;
    font-size: .78em;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mock-splash__dot {
    color: var(--p);
}

.mock-splash__status {
    color: #64748b;
    font-size: .8em;
}

.mock-splash__spinner {
    position: relative;
    display: grid;
    place-items: center;
    width: 3em;
    height: 3em;
    color: var(--p);
    font-family: Georgia, serif;
    font-weight: 800;
    font-size: .9em;
}

.mock-splash__spinner::before {
    content: "";
    position: absolute;
    inset: 0;
    border: .2em solid color-mix(in srgb, var(--p) 18%, transparent);
    border-top-color: var(--p);
    border-radius: 50%;
    animation: mock-spin 1s linear infinite;
}

@keyframes mock-spin {
    to { transform: rotate(360deg); }
}

/* --- Desktop & installer ---------------------------------------------- */
.mock-desktop {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: .7em;
    background:
        radial-gradient(ellipse at 72% 62%, #6aa5f0 0%, transparent 55%),
        radial-gradient(ellipse at 30% 110%, #2b6cd4 0%, transparent 60%),
        linear-gradient(135deg, #0a2559 0%, #1a4ea6 55%, #86b2ea 100%);
    box-shadow: var(--shadow-lg);
    font-family: "Segoe UI", system-ui, sans-serif;
}

.mock-desktop__icons {
    position: absolute;
    top: 1.2em;
    left: 1.2em;
    display: grid;
    gap: 1em;
}

.mock-desktop__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35em;
    width: 7em;
    color: #fff;
    font-size: .95em;
    text-align: center;
    text-shadow: 0 1px 3px rgb(0 0 0 / 60%);
}

.mock-desktop__icon > span:last-child {
    display: -webkit-box;
    overflow: hidden;
    font-size: .76em;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mock-installer {
    position: absolute;
    top: 12%;
    right: 7%;
    width: 60%;
    overflow: hidden;
    border: 1px solid #9ca3af;
    border-radius: .45em;
    background: #fff;
    box-shadow: 0 1.2em 2.8em rgb(0 0 0 / 35%);
}

.mock-installer .mock-window__bar {
    background: #fff;
}

.mock-installer__body {
    display: grid;
    grid-template-columns: 32% 1fr;
    min-height: 15em;
}

.mock-installer__side {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #e8eef9, #c3d4f0);
    color: #2a5bb8;
}

.mock-installer__side .icon {
    width: 3em;
    height: 3em;
}

.mock-installer__text {
    display: grid;
    align-content: start;
    gap: .7em;
    padding: 1.2em 1.3em;
    color: #1f2937;
    font-size: .74em;
}

.mock-installer__title {
    overflow-wrap: anywhere;
    color: #111827;
    font-weight: 700;
    font-size: 1.45em;
    line-height: 1.25;
}

.mock-installer__footer {
    display: flex;
    justify-content: flex-end;
    gap: .6em;
    padding: .8em 1em;
    border-top: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.mock-installer__btn {
    padding: .3em 1.4em;
    border: 1px solid #adadad;
    border-radius: .25em;
    background: #fdfdfd;
    color: #111827;
    font-size: .74em;
}

.mock-installer__btn--default {
    border: 2px solid #0067c0;
}

.mock-desktop__taskbar {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8em;
    height: 2.8em;
    background: rgb(240 243 249 / 82%);
    backdrop-filter: blur(12px);
}

.mock-desktop__start {
    width: 1.3em;
    height: 1.3em;
    background:
        linear-gradient(#0078d4, #0078d4) 0 0 / 46% 46% no-repeat,
        linear-gradient(#0078d4, #0078d4) 100% 0 / 46% 46% no-repeat,
        linear-gradient(#0078d4, #0078d4) 0 100% / 46% 46% no-repeat,
        linear-gradient(#0078d4, #0078d4) 100% 100% / 46% 46% no-repeat;
}

.mock-desktop__task {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.2em;
    height: 2.2em;
    border-radius: .4em;
    background: rgb(255 255 255 / 70%);
}

.mock-desktop__task.is-running::after {
    content: "";
    position: absolute;
    bottom: .1em;
    width: .7em;
    height: .18em;
    border-radius: 99em;
    background: #0078d4;
}

.mock-desktop__clock {
    position: absolute;
    right: 1em;
    color: #1f2937;
    font-size: .7em;
}

/* --- Parent message ---------------------------------------------------- */
.mock-phone {
    width: min(100%, 25rem);
    margin-inline: auto;
    overflow: hidden;
    border: 8px solid #111827;
    border-radius: 28px;
    background: #efeae2;
    box-shadow: var(--shadow-lg);
    font-family: "Segoe UI", "IBM Plex Sans Arabic", system-ui, sans-serif;
    font-size: .92rem;
}

.mock-phone__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #075e54;
    color: #fff;
    font-weight: 600;
}

.mock-phone__avatar {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgb(255 255 255 / 20%);
}

.mock-phone__contact {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-phone__chat {
    min-height: 320px;
    padding: 18px 14px 22px;
    background-color: #efeae2;
    background-image: radial-gradient(rgb(0 0 0 / 4%) 1px, transparent 1px);
    background-size: 14px 14px;
}

.mock-phone__bubble {
    position: relative;
    max-width: 94%;
    padding: 10px 12px 22px;
    border-radius: 0 10px 10px 10px;
    background: #fff;
    color: #111b21;
    line-height: 1.75;
    box-shadow: 0 1px .5px rgb(11 20 26 / 13%);
}

.mock-phone__bubble p + p {
    margin-top: 10px;
}

.mock-phone__time {
    position: absolute;
    bottom: 4px;
    inset-inline-end: 10px;
    color: #667781;
    font-size: .72rem;
}

@media (prefers-reduced-motion: reduce) {
    .mock-login__symbols span,
    .mock-splash__symbols span,
    .mock-splash__spinner::before {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .studio {
        grid-template-columns: 1fr;
    }

    .studio__stage {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .studio__frame {
        padding: 10px;
    }

    .studio__toolbar {
        align-items: stretch;
    }

    .studio__tabs {
        border-radius: var(--radius);
    }
}
