:root {
    --ink-900: #00002d;
    --ink-800: #060036;
    --ink-700: #0d0a4a;
    --ink-600: #1a1560;
    --indigo: #3f26f0;
    --indigo-600: #3520cc;
    --violet: #6f44ff;
    --violet-soft: #8b6bff;
    --coral: #e84734;
    --amber: #fbb422;
    --mint: #17b978;
    --steel: #112337;

    --lav-50: #f5f4ff;
    --lav-100: #e5e5ff;
    --lav-200: #d8d4ff;

    --paper: #ffffff;
    --paper-alt: #f7f7fb;
    --line: #e7e6f2;
    --text: #16143a;
    --muted: #5f6480;
    --muted-soft: #8a90a8;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(6, 0, 54, .06);
    --shadow: 0 10px 30px rgba(6, 0, 54, .09);
    --shadow-lg: 0 24px 60px rgba(6, 0, 54, .18);

    --grad-brand: linear-gradient(120deg, #3f26f0 0%, #6f44ff 55%, #9a52ed 100%);
    --grad-ink: linear-gradient(160deg, #060036 0%, #0d0a4a 55%, #1a1560 100%);
    --grad-warm: linear-gradient(120deg, #e84734 0%, #fbb422 100%);

    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

svg { width: 20px; height: 20px; flex-shrink: 0; }
svg.defs-only { position: absolute; width: 0; height: 0; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }

.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 28px rgba(63, 38, 240, .32); }
.btn-primary:hover { box-shadow: 0 18px 38px rgba(63, 38, 240, .42); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 12px 28px rgba(232, 71, 52, .3); }
.btn-light { background: #fff; color: var(--ink-800); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { background: transparent; color: var(--indigo); border: 1.5px solid var(--lav-200); }
.btn-outline:hover { border-color: var(--indigo); background: var(--lav-50); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--violet);
}
.eyebrow-light { color: var(--lav-200); }
.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: .6;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.badge-ok { background: rgba(23, 185, 120, .12); color: #0f8a58; }
.badge-warn { background: rgba(251, 180, 34, .16); color: #a97400; }
.badge-alert { background: rgba(232, 71, 52, .12); color: #c4331f; }
.badge-neutral { background: var(--lav-100); color: var(--indigo); }
.badge-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ── Landing ─────────────────────────────────────────── */

.landing { background: var(--ink-800); color: #fff; }

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 0, 54, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); transition: color .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.hero { position: relative; overflow: hidden; padding: 96px 0 120px; }
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.hero::before { width: 620px; height: 620px; background: rgba(63, 38, 240, .55); top: -220px; right: -160px; }
.hero::after { width: 460px; height: 460px; background: rgba(232, 71, 52, .28); bottom: -220px; left: -140px; }

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(38px, 5.2vw, 62px);
    margin: 20px 0 22px;
    letter-spacing: -.03em;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #fbb422, #e84734);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, .76); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .52); }

.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
}
.hero-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.hero-card-head span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 700; }

.mini-progress { margin-bottom: 22px; }
.mini-progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mini-progress-top strong { font-size: 15px; font-weight: 700; }
.mini-progress-top span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.track { height: 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .12); overflow: hidden; }
.track > i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--grad-brand); }

.hero-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.hero-tile { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-sm); padding: 14px 16px; }
.hero-tile b { display: block; font-size: 22px; font-weight: 800; }
.hero-tile span { font-size: 12px; color: rgba(255, 255, 255, .55); }

.marquee { border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; }
.marquee-inner { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.marquee-inner span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .4); font-weight: 700; }
.marquee-inner strong { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .72); }

.section { padding: 96px 0; }
.section-light { background: var(--paper); color: var(--text); }
.section-soft { background: var(--paper-alt); color: var(--text); }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--lav-200); }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--lav-50);
    color: var(--indigo);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    overflow: hidden;
    color: #fff;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.program-m360 { background: var(--grad-ink); }
.program-i360 { background: linear-gradient(160deg, #3f26f0 0%, #6f44ff 60%, #9a52ed 100%); }
.program::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    top: -130px;
    right: -110px;
    background: rgba(255, 255, 255, .08);
}
.program > * { position: relative; z-index: 2; }
.program h3 { font-size: 27px; margin-bottom: 14px; }
.program p { color: rgba(255, 255, 255, .78); font-size: 15px; margin-bottom: 22px; }
.program ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.program li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.program li svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--amber); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before {
    counter-increment: step;
    content: '0' counter(step);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--violet);
}
.step h4 { font-size: 17px; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--muted); }
.step-line { height: 2px; background: linear-gradient(90deg, var(--indigo), var(--lav-200)); border-radius: 2px; margin-top: 18px; }

