/* Commercial pages: services catalog, configurator, start-up, account and legal pages.
 * Loaded after style.css and reuses its tokens. A calmer, working layout than the landing page:
 * a sticky top bar, readable columns, gold for prices and the one primary action. */

[hidden] { display: none !important; }
body.app { background: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
body.app main { flex: 1; position: relative; z-index: 2; }
.app .ribbons { opacity: .45; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--inset); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.todo-inline { color: var(--gold-light); }
.foot button { font-size: inherit; color: inherit; }

/* ---------- Draft notice ---------- */
.draft { position: relative; z-index: 3; padding: .55rem var(--inset); background: rgba(233, 176, 74, .12); border-bottom: 1px solid rgba(233, 176, 74, .3); color: var(--gold-light); font-size: .8125rem; text-align: center; }

/* ---------- Top bar ---------- */
.bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 2rem; padding: .85rem var(--inset); background: rgba(12, 12, 12, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.bar__brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.bar__brand img { width: 32px; height: 32px; }
.bar__nav { margin-left: auto; }
.bar__nav ul { display: flex; gap: 1.9rem; }
.bar__nav a { position: relative; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-light); transition: color .3s; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.bar__nav a:hover, .bar__nav a[aria-current="page"] { color: var(--white); }
.bar__nav a:hover::after, .bar__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.bar__menu { display: none; margin-left: auto; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; padding: .5rem 0; }

/* ---------- Buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .8rem 1.55rem; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; text-align: center; transition: background .3s, color .3s, border-color .3s, filter .3s, transform .3s var(--ease-out); }
.btn--gold { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: #1a1206; box-shadow: 0 10px 30px -14px rgba(233, 176, 74, .6); }
.btn--gold:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost { border-color: var(--rule); color: var(--white); }
.btn--ghost:hover { border-color: rgba(244, 244, 242, .55); }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; filter: none; }
.link { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(233, 176, 74, .45); text-underline-offset: .2em; }
.link:hover { text-decoration-color: currentColor; }

.field { display: grid; gap: .45rem; }
.field > span { font-size: .875rem; color: var(--grey-light); }
.field small { color: var(--grey); }
.field input, .field textarea, .field select, .search input {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--rule); border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: var(--white); font: inherit; font-size: 1rem; transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field textarea:focus, .search input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .06); }
.field input:user-invalid { border-color: #d9665b; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .875rem; color: var(--grey-light); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--gold); }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(4rem, 9vw, 8rem) clamp(2.5rem, 5vw, 4rem); }
.kicker { display: inline-flex; align-items: center; gap: .8rem; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.page-head h1 { margin-top: 1.4rem; max-width: 18ch; font-size: var(--t-display); font-weight: 400; letter-spacing: -0.045em; line-height: .98; overflow-wrap: break-word; }
.page-head h1 em { font-style: normal; color: var(--gold); }
.page-head__lead { max-width: 42rem; margin-top: 1.8rem; font-size: var(--t-lead); line-height: 1.45; color: var(--grey-light); }
.page-head__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 2.4rem; }
.page-head__meta { margin-top: 2rem; color: var(--grey); font-size: .9375rem; }

/* ---------- Services catalog ---------- */
.filters { position: sticky; top: 65px; z-index: 20; border-block: 1px solid var(--rule); background: rgba(12, 12, 12, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.filters .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; padding-block: .9rem; }
.search { position: relative; flex: 1 1 16rem; max-width: 24rem; }
.search input { padding-left: 2.8rem; border-radius: 999px; }
.search svg { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; color: var(--grey); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .45rem 1rem; border: 1px solid var(--rule); border-radius: 999px; font-size: .875rem; color: var(--grey-light); transition: border-color .25s, color .25s, background .25s; }
.chip:hover { color: var(--white); border-color: rgba(244, 244, 242, .4); }
.chip[aria-pressed="true"] { color: var(--white); border-color: var(--gold); background: rgba(233, 176, 74, .1); }
.chip small { color: var(--grey); font-variant-numeric: tabular-nums; }

.cat { padding-top: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: 140px; }
.cat[hidden] { display: none; }
.cat__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: .6rem 2rem; padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
.cat__num { grid-row: span 2; font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 300; letter-spacing: -0.05em; line-height: .78; color: var(--gold); font-variant-numeric: tabular-nums; }
.cat__head h2 { font-size: var(--t-heading); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.cat__head p { grid-column: 2; color: var(--grey-light); }
.cat__count { grid-row: 1 / span 2; grid-column: 3; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 15.5rem; padding: 1.5rem 1.5rem 1.3rem;
  border: 1px solid var(--rule); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  transition: border-color .3s, background .3s, transform .45s var(--ease-out);
}
.svc:hover, .svc:focus-within { border-color: rgba(233, 176, 74, .6); background: linear-gradient(180deg, rgba(233, 176, 74, .07), rgba(255, 255, 255, .012)); transform: translateY(-3px); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 26px; }
.svc .ico { color: var(--gold); }
.svc__price s { color: var(--grey); font-weight: 400; }
.cat__num { display: inline-flex; align-items: flex-start; gap: .8rem; }
.cat__num .ico { margin-top: .2rem; }
.svc__tag { margin-left: auto; padding: .25rem .65rem; border: 1px solid rgba(233, 176, 74, .45); border-radius: 999px; font-size: .75rem; color: var(--gold-light); }
.svc h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.svc p { color: var(--grey-light); font-size: .9375rem; line-height: 1.5; }
.svc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.svc__price { color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; }
.svc__go { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--white); }
.svc__go::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc__go::after { content: ""; width: 14px; height: 10px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s var(--ease-out); }
.svc:hover .svc__go::after { transform: translateX(4px); }
.svc__go:focus-visible { outline: none; }
.svc__go:focus-visible::before { outline: 2px solid var(--gold); outline-offset: 3px; }
.svc--product { border-color: rgba(233, 176, 74, .4); }
.empty { padding: 4rem 0 2rem; color: var(--grey-light); font-size: var(--t-lead); }

/* Process, notes and closing band */
.section { padding-top: clamp(5rem, 10vw, 8rem); }
.section__title { font-size: var(--t-heading); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 2.4rem; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); counter-reset: s; }
.steps4 li { padding: 1.6rem 1.6rem 2rem 0; }
.steps4 li + li { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.steps4 b { display: block; margin-bottom: 1.2rem; font-size: 2.6rem; font-weight: 300; letter-spacing: -0.05em; line-height: .9; color: var(--gold); }
.steps4 h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: .5rem; }
.steps4 p { color: var(--grey-light); font-size: .9375rem; }
.notes { display: grid; gap: .6rem; max-width: 62rem; margin-top: 3rem; color: var(--grey); font-size: .875rem; line-height: 1.6; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-top: clamp(5rem, 10vw, 8rem); padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.band h2 { font-size: var(--t-display); font-weight: 400; letter-spacing: -0.045em; line-height: .98; max-width: 16ch; }
.band h2 em { font-style: normal; color: var(--gold); }
.band p { margin-top: 1.2rem; color: var(--grey-light); max-width: 34rem; }
.band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Configurator ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; padding-block: 1rem 7rem; }
.cfg__head h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.cfg__head p { margin-top: 1rem; color: var(--grey-light); max-width: 40rem; }
.cfg__back { display: inline-block; margin-bottom: 1.6rem; color: var(--grey-light); font-size: .9375rem; }
.cfg__back:hover { color: var(--white); }
.progress { margin-top: 2.6rem; }
.progress__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-light); }
.progress__meta b { color: var(--white); font-weight: 400; }
.progress__track { position: relative; height: 2px; margin-top: .9rem; background: var(--rule); overflow: hidden; }
.progress__track i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease-out); }
.progress__steps { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; font-size: .8125rem; color: var(--grey); }
.progress__steps li.is-done { color: var(--grey-light); }
.progress__steps li.is-current { color: var(--gold-light); }

