/* ============================================================================
   Manual-work cost calculator — quiz-funnel edition (mobile-first)
   Brand: Syntax (electric blue → mint) × Arsy Solutions
   ============================================================================ */

:root {
    --blue: #0066FF;
    --blue-2: #0078E3;
    --blue-deep: #0039C7;
    --sky: #00A6F7;
    --teal: #00B8D9;
    --mint: #00E5A0;
    --mint-2: #00CB9D;

    --ink: #06214D;
    --ink-70: rgba(6, 33, 77, .72);
    --ink-50: rgba(6, 33, 77, .5);
    --ink-10: rgba(6, 33, 77, .1);
    --ink-06: rgba(6, 33, 77, .06);
    --danger: #e0245e;

    --bg: #f3f7fd;
    --surface: #ffffff;
    --surface-2: #f6f9fe;

    --grad-brand: linear-gradient(35deg, #0066FF 0%, #0066FF 20%, #0090E8 48%, #00BFC0 76%, #00E5A0 100%);
    --grad-btn: linear-gradient(135deg, var(--blue), #0084F0);

    --radius: 1.4rem;
    --radius-sm: 1rem;
    --shadow: 0 30px 70px -30px rgba(0, 57, 199, .45), 0 2px 8px rgba(6, 33, 77, .06);

    --font-ka: "Noto Sans Georgian", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-num: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --app-w: 640px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font-ka);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* ---------- page background (desktop shows brand gradient) ---------- */
.bg { position: fixed; inset: 0; z-index: -1; background: var(--grad-brand); overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; }
.orb--1 { width: 44vw; height: 44vw; left: -14vw; bottom: -18vw; background: radial-gradient(circle, rgba(0, 57, 199, .8), transparent 65%); }
.orb--2 { width: 38vw; height: 38vw; right: -8vw; top: -14vw; background: radial-gradient(circle, rgba(0, 229, 160, .75), transparent 65%); }
.orb--3 { width: 30vw; height: 30vw; right: 26vw; top: 22vw; background: radial-gradient(circle, rgba(255, 255, 255, .4), transparent 65%); }

/* ---------- app shell ---------- */
.app {
    position: relative;
    width: min(100%, var(--app-w));
    margin: clamp(1rem, 3vw, 2.5rem) auto;
    background: var(--surface);
    border-radius: 1.8rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: min(760px, calc(100dvh - 5rem));
    display: flex;
    flex-direction: column;
    transition: max-width .5s var(--ease);
}
.app.is-wide { --app-w: 860px; }

/* ---------- top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 5;
    display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: .5rem;
    padding: .8rem 1rem .6rem;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
}
.topbar__back {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--ink-10); background: transparent; color: var(--ink);
    display: grid; place-items: center; cursor: pointer;
    transition: background .2s, border-color .2s;
}
.topbar__back:hover { background: rgba(0, 102, 255, .06); border-color: rgba(0, 102, 255, .4); }
.topbar__back.is-hidden { visibility: hidden; pointer-events: none; }

.brands { display: flex; align-items: center; justify-content: center; gap: .9rem; min-width: 0; }
/* equal visual weight: both marks ~110px wide */
.brands__syntax { width: 108px; height: 37px; flex: none; }
.brands__arsy { width: 120px; height: 20px; flex: none; }
.brands__x { width: 1px; height: 22px; background: var(--ink-10); }


.progress { height: 5px; background: var(--ink-06); }
.progress__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal), var(--mint)); border-radius: 0 999px 999px 0; }

/* ---------- screens ---------- */
.screens { position: relative; flex: 1; display: grid; }
.screen {
    grid-area: 1 / 1;
    padding: clamp(1.2rem, 4vw, 2.2rem) clamp(1.1rem, 4vw, 2.2rem) 2rem;
    display: flex; flex-direction: column;
}
.screen:not(.is-active) { pointer-events: none; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(0, 229, 160, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 229, 160, .7); } 70% { box-shadow: 0 0 0 10px rgba(0, 229, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0); } }

/* ============================================================================
   QUESTION SCREEN
   ============================================================================ */