.cta-band { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; }
.cta-band::before {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(111, 68, 255, .35);
    filter: blur(90px);
    top: -240px;
    left: 45%;
}
.cta-inner { position: relative; z-index: 2; text-align: center; padding: 92px 0; }
.cta-inner h2 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 18px; }
.cta-inner p { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }

.footer { background: var(--ink-900); color: rgba(255, 255, 255, .6); padding: 56px 0 40px; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer img { height: 30px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .42); }

/* ── Auth ────────────────────────────────────────────── */

.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-aside {
    position: relative;
    background: var(--grad-ink);
    color: #fff;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.auth-aside::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(63, 38, 240, .5);
    filter: blur(90px);
    top: -180px;
    right: -160px;
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside img { height: 36px; }
.auth-aside h2 { font-size: 36px; margin-bottom: 18px; letter-spacing: -.03em; }
.auth-aside p { color: rgba(255, 255, 255, .74); font-size: 16px; max-width: 420px; }
.auth-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255, 255, 255, .82); }
.auth-points svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; color: var(--amber); }
.auth-foot { font-size: 13px; color: rgba(255, 255, 255, .45); }

.auth-main { display: grid; place-items: center; padding: 48px 24px; background: var(--paper); }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 30px; margin-bottom: 10px; }
.auth-box > p.sub { color: var(--muted); margin-bottom: 30px; font-size: 15px; }
.auth-mobile-logo { display: none; margin-bottom: 30px; }
.auth-mobile-logo img { height: 34px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.field input {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--paper-alt);
    color: var(--text);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input:focus {
    outline: 0;
    border-color: var(--indigo);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(63, 38, 240, .1);
}
.field-hint { font-size: 12px; color: var(--muted-soft); margin-top: 7px; }

.pw-wrap { position: relative; }
.pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--muted-soft);
    padding: 6px;
    border-radius: 8px;
}
.pw-toggle:hover { color: var(--indigo); background: var(--lav-50); }
.pw-toggle svg { width: 19px; height: 19px; display: block; }

.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 13px; }
.form-row a { color: var(--indigo); font-weight: 600; }
.form-row a:hover { text-decoration: underline; }

.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; margin-bottom: 22px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.alert-error { background: rgba(232, 71, 52, .08); color: #b52f1c; }
.alert-success { background: rgba(23, 185, 120, .1); color: #0f7a4e; }
.alert-info { background: var(--lav-50); color: var(--indigo-600); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.auth-alt { margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--indigo); font-weight: 600; }

.pw-rules { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 7px; }
.pw-rules li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.pw-rules li i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); flex: 0 0 16px; transition: all .18s ease; }
.pw-rules li.ok { color: #0f8a58; }
.pw-rules li.ok i { background: var(--mint); border-color: var(--mint); }

/* ── Panel ───────────────────────────────────────────── */

.app { min-height: 100vh; background: var(--paper-alt); }

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--ink-800);
    color: #fff;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.topbar-logo img { height: 30px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-brand);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .02em;
    flex: 0 0 40px;
}
.topbar-user { text-align: right; line-height: 1.3; }
.topbar-user b { display: block; font-size: 14px; font-weight: 700; }
.topbar-user span { font-size: 12px; color: rgba(255, 255, 255, .55); }
.icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    display: grid; place-items: center; cursor: pointer;
    transition: background .18s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.icon-btn svg { width: 18px; height: 18px; }

