/* Mis Finanzas: public landing, independent of the administrative panel. */
:root {
    color-scheme:light;
    --bg:#f6faf8;
    --text:#102831;
    --muted:#5b697d;
    --accent:#007d75;
    --accent-hover:#00665f;
    --line:#e4ecef;
    --soft:#f5f8fa;
    --mint:#e4f6f1;
    --mint-strong:#c9f8e8;
    --panel:#fff;
    --shadow:0 18px 55px -25px #123f4235;
    --blue:#ecf5ff;
    --violet:#f4edff;
    --orange:#fff3e5;
    --header:#fffffff0;
}

:root[data-theme=dark] {
    color-scheme:dark;
    --bg:#0c2029;
    --text:#ecf4f5;
    --muted:#b2c2ce;
    --accent:#65ddc6;
    --accent-hover:#70ecd4;
    --line:#2a404c;
    --soft:#142731;
    --mint:#12352f;
    --mint-strong:#1c5045;
    --panel:#142731;
    --shadow:0 18px 55px -25px #0009;
    --blue:#162e45;
    --violet:#2a2340;
    --orange:#382b20;
    --header:#0c1921f2;
}

* {
    box-sizing:border-box;
}

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

body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:16px;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
}

button,input,textarea {
    font:inherit;
}

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

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

button {
    cursor:pointer;
}

a,button,summary {
    touch-action:manipulation;
}

