:root {
    --navy: #07141f;
    --navy-mid: #0f2d4a;
    --navy-light: #1a4d7a;
    --teal: #47c6c8;
    --teal-deep: #2a9aa0;
    --accent: #3ec4d0;
    --bg: #071018;
    --surface: #0d1c2b;
    --card: rgba(255, 255, 255, 0.045);
    --text: #f3f7fb;
    --muted: #9bb0c3;
    --line: rgba(255, 255, 255, 0.1);
    --radius: 18px;
    --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; }

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(71, 198, 200, 0.18), transparent 55%),
        radial-gradient(700px 420px at -10% 20%, rgba(26, 77, 122, 0.45), transparent 50%),
        linear-gradient(180deg, #07141f 0%, #081018 100%);
}

.wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(7, 20, 31, 0.72);
    border-bottom: 1px solid transparent;
}
body.is-scrolled .site-header,
body.is-legal .site-header {
    border-bottom-color: var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.brand img {
    display: block;
    height: 58px;
    width: auto;
}
.nav {
    display: flex;
    gap: 26px;
    align-items: center;
}
.nav a {
    text-decoration: none;
    color: #d7e4ef;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav a:hover { color: #fff; }
.nav-login { opacity: 0.7; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.soon-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(71, 198, 200, 0.12);
    color: var(--teal);
    border: 1px solid rgba(71, 198, 200, 0.28);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.soon-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(71, 198, 200, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 650;
    border: 1px solid transparent;
    font-size: 0.92rem;
}
.btn-primary {
    background: linear-gradient(180deg, #55d3d6 0%, #2a9aa0 100%);
    color: #042026;
}
.btn-primary:hover { filter: brightness(1.06); color: #042026; }
.btn-ghost {
    background: transparent;
    color: #e8f1f8;
    border-color: var(--line);
}
.btn-lg { padding: 14px 22px; font-size: 1rem; }

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    padding: 12px 10px;
    flex-direction: column;
    justify-content: space-between;
}
.menu-toggle span {
    display: block;
    height: 1.5px;
    background: #fff;
}

.hero {
    padding: 56px 0 28px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 36px;
    align-items: center;
}
.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(3rem, 7vw, 5.4rem);
    letter-spacing: -0.05em;
    line-height: 0.95;
    max-width: 10ch;
}
.hero-lead {
    margin: 0 0 28px;
    max-width: 34rem;
    color: #c5d5e4;
    font-size: 1.2rem;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.mail-plain {
    color: #fff;
    font-weight: 650;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(71, 198, 200, 0.5);
    padding-bottom: 2px;
}
.mail-plain:hover { color: var(--teal); }
.hero-note {
    margin: 18px 0 0;
    color: #8ea3b7;
    font-size: 0.92rem;
}

.hero-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 32px 28px;
    overflow: hidden;
}
.hero-panel-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -60px;
    top: -70px;
    background: radial-gradient(circle, rgba(71,198,200,0.28), transparent 70%);
}
.hero-panel-kicker {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hero-panel strong {
    display: block;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}
.hero-panel p {
    margin: 0 0 22px;
    color: #b7c8d6;
}
.mail-box {
    display: block;
    background: #061018;
    border: 1px solid rgba(71, 198, 200, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    word-break: break-all;
}
.mail-box span {
    display: block;
    color: var(--teal);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.section { padding: 72px 0 24px; }
.section-head { margin-bottom: 28px; }
.section h2, .cta-band h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.feature-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 18px 20px;
    min-height: 168px;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(71, 198, 200, 0.1);
    color: var(--teal);
    margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}
.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.ecosystem { padding-top: 88px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.product {
    background: #0c1a28;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}
.product-accent {
    background: linear-gradient(180deg, rgba(71,198,200,0.16), #0c1a28 55%);
    border-color: rgba(71, 198, 200, 0.28);
}
.product-domain {
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}
.product h3 {
    margin: 0 0 16px;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}
.product ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    color: #c3d2df;
    flex: 1;
}
.product li { padding: 5px 0; }
.product li::before {
    content: "– ";
    color: var(--teal);
}

.cta-band {
    margin: 72px 0 0;
    padding: 28px 0 88px;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, #12324d, #0a2236 55%, #0d3a3d);
    border: 1px solid rgba(71, 198, 200, 0.22);
    border-radius: 28px;
    padding: 40px;
}
.cta-grid h2 { max-width: 14ch; margin-bottom: 12px; }
.cta-grid p { color: #c5d5e4; margin: 0; }
.cta-card {
    background: rgba(4, 12, 18, 0.45);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.cta-card p {
    margin: 0;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.cta-mail {
    color: #fff;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 750;
    text-decoration: none;
    word-break: break-all;
    letter-spacing: -0.03em;
}
.cta-mail:hover { color: var(--teal); }
.cta-card .btn { align-self: flex-start; margin-top: 6px; }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    color: #8ea3b7;
    font-size: 0.92rem;
}
.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.site-footer a { color: #8ea3b7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 16px; }

body.is-legal { background: #f4f7fb; color: #1e293b; }
body.is-legal .page-bg { display: none; }
body.is-legal .site-header {
    background: #fff;
    border-bottom-color: #e2e8f0;
    position: relative;
}
body.is-legal .brand img { height: 52px; }
body.is-legal .btn-ghost {
    color: #0f2d4a;
    border-color: #e2e8f0;
}
body.is-legal .legal {
    color: #334155;
}
.legal {
    max-width: 760px;
    margin: 40px auto 72px;
    padding: 0 20px;
}
.legal h1 { color: #0f2d4a; }
.legal h2, .legal h3 { color: #1a4d7a; }
.legal p, .legal li { color: #475569; }
body.is-legal .site-footer {
    background: #fff;
    border-top-color: #e2e8f0;
    color: #64748b;
}
body.is-legal .site-footer a { color: #64748b; }

@media (max-width: 900px) {
    .hero-grid,
    .product-grid,
    .cta-grid,
    .feature-wall { grid-template-columns: 1fr; }
    .feature-wall { grid-template-columns: 1fr 1fr; }
    .nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 20px;
        right: 20px;
        background: #0c1a28;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .nav.is-open { display: flex; }
    .menu-toggle { display: flex; }
    .header-actions .btn { display: none; }
    .hero h1 { max-width: none; }
    .cta-grid { padding: 24px; }
}

@media (max-width: 560px) {
    .feature-wall { grid-template-columns: 1fr; }
    .header-actions .soon-pill { display: none; }
    .brand img { height: 48px; }
    .site-header .wrap { min-height: 74px; }
}
