:root {
    color-scheme: light;
    --canvas: #f8f8ff;
    --surface: #ffffff;
    --surface-soft: #f0efff;
    --ink: #171933;
    --muted: #626783;
    --muted-strong: #414565;
    --line: #e0e2f2;
    --line-strong: #c8ccec;
    --brand: #7547f5;
    --brand-dark: #4e36c8;
    --brand-bright: #2f9dec;
    --mint: #e9e4ff;
    --cyan: #2f9deb;
    --violet: #8050f5;
    --coral: #dd6a79;
    --amber: #d99a2d;
    --danger: #c95068;
    --shadow-xs: 0 2px 8px rgba(29, 29, 78, 0.05);
    --shadow-sm: 0 10px 28px rgba(29, 29, 78, 0.08);
    --shadow-lg: 0 30px 70px rgba(24, 24, 68, 0.18);
    --grid-line: rgba(80, 68, 220, 0.075);
}

html[data-theme='dark'] {
    color-scheme: dark;
    --canvas: #12142c;
    --surface: #191c3a;
    --surface-soft: #22264c;
    --ink: #f4f3ff;
    --muted: #b5b9d4;
    --muted-strong: #d7daf0;
    --line: #363a63;
    --line-strong: #4c5080;
    --brand: #a084ff;
    --brand-dark: #7558ed;
    --brand-bright: #55b6ff;
    --mint: #2b2852;
    --cyan: #62c2ff;
    --violet: #b4a4ff;
    --coral: #ffa0b2;
    --amber: #f7c86a;
    --danger: #ff94a4;
    --shadow-xs: 0 2px 9px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.36);
    --grid-line: rgba(154, 145, 255, 0.085);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--canvas);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

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

button {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

svg {
    display: block;
}

::selection {
    background: var(--brand);
    color: #ffffff;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: -4rem;
    left: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
    background: var(--brand-dark);
    color: #ffffff;
    transition: top 160ms ease;
}

.skip-link:focus {
    top: 1rem;
}

.site-page {
    position: relative;
    background: var(--canvas);
}

.site-page::before {
    position: absolute;
    z-index: 0;
    inset: 0 0 auto;
    height: 43rem;
    pointer-events: none;
    content: '';
    background-image:
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--grid-line) calc(100% - 1px)),
        linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), var(--grid-line) calc(100% - 1px));
    background-size: 4rem 4rem;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.25) 68%, transparent 100%);
}

.site-header {
    position: sticky;
    z-index: 90;
    top: 0;
    border-bottom: 1px solid transparent;
    background: color-mix(in srgb, var(--canvas) 78%, transparent);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.nav-shell,
.content-shell {
    width: min(100% - 3rem, 1240px);
    margin: 0 auto;
}

.nav-shell {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand-lockup {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.brand-lockup img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 34px;
    object-fit: contain;
    object-position: left center;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
    border-radius: 8px;
    background: linear-gradient(145deg, var(--brand), var(--cyan));
    box-shadow: 0 8px 16px color-mix(in srgb, var(--brand) 20%, transparent);
    color: #ffffff;
}

.brand-mark svg {
    width: 20px;
    height: 20px;
}

.brand-name {
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.brand-name em {
    color: var(--brand);
    font-style: normal;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.main-nav a,
.footer-links a {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
    transition: color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--brand);
}

.nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
}

.icon-button,
.menu-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    color: var(--muted-strong);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-button:hover,
.menu-button:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
    background: var(--surface);
    color: var(--brand);
}

.icon-button svg,
.menu-button svg {
    width: 18px;
    height: 18px;
}

.theme-icon-sun {
    display: none;
}

html[data-theme='dark'] .theme-icon-sun {
    display: block;
}

html[data-theme='dark'] .theme-icon-moon {
    display: none;
}

.menu-button,
.mobile-menu {
    display: none;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.68rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button svg {
    width: 17px;
    height: 17px;
}

.button-primary {
    background: var(--brand);
    box-shadow: 0 12px 22px color-mix(in srgb, var(--brand) 23%, transparent);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 16px 26px color-mix(in srgb, var(--brand) 30%, transparent);
}

.button-secondary {
    border-color: var(--line-strong);
    background: color-mix(in srgb, var(--surface) 74%, transparent);
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--brand);
    background: var(--surface);
    color: var(--brand);
}

.button-quiet {
    padding-right: 0.4rem;
    padding-left: 0.4rem;
    color: var(--muted-strong);
}

.button-quiet:hover {
    color: var(--brand);
}

.hero {
    position: relative;
    z-index: 1;
    min-height: calc(100svh - 70px);
    overflow: clip;
    padding: 4.7rem 0 3.5rem;
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: -14rem;
    bottom: 0;
    width: 61%;
    height: 72%;
    content: '';
    opacity: 0.8;
    background: linear-gradient(130deg, transparent 14%, color-mix(in srgb, var(--mint) 72%, transparent) 44%, transparent 75%);
    transform: skewX(-18deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    align-items: center;
    gap: 1rem;
    min-height: 630px;
}

.hero-copy {
    position: relative;
    z-index: 4;
    max-width: 590px;
    padding: 2rem 0;
}

.eyebrow,
.story-kicker,
.metric-chip,
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid color-mix(in srgb, var(--brand) 23%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

html[data-theme='dark'] .eyebrow,
html[data-theme='dark'] .story-kicker,
html[data-theme='dark'] .metric-chip,
html[data-theme='dark'] .pill {
    color: var(--brand-bright);
}

.eyebrow,
.story-kicker {
    padding: 0.5rem 0.7rem;
}

.eyebrow svg,
.story-kicker svg {
    width: 14px;
    height: 14px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-bright);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-bright) 55%, transparent);
    animation: pulseDot 2200ms infinite;
}

.hero h1 {
    max-width: 700px;
    margin: 1.25rem 0 0;
    color: var(--ink);
    font-size: 4rem;
    font-weight: 850;
    line-height: 1.02;
}

.hero h1 span {
    color: var(--brand);
}

.hero-lead {
    max-width: 560px;
    margin: 1.4rem 0 0;
    color: var(--muted-strong);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.2rem;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.hero-trust svg {
    width: 14px;
    height: 14px;
    color: var(--brand);
}

.hero-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.8rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-scroll-cue svg {
    width: 15px;
    height: 15px;
    animation: scrollNudge 1700ms infinite;
}

.device-stage {
    position: relative;
    min-height: 610px;
    isolation: isolate;
    perspective: 1400px;
}

.device-stage::before {
    position: absolute;
    z-index: -2;
    top: 10%;
    right: 5%;
    bottom: 8%;
    left: 7%;
    border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
    background-image:
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), color-mix(in srgb, var(--brand) 11%, transparent) calc(100% - 1px)),
        linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), color-mix(in srgb, var(--brand) 11%, transparent) calc(100% - 1px));
    background-color: color-mix(in srgb, var(--surface) 42%, transparent);
    background-size: 2.5rem 2.5rem;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    content: '';
    opacity: 0.72;
    transform: rotate(-4deg);
}