button {
    color:inherit;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible {
    outline:3px solid var(--accent);
    outline-offset:5px;
}

figure,p,h1,h2,h3,ul {
    margin:0;
}

h1,h2,h3 {
    line-height:1.13;
    letter-spacing:-.045em;
}

h1 {
    font-size:clamp(40px,4.5vw,66px);
    font-weight:750;
}

h2 {
    font-size:clamp(32px,3.4vw,48px);
    font-weight:730;
}

h3 {
    font-size:24px;
    letter-spacing:-.035em;
}

em {
    font-style:normal;
    color:var(--accent);
}

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

.container {
    width:min(1200px,calc(100% - 80px));
    margin-inline:auto;
}

.split {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center;
    gap:64px;
}

.icon {
    width:24px;
    height:24px;
    flex-shrink:0;
    vertical-align:middle;
}

.site-header {
    position:sticky;
    top:0;
    z-index:10;
    background:var(--header);
    backdrop-filter:blur(16px);
}

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

.brand-link {
    display:inline-flex;
    flex-shrink:0;
}

.brand {
    display:inline-flex;
    align-items:center;
    gap:10px;
    white-space:nowrap;
}

.brand img { display:block; width:40px; height:40px; object-fit:contain; }
.brand-name { font-size:22px; font-weight:750; letter-spacing:-.04em; line-height:1.2; color:var(--text); }

.main-nav {
    display:flex;
    align-items:center;
    gap:28px;
    font-size:14px;
    font-weight:550;
}

.main-nav a:hover {
    color:var(--accent);
}

.header-controls {
    display:flex;
    gap:12px;
    align-items:center;
}

.theme-controls {
    display:flex;
    padding:3px;
    border-radius:24px;
    background:var(--soft);
}

.theme-controls button {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border:0;
    border-radius:50%;
    background:transparent;
    color:var(--muted);
}

.theme-controls .icon {
    width:18px;
    height:18px;
}

.theme-controls button[aria-pressed=true] {
    background:var(--panel);
    color:var(--accent);
    box-shadow:0 1px 5px #0001;
}

.menu-toggle {
    display:none;
    border:0;
    background:var(--soft);
    width:42px;
    height:42px;
    border-radius:12px;
}

.skip-link {
    position:fixed;
    top:-100px;
    left:20px;
    padding:12px;
    background:var(--panel);
    z-index:100;
}

.skip-link:focus {
    top:12px;
}

.hero {
    padding-top:40px;
    padding-bottom:55px;
    min-height:0;
}

.hero-copy {
    position:relative;
    z-index:1;
}

.lead {
    font-size:20px;
    line-height:1.65;
    margin-top:24px;
    max-width:520px;
}

.button-row {
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-top:34px;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    min-height:54px;
    padding:14px 26px;
    background:var(--accent);
    border:1px solid transparent;
    border-radius:9px;
    color:#fff;
    font-size:15px;
    font-weight:650;
    line-height:1.5;
    transition:background .15s,transform .15s;
}

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

[data-theme=dark] .button {
    color:#08221c;
}

.button.secondary {
    color:var(--accent);
    border-color:var(--accent);
    background:transparent;
}

.button.secondary:hover {
    background:var(--mint);
}

.button .icon {
    width:20px;
    height:20px;
}

.hero-benefits {
    display:flex;
    list-style:none;
    gap:26px;
    margin-top:48px;
    padding:0;
}

.hero-benefits li {
    display:flex;
    gap:10px;
    align-items:center;
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}

.round-icon {
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    border-radius:50%;
    background:var(--mint);
    color:var(--accent);
    flex-shrink:0;
}

.round-icon .icon {
    width:25px;
    height:25px;
}

.hero-visual {
    position:relative;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    padding-left:36px;
    min-height:580px;
}

.mint-shape {
    position:absolute;
    inset:8% 8% 6% 8%;
    background:linear-gradient(140deg,var(--mint-strong),var(--mint));
    border-radius:45% 55% 35% 65% / 40% 55% 45% 60%;
    transform:rotate(-13deg);
    opacity:.85;
}

.hero-visual figcaption {
    position:absolute;
    bottom:-28px;
    right:0;
    font-size:11px;
    color:var(--muted);
}

.floating-card {
    position:absolute;
    right:-5px;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:9px;
    width:158px;
    padding:20px;
    background:var(--panel);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    border-radius:16px;
}

.floating-card .round-icon {
    width:36px;
    height:36px;
}

.floating-card .icon {
    width:20px;
    height:20px;
}

.floating-card b {
    font-size:17px;
    line-height:1.4;
    letter-spacing:-.02em;
}

.floating-card small {
    font-size:12px;
    color:var(--muted);
}

.floating-card>span:last-child {
    font-size:10px;
    color:var(--muted);
}

.card-balance {
    top:85px;
}

.card-pocket {
    top:300px;
}

.section-heading {
    text-align:center;
    max-width:860px;
    margin:0 auto 52px;
}

.section-heading p:not(.eyebrow) {
    margin-top:18px;
    font-size:19px;
    line-height:1.6;
}

.eyebrow {
    color:var(--accent);
    font-size:12px;
    font-weight:750;
    letter-spacing:.17em;
    text-transform:uppercase;
    margin-bottom:15px;
}

.features {
    padding-top:65px;
}

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

.feature-card {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    border-radius:22px;
    padding:36px;
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    column-gap:24px;
    align-content:start;
    min-height:300px;
}

.mint {
    background:var(--mint);
    --card-accent:#008366;
}

.blue {
    background:var(--blue);
    --card-accent:#1765c3;
}

.violet {
    background:var(--violet);
    --card-accent:#7943bf;
}

.orange {
    background:var(--orange);
    --card-accent:#a44f0c;
}

[data-theme=dark] .mint {
    --card-accent:#54e3c3;
}

[data-theme=dark] .blue {
    --card-accent:#7ebaff;
}

[data-theme=dark] .violet {
    --card-accent:#c5a3ff;
}

[data-theme=dark] .orange {
    --card-accent:#ffb572;
}

.feature-icon {
    grid-row:1/3;
    display:grid;
    place-items:center;
    width:76px;
    height:76px;
    border-radius:20px;
    background:color-mix(in srgb,var(--card-accent) 10%,transparent);
    color:var(--card-accent);
}

.feature-icon .icon {
    width:38px;
    height:38px;
}

.feature-card h3 {
    font-size:25px;
    margin:4px 0 8px;
}

.feature-intro {
    font-size:17px;
    line-height:1.5;
}

.feature-card>p:not(.feature-intro) {
    grid-column:1/-1;
    font-size:15px;
    max-width:94%;
    margin-top:25px;
}

.feature-card a {
    grid-column:1/-1;
    justify-self:start;
    display:inline-flex;
    gap:12px;
    align-items:center;
    font-size:14px;
    font-weight:650;
    color:var(--card-accent);
    margin-top:22px;
}

.feature-card a:hover {
    text-decoration:underline;
}

.card-watermark {
    position:absolute;
    z-index:-1;
    right:-20px;
    bottom:22px;
    width:150px;
    height:150px;
    color:var(--card-accent);
    opacity:.06;
    transform:rotate(-12deg);
}

.daily {
    padding-top:130px;
    padding-bottom:55px;
    gap:80px;
}

.daily-copy h2 {
    font-size:clamp(36px,3.9vw,56px);
}

.daily-copy .lead {
    font-size:18px;
}

.daily-benefits {
    padding:0;
    list-style:none;
    display:grid;
    gap:28px;
    margin-top:34px;
}

.daily-benefits li {
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.daily-benefits h3 {
    font-size:18px;
    letter-spacing:-.02em;
    margin-bottom:6px;
}

.daily-benefits p {
    font-size:15px;
    line-height:1.6;
    max-width:350px;
}

.daily-visual {
    position:relative;
    min-width:0;
}

.device-pair {
    position:relative;
    display:flex;
    gap:8px;
    justify-content:center;
    align-items:center;
}

.daily-visual figcaption {
    margin-top:44px;
    color:var(--muted);
    font-size:11px;
    text-align:center;
}

.daily-visual .device {
    width:240px;
    min-width:0;
    flex-shrink:0;
    transform:rotate(-7deg);
}

.daily-visual .device+.device {
    transform:rotate(7deg) translateY(28px);
}

.daily-visual .device-screen {
    min-height:475px;
    padding:18px 13px 54px;
}

.faq {
    padding-top:85px;
    padding-bottom:100px;
    align-items:start;
    gap:70px;
}

.faq h2 {
    font-size:38px;
}

.faq>div>p:last-child {
    margin-top:20px;
    font-size:17px;
}

.faq-list {
    display:grid;
    gap:8px;
}

.faq-list details {
    border-bottom:1px solid var(--line);
    scroll-margin-top:120px;
}

.faq-list details[open] {
    background:var(--mint);
    border-color:transparent;
    border-radius:12px;
}

.faq-list summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    list-style:none;
    cursor:pointer;
    padding:19px 18px;
    font-size:15px;
    font-weight:550;
    line-height:1.5;
}

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

.faq-list summary .icon {
    width:18px;
    height:18px;
    color:var(--accent);
}

.faq-list details[open] summary .icon {
    transform:rotate(180deg);
}

.faq-list details p {
    padding:0 18px 20px;
    font-size:14px;
    line-height:1.7;
}

.contact {
    background:linear-gradient(120deg,var(--mint),var(--bg));
    padding:100px 0 110px;
}

.contact h2 {
    color:var(--accent);
    font-size:48px;
}

.contact .section-heading {
    margin-bottom:38px;
}

.contact-form {
    max-width:740px;
    margin:auto;
    padding:38px;
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:0 16px 70px -35px #1c736323;
}

.form-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-bottom:24px;
}