.q { flex: 1; display: flex; flex-direction: column; gap: .8rem; }
.q__kicker { font-family: var(--font-num); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.q__title { font-size: clamp(1.35rem, 5.2vw, 1.75rem); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.q__hint { color: var(--ink-70); font-size: .92rem; }

.opts { display: grid; gap: .65rem; margin-top: .5rem; }
.opt {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--ink-10);
    background: var(--surface-2);
    text-align: left;
    cursor: pointer;
    /* transform is driven by GSAP — a CSS transition here would smear it */
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.opt:hover { border-color: rgba(0, 102, 255, .45); background: #fff; box-shadow: 0 10px 24px -16px rgba(0, 57, 199, .5); }
.opt__label { font-weight: 600; font-size: 1.02rem; }
.opt__sub { display: block; margin-top: .1rem; font-size: .78rem; font-weight: 400; color: var(--ink-50); }
.opt__radio {
    width: 24px; height: 24px; border-radius: 50%; flex: none;
    border: 2px solid var(--ink-10);
    display: grid; place-items: center;
    transition: border-color .2s, background .2s;
}
.opt__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .3s var(--ease); }
.opt.is-selected { border-color: var(--blue); background: rgba(0, 102, 255, .06); box-shadow: 0 0 0 4px rgba(0, 102, 255, .12); }
.opt.is-selected .opt__radio { border-color: var(--blue); background: var(--blue); }
.opt.is-selected .opt__radio::after { transform: scale(1); }
.opt.is-selected .opt__label { color: var(--blue); }

.exact { margin-top: .35rem; }
.exact__toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .2rem; border: 0; background: none;
    font-size: .88rem; font-weight: 600; color: var(--blue); cursor: pointer;
    text-decoration: underline; text-decoration-color: rgba(0, 102, 255, .35); text-underline-offset: 3px;
}
.exact__panel { margin-top: .5rem; display: grid; gap: .8rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1.5px solid var(--ink-10); }
.exact__row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.exact__input {
    display: inline-flex; align-items: baseline; gap: .5rem;
    padding: .4rem .9rem; border-radius: .85rem; background: #fff;
    border: 1.5px solid var(--ink-10);
    transition: border-color .2s, box-shadow .2s;
}
.exact__input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, .14); }
.exact__input input {
    width: 8ch; min-width: 4ch; border: 0; background: transparent; outline: 0;
    font-family: var(--font-num); font-weight: 600; font-size: 1.6rem; line-height: 1.1;
    -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.exact__input input::-webkit-outer-spin-button, .exact__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.exact__unit { font-size: .85rem; color: var(--ink-70); white-space: nowrap; }
.exact.is-invalid .exact__input { border-color: var(--danger); }

.range { --pct: 30%; -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) 0, var(--mint) var(--pct), var(--ink-06) var(--pct)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--ink-06); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--mint)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 14px rgba(0, 102, 255, .4); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 14px rgba(0, 102, 255, .4); }
.range__scale { display: flex; justify-content: space-between; font-family: var(--font-num); font-size: .74rem; color: var(--ink-50); margin-top: -.5rem; }

.q__foot { margin-top: auto; padding-top: 1rem; display: grid; gap: .5rem; }
.q__tip { font-size: .76rem; color: var(--ink-50); text-align: center; }

/* ---------- colour key ----------
   A stacked bar is unreadable without one. These three colours carry through
   the chart bar and every swatch, so a segment can always be traced to a
   named cost. */