.device-stage::after {
    position: absolute;
    z-index: -1;
    right: 6%;
    bottom: 8%;
    left: 9%;
    height: 15%;
    border-radius: 50%;
    background: rgba(18, 20, 58, 0.18);
    content: '';
    filter: blur(26px);
    transform: rotate(-4deg);
}

.device {
    position: absolute;
    transform-style: preserve-3d;
    filter: drop-shadow(0 26px 24px rgba(25, 25, 75, 0.19));
    will-change: transform;
}

.device:hover {
    z-index: 8;
    filter: drop-shadow(0 31px 26px rgba(25, 25, 75, 0.28));
}

.device-laptop {
    --device-tilt: -4deg;
    top: 14%;
    left: 5%;
    width: 73%;
    animation: floatDeviceOne 6200ms ease-in-out infinite;
}

.laptop-shell {
    position: relative;
    padding: 1.5%;
    border: 1px solid #4b4f77;
    border-radius: 12px 12px 5px 5px;
    background: linear-gradient(150deg, #1d203f, #5a5e88 51%, #171a38);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.34), inset 0 -3px 8px rgba(0, 0, 0, 0.5);
}

.laptop-shell::before,
.tablet-frame::before,
.phone-frame::before {
    position: absolute;
    z-index: 3;
    top: 1px;
    right: 9%;
    left: 9%;
    height: 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
    content: '';
    opacity: 0.55;
}

.laptop-base {
    position: relative;
    width: 113%;
    height: 3.5%;
    min-height: 13px;
    margin: -0.25% 0 0 -6.5%;
    border: 1px solid #6b70a0;
    border-radius: 0 0 44% 44%;
    background: linear-gradient(180deg, #bbc1e2, #666c95 62%, #2c3058);
    box-shadow: 0 10px 12px rgba(9, 11, 39, 0.22);
}

.laptop-base::before {
    position: absolute;
    top: 0;
    left: 42%;
    width: 16%;
    height: 34%;
    border-radius: 0 0 5px 5px;
    background: #41476d;
    content: '';
}

.device-screen {
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    background: #f8f9ff;
}

.laptop-shell .device-screen {
    aspect-ratio: 16 / 9.65;
    border: 1px solid #0d1024;
    border-radius: 5px 5px 2px 2px;
}

.device-screen::after {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    width: 42%;
    height: 135%;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, 0.22) 49%, transparent 58%);
    content: '';
    opacity: 0.5;
    transform: translateX(32%);
}

.device-tablet {
    --device-tilt: 7deg;
    top: 2%;
    right: 1%;
    width: 34%;
    animation: floatDeviceTwo 7000ms ease-in-out infinite;
}

.tablet-frame {
    position: relative;
    padding: 3.2%;
    border: 1px solid #505478;
    border-radius: 18px;
    background: linear-gradient(140deg, #202443, #7b80a5 50%, #24284a);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.34), inset 0 -2px 5px rgba(0, 0, 0, 0.5);
}

.tablet-frame .device-screen {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
}

.tablet-camera {
    position: absolute;
    z-index: 5;
    top: 1.5%;
    left: 50%;
    width: 3.3%;
    aspect-ratio: 1;
    border: 1px solid #74799f;
    border-radius: 50%;
    background: #12152e;
    transform: translateX(-50%);
}

.device-iphone,
.device-android {
    bottom: 7%;
    width: 21%;
}

.device-iphone {
    --device-tilt: 8deg;
    right: 4%;
    z-index: 6;
    animation: floatDeviceThree 5700ms ease-in-out infinite;
}

.device-android {
    --device-tilt: -10deg;
    bottom: 9%;
    left: 0;
    z-index: 2;
    animation: floatDeviceFour 6500ms ease-in-out infinite;
}

.phone-frame {
    position: relative;
    padding: 3.8%;
    border: 1px solid #3c4168;
    border-radius: 17%;
    background: linear-gradient(145deg, #1e2241, #767ca3 42%, #141832);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.36), inset 0 -2px 7px rgba(0, 0, 0, 0.56);
}

.phone-frame .device-screen {
    aspect-ratio: 9 / 19.4;
    border-radius: 14%;
}

.iphone-island {
    position: absolute;
    z-index: 6;
    top: 4.7%;
    left: 50%;
    width: 37%;
    height: 3.2%;
    border-radius: 999px;
    background: #080a1a;
    transform: translateX(-50%);
}

.android-camera {
    position: absolute;
    z-index: 6;
    top: 1.7%;
    left: 50%;
    width: 4.7%;
    aspect-ratio: 1;
    border: 1px solid #6a7098;
    border-radius: 50%;
    background: #0c1025;
    transform: translateX(-50%);
}

.device-dashboard {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f8f9ff;
    color: #20233f;
    font-size: clamp(3px, 1.45cqi, 10px);
    line-height: 1.2;
}

.dd-topbar {
    display: flex;
    height: 4.9em;
    align-items: center;
    gap: 1.2em;
    padding: 0 2em;
    border-bottom: 1px solid #e0e3f4;
    background: #ffffff;
}

.dd-mark {
    display: grid;
    width: 2em;
    height: 2em;
    place-items: center;
    border-radius: 0.45em;
    background: #7547f5;
    color: #ffffff;
    font-size: 1.05em;
    font-weight: 800;
}

.dd-search {
    width: 29%;
    height: 1.8em;
    margin-right: auto;
    border-radius: 0.38em;
    background: #f0f1fb;
}

.dd-avatar {
    display: grid;
    width: 2.15em;
    height: 2.15em;
    place-items: center;
    border-radius: 50%;
    background: #e9e4ff;
    color: #7547f5;
    font-size: 0.72em;
    font-weight: 800;
}

.dd-layout {
    display: grid;
    height: calc(100% - 4.9em);
    grid-template-columns: 7.4em minmax(0, 1fr);
}

.dd-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    padding-top: 2em;
    border-right: 1px solid #e2e5f5;
    background: #fbfbff;
}

.dd-sidebar span {
    display: block;
    width: 2.4em;
    height: 0.6em;
    border-radius: 0.4em;
    background: #d6daf0;
}

.dd-sidebar .dd-side-active {
    height: 2.25em;
    border-radius: 0.5em;
    background: #e9e4ff;
    box-shadow: inset 0 0 0 0.5em #e9e4ff;
}

.dd-content {
    padding: 2.2em 2.6em;
}

.dd-heading,
.dd-card-title,
.dd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

.dd-heading small,
.dd-stat small,
.dd-card-title small {
    color: #7c829e;
    font-size: 0.85em;
}

.dd-heading strong {
    display: block;
    margin-top: 0.24em;
    font-size: 1.55em;
}

.dd-period {
    padding: 0.55em 0.8em;
    border: 1px solid #e0e3f4;
    border-radius: 0.4em;
    color: #6c718f;
    font-size: 0.82em;
}

.dd-stats {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1em;
    margin-top: 1.75em;
}

.dd-stat,
.dd-chart-card,
.dd-goal-card,
.dd-activity {
    border: 1px solid #e0e3f4;
    border-radius: 0.72em;
    background: #ffffff;
}

.dd-stat {
    min-height: 6.8em;
    padding: 1.15em;
}

.dd-balance {
    border-color: #d7cbff;
    background: #f7f4ff;
}

.dd-stat strong {
    display: block;
    margin-top: 0.35em;
    font-size: 1.35em;
}

.dd-stat span {
    display: block;
    margin-top: 0.45em;
    font-size: 0.75em;
    font-weight: 750;
}

.dd-positive {
    color: #7547f5 !important;
}

.dd-negative {
    color: #c95068 !important;
}

.dd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(8em, 0.8fr);
    gap: 1em;
    margin-top: 1em;
}

