.native-start {
    --native-accent: #49e5ac;
    --native-accent-ink: #09271b;
    --native-bg: #080d0c;
    --native-surface: #111a17;
    --native-inset: #0b120f;
    --native-text: #f4f7f5;
    --native-muted: #a9b7b0;
    --native-line: #304139;
    --native-gutter: clamp(20px, 5vw, 42px);
    color-scheme: dark;
    isolation: isolate;
    position: relative;
    min-height: 100dvh;
    box-sizing: border-box;
    overflow-x: clip;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: calc(18px + env(safe-area-inset-top)) var(--native-gutter) calc(18px + env(safe-area-inset-bottom));
    color: var(--native-text);
    background: var(--native-bg);
    font-family: var(--font, Inter, system-ui, sans-serif);
}

[data-theme="light"] .native-start {
    --native-accent: #176b4b;
    --native-accent-ink: #ffffff;
    --native-bg: #f5f7f3;
    --native-surface: #ffffff;
    --native-inset: #edf2ed;
    --native-text: #192b22;
    --native-muted: #54675c;
    --native-line: #cfdbd1;
    color-scheme: light;
}

.native-start *,
.native-start *::before,
.native-start *::after { box-sizing: border-box; }

.native-start__glow {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 360px;
    pointer-events: none;
    background: radial-gradient(ellipse at 80% 0%, rgba(73, 229, 172, .07), transparent 70%);
}

.native-start__header,
.native-start__main,
.native-start__footer {
    position: relative;
    width: min(100%, 580px);
    min-width: 0;
    margin-inline: auto;
}

.native-start__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 14px;
    row-gap: 8px;
    min-height: 44px;
}

.native-start .native-start__header .brand-logo {
    color: var(--native-text);
    width: auto;
    height: auto;
    font-size: 23px;
}
.native-start .native-start__header .brand-logo__wallet { color: inherit; }

.native-start__descriptor {
    color: var(--native-muted);
    font-size: 11px;
    line-height: 1.4;
}

.native-start__main { display: flex; align-items: center; }
.native-start__loading { display: grid; place-items: center; }

.native-start__slide {
    width: 100%;
    min-width: 0;
    padding: clamp(24px, 5vh, 56px) 0 18px;
}

.native-start__eyebrow {
    margin: 0 0 14px;
    color: var(--native-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.native-start h1 {
    margin: 0;
    color: var(--native-text);
    font: 700 clamp(32px, 8vw, 52px)/1.08 var(--font, Inter, system-ui, sans-serif);
    letter-spacing: -.04em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.native-start__lead {
    margin: 16px 0 0;
    max-width: 510px;
    color: var(--native-muted);
    font-size: 15px;
    line-height: 1.6;
}

.native-start__example {
    margin: 24px 0 0;
    min-width: 0;
    padding: clamp(18px, 4.5vw, 28px);
    border: 1px solid var(--native-line);
    border-radius: 22px;
    background: var(--native-surface);
}

.native-start__sample {
    margin: 0;
    color: var(--native-muted);
    font-size: 11px;
    line-height: 1.5;
}

.native-start__voice {
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 20px 0 12px;
}
.native-start__voice span { width: 4px; height: 12px; border-radius: 4px; background: var(--native-accent); }
.native-start__voice span:nth-child(3n) { height: 25px; }
.native-start__voice span:nth-child(4n) { height: 40px; }
.native-start__voice span:nth-child(8) { height: 54px; }

.native-start__quote {
    margin: 0 0 24px;
    color: var(--native-text);
    font-size: clamp(21px, 5.5vw, 30px);
    line-height: 1.35;
    letter-spacing: -.02em;
    text-align: center;
    text-wrap: balance;
}

.native-start__entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--native-line);
    border-radius: 12px;
    background: var(--native-inset);
}
.native-start__entry > div { min-width: 0; display: grid; gap: 5px; }
.native-start__entry span { color: var(--native-muted); font-size: 11px; line-height: 1.4; }
.native-start__entry strong { color: var(--native-text); font-size: 15px; }
.native-start__entry .native-start__amount { flex-shrink: 0; font-size: 22px; font-variant-numeric: tabular-nums; }

.native-start__hint {
    margin: 16px 0 0;
    color: var(--native-muted);
    font-size: 12px;
    line-height: 1.5;
}

.native-start__scan {
    display: grid;
    place-items: center;
    margin: 18px 0;
    padding: 16px;
    border: 1px dashed var(--native-accent);
    border-radius: 14px;
}
.native-start__receipt {
    width: min(100%, 220px);
    display: grid;
    gap: 8px;
    padding: 16px;
    color: #24372c;
    background: #f8f7f1;
    border-radius: 3px 3px 9px 9px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .08);
}
.native-start__receipt > span { font-size: 11px; color: #4d6254; }
.native-start__receipt > strong { font-size: 14px; }
.native-start__receipt > div:last-child { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }
.native-start__receipt-lines { display: grid; gap: 5px; margin: 4px 0 8px; }
.native-start__receipt-lines i { height: 3px; width: 100%; background: #cad5ca; border-radius: 2px; }
.native-start__receipt-lines i:nth-child(2) { width: 72%; }
.native-start__receipt-lines i:nth-child(3) { width: 86%; }

.native-start__balance { display: grid; gap: 7px; margin: 24px 0; }
.native-start__balance span,
.native-start__balance small { color: var(--native-muted); font-size: 13px; }
.native-start__balance strong { color: var(--native-text); font-size: clamp(40px, 11vw, 60px); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.native-start__budget-bar { height: 8px; overflow: hidden; border-radius: 10px; background: var(--native-line); }
.native-start__budget-bar span { display: block; width: 68%; height: 100%; background: var(--native-accent); border-radius: inherit; }
.native-start__budget-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 0; }
.native-start__budget-details > div { min-width: 0; display: grid; gap: 6px; }
.native-start__budget-details dt { color: var(--native-muted); font-size: 12px; }
.native-start__budget-details dd { margin: 0; color: var(--native-text); font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }

.native-start__footer { display: grid; gap: 10px; padding-top: 10px; }
.native-start__steps { display: flex; justify-content: center; gap: 4px; margin-bottom: 6px; }
.native-start__steps button {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 4px;
    border: 0;
    border-radius: 8px;
    color: var(--native-muted);
    background: transparent;
    font: 600 12px/1.3 var(--font, Inter, system-ui, sans-serif);
    cursor: pointer;
}
.native-start__steps button > span { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--native-muted); }
.native-start__steps button.is-active { color: var(--native-accent); background: var(--native-inset); }
.native-start__steps button.is-active > span { background: var(--native-accent); }

.native-start__primary,
.native-start__secondary,
.native-start__text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 12px;
    font: 650 14px/1.4 var(--font, Inter, system-ui, sans-serif);
    cursor: pointer;
}
.native-start__primary { border: 1px solid transparent; color: var(--native-accent-ink); background: var(--native-accent); }
.native-start__secondary { border: 1px solid var(--native-line); color: var(--native-text); background: var(--native-surface); }
.native-start__text { min-height: 44px; border: 0; color: var(--native-muted); background: transparent; font-size: 13px; }
.native-start button:focus-visible,
.native-start h1:focus-visible { outline: 3px solid var(--native-accent); outline-offset: 4px; }

