:root {
    --ink: #132d73;
    --ink-deep: #081a4e;
    --muted: #55627f;
    --blue: #23489d;
    --orange: #f9a21b;
    --orange-deep: #ed8712;
    --surface: #fff;
    --soft: #f5f7fc;
    --line: #dbe3f4;
    --radius: 22px;
    --shadow: 0 18px 48px rgba(19, 45, 115, .12);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: var(--ink-deep); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
.public-shell { width: min(1140px, calc(100% - 40px)); margin: auto; }
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 20; padding: 8px 12px; background: #fff; }

.public-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px); border-bottom: 3px solid var(--orange); }
.public-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand img { display: block; width: 174px; height: 58px; object-fit: contain; object-position: left center; }
.public-nav nav { display: flex; gap: 28px; }
.public-nav nav a, .public-footer a { color: var(--muted); text-decoration: none; }
.public-nav nav a { position: relative; font-size: 15px; font-weight: 700; }
.public-nav nav a::after { position: absolute; right: 0; bottom: -12px; left: 0; height: 3px; background: var(--orange); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.public-nav nav a:hover, .public-nav nav a[aria-current=page] { color: var(--ink); }
.public-nav nav a:hover::after, .public-nav nav a[aria-current=page]::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--orange); border-radius: 9px; padding: 12px 19px; background: var(--orange); box-shadow: 0 7px 16px rgba(237, 135, 18, .22); color: #17204a; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { background: #ffb337; box-shadow: 0 10px 20px rgba(237, 135, 18, .28); transform: translateY(-1px); }
.button-small { padding: 10px 16px; font-size: 14px; }
.button-ghost { background: #fff; border-color: rgba(255, 255, 255, .54); box-shadow: none; color: #fff; }
.button-outline { background: transparent; border-color: var(--blue); box-shadow: none; color: var(--blue); }

.hero { position: relative; overflow: hidden; padding: 96px 0; background: linear-gradient(125deg, var(--ink-deep), var(--ink) 55%, #2451ab); color: #fff; }
.hero::before { position: absolute; top: -180px; right: -130px; width: 550px; height: 550px; border: 80px solid rgba(249, 162, 27, .94); border-radius: 50%; content: ""; }
.hero::after { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .75fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.25; letter-spacing: -.055em; }
.hero h1 em { color: #ffd276; font-style: normal; }
.hero p:not(.eyebrow) { max-width: 610px; color: #e1eaff; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .button-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .54); color: #fff; }
.hero .button-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.signal-card { padding: 26px; border: 1px solid rgba(255, 255, 255, .3); border-top: 5px solid var(--orange); border-radius: var(--radius); background: rgba(9, 31, 88, .56); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.signal-card strong { display: block; color: #ffd276; font-size: 42px; }
.signal-card p { margin: 4px 0 20px; font-size: 14px !important; }
.public-login-card { width: min(100%, 390px); justify-self: end; }
.public-login-card h2 { margin: 0; color: #fff; font-size: 28px; line-height: 1.15; }
.public-login-card form { display: grid; gap: 9px; margin-top: 18px; }
.public-login-card label { color: #fff; font-size: 13px; font-weight: 750; }
.public-login-card input { width: 100%; min-height: 45px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 8px; padding: 9px 12px; background: rgba(255, 255, 255, .96); color: var(--ink-deep); font: inherit; }
.public-login-card input:focus { border-color: var(--orange); outline: 3px solid rgba(249, 162, 27, .3); }
.public-login-card .button { width: 100%; margin-top: 6px; }
.public-password-field { position: relative; }
.public-password-field input { padding-right: 48px; }
.public-password-field button { position: absolute; top: 50%; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 6px; transform: translateY(-50%); background: transparent; color: var(--blue); cursor: pointer; }
.login-error { margin: 14px 0 !important; border-radius: 8px; padding: 9px 11px; background: #fff1d8; color: #7a3900 !important; font-size: 13px !important; font-weight: 700; }
.public-recaptcha { overflow: hidden; margin-top: 4px; }

.section { padding: 74px 0; }
.section:nth-of-type(odd) { background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 4vw, 44px); letter-spacing: -.04em; line-height: 1.1; }
.section-heading p { margin: 8px 0 0; color: var(--muted); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--orange-deep); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 30px rgba(7, 26, 61, .06); transition: box-shadow .2s ease, transform .2s ease; }
.content-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.content-card > img { width: 100%; height: 176px; object-fit: cover; }
.content-card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 22px; }
.content-card h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
.content-card h2 a { color: var(--ink); text-decoration: none; }
.content-card p:not(.eyebrow) { flex: 1; margin: 0 0 17px; color: var(--muted); font-size: 15px; }
.offer-tag { display: inline-flex; margin: -3px 0 16px; padding: 4px 10px; border-radius: 4px; background: #fff1d8; color: #9c5000; font-size: 13px; font-weight: 800; }
.announcement-list { display: grid; gap: 12px; }
.announcement { display: flex; gap: 18px; padding: 21px; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.announcement:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.announcement-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 9px; background: #fff1d8; color: #a95800; font-weight: 900; }
.announcement h2 { margin: 0 0 3px; font-size: 18px; }
.announcement p { margin: 0; color: var(--muted); font-size: 14px; }
.promotion-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; border-radius: var(--radius); background: linear-gradient(125deg, #122d72, #244aa0); box-shadow: var(--shadow); color: #fff; }
.promotion-band .eyebrow { color: #ffd276; }
.promotion-band h2 { margin: 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.12; }
.promotion-band p:not(.eyebrow) { color: #e1eaff; }
.page-hero { padding: 64px 0 32px; border-bottom: 5px solid var(--orange); background: linear-gradient(125deg, var(--ink-deep), var(--blue)); color: #fff; }
.page-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.04em; }
.page-hero p { max-width: 650px; color: #dceaff; }
.detail { padding: 60px 0; }
.detail article { max-width: 820px; margin: auto; overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); background: #fff; }
.detail article > img { width: 100%; max-height: 440px; object-fit: cover; }
.detail-body { padding: clamp(26px, 5vw, 58px); }
.detail-body h1 { margin: 0 0 16px; color: var(--ink); font-size: clamp(32px, 5vw, 54px); line-height: 1.1; letter-spacing: -.045em; }
.detail-meta { color: var(--muted); font-size: 14px; }
.detail-copy { color: #25344f; font-size: 18px; }
.detail-copy h2, .detail-copy h3 { color: var(--ink); line-height: 1.2; }
.legal { max-width: 840px; margin: auto; padding: clamp(28px, 6vw, 64px); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); background: #fff; }
.legal h1 { color: var(--ink); font-size: 44px; letter-spacing: -.04em; }

.public-footer { padding: 52px 0 20px; border-top: 5px solid var(--orange); background: var(--ink-deep); color: #d7e4f9; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.brand-light { display: inline-flex; padding: 8px 11px; border-radius: 8px; background: #fff; }
.brand-light img { width: 185px; height: 62px; }
.public-footer h2 { margin: 0 0 14px; color: #ffd276; font-size: 14px; }
.public-footer a, .footer-button { display: block; margin: 8px 0; color: #c9d6ec; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.public-footer a:hover, .footer-button:hover { color: #fff; }
.copyright { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; color: #a9bbd8; font-size: 13px; }
.cookie-banner { position: fixed; z-index: 30; bottom: 16px; left: 50%; width: min(920px, calc(100% - 28px)); transform: translateX(-50%); padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.cookie-banner h2 { margin: 0; color: var(--ink); font-size: 20px; }
.cookie-banner p:not(.eyebrow) { margin: 6px 0; color: var(--muted); font-size: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie-preferences { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.cookie-option { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; }
.cookie-option input { margin-top: 4px; }
.cookie-option small { display: block; color: var(--muted); }

@media (max-width: 780px) {
    .public-nav nav { display: none; }
    .public-nav { min-height: 68px; }
    .public-shell { width: min(100% - 28px, 1140px); }
    .brand img { width: 142px; height: 48px; }
    .hero { padding: 64px 0; }
    .hero::before { top: -130px; right: -185px; width: 410px; height: 410px; border-width: 58px; }
    .hero-grid, .content-grid, .footer-grid { grid-template-columns: 1fr; }
    .public-login-card { display: block; justify-self: stretch; }
    .section { padding: 54px 0; }
    .section-heading, .promotion-band { align-items: flex-start; flex-direction: column; }
    .content-card > img { height: 190px; }
    .cookie-actions { justify-content: flex-start; }
    .button-small { padding: 9px 13px; font-size: 13px; }
}