.dd-chart-card,
.dd-goal-card {
    min-height: 11em;
    padding: 1.15em;
}

.dd-card-title span {
    color: #373b5f;
    font-size: 0.88em;
    font-weight: 800;
}

.dd-chart {
    display: flex;
    height: 5.8em;
    align-items: end;
    justify-content: space-between;
    gap: 0.65em;
    margin-top: 1.1em;
    padding: 0 0.35em;
    border-bottom: 1px solid #edf0fb;
}

.dd-chart i {
    display: block;
    width: 0.85em;
    height: var(--height);
    border-radius: 0.35em 0.35em 0 0;
    background: linear-gradient(180deg, #32a7f1, #7547f5);
    transform-origin: bottom;
    animation: miniBar 3100ms ease-in-out infinite alternate;
}

.dd-chart i:nth-child(2n) {
    animation-delay: -900ms;
}

.dd-chart i:nth-child(3n) {
    animation-delay: -1400ms;
}

.dd-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5em;
    color: #9ba1ba;
    font-size: 0.64em;
}

.dd-goal-ring {
    display: grid;
    width: 5.9em;
    aspect-ratio: 1;
    margin: 0.8em auto 0;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#8050f5 0 72%, #eeeaff 72% 100%);
}

.dd-goal-ring::before {
    grid-area: 1 / 1;
    width: 4.5em;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffffff;
    content: '';
}

.dd-goal-ring span {
    z-index: 1;
    grid-area: 1 / 1;
    color: #8050f5;
    font-size: 0.95em;
    font-weight: 850;
}

.dd-goal-card p {
    margin: 0.55em 0 0;
    color: #7a819e;
    font-size: 0.68em;
    text-align: center;
}

.dd-activity {
    margin-top: 1em;
    padding: 1em 1.15em;
}

.dd-row {
    margin-top: 0.75em;
    color: #565d7b;
    font-size: 0.76em;
}

.dd-row span {
    flex: 1;
}

.dd-row strong {
    font-size: 0.96em;
}

.dd-icon {
    display: grid;
    width: 1.8em;
    height: 1.8em;
    place-items: center;
    border-radius: 0.5em;
    font-size: 0.95em;
}

.dd-ai-notice {
    display: flex;
    align-items: center;
    gap: 0.55em;
    margin-top: 0.8em;
    padding: 0.62em;
    border: 1px solid #dfe1ff;
    border-radius: 0.55em;
    background: #f3f2ff;
    color: #6043d8;
    font-size: 0.69em;
    font-weight: 700;
}

.dd-ai-notice b {
    display: grid;
    width: 1.75em;
    height: 1.75em;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.45em;
    background: #8050f5;
    color: #ffffff;
    font-size: 0.79em;
}

.dd-ai-notice span {
    flex: 1;
}

.dd-ai-notice i {
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: #8050f5;
    animation: pulseDot 2200ms infinite;
}

.dd-green {
    background: #e9e4ff;
    color: #7547f5;
}

.dd-rose {
    background: #ffebe9;
    color: #c94f50;
}

.proof-bar {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.proof-item {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.15rem;
    border-right: 1px solid var(--line);
}

.proof-item:first-child {
    border-left: 1px solid var(--line);
}

.proof-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    background: var(--mint);
    color: var(--brand);
}

.proof-icon svg {
    width: 18px;
    height: 18px;
}

.proof-item strong,
.proof-item span {
    display: block;
}

.proof-item strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.proof-item span {
    margin-top: 0.12rem;
    color: var(--muted);
    font-size: 0.76rem;
}

.section {
    position: relative;
    z-index: 1;
    padding: 7.5rem 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 650px;
}

.section-heading.centered {
    margin: 0 auto;
    text-align: center;
}

.section-heading h2,
.final-cta h2 {
    margin: 0.9rem 0 0;
    color: var(--ink);
    font-size: 2.8rem;
    font-weight: 850;
    line-height: 1.08;
}

.section-heading p,
.final-cta p {
    margin: 1rem 0 0;
    color: var(--muted-strong);
    font-size: 1.03rem;
    line-height: 1.7;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(410px, 1.1fr);
    align-items: center;
    gap: 4rem;
}

.story-copy h2 {
    max-width: 520px;
    margin: 0.9rem 0 0;
    color: var(--ink);
    font-size: 2.7rem;
    font-weight: 850;
    line-height: 1.08;
}

.story-copy p {
    max-width: 520px;
    margin: 1rem 0 0;
    color: var(--muted-strong);
    line-height: 1.72;
}

.story-points {
    display: grid;
    gap: 0.7rem;
    margin: 1.7rem 0 0;
}

.story-point {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--muted-strong);
    font-size: 0.94rem;
    font-weight: 680;
}

.story-point b {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--brand);
}

.story-point svg {
    width: 14px;
    height: 14px;
}

.spend-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.spend-visual::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--grid-line) calc(100% - 1px));
    background-size: 25%;
    content: '';
}

.spend-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.spend-topline span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.spend-topline strong {
    color: var(--ink);
    font-size: 0.98rem;
}

.spend-total {
    padding: 1.45rem 1.25rem 1.1rem;
}

.spend-total span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.spend-total strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--ink);
    font-size: 2.1rem;
    line-height: 1;
}

.spend-total small {
    display: inline-flex;
    gap: 0.3rem;
    margin-top: 0.55rem;
    color: var(--danger);
    font-size: 0.78rem;
    font-weight: 750;
}

.spend-bars {
    display: grid;
    gap: 1rem;
    padding: 0.9rem 1.25rem 1.4rem;
}

.spend-bar-row {
    display: grid;
    grid-template-columns: 115px 1fr auto;
    align-items: center;
    gap: 0.8rem;
}

.spend-bar-row span,
.spend-bar-row strong {
    font-size: 0.8rem;
}

