*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-sans, system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#home-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    overflow-x: clip;
}

#home-shell::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        radial-gradient(1100px 560px at 100% -8%, color-mix(in oklch, var(--accent) 12%, transparent), transparent 62%),
        radial-gradient(900px 520px at -10% 112%, color-mix(in oklch, var(--accent) 9%, transparent), transparent 58%);
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem clamp(1rem, 5vw, 3rem);
    background:
        linear-gradient(180deg, oklch(1 0 0 / 0.18), oklch(1 0 0 / 0) 70%),
        color-mix(in oklch, var(--background) 80%, transparent);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
}

.home-header.is-scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom-color: var(--border-strong);
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 750;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
}

.home-brand__mark {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 7px;
    background-image: var(--brand-grad);
    box-shadow: 0 4px 10px -3px var(--accent);
}

.brand-logo {
    display: inline-block;
    height: 2rem;
    width: auto;
}

.brand-logo--header {
    height: 2.25rem;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.home-nav__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 550;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.home-nav__links a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.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;
}

.home-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.home-nav__toggle:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

.home-nav__toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.home-mobile-nav {
    position: absolute;
    top: 100%;
    right: clamp(1rem, 5vw, 3rem);
    left: clamp(1rem, 5vw, 3rem);
    display: grid;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in oklch, var(--surface) 92%, transparent);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    box-shadow: var(--shadow-lg);
    z-index: 20;
}

.home-mobile-nav[hidden] {
    display: none;
}

.home-mobile-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 550;
}

.home-mobile-nav a:hover {
    background: var(--surface-2);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.875rem;
    padding: 0 1.25rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    color: var(--accent-fg);
    background-image: var(--brand-grad);
    box-shadow: var(--shadow-sm), 0 7px 18px -8px var(--accent);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md), 0 12px 26px -8px var(--accent);
}

.btn-secondary {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

.home-header .btn-primary {
    min-height: 2.375rem;
    padding: 0 1rem;
}

.home-main {
    flex: 1;
    width: 100%;
    max-width: 78rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 600 700;
    font-display: optional;
    src: url("../fonts/BricolageGrotesque-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 600 700;
    font-display: optional;
    src: url("../fonts/BricolageGrotesque-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Bricolage Grotesque Fallback";
    src: local("Arial");
    size-adjust: 100.85%;
    ascent-override: 92.22%;
    descent-override: 26.77%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "Inter Fallback";
    src: local("Arial");
    size-adjust: 97.79%;
    ascent-override: 99.06%;
    descent-override: 24.67%;
    line-gap-override: 0%;
}

:root {
    --font-display: "Bricolage Grotesque", "Bricolage Grotesque Fallback", system-ui, sans-serif;
    --font-sans: "Inter Variable", "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 6vw, 4rem);
}

.home-eyebrow {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: color-mix(in oklch, var(--accent) 72%, var(--text));
    background: color-mix(in oklch, var(--accent) 12%, var(--surface));
    border: 1px solid color-mix(in oklch, var(--accent) 25%, transparent);
}

.home-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 650;
    color: var(--text);
}

.hero-accent {
    background-image: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-swap {
    display: inline-block;
    color: var(--accent);
    font-weight: 650;
}

.home-hero p {
    margin: 0;
    max-width: 40rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-muted);
}

.home-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.home-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.home-section__head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.home-section__head h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    letter-spacing: -0.01em;
    font-weight: 640;
    color: var(--text);
}

.home-section__head p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.home-pricing__note {
    justify-self: start;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 0.85rem !important;
    padding: 0.45rem 0.9rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    font-weight: 600;
    color: color-mix(in oklch, var(--accent) 72%, var(--text)) !important;
    background: color-mix(in oklch, var(--accent) 12%, var(--surface));
    border: 1px solid color-mix(in oklch, var(--accent) 25%, transparent);
}

.home-pricing__note::before {
    content: "✓";
    font-weight: 800;
}

.feature-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.feature-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: var(--surface);
    background-image: var(--sheen-soft);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.9rem;
    border-radius: 12px;
    color: var(--accent);
    background: color-mix(in oklch, var(--accent) 14%, var(--surface));
    border: 1px solid color-mix(in oklch, var(--accent) 22%, transparent);
}

.feature-card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--text);
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.truth-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    padding: 0;
}

.truth-chips li {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem 0.42rem 1.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    background: color-mix(in oklch, var(--marigold, var(--accent)) 38%, var(--surface));
    clip-path: polygon(0.8rem 0%, 100% 0%, 100% 100%, 0.8rem 100%, 0% 50%);
}

.truth-chips li:nth-child(odd) {
    transform: rotate(-1.3deg);
}

.truth-chips li:nth-child(even) {
    transform: rotate(1deg);
}

