/* Product-led homepage. Brand tokens and shared controls come from nuvio-play.css. */
:is(.site-home, .site-interior) { --hero-tint: #FAFAFA; --display-backdrop: #F4F4F4; --orange-tint: #FFF5E7; --green-tint: #F2FAEB; --neutral-edge: #E5E5E5; }
:is(.site-home, .site-interior) .site-container { width: min(1320px, calc(100% - 80px)); }
:is(.site-home, .site-interior) .header { padding-block: 16px; }
:is(.site-home, .site-interior) .header .container { width: min(1320px, calc(100% - 80px)); }
:is(.site-home, .site-interior) .nav a { color: var(--ink); }
:is(.site-home, .site-interior) .nav a:hover { color: var(--blue-edge); }
.landing-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue-edge); font-size: 12px; line-height: 1.4; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.landing-hero { padding: 30px 0 36px; background: var(--surface); }
.landing-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 690px; }
.hero-message { position: relative; z-index: 2; padding: 18px 0 28px; }
.hero-message h1 { font-size: clamp(58px, 5.8vw, 83px); line-height: 1.02; font-weight: 900; letter-spacing: -3.5px; margin: 24px 0 28px; }
.hero-message h1 span { color: var(--primary-blue); position: relative; white-space: nowrap; }
.hero-message h1 span::after { content: ''; position: absolute; left: 0; right: -8px; bottom: -9px; height: 11px; border-top: 5px solid var(--primary-orange); border-radius: 50%; transform: rotate(-2deg); }
.hero-intro { color: var(--subtle); font-size: 19px; line-height: 1.7; max-width: 520px; margin: 0 0 30px; font-weight: 600; }
.hero-action-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.download-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 59px; border: 2px solid var(--primary-blue); border-bottom: 6px solid var(--blue-edge); border-radius: 16px; background: var(--primary-blue); padding: 13px 23px; color: white; font-weight: 900; font-size: 17px; line-height: 1.25; text-decoration: none; transition: transform var(--motion), background var(--motion), border-color var(--motion); }
.download-action .btn-icon { color: white; width: 23px; height: 23px; margin: 0; flex-shrink: 0; }
.download-action:hover { background: var(--blue-edge); border-color: var(--blue-edge); color: white; }
.download-action:active { transform: translateY(3px); }
.text-action { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-edge); font-size: 15px; font-weight: 900; min-height: 44px; text-decoration: none; }
.text-action:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-action > span:last-child[aria-hidden] { font-size: 21px; }
.action-note { color: var(--subtle); font-size: 12px; margin-top: 15px; font-weight: 700; }
.hero-mini-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; padding-top: 22px; border-top: 2px solid var(--line); width: fit-content; }
.hero-mini-proof > span { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; }
.hero-mini-proof > span > span:first-child { color: var(--green); font-weight: 1000; font-size: 18px; }
.hero-product { position: relative; height: 690px; margin: 0; display: flex; align-items: center; justify-content: center; isolation: isolate; }