.spend-bar-row span {
    color: var(--muted-strong);
    font-weight: 650;
}

.spend-bar-row strong {
    color: var(--ink);
}

.bar-track {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--surface-soft);
}

.bar-track i {
    display: block;
    width: var(--bar-width);
    height: 100%;
    border-radius: inherit;
    background: var(--bar-color);
    transform-origin: left;
    animation: growBar 1100ms 300ms both ease-out;
}

.expense-alert {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--coral) 35%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 90%, var(--coral));
}

.expense-alert svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--coral);
}

.expense-alert strong,
.expense-alert span {
    display: block;
}

.expense-alert strong {
    color: var(--ink);
    font-size: 0.79rem;
}

.expense-alert span {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.45;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3.4rem;
}

.feature-card {
    position: relative;
    min-height: 222px;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
    box-shadow: var(--shadow-sm);
}

.feature-card::after {
    position: absolute;
    top: -10%;
    right: -31%;
    width: 65%;
    height: 52%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--card-accent) 18%, transparent) 50%, transparent 58%);
    content: '';
    transition: transform 500ms ease;
}

.feature-card:hover::after {
    transform: translateX(-85%);
}

.feature-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--card-accent) 16%, var(--surface));
    color: var(--card-accent);
}

.feature-icon svg {
    width: 21px;
    height: 21px;
}

.feature-card h3 {
    margin: 1.1rem 0 0;
    color: var(--ink);
    font-size: 1.04rem;
    line-height: 1.3;
}

.feature-card p {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.1rem;
    color: var(--card-accent);
    font-size: 0.8rem;
    font-weight: 800;
}

.feature-link svg {
    width: 14px;
    height: 14px;
    transition: transform 150ms ease;
}

.feature-card:hover .feature-link svg {
    transform: translateX(3px);
}

.ocr-layout,
.ai-layout,
.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
    align-items: center;
    gap: 4.3rem;
}

.ocr-workbench {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.ocr-toolbar {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.1rem;
    border-bottom: 1px solid var(--line);
}

.ocr-toolbar-left,
.ocr-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ocr-toolbar strong {
    font-size: 0.88rem;
}

.ocr-toolbar span {
    color: var(--muted);
    font-size: 0.74rem;
}

.ocr-toolbar .status-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand);
    font-weight: 750;
}

.status-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ocr-body {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    padding: 1rem;
}

.receipt-paper {
    position: relative;
    min-height: 316px;
    overflow: hidden;
    padding: 1.25rem;
    border: 1px solid #e1e3f4;
    background: #fefeff;
    box-shadow: 7px 8px 0 rgba(25, 25, 70, 0.08);
    color: #2d314f;
    transform: rotate(-2.5deg);
}

.receipt-paper::before,
.receipt-paper::after {
    position: absolute;
    right: 1.15rem;
    left: 1.15rem;
    height: 1px;
    background: #eaebf5;
    content: '';
}

.receipt-paper::before {
    top: 5rem;
}

.receipt-paper::after {
    bottom: 3.7rem;
}

.receipt-store {
    display: block;
    font-size: 0.91rem;
    font-weight: 850;
    text-align: center;
}

.receipt-date {
    display: block;
    margin-top: 0.35rem;
    color: #6c718e;
    font-size: 0.68rem;
    text-align: center;
}

.receipt-lines {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.7rem;
}

.receipt-lines span {
    display: flex;
    justify-content: space-between;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.68rem;
}

.receipt-total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 3rem;
    font-size: 0.74rem;
    font-weight: 800;
}

.receipt-total strong {
    font-size: 1rem;
}

.ocr-scanner {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--brand-bright);
    box-shadow: 0 0 0.75rem var(--brand-bright);
    opacity: 0;
}

.ocr-workbench.is-scanning .ocr-scanner {
    opacity: 1;
    animation: scanReceipt 1800ms ease-in-out;
}

.ocr-output {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 0.2rem 0 0.2rem 0.3rem;
}

.ocr-phase {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: color-mix(in srgb, var(--surface-soft) 72%, var(--surface));
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.ocr-phase b {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--line);
    color: transparent;
    font-size: 0.7rem;
}

.ocr-workbench.is-scanning .ocr-phase:nth-child(1),
.ocr-workbench.is-complete .ocr-phase {
    border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
    background: color-mix(in srgb, var(--mint) 72%, var(--surface));
    color: var(--brand-dark);
}

.ocr-workbench.is-scanning .ocr-phase:nth-child(1) b,
.ocr-workbench.is-complete .ocr-phase b {
    background: var(--brand);
    color: #ffffff;
}

.ocr-workbench.is-scanning .ocr-phase:nth-child(2) {
    border-color: color-mix(in srgb, var(--cyan) 45%, var(--line));
    color: var(--cyan);
}

.ocr-workbench.is-complete .ocr-phase b::before {
    content: '✓';
}

.ocr-result {
    margin-top: 0.15rem;
    padding: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
    border-radius: 7px;
    background: var(--surface);
    opacity: 0.45;
    transform: translateY(4px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.ocr-result strong,
.ocr-result span {
    display: block;
}

.ocr-result strong {
    color: var(--ink);
    font-size: 0.8rem;
}

.ocr-result span {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.74rem;
}

.ocr-workbench.is-complete .ocr-result {
    opacity: 1;
    transform: translateY(0);
}

.ocr-copy .section-heading {
    max-width: 520px;
}

.ocr-copy .button {
    margin-top: 1.65rem;
}

.micro-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.micro-note svg {
    width: 15px;
    height: 15px;
    color: var(--brand);
}

.ai-stage {
    position: relative;
    min-height: 474px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--violet) 30%, var(--line));
    border-radius: 8px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, var(--violet)) 0%, var(--surface) 100%);
    box-shadow: var(--shadow-lg);
}

.ai-stage::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), color-mix(in srgb, var(--violet) 10%, transparent) calc(100% - 1px));
    background-size: 3rem 3rem;
    content: '';
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 64%);
}

.ai-topbar {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 0.7rem;
    padding: 0 1.2rem;
    border-bottom: 1px solid color-mix(in srgb, var(--violet) 18%, var(--line));
    background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.ai-orb {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--violet), var(--cyan));
    color: #ffffff;
    box-shadow: 0 7px 16px color-mix(in srgb, var(--violet) 27%, transparent);
}

.ai-orb svg {
    width: 17px;
    height: 17px;
}

.ai-topbar strong,
.ai-topbar span {
    display: block;
}

.ai-topbar strong {
    font-size: 0.86rem;
}

.ai-topbar span {
    margin-top: 0.1rem;
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 750;
}

.ai-conversation {
    position: relative;
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem;
}

.chat-message {
    max-width: 85%;
    padding: 0.85rem 0.95rem;
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.55;
}

.chat-user {
    justify-self: end;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
    background: var(--brand);
    color: #ffffff;
}