.truth-chips li::before {
    content: "";
    position: absolute;
    left: 0.62rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 999px;
    background: var(--background);
    box-shadow: 0 0 0 1.5px color-mix(in oklch, var(--text) 30%, transparent);
}

.truth-chips__num {
    display: inline-block;
    min-width: 3ch;
    text-align: right;
    font-family: var(--font-mono);
    font-feature-settings: "tnum";
    color: var(--text);
}

.home-hero__copy {
    display: grid;
    gap: 1.25rem;
    justify-items: start;
}

.home-hero__ready {
    display: block;
    margin-top: 0.35rem;
    white-space: nowrap;
}

.home-hero__visual {
    min-width: 0;
    padding-top: clamp(0rem, 4vw, 3.5rem);
}

.diorama--hero {
    max-width: 30rem;
    margin-left: auto;
}

.dio-app {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
}

.dio-side {
    display: grid;
    gap: 0.4rem;
    align-content: start;
    padding: 0.8rem;
    border-right: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
    background: color-mix(in oklch, var(--surface-2) 55%, transparent);
}

.dio-side__logo {
    width: 1.35rem;
    height: 1.35rem;
    margin-bottom: 0.35rem;
    border-radius: 7px;
    background: var(--accent);
}

.dio-nav {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.32rem 0.55rem;
    border-radius: 8px;
}

.dio-nav.is-active {
    color: var(--accent);
    background: color-mix(in oklch, var(--accent) 14%, var(--surface));
}

.dio-main {
    position: relative;
    display: grid;
    gap: 0.7rem;
    align-content: start;
    padding: 0.85rem;
}

.dio-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.dio-head__title {
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--text);
}

.dio-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: color-mix(in oklch, var(--accent) 14%, var(--surface));
    border: 1px solid color-mix(in oklch, var(--accent) 25%, transparent);
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.dio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.dio-stat {
    display: grid;
    gap: 0.15rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.dio-stat__num {
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--accent);
}

.dio-stat__label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.dio-rows {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 1.9rem;
}

.dio-rows span {
    height: 0.55rem;
    border-radius: 999px;
    background: color-mix(in oklch, var(--text-subtle) 18%, transparent);
}

.dio-rows span:nth-child(2) {
    width: 82%;
}

.dio-rows span:nth-child(3) {
    width: 64%;
}

.dio-toast {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--text);
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.dio-toast__check {
    color: var(--success);
    font-weight: 800;
}

.diorama__url {
    margin-left: 0.35rem;
    min-width: 0;
    font-size: 0.68rem;
    color: var(--text-muted);
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
    background: color-mix(in oklch, var(--surface) 70%, transparent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.diorama [data-palette],
.diorama[data-palette],
.palette-demo [data-palette],
.palette-demo[data-palette],
.mini-store [data-palette],
.mini-store[data-palette] {
    --accent: oklch(var(--brand-l) var(--brand-chroma) var(--brand-hue));
    --brand-grad: linear-gradient(135deg, oklch(calc(var(--brand-l) + 0.09) var(--brand-chroma) var(--brand-hue)), var(--accent));
}

[data-theme="dark"] .diorama [data-palette],
[data-theme="dark"] .diorama[data-palette],
[data-theme="dark"] .palette-demo [data-palette],
[data-theme="dark"] .palette-demo[data-palette],
[data-theme="dark"] .mini-store [data-palette],
[data-theme="dark"] .mini-store[data-palette] {
    --accent: oklch(calc(var(--brand-l) + 0.10) var(--brand-chroma) var(--brand-hue));
    --brand-grad: linear-gradient(135deg, oklch(calc(var(--brand-l) + 0.20) var(--brand-chroma) var(--brand-hue)), var(--accent));
}

.dio-side__logo,
.dio-nav.is-active,
.dio-badge,
.dio-stat__num,
.palette-demo__btn,
.palette-demo__swatch,
.dio-store__link.is-active,
.dio-cart__count,
.dio-product__price,
.mini-card__btn {
    transition: background-color 600ms var(--ease-inout), color 600ms var(--ease-inout), border-color 600ms var(--ease-inout);
}

.bento {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bento-card--showcase {
    grid-column: span 7;
}

.bento-card--wide {
    grid-column: span 5;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-weight: 620;
}

.bento-card p {
    max-width: 34rem;
}

.palette-demo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in oklch, var(--background) 65%, transparent);
}

.bento-card--showcase .palette-demo {
    margin-top: 1.1rem;
}

.palette-demo__swatches {
    display: flex;
    gap: 0.5rem;
}

.palette-demo__swatch {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: var(--accent);
}

.palette-demo__swatch.is-active {
    box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

.palette-demo__card {
    display: grid;
    gap: 0.4rem;
    justify-items: start;
    min-width: 9rem;
}

.palette-demo__line {
    width: 7.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: color-mix(in oklch, var(--text-subtle) 18%, transparent);
}

.palette-demo__line--short {
    width: 4.5rem;
}

.palette-demo__btn {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 650;
    color: var(--accent-fg);
    background: var(--accent);
    padding: 0.32rem 0.7rem;
    border-radius: 8px;
}

.url-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.1rem;
}

.url-chip {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid color-mix(in oklch, var(--accent) 25%, transparent);
    background: color-mix(in oklch, var(--accent) 10%, var(--surface));
}

.split-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.split-row__copy {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

.split-row__copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    letter-spacing: -0.01em;
    font-weight: 640;
    color: var(--text);
}

.split-row__copy > p {
    margin: 0;
    max-width: 36rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.split-row__points {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
}

.split-row__points li {
    display: flex;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.split-row__points li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.diorama--console {
    max-width: 27rem;
}

.dio-table {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
}

.dio-table__head,
.dio-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 0.5rem;
    align-items: center;
}

.dio-table__head span {
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 0.55rem;
}

.dio-table__row {
    padding: 0.5rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.dio-table__name {
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--text);
}

.dio-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.dio-status::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--success);
}

