:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --bg-2: #eef1f5;
    --surface: #ffffff;
    --surface-2: #f3f5f8;
    --text: #0b1220;
    --text-2: #475467;
    --text-3: #7a8699;
    --line: rgba(11, 18, 32, 0.08);
    --line-strong: rgba(11, 18, 32, 0.15);
    --ink: #0b1220;
    --ink-fg: #ffffff;
    --accent: #1f6fd1;
    --accent-soft: rgba(31, 111, 209, 0.1);
    --primary: #1f6fd1;
    --primary-soft: rgba(31, 111, 209, 0.1);
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 2px 8px rgba(11, 18, 32, 0.04);
    --shadow: 0 18px 50px rgba(11, 18, 32, 0.08);
    --shadow-lg: 0 30px 80px rgba(11, 18, 32, 0.16);
    --ring: 0 0 0 3px rgba(31, 111, 209, 0.28);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sans: "Raleway", ui-sans-serif, system-ui, sans-serif;
    --nav-h: 72px;
    --brand-grad: linear-gradient(100deg, #2f8fe0 0%, #8b4fe0 38%, #e5485e 70%, #f59a1f 100%);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #07090e;
    --bg-2: #0c1018;
    --surface: #10141d;
    --surface-2: #161b26;
    --text: #f2f4f8;
    --text-2: #aab3c2;
    --text-3: #7c8697;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);
    --ink: #f2f4f8;
    --ink-fg: #0b1220;
    --accent: #5cb3f5;
    --accent-soft: rgba(92, 179, 245, 0.14);
    --primary: #5cb3f5;
    --primary-soft: rgba(92, 179, 245, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
    --ring: 0 0 0 3px rgba(92, 179, 245, 0.35);
    --brand-grad: linear-gradient(100deg, #5cb3f5 0%, #a77cf0 38%, #f0687b 70%, #f7ae47 100%);
}

.tone-sky { --tone: #2f8fe0; }
.tone-rose { --tone: #e5485e; }
.tone-green { --tone: #1ea47e; }
.tone-orange { --tone: #f08a24; }
.tone-violet { --tone: #8b4fe0; }
.tone-teal { --tone: #0f9fa8; }
.tone-gold { --tone: #c99318; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

html, body, button, input, select, textarea, kbd { font-family: var(--sans); }

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 10px;
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }

.wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.site { position: relative; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.005em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn.primary:hover svg { transform: translateX(2px); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 15px; }

.btn.primary {
    background: var(--ink);
    color: var(--ink-fg);
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.18);
}
.btn.primary:hover { box-shadow: 0 12px 30px rgba(11, 18, 32, 0.24); }

.btn.ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--line-strong);
}
.btn.ghost:hover { border-color: var(--text-3); }

.btn.light { background: #ffffff; color: #0b1220; }
.btn.outline-light { color: #ffffff; border-color: rgba(255, 255, 255, 0.24); }
.btn.outline-light:hover { background: rgba(255, 255, 255, 0.08); }

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s, border-color 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; }
.i-moon { display: none; }
html[data-theme="dark"] .i-sun { display: none; }
html[data-theme="dark"] .i-moon { display: block; }

.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
    border-bottom-color: var(--line);
    background: color-mix(in srgb, var(--bg) 86%, transparent);
}

.nav-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
}
.logo img { width: 100%; height: 100%; }
.brand-copy { line-height: 1.1; }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: 0.14em; font-weight: 800; }
.brand-copy small {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    padding: 8px 12px;
    border-radius: 999px;
    transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-actions .owaict-apps-btn { width: 40px; height: 40px; border-radius: 12px; }
.nav-cta { margin-left: 4px; }
.menu-btn { display: none; }

.drawer {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.drawer.open { display: grid; gap: 2px; animation: drop 0.25s var(--ease); }
.drawer a:not(.btn) {
    padding: 13px 14px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-2);
}
.drawer a:not(.btn):hover { background: var(--surface-2); color: var(--text); }
.drawer .btn { margin-top: 6px; }

/* Shared section bits */
.section { padding: 104px 0; position: relative; }
.section.alt { background: var(--bg-2); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-grad);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 {
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin-bottom: 16px;
}
.section-head p {
    margin: 0;
    color: var(--text-2);
    font-size: 17px;
    line-height: 1.65;
}

.tone-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 13%, transparent);
}
.tone-ico svg { width: 18px; height: 18px; }
.tone-ico.sm { width: 26px; height: 26px; border-radius: 8px; }
.tone-ico.sm svg { width: 14px; height: 14px; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tone);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero */
.hero { position: relative; padding: 56px 0 56px; overflow: hidden; }
.hero-glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 760px;
    pointer-events: none;
    background:
        radial-gradient(520px 340px at 12% 18%, rgba(47, 143, 224, 0.14), transparent 70%),
        radial-gradient(460px 320px at 88% 10%, rgba(139, 79, 224, 0.12), transparent 70%),
        radial-gradient(420px 300px at 70% 85%, rgba(245, 154, 31, 0.1), transparent 70%);
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 64px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: 26px;
}
.pill-dots { display: inline-flex; padding: 4px 6px; border-radius: 999px; background: var(--surface-2); gap: 3px; }
.pill-dots i { width: 7px; height: 7px; border-radius: 50%; }
.pill-dots i:nth-child(1) { background: #4aa8f2; }
.pill-dots i:nth-child(2) { background: #e5485e; }
.pill-dots i:nth-child(3) { background: #1ea47e; }
.pill-dots i:nth-child(4) { background: #f59a1f; }
.pill-dots i:nth-child(5) { background: #8b4fe0; }

.hero h1 {
    font-size: clamp(42px, 5.8vw, 76px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 22px;
}
.grad {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    margin: 0 0 32px;
    max-width: 540px;
    color: var(--text-2);
    font-size: 18px;
    line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.hero-checks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
}
.hero-checks svg {
    width: 18px;
    height: 18px;
    padding: 3px;
    border-radius: 50%;
    color: #fff;
    background: #1ea47e;
    stroke-width: 2.6;
}

.hero-visual { position: relative; padding: 24px 0; }
.hero-photo {
    margin: 0;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 1 / 1.02;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    background: var(--bg-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }

.float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    animation: floaty 6s ease-in-out infinite alternate;
}
.float small { display: block; font-size: 11px; font-weight: 700; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }
.float strong { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; margin: 2px 0; }
.float-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--tone);
    flex: 0 0 auto;
}
.float-ico svg { width: 19px; height: 19px; }
.float-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.float-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: #1ea47e; }

.float-gate { left: -36px; top: 64px; }
.float-vote {
    right: 24px;
    top: 0;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    animation-delay: -2s;
}
.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--tone);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 60%, transparent);
    animation: pulse 1.8s ease-out infinite;
}
.float-uneb {
    right: -32px;
    bottom: 48px;
    width: 230px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 12px;
    animation-delay: -4s;
}
.float-head { display: flex; gap: 10px; align-items: center; }
.float-head .float-ico { width: 34px; height: 34px; border-radius: 10px; }
.float-head .float-ico svg { width: 16px; height: 16px; }
.bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 76px;
    margin-top: 14px;
    padding-bottom: 18px;
}
.bars span {
    position: relative;
    flex: 1;
    height: var(--h);
    border-radius: 7px 7px 4px 4px;
    background: linear-gradient(180deg, var(--tone), color-mix(in srgb, var(--tone) 45%, transparent));
}
.bars em {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    text-align: center;
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-3);
}

/* Quick-launch rail */
.rail { padding: 0 0 24px; position: relative; }
.rail-head { text-align: center; margin-bottom: 14px; }
.rail-head p { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.rail-head span { color: var(--text-2); }
.rail-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.rail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 16px;
    min-width: 0;
    transition: background 0.15s, transform 0.2s var(--ease);
}
.rail-item:hover { background: color-mix(in srgb, var(--tone) 8%, var(--surface)); }
.rail-item:hover .tone-ico { background: var(--tone); color: #fff; }
.rail-item .tone-ico { transition: background 0.15s, color 0.15s; }
.rail-copy { min-width: 0; line-height: 1.25; }
.rail-copy strong { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; }
.rail-copy small { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-3); margin-top: 2px; }

/* Bento */
.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}
.bento-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--tone) 35%, var(--line));
}
.bento-card.b-lg { grid-column: span 7; }
.bento-card.b-md { grid-column: span 5; }
.bento-card.b-sm { grid-column: span 4; }
.bento-card.b-half { grid-column: span 6; flex-direction: row; }