.chat-ai {
    border: 1px solid color-mix(in srgb, var(--violet) 24%, var(--line));
    background: color-mix(in srgb, var(--surface) 91%, transparent);
    color: var(--muted-strong);
}

.chat-ai strong {
    color: var(--ink);
}

.chat-message p {
    margin: 0;
}

.chat-message p + p {
    margin-top: 0.45rem;
}

.chat-ai.is-typing .typing-content::after {
    display: inline-block;
    width: 0.42em;
    height: 1em;
    margin-left: 0.14em;
    vertical-align: -0.14em;
    background: var(--violet);
    content: '';
    animation: blinkCursor 800ms step-end infinite;
}

.typing-content {
    white-space: pre-line;
}

.chat-input {
    position: absolute;
    right: 1.25rem;
    bottom: 1.1rem;
    left: 1.25rem;
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0 0.55rem 0 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.78rem;
}

.chat-input b {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: var(--violet);
    color: #ffffff;
}

.chat-input svg {
    width: 15px;
    height: 15px;
}

.ai-copy h2 {
    max-width: 570px;
}

.ai-benefits {
    display: grid;
    gap: 0.8rem;
    margin: 1.75rem 0 0;
}

.ai-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.ai-benefit > span:first-child {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 7px;
    background: color-mix(in srgb, var(--violet) 14%, var(--surface));
    color: var(--violet);
}

.ai-benefit > span:last-child {
    min-width: 0;
    flex: 1 1 auto;
}

.ai-benefit svg {
    width: 15px;
    height: 15px;
}

.ai-benefit strong,
.ai-benefit small {
    display: block;
}

.ai-benefit strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.ai-benefit small {
    margin-top: 0.12rem;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.45;
}

.dashboard-section {
    overflow: hidden;
    background: var(--surface-soft);
}

.dashboard-layout {
    grid-template-columns: minmax(0, 0.76fr) minmax(570px, 1.24fr);
}

.dashboard-copy .button {
    margin-top: 1.6rem;
}

.dashboard-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.55rem;
}

.metric-chip {
    padding: 0.55rem 0.62rem;
    color: var(--muted-strong);
    font-size: 0.72rem;
}

.metric-chip svg {
    width: 13px;
    height: 13px;
    color: var(--brand);
}

.product-dashboard {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.product-dashboard::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.44) 48%, transparent 57%);
    transform: translateX(74%);
    transition: transform 700ms ease;
}

.product-dashboard:hover::before {
    transform: translateX(-82%);
}

.product-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.product-id {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
}

.product-id span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 7px;
    background: var(--brand);
    color: #ffffff;
}

.product-id svg {
    width: 15px;
    height: 15px;
}

.product-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.product-controls button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--muted);
}

.product-controls svg {
    width: 14px;
    height: 14px;
}

.dashboard-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 1rem 0;
    overflow-x: auto;
}

.dashboard-tab {
    flex: 0 0 auto;
    padding: 0.46rem 0.64rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 780;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.dashboard-tab[aria-selected='true'] {
    border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
    background: var(--mint);
    color: var(--brand-dark);
}

.dashboard-viewport {
    position: relative;
    z-index: 1;
    padding: 0.9rem 1rem 1rem;
}

.dash-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.8rem;
}

.dash-head small {
    color: var(--muted);
    font-size: 0.7rem;
}

.dash-head h3 {
    margin: 0.22rem 0 0;
    color: var(--ink);
    font-size: 1.03rem;
    line-height: 1.15;
}

.dash-date {
    padding: 0.4rem 0.52rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.68rem;
    white-space: nowrap;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.dash-metric {
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.dash-metric small,
.dash-metric span {
    display: block;
}

.dash-metric small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-metric strong {
    display: block;
    margin-top: 0.26rem;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.93rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-metric span {
    margin-top: 0.22rem;
    color: var(--brand);
    font-size: 0.62rem;
    font-weight: 760;
}

.dash-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(145px, 0.75fr);
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.dash-card {
    padding: 0.78rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.dash-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.dash-card-title strong {
    color: var(--ink);
    font-size: 0.73rem;
}

.dash-card-title span {
    color: var(--muted);
    font-size: 0.61rem;
}

.dash-line-chart {
    position: relative;
    height: 116px;
    margin-top: 0.7rem;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background-image: linear-gradient(to bottom, transparent calc(33.333% - 1px), var(--line) calc(33.333% - 1px), var(--line) 33.333%, transparent 33.333%, transparent calc(66.666% - 1px), var(--line) calc(66.666% - 1px), var(--line) 66.666%, transparent 66.666%);
}

.dash-line-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.dash-line-chart path {
    fill: none;
    stroke: var(--brand);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 270;
    stroke-dashoffset: 270;
    animation: drawLine 1700ms 400ms forwards ease-out;
}

.dash-line-chart circle {
    fill: var(--surface);
    stroke: var(--brand);
    stroke-width: 3;
}

.dash-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.6rem;
}

.cash-list,
.goal-list,
.category-list {
    display: grid;
    gap: 0.56rem;
    margin-top: 0.65rem;
}

.cash-row,
.goal-row,
.category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    color: var(--muted-strong);
    font-size: 0.65rem;
}

.cash-row b,
.goal-row b,
.category-row b {
    color: var(--ink);
    font-size: 0.67rem;
}

.cash-row em {
    color: var(--brand);
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 780;
}

.dash-bottom {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.mini-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-top: 0.65rem;
}

.mini-calendar span {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 4px;
    color: var(--muted);
    font-size: 0.53rem;
}

.mini-calendar .calendar-income {
    background: var(--mint);
    color: var(--brand-dark);
    font-weight: 800;
}

.mini-calendar .calendar-expense {
    background: color-mix(in srgb, var(--coral) 16%, var(--surface));
    color: var(--coral);
    font-weight: 800;
}

.card-stack {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 31px;
    padding: 0.42rem 0.5rem;
    border-radius: 5px;
    background: linear-gradient(110deg, #3d2ca0, #7547f5);
    color: #ffffff;
    font-size: 0.6rem;
}

.payment-card:nth-child(2) {
    background: linear-gradient(110deg, #234d9c, #8050f5);
}

.payment-card small {
    opacity: 0.72;
    font-size: 0.52rem;
}

.dashboard-tab-panel {
    display: none;
}

.dashboard-tab-panel.is-active {
    display: contents;
}

.app-download-section {
    overflow: hidden;
    background: var(--surface);
}

.app-download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    align-items: center;
    gap: 4rem;
}

.app-download-copy .section-heading {
    margin: 0;
}

.app-keypoints {
    display: grid;
    gap: 0.9rem;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
}

.app-keypoints li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.app-keypoint-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--brand);
}

.app-keypoint-icon svg {
    width: 17px;
    height: 17px;
}

.app-keypoints strong,
.app-keypoints small {
    display: block;
}

.app-keypoints strong {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.app-keypoints small {
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.app-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.play-store-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 0.62rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid #172343;
    border-radius: 8px;
    background: #172343;
    box-shadow: 0 10px 20px rgba(23, 35, 67, 0.14);
    color: #ffffff;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.play-store-button:hover {
    transform: translateY(-2px);
    background: #2f9dec;
    border-color: #2f9dec;
    box-shadow: 0 13px 24px rgba(47, 157, 236, 0.24);
}

.play-store-button.is-coming-soon {
    border-color: rgba(117, 71, 245, 0.2);
    background: #f1efff;
    box-shadow: none;
    color: #5f31e6;
    cursor: default;
}

.play-store-button.is-coming-soon:hover {
    transform: none;
    border-color: rgba(117, 71, 245, 0.2);
    background: #f1efff;
    box-shadow: none;
}

.play-store-button.is-coming-soon small {
    color: #786cb0;
}

.play-store-icon {
    width: 24px;
    height: 24px;
}

.play-store-button span {
    display: grid;
    gap: 0.08rem;
}

.play-store-button small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.62rem;
    font-weight: 650;
    line-height: 1;
}

.play-store-button strong {
    font-size: 0.96rem;
    line-height: 1.1;
}

.app-web-link {
    min-height: 54px;
}

.app-link-note {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
}

.app-phone-stage {
    display: grid;
    min-height: 535px;
    place-items: center;
    padding: 0.7rem 0;
}

.app-phone {
    position: relative;
    width: 288px;
    padding: 9px;
    border: 1px solid #25314a;
    border-radius: 38px;
    background: #111827;
    box-shadow: 18px 26px 42px rgba(23, 35, 67, 0.24), -8px 0 18px rgba(47, 157, 236, 0.1);
    animation: appPhoneFloat 5000ms ease-in-out infinite;
}

.app-phone-camera {
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 50%;
    width: 70px;
    height: 17px;
    border-radius: 999px;
    background: #111827;
    transform: translateX(-50%);
}

.app-phone-screen {
    min-height: 500px;
    padding: 1.2rem 0.9rem 0.8rem;
    border-radius: 29px;
    background: #f6f8fd;
    color: #172343;
    overflow: hidden;
}

.app-phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.3rem;
}