.step { margin-top: 2.2rem; }
.step:focus { outline: none; }
.step__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.q { margin: 0; padding: 1.8rem 0 0; border: 0; min-width: 0; }
.q + .q { margin-top: 1.4rem; border-top: 1px solid var(--rule); }
.q legend { float: left; width: 100%; }
.q legend ~ * { clear: both; }
.step__title + .q { padding-top: 1.2rem; }
.q legend, .q__label { padding: 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.q__hint, .q__note { margin-top: .45rem; font-size: .875rem; color: var(--grey); }
.q__note { color: var(--gold-light); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: .6rem; margin-top: 1.1rem; }
.opt { position: relative; display: flex; align-items: center; gap: .9rem; min-height: 56px; padding: .9rem 1.05rem; border: 1px solid var(--rule); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__mark { flex: none; width: 18px; height: 18px; border: 1px solid rgba(244, 244, 242, .45); border-radius: 50%; display: grid; place-items: center; transition: border-color .25s, background .25s; }
.opt--multi .opt__mark { border-radius: 5px; }
.opt__mark::after { content: ""; width: 8px; height: 8px; border-radius: inherit; background: #1a1206; transform: scale(0); transition: transform .25s var(--ease-out); }
.opt__text { flex: 1; line-height: 1.35; }
.opt__price { flex: none; font-size: .8125rem; color: var(--grey-light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt:hover { border-color: rgba(244, 244, 242, .4); }
.opt:has(input:checked) { border-color: var(--gold); background: rgba(233, 176, 74, .09); }
.opt:has(input:checked) .opt__mark { border-color: var(--gold); background: var(--gold); }
.opt:has(input:checked) .opt__mark::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.q .field { margin-top: 1.1rem; max-width: 40rem; }
.q__error { margin-top: .7rem; color: #e48a80; font-size: .875rem; }

.cfg__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }

/* Summary beside the questions */
.sum { position: sticky; top: 96px; padding: 1.7rem; border: 1px solid var(--rule); border-radius: 22px; background: linear-gradient(180deg, rgba(28, 28, 28, .85), rgba(16, 16, 16, .85)); }
.sum__label { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.sum__service { margin-top: .5rem; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.sum__range { margin-top: 1.4rem; font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.05; color: var(--gold); font-variant-numeric: tabular-nums; }
.sum__rows { display: grid; gap: .7rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: .9375rem; }
.sum__rows div { display: flex; justify-content: space-between; gap: 1rem; }
.sum__rows dt { color: var(--grey-light); }
.sum__rows dd { text-align: right; font-variant-numeric: tabular-nums; }
.sum__note { margin-top: 1.2rem; font-size: .8125rem; color: var(--grey); line-height: 1.5; }
.summini { display: none; }

/* Service picker (configurator with no service chosen) */
.picker { margin-top: 2.4rem; display: grid; gap: 2.4rem; }
.picker h2 { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.picker ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .5rem; }
.picker a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.05rem; border: 1px solid var(--rule); border-radius: 12px; transition: border-color .25s, background .25s; }
.picker a:hover { border-color: var(--gold); background: rgba(233, 176, 74, .06); }
.picker a span:last-child { color: var(--grey-light); font-size: .8125rem; white-space: nowrap; }

/* ---------- The offer ---------- */
.offer { padding-block: 1rem 7rem; }
.offer__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.offer__head h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.offer__head p { margin-top: .8rem; color: var(--grey-light); }
.offer__tools { display: flex; flex-wrap: wrap; gap: .6rem; }
.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; }
.totals > div { padding: 1.5rem 1.6rem 1.7rem; }
.totals > div + div { border-left: 1px solid var(--rule); }
.totals dt { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.totals dd { margin-top: .8rem; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.totals .is-main { background: rgba(233, 176, 74, .08); }
.totals .is-main dd { color: var(--gold); }
.totals small { display: block; margin-top: .4rem; font-size: .8125rem; letter-spacing: 0; color: var(--grey); }

.offer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; margin-top: 3rem; }
.offer__grid h2, .h { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
.ticks li { position: relative; padding: .6rem 0 .6rem 1.6rem; border-top: 1px solid var(--rule); line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 5px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.ticks small { display: block; color: var(--grey); font-size: .8125rem; }
.toggles li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--rule); }
.toggles span small { display: block; color: var(--grey); font-size: .8125rem; }
.toggle-btn { flex: none; min-height: 36px; padding: .35rem .9rem; border: 1px solid var(--rule); border-radius: 999px; font-size: .8125rem; color: var(--grey-light); transition: border-color .25s, color .25s; }
.toggle-btn:hover { border-color: var(--gold); color: var(--white); }
.muted { color: var(--grey); font-size: .9375rem; }

.ask { margin-top: 4rem; padding: clamp(2rem, 4vw, 3rem); border: 1px solid rgba(233, 176, 74, .4); border-radius: 26px; background: radial-gradient(120% 140% at 0% 0%, rgba(233, 176, 74, .1), transparent 60%); }
.ask h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.ask__choices { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.ask__choices .btn[aria-pressed="true"] { border-color: var(--gold); background: rgba(233, 176, 74, .14); }
.branch { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--rule); }
.branch h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.flowsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-bottom: 2.4rem; counter-reset: f; }
.flowsteps li { counter-increment: f; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: 14px; font-size: .9375rem; line-height: 1.35; }
.flowsteps li::before { content: "0" counter(f); display: block; margin-bottom: .5rem; font-size: .8125rem; color: var(--grey); }
.flowsteps li.is-now { border-color: var(--gold); }
.flowsteps li.is-now::before { color: var(--gold); }
.flowsteps small { display: block; margin-top: .3rem; color: var(--grey); font-size: .8125rem; }
.budget-row { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 1.4rem 2rem; align-items: end; margin-bottom: 2rem; }
.budget-hint { padding: 1rem 1.2rem; border-left: 2px solid var(--gold); background: rgba(233, 176, 74, .06); color: var(--grey-light); font-size: .9375rem; line-height: 1.5; }

.lead { display: grid; gap: 1.1rem; max-width: 46rem; }
.lead__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.lead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .4rem; }
.lead__status { color: var(--gold-light); font-size: .9375rem; }
.lead.is-sent .lead__grid, .lead.is-sent > .field, .lead.is-sent > .check { opacity: .5; }

/* ---------- Start-up page ---------- */
.plan-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.stage-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border: 1px solid var(--rule); border-radius: 20px; }
.stage-card.is-now { border-color: var(--gold); background: rgba(233, 176, 74, .07); }
.stage-card h3 { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-light); font-weight: 400; }
.stage-card.is-now h3 { color: var(--gold); }
.stage-card ul { display: grid; gap: .1rem; }
.stage-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--rule); }
.stage-card li a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .2em; }
.stage-card li a:hover { text-decoration-color: var(--gold); }
.stage-card li span { color: var(--grey-light); font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stage-card__total { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 1.4rem; font-weight: 300; letter-spacing: -0.03em; color: var(--gold); }
.stage-card__total small { display: block; font-size: .8125rem; letter-spacing: 0; color: var(--grey); }

/* ---------- Account ---------- */
.soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .8rem; }
.soon-grid li { padding: 1.2rem 1.3rem; border: 1px dashed var(--rule); border-radius: 16px; color: var(--grey-light); }
.soon-grid b { display: block; margin-bottom: .3rem; color: var(--white); font-weight: 500; }
.saved { display: grid; gap: .6rem; }
.saved li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; padding: 1.1rem 1.3rem; border: 1px solid var(--rule); border-radius: 16px; }
.saved small { display: block; color: var(--grey); font-size: .8125rem; }
.saved__actions { display: flex; gap: .6rem; }
.login { display: grid; gap: 1rem; max-width: 26rem; }
.login fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }

/* ---------- Admin ---------- */
.filters-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.leads { display: grid; gap: .8rem; margin-top: 1.6rem; }
.leadrow { display: grid; gap: 1rem; padding: 1.3rem 1.4rem; border: 1px solid var(--rule); border-radius: 16px; }
.leadrow__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.leadrow__meta { font-size: .8125rem; color: var(--grey); }
.leadrow h3 { margin-top: .3rem; font-size: 1.2rem; font-weight: 500; }
.leadrow h3 span { color: var(--grey-light); font-weight: 400; }
.leadrow__contact { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .3rem; font-size: .9375rem; }
.leadrow select { padding: .55rem .8rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--ink-2); color: var(--white); font: inherit; }
.leadrow summary { cursor: pointer; color: var(--grey-light); }
.leadrow pre { margin: .8rem 0 0; white-space: pre-wrap; font-family: var(--font); font-size: .875rem; line-height: 1.55; color: var(--grey-light); }
.leadrow__actions { display: flex; gap: .6rem; }
.toggles b { font-weight: 500; font-variant-numeric: tabular-nums; }
.daybars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 1rem; border-bottom: 1px solid var(--rule); }
.daybars span { flex: 1; min-width: 3px; height: calc(var(--h) * 100%); min-height: 2px; background: var(--gold); border-radius: 2px 2px 0 0; opacity: .85; }