.contact-form label {
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:9px;
}

.contact-form label span {
    font-weight:400;
    color:var(--muted);
}

.contact-form input,.contact-form textarea {
    display:block;
    min-width:0;
    width:100%;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--soft);
    padding:13px 15px;
    color:var(--text);
    font-size:15px;
}

.contact-form input::placeholder,.contact-form textarea::placeholder {
    color:var(--muted);
    opacity:.85;
}

.contact-form textarea {
    resize:vertical;
    min-height:135px;
    max-height:450px;
}

.contact-form>.button {
    margin-top:24px;
    width:100%;
}

.form-note {
    font-size:12px;
    text-align:center;
    margin-top:22px;
}

.contact-number {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:15px;
    font-weight:600;
    margin-top:18px;
}

.contact-number .icon {
    color:var(--accent);
}

.footer {
    display:flex;
    align-items:center;
    gap:26px;
    min-height:160px;
    padding-block:40px;
    padding-right:65px;
}

.footer p {
    font-size:12px;
}

.footer small {
    margin-left:auto;
    font-size:11px;
    color:var(--muted);
}

.whatsapp-float {
    position:fixed;
    z-index:20;
    right:max(24px,env(safe-area-inset-right));
    bottom:max(24px,env(safe-area-inset-bottom));
    width:58px;
    height:58px;
    border-radius:50%;
    background:#09b85d;
    color:white;
    display:grid;
    place-items:center;
    box-shadow:0 5px 25px #075b3633;
    border:3px solid var(--panel);
}

.whatsapp-float .icon {
    width:31px;
    height:31px;
}

.whatsapp-float:hover {
    background:#07994e;
}

/* Illustrative app UI, deliberately non-interactive. */
.device {
    position:relative;
    z-index:1;
    width:280px;
    padding:7px;
    border:2px solid #495458;
    border-radius:38px;
    background:#111a20;
    box-shadow:8px 16px 30px -12px #142c3b55;
    flex-shrink:0;
}