.app-phone-brand,
.app-phone-sync {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
}

.app-phone-brand {
    font-size: 0.66rem;
    font-weight: 800;
}

.app-phone-brand b {
    display: inline-grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 6px;
    background: #7547f5;
    color: #ffffff;
    font-size: 0.72rem;
}

.app-phone-sync {
    color: #0f9b71;
    font-size: 0.56rem;
    font-weight: 750;
}

.app-phone-sync.is-building {
    color: #7547f5;
}

.app-phone-sync i,
.app-phone-balance small i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.app-phone-greeting {
    margin: 1.25rem 0 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 650;
}

.app-phone-balance {
    margin-top: 0.38rem;
    padding: 0.85rem;
    border: 1px solid #e1e7f2;
    border-radius: 8px;
    background: #ffffff;
}

.app-phone-balance > span,
.app-phone-balance small {
    display: block;
    color: #64748b;
    font-size: 0.62rem;
}

.app-phone-balance strong {
    display: block;
    margin-top: 0.25rem;
    color: #172343;
    font-size: 1.62rem;
    line-height: 1;
    letter-spacing: 0;
    animation: appBalancePulse 3600ms ease-in-out infinite;
}

.app-phone-balance small {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    margin-top: 0.5rem;
    color: #0f9b71;
    font-weight: 750;
}

.app-phone-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.55rem;
}

.app-phone-summary span {
    padding: 0.62rem;
    border: 1px solid #e1e7f2;
    border-radius: 8px;
    background: #ffffff;
}

.app-phone-summary small,
.app-phone-summary b {
    display: block;
}

.app-phone-summary small {
    color: #64748b;
    font-size: 0.58rem;
}

.app-phone-summary b {
    margin-top: 0.2rem;
    color: #172343;
    font-size: 0.68rem;
}

.app-phone-chart {
    margin-top: 0.55rem;
    padding: 0.8rem 0.75rem 0.62rem;
    border: 1px solid #e1e7f2;
    border-radius: 8px;
    background: #ffffff;
}

.app-phone-chart > div:first-child,
.app-phone-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.app-phone-chart strong {
    font-size: 0.67rem;
}

.app-phone-chart > div:first-child span {
    color: #64748b;
    font-size: 0.56rem;
}

.app-phone-chart svg {
    width: 100%;
    height: 76px;
    margin-top: 0.5rem;
    border-bottom: 1px solid #edf1f7;
    background-image: linear-gradient(to bottom, transparent calc(50% - 1px), #edf1f7 calc(50% - 1px), #edf1f7 50%, transparent 50%);
}

.app-phone-chart path {
    fill: none;
    stroke: #2f9dec;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: drawLine 1800ms 350ms forwards ease-out;
}

.app-phone-chart circle {
    fill: #ffffff;
    stroke: #7547f5;
    stroke-width: 3;
}

.app-phone-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    color: #94a3b8;
    font-size: 0.53rem;
}

.app-phone-next {
    margin-top: 0.55rem;
    padding: 0.72rem 0.7rem;
    border: 1px solid #e1e7f2;
    border-radius: 8px;
    background: #ffffff;
}

.app-phone-next > span:first-child {
    display: inline-grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 6px;
    background: #f0edff;
    color: #7547f5;
}

.app-phone-next > span:first-child svg {
    width: 13px;
    height: 13px;
}

.app-phone-next > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.app-phone-next small,
.app-phone-next strong {
    display: block;
}

.app-phone-next small {
    color: #64748b;
    font-size: 0.54rem;
}

.app-phone-next strong {
    overflow: hidden;
    margin-top: 0.12rem;
    color: #172343;
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-phone-next strong b {
    color: #64748b;
    font-weight: 650;
}

.app-phone-next em {
    color: #dd5f7c;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 800;
}

.app-phone-tabs {
    display: flex;
    justify-content: space-between;
    margin: 0.95rem 0.15rem 0;
    color: #94a3b8;
    font-size: 0.57rem;
    font-weight: 700;
}

.app-phone-tabs span:first-child {
    color: #7547f5;
}

@keyframes appPhoneFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
    50% { transform: translate3d(0, -10px, 0) rotate(-2.5deg); }
}

@keyframes appBalancePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.78; }
}

.pricing-section {
    background: var(--canvas);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    gap: 1rem;
    margin-top: 3.3rem;
}

.pricing-card {
    position: relative;
    display: flex;
    min-height: 520px;
    flex-direction: column;
    padding: 1.55rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.pricing-card.is-featured {
    border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
    box-shadow: 0 20px 45px color-mix(in srgb, var(--brand) 16%, transparent);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 1.4rem;
    padding: 0.36rem 0.55rem;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
}

.pricing-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.22rem;
}