/* ---------- Legal text ---------- */
.prose { max-width: 46rem; padding-bottom: 7rem; line-height: 1.7; color: #d8d8d4; }
.prose h2 { margin: 3rem 0 1rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--white); }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.prose .todo { padding: .1rem .4rem; border-radius: 4px; background: rgba(233, 176, 74, .15); color: var(--gold-light); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .9375rem; }
.prose th, .prose td { padding: .7rem .6rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--grey-light); }

/* ---------- Footer ---------- */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--rule); padding-block: 3rem 2.4rem; color: var(--grey-light); font-size: .9375rem; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot__brand { display: grid; gap: .6rem; }
.foot__brand b { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.045em; color: var(--white); }
.foot__brand span { color: var(--gold); font-size: .875rem; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.foot a:hover, .foot button:hover { color: var(--white); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--grey); }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; z-index: 120; left: var(--inset); right: var(--inset); bottom: var(--inset); max-width: 36rem; padding: 1.5rem; border: 1px solid var(--rule); border-radius: 20px; background: rgba(18, 18, 18, .96); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); color: var(--white); font-family: var(--font); }
.consent h2 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.consent p { margin-top: .6rem; color: var(--grey-light); font-size: .875rem; line-height: 1.55; }
.consent__opts { display: grid; gap: .7rem; margin-top: 1rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

/* ---------- Small screens ---------- */
@media (max-width: 899px) {
  .bar { gap: 1rem; }
  .bar__menu { display: inline-block; }
  .bar > .btn { display: none; }
  .bar__nav { position: fixed; inset: 0; z-index: -1; margin: 0; padding: 6rem var(--inset) 2rem; background: var(--ink); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease-in-out), visibility 0s .6s; }
  .bar-open .bar__nav { clip-path: inset(0); visibility: visible; transition: clip-path .6s var(--ease-in-out); }
  .bar__nav ul { flex-direction: column; gap: .4rem; }
  .bar__nav a { font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.04em; text-transform: none; color: var(--white); }
  .filters { top: 61px; }
  .cat__head { grid-template-columns: auto minmax(0, 1fr); }
  .cat__count { display: none; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps4 li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .band { grid-template-columns: 1fr; }
  .cfg { grid-template-columns: 1fr; padding-bottom: 9rem; }
  .sum { position: static; }
  .summini { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem var(--inset) calc(.85rem + env(safe-area-inset-bottom)); background: rgba(14, 14, 14, .95); border-top: 1px solid var(--rule); backdrop-filter: blur(12px); }
  .summini span { font-size: .8125rem; color: var(--grey-light); }
  .summini b { color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; }
  .totals { grid-template-columns: 1fr 1fr; }
  .totals > div:nth-child(3) { border-left: 0; }
  .totals > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .offer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .flowsteps { grid-template-columns: 1fr 1fr; }
  .budget-row, .lead__grid { grid-template-columns: 1fr; }
  .plan-stages { grid-template-columns: 1fr; }
}

/* ---------- The offer as a PDF (print) ---------- */
@media print {
  @page { margin: 16mm; }
  body.app { background: #fff; color: #111; }
  .bar, .draft, .ribbons, .foot, .offer__tools, .ask, .summini, .consent, .toggle-btn, .skip { display: none !important; }
  .offer__head, .totals, .totals > div, .ticks li, .toggles li { border-color: #ccc !important; }
  .totals .is-main { background: #f6efe2; }
  .totals .is-main dd, .offer__grid h2 { color: #8a5a12 !important; }
  .totals dt, .ticks small, .muted, .offer__head p { color: #555 !important; }
  .offer { padding: 0; }
  .offer__grid { grid-template-columns: 1fr 1fr; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

@media (prefers-reduced-motion: reduce) {
  .svc, .btn, .progress__track i { transition: none; }
}