.device:before {
    content:"";
    position:absolute;
    z-index:3;
    width:9px;
    height:9px;
    top:15px;
    left:calc(50% - 4px);
    background:#111a20;
    border-radius:50%;
}

.device-screen {
    position:relative;
    overflow:hidden;
    min-height:550px;
    border-radius:29px;
    background:var(--panel);
    padding:18px 17px 56px;
    font-size:10px;
    color:var(--text);
    line-height:1.4;
}

@media(min-width:1500px) {
    .container {
        max-width:1280px;
    }
    .hero {
        min-height:0;
    }
}

@media(max-width:1100px) {
    .container {
        width:calc(100% - 48px);
    }
    .main-nav {
        gap:16px;
        font-size:12px;
    }
    .header-inner {
        gap:18px;
    }
    .split {
        gap:32px;
    }
    .hero {
        padding-top:40px;
        min-height:0;
    }
    .hero-visual {
        padding-left:0;
    }
    .floating-card {
        right:-10px;
        width:130px;
        padding:15px;
    }
    .floating-card b {
        font-size:14px;
    }
    .hero-benefits {
        gap:15px;
    }
    .hero-benefits li {
        font-size:11px;
    }
    .hero-benefits .round-icon {
        width:40px;
        height:40px;
    }
    .feature-card {
        padding:28px;
        grid-template-columns:58px 1fr;
        gap:0 16px;
    }
    .feature-icon {
        width:58px;
        height:58px;
        border-radius:15px;
    }
    .feature-icon .icon {
        width:30px;
        height:30px;
    }
    .feature-card h3 {
        font-size:22px;
    }
    .feature-intro {
        font-size:15px;
    }
    .daily-visual .device {
        width:205px;
    }
    .daily-visual .device-screen {
        padding-inline:10px;
    }
    .daily {
        gap:50px;
    }
    .faq {
        gap:40px;
    }
    .footer {
        flex-wrap:wrap;
    }
    .footer small {
        width:100%;
        margin:0;
    }
}

@media(max-width:800px) {
    html {
        scroll-padding-top:105px;
    }
    .container {
        width:calc(100% - 40px);
    }
    .header-inner {
        min-height:80px;
        gap:12px;
    }
    .brand img {
        width:34px;
        height:34px;
    }
    .brand {
        gap:6px;
    }
    .brand-tag {
        font-size:10px;
        padding:4px 6px;
    }
    .theme-controls button {
        width:30px;
        height:32px;
    }
    .theme-controls .icon {
        width:16px;
        height:16px;
    }
    .menu-toggle {
        display:grid;
        place-items:center;
    }
    .header-controls {
        gap:8px;
    }
    .main-nav {
        display:none;
        position:absolute;
        top:80px;
        left:0;
        right:0;
        padding:18px 24px 26px;
        background:var(--panel);
        border-bottom:1px solid var(--line);
        box-shadow:var(--shadow);
        font-size:16px;
        gap:0;
    }
    .main-nav.is-open {
        display:flex;
        flex-direction:column;
        align-items:stretch;
    }
    .main-nav a {
        padding:12px;
    }
    .split {
        grid-template-columns:minmax(0,1fr);
    }
    .hero {
        padding-top:45px;
        padding-bottom:50px;
        gap:50px;
    }
    .hero-copy {
        max-width:600px;
        margin:auto;
        text-align:center;
    }
    h1 {
        font-size:clamp(40px,7.5vw,58px);
    }
    .lead {
        font-size:18px;
        max-width:530px;
        margin:22px auto 0;
    }
    .button-row {
        justify-content:center;
    }
    .hero-benefits {
        justify-content:center;
        text-align:left;
        gap:25px;
    }
    .hero-benefits li {
        font-size:12px;
    }
    .hero-visual {
        width:min(480px,100%);
        max-width:100%;
        margin:auto;
        padding-left:50px;
        min-height:580px;
    }
    .floating-card {
        right:0;
        width:145px;
    }
    .hero-visual figcaption {
        right:12px;
    }
    .features {
        padding-top:45px;
    }
    .section-heading {
        margin-bottom:34px;
    }
    .section-heading p:not(.eyebrow) {
        font-size:17px;
    }
    .feature-grid {
        gap:20px;
    }
    .feature-card {
        padding:26px;
        grid-template-columns:1fr;
    }
    .feature-icon {
        grid-row:auto;
        margin-bottom:20px;
    }
    .feature-card h3 {
        font-size:23px;
    }
    .feature-card>p:not(.feature-intro) {
        max-width:100%;
    }
    .feature-intro br {
        display:none;
    }
    .daily {
        padding-top:110px;
        padding-bottom:40px;
        gap:65px;
    }
    .daily-visual {
        width:520px;
        max-width:100%;
        margin:auto;
    }
    .daily-visual .device {
        width:235px;
    }
    .daily-copy {
        max-width:550px;
        margin:auto;
    }
    .daily-copy .lead {
        margin-inline:0;
    }
    .daily-copy h2 {
        font-size:46px;
    }
    .daily-benefits p {
        max-width:100%;
    }
    .faq {
        padding-top:110px;
        padding-bottom:110px;
        gap:35px;
    }
    .faq h2 {
        font-size:34px;
    }
    .contact {
        padding:80px 0;
    }
    .contact h2 {
        font-size:42px;
    }
    .contact-form {
        padding:30px;
    }
    .footer {
        gap:18px;
        min-height:160px;
    }
    .desktop-break {
        display:none;
    }
}