.pricing-card > p {
    min-height: 40px;
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 0.38rem;
    margin-top: 1.55rem;
}

.price-line del {
    color: var(--muted);
    font-size: 0.82rem;
}

.price-line strong {
    color: var(--ink);
    font-size: 2.45rem;
    line-height: 1;
}

.price-line span {
    color: var(--muted);
    font-size: 0.8rem;
}

.pricing-note {
    min-height: 32px;
    margin-top: 0.55rem;
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 760;
}

.price-annual {
    min-height: 34px;
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.77rem;
}

.price-annual b {
    color: var(--ink);
}

.pricing-features {
    display: grid;
    gap: 0.72rem;
    margin: 1.4rem 0 0;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--line);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--muted-strong);
    font-size: 0.84rem;
    line-height: 1.4;
}

.pricing-features svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--brand);
}

.pricing-card .button {
    width: 100%;
    margin-top: auto;
}

.pricing-footnote {
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
}

.faq-shell {
    width: min(100%, 820px);
    margin: 3rem auto 0;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 750;
    list-style: none;
}

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

.faq-item summary svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--brand);
    transition: transform 180ms ease;
}

.faq-item[open] summary svg {
    transform: rotate(45deg);
}

.faq-item p {
    max-width: 720px;
    margin: -0.2rem 0 0;
    padding: 0 2rem 1.25rem 0;
    color: var(--muted-strong);
    font-size: 0.9rem;
    line-height: 1.68;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 6.8rem 0;
    background: #1f2250;
    color: #ffffff;
}

.final-cta::before,
.final-cta::after {
    position: absolute;
    pointer-events: none;
    content: '';
}

.final-cta::before {
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(179, 169, 255, 0.12) calc(100% - 1px)),
        linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), rgba(179, 169, 255, 0.08) calc(100% - 1px));
    background-size: 4.8rem 4.8rem;
    mask-image: linear-gradient(108deg, transparent 0%, #000 41%, #000 68%, transparent 100%);
}

.final-cta::after {
    top: 0;
    right: 8%;
    width: 44%;
    height: 100%;
    background: linear-gradient(118deg, transparent 23%, rgba(76, 174, 255, 0.18) 52%, transparent 78%);
    transform: skewX(-22deg);
}

.final-cta .content-shell {
    position: relative;
    z-index: 1;
    max-width: 760px;
    text-align: center;
}

.final-cta .story-kicker {
    border-color: rgba(195, 187, 255, 0.27);
    background: rgba(255, 255, 255, 0.08);
    color: #c3bbff;
}

.final-cta h2 {
    color: #ffffff;
}

.final-cta p {
    color: #c2c7eb;
}

.final-cta .button {
    margin-top: 1.7rem;
    background: #ffffff;
    color: #4c35c1;
}

.final-cta .button:hover {
    background: #e9e4ff;
}

.final-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.2rem;
    margin-top: 1.1rem;
    color: #b4bbdf;
    font-size: 0.76rem;
}

.final-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
}

.final-trust svg {
    width: 14px;
    height: 14px;
    color: #69bdff;
}

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.3rem;
    min-height: 96px;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem 1.15rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay='1'] {
    transition-delay: 100ms;
}

[data-reveal-delay='2'] {
    transition-delay: 200ms;
}

[data-reveal-delay='3'] {
    transition-delay: 300ms;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand) 64%, transparent);
    outline-offset: 3px;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-bright) 50%, transparent); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

@keyframes scrollNudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes floatDeviceOne {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--device-tilt)); }
    50% { transform: translate3d(0, -10px, 0) rotate(calc(var(--device-tilt) + 0.8deg)); }
}

@keyframes floatDeviceTwo {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--device-tilt)); }
    50% { transform: translate3d(2px, -13px, 0) rotate(calc(var(--device-tilt) - 0.8deg)); }
}

@keyframes floatDeviceThree {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--device-tilt)); }
    50% { transform: translate3d(-3px, -12px, 0) rotate(calc(var(--device-tilt) - 1deg)); }
}

@keyframes floatDeviceFour {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--device-tilt)); }
    50% { transform: translate3d(2px, -8px, 0) rotate(calc(var(--device-tilt) + 1deg)); }
}

@keyframes miniBar {
    from { transform: scaleY(0.68); opacity: 0.72; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes growBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes scanReceipt {
    0% { transform: translateY(0); }
    70% { transform: translateY(315px); }
    100% { transform: translateY(315px); }
}

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@media (max-width: 1120px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
    }

    .hero h1 {
        font-size: 3.45rem;
    }

    .device-stage {
        min-height: 530px;
    }

    .story-grid,
    .ocr-layout,
    .ai-layout,
    .dashboard-layout {
        gap: 2.8rem;
    }

    .dashboard-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
    }
}

@media (max-width: 940px) {
    .nav-shell,
    .content-shell {
        width: min(100% - 2.25rem, 760px);
    }

    .main-nav,
    .nav-login,
    .nav-actions > .button {
        display: none;
    }

    .menu-button {
        display: inline-grid;
    }

    .mobile-menu {
        position: absolute;
        top: calc(100% + 0.55rem);
        right: 1rem;
        left: 1rem;
        z-index: 100;
        display: grid;
        gap: 0.2rem;
        padding: 0.5rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: var(--shadow-sm);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-7px);
        transition: opacity 160ms ease, transform 160ms ease;
    }

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

    .mobile-menu a {
        padding: 0.8rem;
        border-radius: 6px;
        color: var(--muted-strong);
        font-size: 0.9rem;
        font-weight: 700;
    }

    .mobile-menu a:hover {
        background: var(--surface-soft);
        color: var(--brand);
    }

    .hero {
        padding-top: 2.3rem;
    }

    .hero-grid,
    .story-grid,
    .ocr-layout,
    .ai-layout,
    .app-download-layout,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: 0;
        gap: 0.5rem;
    }

    .hero-copy {
        max-width: 680px;
        padding-top: 0;
    }

    .hero h1 {
        max-width: 640px;
        font-size: 3.2rem;
    }

    .device-stage {
        width: min(100%, 670px);
        min-height: 570px;
        margin: 0 auto;
    }

    .story-grid > .spend-visual,
    .ocr-layout > .ocr-workbench,
    .ai-layout > .ai-stage,
    .dashboard-layout > .product-dashboard {
        grid-row: 1;
    }

    .story-copy,
    .ocr-copy,
    .ai-copy,
    .dashboard-copy {
        grid-row: 2;
    }

    .section-heading h2,
    .story-copy h2,
    .final-cta h2 {
        font-size: 2.45rem;
    }

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

    .dashboard-layout {
        gap: 2rem;
    }

    .dashboard-copy {
        max-width: 650px;
    }

    .app-download-layout {
        gap: 2rem;
    }

    .app-phone-stage {
        min-height: 500px;
    }
}

