/* StudyFund — green, mobile-first theme.
   Single-file CSS, same approach as Courtly. */

:root {
    --bg: #f9f6ed;
    --surface: #ffffff;
    --stroke: #e8e3d2;
    --text: #1f1f1f;
    --text-muted: #7a7568;
    --accent: #d4a017;
    --accent-strong: #0f3d2e;
    --accent-soft: #e4f6ec;
    --danger: #c15b3c;
    --warn: #d4a017;
    --radius: 20px;
    --shadow: 0 12px 32px rgba(15, 61, 46, .12);
    --tabbar-height: 68px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

[v-cloak] { display: none; }

#app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    position: relative;
    padding-bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
}

/* ── Auth screens ─────────────────────────────────────────── */
.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 20px;
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(47, 158, 68, .18), transparent 60%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
}

.auth-brand { text-align: center; margin-bottom: 20px; }
.auth-logo { font-size: 2.2rem; display: block; }
.auth-title { font-size: 1.6rem; margin: 6px 0 2px; letter-spacing: -.02em; }
.auth-tagline { color: var(--text-muted); margin: 0 0 8px; }

.auth-alert {
    background: #fdecec;
    color: var(--danger);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .9rem;
    margin-bottom: 16px;
}

.auth-form { display: grid; gap: 14px; }
.auth-switch { text-align: center; color: var(--text-muted); margin: 18px 0 0; font-size: .9rem; }
.auth-switch a { color: var(--accent-strong); font-weight: 600; }

/* ── App bar ──────────────────────────────────────────────── */
.appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 8px;
}

.appbar__brand { font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.appbar__logo { font-size: 1.3rem; }
.appbar__user { color: var(--text-muted); font-size: .9rem; }

/* ── Screen / views ───────────────────────────────────────── */
.screen { padding: 8px 20px 20px; }
.view { animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.greet { font-size: 1.4rem; font-weight: 700; margin: 12px 0 0; letter-spacing: -.01em; }
.uni { color: var(--text-muted); margin: 2px 0 16px; }

.hero {
    background: linear-gradient(150deg, var(--accent-strong), var(--accent));
    color: #fff;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 18px 40px rgba(47, 158, 68, .35);
    margin-bottom: 16px;
}
.hero__label { font-size: .85rem; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.hero__amount { display: block; font-size: 2.9rem; font-weight: 800; letter-spacing: -.03em; margin: 2px 0; }
.hero__sub { font-size: .9rem; opacity: .9; }

.card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    margin-bottom: 14px;
}
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__row.small { font-size: .88rem; }

.section-title { font-size: 1.05rem; margin: 18px 0 10px; }

.small { font-size: .85rem; }
.muted { color: var(--text-muted); }
.big { font-size: 1.7rem; font-weight: 800; margin: 4px 0; }
.warn { color: var(--warn); font-weight: 600; }
.ok { color: var(--accent-strong); font-weight: 600; }
.error { color: var(--danger); font-size: .88rem; margin: 8px 0 0; }

/* ── Lists ────────────────────────────────────────────────── */
.list { display: grid; gap: 8px; }
.list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(16, 60, 30, .05);
    cursor: pointer;
}
.list__name { flex: 1; font-weight: 600; }
.list__value { font-weight: 700; font-variant-numeric: tabular-nums; }
.list__value.neg { color: var(--danger); }
.bucket-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* ── Progress ─────────────────────────────────────────────── */
.progress {
    height: 10px;
    background: var(--accent-soft);
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0;
}
.progress__fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }

/* ── Forms ────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.field em { font-style: normal; font-weight: 400; }
.field input, .field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--surface);
    color: var(--text);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,158,68,.15); }

.alloc { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--stroke); }
.alloc span { flex: 1; }
.alloc input { width: 110px; padding: 8px 10px; border: 1px solid var(--stroke); border-radius: 10px; text-align: right; }

.segmented { display: flex; background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.segmented button {
    flex: 1; border: none; background: transparent; padding: 10px; border-radius: 9px;
    font-weight: 600; color: var(--text-muted); cursor: pointer;
}
.segmented button.on { background: var(--accent); color: #fff; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-block;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    background: var(--accent-soft);
    color: var(--accent-strong);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--danger { background: #fdecec; color: var(--danger); }
.btn--ghost { background: transparent; border: 1px solid var(--stroke); color: var(--text); }
.btn--google { background: #fff; border: 1px solid var(--stroke); color: var(--text); margin-top: 12px; }
.btn--block { display: block; width: 100%; }
.btn--sm { padding: 7px 12px; font-size: .82rem; }

/* ── Empty state ──────────────────────────────────────────── */
.empty { text-align: center; padding: 28px 18px; }
.empty__icon { display: flex; justify-content: center; color: var(--accent-strong); margin-bottom: 10px; }
.empty__icon svg { width: 40px; height: 40px; }

/* ── Modals ───────────────────────────────────────────────── */
.overlay {
    position: fixed; inset: 0; background: rgba(10, 30, 16, .45);
    display: flex; align-items: flex-end; justify-content: center; z-index: 50;
}
.modal {
    width: 100%; max-width: 480px;
    background: var(--surface);
    border-radius: 22px 22px 0 0;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    display: grid; gap: 12px;
}
.modal h3 { margin: 0 0 4px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal__head h3 { margin: 0; }
.modal__close {
    border: none; background: var(--accent-soft); color: var(--text-muted);
    width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; line-height: 1;
    cursor: pointer; flex: none;
}
.modal__close:hover { color: var(--text); }

/* ── Bottom tab bar ───────────────────────────────────────── */
.tabbar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    height: calc(var(--tabbar-height) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--surface);
    border-top: 1px solid var(--stroke);
    display: flex; align-items: stretch;
    z-index: 40;
}
.tab {
    flex: 1; border: none; background: transparent; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: .72rem; font-weight: 600; color: var(--text-muted);
}
.tab span { font-size: 0.8rem; }
.tab.on { color: var(--accent-strong); }
.tab--add { flex: 1.2; }
.tab__plus {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 700;
    box-shadow: 0 10px 22px rgba(47, 158, 68, .4);
    margin-top: -18px;
}

.logout { margin-top: 22px; }

/* ── Affordability ────────────────────────────────────────── */
.afford-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: var(--text);
}
.afford-card__icon { font-size: 1.8rem; }
.afford-card__body { display: flex; flex-direction: column; flex: 1; }
.afford-card__title { font-weight: 700; font-size: 1rem; }
.afford-card__hint { color: var(--text-muted); font-size: .85rem; }
.afford-card__cta { color: var(--accent-strong); font-weight: 700; }

.afford-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    border: 1px solid var(--stroke);
    background: var(--surface);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
}
.chip:hover { border-color: var(--accent); background: var(--accent-soft); }