.dio-status--trial::before {
    background: var(--warning);
}

.faq {
    display: grid;
    gap: 0.75rem;
    max-width: 46rem;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background-color: var(--surface);
    background-image: var(--sheen-soft);
    box-shadow: var(--shadow-sm);
}

.faq__item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 650;
    color: var(--text);
    cursor: pointer;
    border-radius: 14px;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.2rem;
    border-right: 2px solid var(--text-subtle);
    border-bottom: 2px solid var(--text-subtle);
    transform: rotate(45deg);
    transition: transform var(--motion-fast) var(--ease-out);
}

.faq__item[open] summary::after {
    transform: rotate(225deg);
}

.faq__item p {
    margin: 0;
    padding: 0 1.25rem 1.1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.home-section--cta {
    padding-bottom: clamp(1rem, 3vw, 2rem);
}

.cta-band {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    padding: clamp(2.25rem, 6vw, 3.75rem) clamp(1.25rem, 5vw, 3rem);
    border-radius: 22px;
    background-image: var(--sheen-soft), var(--brand-grad);
    box-shadow: var(--shadow-lg);
}

.cta-band h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    letter-spacing: -0.01em;
    font-weight: 650;
    color: var(--accent-fg);
}

.cta-band p {
    margin: 0;
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: color-mix(in oklch, var(--accent-fg) 88%, transparent);
}

.cta-band__btn {
    background-image: none;
    background-color: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.cta-band__btn:hover {
    background-color: var(--surface-2);
}

#pricing,
#faq,
.home-section--cta {
    content-visibility: auto;
    contain-intrinsic-size: auto 40rem;
}

@media (max-width: 64rem) {
    .bento-card,
    .bento-card--wide {
        grid-column: span 6;
    }

    .bento-card--showcase {
        grid-column: span 12;
    }
}

@media (max-width: 60rem) {
    .diorama--hero {
        margin-left: 0;
        max-width: 32rem;
    }

    .split-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .diorama--console {
        max-width: 32rem;
    }
}

@media (max-width: 40rem) {
    .bento-card,
    .bento-card--wide,
    .bento-card--showcase {
        grid-column: span 12;
    }
}

.price-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: var(--surface);
    background-image: var(--sheen-soft);
    box-shadow: var(--shadow-md);
}

.price-card--featured {
    border-color: transparent;
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent);
}

.price-card__name {
    font-weight: 650;
    color: var(--text);
}

.price-card__price {
    font-size: 2rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    color: var(--text);
}

.price-card__price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-subtle);
}

.price-card ul {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.price-card li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-card li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.home-footer {
    margin-top: clamp(2rem, 6vw, 4rem);
    border-top: 1px solid var(--border);
    background: color-mix(in oklch, var(--surface) 55%, transparent);
}

.home-footer__inner {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 5vw, 3rem);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
}

.home-footer__brand {
    display: grid;
    gap: 0.6rem;
    align-content: start;
}

