:root {
    color-scheme: light;
    --landing-ink: #17243b;
    --landing-muted: #536178;
    --landing-blue: #0052e5;
    --landing-line: #dce4ef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--landing-ink); background: #f7f9fc; font: 16px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #e4a900; outline-offset: 4px; }
.page-width { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.landing-header { background: #fff; border-bottom: 1px solid var(--landing-line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--landing-ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; color: #fff; background: var(--landing-blue); font-size: 22px; font-weight: 700; }
.brand > span:last-child { display: grid; line-height: 1.4; }
.brand strong { font-size: 17px; }
.brand > span > span { color: var(--landing-muted); font-size: 14px; }
.header-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.header-nav a { text-decoration: none; }
.header-nav a:hover, .registration-link:hover, .access-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-signin { color: var(--landing-blue); }
.header-signin span { margin-left: 5px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(48px, 8vw, 108px); padding-block: 80px 88px; }
.hero-copy h1 { max-width: 680px; font-size: clamp(42px, 4.8vw, 62px); line-height: 1.1; letter-spacing: -0.045em; font-weight: 700; }
.hero-copy h1 span { color: var(--landing-blue); }
.hero-description { max-width: 530px; margin-top: 24px; color: var(--landing-muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.landing-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 12px 20px; border: 1px solid var(--landing-line); border-radius: 10px; font-weight: 650; text-decoration: none; }
.landing-button.is-primary { color: #fff; background: var(--landing-blue); border-color: var(--landing-blue); }
.landing-button.is-primary:hover { background: #003fb9; border-color: #003fb9; }
.landing-button.is-secondary { background: #fff; }
.landing-button.is-secondary:hover { background: #eef3fa; }
.access-note { margin-top: 18px; color: var(--landing-muted); font-size: 14px; }

.registration-card { padding: 28px; border: 1px solid #d2e0f7; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(25, 51, 95, .07); }
.registration-card-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.registration-card h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.registration-card-heading p { margin-top: 4px; color: var(--landing-muted); font-size: 15px; }
.registration-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; color: var(--landing-blue); background: #edf3ff; font-size: 22px; }
.registration-steps { list-style: none; padding: 0; margin-top: 24px; }
.registration-steps li { display: flex; gap: 15px; padding: 17px 0; border-top: 1px solid #e6ebf3; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: #eef3ff; color: #1747a0; font-size: 14px; font-weight: 700; }
.registration-steps h3 { font-size: 15px; line-height: 1.5; }
.registration-steps p { margin-top: 3px; color: var(--landing-muted); font-size: 14px; line-height: 1.6; }
.registration-link { display: block; padding-top: 18px; border-top: 1px solid #e6ebf3; color: var(--landing-blue); font-size: 15px; font-weight: 650; text-decoration: none; }
.registration-link span, .access-grid a span { margin-left: 4px; }

.system-overview { padding-block: 68px; border-block: 1px solid var(--landing-line); background: #fff; }
.overview-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.overview-heading h2, .portal-access h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.03em; }
.overview-heading p, .portal-access > div:first-child > p { color: var(--landing-muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.feature { padding: 24px; border: 1px solid var(--landing-line); border-radius: 14px; background: #fbfcfe; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #1747a0; background: #eaf1ff; font-size: 14px; font-weight: 700; }
.feature h3 { margin-top: 22px; font-size: 17px; }
.feature p { margin-top: 8px; color: var(--landing-muted); font-size: 15px; line-height: 1.7; }

.portal-access { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; padding-block: 72px; }
.portal-access > div:first-child > p { margin-top: 10px; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.access-grid article { border-left: 2px solid #cbdaf2; padding-left: 20px; }
.access-grid h3 { font-size: 17px; }
.access-grid p { margin-top: 8px; color: var(--landing-muted); font-size: 15px; line-height: 1.7; }
.access-grid a { display: inline-block; margin-top: 16px; color: var(--landing-blue); font-size: 15px; font-weight: 650; text-decoration: none; }
.landing-footer { border-top: 1px solid var(--landing-line); background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 24px; color: var(--landing-muted); font-size: 14px; }
.footer-inner strong { color: var(--landing-ink); }

@media (max-width: 850px) {
    .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
    .registration-card { max-width: 620px; }
    .portal-access { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
    .page-width { width: calc(100% - 40px); }
    .header-inner { min-height: 76px; }
    .brand > span > span { max-width: 165px; }
    .header-about { display: none; }
    .header-nav { gap: 12px; }
    .hero { padding-block: 44px 52px; }
    .hero-copy h1 { font-size: clamp(38px, 10vw, 52px); }
    .hero-description { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .registration-card { padding: 22px; }
    .system-overview, .portal-access { padding-block: 48px; }
    .overview-heading { display: block; }
    .overview-heading p { margin-top: 10px; }
    .feature-grid, .access-grid { grid-template-columns: 1fr; }
    .feature-grid { gap: 12px; margin-top: 26px; }
    .access-grid { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
