:root {
    --bg: #fcfbf7;
    --surface: #ffffff;
    --surface-alt: #f5f4ef;
    --navy: #17202c;
    --navy-soft: #263445;
    --text: #1f2937;
    --muted: #7d8898;
    --line: #e8ecef;
    --gold: #0f172a;
    --gold-deep: #276749;
    --success: #2f8f5b;
    --radius: 28px;
    --radius-sm: 18px;
    --shadow: 0 18px 45px rgba(20, 30, 48, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(239, 241, 232, 0.65), transparent 24%),
        radial-gradient(circle at top right, rgba(229, 240, 236, 0.72), transparent 26%),
        linear-gradient(180deg, #fdfcf8 0%, #faf8f3 100%);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.container {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(18, 35, 60, 0.06);
    backdrop-filter: blur(16px);
}

.header-utility {
    display: none;
}

.utility-bar {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.utility-note {
    color: rgba(255, 244, 219, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utility-links a {
    color: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.topbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.premium-topbar {
    min-height: 88px;
}

.brand,
.nav,
.nav-actions,
.inline-form,
.hero-actions,
.hero-points {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav {
    position: relative;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: -18px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 320px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 14px;
    z-index: 40;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--navy);
    font-weight: 700;
}

.nav-dropdown-menu a:hover {
    background: #f5f8fe;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.brand {
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-copy {
    display: block;
}

.brand-kicker {
    display: none;
}

.brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.brand small {
    display: block;
    color: var(--muted);
    max-width: 210px;
    line-height: 1.35;
    font-size: 0.76rem;
}

.premium-brand strong {
    color: var(--navy);
}

.premium-brand small {
    max-width: 320px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-shell {
    display: flex;
    justify-content: center;
    flex: 1;
    padding: 0 16px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.nav a,
.side-link {
    color: #27364a;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active-link,
.side-link:hover,
.side-link.active {
    color: var(--navy);
}

.nav {
    gap: 14px;
}

.nav a {
    font-size: 0.98rem;
    padding: 8px 10px;
    border-radius: 14px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active-link {
    background: #f6f8fb;
}

.premium-actions .btn-ghost {
    background: #fff;
    border: 1px solid rgba(18, 35, 60, 0.08);
}

.premium-actions .btn-primary {
    min-width: 0;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(180deg, #1f2937, #111827);
    color: #fff;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.18);
}

.btn-ghost {
    background: #ffffff;
    color: var(--navy);
    border: 1px solid var(--line);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.full-width {
    width: 100%;
    text-align: center;
    display: inline-block;
}

.flash {
    margin: 16px auto 0;
    padding: 14px 18px;
    border-radius: 18px;
}

.flash-success {
    background: rgba(47, 143, 91, 0.12);
    color: #18653b;
}

.flash-error {
    background: rgba(194, 68, 68, 0.1);
    color: #8e2929;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.12;
}

h1,
h2 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.85rem);
    max-width: 13ch;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    max-width: 17ch;
}

h3 {
    font-size: 1.55rem;
}

p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(39, 103, 73, 0.08);
    color: var(--gold-deep);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.dark-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffe3a3;
}

.hero,
.page-hero,
.auth-shell,
.portal-shell {
    padding: 42px 0 80px;
}

.hero-showcase,
.hero-stage,
.service-preview-grid,
.split-feature,
.portal-grid,
.portal-panels,
.auth-grid,
.form-two,
.footer-grid,
.services-grid,
.learn-grid,
.timeline,
.testimonials-grid,
.class-layout,
.stat-grid {
    display: grid;
    gap: 24px;
}

.hero-stage {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
}

.hero-copy-dark,
.hero-visual-card,
.commercial-card,
.service-card,
.learn-card,
.class-card,
.timeline-step,
.panel,
.form-card,
.auth-card,
.list-card,
.portal-sidebar,
.contact-card,
.compact-service-card,
.trust-strip article,
.dashboard-card,
.credential-box {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy-dark {
    background: linear-gradient(145deg, #081b31 0%, #0f2948 55%, #13365e 100%);
    color: #fff;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.hero-copy-dark::after {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 161, 58, 0.24), transparent 70%);
}

.hero-copy-dark p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 58ch;
    margin-bottom: 24px;
}

.hero-points {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-points span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.96rem;
}

.hero-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: linear-gradient(135deg, #0f2744, #183c65);
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: rgba(10, 27, 48, 0.92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 20px;
    width: min(270px, calc(100% - 30px));
}

.floating-card strong,
.price,
.metric-value,
.stat-grid strong {
    display: block;
    font-weight: 800;
    color: inherit;
}

.floating-card p {
    color: rgba(255, 255, 255, 0.76);
    margin: 10px 0 12px;
}

.floating-card a {
    color: #ffd37d;
    font-weight: 700;
}

.finder-card {
    left: 24px;
    top: 24px;
}

.invoice-card {
    right: 24px;
    bottom: 24px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.trust-strip article,
.compact-service-card,
.commercial-card,
.service-card,
.learn-card,
.class-card,
.timeline-step,
.panel,
.form-card,
.auth-card,
.list-card,
.portal-sidebar,
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px;
}

.trust-strip strong {
    display: block;
    color: var(--navy);
    margin-bottom: 6px;
}

.trust-strip span {
    color: var(--muted);
    line-height: 1.6;
}

.section {
    padding: 0 0 76px;
}

.public-section {
    background: transparent;
}

.section-head {
    margin-bottom: 28px;
}

.section-head.narrow h1,
.section-head.narrow h2 {
    max-width: 15ch;
}

.feature-band {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.service-preview-grid,
.services-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 24px;
}

.compact-service-card span,
.class-card span,
.timeline-step span,
.learn-card span {
    display: inline-block;
    color: var(--gold-deep);
    font-weight: 800;
    margin-bottom: 10px;
}

.compact-service-card h3,
.service-card h3,
.class-card h3,
.timeline-step h3,
.learn-card h3 {
    font-size: 1.65rem;
    font-family: 'Manrope', sans-serif;
    line-height: 1.2;
}

.split-feature,
.class-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.public-card-stack {
    display: grid;
    gap: 18px;
}

.commercial-timeline,
.timeline {
    grid-template-columns: repeat(4, 1fr);
}

.timeline-step p {
    max-width: 26ch;
}

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

.image-panel img {
    border-radius: 22px;
}

.link-arrow {
    display: inline-flex;
    margin-top: 16px;
    color: #0f7a8a;
    font-weight: 800;
}

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

.page-hero .split-feature,
.page-hero .container > .timeline,
.page-hero .container > .card-grid {
    align-items: start;
}

.contact-stack {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.public-article-card {
    max-width: 900px;
    margin: 0 auto;
}

.public-article-card p {
    max-width: 74ch;
}

.contact-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
}

.class-search,
.stack-form {
    display: grid;
    gap: 14px;
}

.autocomplete-shell {
    align-items: start;
}

.autocomplete-field {
    position: relative;
}

.autocomplete-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    z-index: 20;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.autocomplete-menu.open {
    display: block;
}

.autocomplete-item {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(18, 35, 60, 0.08);
    cursor: pointer;
}

.autocomplete-item:last-child {
    border-bottom: 0;
}

.autocomplete-item:hover {
    background: #f7faff;
}

.autocomplete-item strong,
.autocomplete-item span,
.finder-helper-points span {
    display: block;
}

.autocomplete-item strong {
    color: var(--navy);
    margin-bottom: 4px;
}

.autocomplete-item span {
    color: var(--muted);
    font-size: 0.94rem;
}

.finder-helper-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.finder-helper-points span {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-weight: 700;
}

.finder-results-panel {
    overflow: hidden;
}

.class-search {
    grid-template-columns: 1fr auto;
    margin-top: 24px;
}

.wide-search {
    max-width: 720px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
}

label,
fieldset {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.checkline input {
    width: auto;
}

.auth-card,
.form-card {
    background: #fff;
}

.auth-card {
    max-width: 760px;
    margin: 0 auto;
}

.auth-card.wide {
    max-width: 1080px;
}

.auth-card-compact {
    max-width: 920px;
    display: grid;
    gap: 22px;
}

.auth-grid,
.form-two {
    grid-template-columns: repeat(2, 1fr);
}

.auth-compact-head h1 {
    max-width: none;
    margin-bottom: 6px;
}

.auth-compact-head p {
    max-width: 50ch;
    margin: 0 auto;
}

.auth-link-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-single-shell {
    display: grid;
    justify-content: center;
    width: 100%;
}

.auth-single-card {
    width: min(100%, 620px);
    max-width: 620px;
    min-width: 620px;
}

.auth-single-form {
    width: 760px;
    max-width: 760px;
    min-width: 760px;
}

.auth-compact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: start;
}

.auth-reset-stack {
    display: grid;
    gap: 18px;
}

.compact-form-card {
    border-radius: 24px;
    padding: 22px;
}

.compact-form-card h2 {
    font-size: 1.7rem;
    max-width: none;
}

.compact-form-card .btn {
    width: auto;
}

.compact-form-card input,
.compact-form-card select,
.compact-form-card textarea {
    width: 100%;
    min-width: 100%;
    min-height: 54px;
}

.auth-single-form label,
.auth-single-form input {
    width: 100%;
}

.credential-box {
    margin-top: 20px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    padding: 18px 20px;
}

.credential-box span,
.credential-box a,
.form-card small {
    display: block;
    margin-top: 8px;
}

.portal-grid {
    grid-template-columns: 280px 1fr;
}

.portal-sidebar {
    align-self: start;
    position: sticky;
    top: 104px;
}

.portal-sidebar h2,
.portal-main h1 {
    max-width: none;
}

.portal-main {
    display: grid;
    gap: 24px;
}

.portal-panels {
    grid-template-columns: repeat(2, 1fr);
}

.side-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(18, 35, 60, 0.08);
}

.stat-grid {
    grid-template-columns: repeat(4, 1fr);
}

.stat-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.stat-grid strong {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.feature-list {
    margin: 18px 0 0;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.9;
}

.dashboard-card {
    padding: 24px;
    background: linear-gradient(145deg, #102845, #17375b);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-card span,
.dashboard-card p,
.dashboard-card strong {
    color: #fff;
}

.dash-top,
.mini-table div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.mini-table {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.progress {
    width: 100%;
    min-width: 160px;
    height: 10px;
    border-radius: 999px;
    background: #e8eef5;
}

.progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), #edc56b);
}

.site-footer {
    padding: 56px 0 42px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--muted);
    border-top: 1px solid rgba(18, 35, 60, 0.06);
}

.centered {
    text-align: center;
}

.centered h2,
.centered h1 {
    margin-left: auto;
    margin-right: auto;
}

.ref-hero {
    padding-top: 28px;
}

.premium-home-hero {
    padding-top: 34px;
    padding-bottom: 48px;
    background:
        radial-gradient(circle at top left, rgba(239, 241, 232, 0.92), transparent 24%),
        radial-gradient(circle at top right, rgba(230, 240, 236, 0.95), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 248, 244, 0.9) 100%);
}

.hero-top-actions,
.hero-feature-row,
.service-tabbar,
.faq-list,
.apply-layout,
.checkout-layout,
.package-grid,
.reasons-grid {
    display: grid;
    gap: 18px;
}

.hero-command-bar,
.hero-command-links,
.premium-hero-grid,
.hero-proof-list,
.hero-stat-row,
.premium-band,
.premium-band-grid,
.service-directory-callout,
.process-showcase,
.platform-stack,
.home-final-cta,
.hero-stage-panel {
    display: grid;
    gap: 18px;
}

.hero-command-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 16px 22px;
    margin-bottom: 28px;
    border: 1px solid rgba(18, 35, 60, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

.hero-command-bar span {
    color: var(--navy);
    font-weight: 700;
}

.hero-command-links {
    grid-template-columns: repeat(3, max-content);
}

.hero-command-links a {
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(18, 35, 60, 0.08);
    color: var(--navy);
    font-weight: 700;
}

.premium-hero-grid,
.process-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
    gap: 28px;
}

.premium-hero-copy,
.timeline-showcase-panel {
    display: grid;
    gap: 22px;
}

.premium-hero-copy h1 {
    max-width: 12ch;
}

.premium-hero-copy p {
    max-width: 62ch;
}

.hero-proof-list {
    grid-template-columns: repeat(3, max-content);
    flex-wrap: wrap;
}

.hero-proof-list span,
.service-card-kicker,
.card-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 37, 67, 0.06);
    color: var(--navy);
    font-weight: 700;
}

.premium-search-form {
    margin: 4px 0 0;
}

.hero-stat-row {
    grid-template-columns: repeat(3, 1fr);
}

.hero-stat-row article {
    padding: 18px 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-stat-row strong {
    display: block;
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.hero-stat-row span {
    color: var(--muted);
    line-height: 1.5;
}

.premium-hero-stage {
    display: grid;
    gap: 18px;
}

.hero-visual-shell {
    position: relative;
    min-height: 480px;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f8fd, #eaf1fb);
    border: 1px solid var(--line);
}

.hero-visual-shell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stage-panel {
    grid-template-columns: 1fr 1fr;
}

.hero-stage-card,
.platform-card {
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-stage-card strong {
    display: block;
    margin: 12px 0 10px;
    color: var(--navy);
    font-size: 1.6rem;
}

.dark-stage-card {
    background: linear-gradient(145deg, #0c2038, #17395e);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-stage-card strong,
.dark-stage-card p {
    color: #fff;
}

.dark-stage-card .card-label {
    background: rgba(255, 255, 255, 0.12);
    color: #ffe6b0;
}

.compact-feature-list {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.75;
}

.premium-band {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding: 34px;
    border-radius: 34px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #0e2744 0%, #16375d 52%, #f7efe0 52%, #fcfaf4 100%);
    color: #fff;
}

.premium-band-copy p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
}

.premium-band-grid {
    grid-template-columns: repeat(3, 1fr);
    align-self: stretch;
}

.premium-band-grid article {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.premium-band-grid strong,
.service-directory-callout strong,
.platform-card span,
.platform-card h3 {
    display: block;
    color: var(--navy);
}

.premium-services-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

.premium-service-card {
    display: grid;
    align-content: start;
}

.service-card-kicker {
    margin-bottom: 14px;
    background: rgba(213, 161, 58, 0.14);
    color: var(--gold-deep);
}

.service-card-meta {
    margin-top: auto;
    padding-top: 14px;
}

.service-card-meta span {
    color: var(--muted);
}

.service-directory-callout,
.home-final-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 26px 28px;
    margin-top: 22px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.process-showcase-section {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.platform-points-grid {
    grid-template-columns: repeat(2, 1fr);
}

.premium-timeline {
    grid-template-columns: repeat(2, 1fr);
}

.platform-stack {
    grid-template-columns: repeat(3, 1fr);
}

.platform-card span {
    margin-bottom: 12px;
    color: var(--gold-deep);
    font-weight: 800;
}

.platform-card h3 {
    font-size: 1.45rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 18px;
}

.footer-mini-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-mini-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 156, 60, 0.45);
    box-shadow: var(--shadow);
}

.premium-learn-grid {
    grid-template-columns: repeat(3, 1fr);
}

.premium-learn-card {
    min-height: 100%;
}

.faq-cta-section {
    padding-bottom: 84px;
}

.hero-top-actions {
    grid-template-columns: repeat(3, max-content);
    justify-content: end;
    margin-bottom: 20px;
}

.icon-chip {
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font-weight: 700;
}

.hero-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.hero-ref-copy h1 {
    max-width: 11ch;
}

.service-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 26px 0;
}

.hero-feature-row {
    grid-template-columns: repeat(3, 1fr);
}

.hero-feature-row article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.hero-feature-row strong,
.price-row strong {
    display: block;
    color: var(--navy);
    margin-bottom: 6px;
}

.hero-ref-visual {
    position: relative;
    min-height: 640px;
    border-radius: 34px;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(74, 127, 255, 0.16), transparent 28%), linear-gradient(145deg, #f8fbff, #eef4fd);
    border: 1px solid var(--line);
}

.hero-ref-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge,
.hero-offer-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-badge {
    padding: 14px 18px;
    font-weight: 800;
    color: #4479ef;
}

.hero-badge-top {
    top: 18px;
    right: 18px;
}

.hero-badge-left {
    left: 18px;
    bottom: 132px;
}

.hero-offer-box {
    left: 18px;
    bottom: 18px;
    width: min(300px, calc(100% - 36px));
    padding: 20px;
}

.hero-offer-box span {
    display: block;
    color: var(--gold-deep);
    font-size: 1.6rem;
    font-weight: 800;
}

.service-tabbar {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    margin-bottom: 24px;
}

.tab-chip {
    padding: 14px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font-weight: 700;
}

.tab-chip.active {
    color: #f18800;
    border-color: #ffb76a;
    background: #fff9f1;
}

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

.pricing-card .inline-btn {
    display: inline-flex;
    width: auto;
    margin-top: 12px;
}

.brand-strip-section {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.reasons-grid {
    grid-template-columns: repeat(4, 1fr);
}

.faq-shell {
    max-width: 980px;
}

.faq-list {
    gap: 14px;
}

.faq-item {
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(18, 35, 60, 0.12);
    background: transparent;
    box-shadow: none;
}

.public-contact-form {
    max-width: 980px;
    margin: 0 auto;
}

.apply-layout {
    grid-template-columns: 1.15fr 0.55fr;
    align-items: start;
}

.apply-step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.step-pill {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff4e4;
    color: #f18800;
    font-weight: 800;
}

.step-pill.active {
    background: #e8f5e9;
    color: #2f8f5b;
}

.apply-note {
    margin-top: 16px;
    color: #4479ef;
    font-weight: 700;
}

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

.package-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    background: #fff;
    cursor: pointer;
}

.package-card input {
    width: auto;
    margin-bottom: 12px;
}

.package-card strong {
    display: block;
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.package-card span {
    display: block;
    color: #f18800;
    font-weight: 800;
    margin-bottom: 8px;
}

.checkout-layout {
    grid-template-columns: 1fr 320px;
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 36px;
}

.footer-grid strong,
.footer-grid a {
    display: block;
    color: var(--navy);
    margin-bottom: 12px;
}

.footer-grid p,
.footer-grid small {
    color: var(--muted);
}

.footer-brand-block strong {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
}

.footer-logo {
    width: min(100%, 240px);
    height: auto;
    margin-bottom: 14px;
}

.home-hero-shell {
    max-width: 980px;
    margin: 0 auto 34px;
    padding: 88px 32px 72px;
    border-radius: 0 0 40px 40px;
    text-align: center;
}

.home-hero-copy {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.home-hero-copy h1,
.home-hero-copy p {
    max-width: 14ch;
}

.home-hero-copy p {
    max-width: 860px;
    font-size: 1.18rem;
}

.hero-actions-centered {
    justify-content: center;
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid rgba(18, 35, 60, 0.08);
    border-bottom: 1px solid rgba(18, 35, 60, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.home-service-pill {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    border-right: 1px solid rgba(18, 35, 60, 0.08);
}

.home-service-pill:last-child {
    border-right: 0;
}

.home-service-pill strong {
    display: block;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 1rem;
}

.home-service-pill small {
    color: var(--muted);
    line-height: 1.5;
}

.home-service-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5ef;
    color: #2f8f5b;
    font-weight: 800;
    flex: 0 0 auto;
}

.home-stats-band {
    display: grid;
    grid-template-columns: 1.1fr 2.2fr;
    align-items: center;
    gap: 32px;
    padding: 30px 34px;
    background: #171d28;
    color: rgba(255, 255, 255, 0.82);
}

.home-stats-intro {
    color: #d9c898;
    font-size: 1.05rem;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-stats-grid article {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-stats-grid strong {
    display: block;
    color: #fff;
    font-size: 2.05rem;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.home-stats-grid span {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.client-logo-band {
    padding: 34px 0 10px;
}

.client-logo-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 26px;
    align-items: center;
    margin-top: 18px;
}

.client-logo-row span {
    color: #98a1ac;
    font-size: clamp(1.4rem, 2vw, 2.15rem);
    font-weight: 800;
    line-height: 1;
}

.home-section-head {
    margin-bottom: 36px;
}

.premium-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.premium-service-card {
    padding: 26px 26px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 35, 60, 0.08);
}

.premium-service-card h3 {
    font-size: 1.55rem;
}

.service-card-kicker {
    margin-bottom: 12px;
    background: transparent;
    color: #8d96a3;
    padding: 0;
    border-radius: 0;
    font-size: 0.96rem;
}

.link-arrow {
    color: #0f7a8a;
}

.platform-stack {
    grid-template-columns: repeat(3, 1fr);
}

.platform-card {
    background: rgba(255, 255, 255, 0.9);
}

.faq-shell {
    max-width: 1020px;
}

.faq-item summary {
    position: relative;
    list-style: none;
    padding: 26px 54px 26px 12px;
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 600;
    cursor: pointer;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #edf5ef;
    color: #2b7a5a;
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 12px 24px;
    max-width: 72ch;
}

.home-final-cta {
    margin-top: 42px;
    padding: 56px 40px;
    justify-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
}

.home-final-cta > div:first-child {
    max-width: 760px;
}

.home-final-cta .hero-actions {
    justify-content: center;
}

.brand-strip-section {
    background: transparent;
}

.class-admin-panels {
    margin-top: 24px;
}

.class-admin-card {
    display: grid;
    gap: 10px;
}

.class-admin-card .hero-actions {
    margin-top: 6px;
    flex-wrap: wrap;
}

@media (max-width: 1140px) {
    .hero-stage,
    .hero-ref-grid,
    .premium-hero-grid,
    .process-showcase,
    .split-feature,
    .class-layout,
    .portal-grid,
    .service-preview-grid,
    .services-grid,
    .commercial-timeline,
    .timeline,
    .trust-strip,
    .stat-grid,
    .portal-panels,
    .auth-grid,
    .form-two,
    .footer-grid,
    .learn-grid,
    .testimonials-grid,
    .hero-feature-row,
    .reasons-grid,
    .premium-band,
    .premium-band-grid,
    .premium-services-grid,
    .premium-learn-grid,
    .platform-stack,
    .platform-points-grid,
    .finder-helper-points,
    .hero-stage-panel,
    .hero-stat-row,
    .package-grid,
    .checkout-layout,
    .apply-layout {
        grid-template-columns: 1fr 1fr;
    }

    .home-service-strip,
    .client-logo-row,
    .footer-grid,
    .home-stats-band,
    .home-stats-grid,
    .auth-compact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .auth-single-form,
    .auth-single-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-sidebar {
        position: static;
    }
}

@media (max-width: 820px) {
    .topbar {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .utility-bar {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-shell,
    .brand {
        width: 100%;
    }

    .home-hero-shell {
        padding: 58px 18px 44px;
    }

    .hero-stage,
    .hero-ref-grid,
    .premium-hero-grid,
    .process-showcase,
    .split-feature,
    .class-layout,
    .service-preview-grid,
    .services-grid,
    .commercial-timeline,
    .timeline,
    .trust-strip,
    .stat-grid,
    .portal-panels,
    .auth-grid,
    .form-two,
    .footer-grid,
    .learn-grid,
    .testimonials-grid,
    .hero-feature-row,
    .reasons-grid,
    .premium-band,
    .premium-band-grid,
    .premium-services-grid,
    .premium-learn-grid,
    .platform-stack,
    .platform-points-grid,
    .finder-helper-points,
    .hero-stage-panel,
    .hero-stat-row,
    .hero-proof-list,
    .package-grid,
    .checkout-layout,
    .apply-layout {
        grid-template-columns: 1fr;
    }

    .home-service-strip,
    .client-logo-row,
    .footer-grid,
    .home-stats-band,
    .home-stats-grid,
    .auth-compact-grid {
        grid-template-columns: 1fr;
    }

    .auth-single-form,
    .auth-single-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-copy-dark,
    .hero-visual-card {
        min-height: auto;
    }

    .floating-card {
        position: static;
        width: 100%;
        margin: 14px;
    }

    .hero-visual-card {
        padding-bottom: 14px;
    }

    .hero-top-actions {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .hero-command-bar,
    .service-directory-callout,
    .home-final-cta {
        grid-template-columns: 1fr;
    }

    .hero-command-links {
        grid-template-columns: 1fr;
    }

    .utility-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .class-search {
        grid-template-columns: 1fr;
    }

    .service-search {
        grid-template-columns: 1fr;
    }

    .home-service-pill {
        border-right: 0;
        border-bottom: 1px solid rgba(18, 35, 60, 0.08);
    }

    .home-service-pill:last-child {
        border-bottom: 0;
    }

    .home-stats-grid article {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 16px;
    }

    h1 {
        font-size: 2.55rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 20px, 1220px);
    }

    .premium-actions .btn-primary {
        min-width: 0;
    }

    .brand {
        padding: 16px;
    }

    .brand-copy small {
        max-width: 170px;
    }

    .hero-copy-dark,
    .commercial-card,
    .service-card,
    .learn-card,
    .class-card,
    .timeline-step,
    .panel,
    .form-card,
    .auth-card,
    .list-card,
    .portal-sidebar,
    .contact-card,
    .compact-service-card,
    .trust-strip article,
    .feature-band {
        padding: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-command-bar,
    .service-directory-callout,
    .home-final-cta,
    .premium-band {
        padding: 20px;
    }

    .hero-actions,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
