*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ol,
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

:root {
    --bg: #f7f8fc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --text: rgba(11, 18, 32, 0.92);
    --muted: rgba(11, 18, 32, 0.68);
    --muted2: rgba(11, 18, 32, 0.52);
    --border: rgba(11, 18, 32, 0.10);

    --brand: #58c8e8;
    --brand2: #a6f0ff;
    --glow: rgba(88, 200, 232, 0.22);

    --shadow: 0 18px 60px rgba(2, 6, 23, 0.16);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
}

[data-theme="dark"] {
    --bg: #0b1220;
    --surface: #0f1a2a;
    --surface-2: #0b1524;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.72);
    --muted2: rgba(255, 255, 255, 0.56);
    --border: rgba(255, 255, 255, 0.10);
    --glow: rgba(88, 200, 232, 0.20);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

html {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
}

.container--wide {
    width: min(100% - 32px, 1320px);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    z-index: 10000;
}

.skip-link:focus {
    left: 12px;
    outline: none;
    box-shadow: 0 0 0 4px var(--glow);
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.875rem;
}

.text-link {
    color: var(--text);
    opacity: 0.92;
}

.text-link.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

h1,
h2,
h3 {
    line-height: 1.12;
    margin: 0;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 2.5vw + 1.6rem, 3.25rem);
}

h2 {
    font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.2rem);
}

h3 {
    font-size: 1.125rem;
}

p {
    margin: 0;
}

.kicker {
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--muted2);
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted2);
    margin: 0 0 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--bg), transparent 10%);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand-logo {
    height: 22px;
    width: auto;
    opacity: 0.95;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-list {
    display: none;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 500;
    transition: background 160ms ease, color 160ms ease;
}

.nav-link.is-active {
    color: var(--text);
    background: color-mix(in srgb, var(--surface), transparent 20%);
    border: 1px solid var(--border);
}

.nav-link:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--surface), transparent 35%);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle-lines {
    width: 18px;
    height: 12px;
    position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    opacity: 0.9;
}

.nav-toggle-lines::before {
    top: 0;
}

.nav-toggle-lines::after {
    bottom: 0;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--surface), transparent 12%);
}

@media (min-width: 768px) {
    .nav-list {
        display: inline-flex;
    }

    .nav-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .nav-actions {
        justify-content: space-between;
    }
}

.site-footer {
    margin-top: 40px;
    padding: 48px 0 26px;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg), var(--surface) 14%);
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-brand {
    display: grid;
    gap: 12px;
}

.footer-logo {
    height: 22px;
    width: auto;
    opacity: 0.95;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.footer-title {
    font-weight: 700;
    margin: 0 0 10px;
}

.site-footer a {
    color: var(--muted);
    transition: color 160ms ease;
}

.site-footer a:hover {
    color: var(--text);
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-social {
    display: inline-flex;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

.section {
    padding: 72px 0;
}

.section--alt {
    background: color-mix(in srgb, var(--surface-2), transparent 20%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.section-heading .muted {
    max-width: 72ch;
}

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 16px;
    overflow: hidden;
}

/* Featured section: don't clip hover lift */
.panel--featured{
    overflow: visible;
}

/* Give a tiny top padding so the card can lift without being cut */
.panel--featured .scroller{
    padding-top: 6px;
    padding-bottom: 12px;
    overflow-y: visible;
}

.grid-2,
.grid-3 {
    display: grid;
    gap: 14px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.cta-strip {
    margin-top: 18px;
    padding: 18px 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface), transparent 8%), color-mix(in srgb, var(--surface), var(--glow) 12%));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-box {
    margin-top: 22px;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface), transparent 8%), color-mix(in srgb, var(--surface), var(--glow) 12%));
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    user-select: none;
}

.btn i {
    font-size: 1.1rem;
    line-height: 0;
}

.btn:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--surface), transparent 8%);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--glow);
}

.btn[disabled],
.btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-color: transparent;
    color: #001016;
}