@media(max-width:480px) {
    .header-inner {
        gap:5px;
    }
    .brand img {
        width:30px;
        height:30px;
    }
    .brand-tag {
        font-size:9px;
        padding:3px 4px;
    }
    .theme-controls {
        padding:2px;
    }
    .theme-controls button {
        width:27px;
        height:30px;
    }
    .menu-toggle {
        width:34px;
        height:36px;
    }
    .header-controls {
        gap:4px;
    }
    .hero {
        padding-top:32px;
        gap:45px;
    }
    .hero-benefits {
        gap:15px;
    }
    .hero-benefits li {
        font-size:10px;
        gap:6px;
    }
    .hero-benefits .round-icon {
        width:30px;
        height:30px;
    }
    .hero-benefits .icon {
        width:18px;
        height:18px;
    }
    .button-row {
        gap:12px;
    }
    .button {
        padding:13px 18px;
        font-size:14px;
    }
    .hero-visual {
        padding-left:4px;
        min-height:530px;
    }
    .hero-visual>.device {
        width:235px;
    }
    .hero-visual .device-screen {
        min-height:530px;
        padding-inline:13px;
    }
    .floating-card {
        width:118px;
        padding:12px;
        gap:7px;
        right:0;
    }
    .floating-card b {
        font-size:12px;
    }
    .floating-card small {
        font-size:10px;
    }
    .floating-card>span:last-child {
        font-size:9px;
    }
    .card-balance {
        top:80px;
    }
    .card-pocket {
        top:290px;
    }
    .hero-visual figcaption {
        font-size:10px;
        bottom:-30px;
    }
    .feature-grid {
        grid-template-columns:1fr;
        gap:20px;
    }
    .feature-card {
        grid-template-columns:60px 1fr;
        padding:28px;
        column-gap:18px;
        min-height:280px;
    }
    .feature-icon {
        grid-row:1/3;
        margin:0;
    }
    .feature-card h3 {
        font-size:22px;
    }
    .feature-intro {
        font-size:14px;
    }
    .feature-card>p:not(.feature-intro) {
        font-size:14px;
    }
    .features {
        padding-top:55px;
    }
    .section-heading h2 {
        font-size:32px;
    }
    .section-heading p:not(.eyebrow) {
        font-size:16px;
    }
    .daily {
        padding-top:100px;
        gap:60px;
    }
    .device-pair {
        gap:0;
    }
    .daily-visual .device {
        width:180px;
        border-radius:29px;
        padding:5px;
    }
    .daily-visual .device-screen {
        min-height:450px;
        border-radius:22px;
        padding:15px 10px 48px;
    }
    .daily-copy h2 {
        font-size:40px;
    }
    .daily-copy .lead {
        font-size:17px;
    }
    .daily-benefits {
        gap:25px;
    }
    .daily-benefits h3 {
        font-size:17px;
    }
    .daily-benefits p {
        font-size:14px;
    }
    .faq h2 {
        font-size:31px;
    }
    .faq-list summary {
        font-size:14px;
    }
    .contact-form {
        padding:24px 20px;
    }
    .form-row {
        grid-template-columns:1fr;
        gap:20px;
    }
    .contact .container {
        width:calc(100% - 32px);
    }
    .contact .section-heading p {
        font-size:16px;
    }
    .contact-form>.button {
        gap:8px;
        font-size:13px;
    }
    .contact-number {
        font-size:14px;
    }
    .footer {
        padding-bottom:65px;
        padding-right:35px;
    }
    .whatsapp-float {
        width:52px;
        height:52px;
        bottom:18px;
        right:16px;
    }
    .whatsapp-float .icon {
        width:28px;
        height:28px;
    }
}