@media (max-height: 720px) {
    .native-start__slide { padding-top: 20px; }
    .native-start h1 { font-size: clamp(30px, 8vw, 42px); }
    .native-start__lead { margin-top: 12px; font-size: 14px; line-height: 1.5; }
    .native-start__example { margin-top: 18px; }
    .native-start__voice { height: 42px; margin: 14px 0 10px; }
    .native-start__voice span:nth-child(8) { height: 42px; }
    .native-start__quote { margin-bottom: 18px; }
    .native-start__scan { margin-block: 14px; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .native-start *,
    .native-start *::before,
    .native-start *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.native-language {
    --native-language-gutter: clamp(20px, 5.5vw, 32px);
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: calc(20px + env(safe-area-inset-top)) var(--native-language-gutter) calc(18px + env(safe-area-inset-bottom));
    color: #f7f7f4;
    background:
        linear-gradient(180deg, rgba(62, 255, 160, .035), transparent 30%),
        #050506;
}

.native-language__glow {
    position: absolute;
    width: 560px;
    height: 560px;
    left: 50%;
    top: -370px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 255, 160, .16), transparent 66%);
    pointer-events: none;
}

.native-language__brand,
.native-language__main,
.native-language__choices { position: relative; z-index: 1; width: min(100%, 560px); margin-inline: auto; }

.native-language__brand {
    min-height: 44px;
    display: grid;
    place-items: center;
}
.native-language__brand .brand-logo {
    width: auto;
    margin: 0;
    object-position: center;
}
.native-language__main {
    align-self: center;
    padding: clamp(26px, 6vh, 58px) 0 22px;
}
.native-language__eyebrow { margin: 0 0 15px; color: #3effa0; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.native-language__main h1 {
    margin: 0;
    max-width: 430px;
    text-wrap: balance;
    font: 750 clamp(36px, 9vw, 52px)/1 var(--font);
    letter-spacing: -.052em;
}
.native-language__main > p:not(.native-language__eyebrow) { margin: 18px 0 0; max-width: 500px; color: #929795; font-size: 14px; line-height: 1.58; }
.native-language__features { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.native-language__features span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; color: #a5aaa7; background: rgba(255,255,255,.035); font-size: 9px; font-weight: 700; }
.native-language__choices h2 { margin: 0 0 12px; color: #777c79; font-size: 10px; font-weight: 700; letter-spacing: .045em; }
.native-language__choices button {
    width: 100%;
    min-height: 66px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 13px;
    margin-top: 9px;
    padding: 12px 15px 12px 12px;
    border: 1px solid rgba(255,255,255,.095);
    border-radius: 10px;
    color: #f7f7f4;
    text-align: left;
    background: #0e1116;
    box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.native-language__choices button:active { border-color: rgba(62,255,160,.45); background: rgba(62,255,160,.08); }
.native-language__choices button > strong { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: #06130c; background: #3effa0; font-size: 11px; box-shadow: none; }
.native-language__choices button > span { display: flex; flex-direction: column; gap: 4px; }
.native-language__choices button b { font-size: 13px; }
.native-language__choices button small { color: #7f8481; font-size: 9px; }
.native-language__choices button i { color: #7f8481; font-style: normal; }
.native-language__choices > p { margin: 13px 0 0; color: #555a57; text-align: center; font-size: 9px; }

@media (max-height: 740px) {
    .native-language { padding-top: calc(14px + env(safe-area-inset-top)); }
    .native-language__main { padding: 20px 0 16px; }
    .native-language__eyebrow { margin-bottom: 11px; }
    .native-language__main h1 { font-size: clamp(36px, 10vw, 48px); }
    .native-language__main > p:not(.native-language__eyebrow) { margin-top: 13px; line-height: 1.48; }
    .native-language__features { margin-top: 15px; }
    .native-language__choices button { min-height: 60px; }
    .native-language__choices button > strong { width: 36px; height: 36px; }
}

@media (min-width: 700px) {
    .native-language__main { text-align: center; }
    .native-language__main h1,
    .native-language__main > p:not(.native-language__eyebrow) { margin-inline: auto; }
    .native-language__features { justify-content: center; }
    .native-language__choices { max-width: 520px; }
}