.btn--primary:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand), #fff 10%), color-mix(in srgb, var(--brand2), #fff 10%));
}

.btn--secondary {
    background: color-mix(in srgb, var(--surface), transparent 0%);
}

.btn--ghost {
    background: transparent;
}

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 18px;
    display: grid;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.card--link {
    cursor: pointer;
}

.card--link:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 180px at 20% 0%, var(--glow), transparent 60%);
    opacity: 0.55;
    pointer-events: none;
}

.card > * {
    position: relative;
}

.card-title {
    margin: 0;
}

.card-list {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.card-list li {
    color: var(--muted);
    padding-left: 18px;
    position: relative;
}

.card-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand);
    position: absolute;
    left: 0;
    top: 0.45em;
}

.card-footer {
    margin-top: 6px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.card--compact {
    padding: 16px;
    min-width: 260px;
}

.card--catalog {
    height: 100%;
}

.card--hover {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card--hover:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand), var(--border) 65%);
    background: color-mix(in srgb, var(--surface), transparent 0%);
}

.form {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: var(--muted);
}

.check input {
    width: 18px;
    height: 18px;
    accent-color: color-mix(in srgb, var(--brand), #000 10%);
}

.check span {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row--tight {
    gap: 10px;
}

@media (min-width: 720px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .form-row--tight {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

.form-note {
    margin-top: 10px;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
}

.input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    color: var(--text);
    transition: border-color 160ms ease, background 160ms ease;
}

textarea.input {
    resize: vertical;
}

.input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--glow);
}

.form-actions {
    display: grid;
    gap: 10px;
    align-items: start;
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-form .input {
    min-width: 220px;
    flex: 1;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 14px;
}

.filters__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.chip:hover {
    transform: translateY(-1px);
    color: var(--text);
    background: color-mix(in srgb, var(--surface), transparent 8%);
}

.chip.is-active {
    color: #001016;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
}

.scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.scroller > * {
    scroll-snap-align: start;
}

/* Featured: sized so 4 cards fit inside the panel on desktop */
.scroller--featured > .card {
    flex: 0 0 300px;
    min-width: 300px;
}

@media (max-width: 520px) {
    .scroller--featured > .card {
        flex-basis: 260px;
        min-width: 260px;
    }
}

/* Center featured cards only when they don't overflow */
.scroller--featured.is-centered{
    justify-content: center;
    scroll-snap-type: none;
}

.scroller--featured.is-centered > .card{
    scroll-snap-align: none;
}

.scroller::-webkit-scrollbar {
    height: 8px;
}

.scroller::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--border), transparent 20%);
    border-radius: 999px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface), transparent 0%);
    color: var(--muted);
    font-size: 0.85rem;
}

.pill--soft {
    background: color-mix(in srgb, var(--surface-2), transparent 0%);
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    align-items: start;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    margin-top: 8px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow), transparent 40%);
}

.timeline-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    padding: 16px;
}

.timeline--cards {
    grid-template-columns: 1fr;
}

.timeline-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    padding: 18px;
}

.timeline-card h3 {
    margin: 0 0 8px;
}

.timeline-card p {
    margin: 0 0 12px;
}

@media (min-width: 1024px) {
    .timeline--cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero {
    position: relative;
    padding: 84px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 520px;
    background: radial-gradient(800px 400px at 20% 40%, var(--glow), transparent 60%),
    radial-gradient(700px 360px at 70% 20%, color-mix(in srgb, var(--brand2), transparent 65%), transparent 60%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    gap: 26px;
    align-items: center;
}

.hero-sub {
    margin-top: 14px;
    color: var(--muted);
    max-width: 64ch;
}

.hero-actions {
    margin-top: 18px;
}

.hero-proof {
    margin-top: 18px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.stat {
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 150px;
}

.stat strong {
    display: block;
    font-size: 1rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
}

.device {
    border-radius: 26px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.device-top {
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 8%);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text), transparent 72%);
}

.device-body {
    padding: 16px;
    display: grid;
    gap: 10px;
}

.skeleton-line {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--border), transparent 22%);
}