.verdict { border-radius: 14px; padding: 14px; margin-top: 4px; }
.verdict__message { margin: 0 0 6px; font-weight: 600; }
.verdict--informational { background: var(--accent-soft); color: var(--accent-strong); }
.verdict--fits_bucket { background: #e9f9ee; color: #237b35; }
.verdict--fits_total { background: #fff5e6; color: #a3630a; }
.verdict--over_budget { background: #fdecec; color: var(--danger); }

/* ═══════════ StudyFund design system ═══════════ */

#app { background: var(--bg); }

.appbar { padding: 18px 20px 4px; }
.appbar__logo { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 4px 14px rgba(11,61,46,.2); }
.appbar__user { display: flex; align-items: center; gap: 10px; }
.appbar__hello { color: var(--text-muted); font-size: .9rem; font-weight: 600; }
.avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(150deg, var(--accent), var(--accent-strong));
    color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

.greet { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.uni { margin-bottom: 18px; font-weight: 500; }

.hero {
    background: linear-gradient(160deg, #ffffff, #eef7f1);
    color: var(--text);
    border: 1px solid var(--stroke);
    border-radius: 24px;
    padding: 26px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}
.hero__label { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.hero__amount { display: block; font-size: 3.1rem; font-weight: 800; letter-spacing: -.04em; color: var(--accent-strong); margin: 8px 0 4px; line-height: 1; }
.hero__sub { font-size: .9rem; color: var(--text-muted); font-weight: 500; }

.afford-card {
    display: flex; align-items: center; gap: 14px; width: 100%;
    background: var(--surface); border: 1px solid var(--stroke); border-radius: 18px;
    padding: 16px; margin-bottom: 14px; cursor: pointer; text-align: left; font: inherit; color: var(--text);
    box-shadow: 0 6px 18px rgba(11,61,46,.06);
}
.afford-card__icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    background: var(--accent-soft); color: var(--accent-strong);
    display: flex; align-items: center; justify-content: center;
}
.afford-card__icon svg { width: 22px; height: 22px; }
.afford-card__body { display: flex; flex-direction: column; flex: 1; }
.afford-card__title { font-weight: 800; font-size: 1rem; }
.afford-card__hint { color: var(--text-muted); font-size: .85rem; }
.afford-card__chev { font-size: 1.7rem; color: var(--accent); font-weight: 700; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.tile {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--stroke); border-radius: 18px;
    padding: 16px; box-shadow: 0 6px 18px rgba(11,61,46,.06);
}
.tile__icon {
    width: 38px; height: 38px; border-radius: 11px; flex: none;
    background: var(--accent-soft); color: var(--accent-strong);
    display: flex; align-items: center; justify-content: center;
}
.tile__icon svg { width: 20px; height: 20px; }
.tile__body { display: flex; flex-direction: column; min-width: 0; }
.tile__label { font-size: .78rem; color: var(--text-muted); font-weight: 600; }
.tile__value { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.tile__hint { font-size: .78rem; color: var(--text-muted); }

.loan-card { display: flex; gap: 14px; align-items: flex-start; margin-top: 2px; }
.loan-card__icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    background: var(--accent-soft); color: var(--accent-strong);
    display: flex; align-items: center; justify-content: center;
}
.loan-card__icon svg { width: 22px; height: 22px; }
.loan-card__body { display: flex; flex-direction: column; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 12px; }
.section-title { margin: 0; font-size: 1.1rem; font-weight: 800; }
.section-link { border: none; background: none; color: var(--accent); font-weight: 700; cursor: pointer; font-size: .9rem; padding: 0; }
.page-title { font-size: 1.55rem; font-weight: 800; margin: 0; }

.list { gap: 10px; }
.bucket-row {
    display: flex; align-items: center; gap: 14px;
    background: var(--surface); border: 1px solid var(--stroke); border-radius: 16px;
    padding: 14px 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(11,61,46,.05);
}
.bucket-row__icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    background: var(--accent-soft); color: var(--accent-strong);
    display: flex; align-items: center; justify-content: center;
}
.bucket-row__icon svg { width: 22px; height: 22px; }
.bucket-row__meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bucket-row__name { font-weight: 700; }
.bucket-row__hint { font-size: .8rem; color: var(--text-muted); }
.bucket-row__amount { font-weight: 800; font-variant-numeric: tabular-nums; }
.bucket-row__amount.neg { color: var(--danger); }

.chips-row { display: flex; gap: 8px; margin: 16px 0 12px; }
.chip {
    border: 1px solid var(--stroke); background: var(--surface); border-radius: 999px;
    padding: 9px 18px; font-size: .9rem; font-weight: 700; cursor: pointer; color: var(--text-muted);
}
.chip.on { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }

.view__head { display: flex; align-items: center; justify-content: space-between; }
.btn--pill { border-radius: 999px; padding: 10px 18px; }

.segmented { border-radius: 14px; padding: 5px; margin-bottom: 16px; }
.segmented button { padding: 11px; border-radius: 10px; font-weight: 700; }
.segmented button.on { background: var(--accent-strong); }

.amount-input {
    display: flex; align-items: center; gap: 6px;
    border: 1px solid var(--stroke); border-radius: 16px; padding: 0 18px; background: var(--surface);
}
.amount-input__symbol { font-size: 1.7rem; font-weight: 800; color: var(--accent-strong); }
.amount-input input { border: none; padding: 16px 0; font-size: 1.7rem; font-weight: 800; width: 100%; background: transparent; color: var(--text); }
.amount-input input:focus { outline: none; }

.alloc-label { font-weight: 700; }
.alloc { padding: 12px 0; border-bottom: 1px solid var(--stroke); }
.alloc__name { font-weight: 600; }
.alloc input { text-align: right; font-weight: 700; width: 110px; color: #0f3d2e; }
.alloc--done input { color: var(--accent-strong); }
.alloc-total { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; font-weight: 700; color: var(--text-muted); padding-top: 4px; }
.alloc-total.is-complete { color: var(--accent-strong); }

.btn { border-radius: 14px; font-weight: 700; padding: 14px 18px; }
.btn--primary { background: var(--accent-strong); }
.btn--primary:hover { background: #092e24; }

.tabbar { border-top: 1px solid var(--stroke); box-shadow: 0 -8px 30px rgba(11,61,46,.06); }
.tab { color: #9ab0a5; font-size: .31rem; font-weight: 600; gap: 3px; }
.tab svg { width: 20px; height: 20px; }
.tab.on { color: var(--accent-strong); }
.tab__plus {
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; font-weight: 700;
    box-shadow: 0 12px 26px rgba(31,157,85,.45);
    margin-top: -20px;
}

.auth-title { font-weight: 800; color: var(--accent-strong); }
.auth-logo { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 16px; box-shadow: 0 10px 26px rgba(15, 61, 46, .22); }

.modal { border-radius: 26px 26px 0 0; padding: 24px 22px calc(24px + env(safe-area-inset-bottom,0px)); gap: 14px; }
.modal__head h3 { font-size: 1.25rem; font-weight: 800; }
.modal__close { background: var(--accent-soft); color: var(--text); }

/* Budget advisor */
.view__actions { display: flex; gap: 8px; }
.advisor__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.advisor__list { display: grid; gap: 8px; margin-top: 10px; }
.advisor__row { display: flex; align-items: center; gap: 10px; }
.advisor__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); display: flex; align-items: center; justify-content: center; flex: none; }
.advisor__icon svg { width: 18px; height: 18px; }
.advisor__name { flex: 1; font-weight: 600; }
.advisor__pct { color: var(--text-muted); font-size: .85rem; width: 42px; text-align: right; }
.advisor__amount { font-weight: 800; min-width: 72px; text-align: right; }
.advisor__tips { margin: 10px 0; padding-left: 18px; color: var(--text-muted); font-size: .85rem; }
.source-badge { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.source-badge--ai { background: var(--accent-soft); color: var(--accent-strong); }
.source-badge--deterministic { background: #eef1f5; color: var(--text-muted); }

/* ── Desktop ──────────────────────────────────────────────── */
@media (min-width: 560px) {
    #app { border-left: 1px solid var(--stroke); border-right: 1px solid var(--stroke); box-shadow: var(--shadow); }
    .overlay { align-items: center; }
    .modal { border-radius: 22px; }
}

/* ════ Refinements to match the StudyFund design ════ */
:root { --bg: #f9f6ed; }

.hero {
    background: linear-gradient(150deg, #0f3d2e, #1c5a42);
    color: #fff;
    border: none;
    box-shadow: 0 18px 40px rgba(15, 61, 46, .35);
}
.hero__label { color: rgba(255, 255, 255, .78); }
.hero__amount { color: #fff; }
.hero__sub { color: rgba(255, 255, 255, .78); }

.uni__chev { opacity: .55; margin-left: 2px; font-weight: 700; }

.bucket-row__top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.bucket-row__pct { font-size: .8rem; font-weight: 700; color: var(--text-muted); min-width: 36px; text-align: right; }
.bucket-row .progress { height: 6px; margin: 4px 0 2px; background: #eef2ef; }

.alloc { display: flex; align-items: center; gap: 10px; }
.alloc__name { flex: 1; }
.alloc__icon { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.alloc__icon svg { width: 16px; height: 16px; }
.alloc__pct { font-size: .82rem; font-weight: 700; color: #0f3d2e; width: 44px; text-align: right; }

/* ════ SIKA splash (onboarding) ════ */
.auth-body--splash { display: block; padding: 0; min-height: 100dvh; }
.splash {
    min-height: 100dvh;
    background: linear-gradient(160deg, #0f3d2e, #174d3b);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 22px calc(24px + env(safe-area-inset-bottom, 0px));
}
.splash__top { position: relative; display: flex; align-items: center; }
.splash__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.splash__brand img { width: 30px; height: 30px; border-radius: 8px; }
.splash__skip { margin-left: auto; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: .9rem; }
.splash__hero { position: relative; padding: 12vh 0 5vh; }
.splash__title { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 2.9rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
.splash__sub { color: rgba(255, 255, 255, .85); font-size: 1rem; margin: 18px 0 0; }
.splash__line { display: block; width: 44px; height: 4px; background: #d4a017; border-radius: 2px; margin-top: 18px; }
.splash__footer { display: flex; align-items: flex-end; justify-content: space-between; }
.splash__tag { font-weight: 700; color: rgba(255, 255, 255, .85); line-height: 1.25; }
.splash__cta {
    width: 56px; height: 56px; border-radius: 16px; background: #d4a017; color: #0f3d2e;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; text-decoration: none;
}
.splash__form { padding: 28px 20px 48px; }
.splash__form .auth-card { margin: 0 auto; }

/* Keep the whole app phone-width on larger screens */
html { background: #0f3d2e; }
body.auth-body--splash {
    max-width: 480px;
    margin: 0 auto;
    background: #f9f6ed;
    min-height: 100dvh;
}
@media (min-width: 560px) {
    body.auth-body--splash { box-shadow: 0 0 48px rgba(0, 0, 0, .35); }
}

/* Decorative shapes for the SIKA splash */
.splash--welcome { position: relative; overflow: hidden; }
.shape { position: absolute; pointer-events: none; }
.shape--diag { width: 110px; height: 88px; border-radius: 18px; background: linear-gradient(135deg, #a7e3c1 50%, #d4a017 50%); top: 82px; right: -16px; }
.shape--dark { width: 200px; height: 200px; border-radius: 50%; background: #0a2f24; left: -80px; top: 34%; }
.shape--terra { width: 160px; height: 160px; border-radius: 50%; background: #c15b3c; left: -46px; bottom: 17%; opacity: .95; }
.shape--photo { width: 124px; height: 166px; border-radius: 22px; background: linear-gradient(160deg, #2c5c46, #173f30); right: -16px; top: 40%; }

/* Splash as the provided image */
.splash-body { margin: 0; background: #0f3d2e; }
.splash-image { position: relative; min-height: 100dvh; max-width: 480px; margin: 0 auto; overflow: hidden; background: #0f3d2e; }
.splash-image__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.splash__skip { position: absolute; top: 20px; right: 22px; margin-left: 0; }
.splash__cta--overlay { position: absolute; bottom: 26px; right: 22px; }
.splash__credit--overlay { position: absolute; bottom: 8px; left: 0; right: 0; margin: 0; }

/* RegnoAI attribution */
.splash__credit { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .74rem; color: rgba(255, 255, 255, .55); margin: 14px 0 0; }
.splash__credit strong { color: rgba(255, 255, 255, .85); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--text-muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--stroke); }
.btn--google { background: #fff; border: 1px solid var(--stroke); color: var(--text); margin: 0; }
.btn--google:hover { border-color: var(--accent); }
.auth-credit { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--text-muted); margin: 16px 0 0; }
.auth-credit strong { color: var(--accent-strong); }
.app-credit { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--text-muted); margin-top: 20px; }
.app-credit strong { color: var(--accent-strong); }
.regnoai-logo { height: 14px; width: auto; display: inline-block; vertical-align: middle; }