@media (max-width: 640px) {
    .nav-shell,
    .content-shell {
        width: min(100% - 1.5rem, 520px);
    }

    .nav-shell {
        min-height: 63px;
    }

    .brand-lockup img {
        max-width: 140px;
        height: 29px;
    }

    .brand-name {
        font-size: 0.94rem;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .icon-button,
    .menu-button {
        width: 35px;
        height: 35px;
    }

    .hero {
        min-height: 0;
        padding: 2.25rem 0 1.3rem;
    }

    .hero h1 {
        font-size: 2.55rem;
        line-height: 1.05;
    }

    .hero-lead {
        font-size: 0.98rem;
    }

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

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

    .hero-scroll-cue {
        display: none;
    }

    .device-stage {
        min-height: 420px;
        margin-top: 0.45rem;
    }

    .device-stage::before {
        top: 9%;
        right: 2%;
        bottom: 5%;
        left: 2%;
    }

    .device-laptop {
        top: 15%;
        left: 6%;
        width: 72%;
    }

    .device-tablet {
        width: 35%;
    }

    .device-iphone,
    .device-android {
        width: 22%;
    }

    .device-iphone {
        right: 2%;
    }

    .device-android {
        left: -2%;
    }

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

    .proof-item {
        min-height: 80px;
        padding: 0.8rem 0.7rem;
    }

    .proof-item:nth-child(3) {
        border-left: 1px solid var(--line);
    }

    .proof-item:nth-child(2) {
        border-right: 0;
    }

    .proof-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .proof-icon {
        width: 30px;
        height: 30px;
    }

    .proof-item strong {
        font-size: 0.77rem;
    }

    .proof-item span {
        font-size: 0.68rem;
    }

    .section {
        padding: 5rem 0;
    }

    .section-heading h2,
    .story-copy h2,
    .final-cta h2 {
        font-size: 2rem;
        line-height: 1.12;
    }

    .section-heading p,
    .final-cta p {
        font-size: 0.94rem;
    }

    .story-grid,
    .ocr-layout,
    .ai-layout,
    .dashboard-layout {
        gap: 2rem;
    }

    .app-download-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .play-store-button,
    .app-web-link {
        justify-content: center;
    }

    .app-phone-stage {
        min-height: 470px;
    }

    .app-phone {
        width: 252px;
        padding: 8px;
        border-radius: 34px;
    }

    .app-phone-screen {
        min-height: 440px;
        padding: 1rem 0.75rem 0.65rem;
        border-radius: 26px;
    }

    .app-phone-camera {
        top: 15px;
        width: 62px;
        height: 15px;
    }

    .app-phone-greeting {
        margin-top: 1rem;
    }

    .app-phone-balance strong {
        font-size: 1.42rem;
    }

    .spend-visual {
        min-height: 410px;
    }

    .spend-bar-row {
        grid-template-columns: 92px 1fr auto;
        gap: 0.5rem;
    }

    .spend-bar-row span,
    .spend-bar-row strong {
        font-size: 0.68rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        margin-top: 2.2rem;
    }

    .feature-card {
        min-height: 0;
    }

    .ocr-workbench,
    .ai-stage {
        min-height: 0;
    }

    .ocr-body {
        grid-template-columns: 1fr;
    }

    .receipt-paper {
        min-height: 270px;
        width: calc(100% - 0.8rem);
        margin: 0 auto;
    }

    .receipt-total {
        margin-top: 2rem;
    }

    .ocr-output {
        padding: 0;
    }

    .ai-conversation {
        padding: 1rem;
    }

    .chat-message {
        max-width: 94%;
        font-size: 0.78rem;
    }

    .chat-input {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 0 1rem 1rem;
    }

    .product-dashboard {
        width: calc(100% + 0.1rem);
    }

    .dash-panels,
    .dash-bottom {
        grid-template-columns: 1fr;
    }

    .dash-line-chart {
        height: 105px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        margin-top: 2.7rem;
    }

    .pricing-card {
        min-height: auto;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 1.65rem 0;
    }

    .footer-links {
        justify-content: center;
    }

    .final-cta {
        padding: 5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Logo enviada pelo admin: fica numa plaquinha branca arredondada nos DOIS temas,
   para aparecer exatamente como na arte original (fundo branco), inclusive no
   tema escuro. A altura maior compensa o respiro interno (o desenho continua
   com os mesmos ~34px de altura). */
.brand-lockup img {
    max-width: 205px;
    height: 46px;
    padding: 6px 11px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(12, 12, 55, 0.14);
}

@media (max-width: 640px) {
    .brand-lockup img {
        max-width: 170px;
        height: 40px;
        padding: 5px 9px;
        border-radius: 10px;
    }
}

/* Cena real do aplicativo na secao #app (imagem gerada com print do app). */
.app-scene-img {
    display: block;
    width: min(100%, 440px);
    height: auto;
    border-radius: 28px;
    box-shadow: 18px 30px 60px rgba(45, 20, 100, 0.35);
    animation: appPhoneFloat 5000ms ease-in-out infinite;
}

@media (max-width: 960px) {
    .app-scene-img {
        width: min(100%, 360px);
        margin: 0 auto;
    }
}

/* Hero: composicao real (notebook + celular) com fundo transparente. */
.device-stage.has-hero-img {
    display: grid;
    place-items: center;
    min-height: 0;
    perspective: none;
}

.hero-devices-img {
    display: block;
    width: 100%;
    max-width: 660px;
    height: auto;
    filter: drop-shadow(0 30px 45px rgba(45, 20, 100, 0.28));
    animation: appPhoneFloat 6000ms ease-in-out infinite;
}

/* Chip do logo oficial no painel demo (seção 5). */
.product-id .product-id-logo {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.28);
    overflow: hidden;
}

.product-id .product-id-logo img {
    width: 21px;
    height: 21px;
    object-fit: contain;
    display: block;
}

/* Celular 3D interativo da seção #app (fundo transparente nos 2 temas). */
.app-phone-stage.has-phone-3d {
    display: grid;
    place-items: center;
    perspective: 1000px;
}

.app-phone-float {
    animation: appPhoneFloat 5000ms ease-in-out infinite;
}

.app-phone-img {
    display: block;
    width: min(100%, 280px);
    height: auto;
    filter: drop-shadow(0 34px 48px rgba(45, 20, 100, 0.35));
    transition: transform 180ms ease-out;
    will-change: transform;
}

/* Crédito da desenvolvedora no rodapé: segunda linha do bloco de copyright,
   discreta para não competir com os links de navegação. */
.footer-dev {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    opacity: 0.85;
}

.footer-dev a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: color 180ms ease, opacity 180ms ease;
}

.footer-dev a:hover {
    color: var(--brand);
    opacity: 1;
}