.skeleton-line.w-60 {
    width: 60%;
}

.skeleton-line.w-80 {
    width: 80%;
}

.skeleton-line.w-90 {
    width: 90%;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.icon-tile {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: radial-gradient(120px 80px at 30% 30%, var(--glow), transparent 70%),
    color-mix(in srgb, var(--surface-2), transparent 0%);
    border: 1px solid var(--border);
}

.skeleton-pill {
    margin-top: 10px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface), transparent 8%), color-mix(in srgb, var(--surface), var(--glow) 14%));
    border: 1px solid var(--border);
}

.float-card {
    position: absolute;
    width: min(260px, 80%);
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.float-card--a {
    left: -10px;
    bottom: 22px;
}

.float-card--b {
    right: -10px;
    top: 20px;
}

.steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.steps li {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 18px;
    position: relative;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #001016;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 40px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-hero {
    padding: 56px 0 22px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 240px at 20% 0%, var(--glow), transparent 60%);
    pointer-events: none;
}

.page-hero-grid {
    position: relative;
    display: grid;
    gap: 18px;
    align-items: start;
}

.page-hero-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 18px;
}

.page-hero-card h3{
    margin-bottom: 10px;
}

.page-hero-card .list{
    margin-top: 0; /* keeps it tight like “Rules we follow” */
}

.page-hero-card .list li i{
    color: var(--muted);
    opacity: 0.9;
}

.process-steps{
    display: grid;
    gap: 22px; /* space between Step 1/2/3/4/5 blocks */
}

.process-step__head{
    margin-bottom: 8px; /* a bit more breathing room under “Step X / Title” */
}

@media (min-width: 980px){
    .process-steps{ gap: 26px; }
}

.contact-grid {
    display: grid;
    gap: 16px;
    align-items: start;
}

.contact-aside {
    display: grid;
    gap: 16px;
}

.stack {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

@media (min-width: 1024px) {
    .page-hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 22px;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1.35fr 0.65fr;
        gap: 18px;
    }
}

/* Reveal animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(8px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 380ms ease, transform 380ms ease;
}

/* ----------------------------
   V2 UI patches (templates/app)
   ---------------------------- */

.brand-logo {
    height: auto;
    width: auto;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.brand-tagline {
    display: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--muted2);
    white-space: nowrap;
    max-width: 24ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 980px) {
    .brand-tagline {
        display: inline;
    }
}

/* Footer (new about) */
.footer-top {
    display: grid;
    gap: 26px;
    align-items: start;
}

@media (min-width: 980px) {
    .footer-top {
        grid-template-columns: 1.1fr 0.9fr 0.65fr;
        gap: 28px;
    }
}

.footer-brandline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.footer-logo {
    height: auto;
    width: auto;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--text);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.footer-cta {
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.10);
}

.footer-cta h3 {
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.footer-links h4 {
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-links ul {
    display: grid;
    gap: 10px;
}

.footer-meta {
    margin-top: 16px;
    display: grid;
    gap: 6px;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Split + tabs + panels */
.split {
    display: grid;
    gap: 18px;
    align-items: start;
}

@media (min-width: 980px) {
    .split {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 22px;
    }
}

.panel {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.10);
}

.note__panel {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), var(--bg) 14%);
}

.note__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.tabs {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 14px;
}