@media(max-width:360px) {
    .container {
        width:calc(100% - 28px);
    }
    h1 {
        font-size:36px;
    }
    .hero-benefits {
        gap:9px;
    }
    .hero-visual>.device {
        width:220px;
    }
    .floating-card {
        width:108px;
    }
    .daily-visual .device {
        width:157px;
    }
    .daily-visual .device-screen {
        padding-inline:8px;
    }
    .feature-card {
        padding:24px;
        column-gap:12px;
    }
    .feature-card h3 {
        font-size:20px;
    }
}

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

@media(max-width:800px) {
    .hero-visual .mint-shape {
        transform:none;
    }
    .hero-copy {
        min-width:0;
    }
    .daily-visual .mint-shape {
        transform:none;
    }
}

@media(max-width:480px) {
    .daily-visual .device {
        width:calc(50% - 18px);
        transform:rotate(-5deg);
    }
    .daily-visual .device+.device {
        transform:rotate(5deg) translateY(28px);
    }
}


/* Fixed phone proportions; contents scale with the shell instead of stretching it. */
.device {
    container-type: inline-size;
    aspect-ratio: 1 / 2;
    height: auto;
    width: 260px;
}
.hero-visual > .device { width: 260px; }
.daily-visual .device { width: 220px; }
.hero-visual .device-screen,
.daily-visual .device-screen {
    position: absolute;
    inset: 7px;
    min-height: 0;
    padding: 7cqw 6cqw 18cqw;
    font-size: 3.85cqw;
}
.hero-visual { min-height: 530px; }
.card-balance { top: 65px; }
.card-pocket { top: 270px; }
.device-status {
    display:flex;
    justify-content:space-between;
    font-size:3.462cqw;
    margin-bottom:3.846cqw;
}

.device-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:3.846cqw;
}

.device .brand {
    gap:1.538cqw;
}

.device .brand img {
    width:9.231cqw;
    height:9.231cqw;
}

.device .brand-tag {
    font-size:2.308cqw;
    padding:0.769cqw 1.154cqw;
    border-radius:0.769cqw;
}

.avatar {
    display:grid;
    place-items:center;
    width:8.462cqw;
    height:8.462cqw;
    border-radius:50%;
    background:var(--accent);
    color:var(--bg);
    font-size:2.692cqw;
}

.screen-balance {
    display:flex;
    flex-direction:column;
    padding:4.231cqw;
    border-radius:4.615cqw;
    background:var(--mint);
    gap:1.923cqw;
}

.screen-balance strong {
    font-size:9.615cqw;
    letter-spacing:-0.385cqw;
}

.screen-balance small {
    font-size:3.077cqw;
    color:var(--accent);
}

.screen-actions {
    display:flex;
    justify-content:space-around;
    margin:4.231cqw 0;
}

.screen-actions>span {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1.923cqw;
    font-size:3.077cqw;
}

.screen-actions .icon {
    background:var(--mint);
    padding:3.462cqw;
    border-radius:3.846cqw;
    width:13.462cqw;
    height:13.462cqw;
    color:var(--accent);
}

.screen-title {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:4.615cqw 0 2.692cqw;
    font-size:4.615cqw;
}

.screen-title small {
    font-size:3.077cqw;
    color:var(--accent);
}

.screen-row {
    display:flex;
    gap:3.077cqw;
    align-items:center;
    padding:2.308cqw 0;
    border-bottom:0.385cqw solid var(--line);
    font-size:3.462cqw;
}

.screen-row b {
    margin-left:auto;
    white-space:nowrap;
    font-size:3.846cqw;
}

.mini-icon {
    display:grid;
    place-items:center;
    background:var(--mint);
    color:var(--accent);
    border-radius:2.692cqw;
    width:8.846cqw;
    height:8.846cqw;
    flex-shrink:0;
}

.mini-icon .icon {
    width:5.385cqw;
    height:5.385cqw;
}

