@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #102b43;
    --muted: #667987;
    --line: #d9e4e7;
    --paper: #f5f8f7;
    --white: #ffffff;
    --navy: #071f4c;
    --teal: #0d7882;
    --teal-dark: #075c65;
    --lime: #d7e985;
    --shadow: 0 24px 80px rgba(16, 43, 67, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(217, 228, 231, .8);
    background: rgba(245, 248, 247, .9);
    backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; color: #496270; font-size: 13px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--teal); }
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 19px;
    border: 1px solid var(--teal);
    border-radius: 12px;
    background: var(--teal);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--teal-dark); }
.button.secondary { border-color: var(--line); background: var(--white); color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 94px 0 86px; }
.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 28%, rgba(215, 233, 133, .42), transparent 25%),
        linear-gradient(rgba(13, 120, 130, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 120, 130, .055) 1px, transparent 1px);
    background-size: auto, 54px 54px, 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 74px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 2px; background: var(--teal); content: ""; }
h1, h2 { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
h1 { max-width: 720px; font-size: clamp(52px, 6vw, 82px); line-height: .98; letter-spacing: -.035em; }
h1 em { color: var(--teal); font-style: normal; }
.hero-copy > p { max-width: 620px; margin: 27px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 28px; color: #819098; font-size: 12px; font-weight: 600; }

.portal-card { position: relative; padding: 30px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); color: white; }
.portal-card::after { position: absolute; width: 130px; height: 130px; right: -24px; top: -24px; border: 28px solid rgba(215, 233, 133, .12); border-radius: 50%; content: ""; }
.portal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.portal-label { color: #b9c9d0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.live { display: flex; align-items: center; gap: 7px; color: var(--lime); font-size: 12px; font-weight: 700; }
.live::before { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(215, 233, 133, .12); content: ""; }
.portal-card h2 { max-width: 370px; margin-top: 36px; font-size: 36px; line-height: 1.08; }
.portal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.portal-item { min-height: 106px; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.055); }
.portal-item b { display: block; margin-bottom: 8px; color: var(--lime); font-size: 18px; }
.portal-item span { color: #c6d2d7; font-size: 12px; line-height: 1.5; }

.section { padding: 90px 0; }
.section.white { background: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-head h2 { max-width: 680px; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.06; }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.feature-number { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.feature h3 { margin: 54px 0 12px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.security { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; padding: 48px; border-radius: 28px; background: #e8f0ef; }
.security h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
.check-list { display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding-bottom: 14px; border-bottom: 1px solid rgba(16,43,67,.1); }
.check:last-child { padding-bottom: 0; border: 0; }
.check i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--teal); color: white; font-style: normal; font-weight: 800; }
.check b { display: block; margin: 2px 0 4px; font-size: 14px; }
.check span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; border-radius: 28px; background: var(--navy); color: white; }
.cta h2 { max-width: 670px; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.02; }
.cta .button { flex: 0 0 auto; border-color: var(--lime); background: var(--lime); color: var(--ink); }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--teal); }

.legal-hero { padding: 78px 0 44px; }
.legal-hero h1 { max-width: 850px; font-size: clamp(44px, 6vw, 72px); }
.legal-hero p { max-width: 720px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.legal-meta { display: inline-flex; margin-top: 22px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #647984; font-size: 11px; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-bottom: 90px; }
.legal-nav { position: sticky; top: 100px; align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.legal-nav b { display: block; margin-bottom: 10px; font-size: 12px; }
.legal-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.legal-nav a:hover { color: var(--teal); }
.legal-content { padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(16,43,67,.05); }
.legal-content section + section { margin-top: 42px; padding-top: 42px; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 17px; font-family: "Manrope", sans-serif; font-size: 23px; font-weight: 800; }
.legal-content h3 { margin: 25px 0 10px; font-size: 15px; }
.legal-content p, .legal-content li { color: #536b78; font-size: 14px; line-height: 1.8; }
.legal-content ul { margin: 12px 0 0; padding-left: 20px; }
.legal-content .notice { padding: 20px; border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; background: #edf6f5; }
.legal-content .button { margin-top: 8px; }

@media (max-width: 900px) {
    .nav > a:not(.button) { display: none; }
    .hero { padding-top: 62px; }
    .hero-grid, .security, .legal-layout { grid-template-columns: 1fr; }
    .hero-grid { gap: 42px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .section-head { align-items: start; flex-direction: column; }
    .legal-nav { position: static; display: none; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 68px; }
    .brand span { font-size: 12px; }
    .nav { gap: 10px; }
    .nav .button { min-height: 39px; padding: 0 13px; }
    .hero { padding: 50px 0 64px; }
    h1 { font-size: 47px; }
    .hero-copy > p { font-size: 16px; }
    .portal-card { padding: 22px; border-radius: 22px; }
    .portal-list, .feature-grid { grid-template-columns: 1fr; }
    .portal-item { min-height: 90px; }
    .section { padding: 64px 0; }
    .security, .cta, .legal-content { padding: 26px; }
    .cta { align-items: flex-start; flex-direction: column; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .legal-hero { padding-top: 54px; }
}
