:root {
    --bg: #071016;
    --bg-soft: #0d1921;
    --surface: #10222c;
    --text: #eef6f8;
    --muted: #9fb1b9;
    --light: #f4f8f8;
    --ink: #102027;
    --ink-soft: #586970;
    --accent: #68e0bb;
    --accent-strong: #2fcaa0;
    --line: rgba(255,255,255,.11);
    --shadow: 0 25px 70px rgba(0,0,0,.24);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, 100%); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7,16,22,.84);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.035em; font-size: 1.05rem; white-space: nowrap; }
.brand > span:last-child > span { color: var(--accent); }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; display: inline-grid; place-items: center; color: #06110e; background: var(--accent); font-weight: 900; box-shadow: 0 0 30px rgba(104,224,187,.18); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; color: #cad6da; }
.main-nav a, .nav-link-button { transition: color .2s ease, background .2s ease, border-color .2s ease; }
.main-nav a:hover, .nav-link-button:hover { color: white; }
.nav-member { border: 1px solid rgba(104,224,187,.38); padding: 9px 15px; border-radius: 999px; color: var(--accent) !important; }
.nav-member:hover { background: rgba(104,224,187,.08); }
.logout-form { margin: 0; }
.nav-link-button { border: 0; background: none; color: #cad6da; padding: 0; cursor: pointer; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; }

.hero { position: relative; overflow: hidden; padding: 100px 0 84px; background: radial-gradient(circle at 75% 35%, rgba(47,202,160,.11), transparent 33%), linear-gradient(160deg, #071016 20%, #0a171e 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, black, transparent 80%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .16em; margin-bottom: 14px; }
.hero h1, .page-hero h1, .member-head h1, .legal-page h1, .login-copy h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .93; letter-spacing: -.065em; font-weight: 790; }
.hero h1 span { color: var(--accent); }
.hero-copy > p { max-width: 650px; margin: 28px 0 0; font-size: 1.16rem; color: #bbcacd; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 750; cursor: pointer; }
.button-primary { background: var(--accent); color: #06110e; }
.button-primary:hover { background: #82e8c8; }
.button-ghost { border-color: rgba(255,255,255,.16); color: white; background: rgba(255,255,255,.02); }
.button-ghost:hover { background: rgba(255,255,255,.06); }
.button-light { background: white; color: #09211a; }
.button-full { width: 100%; }
.hero-points { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 34px; color: #8ea3aa; font-size: .87rem; }
.hero-points span::before { content: "✓"; color: var(--accent); margin-right: 7px; font-weight: 900; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual img { width: min(560px, 100%); position: relative; z-index: 2; filter: drop-shadow(0 36px 50px rgba(0,0,0,.28)); }
.glow { position: absolute; border-radius: 50%; filter: blur(20px); }
.glow-one { width: 250px; height: 250px; background: rgba(104,224,187,.12); top: 20%; right: 4%; }
.glow-two { width: 180px; height: 180px; background: rgba(74,150,217,.09); bottom: 12%; left: 3%; }

.section { padding: 92px 0; }
.section-light { background: var(--light); color: var(--ink); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2, .split-copy h2, .cta-box h2, .two-column-content h2, .solution-row h2, .statement-card strong { margin: 0; letter-spacing: -.04em; line-height: 1.08; }
.section-heading h2, .split-copy h2, .cta-box h2, .two-column-content h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.section-heading p { color: var(--ink-soft); font-size: 1.05rem; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card, .plain-card { border: 1px solid #dfe9e9; background: white; border-radius: 20px; padding: 30px; box-shadow: 0 12px 30px rgba(16,32,39,.04); }
.feature-card h3, .plain-card h3 { margin: 22px 0 10px; font-size: 1.25rem; letter-spacing: -.02em; }
.feature-card p, .plain-card p { color: var(--ink-soft); margin: 0; }
.icon-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #0b3b2f; background: #dff8ef; font-weight: 850; font-size: .78rem; }

.split-section { background: #0a141b; }
.split-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.panel-image { background: linear-gradient(145deg, #10232d, #0d1b23); border: 1px solid var(--line); border-radius: 30px; padding: 34px; box-shadow: var(--shadow); }
.split-copy p { color: #a9bbc1; font-size: 1.06rem; max-width: 650px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--accent); font-weight: 800; margin-top: 10px; }

.cta-section { background: var(--light); color: var(--ink); padding-top: 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px; border-radius: 28px; background: #0c3127; color: white; overflow: hidden; position: relative; }
.cta-box::after { content: ""; width: 260px; height: 260px; background: rgba(104,224,187,.12); border-radius: 50%; position: absolute; right: -80px; top: -100px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { margin: 10px 0 0; color: #bdd2cc; max-width: 720px; }

.page-hero { padding: 90px 0 78px; background: radial-gradient(circle at 82% 25%, rgba(104,224,187,.10), transparent 35%), #081219; }
.page-hero.compact h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); max-width: 850px; }
.page-hero p { max-width: 700px; color: #adbec3; font-size: 1.1rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.page-hero-grid img { width: min(370px, 100%); justify-self: end; }
.company-hero { min-height: 470px; display: flex; align-items: center; }

.solution-list { border-top: 1px solid #d9e4e5; }
.solution-row { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 38px 0; border-bottom: 1px solid #d9e4e5; }
.solution-number { color: var(--accent-strong); font-weight: 850; letter-spacing: .08em; }
.solution-row h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.solution-row p { max-width: 800px; color: var(--ink-soft); }
.metrics-section { padding: 70px 0; background: #0a171e; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metrics-grid > div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 24px; }
.metrics-grid strong { display: block; color: var(--accent); font-size: 2.6rem; line-height: 1; letter-spacing: -.05em; }
.metrics-grid span { color: #aabcc1; }

.two-column-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-column-content p { color: var(--ink-soft); font-size: 1.06rem; }
.statement-card { border-radius: 26px; background: #0c3127; color: white; padding: 42px; }
.statement-card span { display: block; color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .14em; margin-bottom: 16px; }
.statement-card strong { display: block; font-size: 2rem; }
.values-section { background: #eaf1f1; color: var(--ink); }

.member-shell { min-height: 72vh; padding: 80px 0 100px; background: radial-gradient(circle at 82% 4%, rgba(104,224,187,.08), transparent 28%), #081219; }
.member-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.member-head h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); }
.member-head p { color: #a9bbc1; }
.member-status { display: inline-flex; align-items: center; gap: 8px; color: #bfd1d5; font-size: .88rem; border: 1px solid var(--line); padding: 9px 13px; border-radius: 999px; }
.member-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.member-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.member-card { border-radius: 22px; padding: 30px; background: rgba(255,255,255,.035); border: 1px solid var(--line); min-height: 260px; }
.member-card-label { color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.member-card h2 { margin: 24px 0 12px; letter-spacing: -.03em; }
.member-card p { color: #a9bbc1; }
.muted { color: #71858c; font-size: .88rem; }

.login-section { min-height: 76vh; display: grid; place-items: center; padding: 70px 20px; background: radial-gradient(circle at 28% 40%, rgba(104,224,187,.10), transparent 24%), #081219; }
.login-panel { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; }
.login-copy h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
.login-copy p { color: #aebfc4; max-width: 520px; }
.login-note { margin-top: 28px; color: #80959b; font-size: .9rem; }
.login-card { background: #f7fbfb; color: var(--ink); padding: 34px; border-radius: 24px; box-shadow: var(--shadow); }
.login-card label { display: block; font-weight: 750; font-size: .9rem; margin: 18px 0 7px; }
.login-card input { width: 100%; min-height: 48px; border: 1px solid #ccd9db; border-radius: 12px; background: white; padding: 0 14px; outline: none; }
.login-card input:focus { border-color: #5dcfb0; box-shadow: 0 0 0 3px rgba(93,207,176,.14); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 90px; }
.password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #2e7c69; font-size: .78rem; font-weight: 800; cursor: pointer; }
.login-card .button { margin-top: 24px; border: 0; }
.form-error { padding: 12px 14px; background: #fff0ef; border: 1px solid #f0cac7; border-radius: 11px; color: #912c24; font-size: .9rem; }

.legal-page { background: var(--light); color: var(--ink); padding: 84px 0 100px; min-height: 70vh; }
.legal-wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(3rem, 6vw, 5rem); }
.legal-intro { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 42px; }
.legal-block { padding: 26px 0; border-top: 1px solid #d8e3e4; }
.legal-block h2 { margin: 0 0 10px; font-size: 1.25rem; }
.legal-block p { margin: 0; color: #42565d; }
.warning-block { background: #fff9e9; border: 1px solid #f1dfae; border-radius: 16px; padding: 22px; margin: 20px 0; }

.site-footer { background: #050c10; border-top: 1px solid rgba(255,255,255,.07); padding: 62px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 50px; }
.footer-brand { margin-bottom: 14px; }
.footer-grid p { color: #71858c; max-width: 420px; }
.footer-grid h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #9cb0b6; margin: 0 0 14px; }
.footer-grid a { display: block; color: #81949a; margin: 8px 0; font-size: .92rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; color: #5f7379; font-size: .82rem; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 16px; background: #0c1820; border: 1px solid var(--line); box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a, .nav-link-button { padding: 12px; }
    .nav-member { margin-top: 6px; }
    .hero-grid, .split-grid, .page-hero-grid, .two-column-content, .login-panel { grid-template-columns: 1fr; }
    .hero { padding-top: 72px; }
    .hero-visual { min-height: 390px; }
    .hero-visual img { width: min(500px, 90%); }
    .card-grid.three, .member-grid, .metrics-grid { grid-template-columns: 1fr; }
    .cta-box, .member-head { align-items: flex-start; flex-direction: column; }
    .page-hero-grid img { justify-self: start; width: min(310px, 76%); }
    .login-panel { max-width: 620px; gap: 38px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1180px); }
    .nav-wrap { min-height: 68px; }
    .brand { font-size: .94rem; }
    .brand-mark { width: 32px; height: 32px; }
    .hero h1 { font-size: 3.4rem; }
    .hero-copy > p { font-size: 1rem; }
    .hero-visual { min-height: 320px; }
    .section { padding: 70px 0; }
    .feature-card, .plain-card { padding: 24px; }
    .solution-row { grid-template-columns: 1fr; gap: 8px; }
    .cta-box { padding: 30px; }
    .login-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}