.home-footer__tagline {
    margin: 0;
    max-width: 24rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.home-footer__col {
    display: grid;
    gap: 0.6rem;
    align-content: start;
}

.home-footer__col h3 {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.home-footer__col a {
    justify-self: start;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.875rem;
    text-align: left;
    text-decoration: none;
    color: var(--text-muted);
    cursor: pointer;
}

.home-footer__col a:hover {
    color: var(--text);
}

.home-footer__bar {
    border-top: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
}

.home-footer__bar-inner {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 5vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 48rem) {
    .home-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 30rem) {
    .home-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 40rem) {
    .home-nav__links {
        display: none;
    }

    .home-nav > .btn-primary {
        display: none;
    }

    .home-nav__toggle {
        display: inline-flex;
    }
}

@media (min-width: 40.01rem) {
    .home-mobile-nav {
        display: none !important;
    }
}

.lang-switch {
    display: inline-flex;
    gap: 0.125rem;
    padding: 0.1875rem;
    border: 1px solid color-mix(in oklch, var(--border) 82%, transparent);
    border-radius: 0.625rem;
    background: var(--surface-2);
}

.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.875rem;
    padding: 0 0.5rem;
    border: 1px solid transparent;
    border-radius: 0.4375rem;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.lang-switch__btn:hover {
    color: var(--text);
    background: color-mix(in oklch, var(--surface) 92%, var(--accent) 4%);
}

.lang-switch__btn[aria-pressed="true"] {
    border-color: color-mix(in oklch, var(--border-strong) 70%, transparent);
    background: var(--surface);
    color: var(--text);
}

.diorama--phone {
    max-width: 18.5rem;
    margin-left: auto;
    margin-right: clamp(0rem, 2vw, 1.5rem);
    display: grid;
    gap: 0.5rem;
    border-radius: 28px;
    padding: 0.55rem 0.55rem 0.75rem;
}

.dio-phone__top {
    display: flex;
    justify-content: center;
    padding-top: 0.2rem;
}

.dio-phone__speaker {
    width: 3.2rem;
    height: 0.3rem;
    border-radius: 999px;
    background: color-mix(in oklch, var(--text-subtle) 30%, transparent);
}

.dio-phone__url {
    justify-self: center;
    max-width: 100%;
    font-size: 0.66rem;
    color: var(--text-muted);
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
    background: color-mix(in oklch, var(--surface-2) 60%, transparent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dio-store {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding: 0.6rem 0.6rem 0.75rem;
    border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
    border-radius: 18px;
    background: var(--background);
    overflow: hidden;
}

.dio-store__head {
    display: grid;
    gap: 0.45rem;
}

.dio-store__banner {
    position: relative;
    display: grid;
    gap: 0.15rem;
    justify-items: center;
    text-align: center;
    padding: 0.85rem 0.6rem 0.95rem;
    border-radius: 12px 12px 3px 3px;
    background-color: var(--accent);
    background-image: linear-gradient(180deg, oklch(1 0 0 / 0.16), oklch(1 0 0 / 0) 70%);
    color: var(--accent-fg);
}

.dio-store__banner::after {
    content: "";
    position: absolute;
    left: 0.15rem;
    right: 0.15rem;
    top: 100%;
    height: 0.4rem;
    background-image: radial-gradient(circle at 50% 0, var(--accent) 46%, transparent 50%);
    background-size: 0.72rem 0.8rem;
    background-position: 0 0;
    background-repeat: repeat-x;
}

.dio-store__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.dio-store__tag {
    font-size: 0.62rem;
    opacity: 0.85;
}

.dio-store__nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dio-store__link {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
}

.dio-store__link.is-active {
    color: color-mix(in oklch, var(--accent) 72%, var(--text));
    background: color-mix(in oklch, var(--accent) 14%, var(--surface));
}

.dio-cart {
    position: relative;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text-muted);
}

.dio-cart svg {
    width: 0.95rem;
    height: 0.95rem;
}

.dio-cart__count {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 0.95rem;
    height: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    background: var(--accent);
    color: var(--accent-fg);
}

.dio-store__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    padding-bottom: 2.2rem;
}

.dio-product {
    display: grid;
    gap: 0.25rem;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.dio-product img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
}

.dio-product__name {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dio-product__price {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--accent);
}

.dio-store .dio-toast {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    display: flex;
    justify-content: center;
}

.steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.steps::before {
    content: "";
    position: absolute;
    top: 1.375rem;
    left: 1.4rem;
    right: clamp(2rem, 18vw, 16rem);
    height: 0;
    border-top: 3px dashed color-mix(in oklch, var(--accent) 45%, var(--border));
}

.step {
    position: relative;
    display: grid;
    gap: 0.55rem;
    justify-items: start;
    align-content: start;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.35rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 500;
    color: color-mix(in oklch, var(--accent) 72%, var(--text));
    background: color-mix(in oklch, var(--accent) 14%, var(--background));
    border: 1px solid color-mix(in oklch, var(--accent) 25%, transparent);
}

.step h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--text);
}

.step p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.receipt {
    position: relative;
    max-width: 21rem;
    margin-inline: auto;
    display: grid;
    gap: 0.65rem;
    padding: 1.4rem 1.5rem 1.5rem;
    border-radius: 8px 8px 0 0;
    background-color: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: rotate(-1.4deg);
    font-family: var(--font-mono);
}

.receipt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 0.45rem;
    background-image:
        linear-gradient(45deg, var(--surface) 50%, transparent 50%),
        linear-gradient(-45deg, var(--surface) 50%, transparent 50%);
    background-size: 0.9rem 0.9rem;
    background-position: 0 0;
    background-repeat: repeat-x;
}