.tabs--center {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.capabilities-tabs {
    margin-top: 28px;
}

.tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tabs__btn {
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.tabs__btn:hover {
    transform: translateY(-1px);
    color: var(--text);
    background: color-mix(in srgb, var(--surface), transparent 8%);
}

.tabs__btn.is-active {
    color: #001016;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
}

.tabs__pane h3 {
    margin: 6px 0 8px;
    letter-spacing: -0.02em;
}

.list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
}

.list li i {
    margin-top: 2px;
    color: var(--text);
}

.range-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.fit-score {
    font-variant-numeric: tabular-nums;
}

/* App cards */
.app-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.app-card {
    height: 100%;
}

[data-js="filterGrid"] > .is-hidden {
    display: none !important;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    color: var(--muted);
    font-weight: 800;
    font-size: 0.9rem;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.store-link:hover {
    transform: translateY(-1px);
    color: var(--text);
    background: color-mix(in srgb, var(--surface), transparent 10%);
}

/* Modal */
body.modal-open {
    overflow: hidden;
}

body.nav-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding:
        max(18px, env(safe-area-inset-top))
        18px
        max(18px, env(safe-area-inset-bottom));
    z-index: 2000;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(7px);
}

.modal__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: min(94vh, calc(100dvh - 32px));
    margin: auto;
    overflow: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.modal__dialog--app-preview {
    display: flex;
    flex-direction: column;
}

.modal__head {
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.modal__title {
    margin: 0;
    letter-spacing: -0.02em;
}

.modal__body {
    padding: 16px;
    display: grid;
    gap: 16px;
}

.modal__dialog--app-preview .modal__body {
    overflow-y: auto;
    align-items: start;
}

.modal__body--single {
    grid-template-columns: 1fr;
}

@media (min-width: 980px) {
    .modal__body {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 18px;
    }

    .modal__body--single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 979px) {
    .modal__dialog {
        width: min(100%, 760px);
    }
}

.modal__actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.preview-tile {
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand), transparent 75%), transparent 60%),
        color-mix(in srgb, var(--surface-2), transparent 0%);
}

.modal__copy {
    display: grid;
    align-items: start;
    gap: 10px;
}

.app-preview-viewer {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand), transparent 75%), transparent 60%),
        color-mix(in srgb, var(--surface-2), transparent 0%);
    min-height: clamp(240px, 38vh, 420px);
}

.app-preview-viewer__button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.app-preview-viewer__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface), var(--bg) 12%);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.app-preview-nav--prev {
    left: 12px;
}

.app-preview-nav--next {
    right: 12px;
}

.app-preview-gallery {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 10px;
    max-height: 240px;
    overflow-y: auto;
}

.app-preview-thumb {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand), transparent 75%), transparent 60%),
        color-mix(in srgb, var(--surface-2), transparent 0%);
    aspect-ratio: 9 / 16;
}

.app-preview-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-preview-thumb.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand), transparent 65%);
}

.app-preview-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2100;
}

.app-preview-lightbox.is-open {
    display: block;
}

.app-preview-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.84);
    backdrop-filter: blur(10px);
}

.app-preview-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        max(20px, env(safe-area-inset-top))
        20px
        max(20px, env(safe-area-inset-bottom));
}

.app-preview-lightbox__scroller {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview-lightbox__image {
    display: block;
    width: auto;
    max-width: min(88vw, 560px);
    max-height: calc(100dvh - 90px);
    height: auto;
    margin: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    background: var(--surface);
    object-fit: contain;
}

.app-preview-lightbox__close,
.app-preview-lightbox__nav {
    position: absolute;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface), var(--bg) 10%);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.app-preview-lightbox__close {
    top: max(20px, env(safe-area-inset-top));
    right: 20px;
}

.app-preview-lightbox__nav--prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.app-preview-lightbox__nav--next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .app-preview-viewer {
        min-height: clamp(220px, 32vh, 320px);
    }

    .app-preview-lightbox__image {
        max-width: 92vw;
        max-height: calc(100dvh - 84px);
    }

    .app-preview-lightbox__nav--prev {
        left: 10px;
    }

    .app-preview-lightbox__nav--next {
        right: 10px;
    }

    .app-preview-lightbox__close {
        right: 10px;
    }
}

@media (max-width: 979px) {
    .app-preview-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}



/* Toast */
.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: min(420px, calc(100% - 36px));
    z-index: 70;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast__inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), var(--bg) 18%);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
}

