:root {
    color-scheme: light;
    --royal: #2548d8;
    --deep-blue: #1739bc;
    --yellow: #ffd31c;
    --ink: #111e40;
    --muted: #485674;
    --paper: #fff;
    --tint: #f1f5ff;
    --line: #d9e2f5;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 5.2vw, 4.65rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
p { line-height: 1.65; }
:focus-visible { outline: 3px solid #2849de; outline-offset: 5px; }
.wrap { width: min(100% - 64px, 1200px); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; z-index: 4; padding: 10px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav, .footer-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: clamp(1rem, 2.1vw, 1.6rem); font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.brand img { flex: none; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 38px); align-items: center; }
.nav nav a:not(.button) { text-decoration: none; font-weight: 700; }
.nav nav a:not(.button):hover, .nav nav a:not(.button)[aria-current] { color: var(--deep-blue); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; width: fit-content; padding: 10px 22px; border: 0; border-radius: 9px; font: inherit; font-weight: 800; color: var(--ink); background: var(--yellow); text-decoration: none; cursor: pointer; }
.button:hover { background: #ffdf59; }
.button-small { min-height: 42px; padding-inline: 18px; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(390px, 44vw, 640px); background: var(--deep-blue); }
.hero-image, .hero-image img { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero-image { z-index: -1; }
.hero-image img { object-fit: cover; object-position: 66% center; }
.hero-inner { padding-block: 42px; }
.hero-copy { width: min(100%, 650px); padding: clamp(28px, 4vw, 56px); color: white; background: var(--deep-blue); }
.hero-copy h1 { max-width: 13ch; }
.hero-copy .button { margin-top: 28px; }
.hero-copy .button:focus-visible { outline-color: white; }
.section { padding-block: clamp(48px, 6vw, 88px); }
.system { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.system p, .base-section p { font-size: 1.1rem; color: var(--muted); }
.section-tint { background: var(--tint); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.text-link { color: var(--deep-blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-copy { padding: 24px; }
.feature p { margin-top: 10px; color: var(--muted); }
.base-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 72px); align-items: center; }
.base-image { width: 100%; height: auto; border-radius: 14px; }
.base-section h2 + p { margin-top: 14px; }
.base-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin-block: 22px; }
.base-list li { padding: 7px 12px; border-radius: 7px; background: var(--tint); font-weight: 650; }
.base-section .storage-note { border-left: 5px solid var(--yellow); padding: 8px 0 8px 14px; color: var(--ink); font-weight: 700; }
.page-intro { padding-block: clamp(52px, 8vw, 100px); background: var(--deep-blue); color: white; }
.page-intro p { margin-top: 16px; font-size: 1.15rem; }
.secondary-grid { margin-top: 24px; }
.feature-text { display: flex; gap: 15px; align-items: start; padding: 24px; }
.feature-text h2, .availability h2 { font-size: 1.55rem; }
.module-icon { display: block; flex: 0 0 30px; height: 26px; margin-top: 4px; border: 2px solid var(--royal); border-radius: 4px; position: relative; }
.folder::before { content: ""; position: absolute; top: -6px; left: -2px; width: 14px; height: 6px; border: 2px solid var(--royal); border-bottom: 0; border-radius: 4px 4px 0 0; }
.tasks::before { content: ""; position: absolute; inset: 6px; background: linear-gradient(var(--royal) 2px, transparent 2px, transparent 6px, var(--royal) 6px, var(--royal) 8px, transparent 8px); }
.availability { margin-top: 30px; padding: 24px; background: var(--tint); border-left: 5px solid var(--yellow); }
.availability p { margin: 8px 0 13px; }
.login-section { display: grid; place-items: center; padding: 55px 20px; min-height: max(560px, calc(100vh - 152px)); background: var(--tint); }
.login-card { width: min(100%, 460px); border: 1px solid var(--line); padding: clamp(24px, 5vw, 42px); border-radius: 14px; background: white; }
.login-card h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.login-card p { margin-top: 9px; color: var(--muted); }
.login-card .message { background: var(--tint); padding: 10px; color: var(--ink); }
.login-card form { display: grid; gap: 8px; margin: 24px 0; }
.login-card label { font-weight: 700; }
.login-card input { min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #8b9bb9; border-radius: 6px; font: inherit; color: var(--ink); margin-bottom: 10px; }
.login-card .button { width: 100%; }
.site-footer { background: var(--ink); color: white; }
.site-footer a:focus-visible { outline-color: var(--yellow); }
.site-footer p { color: #d6e0f8; }
.site-footer p a { text-underline-offset: 3px; }
@media (max-width: 840px) {
    .system, .base-section { grid-template-columns: 1fr; gap: 20px; }
    .base-image { max-width: 530px; }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .nav { min-height: 64px; gap: 8px; }
    .nav nav { gap: 12px; font-size: .9rem; }
    .nav-system { display: none; }
    .brand { gap: 6px; }
    .brand img { width: 31px; height: 31px; }
    .button-small { padding-inline: 12px; min-height: 38px; }
    .hero { min-height: 490px; align-items: end; }
    .hero-image img { object-position: center 45%; }
    .hero-inner { padding-block: 24px; }
    .hero-copy { width: 100%; padding: 23px; }
    .hero-copy .button { margin-top: 18px; }
    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .secondary-grid { margin-top: 16px; }
    .footer-inner { flex-wrap: wrap; gap: 8px; padding-block: 16px; }
}
@media (max-width: 345px) {
    .brand img { display: none; }
}