.mini-icon.blue {
    color:#3675cc;
    background:var(--blue);
}

.mini-icon.violet {
    color:#9970da;
    background:var(--violet);
}

.pocket {
    display:flex;
    align-items:center;
    gap:3.846cqw;
    padding:2.692cqw 0;
}

.pocket>div {
    flex:1;
}

.pocket b {
    display:block;
    font-size:4.615cqw;
    margin:1.154cqw 0;
}

.pocket-bar {
    height:1.538cqw;
    border-radius:1.923cqw;
    background:var(--line);
    overflow:hidden;
}

.pocket-bar>span {
    width:65%;
    display:block;
    height:100%;
    background:var(--accent);
}

.pocket-bar.second>span {
    width:42%;
    background:#54a9d1;
}

.screen-note {
    font-size:3.077cqw;
    margin-top:3.462cqw;
}

.screen-nav {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background:var(--panel);
    border-top:0.385cqw solid var(--line);
    padding:4.615cqw 3.077cqw;
    display:flex;
    justify-content:space-around;
}

.screen-nav>span {
    font-size:2.308cqw;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1.538cqw;
    color:var(--muted);
}

.screen-nav>span:first-child {
    color:var(--accent);
}

.screen-nav .icon {
    width:5.769cqw;
    height:5.769cqw;
}

.screen-title.centered {
    justify-content:center;
    margin:0 0 4.615cqw;
    font-size:4.615cqw;
}

.screen-tabs {
    display:flex;
    justify-content:space-around;
    align-items:center;
    gap:1.154cqw;
    padding:1.538cqw;
    background:var(--soft);
    border-radius:2.308cqw;
    font-size:3.077cqw;
    margin-bottom:5.385cqw;
}

.screen-tabs b {
    padding:2.308cqw 3.462cqw;
    border-radius:1.538cqw;
    color:var(--accent);
    background:var(--mint);
}

.screen-field {
    display:flex;
    flex-direction:column;
    border-bottom:0.385cqw solid var(--line);
    padding:2.692cqw 0;
    gap:1.923cqw;
}

.screen-field small {
    font-size:3.077cqw;
    color:var(--muted);
}

.screen-field strong {
    font-size:8.462cqw;
}

.screen-field>span {
    display:flex;
    justify-content:space-between;
    font-size:3.462cqw;
}

.screen-button {
    background:var(--accent);
    color:var(--bg);
    text-align:center;
    padding:3.846cqw;
    margin-top:4.615cqw;
    border-radius:2.308cqw;
    font-size:3.462cqw;
}

.donut {
    display:grid;
    place-items:center;
    width:59.231cqw;
    height:59.231cqw;
    border-radius:50%;
    background:conic-gradient(#0aaa8f 0% 40%,#4da5ef 40% 70%,#9d67e5 70% 90%,#ffc069 90%);
    margin:6.923cqw auto;
}

.donut>div {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:var(--panel);
    border-radius:50%;
    width:43.077cqw;
    height:43.077cqw;
}

.donut b {
    font-size:6.923cqw;
}

.donut small {
    color:var(--muted);
    font-size:3.077cqw;
}

.dot {
    width:2.692cqw;
    height:2.692cqw;
    border-radius:50%;
    background:var(--card-accent);
}


@media(max-width:1100px) {
    .daily-visual .device { width: 200px; }
}
@media(max-width:800px) {
    .daily-visual .device { width: 220px; }
}
@media(max-width:480px) {
    .hero-visual > .device { width: 230px; }
    .hero-visual { min-height: 470px; }
    .daily-visual .device { width: calc(50% - 18px); }
    .hero-visual .device-screen,
    .daily-visual .device-screen { inset: 5px; border-radius: 22px; }
    .card-pocket { top: 245px; }
}
@media(max-width:360px) {
    .hero-visual > .device { width: 215px; }
    .hero-visual { min-height: 440px; }
}

.device .brand-name { font-size:4.615cqw; }
.footer .product-maker { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:44px; text-align:center; }
.product-maker img { width:88px; height:20px; }
.product-maker span { font-size:10px; color:var(--muted); }
.product-maker .maker-dark { display:none; }
[data-theme=dark] .product-maker .maker-light { display:none; }
[data-theme=dark] .product-maker .maker-dark { display:block; }
@media(max-width:800px) { .brand-name { font-size:19px; } }
@media(max-width:380px) { .brand-name { font-size:17px; } }