.toast.is-success .toast__inner {
    border-color: color-mix(in srgb, var(--brand), var(--border) 50%);
}

.toast.is-error .toast__inner {
    border-color: rgba(239, 68, 68, 0.35);
}

/* Callout blocks (legal pages) */
.callout {
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), var(--bg) 12%);
}

.callout p {
    margin: 0;
}

.callout p + p {
    margin-top: 8px;
}

/* Form helpers */
.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.check--required span::after {
    content: ' *';
    color: rgba(239, 68, 68, 0.9);
    font-weight: 800;
}

.is-invalid,
.input.is-invalid {
    border-color: rgba(239, 68, 68, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14) !important;
}

/* Tiny about helpers used across sections */
.row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.row i {
    margin-top: 2px;
    color: var(--muted);
}

/* Brief blocks (modal templates) */
.brief {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px dashed color-mix(in srgb, var(--border), transparent 0%);
    background: color-mix(in srgb, var(--surface-2), transparent 0%);
}

.brief__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
}

.brief__row strong {
    letter-spacing: -0.01em;
}

.brief__row span {
    color: var(--muted);
}

/* =========================================================
   Gekabyte UI patches
   - Fix default button look on <button> elements
   - Add missing marquee + FAQ styles
   - Make footer compact and consistent
   ========================================================= */

/* Brand: icon + text (avoid tiny raster wordmark in header) */
.brand-name {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    font-size: 1.05rem;
    color: var(--text);
    white-space: nowrap;
}

.brand-mark,
.footer-mark {
    object-fit: cover;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.brand-word {
    display: block;
    height: 19px;
    width: auto;
    opacity: 0.98;
}

.footer-word {
    display: block;
    height: 16px;
    width: auto;
    opacity: 0.96;
}


/* Light mode: make logo + wordmark crisp against light surfaces */
:root[data-theme="light"] .brand-word,
:root[data-theme="light"] .footer-word {
    filter:
        drop-shadow(1px 0 0 rgba(0, 0, 0, 0.9))
        drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.9))
        drop-shadow(0 1px 0 rgba(0, 0, 0, 0.9))
        drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.9));
}


/* Text-link must reset default <button> styles */
.text-link {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 650;
    border-bottom: 1px solid transparent;
    transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.text-link:hover {
    opacity: 1;
    border-bottom-color: color-mix(in srgb, var(--text), transparent 55%);
}

.text-link:focus-visible {
    outline: none;
    border-radius: 10px;
    box-shadow: 0 0 0 4px var(--glow);
}

/* Buttons */
.btn--secondary {
    background: linear-gradient(135deg,
    color-mix(in srgb, var(--surface), var(--glow) 10%),
    color-mix(in srgb, var(--surface), transparent 0%));
}

/* Marquee (hero platforms row) */
.hero-marquee {
    margin-top: 14px;
}

.marquee {
    overflow: hidden;
    padding: 6px 0;
    position: relative;
}

/* Marquee edge fades WITHOUT mask-image (no validator errors) */
.marquee::before,
.marquee::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;              /* adjust fade width */
    pointer-events: none;
    z-index: 2;
}

.marquee::before{
    left: 0;
    background: linear-gradient(to right, var(--bg), rgba(0,0,0,0));
}

.marquee::after{
    right: 0;
    background: linear-gradient(to left, var(--bg), rgba(0,0,0,0));
}

/* Ensure chips are under the fade */
.marquee__track{ position: relative; z-index: 1; }

.marquee__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
    transform: translate3d(0,0,0);
}

/* lock each group so widths stay identical */
.marquee__group {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 0%);
    color: var(--muted);
    font-weight: 600;
}

.marquee__item i {
    color: var(--text);
    opacity: 0.85;
}

/* CSS fallback if JS doesn't run */
.marquee:not(.is-js) .marquee__track {
    animation: gekabyte-marquee 22s linear infinite;
}

@keyframes gekabyte-marquee {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none !important;
        transform: translate3d(0,0,0) !important;
    }
}