.seg--labour { background: #0052E0; }
.seg--errors { background: #00B4D8; }
.seg--late   { background: #00E0A0; }

/* ============================================================================
   INSIGHT SCREEN
   ============================================================================ */
.insight { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1rem; text-align: center; }
.insight__icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: 0 16px 30px -14px rgba(0, 102, 255, .7); }
.insight__kicker { font-family: var(--font-num); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.insight__big { font-family: var(--font-num); font-weight: 700; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.insight__big small { font-size: .45em; font-weight: 500; letter-spacing: 0; }
.insight__text { font-size: 1.02rem; color: var(--ink-70); max-width: 40ch; margin: 0 auto; }
.insight__text strong { color: var(--ink); }
.insight__foot { margin-top: 1.4rem; display: grid; gap: .6rem; }

/* ---------- interstitial infographic: what the running figure is made of ----------
   Bar gives the split at a glance, the share confirms it, the amount gives the
   absolute. The total stays quieter than the screen's own headline figure so
   the two numbers do not compete. */
.chart {
    margin: 1.3rem auto 0;
    width: min(100%, 420px);
    padding: 1rem 1.1rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1.5px solid var(--ink-10);
    text-align: left;
}
.chart__head { margin-bottom: .6rem; }
.chart__title { font-family: var(--font-num); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); }

.chart__bar { display: flex; height: 14px; border-radius: 999px; background: var(--ink-06); overflow: hidden; }
.chart__seg { width: 0; height: 100%; box-shadow: inset -2px 0 0 var(--surface-2); }
.chart__seg:last-child { box-shadow: none; }

.chart__rows { margin-top: .85rem; display: grid; gap: .5rem; }
.chart__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: .5rem .9rem;
    font-size: .85rem;
}
.chart__name { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--ink-70); min-width: 0; }
.chart__name i { width: 9px; height: 9px; border-radius: 2px; flex: none; transform: translateY(1px); }
.chart__share { font-family: var(--font-num); font-weight: 600; font-size: .92rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ============================================================================
   CALCULATING
   ============================================================================ */
.calcing { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; text-align: center; }
.calcing__ring { position: relative; width: 132px; height: 132px; }
.calcing__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.calcing__track { fill: none; stroke: var(--ink-06); stroke-width: 9; }
.calcing__bar { fill: none; stroke: url(#syntax-grad); stroke: var(--blue); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.calcing__pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calcing__title { font-size: 1.3rem; font-weight: 700; }
.calcing__list { display: grid; gap: .55rem; width: min(100%, 320px); text-align: left; }
.calcing__list li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--ink-50); transition: color .3s; }
.calcing__list li.is-done { color: var(--ink); }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-10); flex: none; display: grid; place-items: center; transition: all .3s var(--ease); }
.tick::after { content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .3s var(--ease); }
li.is-done .tick { background: var(--mint-2); border-color: var(--mint-2); }
li.is-done .tick::after { transform: rotate(45deg) scale(1); }

/* ============================================================================
   RESULT
   ============================================================================ */