/* An iPhone 18 Pro-style front shell; the app capture remains unaltered. */
.hero-device { --device-angle: 5deg; position: relative; width: 290px; padding: 7px; border: 2px solid #A5A7AA; border-radius: 43px; background: #252527; overflow: visible; transform: rotate(var(--device-angle)); margin: -10px 0 0 36px; box-shadow: inset 0 0 0 1px #D4D5D7; }
.device-display { position: relative; overflow: hidden; border-radius: 34px; background: white; }
.hero-device img, .screen-frame img { display: block; width: 100%; height: auto; }
.screen-frame .device-display { border-radius: 29px; }
.device-island { position: absolute; top: 1.7%; left: 50%; transform: translateX(-50%); width: 27%; height: 3.9%; border-radius: 30px; background: #111113; }
.device-island::after { content: ''; position: absolute; right: 10%; top: 25%; width: 13%; aspect-ratio: 1; border: 1px solid #34363E; border-radius: 50%; background: #1C2232; }
.device-button { position: absolute; width: 4px; background: #77797D; border: 1px solid #A5A7AA; border-radius: 3px; }
.device-button-left { left: -5px; top: 22%; height: 8%; }
.device-button-left::before { content: ''; position: absolute; top: -160%; left: -1px; width: 4px; height: 60%; border: 1px solid #A5A7AA; border-radius: 3px; background: #77797D; }
.device-button-right { right: -5px; top: 30%; height: 12%; }
.hero-bird { position: absolute; width: 205px; height: 205px; object-fit: contain; left: -18px; bottom: 68px; transform: rotate(-6deg); z-index: 2; }
.hero-speech { position: absolute; top: 77px; left: -15px; border: 2px solid var(--line); border-bottom: 5px solid var(--slab); border-radius: 20px 20px 4px 20px; background: var(--surface); color: var(--ink); padding: 17px 22px; transform: rotate(-6deg); font-size: 17px; line-height: 1.35; font-weight: 900; z-index: 2; }
.hero-spark { position: absolute; right: -3px; bottom: 130px; width: 45px; height: 45px; color: var(--primary-orange); transform: rotate(10deg); }

.product-section { padding: 80px 0 90px; background: var(--hero-tint); border-top: 2px solid var(--line); }
.landing-section-heading { text-align: center; max-width: 690px; margin: 0 auto 28px; }
.landing-section-heading .landing-eyebrow { justify-content: center; }
:is(.site-home, .site-interior) h2 { font-size: clamp(34px, 3.3vw, 45px); font-weight: 900; line-height: 1.15; letter-spacing: -1.3px; }
.landing-section-heading h2 { margin-top: 18px; }
.product-tabs { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 34px auto 28px; }
.product-tabs button { min-height: 51px; border: 2px solid var(--line); border-bottom: 5px solid var(--slab); border-radius: 14px; background: var(--surface); padding: 10px 28px; font-size: 16px; font-weight: 900; color: var(--ink); cursor: pointer; transition: background var(--motion), color var(--motion), transform var(--motion); }
.product-tabs button:hover { border-color: var(--primary-blue); }
.product-tabs button[aria-selected="true"] { background: var(--primary-blue); border-color: var(--primary-blue); border-bottom-color: var(--blue-edge); color: white; }
.product-tabs button:active { transform: translateY(2px); }
.feature-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 2px solid var(--line); border-bottom: 6px solid var(--slab); border-radius: 26px; min-height: 610px; overflow: hidden; }
.feature-panel[hidden] { display: none; }
.feature-story { padding: 60px 54px; align-self: center; }
.feature-number { color: var(--primary-blue); font-weight: 900; font-size: 14px; letter-spacing: 2px; }
.feature-story h3 { font-size: 38px; line-height: 1.14; letter-spacing: -1px; font-weight: 900; margin: 16px 0 20px; }
.feature-story > p { font-size: 17px; color: var(--subtle); line-height: 1.75; font-weight: 600; }
.feature-points { list-style: none; margin: 23px 0 28px; padding: 0; display: grid; gap: 13px; }
.feature-points li { position: relative; padding-left: 25px; font-size: 14px; line-height: 1.6; font-weight: 800; }
.feature-points li::before { content: '✓'; position: absolute; left: 0; top: -2px; color: var(--green); font-size: 18px; font-weight: 1000; }
.feature-screen { position: relative; margin: 20px; border-radius: 18px; padding: 34px 30px 26px; background: var(--display-backdrop); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; }
.budgets .feature-screen { background: var(--orange-tint); }
.loans .feature-screen { background: var(--primary-pink-light); }
.screen-frame { position: relative; width: 250px; max-width: 100%; padding: 6px; border: 2px solid #A5A7AA; border-radius: 37px; overflow: visible; background: #252527; box-shadow: inset 0 0 0 1px #D4D5D7; }
.screen-frame img { display: block; width: 100%; height: auto; }
.screen-frame .device-display { border-radius: 29px; }
.feature-screen figcaption { font-size: 10px; color: var(--subtle); text-align: center; }
.privacy-section { padding: 85px 0; border-bottom: 2px solid var(--line); }
.privacy-layout { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 75px; max-width: 1160px; }
.privacy-mark { display: grid; place-items: center; width: 175px; height: 175px; background: var(--green-tint); border-radius: 42% 58% 54% 46%; }
.privacy-mark svg { width: 83px; height: 83px; color: var(--green); }
.privacy-layout h2 { margin-bottom: 21px; }
.privacy-layout p { color: var(--subtle); font-size: 18px; line-height: 1.7; max-width: 600px; }
.privacy-layout .text-action { margin-top: 14px; }
.privacy-layout .privacy-note { font-size: 12px; margin-top: 11px; }
.getting-started { padding: 75px 0 85px; }
.start-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.start-heading img { width: 140px; height: 140px; object-fit: contain; }
.setup-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 0; margin: 0; }
.setup-steps li { position: relative; border-top: 2px solid var(--line); padding-top: 25px; }
.step-number { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--primary-blue); color: white; border-bottom: 4px solid var(--blue-edge); border-radius: 12px; font-size: 15px; font-weight: 900; margin-bottom: 20px; }
.setup-steps h3 { font-size: 23px; font-weight: 900; margin-bottom: 10px; }
.setup-steps p { color: var(--subtle); font-size: 16px; line-height: 1.7; }
.questions-section { padding: 70px 0 80px; background: var(--bg-secondary); border-block: 2px solid var(--line); }
.questions-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.questions-layout h2 { margin: 18px 0 22px; max-width: 350px; }
.question-list details { border-bottom: 2px solid var(--line); }
.question-list details:first-child { border-top: 2px solid var(--line); }
.question-list summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary > span:last-child { color: var(--primary-blue); font-size: 24px; line-height: 1; font-weight: 700; }
.question-list details[open] summary > span:last-child { transform: rotate(45deg); }
.question-list summary:hover { color: var(--blue-edge); }
.question-list summary:focus-visible { outline: 3px solid var(--primary-blue); outline-offset: 4px; border-radius: 4px; }
.question-list details > p { color: var(--subtle); font-size: 16px; line-height: 1.8; padding: 0 30px 24px 0; }
.last-download { padding: 75px 0; }
.last-download-panel { background: var(--primary-blue); border-bottom: 7px solid var(--blue-edge); border-radius: 28px; padding: 55px 70px; display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 65px; color: white; }
.last-download-panel > img { width: 230px; height: 230px; object-fit: contain; }
.last-download-panel h2 { color: white; margin-bottom: 16px; }
.last-download-panel p { color: white; font-size: 17px; margin-bottom: 24px; }
.last-download-panel .download-action { color: var(--blue-edge); background: white; border-color: white; border-bottom-color: var(--neutral-edge); }
.last-download-panel .download-action .btn-icon { color: var(--blue-edge); }
.last-download-panel .download-action:hover { background: var(--primary-blue-light); border-color: var(--primary-blue-light); border-bottom-color: var(--neutral-edge); }
.last-download-panel .action-note { font-size: 12px; margin: 14px 0 0; }
@media (max-width: 1100px) {
    .landing-hero-grid { gap: 20px; min-height: 630px; }
    .hero-message h1 { font-size: 68px; }
    .hero-product { height: 630px; }
    .hero-device { width: 245px; }
    .hero-bird { width: 165px; height: 165px; bottom: 70px; left: -8px; }
    .hero-speech { left: -10px; top: 47px; padding: 14px 16px; font-size: 15px; }

    .feature-story { padding: 40px; }
    .feature-story h3 { font-size: 33px; }
    .questions-layout { gap: 50px; }
}
@media (max-width: 850px) {
    :is(.site-home, .site-interior) .site-container, :is(.site-home, .site-interior) .header .container { width: calc(100% - 48px); }
    .landing-hero-grid { gap: 0; }
    .hero-message h1 { font-size: 56px; letter-spacing: -2.5px; }
    .hero-intro { font-size: 17px; }
    .hero-product { height: 600px; }
    .hero-device { width: 215px; margin-left: 0; }
    .hero-speech { top: 38px; left: 4px; font-size: 13px; }
    .hero-bird { width: 140px; height: 140px; left: -9px; bottom: 64px; }



    .feature-story { padding: 30px; }
    .feature-story h3 { font-size: 29px; }
    .feature-story > p { font-size: 16px; }
    .feature-screen { margin: 12px; padding: 20px; }
    .screen-frame { width: 215px; }
    .privacy-layout { grid-template-columns: 140px 1fr; gap: 40px; }
    .privacy-mark { width: 135px; height: 135px; }
    .setup-steps { gap: 25px; }
    .last-download-panel { padding: 40px; grid-template-columns: 165px 1fr; gap: 35px; }
    .last-download-panel > img { width: 165px; height: 165px; }
}
@media (max-width: 620px) {
    :is(.site-home, .site-interior) .site-container, :is(.site-home, .site-interior) .header .container { width: calc(100% - 40px); }
    .landing-hero { padding: 32px 0 0; }
    .landing-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-message { padding: 0; }
    .landing-eyebrow { font-size: 10px; letter-spacing: 1px; }
    .hero-message h1 { font-size: clamp(48px, 12.5vw, 70px); letter-spacing: -2.7px; margin: 22px 0 25px; }
    .hero-message h1 span::after { border-width: 4px; height: 8px; bottom: -6px; }
    .hero-intro { font-size: 17px; max-width: 380px; margin-bottom: 22px; line-height: 1.65; }
    .hero-action-row { gap: 10px 20px; }
    .download-action { font-size: 16px; min-height: 56px; padding: 12px 20px; }
    .text-action { font-size: 14px; gap: 8px; }
    .action-note { font-size: 11px; margin-top: 12px; }
    .hero-mini-proof { gap: 17px; margin-top: 20px; padding-top: 16px; }
    .hero-mini-proof > span { font-size: 12px; }
    .hero-product { width: 340px; max-width: 100%; height: 570px; margin: 8px auto 0; }
    .hero-device { width: 222px; margin: 0 0 0 35px; border-radius: 37px; }


    .hero-bird { width: 155px; height: 155px; left: -10px; bottom: 40px; }
    .hero-speech { left: -6px; top: 32px; padding: 12px 15px; font-size: 14px; }
    .hero-spark { width: 32px; height: 32px; right: 0; bottom: 95px; }

    .product-section { padding: 48px 0; }
    :is(.site-home, .site-interior) h2 { font-size: 32px; letter-spacing: -.8px; }
    .landing-section-heading h2 { margin-top: 15px; }
    .product-tabs { gap: 7px; margin: 25px 0 20px; }
    .product-tabs button { min-height: 47px; flex: 1; padding: 9px 10px; font-size: 14px; border-radius: 12px; }
    .feature-panel { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
    .feature-story { padding: 28px 25px; }
    .feature-story h3 { font-size: 31px; }
    .feature-points { margin: 20px 0; }
    .feature-story .download-action { display: none; }
    .feature-screen { margin: 0 12px 12px; padding: 24px 15px 18px; }
    .screen-frame { width: 220px; }
    .privacy-section { padding: 45px 0; }
    .privacy-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .privacy-mark { width: 85px; height: 85px; }
    .privacy-mark svg { width: 48px; height: 48px; }
    .privacy-layout p { font-size: 16px; }
    .getting-started { padding: 45px 0 50px; }
    .start-heading { margin-bottom: 20px; gap: 10px; }
    .start-heading img { width: 90px; height: 105px; }
    .setup-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .setup-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 6px 18px; padding-top: 20px; }
    .step-number { grid-row: span 2; margin: 0; }
    .setup-steps h3 { font-size: 21px; margin: 0; }
    .setup-steps p { font-size: 15px; }
    .questions-section { padding: 45px 0; }
    .questions-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .questions-layout h2 { max-width: 330px; margin-bottom: 12px; }
    .question-list summary { font-size: 16px; padding: 20px 0; }
    .question-list details > p { font-size: 15px; padding-right: 10px; }
    .last-download { padding: 40px 0; }
    .last-download-panel { grid-template-columns: minmax(0, 1fr); padding: 26px; gap: 18px; border-radius: 22px; }
    .last-download-panel > img { width: 130px; height: 130px; }
    .last-download-panel p { font-size: 16px; }
}
/* The motion resolves to a still layout; controls and copy stay available immediately. */
@media (prefers-reduced-motion: no-preference) {


    .hero-spark { animation: spark-arrive 1100ms 350ms ease-in-out 2; }

    .hero-message h1 span::after { transform-origin: left; animation: underline-arrive 500ms 180ms cubic-bezier(.2,.8,.2,1) both; }
    @keyframes device-arrive { from { opacity: 0; transform: translateY(18px) rotate(1deg); } to { opacity: 1; transform: translateY(0) rotate(var(--device-angle)); } }


    @keyframes spark-arrive { 0%, 100% { transform: scale(1) rotate(10deg); } 50% { transform: scale(1.16) rotate(22deg); } }

    @keyframes underline-arrive { from { transform: rotate(-2deg) scaleX(0); } to { transform: rotate(-2deg) scaleX(1); } }
}
/* Short labels and compact language control keep the header easy to scan. */
:is(.site-home, .site-interior) .nav { gap: 8px; }
:is(.site-home, .site-interior) .nav a { padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 800; }
:is(.site-home, .site-interior) .nav a:hover { background: var(--bg-secondary); }
:is(.site-home, .site-interior) .nav-download-btn { min-height: 47px; padding: 10px 22px; font-size: 14px; border-radius: 14px; white-space: nowrap; }
:is(.site-home, .site-interior) .lang-toggle { border: 0; background: transparent; padding: 10px 8px; min-height: 44px; border-radius: 12px; color: var(--subtle); font-size: 13px; }
:is(.site-home, .site-interior) .lang-toggle:hover { background: var(--bg-secondary); color: var(--ink); }
.lang-menu { max-height: min(440px, calc(100dvh - 130px)); overflow-y: auto; min-width: 205px; }
.lang-option { justify-content: space-between; gap: 18px; }
.lang-option[data-lang="auto"] { border-bottom: 2px solid var(--line); }
@media (max-width: 1100px) and (min-width: 851px) {
    :is(.site-home, .site-interior) .nav { gap: 0; }
    :is(.site-home, .site-interior) .nav a { padding-inline: 10px; font-size: 12px; }
    :is(.site-home, .site-interior) .header .container { gap: 12px; }
}
.device-display::after { content: ''; position: absolute; bottom: 5px; left: 34%; width: 32%; height: 3px; border-radius: 4px; background: #171719; }
@media (max-width: 620px) {
    html[lang="es-ES"] .hero-message h1 { font-size: clamp(40px, 11vw, 62px); }
    html[lang="ja-JP"] .hero-message h1, html[lang="ko-KR"] .hero-message h1 { font-size: clamp(36px, 9vw, 54px); letter-spacing: -1px; }
}
.mobile-lang-dropdown .lang-menu { position: static; display: none; width: 100%; margin-top: 8px; max-height: 280px; transform: none; }
.mobile-lang-dropdown.open .lang-menu { display: block; }
/* Small financial objects form the scene; the mascot stays still. */
.hero-product { perspective: 1100px; }
.hero-device { translate: none; }
.hero-scene-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line); z-index: -1; pointer-events: none; }
.hero-prop { position: absolute; pointer-events: none; user-select: none; transform: rotate(var(--prop-angle, 0deg)); translate: none; }
.hero-prop img, .hero-prop svg { display: block; width: 100%; height: auto; }
.prop-wallet { --prop-angle: -14deg; width: 94px; left: 35px; top: 95px; }
.prop-receipt { --prop-angle: 13deg; width: 96px; right: 2px; top: 80px; }
.prop-budget { --prop-angle: 12deg; width: 105px; right: 0; bottom: 98px; }
.prop-coin { --prop-angle: -16deg; width: 53px; height: 53px; left: 40px; top: 268px; }
.hero-bird { width: 185px; height: 185px; left: -5px; bottom: 50px; transform: none; animation: none !important; translate: none; }
.hero-speech { top: auto; right: auto; left: -8px; bottom: 259px; width: 190px; padding: 17px 20px; font-size: 17px; transform: rotate(-3deg); border-radius: 20px; }
.hero-speech::after { content: ''; position: absolute; width: 16px; height: 16px; bottom: -10px; left: 70%; background: white; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.hero-spark { right: 42px; bottom: 300px; width: 27px; height: 27px; }
@media (max-width: 1100px) {
    .prop-wallet { width: 74px; left: 4px; top: 85px; }
    .prop-receipt { width: 78px; right: -4px; top: 62px; }
    .prop-budget { width: 82px; right: -6px; bottom: 95px; }
    .prop-coin { width: 43px; height: 43px; left: 10px; top: 240px; }
    .hero-bird { width: 155px; height: 155px; bottom: 45px; }
    .hero-speech { width: 165px; bottom: 222px; left: -12px; padding: 14px 17px; font-size: 15px; }
}
@media (min-width: 621px) and (max-width: 850px) {
    .prop-wallet { width: 60px; left: -5px; top: 55px; }
    .prop-receipt { width: 63px; right: -6px; top: 80px; }
    .prop-budget { width: 68px; right: -3px; bottom: 78px; }
    .prop-coin { width: 36px; height: 36px; left: 0; top: 240px; }
    .hero-bird { width: 130px; height: 130px; bottom: 45px; }
    .hero-speech { width: 145px; left: -15px; bottom: 196px; padding: 12px 14px; font-size: 13px; }
}
@media (max-width: 620px) {
    .hero-product { margin-top: 26px; }
    .prop-wallet { width: 65px; left: -6px; top: 85px; }
    .prop-receipt { width: 65px; right: -6px; top: 28px; }
    .prop-budget { width: 68px; right: -10px; bottom: 85px; }
    .prop-coin { width: 37px; height: 37px; left: 5px; top: 235px; }
    .hero-bird { width: 145px; height: 145px; bottom: 30px; left: -12px; }
    .hero-speech { width: 153px; bottom: 198px; left: -10px; padding: 13px 15px; font-size: 14px; }
    .hero-scene-lines { opacity: .65; }
    .hero-spark { width: 21px; height: 21px; right: 0; bottom: 235px; }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-device { animation: device-arrive 650ms cubic-bezier(.2,.8,.2,1) both, phone-glide 4000ms 650ms ease-in-out infinite; }
    .prop-wallet { animation: prop-drift 4200ms 150ms ease-in-out infinite; }
    .prop-receipt { animation: prop-drift 4600ms 400ms ease-in-out infinite; }
    .prop-budget { animation: prop-drift 4400ms 650ms ease-in-out infinite; }
    .prop-coin { animation: coin-turn 4600ms 300ms ease-in-out infinite; }
    @keyframes phone-glide { 0%, 100% { transform: translateY(0) rotate(var(--device-angle)); } 50% { transform: translateY(-9px) rotate(3.5deg); } }
    @keyframes prop-drift { 0%, 100% { transform: translateY(0) rotate(var(--prop-angle)); } 50% { transform: translateY(-9px) rotate(calc(var(--prop-angle) + 4deg)); } }
    @keyframes coin-turn { 0%, 100% { transform: translateY(0) rotate(var(--prop-angle)) rotateY(0); } 50% { transform: translateY(-7px) rotate(-5deg) rotateY(28deg); } }
}
@media (prefers-reduced-motion: reduce) {
    .hero-device, .hero-prop { translate: none !important; transition: none !important; animation: none !important; }
}
/* A crisp slab stays at the baseline while the face sinks on press. */
:is(.site-home, .site-interior) .download-action, :is(.site-home, .site-interior) .nav-download-btn, :is(.site-home, .site-interior) .mobile-nav-download {
    --button-face: var(--primary-blue);
    --button-edge: var(--blue-edge);
    transform: none;
    box-sizing: border-box;
    border: 2px solid var(--button-face);
    min-height: 55px;
    padding: 13px 23px;
    margin: 0;
    background: var(--button-face);
    box-shadow: 0 4px 0 var(--button-edge);
    transition: background-color var(--motion), border-color var(--motion);
}
:is(.site-home, .site-interior) .download-action:hover, :is(.site-home, .site-interior) .nav-download-btn:hover, :is(.site-home, .site-interior) .mobile-nav-download:hover {
    transform: none;
    background: var(--button-face);
    border-color: var(--button-face);
    box-shadow: 0 4px 0 var(--button-edge);
}
:is(.site-home, .site-interior) .download-action:active, :is(.site-home, .site-interior) .nav-download-btn:active, :is(.site-home, .site-interior) .mobile-nav-download:active {
    transform: translateY(4px);
    border-width: 2px;
    box-shadow: 0 0 0 var(--button-edge);
    margin: 0;
}
:is(.site-home, .site-interior) .nav-download-btn { min-height: 43px; padding: 9px 22px; font-size: 14px; }
:is(.site-home, .site-interior) .last-download-panel .download-action { --button-face: white; --button-edge: var(--neutral-edge); color: var(--blue-edge); }
@media (max-width: 620px) {
    :is(.site-home, .site-interior) .download-action { min-height: 52px; padding: 12px 20px; }
}
.hero-bird { filter: none !important; box-shadow: none !important; opacity: 1; transform: none !important; animation: none !important; }
/* Legacy mobile image rules must not resize or rotate the mascot. */
.hero-bird { width: 185px !important; height: 185px !important; object-fit: contain; }
@media (max-width: 1100px) { .hero-bird { width: 155px !important; height: 155px !important; } }
@media (min-width: 621px) and (max-width: 850px) { .hero-bird { width: 130px !important; height: 130px !important; } }
@media (max-width: 620px) {
    .hero-bird { width: 145px !important; height: 145px !important; }
    .hero-speech::after { left: 55%; }
}
@media (max-width: 620px) {
    .hero-product { height: 660px; }
    .hero-device { margin-top: 80px; }
    .hero-bird { width: 110px !important; height: 110px !important; top: -3px; bottom: auto; left: -8px; }
    .hero-speech { top: 12px; bottom: auto; left: 100px; width: calc(100% - 100px); max-width: 210px; transform: none; }
    .hero-speech::after { left: -10px; top: 26px; bottom: auto; transform: rotate(135deg); }
    .prop-wallet { top: 190px; }
    .prop-receipt { top: 135px; }
    .prop-coin { top: 365px; }
    .prop-budget { bottom: 55px; }
}

.hero-product { pointer-events: none; }
/* Owner-supplied App Store rating. No review count is implied. */
.hero-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; width: fit-content; margin-top: 25px; color: var(--subtle); text-decoration: none; font-size: 13px; font-weight: 700; min-height: 44px; }
.hero-rating:hover { color: var(--blue-edge); }
.hero-rating strong { font-size: 20px; line-height: 1; color: var(--ink); font-weight: 900; font-variant-numeric: tabular-nums; }
.hero-rating strong > span { font-size: 12px; color: var(--subtle); margin-left: 3px; }
.rating-stars { position: relative; display: inline-block; font-size: 19px; line-height: 1; letter-spacing: 2px; }
.rating-stars > span:first-child { color: var(--line); }
.rating-stars > span:last-child { position: absolute; inset: 0 auto 0 0; width: 96%; overflow: hidden; white-space: nowrap; color: var(--primary-orange); }
.rating-arrow { font-size: 18px; color: var(--blue-edge); }
/* Editorial benefit stories, with playback separate from navigation. */
.product-section { background: white; }
.feature-introduction { display: grid; grid-template-columns: 1.15fr 1fr; gap: 65px; max-width: none; text-align: left; align-items: end; margin-bottom: 34px; }
.feature-introduction h2 { margin: 0; }
.feature-intro-copy { font-size: 18px; line-height: 1.75; color: var(--subtle); font-weight: 600; max-width: 510px; }
.feature-controls { margin: 30px 0 24px; border-bottom: 2px solid var(--line); }
.product-tabs { margin: 0; justify-content: flex-start; gap: 36px; }
.product-tabs button, .product-tabs button[aria-selected="true"] { position: relative; border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: 55px; color: var(--subtle); padding: 10px 0 17px; font-size: 16px; transform: none; }
.product-tabs button[aria-selected="true"] { color: var(--blue-edge); }
.product-tabs button::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px; background: var(--primary-blue); opacity: 0; border-radius: 3px; }
.product-tabs button[aria-selected="true"]::after { opacity: 1; }
.product-tabs button:hover { color: var(--blue-edge); }
.feature-deck { display: grid; }
.feature-deck > .feature-panel { grid-area: 1 / 1; }
.feature-deck > .feature-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.feature-deck > .feature-panel[hidden] * { animation: none !important; }
.feature-panel { grid-template-columns: 1fr 1.1fr; min-height: 580px; border: 2px solid var(--line); border-bottom: 4px solid var(--slab); border-radius: 26px; background: white; }
.feature-story { padding: 42px 48px; }
.feature-number { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.feature-number::after { content: ''; width: 36px; height: 2px; background: var(--line); }
.feature-story h3 { margin: 18px 0; font-size: clamp(30px, 3vw, 39px); }
.feature-story > p { font-size: 16px; line-height: 1.75; }
.benefit-scene { position: relative; isolation: isolate; overflow: hidden; background: #F0F6FF; border-radius: 18px; margin: 16px; min-height: 540px; }
.scene-index { position: absolute; top: 16px; left: 24px; font-size: 108px; line-height: 1; font-weight: 900; letter-spacing: -6px; color: #DBE9FE; user-select: none; }
.scene-art { position: absolute; width: 220px; height: 220px; object-fit: contain; top: 22px; right: 24px; transform: rotate(8deg); }
.scene-detail { position: absolute; left: 28px; bottom: 72px; width: calc(100% - 82px); max-width: 370px; background: white; border: 2px solid var(--line); border-bottom: 6px solid var(--slab); border-radius: 22px; padding: 24px; transform: rotate(-3deg); }
.scene-note { display: flex; align-items: center; gap: 8px; position: absolute; right: 20px; bottom: 29px; max-width: calc(100% - 40px); padding: 11px 15px; border-radius: 12px; border: 2px solid #D3E4FE; background: white; font-size: 12px; font-weight: 900; color: var(--blue-edge); transform: rotate(2deg); }
.scene-note > span:first-child { font-size: 16px; color: var(--green); }
.scene-sample { position: absolute; top: 20px; right: 20px; color: var(--subtle); font-size: 10px; font-weight: 700; }
.daily-balance { position: relative; border-radius: 15px; padding: 21px; background: var(--green); color: white; border-bottom: 5px solid #48AA00; }
.daily-balance > span { display: block; font-size: 12px; font-weight: 900; letter-spacing: .4px; }
.daily-balance > strong { display: block; font-size: 42px; line-height: 1.25; letter-spacing: -1px; font-weight: 900; margin: 9px 0 15px; }
.daily-status { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 20px; background: rgb(255 255 255 / .2); }
.scene-companion { display: flex; align-items: center; gap: 14px; padding-top: 15px; font-weight: 800; font-size: 14px; }
.scene-companion img { width: 48px; height: 48px; object-fit: contain; }
.detail-heading { display: flex; align-items: center; gap: 10px; justify-content: space-between; font-size: 18px; font-weight: 900; line-height: 1.3; margin-bottom: 20px; }
.detail-plus { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: white; background: var(--primary-blue); font-size: 25px; }
.demo-entry { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.demo-entry i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-style: normal; color: white; background: var(--primary-orange); font-size: 18px; }
.demo-entry:nth-child(3) i { background: var(--green); }
.demo-entry strong { font-size: 14px; font-weight: 900; }
.budget-left > span { display: block; color: var(--subtle); font-size: 12px; font-weight: 700; }
.budget-left > strong { display: block; font-size: 35px; line-height: 1.3; font-weight: 900; letter-spacing: -1px; margin-top: 6px; }
.budget-allocation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 17px; }
.budget-allocation span { display: block; color: var(--subtle); font-size: 11px; margin-bottom: 4px; }
.budget-allocation strong { font-size: 16px; font-weight: 900; }
.native-progress { height: 10px; background: var(--line); border-radius: 10px; overflow: hidden; }
.native-progress > span { display: block; width: calc(var(--progress) * 100%); height: 100%; border-radius: inherit; background: var(--primary-orange); transform-origin: left; }
.scene-debt .detail-heading { justify-content: flex-start; }
.credit-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #FF4B4B; color: white; font-style: normal; font-size: 24px; }
.scene-debt .native-progress { margin-top: 23px; }
.scene-debt .native-progress > span { background: var(--primary-blue); }
.payment-done { display: flex; gap: 7px; align-items: center; color: var(--blue-edge); font-weight: 900; font-size: 12px; margin-top: 13px; }
.story-playback { display: flex; align-items: center; justify-content: flex-end; gap: 17px; margin-top: 20px; min-height: 44px; }
.story-count { color: var(--ink); font-weight: 900; font-size: 13px; font-variant-numeric: tabular-nums; }
.story-count > span { color: var(--subtle); font-weight: 700; margin-left: 4px; }
.story-timer { width: 150px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.story-timer > span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--primary-blue); transform: scaleX(0); transform-origin: left; }
.is-cycling .story-timer > span { animation: story-progress 8s linear both; }
.rotation-toggle { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; color: var(--subtle); border: 1px solid var(--line); border-radius: 12px; background: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.rotation-toggle:hover { color: var(--blue-edge); border-color: var(--primary-blue); }
.rotation-icon { width: 13px; font-size: 14px; }
@keyframes story-progress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
    .feature-panel:not([hidden]) .feature-story { animation: scene-arrive 380ms ease-out both; }
    .scene-art { animation: scene-float 4.8s ease-in-out infinite; }
    .scene-detail { animation: detail-arrive 550ms cubic-bezier(.2,.8,.2,1) both; }
    .scene-note { animation: note-arrive 550ms 140ms ease-out both; }
    .feature-panel:not([hidden]) .native-progress > span { animation: budget-fill 900ms 180ms cubic-bezier(.2,.8,.2,1) both; }
    @keyframes scene-arrive { from { opacity: 0; } to { opacity: 1; } }
    @keyframes scene-float { 0%,100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8px); } }
    @keyframes detail-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
    @keyframes note-arrive { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
    @keyframes budget-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 1100px) {
    .feature-introduction { gap: 30px; }
    .feature-intro-copy { font-size: 16px; }
    .feature-story { padding: 35px; }
    .product-tabs { gap: 25px; }
    .scene-detail { left: 20px; width: calc(100% - 45px); padding: 20px; }
    .scene-art { width: 195px; height: 195px; right: 10px; }
}
@media (max-width: 850px) {
    .feature-introduction { grid-template-columns: 1fr; gap: 18px; }
    .feature-panel { grid-template-columns: minmax(0,1fr); }
    .feature-story { padding: 35px; }
    .feature-story .download-action { display: none; }
    .benefit-scene { margin-top: 0; min-height: 510px; }
    .scene-detail { width: min(370px, calc(100% - 65px)); left: 45px; }
    .scene-art { right: 40px; width: 230px; height: 230px; }
}
@media (max-width: 620px) {
    .feature-introduction h2 { font-size: 34px; }
    .feature-controls { margin-top: 24px; }
    .product-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
    .product-tabs button, .product-tabs button[aria-selected="true"] { font-size: 14px; text-align: left; min-width: 0; padding: 14px 0; }
    .product-tabs button::after { bottom: 0; width: 34px; }
    .feature-story { padding: 26px; }
    .feature-story h3 { font-size: 30px; }
    .feature-story > p { font-size: 15px; }
    .benefit-scene { min-height: 475px; margin: 0 10px 10px; }
    .scene-index { left: 17px; font-size: 88px; top: 22px; }
    .scene-art { width: 165px; height: 165px; right: 8px; top: 30px; }
    .scene-detail { left: 13px; width: calc(100% - 30px); bottom: 80px; padding: 17px; border-radius: 18px; transform: rotate(-2deg); }
    .daily-balance { padding: 17px; }
    .daily-balance > strong { font-size: 33px; }
    .scene-companion { padding-top: 10px; gap: 9px; font-size: 12px; }
    .scene-companion img { width: 35px; height: 35px; }
    .scene-note { bottom: 27px; right: 12px; padding: 9px 11px; font-size: 11px; max-width: calc(100% - 24px); }
    .scene-sample { top: 12px; right: 14px; font-size: 9px; }
    .detail-heading { font-size: 16px; margin-bottom: 16px; }
    .demo-entry { grid-template-columns: 27px 1fr auto; gap: 7px; padding: 12px 0; font-size: 10px; }
    .demo-entry i { width: 27px; height: 27px; font-size: 16px; }
    .demo-entry strong { font-size: 12px; }
    .budget-left > strong { font-size: 29px; }
    .budget-allocation strong { font-size: 14px; }
    .story-playback { gap: 12px; justify-content: center; }
    .story-timer { width: 95px; }
}
@media (prefers-reduced-motion: reduce) {
    #features *, #features *::after { animation: none !important; }
}
/* The lower page carries the same app details and open illustration style. */
.privacy-section { padding: 80px 0 100px; border: 0; }
.privacy-layout { grid-template-columns: 1fr 1fr; max-width: none; gap: 90px; }
.privacy-illustration { position: relative; min-height: 370px; border-radius: 24px; background: #F0F6FF; overflow: hidden; display: grid; place-items: center; }
.private-device { position: absolute; width: 160px; height: 245px; border: 3px solid #D3E4FE; border-radius: 28px; background: white; transform: rotate(-14deg); top: 35px; left: calc(50% - 115px); padding: 45px 20px 20px; }
.private-device > span { position: absolute; width: 48px; height: 8px; border-radius: 8px; background: var(--line); top: 17px; left: 53px; }
.private-device i { display: block; height: 28px; background: #F0F6FF; border-radius: 8px; margin-bottom: 12px; }
.privacy-seal { position: absolute; top: 76px; left: calc(50% - 30px); display: grid; place-items: center; width: 137px; height: 148px; border: 2px solid var(--line); border-bottom: 6px solid var(--slab); border-radius: 26px; background: white; transform: rotate(9deg); }
.privacy-seal svg { width: 86px; height: 86px; color: var(--green); }
.privacy-caption { position: absolute; bottom: 37px; display: flex; align-items: center; gap: 12px; padding: 15px 22px; border: 2px solid var(--line); border-bottom: 5px solid var(--slab); border-radius: 16px; background: white; max-width: calc(100% - 40px); }
.local-check { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--green); color: white; font-size: 21px; font-weight: 900; flex-shrink: 0; }
.privacy-caption strong { display: block; font-size: 14px; font-weight: 900; }
.privacy-caption div > span { display: block; font-size: 12px; color: var(--subtle); margin-top: 3px; }
.privacy-layout h2 { font-size: clamp(32px,3vw,42px); }
.privacy-layout p { font-size: 17px; }
.getting-started { background: #FAFBFD; border-block: 2px solid var(--line); padding: 85px 0; }
.start-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.start-heading { display: block; margin: 0; }
.start-heading h2 { margin: 0 0 22px; }
.start-heading p { max-width: 380px; color: var(--subtle); font-size: 17px; line-height: 1.75; }
.start-heading img { width: 175px; height: 175px; margin-top: 24px; }
.setup-steps { display: block; }
.setup-steps li { display: grid; grid-template-columns: 47px minmax(0,1fr) 125px; align-items: center; gap: 22px; padding: 27px 0; border-top: 0; border-bottom: 0; --step-divider-inset: 69px; }
.setup-steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: var(--step-divider-inset); inset-inline-end: 0; bottom: 0; height: 2px; background: var(--line); }
.step-number { min-width: 42px; width: 42px; height: 44px; margin: 0; }
.setup-steps h3 { font-size: 21px; margin: 0 0 8px; }
.setup-steps p { font-size: 14px; line-height: 1.65; }
.step-preview { border: 2px solid var(--line); border-bottom: 5px solid var(--slab); border-radius: 14px; background: white; min-height: 73px; padding: 13px; color: var(--ink); }
.currency-preview { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.currency-preview span { font-size: 13px; font-weight: 900; }
.currency-preview strong { color: var(--primary-blue); font-size: 25px; }
.currency-preview i { font-size: 19px; font-style: normal; color: var(--subtle); }
.entry-preview { display: flex; align-items: center; gap: 8px; padding: 11px; transform: rotate(-3deg); }
.entry-preview > span { color: var(--primary-blue); font-size: 24px; font-weight: 900; }
.entry-preview strong { font-size: 14px; font-weight: 900; white-space: nowrap; }
.entry-preview i { color: var(--green); font-size: 17px; font-style: normal; font-weight: 900; }
.habit-preview { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; transform: rotate(3deg); }
.habit-preview span { display: grid; place-items: center; background: #F0F6FF; color: var(--primary-blue); border-radius: 6px; height: 22px; font-size: 14px; font-weight: 900; }
.habit-preview span:last-child { color: #916000; background: #FFF0B3; }
.questions-section { padding: 90px 0 100px; background: white; border: 0; }
.questions-layout { gap: 90px; grid-template-columns: .85fr 1.15fr; }
.questions-layout > div:first-child { position: relative; padding-bottom: 135px; }
.questions-layout h2 { max-width: 390px; margin: 18px 0; }
.faq-companion { position: absolute; bottom: 0; left: 0; width: 115px; height: 115px; object-fit: contain; }
.question-list { display: grid; gap: 12px; align-content: start; }
.question-list details, .question-list details:first-child { border: 2px solid var(--line); border-radius: 17px; padding: 0 22px; background: white; }
.question-list summary { padding: 20px 0; gap: 18px; font-size: 16px; line-height: 1.45; }
.question-list summary > span:last-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #F0F6FF; flex-shrink: 0; }
.question-list details[open] { border-color: #BBD5FF; }
.question-list details > p { padding: 0 0 22px; font-size: 15px; line-height: 1.75; }
.last-download { padding: 45px 0 0; overflow: hidden; background: white; }
.closing-message { text-align: center; position: relative; z-index: 2; }
:is(.site-home, .site-interior) .closing-message h2 { color: var(--primary-blue); font-size: clamp(52px,6vw,78px); line-height: 1.05; letter-spacing: -2.6px; margin: 0 auto 22px; }
.closing-message > p:not(.action-note) { font-size: 19px; font-weight: 700; color: var(--subtle); margin-bottom: 28px; }
.closing-message .download-action { min-width: 260px; }
.closing-message .action-note { margin: 17px 0 0; }
.closing-scene { height: 335px; position: relative; margin-top: 10px; }
.closing-transition { position: absolute; bottom: -1px; width: 100%; height: 180px; z-index: 0; }
.closing-art { position: relative; max-width: 1000px; height: 100%; margin: auto; z-index: 1; }
.closing-art img { position: absolute; object-fit: contain; }
.closing-bird { width: 270px; height: 270px; left: calc(50% - 135px); bottom: 20px; }
.closing-wallet { width: 145px; height: 145px; top: 48px; left: 11%; transform: rotate(-15deg); }
.closing-jar { width: 165px; height: 165px; top: 60px; right: 9%; transform: rotate(10deg); }
.closing-star { position: absolute; color: var(--primary-orange); font-size: 35px; }
.star-left { top: 20px; left: 34%; }
.star-right { top: 30px; right: 30%; font-size: 24px; }
.closing-coin { position: absolute; width: 38px; height: 38px; background: #FFC800; border: 3px solid #FFB000; border-bottom: 6px solid #E5A000; border-radius: 50%; }
.coin-left { top: 165px; left: 29%; transform: rotate(-15deg); }
.coin-right { top: 190px; right: 27%; width: 26px; height: 26px; }
.nuvio-footer { background: var(--blue-edge); color: white; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 55px; padding-bottom: 48px; }
.footer-brand img { display: block; filter: brightness(0) invert(1); }
.footer-brand p { color: #D9E8FF; font-size: 14px; line-height: 1.6; margin-top: 19px; max-width: 210px; font-weight: 700; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.nuvio-footer h3 { font-size: 16px; color: white; font-weight: 900; margin: 0 0 15px; }
.footer-group a { display: inline-flex; align-items: center; min-height: 42px; color: #D9E8FF; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.footer-group a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-languages { border-top: 1px solid rgb(255 255 255 / .25); padding: 30px 0 24px; }
.footer-languages h3 { font-size: 14px; margin-bottom: 15px; }
.footer-language-options { display: flex; gap: 7px 24px; flex-wrap: wrap; }
.footer-language-options button { background: transparent; border: 0; color: #D9E8FF; min-height: 44px; padding: 7px 0; border-radius: 3px; font-size: 13px; font-weight: 800; cursor: pointer; }
.footer-language-options button[aria-pressed="true"] { color: white; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.footer-language-options button:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / .25); padding-top: 24px; color: #D9E8FF; font-size: 12px; font-weight: 600; }
.nuvio-footer :focus-visible { outline: 3px solid white; outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
    .closing-wallet { animation: closing-wallet-float 5s ease-in-out infinite; }
    .closing-jar { animation: closing-jar-float 5.5s ease-in-out infinite; }
    @keyframes closing-wallet-float { 0%,100% { transform: rotate(-15deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-7px); } }
    @keyframes closing-jar-float { 0%,100% { transform: rotate(10deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-7px); } }
}
@media (max-width: 1100px) {
    .privacy-layout, .start-layout, .questions-layout { gap: 45px; }
    .setup-steps li { grid-template-columns: 42px minmax(0,1fr); gap: 18px; --step-divider-inset: 60px; }
    .step-preview { display: none; }
    .footer-grid { gap: 30px; }
}
@media (max-width: 850px) {
    .privacy-layout { grid-template-columns: 1fr 1fr; gap: 35px; }
    .privacy-illustration { min-height: 330px; }
    .privacy-caption { padding: 13px; gap: 9px; }
    .privacy-caption strong { font-size: 12px; }
    .start-layout { grid-template-columns: 1fr; gap: 25px; }
    .start-heading { position: relative; padding-right: 190px; }
    .start-heading img { position: absolute; width: 150px; height: 150px; right: 0; top: 0; margin: 0; }
    .setup-steps li { grid-template-columns: 45px minmax(0,1fr) 125px; --step-divider-inset: 63px; }
    .step-preview { display: flex; }
    .habit-preview { display: grid; }
    .questions-layout { grid-template-columns: 1fr; gap: 30px; }
    .questions-layout > div:first-child { padding: 0; }
    .questions-layout h2 { max-width: 550px; }
    .faq-companion { display: none; }
    .footer-grid { grid-template-columns: repeat(3,1fr); }
    .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 30px; }
    .footer-brand p { max-width: 330px; margin: 0; }
}
@media (max-width: 620px) {
    .privacy-section { padding: 45px 0 65px; }
    .privacy-layout { grid-template-columns: 1fr; gap: 33px; }
    .privacy-illustration { min-height: 310px; }
    .private-device { top: 20px; height: 215px; }
    .privacy-seal { top: 50px; }
    .privacy-caption { bottom: 24px; padding: 14px 19px; }
    .privacy-caption strong { font-size: 13px; }
    .privacy-layout h2 { font-size: 33px; }
    .privacy-layout p { font-size: 16px; }
    .getting-started { padding: 55px 0; }
    .start-heading { padding: 0; }
    .start-heading img { display: none; }
    .start-heading h2 { font-size: 34px; }
    .start-heading p { font-size: 16px; max-width: none; }
    .setup-steps li { grid-template-columns: 42px minmax(0,1fr); gap: 16px; padding: 24px 0; --step-divider-inset: 58px; }
    .step-preview, .habit-preview { display: none; }
    .setup-steps h3 { font-size: 21px; }
    .questions-section { padding: 55px 0 65px; }
    .questions-layout h2 { font-size: 33px; }
    .question-list details, .question-list details:first-child { padding: 0 16px; }
    .question-list summary { font-size: 15px; padding: 18px 0; }
    .question-list details > p { font-size: 14px; }
    .last-download { padding-top: 30px; }
    :is(.site-home, .site-interior) .closing-message h2 { font-size: 53px; letter-spacing: -2px; }
    .closing-message > p:not(.action-note) { font-size: 16px; max-width: 300px; margin-inline: auto; }
    .closing-message .download-action { min-width: 0; }
    .closing-scene { height: 270px; margin-top: 5px; }
    .closing-bird { width: 210px; height: 210px; left: calc(50% - 105px); bottom: 17px; }
    .closing-wallet { width: 85px; height: 85px; top: 24px; left: 2%; }
    .closing-jar { width: 95px; height: 95px; top: 38px; right: 1%; }
    .closing-star { font-size: 23px; }
    .star-left { top: 6px; left: 30%; }
    .star-right { top: 18px; right: 29%; font-size: 17px; }
    .coin-left { width: 25px; height: 25px; left: 15%; top: 133px; }
    .coin-right { right: 15%; top: 145px; width: 21px; height: 21px; }
    .nuvio-footer { padding: 45px 0 25px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 32px; }
    .footer-brand { display: block; }
    .footer-brand p { margin-top: 14px; max-width: none; }
    .footer-brand img { width: 115px; height: auto; }
    .nuvio-footer h3 { font-size: 15px; margin-bottom: 11px; }
    .footer-group a { font-size: 13px; min-height: 44px; }
    .footer-language-options { gap: 2px 21px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; font-size: 11px; }
}
/* Habit progress replaces the former privacy promotion. */
.momentum-section { padding: 65px 0 90px; }
.momentum-layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 85px; }
.momentum-copy h2 { font-size: clamp(34px,3.5vw,46px); margin-bottom: 22px; }
.momentum-copy p { font-size: 18px; line-height: 1.75; color: var(--subtle); max-width: 490px; }
.momentum-copy .text-action { margin-top: 18px; }
.momentum-scene { position: relative; min-height: 420px; border-radius: 24px; background: #FFF8EC; overflow: hidden; }
.momentum-trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.momentum-bird { position: absolute; width: 165px; height: 165px; top: 13px; right: 22px; object-fit: contain; }
.momentum-spark { position: absolute; color: var(--primary-orange); font-size: 30px; }
.spark-one { top: 56px; left: 15%; }
.spark-two { top: 27px; right: 36%; font-size: 19px; }
.streak-preview { position: absolute; left: 26px; right: 36px; bottom: 47px; padding: 25px; border: 2px solid var(--line); border-bottom: 6px solid var(--slab); border-radius: 21px; background: white; transform: rotate(-3deg); }
.streak-heading { display: flex; align-items: center; gap: 13px; }
.streak-flame { width: 38px; color: var(--primary-orange); flex-shrink: 0; }
.app-flame { display: block; width: 100%; aspect-ratio: 4 / 5; background: currentColor; -webkit-mask: url("../images/brand/flame-fill.png") center / contain no-repeat; mask: url("../images/brand/flame-fill.png") center / contain no-repeat; }
.streak-heading strong { display: block; font-size: 24px; font-weight: 900; line-height: 1.3; }
.streak-heading div > span { display: block; color: var(--subtle); font-size: 12px; margin-top: 5px; }
.streak-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 9px; margin: 25px 0 20px; }
.streak-day { color: var(--primary-orange); text-align: center; }
.streak-day .app-flame { display: block; width: 26px; height: 33px; margin: auto; }
.streak-day span { display: block; color: var(--green); font-size: 12px; font-weight: 900; margin-top: 7px; }
.streak-caption { border-top: 2px solid var(--line); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 800; }
.streak-check { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--green); color: white; font-size: 18px; }
.momentum-sample { position: absolute; right: 20px; bottom: 15px; color: var(--subtle); font-size: 10px; }
/* Connect setup steps visually and let the small app details explain the sequence. */
.setup-steps { position: relative; }
.setup-steps::before { display: none; }
.setup-steps li { --step-node-center: 49px; }
.setup-steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: var(--step-node-center); bottom: calc(-1 * var(--step-node-center)); width: 2px; background: #D9E7FC; z-index: 0; }
.setup-steps li { position: relative; }
.step-number { position: relative; z-index: 1; grid-row: 1; align-self: start; }
.step-preview { position: relative; overflow: hidden; }
.entry-preview i { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
    .streak-day { animation: streak-light 7s calc(var(--day) * .55s) ease-in-out infinite; }
    .momentum-trail path { animation: trail-travel 8s linear infinite; }
    .momentum-spark { animation: spark-shine 4s ease-in-out infinite; }
    .spark-two { animation-delay: 1.5s; }
    .streak-check { animation: check-stamp 7s 3.6s ease-in-out infinite; }
    .setup-steps .step-number { animation: step-highlight 9s ease-in-out infinite; }
    .setup-steps li:nth-child(2) .step-number { animation-delay: 3s; }
    .setup-steps li:nth-child(3) .step-number { animation-delay: 6s; }
    .currency-preview strong { animation: currency-reveal 9s ease-in-out infinite; }
    .entry-preview i { animation: entry-saved 9s 3s ease-in-out infinite; }
    .habit-preview span { animation: habit-tick 9s calc(6s + var(--tick, 0s)) ease-in-out infinite; }
    .habit-preview span:nth-child(2) { --tick: .15s; }
    .habit-preview span:nth-child(3) { --tick: .3s; }
    .habit-preview span:nth-child(4) { --tick: .45s; }
    @keyframes streak-light { 0%,18%,100% { opacity: .35; transform: translateY(0); } 7%,12% { opacity: 1; transform: translateY(-5px); } }
    @keyframes trail-travel { to { stroke-dashoffset: -136; } }
    @keyframes spark-shine { 0%,100% { opacity: .55; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
    @keyframes check-stamp { 0%,15%,100% { transform: scale(1); } 7% { transform: scale(1.18); } }
    @keyframes step-highlight { 0%,32%,100% { background: var(--primary-blue); border-bottom-color: var(--blue-edge); } 10%,24% { background: var(--green); border-bottom-color: #48AA00; } }
    @keyframes currency-reveal { 0%,30%,100% { opacity: 1; transform: translateY(0); } 10% { opacity: .4; transform: translateY(-4px); } }
    @keyframes entry-saved { 0%,30%,100% { transform: scale(1); } 12% { transform: scale(1.3); } }
    @keyframes habit-tick { 0%,30%,100% { transform: translateY(0); } 12% { transform: translateY(-4px); } }
}
/* Visibility-based menus can animate out without remaining clickable or focusable. */
:is(.site-home, .site-interior) .lang-menu { transform-origin: top right; transform: translateY(-6px) scale(.97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, transform 200ms cubic-bezier(.2,.8,.2,1), visibility 0s 200ms; }
:is(.site-home, .site-interior) .lang-dropdown.open .lang-menu { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
:is(.site-home, .site-interior) .dropdown-arrow { transition: transform 200ms cubic-bezier(.2,.8,.2,1); }
:is(.site-home, .site-interior) .mobile-nav, :is(.site-home, .site-interior) .mobile-nav:not(.mobile-nav-open) { display: block; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), visibility 0s 220ms; }
:is(.site-home, .site-interior) .mobile-nav.mobile-nav-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
@media (min-width: 851px) { :is(.site-home, .site-interior) .mobile-nav { display: none !important; } }
@media (max-width: 1100px) { .momentum-layout { gap: 40px; } .streak-preview { left: 18px; right: 18px; padding: 20px; } .streak-heading strong { font-size: 22px; } }
@media (max-width: 850px) { .momentum-layout { grid-template-columns: 1fr; gap: 32px; } .momentum-copy p { max-width: 600px; } .momentum-scene { max-width: 600px; width: 100%; } }
@media (max-width: 620px) {
    .momentum-section { padding: 40px 0 60px; }
    .momentum-copy h2 { font-size: 33px; }
    .momentum-copy p { font-size: 16px; }
    .momentum-scene { min-height: 345px; }
    .momentum-bird { width: 125px; height: 125px; top: 5px; right: 7px; }
    .streak-preview { padding: 18px 15px; left: 13px; right: 13px; bottom: 36px; border-radius: 17px; }
    .streak-heading strong { font-size: 20px; }
    .streak-heading div > span { font-size: 11px; }
    .streak-flame { width: 30px; }
    .streak-week { gap: 4px; margin: 20px 0 15px; }
    .streak-day .app-flame { width: 21px; height: 28px; }
    .streak-caption { font-size: 12px; padding-top: 12px; }
    .momentum-sample { font-size: 9px; bottom: 12px; }
    .setup-steps li { grid-template-columns: 42px minmax(0,1fr); }
    .setup-steps .step-preview { display: flex; grid-column: 2; width: 125px; min-height: 62px; margin-top: 0; }
    .setup-steps .habit-preview { display: grid; }
    .setup-steps li { --step-node-center: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .momentum-section *, .getting-started *, .closing-art *, :is(.site-home, .site-interior) .lang-menu, :is(.site-home, .site-interior) .dropdown-arrow, :is(.site-home, .site-interior) .mobile-nav { animation: none !important; transition: none !important; }
}
.question-list summary > span:last-child { transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 160ms ease; }
.question-list details.is-closing summary > span:last-child { transform: rotate(0); }
@media (prefers-reduced-motion: reduce) { .question-list summary > span:last-child { transition: none; } }
/* Alternate the editorial sections while preserving heading-first mobile reading order. */
@media (min-width: 851px) {
    .momentum-layout { grid-template-columns: 1.1fr 1fr; }
    .momentum-copy { grid-column: 2; grid-row: 1; }
    .momentum-scene { grid-column: 1; grid-row: 1; }
    .questions-layout { grid-template-columns: 1.15fr .85fr; }
    .questions-layout > div:first-child { grid-column: 2; grid-row: 1; }
    .questions-layout > .question-list { grid-column: 1; grid-row: 1; }
}
/* Keep hamburger bars and the close icon centered on the same point. */
.header .mobile-menu-btn:hover { transform: none !important; }
.header .mobile-menu-btn .hamburger-line { left: 50%; top: 50%; width: 20px; height: 2.5px; margin: 0; background: var(--ink); transform: translate(-50%, -50%); transition: transform 200ms ease, opacity 140ms ease; }
.header .mobile-menu-btn .hamburger-line:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.header .mobile-menu-btn .hamburger-line:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
.header .mobile-menu-btn-open .hamburger-line:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.header .mobile-menu-btn-open .hamburger-line:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(0); }
.header .mobile-menu-btn-open .hamburger-line:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .header .mobile-menu-btn .hamburger-line { transition: none; } }
@media (max-width: 380px) {
    .hero-rating { flex-wrap: nowrap; gap: 6px; font-size: 12px; max-width: 100%; }
    .hero-rating strong { font-size: 18px; flex-shrink: 0; }
    .rating-stars { font-size: 16px; letter-spacing: 1px; flex-shrink: 0; }
    .rating-arrow { flex-shrink: 0; }
}

@media (max-width: 380px) { :is(.site-home, .site-interior) .closing-message h2 { font-size: 44px; } }