.receipt__head {
    padding-bottom: 0.75rem;
    margin-bottom: 0.1rem;
    border-bottom: 2px dashed color-mix(in oklch, var(--border-strong) 80%, transparent);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.receipt__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.receipt__row .diorama__num {
    font-weight: 500;
    color: var(--text);
}

.receipt__row--total {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 2px dashed color-mix(in oklch, var(--border-strong) 80%, transparent);
    font-size: 1rem;
    font-weight: 650;
    color: var(--text);
}

.receipt__row--total .diorama__num {
    color: var(--accent);
}

.receipt__note {
    margin: 0.35rem 0 0;
    font-size: 0.74rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text-muted);
}

.mini-store {
    width: 100%;
    max-width: 27rem;
    margin-top: auto;
    display: grid;
    gap: 0.7rem;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in oklch, var(--background) 65%, transparent);
}

.bento-card--showcase .mini-store {
    margin-top: 1.1rem;
}

.mini-store__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
}

.mini-store__hint {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mini-store__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.mini-card {
    display: grid;
    gap: 0.3rem;
    justify-items: start;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.mini-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.mini-card__name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
}

.mini-card__price {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.mini-card__btn {
    margin-top: 0.1rem;
    font-size: 0.66rem;
    font-weight: 650;
    color: var(--accent-fg);
    background: var(--accent);
    padding: 0.28rem 0.6rem;
    border-radius: 8px;
}

.mini-items {
    width: 100%;
    margin-top: auto;
    padding-top: 1.1rem;
    display: grid;
    gap: 0.6rem;
}

.mini-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in oklch, var(--background) 65%, transparent);
}

.mini-item img {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 8px;
    object-fit: cover;
}

.mini-item__lines {
    display: grid;
    gap: 0.1rem;
}

.mini-item__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.mini-item__price {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.mini-item .dio-badge {
    margin-left: auto;
}

.cta-band__waitlist {
    font-size: 0.9rem;
    font-weight: 550;
    color: var(--accent-fg);
    text-decoration: underline;
    text-underline-offset: 3px;
    border-radius: 6px;
}

.cta-band__waitlist:hover {
    color: var(--accent-fg);
}

@media (max-width: 60rem) {
    .home-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero__visual {
        padding-top: 0;
    }

    .diorama--phone {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 48rem) {
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps::before {
        display: none;
    }
}

#home-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-swap {
    text-decoration: underline wavy color-mix(in oklch, var(--accent) 55%, transparent);
    text-decoration-thickness: 0.055em;
    text-underline-offset: 0.14em;
}

.home-section__head h2::after {
    content: "";
    display: block;
    width: 3.2rem;
    margin-top: 0.55rem;
    border-top: 0.26rem dotted color-mix(in oklch, var(--accent) 60%, transparent);
}

.feature-card,
.price-card,
.faq__item {
    border-radius: 20px;
}

.bento-card:nth-child(3),
.bento-card:nth-child(5) {
    background-color: color-mix(in oklch, var(--accent) 6%, var(--surface));
}

.cta-band {
    border-radius: 8px 8px 22px 22px;
    padding-top: clamp(2.75rem, 6.5vw, 4.25rem);
}

.cta-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0.85rem;
    background-image: radial-gradient(circle at 50% 0, var(--background) 46%, transparent 50%);
    background-size: 1.7rem 1.7rem;
    background-position: 0 0;
    background-repeat: repeat-x;
}

.phone-float {
    position: relative;
    max-width: 15.5rem;
    margin-left: auto;
    margin-right: clamp(0rem, 2vw, 1.5rem);
}

.phone-float::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -1.15rem;
    height: 0.85rem;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklch, var(--text) 24%, transparent), transparent 72%);
    filter: blur(3px);
    animation: phone-shadow 7s var(--ease-inout) infinite;
}

.phone-float .diorama--phone {
    position: relative;
    z-index: 1;
    margin-left: 0;
    margin-right: 0;
    animation: phone-float 7s var(--ease-inout) infinite;
}

@keyframes phone-float {
    50% {
        transform: translateY(-14px);
    }
}

@keyframes phone-shadow {
    50% {
        transform: scaleX(0.9);
        opacity: 0.7;
    }
}

.hero-orders {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-order {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: min(20rem, calc(100vw - 1.5rem));
    padding: 0.45rem 0.7rem;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    animation: order-pop 11s var(--ease-out) infinite;
}

.hero-order__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--accent-fg);
    background: var(--success);
}

.hero-order > span:not(.hero-order__check):not(.hero-order__amt) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-order__amt {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent);
}

.hero-order--a {
    top: -0.9rem;
    left: -2.4rem;
}

.hero-order--b {
    bottom: -1rem;
    right: -1.6rem;
    animation-delay: 5.5s;
}