/* Carousel (testimonials) */
.carousel {
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.10);
    overflow: hidden;
}

.carousel__track {
    display: flex;
    width: 100%;
    will-change: transform;
    transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
    touch-action: pan-y;
}

.carousel__slide {
    flex: 0 0 100%;
    padding: 6px;
}

.carousel__controls {
    margin-top: 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.carousel__dots {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.carousel__arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.testimonial .trust-row {
    margin-top: 18px;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface), transparent 20%);
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.dot-btn:hover {
    transform: scale(1.1);
}

.dot-btn.is-active {
    background: var(--text);
    border-color: var(--text);
    transform: scale(1.25);
}

.quote-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.10);
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 260ms ease;
}

.quote-card.is-tilting {
    transition: none;
}

/* Define defaults so editors stop warning */
[data-tilt] {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
}

.quote-card__mark {
    position: absolute;
    top: -12px;
    right: 16px;
    font-size: 72px;
    line-height: 1;
    opacity: 0.14;
}

.quote-card__text {
    margin: 0;
    font-size: 1.125rem;
    max-width: 70ch;
}

.quote-card__meta {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
    .carousel__track {
        transition: none;
    }

    .dot-btn {
        transition: none;
    }
}

.carousel__arrows .icon-btn{
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.carousel__arrows .icon-btn i{
    font-size: 0.95rem;
}

/* ==============================
   FROM USERS: fixed-height cards
   + auto-scroll long quotes
   ============================== */

/* Testimonials: fixed stage height, variable white card height */
.testimonial .carousel{
    --review-card-max: clamp(190px, 22vh, 250px); /* same as before */
}

/* Track is the fixed “stage” height (include slide padding 6px top/bottom = 12px) */
.testimonial .carousel__track{
    height: calc(var(--review-card-max) + 12px);
}

/* Each slide fills the stage and centers the card */
.testimonial .carousel__slide{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional (helps some editors + enables smooth transitions if you ever animate it) */
@property --quote-card-h {
    syntax: "<length>";
    inherits: true;
    initial-value: 0px;
}

/* Define a default so linters can “resolve” it */
.testimonial .carousel {
    --review-card-max: clamp(190px, 22vh, 250px);
}

.testimonial .quote-card{
    --quote-card-h: var(--review-card-max); /* default */
    height: var(--quote-card-h);
    max-height: var(--review-card-max);
}

/* White review card: height is per-card (JS sets --quote-card-h) */
.testimonial .quote-card{
    display: flex;
    flex-direction: column;
    height: var(--quote-card-h, var(--review-card-max));
    max-height: var(--review-card-max);
    width: 100%;
}

/* the text area is the “viewport” */
.quote-card__text{
    flex: 1 1 auto;
    min-height: 0;              /* IMPORTANT: prevents card growing */
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 6px 0 10px;
    line-height: 1.45;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbars by default */
.quote-card__text{
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.quote-card__text::-webkit-scrollbar{ width: 0; height: 0; }

/* IMPORTANT: user cannot scroll/select while auto-scrolling */
.quote-card.is-scrollable:not(.is-paused):not(.is-locked) .quote-card__text{
    pointer-events: none;
    user-select: none;
}

/* When paused/locked, user can scroll manually */
.quote-card.is-scrollable.is-paused .quote-card__text,
.quote-card.is-scrollable.is-locked .quote-card__text{
    pointer-events: auto;
    user-select: text;
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* No top/bottom fade overlays (keeps text crisp) */
.quote-card__text::before,
.quote-card__text::after{
    content: none !important;
}

.quote-card.is-scrollable .quote-card__text::before{
    top: 0;
    background: linear-gradient(to bottom, var(--surface), rgba(0,0,0,0));
}

.quote-card.is-scrollable .quote-card__text::after{
    bottom: 0;
    background: linear-gradient(to top, var(--surface), rgba(0,0,0,0));
}

/* paused/locked = user can manually scroll */
.quote-card.is-scrollable.is-paused .quote-card__text{
    overflow-y: auto;
    scrollbar-width: thin;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* reduced motion: no auto scroll; allow manual */
@media (prefers-reduced-motion: reduce){
    .quote-card.is-scrollable .quote-card__text{
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

/* FAQ accordion */
.faq {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.faq--scroll {
    --faq-max-height: min(520px, 65vh); /* JS will override to “5 items tall” */
    max-height: var(--faq-max-height);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-gutter: stable;
}

.faq--scroll::-webkit-scrollbar {
    width: 10px;
}

.faq--scroll::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--border), transparent 20%);
    border-radius: 999px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    background: transparent;
    border: 0;
    text-align: left;
    font-weight: 650;
}

.faq-q i {
    opacity: 0.72;
    transition: transform 180ms ease;
}

.faq-item.is-open .faq-q i {
    transform: rotate(45deg);
}

.faq-a {
    height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: height 220ms ease;
}

.faq-item.is-open .faq-a {
    padding-bottom: 14px;
}

.faq-a p {
    margin-top: 10px;
}

/* Footer: compact grid */
.site-footer {
    padding: 38px 0 22px;
}

.footer-brandline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-mark {
    width: 42px;
    height: 42px;
}

.footer-name {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer ul {
    display: grid;
    gap: 10px;
}

.footer-meta {
    margin-top: 14px;
    display: grid;
    gap: 6px;
}
/* ===== Home hero final fix ===== */
.hero-copy,
.hero-title,
.hero-sub,
.hero-actions,
.hero-proof,
.stat {
    min-width: 0;
}

.hero-visual {
    display: none !important;
}

.hero-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
    align-items: start;
}

.hero-copy {
    max-width: 760px;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-copy {
        max-width: 760px;
    }
}

@media (max-width: 767px) {
    main,
    .hero,
    .section {
        overflow-x: clip;
    }

    .hero {
        padding: 44px 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
        align-items: start;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
        margin-top: 14px;
        font-size: 1.05rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat {
        width: 100%;
        min-width: 0;
    }

    .hero-bg {
        display: none;
    }

    .marquee {
        max-width: 100%;
        overflow: hidden;
    }

    .marquee::before,
    .marquee::after {
        width: 18px;
    }
}

@media (max-width: 420px) {
    .hero-proof {
        grid-template-columns: 1fr;
    }
}

/* ===== HERO SENTENCE ROTATOR: final single version ===== */

.hero-title {
    font-size: clamp(1.95rem, 1.5vw + 1.2rem, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 100%;
}

.hero-title__dynamic {
    max-width: 100%;
    min-width: 0;
}

.hero-title__dynamic--sentence {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    min-width: 0;
}

.hero-title__typed {
    display: inline;
    line-height: 1.08;
    white-space: nowrap;
}

.hero-title__cursor {
    display: inline-block;
    width: 2px;
    height: 0.92em;
    margin-left: 2px;
    vertical-align: 0.04em;
    background: currentColor;
    opacity: 0.85;
    animation: heroCaretBlink 0.9s steps(1) infinite;
}

@keyframes heroCaretBlink {
    0%, 49% { opacity: .85; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title__cursor {
        animation: none;
        opacity: 0.65;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(1.5rem, 5.6vw, 2.2rem);
        line-height: 1.04;
        letter-spacing: -0.03em;
        margin-top: 8px;
    }

    .hero-title__dynamic,
    .hero-title__dynamic--sentence {
        display: inline;
        max-width: 100%;
        min-width: 0 !important;
        width: auto !important;
        overflow: visible;
    }

    .hero-title__typed {
        display: inline;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .hero-title__cursor {
        display: inline-block;
        margin-left: 2px;
    }
}

@media (max-width: 430px) and (orientation: portrait) {
    .hero-title {
        font-size: clamp(1.34rem, 5.2vw, 1.7rem);
        line-height: 1.02;
        letter-spacing: -0.035em;
    }
}