.result {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    padding: clamp(1.6rem, 5vw, 2.4rem) clamp(1.2rem, 4vw, 2rem);
    color: #fff; text-align: center;
    background:
        radial-gradient(circle at 12% 88%, rgba(0, 51, 184, .55), transparent 40%),
        radial-gradient(circle at 88% 10%, rgba(0, 229, 160, .5), transparent 40%),
        var(--grad-brand);
    box-shadow: 0 30px 60px -30px rgba(0, 57, 199, .7);
}
.result__label { font-family: var(--font-num); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.result__value { margin: .5rem 0 .15rem; font-family: var(--font-num); font-weight: 700; font-size: clamp(2.5rem, 12vw, 4.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 10px 40px rgba(0, 20, 80, .3); }
.result__sub { color: rgba(255, 255, 255, .85); font-size: .9rem; }

.bars { margin: 1.6rem auto 0; max-width: 560px; display: grid; gap: .85rem; text-align: left; }
.bar__head { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; margin-bottom: .35rem; }
.bar__value { font-family: var(--font-num); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__track { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 999px; }
.bar--labour .bar__fill { background: linear-gradient(90deg, #ffffff, #d6ecff); }
.bar--errors .bar__fill { background: linear-gradient(90deg, #00E5A0, #7ff5d3); }
.bar--late .bar__fill { background: linear-gradient(90deg, #00A6F7, #69d3ff); }

.teasers { margin: 1.4rem auto 0; max-width: 640px; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.teaser { display: grid; gap: .1rem; padding: .8rem .7rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); text-align: left; }
.teaser__label { font-size: .7rem; color: rgba(255, 255, 255, .85); }
.teaser__value { font-family: var(--font-num); font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; transition: filter .6s var(--ease); }
.teaser__value--blur { filter: blur(6px); user-select: none; }
.teaser__note { font-size: .66rem; color: rgba(255, 255, 255, .7); }

.result__cta { margin-top: 1.2rem; display: grid; gap: .5rem; }
.result__cta-note { font-size: .8rem; color: var(--ink-50); text-align: center; }
.result__tools { margin-top: .9rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }

.advanced { margin-top: 1rem; padding: 1.1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1.5px solid var(--ink-10); }
.advanced__hint { font-size: .85rem; color: var(--ink-70); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem 1.1rem; margin-top: 1rem; }
.field { display: grid; gap: .25rem; align-content: start; }
.field__label { font-size: .84rem; font-weight: 600; }
.field__hint { font-size: .74rem; color: var(--ink-50); }
.field__control { display: flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: .85rem; background: #fff; border: 1.5px solid var(--ink-10); transition: border-color .2s, box-shadow .2s; }
.field__control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, .14); }
.field__control input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-family: var(--font-num); font-weight: 500; font-size: 1.05rem; padding: .3rem 0; }
.field__unit { color: var(--ink-50); font-size: .85rem; }
.field.is-invalid .field__control { border-color: var(--danger); }
.advanced__actions { margin-top: 1rem; display: flex; justify-content: flex-end; }

/* ============================================================================
   LEAD
   ============================================================================ */
.lead { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.lead__badge { display: inline-block; width: fit-content; padding: .28rem .7rem; border-radius: 999px; background: rgba(0, 229, 160, .18); color: #007a58; font-family: var(--font-num); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lead__title { font-size: clamp(1.35rem, 5vw, 1.7rem); font-weight: 700; letter-spacing: -.015em; }
.lead__hint { color: var(--ink-70); font-size: .9rem; }
.lead__peek { margin-top: .4rem; display: flex; align-items: baseline; gap: .5rem; padding: .7rem 1rem; border-radius: var(--radius-sm); background: rgba(0, 102, 255, .06); border: 1.5px solid rgba(0, 102, 255, .15); font-size: .8rem; color: var(--ink-70); }
.lead__peek strong { font-family: var(--font-num); font-weight: 700; font-size: 1.3rem; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }

.lead-form { margin-top: .8rem; }
.lead-form__fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1rem; }
.lead-form__fieldset:disabled { opacity: .6; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lf-field { display: grid; gap: .28rem; }
.lf-field--full { grid-column: 1 / -1; }
.lf-field__label { font-size: .82rem; font-weight: 600; }
.lf-field__input { width: 100%; padding: .9rem 1rem; border-radius: .85rem; border: 1.5px solid var(--ink-10); background: var(--surface-2); outline: 0; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.lf-field__input::placeholder { color: rgba(6, 33, 77, .35); }
.lf-field__input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, .14); }
.lf-field__error { display: none; font-size: .76rem; color: var(--danger); }
.lf-field.is-invalid .lf-field__input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(224, 36, 94, .1); }
.lf-field.is-invalid .lf-field__error { display: block; }
.lf-field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.lead-form__status { padding: .8rem 1rem; border-radius: .85rem; font-size: .9rem; margin-bottom: .9rem; }
.lead-form__status.is-error { background: rgba(224, 36, 94, .1); color: #c0164c; }
.lead-form__status.is-success { background: rgba(0, 203, 157, .14); color: #007a58; }
.lead__consent { margin-top: .9rem; font-size: .74rem; color: var(--ink-50); }

/* ============================================================================
   DETAIL
   ============================================================================ */
.done { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(0, 203, 157, .1); border: 1.5px solid rgba(0, 203, 157, .3); }
.done__check { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--mint-2), var(--mint)); box-shadow: 0 12px 24px -10px rgba(0, 203, 157, .7); }
.check-path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.done__title { font-size: 1.05rem; font-weight: 700; }
.done__text { font-size: .84rem; color: var(--ink-70); }

.detail { margin-top: 1.2rem; }
.detail__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); color: #fff; background: var(--grad-brand); }
.detail__total span { font-size: .85rem; }
.detail__total strong { font-family: var(--font-num); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.subhead { margin: 1.3rem 0 .3rem; font-family: var(--font-num); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.rows { display: grid; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--ink-06); font-size: .92rem; }
.row:last-child { border-bottom: 0; }
.row__value { font-family: var(--font-num); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row--strong { font-weight: 700; }
.row--strong .row__value { font-size: 1.05rem; font-weight: 700; }
.row--accent .row__value { color: var(--blue); }
.detail__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }

.cta { margin-top: 1.4rem; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); color: #fff; text-align: center; background: radial-gradient(circle at 90% 15%, rgba(0, 229, 160, .45), transparent 38%), linear-gradient(160deg, #0057E8, var(--blue-2) 60%, #0090E8); }
.cta__title { font-size: 1.25rem; font-weight: 700; }
.cta__text { margin: .6rem auto 1rem; max-width: 56ch; font-size: .9rem; font-weight: 300; color: rgba(255, 255, 255, .9); }

.assumptions { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: rgba(0, 102, 255, .05); font-size: .85rem; color: var(--ink-70); }
.assumptions summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.assumptions ul { margin: .7rem 0 0; padding-left: 1.1rem; list-style: disc; display: grid; gap: .45rem; }

.foot { padding: .9rem 1rem 1.1rem; text-align: center; font-size: .74rem; color: var(--ink-50); }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    /* transform is GSAP's; CSS only handles colour and depth */
    transition: box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
    -webkit-tap-highlight-color: transparent;
}
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none !important; }
.btn:focus-visible { outline: 3px solid rgba(0, 102, 255, .35); outline-offset: 3px; }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 102, 255, .8); }
.btn--primary:hover:not(:disabled) { box-shadow: 0 20px 36px -12px rgba(0, 102, 255, .95); }
.btn--white { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -12px rgba(0, 20, 80, .55); }
.btn--white:hover:not(:disabled) { box-shadow: 0 20px 38px -12px rgba(0, 20, 80, .65); color: var(--blue-deep); }
.btn--ghost { background: transparent; border-color: var(--ink-10); color: var(--ink); }
.btn--ghost:hover:not(:disabled) { border-color: rgba(0, 102, 255, .5); background: rgba(0, 102, 255, .06); color: var(--blue); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1rem; font-size: .86rem; }
.btn--block { width: 100%; }

/* ============================================================================
   ANIMATION PREP
   ============================================================================ */
/* The page is never hidden waiting on JS. If the animation is delayed or
   blocked, the visitor still sees a working page rather than a blank card. */
.app.is-morphing { will-change: height; }

/* ============================================================================
   RESPONSIVE — phone: full-bleed app, no page gradient
   ============================================================================ */
@media (max-width: 720px) {
    body { background: #fff; }
    .bg { display: none; }
    .app { width: 100%; margin: 0; border-radius: 0; box-shadow: none; min-height: 100dvh; }
    .app.is-wide { --app-w: 100%; }
    .topbar { padding-top: max(.7rem, env(safe-area-inset-top)); }
    .brands__syntax { width: 88px; height: 30px; }
    .brands__arsy { width: 100px; height: 17px; }
    .brands { gap: .6rem; }
    .teasers { grid-template-columns: 1fr 1fr; }
    .teaser:last-child { grid-column: 1 / -1; }
    .lead-form__grid { grid-template-columns: 1fr; }
    .screen { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
    .brands__syntax { width: 76px; height: 26px; }
    .brands__arsy { width: 86px; height: 14px; }
}

/* ============================================================================
   PRINT — only the breakdown
   ============================================================================ */
@media print {
    body { background: #fff; }
    .bg, .topbar, .progress, .foot, .cta, .done, .detail__actions, .assumptions { display: none !important; }
    .app { box-shadow: none; border-radius: 0; margin: 0; width: 100%; min-height: 0; }
    .screen { display: none !important; }
    .screen--detail { display: block !important; opacity: 1 !important; transform: none !important; }
    .detail__total { color: #000; background: none; border: 1px solid #ccc; }
}

@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