.bento-card figure {
    margin: 0;
    height: 220px;
    overflow: hidden;
    background: var(--bg-2);
    flex: 0 0 auto;
}
.bento-card.b-lg figure,
.bento-card.b-md figure { height: 270px; }
.bento-card.b-half figure { width: 44%; height: auto; min-height: 260px; position: relative; }
.bento-card.b-half figure:not(.doc-figure) img { position: absolute; inset: 0; }
.bento-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.bento-card:hover figure img { transform: scale(1.05); }

.doc-figure {
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, #c99318 18%, transparent), transparent 62%),
        var(--bg-2) !important;
}
.doc-figure img {
    width: 100%;
    height: auto !important;
    max-height: 100%;
    object-fit: contain !important;
    filter: drop-shadow(0 14px 26px rgba(15, 23, 42, 0.18));
}

.bento-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}
.bento-body h3 {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 12px 0 8px;
}
.bento-body p {
    margin: 0 0 20px;
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.6;
}
.bento-actions { display: flex; align-items: center; gap: 18px; margin-top: auto; }
.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.link-btn svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.link-btn:hover svg { transform: translateX(3px); }
.link-btn:hover { color: var(--tone); }
.link-btn.muted { color: var(--text-3); font-weight: 700; }
.link-btn.muted:hover { color: var(--text); }