.tabs { background: var(--ink-700); border-top: 1px solid rgba(255, 255, 255, .07); }
.tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab {
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color .18s ease, border-color .18s ease;
}
.tab:hover { color: #fff; }
.tab.active { color: #fff; border-bottom-color: var(--amber); }

.page { padding: 40px 0 72px; }
.page-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
.page-head h1 { font-size: 30px; margin-bottom: 8px; }
.page-head p { color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-main { grid-template-columns: 1.6fr 1fr; align-items: start; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-head h3 { font-size: 17px; }
.card-head p { font-size: 13px; color: var(--muted-soft); margin-top: 3px; }
.card-hero { background: var(--grad-ink); color: #fff; border: 0; position: relative; overflow: hidden; padding: 34px; }
.card-hero::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(111, 68, 255, .3);
    filter: blur(70px);
    top: -150px; right: -110px;
}
.card-hero > * { position: relative; z-index: 2; }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-soft); }
.stat-value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.stat-foot { font-size: 13px; color: var(--muted); }

.ring-wrap { display: flex; align-items: center; gap: 22px; }
.ring { position: relative; width: 118px; height: 118px; flex: 0 0 118px; }
.ring svg { transform: rotate(-90deg); width: 118px; height: 118px; }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 10; }
.ring-fg { fill: none; stroke: url(#ringGrad); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.ring-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-label b { font-size: 27px; font-weight: 800; line-height: 1; }
.ring-label span { font-size: 11px; color: rgba(255, 255, 255, .6); letter-spacing: .08em; text-transform: uppercase; }

.topic-list { display: grid; gap: 18px; }
.topic { display: grid; gap: 9px; }
.topic-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topic-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.topic-dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 11px; }
.topic-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.topic-track { height: 9px; border-radius: var(--radius-pill); background: var(--lav-50); overflow: hidden; }
.topic-track > i { display: block; height: 100%; border-radius: var(--radius-pill); transition: width .8s ease; }

.check-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-mark {
    width: 22px; height: 22px; border-radius: 50%;
    flex: 0 0 22px; display: grid; place-items: center;
    background: var(--paper-alt); border: 1.5px solid var(--line);
    color: transparent;
}
.check-mark svg { width: 13px; height: 13px; }
.check-list li.done .check-mark { background: var(--mint); border-color: var(--mint); color: #fff; }
.check-body b { display: block; font-size: 14px; font-weight: 600; }
.check-list li.done .check-body b { color: var(--text); }
.check-list li:not(.done) .check-body b { color: var(--muted); }
.check-body span { font-size: 12px; color: var(--muted-soft); }

.session-list { display: grid; gap: 12px; }
.session {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.session:hover { border-color: var(--lav-200); box-shadow: var(--shadow-sm); }
.session-date {
    flex: 0 0 62px; text-align: center;
    background: var(--lav-50); border-radius: 12px; padding: 9px 4px;
}
.session-date b { display: block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--indigo); }
.session-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); font-weight: 700; }
.session-body { flex: 1; min-width: 0; }
.session-body b { display: block; font-size: 15px; font-weight: 700; }
.session-body span { font-size: 13px; color: var(--muted); }
.session-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.people { display: grid; gap: 14px; }
.person { display: flex; align-items: center; gap: 13px; }
.person .avatar { background: var(--lav-100); color: var(--indigo); }
.person b { display: block; font-size: 14px; font-weight: 700; }
.person span { font-size: 12px; color: var(--muted); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.benefit-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.benefit-top b { font-size: 15px; }
.benefit-count { display: flex; align-items: baseline; gap: 6px; }
.benefit-count b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--indigo); }
.benefit-count span { font-size: 14px; color: var(--muted); }
.benefit-pips { display: flex; gap: 6px; margin-top: 14px; }
.benefit-pips i { height: 7px; flex: 1; border-radius: 4px; background: var(--lav-100); }
.benefit-pips i.used { background: var(--violet); }

.pay-hero { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.pay-amount { display: flex; flex-direction: column; gap: 4px; }
.pay-amount b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.pay-amount span { font-size: 13px; color: rgba(255, 255, 255, .6); }

.dl { display: grid; gap: 0; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl-row:last-child { border-bottom: 0; }
.dl-row dt { font-size: 13px; color: var(--muted); margin: 0; }
.dl-row dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }

.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; display: block; color: var(--lav-200); margin: 0 auto 14px; }
.empty b { display: block; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.empty p { font-size: 14px; }

.sync-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--muted-soft); }
.sync-note form { margin: 0; }

.timeline { display: grid; gap: 0; position: relative; }
.timeline-item { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px; top: 22px; bottom: 0;
    width: 2px; background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 20px; height: 20px; border-radius: 50%; flex: 0 0 20px; display: grid; place-items: center; background: var(--lav-100); z-index: 2; }
.timeline-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); }
.timeline-item.missed .timeline-dot { background: rgba(232, 71, 52, .14); }
.timeline-item.missed .timeline-dot i { background: var(--coral); }
.timeline-body b { display: block; font-size: 14px; font-weight: 700; }
.timeline-body span { font-size: 13px; color: var(--muted); }

.link-inline { color: var(--indigo); font-weight: 600; font-size: 13px; }
.link-inline:hover { text-decoration: underline; }

.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-main { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .auth { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-mobile-logo { display: block; }
}

@media (max-width: 760px) {
    .shell { padding: 0 18px; }
    .nav-links { display: none; }
    .nav-inner { height: 68px; }
    .hero { padding: 64px 0 80px; }
    .section { padding: 64px 0; }
    .feature-grid, .program-grid, .grid-2, .grid-3, .grid-4, .benefit-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 25px; }
    .topbar-user { display: none; }
    .card { padding: 20px; }
    .card-hero { padding: 26px; }
    .ring-wrap { flex-direction: column; align-items: flex-start; }
    .session { flex-wrap: wrap; }
    .session-side { width: 100%; justify-content: flex-start; }
}