@keyframes order-pop {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.92);
    }
    5% {
        opacity: 1;
        transform: none;
    }
    38% {
        opacity: 1;
        transform: translateY(-4px);
    }
    46% {
        opacity: 0;
        transform: translateY(-18px) scale(0.96);
    }
    100% {
        opacity: 0;
        transform: translateY(-18px) scale(0.96);
    }
}

.hero-bokeh {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-bokeh span {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, color-mix(in oklch, var(--accent) 40%, white), color-mix(in oklch, var(--accent) 60%, transparent) 45%, color-mix(in oklch, var(--accent) 20%, transparent) 72%, transparent);
    opacity: 0;
    animation: bokeh-drift 18s var(--ease-inout) infinite;
}

.hero-bokeh span:nth-child(1) {
    width: 0.9rem;
    height: 0.9rem;
    left: 6%;
    top: 22%;
    filter: blur(1px);
}

.hero-bokeh span:nth-child(2) {
    width: 1.6rem;
    height: 1.6rem;
    left: 30%;
    top: 68%;
    filter: blur(4px);
    animation-delay: 2.5s;
    animation-duration: 22s;
}

.hero-bokeh span:nth-child(3) {
    width: 0.6rem;
    height: 0.6rem;
    left: 46%;
    top: 14%;
    animation-delay: 5s;
    animation-duration: 16s;
}

.hero-bokeh span:nth-child(4) {
    width: 1.2rem;
    height: 1.2rem;
    left: 58%;
    top: 78%;
    filter: blur(3px);
    animation-delay: 8s;
    animation-duration: 24s;
}

.hero-bokeh span:nth-child(5) {
    width: 0.75rem;
    height: 0.75rem;
    left: 76%;
    top: 8%;
    filter: blur(1px);
    animation-delay: 3.8s;
    animation-duration: 19s;
}

.hero-bokeh span:nth-child(6) {
    width: 1.9rem;
    height: 1.9rem;
    left: 88%;
    top: 58%;
    filter: blur(5px);
    animation-delay: 10.5s;
    animation-duration: 26s;
}

@keyframes bokeh-drift {
    0% {
        opacity: 0;
        transform: translate3d(0, 24px, 0) scale(0.85);
    }
    18% {
        opacity: 0.9;
    }
    55% {
        opacity: 0.7;
        transform: translate3d(10px, -30px, 0) scale(1.05);
    }
    85% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translate3d(4px, -58px, 0) scale(0.9);
    }
}

.aurora::after {
    content: "";
    position: absolute;
    inset: 4rem auto auto 8%;
    width: 42%;
    height: 60%;
    pointer-events: none;
    background: radial-gradient(50% 55% at 50% 50%, color-mix(in oklch, var(--accent) 10%, transparent), transparent 72%);
    animation: aurora-drift 24s var(--ease-inout) infinite reverse;
}

.hero-swap {
    background-image: linear-gradient(100deg, var(--accent) 42%, color-mix(in oklch, var(--accent) 52%, white) 50%, var(--accent) 58%);
    background-size: 240% 100%;
    background-position: 120% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: swap-shimmer 6.5s var(--ease-inout) infinite;
}

@keyframes swap-shimmer {
    0% {
        background-position: 120% 0;
    }
    55% {
        background-position: -60% 0;
    }
    100% {
        background-position: -60% 0;
    }
}

.home-cta .btn-primary {
    position: relative;
    overflow: hidden;
}

.home-cta .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(105deg, transparent, oklch(1 0 0 / 0.35) 50%, transparent);
    animation: btn-shimmer 4.8s var(--ease-inout) infinite;
    pointer-events: none;
}

@keyframes btn-shimmer {
    0% {
        transform: translateX(0) skewX(-18deg);
    }
    45% {
        transform: translateX(360%) skewX(-18deg);
    }
    100% {
        transform: translateX(360%) skewX(-18deg);
    }
}

.cta-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-bubble {
    position: absolute;
    bottom: -2.5rem;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, oklch(1 0 0 / 0.4), oklch(1 0 0 / 0.08) 70%, transparent);
    animation: bubble-rise 11s linear infinite;
}

.cta-bubble--1 {
    left: 16%;
    width: 1.4rem;
    height: 1.4rem;
    filter: blur(1px);
}

.cta-bubble--2 {
    left: 52%;
    width: 2.2rem;
    height: 2.2rem;
    filter: blur(3px);
    animation-delay: 3.5s;
    animation-duration: 14s;
}

.cta-bubble--3 {
    left: 82%;
    width: 1rem;
    height: 1rem;
    animation-delay: 7s;
    animation-duration: 9s;
}

@keyframes bubble-rise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.9);
    }
    12% {
        opacity: 0.7;
    }
    75% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-16rem) scale(1.08);
    }
}