/* Module explorer */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 16px 0 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-selected="true"] {
    color: var(--text);
    border-color: color-mix(in srgb, var(--tone) 45%, transparent);
    background: color-mix(in srgb, var(--tone) 8%, var(--surface));
    box-shadow: 0 6px 18px color-mix(in srgb, var(--tone) 16%, transparent);
}
.tab[aria-selected="true"] .tone-ico { background: var(--tone); color: #fff; }

.panel-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 40px;
    border-radius: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    animation: fadeUp 0.45s var(--ease);
}
.panel-split[hidden] { display: none; }
.panel-copy h3 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 14px 0 14px;
}
.panel-copy > p {
    margin: 0;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
}
.panel-photo {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 3.3;
    background: var(--bg-2);
}
.panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.panel-photo.doc-figure { padding: 32px; }

.mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 22px;
}
.mini-stat {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.mini-stat strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tone);
}
.mini-stat span { display: block; margin-top: 2px; color: var(--text-3); font-size: 12.5px; font-weight: 600; }

.features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 11px;
}
.features li {
    display: flex;
    gap: 10px;
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}
.features svg {
    width: 20px;
    height: 20px;
    padding: 3.5px;
    flex: 0 0 auto;
    margin-top: 1px;
    border-radius: 50%;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 13%, transparent);
    stroke-width: 2.6;
}

/* Steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 30px 28px 30px;
    border-radius: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.step-num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--line-strong);
}
.step-ico {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--ink-fg);
    margin-bottom: 26px;
}
.step-ico svg { width: 22px; height: 22px; }
.step:nth-child(1) .step-ico { background: #2f8fe0; color: #fff; }
.step:nth-child(2) .step-ico { background: #8b4fe0; color: #fff; }
.step:nth-child(3) .step-ico { background: #1ea47e; color: #fff; }
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* Why (dark band) */
.section.dark {
    --text: #f2f4f8;
    --text-2: #aab3c2;
    --text-3: #7c8697;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #7cc2f7;
    margin: 0 16px;
    border-radius: 36px;
    color: var(--text);
    background:
        radial-gradient(600px 380px at 0% 0%, rgba(47, 143, 224, 0.22), transparent 70%),
        radial-gradient(520px 360px at 100% 100%, rgba(139, 79, 224, 0.2), transparent 70%),
        #0a0e17;
    overflow: hidden;
}
html[data-theme="dark"] .section.dark { border: 1px solid var(--line); }
.why-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}
.why-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.audience span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
}
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefit {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    transition: background 0.2s, border-color 0.2s;
}
.benefit:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-strong); }
.benefit-ico {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 18%, transparent);
}
.benefit-ico svg { width: 20px; height: 20px; }
.benefit:nth-child(1) { --c: #5cb3f5; }
.benefit:nth-child(2) { --c: #f7ae47; }
.benefit:nth-child(3) { --c: #f0687b; }
.benefit:nth-child(4) { --c: #a77cf0; }
.benefit:nth-child(5) { --c: #34c79c; }
.benefit:nth-child(6) { --c: #2cc3cc; }
.benefit h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.benefit p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    list-style: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 1.8px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-plus { transform: rotate(45deg); background: var(--surface); }
.faq p {
    margin: 0;
    padding: 0 48px 24px 4px;
    color: var(--text-2);
    font-size: 15.5px;
    line-height: 1.7;
}

/* Contact / CTA */
.cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding: 56px;
    border-radius: 36px;
    color: #f2f4f8;
    background: #0b1220;
}
html[data-theme="dark"] .cta { background: #121a2b; border: 1px solid var(--line); }
.cta-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(480px 300px at 0% 100%, rgba(47, 143, 224, 0.35), transparent 70%),
        radial-gradient(420px 280px at 55% 0%, rgba(229, 72, 94, 0.22), transparent 70%),
        radial-gradient(420px 300px at 100% 100%, rgba(245, 154, 31, 0.2), transparent 70%);
}
.cta > *:not(.cta-glow) { position: relative; }
.cta .eyebrow { color: #9fd1f9; }
.cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin-bottom: 14px;
}
.cta-copy > p { margin: 0 0 28px; color: rgba(242, 244, 248, 0.74); font-size: 17px; line-height: 1.65; max-width: 460px; }
.cta-onboard {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.cta-onboard > strong {
    display: block;
    padding: 4px 8px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 244, 248, 0.6);
}
.onboard-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.onboard-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #f2f4f8;
    transition: background 0.15s;
}
.onboard-list a > svg { width: 15px; height: 15px; margin-left: auto; opacity: 0.45; transition: transform 0.2s var(--ease), opacity 0.2s; }
.onboard-list a:hover { background: rgba(255, 255, 255, 0.07); }
.onboard-list a:hover > svg { opacity: 1; transform: translateX(2px); }
.onboard-list .tone-ico { background: color-mix(in srgb, var(--tone) 24%, transparent); color: color-mix(in srgb, var(--tone) 60%, #fff); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.contact-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 12px;
}
.tile svg { width: 18px; height: 18px; }
.contact-card small { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.contact-card strong { font-size: 15.5px; font-weight: 700; line-height: 1.4; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; background: var(--bg); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand p { margin: 18px 0 0; max-width: 320px; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.footer-brand .kbd-hint { font-size: 13px; color: var(--text-3); }
.search-kbd {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-2);
}
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 12px;
}
.footer-col a, .footer-col span { padding: 5px 0; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 56px;
    padding: 22px 0 32px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-3);
}

/* Command palette */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 14vh 16px 16px;
    background: rgba(7, 9, 14, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.overlay.open { display: flex; }
.palette {
    width: 100%;
    max-width: 560px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: drop 0.22s var(--ease);
}
.palette-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text-3);
}
.palette-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.palette-search kbd {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    color: var(--text-3);
}
.palette input {
    flex: 1;
    min-width: 0;
    height: 56px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 15.5px;
    outline: none;
}
.palette input:focus-visible { box-shadow: none; }
.palette-list { padding: 8px; max-height: 360px; overflow: auto; }
.palette-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 11px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}
.palette-item:hover,
.palette-item.active { background: var(--surface-2); }
.palette-item small { margin-left: auto; color: var(--text-3); font-size: 11.5px; font-weight: 600; }
.palette-empty { padding: 24px; text-align: center; color: var(--text-3); font-size: 13.5px; }

/* Motion */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes floaty {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 55%, transparent); }
    100% { box-shadow: 0 0 0 10px transparent; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes drop {
    from { opacity: 0; transform: translateY(-6px) scale(0.99); }
    to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1140px) {
    .nav-links a { padding: 8px 9px; font-size: 13.5px; }
    .rail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bento-card,
    .bento-card.b-lg,
    .bento-card.b-md,
    .bento-card.b-sm,
    .bento-card.b-half { grid-column: span 6; flex-direction: column; }
    .bento-card.b-half figure { width: auto; height: 220px; min-height: 0; }
    .bento-card:last-child { grid-column: 1 / -1; flex-direction: row; }
    .bento-card:last-child figure { width: 44%; height: auto; min-height: 260px; position: relative; }
    .bento-card.b-half:not(:last-child) figure:not(.doc-figure) img { position: static; }
    .float-gate { left: -12px; }
    .float-uneb { right: -12px; }
}

@media (max-width: 960px) {
    :root { --nav-h: 64px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .menu-btn { display: grid; }
    .section { padding: 80px 0; }
    .hero { padding-top: 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy { text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-checks { justify-content: center; }
    .hero-visual { max-width: 640px; width: 100%; margin: 0 auto; }
    .hero-photo { aspect-ratio: 4 / 3.2; }
    .float-gate { left: 12px; top: auto; bottom: 28px; }
    .float-uneb { display: none; }
    .float-vote { right: 16px; top: 8px; }
    .panel-split { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
    .panel-photo { order: -1; aspect-ratio: 16 / 9; }
    .why-grid,
    .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-grid .section-head { position: static; }
    .steps { grid-template-columns: 1fr; }
    .cta { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
    .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .brand-copy small { display: none; }
    .nav-actions { gap: 6px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head p { font-size: 16px; }
    .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
    .hero-lead { font-size: 16.5px; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .hero-photo { border-radius: 24px; aspect-ratio: 4 / 3.6; }
    .float-gate { left: 10px; right: 10px; bottom: 14px; }
    .float-vote { right: 10px; top: 4px; font-size: 12px; }
    .rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; }
    .rail-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .bento { gap: 14px; }
    .bento-card,
    .bento-card.b-lg,
    .bento-card.b-md,
    .bento-card.b-sm,
    .bento-card.b-half,
    .bento-card:last-child { grid-column: 1 / -1; flex-direction: column; }
    .bento-card figure,
    .bento-card.b-lg figure,
    .bento-card.b-md figure,
    .bento-card:last-child figure { width: auto; height: 200px; min-height: 0; }
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -16px 18px;
        padding: 2px 16px 8px;
        scrollbar-width: none;
    }
    .tabs::-webkit-scrollbar { display: none; }
    .panel-split { padding: 18px; border-radius: 24px; }
    .mini-stats { grid-template-columns: 1fr 1fr; }
    .panel-copy .hero-ctas .btn { flex: 1 1 100%; }
    .section.dark { margin: 0 8px; border-radius: 26px; }
    .benefits { grid-template-columns: 1fr; }
    .faq summary { font-size: 16px; }
    .faq p { padding-right: 4px; }
    .cta { padding: 32px 20px; border-radius: 26px; }
    .cta .hero-ctas .btn { flex: 1 1 100%; }
    .onboard-list { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Installed app on a phone opens straight to the module launcher */
@media (display-mode: standalone) and (max-width: 960px) {
    .hero, main > .section, .footer { display: none; }
    .rail { padding: 20px 0 32px; }
    .rail-head { text-align: left; }
    .rail-head p { font-size: 15px; color: var(--text); font-weight: 800; }
    .rail-head span { display: block; color: var(--text-3); font-size: 13px; font-weight: 600; margin-top: 2px; }
    .rail-grid { padding: 0; background: none; border: 0; box-shadow: none; gap: 10px; }
    .rail-item { flex-direction: column; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    html.js [data-reveal] { opacity: 1; transform: none; }
}
