:root {
    --bg-color: #000000;
    --surface-color: #0a0a0a;
    --surface-raised: #111111;
    --surface-hover: #141414;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.22);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-tertiary: #5c5c5c;
    --accent-color: #e0e0e0;
    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #464646 100%);
    --success: #30d158;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --page-width: 1160px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html,
body {
    overflow-x: clip;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    letter-spacing: -0.04em;
    font-weight: 600;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.88em;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1em 0.4em;
    border-radius: 6px;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.9rem 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    background: rgba(0, 0, 0, 0.75);
}

.nav-content {
    max-width: var(--page-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
}

.logo-text {
    letter-spacing: -0.02em;
}

.logo-image {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    padding: 0.7rem 1.3rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    padding: 0.7rem 1.3rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

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

.btn-primary.small {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 0.95rem 1.8rem;
    font-size: 1.02rem;
}

.apple {
    width: 15px;
    height: 18px;
    margin-top: -2px;
}

.arrow {
    transition: transform 0.2s ease;
}

a:hover .arrow {
    transform: translateX(3px);
}

/* ---------- Hero ---------- */
.hero {
    padding: 9.5rem 1.5rem 4rem;
    text-align: center;
    max-width: var(--page-width);
    margin: 0 auto;
}

.announce {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: var(--surface-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.announce:hover {
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.announce-tag {
    background: var(--accent-color);
    color: #000;
    border-radius: 100px;
    padding: 0.15rem 0.6rem;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.hero-title {
    font-size: clamp(2.3rem, 9vw, 5.75rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.gradient-text {
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #464646 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-meta {
    margin-top: 1.25rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* Hero stage: the notch scanner floating over the dashboard */
.hero-stage {
    position: relative;
    max-width: 820px;
    margin: 5rem auto 0;
}

.stage-glow {
    position: absolute;
    inset: -10% 0 auto;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1), transparent 65%);
    pointer-events: none;
    filter: blur(20px);
}

.notch-demo {
    position: relative;
    z-index: 2;
    width: min(480px, 82%);
    margin: 0 auto -3.2rem;
    aspect-ratio: 960 / 341;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    animation: float 6s ease-in-out infinite;
}

.notch-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.notch-frame.is-active {
    opacity: 1;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.window {
    position: relative;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(255, 255, 255, 0.05);
}

.window-bar {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.traffic {
    display: flex;
    gap: 6px;
}

.traffic i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2a2a2a;
}

.window-title {
    flex: 1;
    text-align: center;
    margin-right: 45px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---------- Sections ---------- */
.section {
    padding: 7rem 1.5rem;
    max-width: var(--page-width);
    margin: 0 auto;
}

.section.narrow {
    max-width: 800px;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge {
    background: var(--success);
    color: #000;
    border-radius: 100px;
    padding: 0.1rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    line-height: 1.06;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 540px;
}

.section-header.center .subtitle {
    margin: 0 auto;
}

/* ---------- How it works ---------- */
.steps,
.install {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.step,
.install-step {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.step h3,
.install-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.step p,
.install-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.video-frame {
    margin-top: 3rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.video-frame video {
    width: 100%;
}

.video-wrap {
    position: relative;
    background: #000;
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-play[hidden] {
    display: none;
}

.video-play-icon {
    display: grid;
    place-items: center;
    width: clamp(64px, 9vw, 92px);
    height: clamp(64px, 9vw, 92px);
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-play-icon svg {
    width: 40%;
    height: 40%;
    margin-left: 6%;
    fill: #000;
}

.video-play:hover .video-play-icon,
.video-play:focus-visible .video-play-icon {
    transform: scale(1.06);
    background: #ffffff;
}

.video-play:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -6px;
}

.video-play-label {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-color);
}

/* ---------- Cards ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.card.span-2 {
    grid-column: span 2;
}

.card-media {
    background: #050505;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    border-bottom: 1px solid var(--border-color);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.card-body {
    flex: 1;
}

.card-body {
    padding: 1.75rem 2rem 2rem;
}

.card-body h3 {
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.6;
}

/* ---------- New in 2.4 ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

.split.reverse .split-text {
    order: 2;
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-raised);
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.split-text h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.8rem;
}

.split-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.split-text em {
    color: var(--text-primary);
    font-style: normal;
}

.checks {
    list-style: none;
    margin-top: 1.4rem;
    display: grid;
    gap: 0.6rem;
}

.checks li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.85rem;
    height: 0.5rem;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: rotate(-45deg);
    transform-origin: center;
}

.split-media {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.split-media img {
    border-radius: 14px;
}

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Finder right-click mockup */
.finder-demo {
    position: relative;
    gap: 1.5rem;
    background: radial-gradient(ellipse at 30% 40%, #1a1a1a, #050505 70%);
    overflow: hidden;
}

.finder-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.file-name {
    font-size: 0.75rem;
    background: #2457d6;
    color: #fff;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
}

.doc-icon {
    position: relative;
    display: grid;
    place-items: end center;
    width: 56px;
    height: 70px;
    background: linear-gradient(#fafafa, #dcdcdc);
    border-radius: 4px;
    clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
    padding-bottom: 10px;
}

.doc-icon span {
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    background: #e5484d;
    border-radius: 3px;
    padding: 0.05rem 0.35rem;
}

.context-menu {
    list-style: none;
    width: 210px;
    flex-shrink: 0;
    padding: 5px;
    border-radius: 10px;
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    color: #e6e6e6;
}

.context-menu li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.22rem 0.6rem;
    border-radius: 5px;
}

.context-menu li.sep {
    height: 1px;
    padding: 0;
    margin: 4px 0.6rem;
    background: rgba(255, 255, 255, 0.12);
}

.context-menu li.hl {
    background: #2457d6;
    color: #fff;
    animation: menu-pick 4s ease-in-out infinite;
}

.context-menu svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@keyframes menu-pick {
    0%,
    30% {
        background: transparent;
        color: #e6e6e6;
    }

    40%,
    100% {
        background: #2457d6;
        color: #fff;
    }
}

/* Drop-on-the-notch mockup */
.drop-demo {
    position: relative;
    background: linear-gradient(180deg, #3a3a3a 0%, #161616 100%);
    overflow: hidden;
    align-items: flex-start;
}

.drop-demo .menubar {
    position: absolute;
    inset: 0 0 auto;
    height: 22px;
    background: rgba(0, 0, 0, 0.35);
}

.shelf {
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 22px;
    transform: translateX(-50%);
    background: #000;
    border-radius: 0 0 10px 10px;
    animation: shelf 5s var(--ease-out) infinite;
    overflow: hidden;
}

.shelf-content {
    position: absolute;
    inset: auto 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    text-align: left;
    opacity: 0;
    animation: shelf-content 5s ease infinite;
}

.shelf-content svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--success);
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.shelf-content svg .fill {
    fill: var(--success);
    stroke: none;
}

.shelf-content strong {
    display: block;
    font-size: 0.9rem;
}

.shelf-content span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}

.drag-file {
    position: absolute;
    left: 50%;
    bottom: 12%;
    animation: drag-file 5s var(--ease-out) infinite;
}

.drag-file .doc-icon {
    width: 44px;
    height: 55px;
    padding-bottom: 7px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

@keyframes drag-file {
    0% {
        transform: translate(40%, 0) rotate(6deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40%,
    55% {
        transform: translate(-50%, -150%) rotate(-3deg) scale(0.9);
        opacity: 1;
    }

    62% {
        transform: translate(-50%, -190%) scale(0.4);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -190%) scale(0.4);
        opacity: 0;
    }
}

@keyframes shelf {
    0%,
    28% {
        width: 120px;
        height: 22px;
        border-radius: 0 0 10px 10px;
    }

    38%,
    80% {
        width: 290px;
        height: 96px;
        border-radius: 0 0 22px 22px;
    }

    92%,
    100% {
        width: 120px;
        height: 22px;
        border-radius: 0 0 10px 10px;
    }
}

@keyframes shelf-content {
    0%,
    34% {
        opacity: 0;
    }

    42%,
    76% {
        opacity: 1;
    }

    84%,
    100% {
        opacity: 0;
    }
}

.callout {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #0f0f0f, #050505);
}

.callout h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.callout p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.menu-demo {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, #2c2c2c 0%, #121212 100%);
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

.menu-demo-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    height: 26px;
    padding: 0 0.9rem;
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.75rem;
    color: #e6e6e6;
}

.menu-demo-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
}

.menu-demo-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.menu-demo-list {
    position: absolute;
    top: 30px;
    right: 6.2rem;
    width: 230px;
}

/* ---------- Setup tour ---------- */
.tour {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.tour-step {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 1.6rem;
}

.tour-step img {
    border-radius: 12px;
    margin-bottom: 1.25rem;
    width: 100%;
    aspect-ratio: 960 / 380;
    object-fit: cover;
    object-position: center;
}

.tour-num {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 600;
    margin: 0 0.5rem 0.4rem;
}

.tour-step h3 {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    margin: 0 0.5rem 0.4rem;
}

.tour-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0.5rem;
}

/* ---------- Specs ---------- */
.specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--border-color);
    gap: 1px;
}

.spec {
    background: var(--surface-color);
    padding: 2rem;
    transition: background 0.3s ease;
}

.spec:hover {
    background: var(--surface-hover);
}

.spec h4 {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
}

.spec p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
    border-top: 1px solid var(--border-color);
}

.faq details {
    border-bottom: 1px solid var(--border-color);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1.4rem 2.5rem 1.4rem 0;
    position: relative;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details p {
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 2.5rem 1.5rem 0;
}

/* ---------- Download CTA ---------- */
.cta {
    margin: 2rem 1.5rem 0;
    padding: 6rem 1.5rem;
    text-align: center;
    background: radial-gradient(ellipse at top, #161616 0%, var(--bg-color) 70%);
    border-top: 1px solid var(--border-color);
}

.cta-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.75rem;
    border-radius: 18px;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.12);
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.8rem;
}

.cta > p {
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    font-size: 1.1rem;
}

.cta .cta-note {
    margin: 1.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.cta-note a {
    color: var(--text-secondary);
}

/* ---------- Footer ---------- */
footer {
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: var(--page-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.logo.small {
    font-size: 1rem;
    color: var(--text-primary);
}

.logo.small .logo-image {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .tour {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .card.span-2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .section {
        padding: 5rem 1rem;
    }

    .hero {
        padding: 8rem 1rem 3rem;
    }

    .steps,
    .install,
    .bento,
    .duo,
    .specs,
    .split,
    .callout {
        grid-template-columns: 1fr;
    }

    .split {
        gap: 1.75rem;
    }

    .split.reverse .split-text {
        order: 0;
    }

    .hero-stage {
        margin-top: 3.5rem;
    }

    .card-media {
        height: auto;
        min-height: 200px;
    }

    .menu-demo-list {
        right: 1rem;
    }

    .callout {
        padding: 1.75rem;
    }

    .cta {
        margin: 0;
    }
}

@media (max-width: 520px) {
    .tour {
        grid-template-columns: 1fr;
    }

    .hero-cta a {
        width: 100%;
    }

    .announce {
        font-size: 0.78rem;
    }

    .finder-demo {
        gap: 0.75rem;
        padding: 1rem;
    }

    .context-menu {
        width: 180px;
        font-size: 0.72rem;
    }

    .doc-icon {
        width: 46px;
        height: 58px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .faq summary {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .shelf {
        width: 290px;
        height: 96px;
        border-radius: 0 0 22px 22px;
    }

    .shelf-content {
        opacity: 1;
    }

    .drag-file {
        display: none;
    }

    .context-menu li.hl {
        background: #2457d6;
    }
}