.cta-spark {
    position: absolute;
    width: 0.9rem;
    height: 0.9rem;
    background: oklch(1 0 0 / 0.85);
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    opacity: 0;
    animation: spark-twinkle 4.6s var(--ease-inout) infinite;
}

.cta-spark--1 {
    top: 22%;
    left: 12%;
}

.cta-spark--2 {
    top: 16%;
    right: 14%;
    width: 0.6rem;
    height: 0.6rem;
    animation-delay: 1.6s;
}

.cta-spark--3 {
    bottom: 24%;
    right: 26%;
    width: 0.7rem;
    height: 0.7rem;
    animation-delay: 3.1s;
}

@keyframes spark-twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    18% {
        opacity: 0.95;
        transform: scale(1) rotate(18deg);
    }
    36% {
        opacity: 0;
        transform: scale(0.35) rotate(38deg);
    }
}

@media (max-width: 60rem) {
    .phone-float {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-order--a {
        left: -0.2rem;
    }

    .hero-order--b {
        right: -0.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bokeh,
    .hero-orders,
    .cta-glow {
        display: none;
    }

    .phone-float .diorama--phone,
    .phone-float::after,
    .hero-swap,
    .home-cta .btn-primary::after,
    .aurora::after {
        animation: none !important;
    }

    .hero-swap {
        background-position: 50% 0;
    }
}

:root,
:root[data-theme="dark"],
:root[data-palette],
:root[data-palette][data-theme="dark"] {
    color-scheme: light;
    --ink: oklch(0.26 0.04 45);
    --marigold: oklch(0.82 0.15 82);
    --rose: oklch(0.7 0.16 15);
    --tint-hue: 80;
    --brand-hue: 42;
    --brand-chroma: 0.17;
    --brand-l: 0.58;
    --brand-fg: oklch(0.985 0.015 90);
    --background: oklch(0.965 0.025 85);
    --surface: oklch(0.99 0.012 90);
    --surface-2: oklch(0.935 0.04 82);
    --surface-3: oklch(0.9 0.05 80);
    --text: var(--ink);
    --text-muted: oklch(0.4 0.045 42);
    --text-subtle: oklch(0.5 0.04 45);
    --border: oklch(0.82 0.05 75);
    --border-strong: oklch(0.6 0.06 55);
    --accent: oklch(0.58 0.17 42);
    --accent-hover: oklch(0.53 0.17 42);
    --accent-fg: oklch(0.985 0.015 90);
    --success: oklch(0.55 0.13 150);
    --warning: oklch(0.7 0.15 70);
    --danger: oklch(0.55 0.2 25);
    --focus-ring: oklch(0.7 0.16 15 / 0.7);
    --selection-bg: oklch(0.82 0.15 82 / 0.45);
    --sheen: none;
    --sheen-soft: none;
    --brand-grad: linear-gradient(135deg, oklch(0.82 0.15 82), oklch(0.7 0.16 60));
    --shadow-sm: 0.18rem 0.18rem 0 color-mix(in oklch, var(--ink) 90%, transparent);
    --shadow-md: 0.3rem 0.3rem 0 color-mix(in oklch, var(--ink) 88%, transparent);
    --shadow-lg: 0.5rem 0.5rem 0 color-mix(in oklch, var(--ink) 85%, transparent);
}

.dio-store,
.mini-store {
    --shadow-sm: 0 1px 2px oklch(0.3 0.04 45 / 0.08);
    --shadow-md: 0 2px 6px oklch(0.3 0.04 45 / 0.12);
    --shadow-lg: 0 6px 18px -4px oklch(0.3 0.05 45 / 0.2);
}

.home-header {
    border-bottom: 2px solid var(--ink);
    background: color-mix(in oklch, var(--background) 88%, transparent);
}

.home-header.is-scrolled {
    border-bottom-color: var(--ink);
}

.btn-primary {
    color: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 0.45rem 0.45rem 0 color-mix(in oklch, var(--ink) 88%, transparent);
}

.btn-primary:active,
.btn-secondary:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.feature-card,
.price-card,
.faq__item,
.home-mobile-nav,
.receipt,
.mini-store,
.mini-item,
.mini-card {
    border: 2px solid var(--ink);
}

.diorama--phone {
    border: 2px solid var(--ink);
}

.feature-card__icon {
    border: 1.5px solid color-mix(in oklch, var(--ink) 45%, transparent);
}

.home-eyebrow {
    border: 1.5px solid color-mix(in oklch, var(--ink) 55%, transparent);
    transform: rotate(-1.2deg);
}

.truth-chips li {
    filter: drop-shadow(0.16rem 0.16rem 0 color-mix(in oklch, var(--ink) 80%, transparent));
}

.home-section__head h2::after {
    border-top-color: color-mix(in oklch, var(--rose) 85%, transparent);
}

.step__num {
    background: var(--marigold);
    color: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.steps::before {
    border-top-color: color-mix(in oklch, var(--ink) 50%, transparent);
}

.hero-swap {
    background-image: linear-gradient(100deg, var(--accent) 42%, var(--marigold) 50%, var(--accent) 58%);
}

.aurora {
    background: radial-gradient(50% 58% at 66% 26%, color-mix(in oklch, var(--marigold) 32%, transparent), transparent 72%);
}

.aurora::after {
    background: radial-gradient(50% 55% at 50% 50%, color-mix(in oklch, var(--accent) 13%, transparent), transparent 72%);
}

.hero-bokeh span:nth-child(3n) {
    background: radial-gradient(circle at 35% 35%, color-mix(in oklch, var(--rose) 45%, white), color-mix(in oklch, var(--rose) 55%, transparent) 45%, transparent 72%);
}

.price-card--featured {
    position: relative;
    transform: rotate(-1.2deg);
    box-shadow: var(--shadow-lg);
}

.price-card--featured::after {
    content: "";
    position: absolute;
    top: -1.4rem;
    right: -1rem;
    width: 3.4rem;
    height: 3.4rem;
    background: var(--rose);
    clip-path: polygon(50% 0%, 59% 12%, 72% 5%, 75% 19%, 90% 18%, 86% 32%, 100% 38%, 90% 50%, 100% 62%, 86% 68%, 90% 82%, 75% 81%, 72% 95%, 59% 88%, 50% 100%, 41% 88%, 28% 95%, 25% 81%, 10% 82%, 14% 68%, 0% 62%, 10% 50%, 0% 38%, 14% 32%, 10% 18%, 25% 19%, 28% 5%, 41% 12%);
    animation: spark-spin 26s linear infinite;
}

@keyframes spark-spin {
    to {
        transform: rotate(360deg);
    }
}

.bento-card.bento-card--wide {
    background-color: var(--surface-2);
}

.bento-card:nth-child(4) {
    background-color: color-mix(in oklch, var(--rose) 8%, var(--surface));
}

.ticker {
    position: relative;
    width: 100vw;
    margin: 0.75rem calc(50% - 50vw) 1.5rem;
    padding: 0.6rem 0;
    background: var(--rose);
    border-block: 2px solid var(--ink);
    transform: rotate(-1.2deg);
    overflow: hidden;
}

.ticker__track {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__group {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    padding-right: 1.6rem;
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink);
}

.ticker__star {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    background: var(--accent-fg);
    border-radius: 1px;
    transform: rotate(45deg);
}

@keyframes ticker-scroll {
    to {
        transform: translateX(-50%);
    }
}

.cta-band {
    border: 2px solid var(--ink);
}

.cta-band h2,
.cta-band p {
    color: var(--ink);
}

.cta-band p {
    color: color-mix(in oklch, var(--ink) 86%, transparent);
}

.cta-band__waitlist {
    color: var(--ink);
}

.cta-band__waitlist:hover {
    color: var(--ink);
    text-decoration-thickness: 2px;
}

.cta-band__btn {
    color: var(--ink);
}

.cta-spark {
    background: var(--accent-fg);
}

.home-footer {
    background: var(--surface-2);
    border-top: 2px solid var(--ink);
}

.diorama.diorama--phone {
    max-width: 15.5rem;
    gap: 0.3rem;
    padding: 0.45rem 0.45rem 0.55rem;
    border-radius: 38px;
    border-color: var(--ink);
    background-color: var(--ink);
    background-image: none;
}

.dio-phone__top {
    padding: 0.32rem 0 0.12rem;
}

.dio-phone__speaker {
    width: 4.5rem;
    height: 0.32rem;
    background: oklch(0.46 0.03 45);
}

.dio-phone__screen {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 0.5rem;
    min-height: 28.5rem;
    padding: 0.45rem 0.5rem 0.35rem;
    background: var(--background);
    border-radius: 28px;
}

.dio-phone__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.1rem 0.45rem 0;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
}

.dio-phone__batt {
    position: relative;
    width: 1.05rem;
    height: 0.5rem;
    border: 1.5px solid color-mix(in oklch, var(--text-muted) 80%, transparent);
    border-radius: 3px;
}

.dio-phone__batt::before {
    content: "";
    position: absolute;
    inset: 1.5px;
    right: 30%;
    border-radius: 1px;
    background: var(--text-muted);
}

.dio-phone__batt::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0.22rem;
    border-radius: 0 1px 1px 0;
    background: color-mix(in oklch, var(--text-muted) 80%, transparent);
}

.dio-store {
    border: none;
    background: transparent;
    padding: 0.1rem 0.1rem 0.5rem;
    border-radius: 0;
}

.dio-phone__home {
    justify-self: center;
    width: 5.5rem;
    height: 0.3rem;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: color-mix(in oklch, var(--text) 30%, transparent);
}
