.home-page {
    --bg: #031329;
    --bg-soft: #081d38;
    --accent: #078bff;
    --accent-dark: #087bd8;
    --line: rgba(84,164,238,.27);
}
html[data-theme=light] body.home-page {
    --surface: #eef4fa;
    --ink-dark: #0a1b31;
    --accent-dark: #087bd8;
    --line-dark: rgba(10,42,76,.2);
}
.site-header.container-wide { width: min(1580px, calc(100% - 88px)); }
.brand-lockup { display: flex; align-items: center; flex: 0 0 auto; }
.brand-lockup .brand { min-width: auto; }
.brand-company {
    border-left: 1px solid var(--line);
    margin-left: 22px;
    padding-left: 22px;
    color: #e0e9f5;
    font-size: 13px;
    white-space: nowrap;
}
.home-page .brand-name { color: #f5f8fc; font-size: 21px; }
.home-page .brand-name > span { color: #078bff; font-weight: 700; }
.home-page .brand-name small { color: #b8c7d9; }
.home-page .nav-chevron { color: #91a7c1; padding-left: 3px; font-size: 14px; }
.home-page .main-nav { gap: clamp(14px, 1.65vw, 29px); }
.home-page .main-nav a { color: #f2f6fc; font-size: 13px; white-space: nowrap; }
.home-page .header-tools { gap: 16px; }
.theme-toggle {
    width: 150px;
    height: 36px;
    padding: 3px;
    border-color: #6f88a4;
    color: #fff;
    font: 11px var(--font-sans);
    justify-content: space-between;
}
.theme-toggle .theme-sun, .theme-toggle .theme-moon { flex: 1; text-align: center; white-space: nowrap; }
.theme-toggle .toggle-knob {
    width: calc(50% - 3px);
    height: 28px;
    left: 3px;
    background: #087ff5;
}
html[data-theme=light] .theme-toggle .toggle-knob { transform: translateX(70px); }
.theme-toggle .theme-moon { opacity: 1; }
.home-page .header-demo {
    padding: 11px 16px;
    border: 1px solid #148dff;
    border-radius: 11px;
    color: #fff;
    background: #087ff5;
    font-size: 12px;
    white-space: nowrap;
}
.inner-page .brand-company { color: var(--muted-dark); border-color: var(--line-dark); }

.home-page .hero.container-wide { width: min(1500px, calc(100% - 88px)); }
.home-page .hero {
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 60px 0 0;
    overflow: hidden;
}
.hero-waves { position: absolute; z-index: 0; inset: 0 -8% 60px; width: 116%; height: 90%; pointer-events: none; opacity: .72; }
.hero-copy { z-index: 1; width: 100%; padding: 0; text-align: center; }
.hero-kicker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    color: #e6eef9;
    font-size: 14px;
    letter-spacing: .27em;
    margin: 7px 0 30px;
}
.hero-kicker span { width: 100px; height: 1px; background: #b6cce2; }
.home-page .hero h1 {
    color: #f7f9fc;
    font: 600 clamp(48px, 6vw, 88px)/1.08 var(--font-sans);
    letter-spacing: -.055em;
    margin: 0 0 26px;
}
.home-page .hero h1 em { color: #078bff; font-style: normal; }
.home-page .hero-lede {
    max-width: none;
    color: #dae5f1;
    font-size: 13px;
    letter-spacing: .31em;
    margin: 0;
}
.hero-actions { justify-content: center; gap: 28px; margin-top: 47px; }
.button-blue, .button-outline {
    min-width: 285px;
    min-height: 63px;
    justify-content: center;
    border-radius: 14px;
    font: 500 15px var(--font-sans);
    letter-spacing: 0;
}
.button-blue { color: #fff; background: #087ff5; }
.button-blue:hover { background: #1592ff; }
.button-outline { border: 1px solid #e1eaf4; color: #f6f8fb; background: rgba(3,19,41,.54); }
.button-outline:hover { background: rgba(20,75,130,.45); }
.product-shortcuts {
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: clamp(18px, 3.2vw, 50px);
    width: min(1280px, 100%);
    margin: 78px auto 0;
}
.product-shortcut {
    min-height: 172px;
    border: 1px solid #078bff;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(16,40,68,.94), rgba(5,23,45,.92));
    box-shadow: 0 0 25px rgba(0,125,255,.08), inset 0 0 22px rgba(0,130,255,.045);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 17px;
    color: #f3f7fd;
    font-size: 18px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.product-shortcut:hover { transform: translateY(-4px); color: #fff; box-shadow: 0 8px 32px rgba(0,139,255,.2); background: #102a48; }
.product-shortcut svg { width: 48px; height: 48px; fill: none; stroke: #31d0ff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.capability-strip {
    z-index: 1;
    width: min(1390px,100%);
    margin: 67px auto 0;
    padding: 28px 0 31px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid rgba(55,164,255,.65);
}
.capability-strip > div { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 17px; color: #eaf2fc; font-size: 15px; }
.capability-strip > div + div { border-left: 1px solid #078bff; }
.capability-strip svg { width: 36px; height: 36px; fill: none; stroke: #31d0ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.capability-strip small { color: #80c8ff; font: 8px var(--font-mono); letter-spacing: .08em; margin-left: 5px; }
html[data-theme=light] .home-page .site-header { background: var(--surface); color: var(--ink-dark); border-color: var(--line-dark); }
html[data-theme=light] .home-page .brand-name { color: var(--ink-dark); }
html[data-theme=light] .home-page .brand-name small { color: var(--muted-dark); }
html[data-theme=light] .home-page .brand-company { color: #344a63; border-color: var(--line-dark); }
html[data-theme=light] .home-page .main-nav a { color: var(--ink-dark); }
html[data-theme=light] .home-page .nav-chevron { color: #526b85; }
html[data-theme=light] .home-page .header-demo { color: #fff; background: #087ff5; border-color: #148dff; }
html[data-theme=light] .home-page .theme-toggle { color: #40566f; border-color: #738aa3; }
html[data-theme=light] .home-page .theme-toggle .theme-moon { color: #fff; }
html[data-theme=light] .home-page .theme-toggle .theme-sun { color: #40566f; }
html[data-theme=light] .home-page .hero h1 { color: #0a1b31; }
html[data-theme=light] .home-page .hero-kicker { color: #344a63; }
html[data-theme=light] .home-page .hero-kicker span { background: #8298b0; }
html[data-theme=light] .home-page .hero-lede { color: #455b73; }
html[data-theme=light] .home-page .hero-waves { opacity: .78; filter: saturate(1.3); }
html[data-theme=light] .home-page .button-outline { color: #0a1b31; border-color: #315575; background: rgba(255,255,255,.72); }
html[data-theme=light] .home-page .button-outline:hover { background: #fff; }
html[data-theme=light] .home-page .product-shortcut { color: #132842; background: linear-gradient(145deg,#f8fcff,#e5f2ff); }
html[data-theme=light] .home-page .product-shortcut:hover { color: #071c35; background: #fff; }
html[data-theme=light] .home-page .capability-strip > div { color: #132842; }
html[data-theme=light] .home-page .capability-strip { border-color: rgba(7,139,255,.6); }
html[data-theme=light] .home-page .site-footer .brand-name { color: var(--ink-dark); }
html[data-theme=light] .home-page .site-footer .brand-name small { color: var(--muted-dark); }
html[data-theme=light] .home-page .applications { background: #e4edf7; }
.home-page .site-revision { flex-basis: 100%; padding-top: 4px; text-align: right; }

.brand-logo {
    display: block;
    flex: 0 0 auto;
    width: 41px;
    height: 41px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(34,35,31,.14);
}
.art-logo { display: block; width: 52px; height: 52px; object-fit: contain; background: #fff; }

html[data-theme=dark] .product-card-image,
html[data-theme=dark] .screenshot-frame,
html[data-theme=dark] .screenshot-viewer { background: #102b47; }
html[data-theme=dark] .screenshot-frame { box-shadow: 0 10px 50px rgba(0,0,0,.28); }
html[data-theme=dark] .screenshot-frame figcaption { color: #c2d2e3; }
html[data-theme=light] .product-card-image,
html[data-theme=light] .screenshot-frame,
html[data-theme=light] .screenshot-viewer { background: #e6eef7; }
html[data-theme=light] .screenshot-frame figcaption { color: #64758a; }
.product-card-image,.screenshot-frame,.screenshot-viewer { transition: background .25s ease; }

.home-about {
    margin-top: 85px;
    margin-bottom: 85px;
    padding: 46px 6%;
    display: grid;
    grid-template-columns: .72fr 1.7fr auto;
    gap: 8%;
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.018);
}

.home-about-label { align-self: start; margin: 8px 0 0; }
.home-about-copy h2 {
    max-width: 630px;
    font: 500 clamp(34px,4vw,52px)/1.13 var(--font-serif);
    letter-spacing: -.045em;
    margin: 0 0 16px;
}
.home-about-copy h2 em { color: var(--accent); font-weight: 500; }
.home-about-copy > p {
    max-width: 610px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
    margin: 0 0 22px;
}
.home-about-mark {
    text-align: right;
}
.home-about-mark > img { display: block; width: 56px; height: 56px; object-fit: contain; background: #fff; margin-left: auto; }
.home-about-mark small {
    display: block;
    margin-top: 9px;
    font: 7px/1.5 var(--font-mono);
    letter-spacing: .11em;
}

html[data-theme=light] .home-page .home-about {
    border-color: var(--line-dark);
    background: #e4edf7;
}
html[data-theme=light] .home-page .home-about-copy h2 { color: var(--ink-dark); }
html[data-theme=light] .home-page .home-about-copy h2 em { color: var(--accent-dark); }
html[data-theme=light] .home-page .home-about-copy > p { color: #595951; }
@media (max-width: 980px) {
    .home-page .site-header.container-wide { width: calc(100% - 56px); }
    .home-page .hero.container-wide { width: calc(100% - 56px); }
    .site-header { gap: 14px; }
    .mobile-menu-button { display: block; margin-left: auto; font-size: 20px; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 18px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        background: var(--bg);
        border: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(0,0,0,.16);
    }
    .main-nav.open { display: flex; }
    .main-nav a { font-size: 13px; }
    html[data-theme=light] .main-nav { background: var(--surface); border-color: var(--line-dark); }
    .home-page .main-nav a { color: var(--ink); }
    .theme-toggle { width: 132px; }
    html[data-theme=light] .theme-toggle .toggle-knob { transform: translateX(61px); }
    .product-shortcuts { gap: 16px; }
    .product-shortcut { min-height: 150px; font-size: 15px; }
    .capability-strip > div { gap: 10px; font-size: 12px; }
    .capability-strip svg { width: 30px; height: 30px; }
    .home-about { grid-template-columns: .7fr 1.7fr; gap: 5%; }
    .home-about-mark { display: none; }
}

@media (max-width: 680px) {
    .home-page .site-header.container-wide,.home-page .hero.container-wide { width: calc(100% - 38px); }
    .brand-company { display: none; }
    .theme-toggle { width: 124px; height: 32px; }
    .theme-toggle .toggle-knob { height: 24px; }
    html[data-theme=light] .theme-toggle .toggle-knob { transform: translateX(57px); }
    .home-page .hero { padding-top: 39px; }
    .home-page .brand-name { font-size: 16px; }
    .brand-logo { width: 35px; height: 35px; }
    .home-page .header-tools { margin-left: 0; }
    .hero-waves { inset: 10% -55% 120px; width: 210%; height: 75%; opacity: .48; }
    .hero-kicker { gap: 10px; font-size: 9px; letter-spacing: .19em; margin-bottom: 23px; }
    .hero-kicker span { width: 30px; }
    .home-page .hero h1 { font-size: clamp(39px, 10vw, 58px); line-height: 1.14; margin-bottom: 19px; }
    .home-page .hero-lede { font-size: 9px; letter-spacing: .17em; }
    .hero-actions { margin-top: 30px; gap: 12px; }
    .button-blue,.button-outline { min-width: min(100%, 215px); min-height: 51px; font-size: 12px; }
    .product-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 45px; }
    .product-shortcut { min-height: 125px; border-radius: 14px; gap: 10px; font-size: 13px; }
    .product-shortcut svg { width: 38px; height: 38px; }
    .capability-strip { margin-top: 42px; padding: 20px 0; grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 16px; }
    .capability-strip > div { justify-content: flex-start; font-size: 10px; }
    .capability-strip > div + div { border-left: 0; }
    .capability-strip > div:nth-child(even) { border-left: 1px solid #078bff; padding-left: 12px; }
    .capability-strip svg { width: 26px; height: 26px; }
    .capability-strip small { font-size: 7px; }
    .home-about {
        margin-top: 62px;
        margin-bottom: 62px;
        padding: 28px 20px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .home-about-label { margin: 0 0 8px; }
    .home-about-copy h2 { font-size: 36px; }
    .home-about-copy > p { font-size: 12px; }
}
