.home-page {
    --home-muted: #94a2b9;
    --home-blue: #5d8dff;
    --home-green: #75f2ba;
    background: #090e18;
    background-image: radial-gradient(ellipse at 78% 43%, #182d523b, transparent 50%);
}
.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(#a6b9e604 1px, transparent 1px), linear-gradient(90deg, #a6b9e604 1px, transparent 1px);
    background-size: 72px 72px;
    z-index: -1;
}
.home-header {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.home-brand { display: inline-flex; align-items: center; gap: 12px; color: #f0f5ff; text-decoration: none; font-size: 23px; font-weight: 650; letter-spacing: -.8px; }
.brand-mark { width: 34px; height: 34px; color: #8caeff; }
.brand-accent { color: #8caeff; font-weight: 450; }
.header-note { display: inline-flex; align-items: center; gap: 9px; color: var(--home-muted); font-size: 12px; }
.status-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--home-green); box-shadow: 0 0 10px #75f2ba55; }
.home-main { width: min(1280px, 100%); margin: 0 auto; padding: 34px 40px 0; justify-content: center; gap: 76px; }
.home-hero { width: 100%; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(32px, 5vw, 80px); padding-block: 34px; }
.home-copy { min-width: 0; padding-block: 20px; }
.home-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 25px; color: #9bb9ff; font-size: 10px; font-weight: 600; letter-spacing: 2.1px; }
.home-eyebrow > span { font-size: 18px; }
.home-copy h1 { margin: 0; color: #f1f4fb; font-size: clamp(40px, 4.35vw, 62px); font-weight: 650; line-height: 1.12; letter-spacing: -2.5px; }
.home-copy h1 > span { color: #8badff; }
.home-description { max-width: 420px; margin: 24px 0 32px; color: #a8b4c7; font-size: 17px; line-height: 1.75; }
.home-cta { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 56px; padding: 14px 24px; border: 1px solid #7b9fff; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #5585f5, #3869df); box-shadow: 0 8px 28px #3b70ef26; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.home-cta > span { font-size: 22px; font-weight: 400; }
.home-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 35px #3b70ef42; background: #5787f6; }
.home-cta:focus-visible, .home-brand:focus-visible { outline: 3px solid #c3d4ff; outline-offset: 6px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-actions .home-cta { gap: 16px; padding-inline: 18px; }
.home-cta--secondary { background: #14223a; border-color: #405c8b; box-shadow: none; color: #c2d5fb; }
.home-cta--secondary:hover { background: #213657; }
.home-formats { display: flex; flex-wrap: wrap; gap: 10px; margin: 17px 0 0; color: var(--home-muted); font-size: 11px; line-height: 1.6; }
.home-formats > span { color: #4c5b75; }
.home-examples { min-width: 0; width: 100%; }
.home-examples [hidden] { display: none !important; }
.demo-switcher { display: flex; gap: 5px; width: fit-content; margin: 0 0 14px auto; padding: 4px; border: 1px solid #2b3951; border-radius: 10px; background: #101725; }
.demo-switcher button { width: auto; min-height: 34px; margin: 0; padding: 7px 16px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #94a2b9; font: inherit; font-size: 12px; cursor: pointer; }
.demo-switcher button[aria-selected="true"] { border-color: #557bb14d; background: #243753; color: #e1ecff; }
.demo-switcher button:hover { color: #fff; }
.demo-switcher button:focus-visible, .demo-card:focus-visible { outline: 2px solid #a7c1ff; outline-offset: 4px; }
.demo-card--animals { --home-green: #57a4ff; }
.demo-card--animals .demo-face > span { color: #071a34; font-family: inherit; font-weight: 600; }
.demo-card { position: relative; min-width: 0; width: 100%; margin: 0; padding: 8px; border: 1px solid #2b3951; border-radius: 18px; background: linear-gradient(150deg, #1a2435, #101725); box-shadow: 0 24px 80px #00000045, 0 0 70px #5585ff0b; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 15px; }
.demo-file { display: inline-flex; align-items: center; gap: 7px; color: #b8c4d7; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.demo-file svg { width: 17px; height: 17px; color: #7e90ad; }
.demo-example { color: #93a3bc; font-size: 8px; letter-spacing: 1.2px; }
.demo-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #17202d; }
.demo-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-face { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 1.5px solid var(--home-green); border-radius: 3px; box-shadow: 0 0 0 1px #07120e33, 0 0 16px #75f2ba11; animation: face-appear .6s both; animation-delay: var(--delay); }
.demo-face > span { position: absolute; top: -17px; left: -1.5px; min-width: 23px; padding: 2px 5px; border-radius: 3px 3px 0 0; color: #082016; background: var(--home-green); font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; }
.demo-photo-caption { position: absolute; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #a0bfc426; border-radius: 6px; background: #0b1728ce; color: #e1f3eb; font-size: 10px; }
.demo-result { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 12px 10px; }
.demo-result > div { display: grid; gap: 7px; }
.demo-result-label { color: #8294b1; font-size: 8px; letter-spacing: 1.5px; }
.demo-result strong { color: #e8effa; font-size: 16px; font-weight: 500; }
.demo-check { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #75f2ba30; border-radius: 50%; color: var(--home-green); background: #75f2ba0a; font-size: 16px; }
.home-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding: 22px 0 26px; border-top: 1px solid #91a5cc1c; color: #8d9bb2; font-size: 11px; }
.home-bottom-note { color: #667995; }
@keyframes face-appear { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1440px) { .home-main { gap: 100px; } }
@media (max-width: 900px) {
    .home-header { padding: 24px; }
    .home-main { padding: 20px 24px 0; gap: 40px; }
    .home-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 0; }
    .home-copy { padding: 16px 0 0; }
    .home-copy h1 { font-size: clamp(40px, 7.2vw, 58px); }
    .home-description { max-width: 510px; margin-bottom: 26px; }
    .home-examples { max-width: 600px; justify-self: center; }
    .home-bottom { margin-top: 0; }
}
@media (max-width: 520px) {
    .home-header { padding: 20px; }
    .home-brand { font-size: 21px; gap: 8px; }
    .header-note { display: none; }
    .home-main { padding: 12px 20px 0; gap: 32px; }
    .home-eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: 1.5px; }
    .home-copy h1 { font-size: clamp(32px, 8.6vw, 44px); letter-spacing: -1.5px; }
    .home-description { margin-top: 20px; font-size: 15px; line-height: 1.7; }
    .home-cta { width: 100%; }
    .demo-toolbar { padding-inline: 4px; }
    .demo-example { font-size: 7px; letter-spacing: .7px; }
    .demo-result strong { font-size: 14px; }
    .home-bottom { font-size: 10px; }
    .home-bottom-note { display: none; }
}
