/* Good Sites Only. Soft tinted ground, white floating panels with generous corners, Geist in three weights,
   ink buttons with an arrow, dusty rose as the brand colour and butter yellow for the one thing to do next.
   Handwritten notes (Caveat) and wireframe sketches are the house illustration style. */

@font-face { font-family: Geist; src: url(/fonts/Geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/GeistMono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Caveat; src: url(/fonts/Caveat.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #ece8ea; --wash-1: #f8d9e0; --wash-2: #fbeecb;
  --panel: #fdfcfc; --soft: #f4f1f2; --soft-2: #ebe7e9; --field: #f8f6f7;
  --ink: #171516; --ink-2: #57525a; --ink-3: #8d8791;
  --edge: #e9e4e6; --line: #e4dfe1; --line-2: #d3ccd0;
  --rose: #f6bfcb; --rose-soft: #fbe6ea; --rose-strong: #df6f8b; --rose-ink: #7b2b41; --pen: #cf5f7b;
  --butter: #fce588; --butter-ink: #4d3d00;
  --ok: #1f7f58; --ok-soft: #def3e8; --warn: #a85a08; --warn-soft: #fbead2;
  --wire: rgba(23, 21, 22, .07); --wire-2: rgba(23, 21, 22, .16); --wire-3: rgba(23, 21, 22, .32);
  --shadow: 0 1px 2px rgba(40, 20, 28, .04), 0 10px 28px -14px rgba(40, 20, 28, .16);
  --shadow-lg: 0 2px 6px rgba(40, 20, 28, .06), 0 28px 60px -24px rgba(40, 20, 28, .28);
  --sans: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --hand: Caveat, 'Bradley Hand', 'Segoe Print', cursive;
  --r: 12px; --r-2: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #121013; --wash-1: #3a1c28; --wash-2: #2f2912;
  --panel: #1c1a1e; --soft: #252227; --soft-2: #2e2a30; --field: #232025;
  --ink: #f5f2f4; --ink-2: #b9b2bb; --ink-3: #7f7884;
  --edge: #2b272d; --line: #2f2b31; --line-2: #413b44;
  --rose: #f6bfcb; --rose-soft: #3b222b; --rose-strong: #f08fa8; --rose-ink: #fbd3dc; --pen: #f3a3b7;
  --butter: #fce588; --butter-ink: #3b2f00;
  --ok: #6ad6a8; --ok-soft: #173327; --warn: #f1b468; --warn-soft: #3a2a12;
  --wire: rgba(255, 255, 255, .07); --wire-2: rgba(255, 255, 255, .16); --wire-3: rgba(255, 255, 255, .34);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .5), 0 30px 70px -24px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* ---- accent choices: the rose by default, four more. Each one keeps the same roles. */
:root[data-accent='butter'] { --rose: #fce588; --rose-soft: #fff5c9; --rose-strong: #d9a400; --rose-ink: #5a4300; --pen: #b88a00; --wash-1: #fff0b3; --butter: #f6bfcb; --butter-ink: #5d2030; }
:root[data-accent='mint'] { --rose: #bfe9d4; --rose-soft: #e2f6ec; --rose-strong: #2f9e6e; --rose-ink: #1b4d37; --pen: #2f9e6e; --wash-1: #d7f1e4; }
:root[data-accent='sky'] { --rose: #bfdcf6; --rose-soft: #e3f0fb; --rose-strong: #3b82c4; --rose-ink: #1f4466; --pen: #3b82c4; --wash-1: #d6e8f8; }
:root[data-accent='lilac'] { --rose: #d9c8f2; --rose-soft: #efe8fa; --rose-strong: #7c5cc4; --rose-ink: #3d2a66; --pen: #7c5cc4; --wash-1: #e4d9f6; }
:root[data-theme='dark'][data-accent='butter'] { --rose: #fce588; --rose-soft: #3d3410; --rose-strong: #f0c93a; --rose-ink: #fbeaa6; --pen: #f0c93a; --wash-1: #3a3214; }
:root[data-theme='dark'][data-accent='mint'] { --rose: #bfe9d4; --rose-soft: #163327; --rose-strong: #6ad6a8; --rose-ink: #cdeedd; --pen: #6ad6a8; --wash-1: #163327; }
:root[data-theme='dark'][data-accent='sky'] { --rose: #bfdcf6; --rose-soft: #16293c; --rose-strong: #7db6ea; --rose-ink: #d2e6f8; --pen: #7db6ea; --wash-1: #16293c; }
:root[data-theme='dark'][data-accent='lilac'] { --rose: #d9c8f2; --rose-soft: #2a1f44; --rose-strong: #b39af0; --rose-ink: #e6dcf8; --pen: #b39af0; --wash-1: #2a1f44; }

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* Two soft washes of colour behind everything. Fixed layer, painted once. */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60vw 46vh at 0% 0%, var(--wash-1), transparent 70%), radial-gradient(52vw 42vh at 100% 0%, var(--wash-2), transparent 70%); opacity: .8; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(28px, 3.4vw, 36px); }
h2 { font-size: 22px; }
h3 { font-size: 17px; letter-spacing: -.018em; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--rose); color: #171516; }

.label { font: 600 12px/1.25 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 13.5px; }
.gap { margin-top: 18px; }
.gap2 { margin-top: 36px; }
.ink { color: var(--ink) !important; }
.sub { margin-bottom: 10px; }
.full { grid-column: 1 / -1; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hand { font: 600 22px/1.05 var(--hand); letter-spacing: 0; color: var(--pen); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: var(--r); background: var(--ink); color: var(--panel); font-weight: 600; white-space: nowrap; transition: transform .28s var(--ease), box-shadow .28s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(23, 21, 22, .55); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn .ic.go { transition: transform .3s var(--ease); }
.btn:hover .ic.go { transform: translateX(3px); }
.btn.ghost { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.soft { background: var(--soft); color: var(--ink); }
.btn.soft:hover { background: var(--soft-2); box-shadow: none; }
.btn.pop { background: var(--butter); color: var(--butter-ink); }
.btn.danger:hover { color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.btn.sm { height: 36px; padding: 0 13px; font-size: 14px; border-radius: 10px; }
.btn.wide { width: 100%; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--ink-2); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }
.link { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.link:hover { color: var(--ink); border-color: var(--ink); }
.link .ic { width: 13px; height: 13px; display: inline; vertical-align: -1px; }

.field { display: grid; gap: 7px; }
.input, .select, .area { width: 100%; height: 46px; padding: 0 14px; background: var(--field); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s, box-shadow .2s; }
.area { height: auto; min-height: 92px; padding: 11px 14px; resize: vertical; line-height: 1.45; }
.input:hover, .select:hover, .area:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .area:focus { outline: none; border-color: var(--ink); background: var(--panel); box-shadow: 0 0 0 4px var(--rose-soft); }
.input::placeholder, .area::placeholder { color: var(--ink-3); }
.input.sm { height: 38px; padding: 0 11px; border-radius: 10px; font-size: 14px; }
.input.n { text-align: right; font-variant-numeric: tabular-nums; }

.chip, .pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--soft); color: var(--ink-2); font: 600 12px/1 var(--sans); white-space: nowrap; }
.chip.rose, .pill.sent { background: var(--rose-soft); color: var(--rose-ink); }
.chip.ok, .pill.paid { background: var(--ok-soft); color: var(--ok); }
.pill.accepted { background: var(--butter); color: var(--butter-ink); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.butter { background: var(--butter); color: var(--butter-ink); }

.seg { display: inline-flex; padding: 4px; gap: 2px; background: var(--soft); border-radius: 12px; }
.seg button { height: 34px; padding: 0 13px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color .2s, background .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed='true'] { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(40, 20, 28, .1), 0 0 0 1px var(--edge); }

.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks.even { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pick { min-height: 44px; padding: 8px 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .2s, background .2s, color .2s, transform .3s var(--ease); }
.pick:hover { border-color: var(--ink); transform: translateY(-1px); }
.pick[aria-pressed='true'] { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.pick.sm { min-height: 34px; padding: 4px 12px; font-size: 13.5px; border-radius: 10px; }

/* ---- brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.03em; font-size: 17.5px; }
.brand b { width: 30px; height: 30px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.brand b::after { content: ''; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 3.5px var(--rose); }
.brand:hover b { transform: rotate(-8deg) scale(1.06); }
.brand-logo { height: 30px; width: auto; max-width: 140px; object-fit: contain; border-radius: 6px; }
.card .brand-logo { height: 52px; max-width: 220px; }
.who img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.who.big { width: 72px; height: 72px; font-size: 22px; }
.look-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.avatar-pick { display: flex; gap: 14px; align-items: center; }
.logo-box { width: 120px; height: 72px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13.5px; font-weight: 500; }
.swatch span { width: 22px; height: 22px; border-radius: 50%; }
.swatch.rose span { background: #f6bfcb; } .swatch.butter span { background: #fce588; } .swatch.mint span { background: #bfe9d4; } .swatch.sky span { background: #bfdcf6; } .swatch.lilac span { background: #d9c8f2; }
.swatch[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.inv-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 10px; display: block; }

/* ---- entry screens (sign in, partner application) */
.entry { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: 0 20px; }
.entry-top { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1180px; width: 100%; margin: 0 auto; }
.entry-main { display: grid; place-items: center; padding-block: 16px 56px; }
.entry-foot { padding-block: 18px; text-align: center; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.lang { font: 600 12px/1 var(--sans); letter-spacing: .04em; }
.card { width: min(440px, 100%); padding: 44px 40px 34px; border-radius: 26px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-lg); text-align: center; animation: rise .7s var(--ease) both; }
.card .brand { justify-content: center; }
.card .brand b { width: 52px; height: 52px; border-radius: 17px; }
.card .brand b::after { width: 20px; height: 20px; box-shadow: inset 0 0 0 6px var(--rose); }
.card h1 { font-size: 26px; margin-top: 22px; }
.card .sub { color: var(--ink-2); margin-top: 8px; }
.card form { display: grid; gap: 12px; margin-top: 28px; }
.card .input { text-align: center; height: 50px; }
.card .btn { height: 50px; }
.card .alt { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.code { letter-spacing: .5em; text-indent: .5em; font: 600 22px/1 var(--mono); }
.devnote { margin-top: 18px; display: inline-flex; gap: 8px; align-items: baseline; transform: rotate(-2deg); }
.err { color: var(--warn); font-size: 14px; min-height: 21px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal > * { animation: rise .6s var(--ease) both; }
.reveal > *:nth-child(2) { animation-delay: .05s; } .reveal > *:nth-child(3) { animation-delay: .1s; } .reveal > *:nth-child(4) { animation-delay: .15s; }
.reveal > *:nth-child(5) { animation-delay: .2s; } .reveal > *:nth-child(n+6) { animation-delay: .25s; }

/* ---- the spoken form: a sentence that gets completed */
.say { font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.say input, .say select { font: inherit; font-weight: 500; letter-spacing: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; margin: 0 3px; min-width: 3ch; max-width: 100%; transition: border-color .25s, box-shadow .25s, background .25s; }
.say input::placeholder { color: var(--ink-3); font-weight: 400; }
.say input:focus, .say select:focus { outline: none; border-color: var(--ink); background: var(--panel); box-shadow: 0 0 0 4px var(--rose-soft); }
.say select { appearance: none; cursor: pointer; padding-right: 36px; background: var(--field) no-repeat right 12px center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238d8791' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.say select option { font-size: 15px; font-weight: 400; color: #171516; background: #fff; }

.combo { position: relative; display: inline-block; }
.combo .menu { position: absolute; left: 3px; top: calc(100% + 6px); z-index: 6; min-width: 260px; padding: 6px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-lg); display: grid; gap: 2px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; text-align: left; animation: rise .25s var(--ease) both; }
.combo .menu button { text-align: left; padding: 9px 12px; border-radius: 9px; transition: background .15s; }
.combo .menu button:hover, .combo .menu button[aria-selected='true'] { background: var(--soft); }
.combo .menu button.new { color: var(--rose-ink); background: var(--rose-soft); }

/* ---- app frame: a floating sidebar ordered by stage of the work */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 10px; min-height: 100dvh; padding: 10px; }
.shell-main { min-width: 0; }
.side { position: sticky; top: 10px; height: calc(100dvh - 20px); display: flex; flex-direction: column; padding: 12px 10px 10px; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); overflow: hidden auto; }
.side .brand { padding: 2px 6px 10px; }
.snav { display: grid; gap: 2px; align-content: start; }
.snav .label { padding: 10px 10px 4px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12.5px; }
.snav a { height: 31px; padding: 0 9px; display: flex; align-items: center; gap: 10px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: 14px; transition: color .2s, background .2s; }
.snav a:hover { color: var(--ink); background: var(--soft); }
.snav a[aria-current='page'] { color: var(--ink); background: var(--soft); font-weight: 600; }
.snav a .ic { width: 16px; height: 16px; color: var(--ink-3); transition: color .2s, transform .35s var(--ease); }
.snav a:hover .ic { transform: scale(1.1); }
.snav a[aria-current='page'] .ic { color: var(--rose-strong); }
.snav a i { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 7px; background: var(--soft-2); font: 600 11.5px/20px var(--sans); font-style: normal; text-align: center; color: var(--ink-2); }
.start { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--soft); display: grid; gap: 6px; }
.start-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; }
.start-h span { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.start-h .icon-btn.sm { width: 26px; height: 26px; margin-left: 6px; } .start-h .icon-btn.sm .ic { width: 14px; height: 14px; }
.start a { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); padding: 3px 0; transition: color .2s; }
.start a:hover { color: var(--ink); }
.start a.done { color: var(--ink-3); text-decoration: line-through; }
.start a u { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; flex: none; text-decoration: none; }
.start a.done u { background: var(--ok); box-shadow: none; color: var(--panel); }
.start a u .ic { width: 11px; height: 11px; stroke-width: 2.6; }
.meter { height: 5px; border-radius: 5px; background: var(--soft-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--rose-strong); border-radius: 5px; transform-origin: left; transition: transform .7s var(--ease); }
.side-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 2px; }
.start + .side-foot { margin-top: 12px; }
.who { width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: #171516; display: grid; place-items: center; font: 600 13px/1 var(--sans); text-transform: uppercase; flex: none; }
.who-n { margin: 0 auto 0 9px; min-width: 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top { display: none; height: 54px; align-items: center; gap: 12px; padding: 0 6px 8px; }

.page { max-width: 1160px; margin: 0 auto; padding: 34px 22px 96px; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.page-h h1 { margin-top: 0; }
.page-h p.lead { margin-top: 8px; max-width: 56ch; color: var(--ink-2); font-size: 16px; }
.page-h .label { display: block; margin-bottom: 10px; }
.empty { padding: 26px 0; color: var(--ink-3); }

/* ---- today */
.hello { text-align: center; padding: 14px 0 26px; display: grid; gap: 6px; justify-items: center; }
.hello .who { width: 54px; height: 54px; font-size: 19px; margin-bottom: 8px; box-shadow: 0 0 0 4px var(--panel); }
.hello h1 { font-size: 26px; }
.hello p { color: var(--ink-2); }
.hero-card { max-width: 620px; margin: 0 auto 40px; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.hero-art { position: relative; height: 230px; background: var(--rose); color: #171516; padding: 30px 34px; overflow: hidden; }
.hero-art h2 { font-size: 34px; letter-spacing: -.04em; line-height: 1.02; max-width: 12ch; position: relative; z-index: 1; }
.hero-art .sheet-a, .hero-art .sheet-b { position: absolute; width: 300px; padding: 16px; border-radius: 12px 12px 0 0; background: #fdfcfc; box-shadow: 0 16px 40px -18px rgba(90, 20, 40, .5); --wire: rgba(23, 21, 22, .08); --wire-2: rgba(23, 21, 22, .17); --wire-3: rgba(23, 21, 22, .34); display: grid; gap: 10px; transition: transform .8s var(--ease); }
.hero-art .sheet-a { right: 26px; bottom: -40px; rotate: 4deg; }
.hero-art .sheet-b { right: 190px; bottom: -110px; rotate: -7deg; width: 250px; }
.hero-card:hover .sheet-a { transform: translateY(-14px) rotate(-1.5deg); }
.hero-card:hover .sheet-b { transform: translateY(-10px) rotate(2deg); }
.hero-art .hand { position: absolute; left: 36px; bottom: 22px; color: var(--rose-ink); rotate: -3deg; }
.hero-b { padding: 20px 24px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero-b p { color: var(--ink-2); margin-top: 4px; max-width: 40ch; }
.nexts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 12px 0 14px; }
.next { border-radius: var(--r-2); overflow: hidden; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.next:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.next-art { height: 148px; padding: 18px 18px 0; overflow: hidden; display: grid; align-items: end; }
.next-art > div { background: #fdfcfc; border-radius: 10px 10px 0 0; padding: 12px; --wire: rgba(23, 21, 22, .08); --wire-2: rgba(23, 21, 22, .17); --wire-3: rgba(23, 21, 22, .34); box-shadow: 0 10px 30px -14px rgba(40, 20, 28, .4); transform: translateY(10px) rotate(-2deg); transition: transform .6s var(--ease); display: grid; gap: 8px; }
.next:hover .next-art > div { transform: translateY(2px) rotate(0deg); }
.next:nth-child(1) .next-art { background: var(--rose); } .next:nth-child(2) .next-art { background: var(--butter); }
.next:nth-child(3) .next-art { background: #171516; } .next:nth-child(4) .next-art { background: var(--soft-2); }
.next-b { padding: 18px 18px 18px; display: grid; gap: 6px; align-content: start; }
.next-b h3 { font-size: 19px; }
.next-b p { color: var(--ink-2); font-size: 14.5px; }
.next-b .btn { justify-self: start; margin-top: 10px; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; }
.panel { border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); padding: 18px 20px 20px; }
.panel-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.panel-h h3 { font-size: 17px; }
.panel-h .ic { color: var(--ink-2); }
.panel-h a { margin-left: auto; font-size: 13.5px; color: var(--ink-3); transition: color .2s; }
.panel-h a:hover { color: var(--ink); }
.panel-empty { text-align: center; padding: 22px 10px 14px; display: grid; gap: 4px; justify-items: center; }
.panel-empty .ic { color: var(--ink-3); margin-bottom: 4px; }
.panel-empty b { font-weight: 500; }
.panel-empty span { color: var(--ink-3); font-size: 13.5px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 11px 8px; margin: 0 -8px; border-radius: 12px; transition: background .2s; }
.mini-row:hover { background: var(--soft); }
.mini-row > div { min-width: 0; margin-right: auto; }
.mini-row b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row small { color: var(--ink-3); font-size: 13.5px; }
.mini-row .num { font-weight: 500; white-space: nowrap; }
.mini-row .btn { flex: none; }
.row .label { display: block; margin-bottom: 2px; }
.input.search { margin-bottom: 14px; background: var(--panel); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.linkbox { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 12px; background: var(--soft); font: 500 13px/1.3 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.linkbox .btn { margin-left: auto; flex: none; }

/* ---- mosaic of tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.tile { position: relative; display: grid; grid-template-rows: auto auto 1fr; align-content: start; text-align: left; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r-2); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile-thumb { margin: 8px 8px 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--soft); }
.tile-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease); }
.tile:hover .tile-thumb img { transform: scale(1.05); }
.tile-thumb .mini { height: 100%; padding: 14px; display: grid; gap: 6px; align-content: start; }
.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px 0; min-height: 38px; }
.tile-top .label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13.5px; }
.tile-b { padding: 4px 16px 16px; display: grid; gap: 4px; align-content: start; }
.tile-b h3 { font-size: 18px; }
.tile-n { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.tile-n b { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.tile-go { margin-left: auto; align-self: center; width: 32px; height: 32px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--ink-2); transition: background .25s, color .25s, transform .35s var(--ease); }
.tile:hover .tile-go { background: var(--ink); color: var(--panel); transform: rotate(-8deg); }
.tile-go .ic { width: 15px; height: 15px; }
.tile.choose { cursor: pointer; }
.tile-x { width: 28px; height: 28px; margin-left: auto; color: var(--ink-3); }
.tile-x.arm { width: auto; padding: 0 10px; background: var(--warn-soft); color: var(--warn); font: 600 12px/1 var(--sans); }
.tile.choose[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); }
.tile.new { border: 1.5px dashed var(--line-2); background: transparent; box-shadow: none; place-items: center; text-align: center; min-height: 250px; padding: 24px; cursor: pointer; gap: 6px; grid-template-rows: none; align-content: center; }
.tile.new:hover { border-color: var(--ink); background: var(--panel); box-shadow: var(--shadow); }
.tile.new .plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); margin: 0 auto 8px; transition: transform .5s var(--ease), background .2s, color .2s; }
.tile.new:hover .plus { transform: rotate(90deg); background: var(--ink); color: var(--panel); box-shadow: none; }
.tile.new small { color: var(--ink-3); font-size: 14px; }

/* ---- pictures: an uploaded animation, or a stack of real designs that float */
.art { position: relative; aspect-ratio: 4 / 3.1; }
.art > img, .art > video { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-2); }
.art.small { aspect-ratio: auto; max-width: 260px; height: 150px; margin: 0 auto 6px; display: grid; place-items: center; }
.art.small > img, .art.small > video { max-height: 150px; width: auto; max-width: 100%; }
.artslot { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.artslot .art.small { margin: 0; background: var(--soft); border-radius: 12px; width: 200px; }
@media (max-width: 800px) { .artslot { grid-template-columns: 1fr; } }

/* ---- step by step screens: a row of segments on top, answers by tapping */
.steps { display: flex; gap: 6px; justify-content: center; }
.steps i { width: 54px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .5s var(--ease); }
.steps i.on { background: var(--rose-strong); }
.ob { width: min(780px, 100%); margin: 0 auto; padding: 8px 0 64px; display: grid; gap: 30px; align-content: start; }
.ob-body { display: grid; gap: 12px; min-height: 300px; align-content: start; }
.ob-body .lead { font-size: 17px; color: var(--ink-2); max-width: 50ch; }
.ob-card { margin-top: 10px; padding: 24px; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.ob-card .q { font-weight: 600; font-size: 16.5px; letter-spacing: -.015em; margin: 24px 0 12px; }
.ob-card .q:first-child { margin-top: 0; }
.ob-detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--ink-2); animation: rise .45s var(--ease) both; }
.ob-detail .terms { color: var(--ink); font-weight: 500; }
.ob-msg { margin-top: 22px; }
.ob-nav { display: flex; justify-content: space-between; align-items: center; }
.kit { display: grid; gap: 9px; margin-top: 14px; padding: 0; list-style: none; color: var(--ink-2); }
.kit li { display: flex; gap: 11px; align-items: baseline; }
.kit li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-strong); flex: none; transform: translateY(-1px); }

/* ---- partner landing. A light, straight first screen with the headline and the sign-up card; its background is the
   picture set for this page in the account. Below it, the proof and the explanation. Every motion is transform or
   opacity and nothing repaints per frame. */
body[data-screen='apply'] { background: var(--panel); }
body[data-screen='apply']::before { display: none; }
.entry.lp { position: relative; display: block; padding: 0; overflow-x: hidden; overflow-x: clip; }
.lp .btn.sm { padding: 0 16px; }
.lp .entry-foot { position: relative; z-index: 1; }

.lp-top { position: relative; isolation: isolate; overflow: hidden; padding-bottom: clamp(56px, 7vw, 104px); background: var(--panel); border-bottom: 1px solid var(--line); }
/* two hairlines frame the page, a little outside the text */
.lp-top::after, .lp-main::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: min(1176px, 100vw - 28px); transform: translateX(-50%); border-inline: 1px solid var(--line); z-index: -1; pointer-events: none; }
.lp-bg { position: absolute; z-index: -3; inset: 0 0 0 auto; width: 64%; pointer-events: none; }
.lp-bg img, .lp-bg video { width: 100%; height: 100%; object-fit: cover; }
/* with a background picture, a veil keeps the headline on a clean ground and melts the picture into the page */
.lp-top.has-bg::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(0deg, var(--panel) 0%, transparent 18%), linear-gradient(90deg, var(--panel) 0%, var(--panel) 36%, color-mix(in srgb, var(--panel) 55%, transparent) 50%, transparent 68%); }

.lp-top .entry-top { position: relative; z-index: 2; width: min(1120px, 100% - 40px); max-width: none; }
.lp-top .entry-top .btn { margin-left: 8px; }
.lp-in { font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; color: var(--ink); }
.lp-in:hover { background: var(--wire); }

.lp-hero { position: relative; width: min(1120px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(24px, 6vh, 72px); min-height: min(700px, calc(100dvh - 72px - 6vw)); }
.lp-hero-t { display: grid; gap: 26px; justify-items: start; }
.lp-h1 { font-size: clamp(46px, 6.8vw, 100px); font-weight: 600; letter-spacing: -.055em; line-height: .96; color: var(--ink); }
.lp-h1 span { display: inline-block; animation: rise .9s var(--ease) both; }
.lp-h1 span:nth-child(2) { animation-delay: .06s; } .lp-h1 span:nth-child(3) { animation-delay: .12s; }
.lp-h1 span:nth-child(4) { animation-delay: .18s; } .lp-h1 span:nth-child(5) { animation-delay: .24s; } .lp-h1 span:nth-child(n+6) { animation-delay: .3s; }
.lp-lead { font-size: clamp(17px, 1.5vw, 20.5px); line-height: 1.45; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; animation: rise .9s .25s var(--ease) both; }
.lp-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 6px 0 0; animation: rise .9s .32s var(--ease) both; }
.lp-facts > div { padding-right: clamp(14px, 1.8vw, 26px); }
.lp-facts > div + div { padding-left: clamp(14px, 1.8vw, 26px); border-left: 1px solid var(--line-2); }
.lp-facts dt { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; }
.lp-facts dd { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; max-width: 14ch; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); animation: rise .9s .38s var(--ease) both; }
.lp-link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lp-link:hover .ic { transform: translateX(4px); }

.lp-card-w { position: relative; animation: rise .9s .14s var(--ease) both; }
.lp-card { position: relative; background: var(--panel); color: var(--ink); border: 1px solid var(--edge); border-radius: 20px; padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 2px 6px rgba(40, 20, 28, .06), 0 44px 80px -30px rgba(50, 50, 93, .3), 0 22px 40px -24px rgba(40, 20, 28, .26); display: grid; gap: 18px; align-content: start; scroll-margin-top: 24px; }
:root[data-theme='dark'] .lp-card { box-shadow: var(--shadow-lg); }
.lp-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-card-h .steps i { width: 34px; }
.lp-card-b { display: grid; gap: 12px; align-content: start; min-height: 252px; }
.lp-card-b > * { animation: rise .45s var(--ease) both; }
.lp-card h2 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.035em; }
.lp-card .q { font-weight: 600; font-size: 15.5px; letter-spacing: -.015em; margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-card .picks.even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-card .say { font-size: clamp(18px, 1.6vw, 21px); line-height: 2; }
.lp-card .say input { padding: 2px 10px; border-radius: 10px; }
.lp-card .ob-detail { margin-top: 6px; }
.lp-card .ob-msg { margin-top: 4px; }
.lp-card .area { min-height: 72px; }
.lp-card .done { display: grid; gap: 10px; justify-items: start; padding: 28px 0; }
.lp-card .done > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.pick[disabled] { opacity: .38; pointer-events: none; }
.pick .ic { width: 13px; height: 13px; }
.pick-add { display: flex; gap: 8px; }
.pick-add .input { flex: 1; min-width: 0; }

.lp-main { position: relative; z-index: 1; width: min(1120px, 100% - 40px); margin: 0 auto; display: grid; gap: clamp(72px, 9vw, 128px); padding-block: clamp(56px, 7vw, 104px) 0; }
.lp-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.lp-sec-h { display: grid; gap: 12px; max-width: 760px; }
.lp-eyebrow { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--rose-ink); }
.lp-h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.lp-p { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.lp-main:not(.seen) > .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lp-main:not(.seen) > .rv.in { opacity: 1; transform: none; }


/* the designs: a slider that runs off the right edge of the page */
.lp-sec-h.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.lp-sec-h.split > div:first-child { display: grid; gap: 12px; max-width: 760px; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav .icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.slider-nav .icon-btn:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.slider-nav .icon-btn[disabled] { opacity: .3; pointer-events: none; }
.slider { width: 100vw; min-width: 0; margin-left: calc(50% - 50vw); }
.slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc(50vw - 560px)); padding: 6px max(20px, calc(50vw - 560px)) 40px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider .shot { flex: 0 0 clamp(280px, 44vw, 600px); scroll-snap-align: start; }
.shot { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(40, 20, 28, .04), 0 26px 44px -30px rgba(50, 50, 93, .34); overflow: hidden; transition: transform .35s var(--ease); }
a.shot:hover { transform: translateY(-6px); }
.shot-bar { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--soft); }
.shot-cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; font-size: 14px; }
.shot-cap b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-cap em { font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.shot-cap .ic { width: 13px; height: 13px; }
a.shot:hover .shot-cap em { color: var(--ink); }

/* how it works: five cards, each with its title, its explanation and a small piece of the real screen on a field of dots */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bcard { grid-column: span 2; display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.bcard.b4, .bcard.b5 { grid-column: span 3; }
.bcard header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 24px 24px 0; }
.bcard h3 { font-size: clamp(20px, 1.9vw, 25px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.bcard header p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.bnum { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--rose-soft); color: var(--rose-ink); font: 500 12px/1 var(--mono); }
.bart { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; align-content: center; padding: 34px 24px 36px; min-height: 280px; }
.bart-bg { position: absolute; inset: 0; z-index: -2; }
.bart-bg video { width: 100%; height: 100%; object-fit: cover; }
/* the colour melts into the card towards the title */
.bart-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--panel) 0%, color-mix(in srgb, var(--panel) 50%, transparent) 36%, transparent 74%); }
:root[data-theme='dark'] .bart-bg video { opacity: .22; }
.bart::before { content: ''; position: absolute; inset: -8%; z-index: -1; background: linear-gradient(120deg, #f06aa8 6%, #8a6cf0 46%, var(--rose-strong) 70%, #f0a93a 98%); -webkit-mask: var(--shape) center / cover no-repeat; mask: var(--shape) center / cover no-repeat; opacity: .5; animation: shape 20s ease-in-out infinite alternate; will-change: transform; }
.b1 .bart { --shape: url(/img/landing/dots-1.webp); } .b2 .bart { --shape: url(/img/landing/dots-2.webp); } .b3 .bart { --shape: url(/img/landing/dots-3.webp); } .b4 .bart { --shape: url(/img/landing/dots-4.webp); } .b5 .bart { --shape: url(/img/landing/dots-5.webp); }
.b2 .bart::before, .b4 .bart::before { animation-duration: 26s; animation-direction: alternate-reverse; }
@keyframes shape { from { transform: translate3d(-2.5%, 1.5%, 0) scale(1.02); } to { transform: translate3d(2.5%, -1.5%, 0) scale(1.08); } }
.bart .hv { width: min(380px, 100%); }
.lp-main > .rv.in .bart .hv > * { animation: rise .6s var(--ease) both; }
.lp-main > .rv.in .bart .hv > :nth-child(2) { animation-delay: .07s; } .lp-main > .rv.in .bart .hv > :nth-child(3) { animation-delay: .14s; } .lp-main > .rv.in .bart .hv > :nth-child(4) { animation-delay: .21s; } .lp-main > .rv.in .bart .hv > :nth-child(n+5) { animation-delay: .28s; }
/* the designs on a curved row, seen from the inside of the curve; on small screens they go in the slider */
.ring { width: 100vw; margin-left: calc(50% - 50vw); display: grid; justify-items: center; gap: 4px; overflow: hidden; }
.ring-stage { position: relative; width: 100%; height: clamp(280px, 24vw, 400px); perspective: 2600px; perspective-origin: 50% 50%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring-in { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ring-card { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ring-card img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 0 0 1px rgba(23, 21, 22, .08), 0 30px 50px -30px rgba(50, 50, 93, .38); background: var(--panel); }
.ring-cap { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.ring-cap b { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.hv { align-self: start; width: min(440px, 100%); display: grid; gap: 8px; font-size: 13.5px; }
.hv-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 4px; font-weight: 600; color: var(--ink-2); }
.hv-h .steps i { width: 26px; }
.hv-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.hv-row > i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: transparent; }
.hv-row.ok > i { background: var(--ok); color: #fff; }
.hv-row .ic { width: 11px; height: 11px; stroke-width: 2.8; }
.hv-row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.hv-chips span { padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 500; }
.hv-chips span.on { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.hv-url { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 99px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); font: 500 12.5px/1 var(--mono); color: var(--ink-2); }
.hv-url span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-url .ic { width: 14px; height: 14px; }
.hv-page { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }

/* what they get: a block of the action colour */
.lp-get { margin-inline: calc(50% - 50vw); padding: clamp(64px, 9vw, 120px) max(20px, calc(50vw - 560px)); background: var(--butter); color: #171516; display: grid; gap: clamp(28px, 4vw, 48px); }
.lp-get .lp-eyebrow { color: var(--butter-ink); }
.deal-sub { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; margin-bottom: -8px; }
.deal-earns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid rgba(23, 21, 22, .85); }
.deal-earn { display: grid; gap: 8px; align-content: start; padding: 22px 26px 6px; border-left: 1px solid rgba(23, 21, 22, .22); }
.deal-earn:first-child { border-left: 0; padding-left: 0; }
.deal-earn span { font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.025em; line-height: 1.2; }
.deal-earn b { font-size: clamp(72px, 10vw, 148px); font-weight: 600; letter-spacing: -.07em; line-height: .86; font-variant-numeric: tabular-nums; }
.deal-earn b i { font-style: normal; font-size: .46em; letter-spacing: -.02em; margin-left: .06em; vertical-align: .82em; }
.deal-earn p { font-size: 16.5px; font-weight: 500; line-height: 1.4; max-width: 30ch; }
.deal-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.deal-part { padding: clamp(22px, 3vw, 36px); border-radius: 22px; display: grid; gap: 16px; align-content: start; }
.deal-part.you { background: #fdfcfc; color: #171516; }
.deal-part.we { background: #171516; color: #f5f2f4; }
.deal-part h3 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.035em; }
.deal-part ul, .deal-plus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.deal-part li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.deal-part li .ic { margin-top: 3px; stroke-width: 2.4; }
.deal-part.we li .ic { color: var(--butter); }
.deal-plus { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 2fr); gap: 20px; align-items: start; padding-top: 22px; border-top: 1px solid rgba(23, 21, 22, .22); }
.deal-plus ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.deal-plus li { position: relative; padding-left: 16px; font-size: 15.5px; line-height: 1.4; }
.deal-plus li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #171516; }

.lp-faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.faqs { display: grid; border-top: 1.5px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .3s var(--ease); }
.faq[open] summary .ic { transform: rotate(45deg); }
.faq p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 60ch; animation: rise .35s var(--ease) both; }

/* the closing call to action sits on the page itself, clean */
.lp-cta { position: relative; isolation: isolate; margin-inline: calc(50% - 50vw); padding: clamp(72px, 10vw, 150px) max(20px, calc(50vw - 560px)); display: grid; gap: 18px; justify-items: center; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.lp-cta .lp-h2 { font-size: clamp(40px, 6.6vw, 92px); }
.lp-cta .lp-p { max-width: 46ch; }
.lp-cta-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 12px; }

/* the footer, with presence: the brand large, what it does in a line, the way in, two lists of links */
.lp-foot { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--panel); }
.lp-foot-in { width: min(1120px, 100% - 40px); margin: 0 auto; padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.lp-foot-brand { display: grid; gap: 22px; justify-items: start; }
.lp-foot-brand .brand { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.045em; gap: 14px; }
.lp-foot-brand .brand b { width: 46px; height: 46px; border-radius: 15px; }
.lp-foot-brand .brand b::after { width: 18px; height: 18px; box-shadow: inset 0 0 0 5px var(--rose); }
.lp-foot-brand .brand-logo { height: 46px; max-width: 220px; }
.lp-foot-brand p { font-size: clamp(18px, 1.7vw, 23px); font-weight: 500; letter-spacing: -.025em; line-height: 1.32; color: var(--ink); max-width: 28ch; text-wrap: balance; }
.lp-foot nav { display: grid; gap: 14px; justify-items: start; padding-top: 10px; }
.lp-foot nav b { font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.lp-foot nav a, .lp-foot nav button { color: var(--ink); font-size: 17.5px; font-weight: 500; letter-spacing: -.02em; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.lp-foot nav a:hover, .lp-foot nav button:hover { border-color: var(--ink); }
.lp-foot-end { width: min(1120px, 100% - 40px); margin: 0 auto; padding-block: 18px 26px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.lp-foot-tools { display: flex; align-items: center; gap: 4px; }
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lp-bg { width: 100%; }
  .lp-top.has-bg::before { background: color-mix(in srgb, var(--panel) 84%, transparent); }
  .lp-top::after, .lp-main::before { display: none; }
  .lp-in { display: none; }
  .slider .shot { flex-basis: 78vw; }
  .slider-nav { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bcard, .bcard.b4, .bcard.b5 { grid-column: auto; }
  .deal-earns, .deal-parts, .deal-plus { grid-template-columns: minmax(0, 1fr); }
  .deal-earn, .deal-earn:first-child { border-left: 0; padding: 20px 0 22px; border-bottom: 1px solid rgba(23, 21, 22, .22); }
  .deal-earn:last-child { border-bottom: 0; }
  .lp-faq { grid-template-columns: minmax(0, 1fr); }
  .lp-foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .lp .entry-top .btn { display: none; }
  .lp-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .lp-facts > div, .lp-facts > div + div { padding: 0; border: 0; }
  .lp-facts dt { font-size: 19px; white-space: normal; }
  .lp-card .picks.even { grid-template-columns: minmax(0, 1fr); }
  .deal-plus ul { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 17px; }
  .faq p { padding-right: 0; }
}
/* ---- end partner landing */

/* ---- sheet (full screen step) */
.sheet { position: fixed; top: 10px; right: 10px; bottom: 10px; left: 272px; z-index: 50; overflow: auto; border-radius: var(--r-2); border: 1px solid var(--edge); background: radial-gradient(60vw 46vh at 0% 0%, var(--wash-1), transparent 70%), radial-gradient(52vw 42vh at 100% 0%, var(--wash-2), transparent 70%), var(--bg); animation: fade .4s var(--ease) both; }
.sheet-in { position: relative; max-width: 1060px; margin: 0 auto; padding: 22px 22px 130px; animation: sheet .5s var(--ease) both; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.sheet-bar { position: fixed; left: 272px; right: 10px; bottom: 10px; z-index: 2; border-radius: 0 0 var(--r-2) var(--r-2); padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--panel); border-top: 1px solid var(--edge); display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.sheet-bar .err, .sheet-bar .link { margin-right: auto; }
.sheet h2 { margin: 40px 0 6px; }
.sheet h2.first { margin-top: 0; }
.sheet .hint { color: var(--ink-2); margin-bottom: 18px; }
.say-card { padding: 26px 28px; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
@keyframes sheet { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- rows (partners, prices) */
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1.3fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.row:hover { transform: translateY(-2px); }
.row h3 { font-size: 16.5px; }
.row small { color: var(--ink-3); font-size: 13.5px; display: block; margin-top: 3px; overflow-wrap: anywhere; }
.row-a { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.type { text-align: left; padding: 18px; border-radius: var(--r-2); border: 1px solid var(--edge); background: var(--panel); box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; transition: border-color .2s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.type:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.type[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); }
.type p { color: var(--ink-2); font-size: 14px; }
.type .terms { color: var(--ink); font-size: 14px; font-weight: 500; padding-top: 10px; border-top: 1px solid var(--line); }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pkg { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.pkg-h { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.pkg.add, .prow.add { border: 1.5px dashed var(--line-2); background: transparent; box-shadow: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; color: var(--ink-2); font-weight: 500; cursor: pointer; transition: border-color .2s, color .2s; }
.pkg.add:hover, .prow.add:hover { border-color: var(--ink); color: var(--ink); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: start; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.prow-main { display: grid; gap: 8px; min-width: 0; }
.prow-prices { display: grid; grid-auto-flow: column; gap: 8px; }
.prow-prices .input { width: 104px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two.narrow { grid-template-columns: 160px 160px auto; align-items: end; }
.self-end { align-self: end; }
.panel.top { margin-bottom: 16px; }
.area.sm { min-height: 56px; padding: 8px 11px; font-size: 14px; border-radius: 10px; }

/* ---- the builder: floating panels around the page being sketched */
.b { display: grid; grid-template-columns: 272px minmax(0, 1fr) 324px; gap: 10px; height: calc(100dvh - 20px); }
.b-side { overflow: hidden auto; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); overscroll-behavior: contain; }
.b-pad { padding: 18px 16px 24px; }
.b-pad > .btn, .b-pad > .area, .b-pad > .input { margin-top: 8px; }
.b-tabs { position: sticky; top: 0; z-index: 3; background: var(--panel); padding: 12px 12px 10px; display: flex; }
.b-tabs .seg { width: 100%; }
.b-tabs .seg button { flex: 1; padding: 0 6px; min-width: 0; }
.b-tabs .seg.four { display: grid; grid-template-columns: 1fr 1fr; }
.b-main { overflow: auto; overscroll-behavior: contain; border-radius: var(--r-2); }
.b-bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 0 4px 12px; }
.bar-pill { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.bar-pill.name { padding: 4px 12px 4px 4px; gap: 6px; min-width: 0; flex: 0 1 auto; }
.bar-pill .seg { background: transparent; padding: 0; }
.bar-pill .btn.ghost { box-shadow: none; }
.bar-pill .btn.ghost:hover { background: var(--soft); box-shadow: none; }
.b-name { font-weight: 600; font-size: 16px; letter-spacing: -.02em; background: transparent; border: 0; border-radius: 8px; padding: 6px 8px; min-width: 6ch; width: 26ch; max-width: 34vw; }
.b-name:hover { background: var(--soft); }
.b-name:focus { outline: none; background: var(--soft); }
.b-saved { margin: 0 6px 0 auto; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13.5px; }
.canvas { padding: 6px 8px 120px; display: grid; justify-items: center; }
.frame { width: 100%; max-width: 900px; background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; container-type: inline-size; transition: max-width .55s var(--ease), border-radius .55s var(--ease); }
.frame[data-device='tablet'] { max-width: 620px; }
.frame[data-device='phone'] { max-width: 372px; border-radius: 30px; }
.frame-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame-bar i:first-child { background: var(--rose); }
.frame-bar span { margin-left: 10px; flex: 1; height: 20px; border-radius: 7px; background: var(--soft); font: 500 11.5px/20px var(--mono); color: var(--ink-3); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stack { min-height: 260px; position: relative; padding: 6px; display: grid; gap: 6px; }
.stack.blank { place-items: center; padding: 50px 20px; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--line-2); border-radius: 12px; margin: 10px; }
.sec { position: relative; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.sec:hover { box-shadow: inset 0 0 0 1.5px var(--rose); background: var(--field); }
.sec[aria-selected='true'] { box-shadow: inset 0 0 0 2px var(--rose-strong); background: var(--field); }
.sec-h { position: absolute; top: 9px; left: 9px; right: 9px; z-index: 2; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.sec-h > * { pointer-events: auto; }
.sec-name { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 3px; border-radius: 8px; background: var(--soft); font-weight: 600; font-size: 12.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.sec[aria-selected='true'] .sec-name { background: var(--rose-strong); color: #fff; }
.sec[aria-selected='true'] .grip { color: #fff; }
.grip { width: 20px; height: 26px; display: grid; place-items: center; cursor: grab; touch-action: none; color: var(--ink-3); }
.grip .ic { width: 12px; height: 12px; }
.sec-tools { margin-left: auto; display: flex; gap: 3px; }
.sec-tools button { width: 28px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.sec-tools button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sec-tools .ic { width: 13px; height: 13px; }
.sec-flag { height: 26px; padding: 0 9px; border-radius: 8px; background: var(--rose-soft); color: var(--rose-ink); font-weight: 600; font-size: 12px; line-height: 26px; }
.sec.drop-before::before, .sec.drop-after::after, .stack.drop-empty::after { content: ''; position: absolute; left: 4px; right: 4px; height: 4px; border-radius: 4px; background: var(--rose-strong); z-index: 5; }
.sec.drop-before::before { top: -5px; } .sec.drop-after::after { bottom: -5px; } .stack.drop-empty::after { top: 12px; }
.sec.lift { opacity: .35; }
.ghost-drag { position: fixed; z-index: 100; left: 0; top: 0; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--panel); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); display: inline-flex; gap: 8px; align-items: center; rotate: -3deg; }
body.dragging { cursor: grabbing; user-select: none; }
body.dragging * { cursor: grabbing !important; }

/* pages list */
.lib-h { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 10px; }
.lib-h .label + .label { background: var(--soft); border-radius: 7px; padding: 3px 7px; letter-spacing: 0; }
.plist { display: grid; gap: 3px; }
.pl { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 6px 9px 9px; border-radius: 12px; cursor: pointer; text-align: left; transition: background .2s; }
.pl:hover { background: var(--soft); }
.pl.on { background: var(--soft); }
.pl > i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 600 12.5px/1 var(--sans); font-style: normal; color: var(--ink-2); background: var(--soft-2); }
.pl.on > i { background: var(--rose-strong); color: #fff; }
.pl b { display: block; font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl small { display: block; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl.add { display: flex; justify-content: center; gap: 7px; height: 44px; margin-top: 8px; border: 1.5px dashed var(--line-2); color: var(--ink-2); font-weight: 500; }
.pl.add .ic { width: 15px; height: 15px; }
.pl.add:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

/* library */
.lib { display: grid; gap: 6px; }
.lib-top { margin-top: 14px; }
.lib-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 8px 7px 7px; border-radius: 14px; border: 1px solid var(--edge); background: var(--panel); transition: border-color .2s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.lib-item:hover { border-color: var(--line-2); transform: translateX(3px); box-shadow: var(--shadow); }
.lib-item[data-drag] { cursor: grab; }
.lib-ico { width: 48px; height: 38px; border-radius: 9px; background: var(--soft); padding: 6px; display: grid; touch-action: none; overflow: hidden; }
.lib-item b { font-weight: 600; font-size: 14.5px; display: block; }
.lib-item small { color: var(--ink-3); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-add { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-3); transition: background .2s, color .2s; }
.lib-add:hover { background: var(--ink); color: var(--panel); }
.lib-add .ic { width: 15px; height: 15px; }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--edge); background: var(--panel); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.opt:hover { border-color: var(--line-2); }
.opt[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--field); }
.opt b { font-weight: 600; font-size: 14.5px; }
.opt small { grid-column: 1 / -1; color: var(--ink-2); font-size: 13px; line-height: 1.42; }
.opt .p { font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt .auto { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; gap: 3px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; font-weight: 600; }
.qty button:hover { background: var(--ink); color: var(--panel); }
.qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.note { position: relative; margin: 14px 2px 6px; padding-left: 28px; }
.note svg { position: absolute; left: 0; top: 2px; width: 22px; height: 28px; stroke: var(--pen); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bundle { height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; margin-top: 10px; }
.bundle i { display: block; height: 100%; background: var(--rose-strong); border-radius: 6px; transform-origin: left; transition: transform .6s var(--ease); }

/* summary */
.sum-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.big { font-size: 42px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; margin-top: 4px; }
.big.mid { font-size: 28px; }
.big small { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-3); margin-left: 3px; }
.lines { display: grid; gap: 10px; margin: 16px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14.5px; }
.line span:first-child { color: var(--ink-2); min-width: 0; }
.line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.line.strong span { color: var(--ink); font-weight: 600; }
.line.off span { color: var(--ok); }
.line.pk { margin: 10px 0; font-size: 13.5px; }
.line small { color: var(--ink-3); }
.box { padding: 16px; border-radius: 16px; background: var(--soft); margin-top: 14px; }
.box.rose { background: var(--rose); color: #171516; }
.box.rose .label, .box.rose .line span:first-child { color: #5d2030; }
.box .big { font-size: 30px; margin: 4px 0 10px; }
.design { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 12px; }
.design img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--soft); }
.lede { margin: 6px 0 14px; color: var(--ink-2); font-size: 14.5px; }
.vars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.var { border-radius: 14px; border: 1px solid var(--edge); background: var(--panel); padding: 8px; display: grid; gap: 8px; text-align: left; transition: border-color .2s, transform .35s var(--ease), box-shadow .35s; }
.var:hover { transform: translateY(-2px); border-color: var(--line-2); }
.var[aria-pressed='true'] { border-color: var(--rose-strong); box-shadow: 0 0 0 2px var(--rose-strong); }
.var .wf { border-radius: 9px; background: var(--soft); padding: 8px; min-height: 66px; }
.var span { font-size: 13.5px; font-weight: 500; padding: 0 3px 3px; }
.asks { display: grid; gap: 8px; padding: 0; margin: 10px 0 0; list-style: none; counter-reset: q; }
.asks li { counter-increment: q; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink-2); font-size: 14.5px; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.asks li::before { content: counter(q); width: 22px; height: 22px; border-radius: 7px; background: var(--panel); display: grid; place-items: center; font: 600 12px/1 var(--sans); color: var(--ink-2); }
.notes { display: grid; gap: 8px; margin-top: 8px; }
.notes p { padding: 10px 12px; border-radius: 12px; background: var(--butter); color: var(--butter-ink); font-size: 14.5px; }
.notes p small { display: block; opacity: .7; font-size: 12.5px; margin-top: 3px; }
.notes p a { color: inherit; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--edge); cursor: pointer; font-weight: 500; }
.tog > span { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.tog[aria-pressed='true'] { border-color: var(--ink); background: var(--field); }
.sw { width: 38px; height: 22px; border-radius: 22px; background: var(--line-2); position: relative; flex: none; transition: background .25s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
[aria-pressed='true'] > .sw { background: var(--ink); }
[aria-pressed='true'] > .sw::after { transform: translateX(16px); }
.fields { display: grid; gap: 8px; margin-top: 8px; }
.incl { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.incl summary { cursor: pointer; list-style: none; }
.incl summary::-webkit-details-marker { display: none; }
.incl p { margin-top: 10px; color: var(--ink-2); font-size: 14px; }

/* ---- wireframe sketches */
.wf { display: grid; gap: 8px; color: var(--wire-2); }
.sec .wf { padding: 48px 26px 26px; }
.w { display: block; background: var(--wire); border-radius: 5px; }
.w-img { min-height: 40px; border-radius: 8px; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--wire-2) calc(50% - .5px), var(--wire-2) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), var(--wire-2) calc(50% - .5px), var(--wire-2) calc(50% + .5px), transparent calc(50% + .5px)), var(--wire); }
.w-vid { position: relative; }
.w-vid::after { content: ''; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border: solid transparent; border-width: 9px 0 9px 15px; border-left-color: var(--wire-3); }
.w-h1 { height: 16px; width: 62%; background: var(--wire-3); }
.w-h2 { height: 11px; width: 38%; background: var(--wire-3); }
.w-t { height: 6px; width: 100%; }
.w-t.s { width: 64%; } .w-t.xs { width: 36%; }
.w-btn { height: 20px; width: 88px; border-radius: 7px; background: var(--wire-3); }
.w-in { height: 22px; border-radius: 6px; background: transparent; box-shadow: inset 0 0 0 1px var(--wire-2); }
.w-dot { width: 30px; height: 30px; border-radius: 50%; }
.w-c { display: grid; gap: 7px; align-content: start; min-width: 0; }
.w-c.mid { align-content: center; }
.w-c.ctr { justify-items: center; text-align: center; }
.w-row { display: flex; gap: 8px; align-items: center; }
.w-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.w-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.w-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.w-g6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.wf.hero-media { position: relative; }
.wf.hero-media > .w-img { min-height: 190px; }
.wf.hero-media > .w-c { position: absolute; left: 46px; bottom: 44px; width: 46%; }
.wf.hero-split .w-img, .wf.split .w-img { min-height: 130px; }
.wf.hero-text { padding-block: 68px 44px; }
.wf.hero-text .w-h1 { height: 22px; width: 54%; }
.wf.tiles .w-g4 > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.wf.tiles .w-img { min-height: 52px; }
.wf.compare .w-img { min-height: 96px; }
.sec .wf.band { justify-items: center; padding-block: 58px 38px; }
.wf.band { justify-items: center; }
.wf.map .w-img { min-height: 120px; }
.wf.rule > .w-row { padding: 9px 0; border-bottom: 1px solid var(--wire-2); justify-content: space-between; }
.wf.rule > .w-row:last-child { border-bottom: 0; }
.wf.cal .w-g6 { grid-template-columns: repeat(7, 1fr); gap: 5px; }
.wf.cal .w { height: 20px; }
/* a small sketch: used in library icons, variant cards and the art of the home cards */
.wf.mini { gap: 3px; padding: 0; }
.wf.mini .w-g2 { gap: 5px; } .wf.mini .w-g3, .wf.mini .w-g4, .wf.mini .w-g6 { gap: 3px; }
.wf.mini .w-c { gap: 3px; }
.wf.mini .w, .wf.mini .w-img { border-radius: 2px; }
.wf.mini .w-h1 { height: 5px; } .wf.mini .w-h2 { height: 4px; } .wf.mini .w-t { height: 2px; }
.wf.mini .w-btn { height: 5px; width: 18px; } .wf.mini .w-in { height: 6px; }
.wf.mini .w-img { min-height: 12px; background: var(--wire-2); }
.wf.mini .w-dot { width: 8px; height: 8px; border-radius: 50%; }
.wf.mini.hero-media > .w-img { min-height: 34px; } .wf.mini.hero-media > .w-c { left: 5px; bottom: 5px; }
.wf.mini.hero-text, .wf.mini.band { padding-block: 8px; }
.wf.mini .w-vid::after { border-width: 4px 0 4px 6px; }
.wf.mini.cal .w { height: 5px; } .wf.mini.cal .w-g6 { gap: 2px; }
.wf.mini.rule > .w-row { padding: 2px 0; }
.wf.art { gap: 6px; }
.wf.art .w-img { min-height: 54px; }
.wf.art .w-h1 { height: 10px; } .wf.art .w-h2 { height: 7px; } .wf.art .w-t { height: 4px; }
.wf.art .w-btn { height: 12px; width: 52px; } .wf.art .w-in { height: 14px; }
.wf.art.hero-media > .w-img { min-height: 86px; } .wf.art.hero-media > .w-c { left: 12px; bottom: 12px; }
.wf.art .w-g3, .wf.art .w-g4 { gap: 6px; }
@container (max-width: 520px) {
  .sec .wf { padding: 46px 16px 20px; }
  .w-g2 { grid-template-columns: 1fr; gap: 12px; }
  .w-g3, .w-g4 { grid-template-columns: 1fr 1fr; }
  .w-g6 { grid-template-columns: repeat(3, 1fr); }
  .wf.hero-media > .w-c { left: 28px; bottom: 30px; width: 70%; }
  .sec-tools { opacity: 1; transform: none; }
}

/* ---- agenda, commissions, account */
.addtask { display: grid; gap: 10px; margin-bottom: 8px; }
.addtask-r { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.addtask-r .input.sm, .addtask-r .select.sm { width: auto; height: 38px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.addtask-r .btn { margin-left: auto; }
.tasks { display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto auto; gap: 10px; align-items: center; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.task.done { opacity: .55; }
.task.done b { text-decoration: line-through; }
.task-b { min-width: 0; }
.task-b b { display: block; font-weight: 600; }
.task-b small { color: var(--ink-3); font-size: 13px; }
.tick { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; color: var(--panel); transition: background .2s, box-shadow .2s; }
.tick:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.task.done .tick { background: var(--ok); box-shadow: none; }
.tick .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { display: grid; gap: 6px; }
.payform, .acc { display: grid; gap: 12px; }
.acc .label.gap2 { margin-top: 20px; }
.who-n:hover, a.who:hover { color: var(--rose-strong); }

/* ---- invoices */
.inv-page { max-width: 980px; }
.inv-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.inv-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.inv-sheet { background: #fff; color: #171516; border-radius: 6px; box-shadow: var(--shadow-lg); padding: 48px 52px; max-width: 860px; margin: 0 auto; }
.inv-public { padding: 10px 0 40px; }
.inv { font-size: 14px; }
.inv-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 2px solid #171516; }
.inv-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8d8791; }
.inv-no { font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; }
.inv-meta { text-align: right; display: grid; justify-items: end; gap: 10px; }
.inv-status { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #f4f1f2; color: #57525a; }
.inv-status.paid { background: #def3e8; color: #1f7f58; } .inv-status.void { background: #fbead2; color: #a85a08; }
.inv-meta dl { display: grid; grid-template-columns: auto auto; gap: 4px 12px; margin: 0; text-align: right; }
.inv-meta dt { color: #8d8791; } .inv-meta dd { margin: 0; font-weight: 500; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; }
.inv-party { display: grid; gap: 2px; } .inv-party b { font-size: 16px; }
.inv-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8d8791; margin-bottom: 4px; }
.inv-t { width: 100%; border-collapse: collapse; margin-top: 6px; }
.inv-t th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8d8791; padding: 8px 6px; border-bottom: 1px solid #e4dfe1; font-weight: 600; }
.inv-t td { padding: 10px 6px; border-bottom: 1px solid #efeeeb; vertical-align: top; }
.inv-t .n, .inv-t th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-sum { display: grid; justify-content: end; gap: 6px; padding: 18px 6px; }
.inv-sum > div { display: grid; grid-template-columns: 180px 140px; text-align: right; gap: 12px; align-items: baseline; }
.inv-sum .inv-total { border-top: 2px solid #171516; padding-top: 8px; font-size: 18px; font-weight: 600; }
.inv-notes { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid #e4dfe1; color: #57525a; }
.inv-terms { font-size: 13px; }
.inv-in { font: inherit; width: 100%; padding: 6px 8px; border: 1px solid #e4dfe1; border-radius: 6px; background: #fbfafa; color: #171516; }
.inv-in.n { text-align: right; } .inv-in.xs { width: 64px; display: inline-block; margin-right: 4px; }
.inv-in:focus { outline: none; border-color: #171516; }
.inv-notes label { display: grid; gap: 4px; }
.inv .icon-btn { color: #8d8791; } .inv .icon-btn:hover { background: #f4f1f2; color: #171516; }
.inv .btn.ghost { background: #fff; color: #171516; box-shadow: inset 0 0 0 1px #d3ccd0; margin: 10px 0 0; }
@media (max-width: 700px) { .inv-sheet { padding: 24px 18px; } .inv-parties { grid-template-columns: 1fr; } .inv-sum > div { grid-template-columns: 1fr 1fr; } .inv-h { flex-direction: column; } .inv-meta { justify-items: start; text-align: left; } }
@media print {
  body { background: #fff; }
  body::before, .side, .top, .inv-bar, .entry-top, .entry-foot, .toast, .inv .btn, .inv .icon-btn, .inv-t th:last-child, .inv-t td:last-child:empty { display: none !important; }
  .shell { display: block; padding: 0; } .page, .inv-page, .inv-public { padding: 0; max-width: none; }
  .inv-sheet { box-shadow: none; border-radius: 0; padding: 0; max-width: none; }
  .inv-in { border: 0; background: transparent; padding: 0; }
}

/* ---- public proposal */
.pp { max-width: 1080px; margin: 0 auto; padding: 0 20px 60px; }
.pp-top { display: flex; justify-content: space-between; align-items: center; height: 72px; gap: 12px; flex-wrap: wrap; }
.pp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding: 30px 0 40px; }
.pp-hero h1 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 14px; }
.pp-hero .lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 48ch; }
.pp-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.pp-cta .btn { height: 50px; padding: 0 22px; font-size: 16px; }
.pp-cta-note { color: var(--ink-2); font-weight: 500; }
.pp-cta.end { justify-content: center; margin-top: 10px; }
.pp-design { display: grid; gap: 10px; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-lg); padding: 10px; transition: transform .5s var(--ease); }
.pp-design:hover { transform: translateY(-4px) rotate(-.5deg); }
.pp-design img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.pp-design span { display: grid; padding: 4px 6px 6px; } .pp-design small { color: var(--ink-3); }
.vid { aspect-ratio: 16 / 9; border-radius: var(--r-2); overflow: hidden; background: var(--soft); border: 1px solid var(--edge); margin: 16px 0; }
.vid iframe { width: 100%; height: 100%; border: 0; }
.ready-vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.ready-vids .vid { margin: 0; }
.lp-card .done .btn { margin-top: 8px; }
.pp-block { padding: 28px 0; border-top: 1px solid var(--line); }
.pp-block h2 { font-size: 24px; margin-bottom: 8px; }
.pp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pp-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.pp-page { display: grid; gap: 4px; } .pp-page b { margin-top: 6px; } .pp-page small { color: var(--ink-3); font-size: 12.5px; }
.pp-frame { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.pp-stack { padding: 8px; display: grid; gap: 6px; }
.pp-sec { padding: 6px; border-radius: 6px; background: var(--field); }
.pp-opts { display: grid; gap: 8px; margin-top: 12px; }
.pp-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); cursor: pointer; }
.pp-opt.locked { cursor: default; opacity: .8; }
.pp-opt b { display: block; font-weight: 600; } .pp-opt small { color: var(--ink-2); font-size: 13px; }
.pp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pp-opt:has(input:checked) { border-color: var(--ink); background: var(--field); }
.pp-opt:has(input:checked) .sw { background: var(--ink); } .pp-opt:has(input:checked) .sw::after { transform: translateX(16px); }
.pp-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pp-total { padding: 20px; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); display: grid; gap: 4px; }
.pp-total small { color: var(--ink-2); }
.pp-how { grid-column: 1 / -1; padding: 22px; border-radius: var(--r-2); background: var(--rose); color: #171516; }
.pp-how ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; } .pp-how .muted { color: #5d2030; margin-top: 10px; }
.pp-sum .pp-cta { grid-column: 1 / -1; }
@media (max-width: 800px) { .pp-hero, .pp-two, .pp-sum { grid-template-columns: 1fr; } }

/* ---- client project */
.cl { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }
.cl-top { display: flex; justify-content: space-between; align-items: center; height: 72px; gap: 12px; flex-wrap: wrap; }
.cl-stages ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cl-stages li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--panel); border: 1px solid var(--edge); font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.cl-stages li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-style: normal; font-size: 12px; font-weight: 600; }
.cl-stages li.now { color: var(--ink); border-color: var(--rose-strong); } .cl-stages li.now i { background: var(--rose-strong); color: #fff; }
.cl-stages li.done { color: var(--ink-2); } .cl-stages li.done i { background: var(--ok); color: #fff; } .cl-stages li.done .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.cl-stages p { margin-top: 10px; }
.cl-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; align-items: start; }
.cl-chat { display: grid; gap: 12px; }
.cl-b { padding: 14px 16px; border-radius: 18px; max-width: 56ch; font-size: 16px; line-height: 1.5; }
.cl-b.them { background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); border-top-left-radius: 6px; }
.cl-b.them.hi { background: var(--rose); color: #171516; border-color: transparent; }
.cl-b.you { background: var(--ink); color: var(--panel); border-top-right-radius: 6px; justify-self: end; }
.cl-where { margin-top: 6px; }
.cl-answer { display: grid; gap: 10px; }
.cl-answer .area { font-size: 16px; min-height: 96px; background: var(--panel); }
.cl-next { display: flex; gap: 8px; justify-content: flex-end; }
.cl-drop { display: grid; justify-items: center; gap: 6px; padding: 28px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: var(--panel); cursor: pointer; text-align: center; transition: border-color .2s; }
.cl-drop:hover { border-color: var(--ink); } .cl-drop small { color: var(--ink-3); }
.cl-files { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-side { position: sticky; top: 16px; display: grid; gap: 10px; }
.cl-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-side .frame { max-width: none; }
.cl-side .stack { gap: 4px; }
.cl-sec { position: relative; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.cl-sec .wf { padding: 36px 20px 18px; }
.cl-sec.on { box-shadow: inset 0 0 0 2px var(--rose-strong); background: var(--field); }
.cl-sec.has .cl-tag { background: var(--ok-soft); color: var(--ok); }
.cl-tag { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; background: var(--soft); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.cl-tag .ic { width: 11px; height: 11px; stroke-width: 2.6; }
@media (max-width: 900px) { .cl-main { grid-template-columns: 1fr; } .cl-side { position: static; } }

.tile.off { opacity: .6; }
.tile-del { cursor: pointer; justify-self: start; margin-bottom: 6px; }
.thumbpick { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: stretch; }
.thumbpick .tile-thumb { margin: 0; }
.thumbpick .cl-drop { padding: 16px; }
@media (max-width: 600px) { .thumbpick { grid-template-columns: 1fr; } }

/* ---- timeline */
.tl { padding: 18px 20px; border-radius: var(--r-2); background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); margin-bottom: 18px; }
.tl-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.tl-legend .tl-dot { width: 10px; height: 10px; border-radius: 50%; margin-left: 10px; } .tl-legend .tl-dot:first-child { margin-left: 0; }
.tl-dot.studio { background: var(--ok); } .tl-dot.client { background: var(--rose-strong); }
.tl-clock { margin-left: auto; font-weight: 600; color: var(--ink); }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; }
.tl-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 0 0 18px; position: relative; }
.tl-list li::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tl-list li:last-child::before { display: none; }
.tl-list li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); box-shadow: 0 0 0 3px var(--panel); color: #fff; font-style: normal; }
.tl-list li.studio i { background: var(--ok-soft); } .tl-list li.client i { background: var(--rose-soft); }
.tl-list li.now i { background: var(--rose-strong); box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--rose-soft); }
.tl-list li.done i { background: var(--ok); } .tl-list li i .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.tl-list li b { display: block; font-weight: 600; margin: 2px 0 2px; } .tl-list li p { color: var(--ink-2); font-size: 14px; max-width: 70ch; }
.tl-list li.done b, .tl-list li.done p { opacity: .65; }
.tl-list li.now b { color: var(--rose-strong); }
.cl-tl { margin-top: 24px; } .cl-tl summary { cursor: pointer; padding: 10px 0; }
.tile-st { display: inline-flex; align-items: center; gap: 4px; }
.tile.open { cursor: pointer; }
.icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; } .icon-btn.sm .ic { width: 14px; height: 14px; }
.pitch-t { white-space: pre-wrap; margin-top: 6px; line-height: 1.55; }
.mono { font-family: var(--mono); font-size: 13px; }

.lead .area.sm { min-height: 60px; }
.contact-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; max-width: 360px; }
.contact-edit .input.sm { height: 32px; font-size: 13px; }
.lead.won { border-color: var(--ok); } .lead.lost, .lead.cold { opacity: .7; }
.copy { cursor: copy; border-bottom: 1px dashed var(--line-2); }
.panels .acc { align-content: start; }

.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0; }
.scores div { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: var(--soft); }
.scores b { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.scores small { color: var(--ink-3); font-size: 11px; text-align: center; }
.ok-text { color: var(--ok); }
.qa-row.chk { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.qa-row.chk .chip { width: 26px; justify-content: center; padding: 0; }
.pj-head .seg { flex-wrap: wrap; }

/* ---- project sheet, client cycle */
.pj-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pj-head > div:first-child { display: grid; gap: 4px; }
.texts { display: grid; gap: 10px; }
.txt.approved { opacity: .75; } .txt.changes { border-color: var(--warn); }
.warn-text { color: var(--warn); }
.qa-list { display: grid; gap: 8px; }
.cl-thread { display: grid; gap: 8px; margin-bottom: 12px; }
.cl-thread .cl-b { max-width: 70ch; } .cl-thread small { display: block; opacity: .7; font-size: 12px; margin-bottom: 4px; }
.cl-msgs { margin-top: 28px; }
.cl-text { padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow); font-size: 16px; line-height: 1.6; white-space: pre-wrap; }
.big-btn { height: 52px; padding: 0 22px; font-size: 16px; justify-self: start; }
.cl-chat .panel { display: grid; gap: 6px; }

/* ---- production sheets */
.qa { display: grid; gap: 10px; }
.qa-row small { color: var(--ink-3); display: block; margin-bottom: 2px; }
.secret { display: flex; gap: 8px; } .secret .input { min-width: 0; }

/* ---- toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 200; translate: -50% 0; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--panel); font-weight: 500; box-shadow: var(--shadow-lg); animation: rise .4s var(--ease) both; }

/* ---- smaller screens */
.b-dock { display: none; }
@media (max-width: 1240px) {
  .b { grid-template-columns: 248px minmax(0, 1fr) 296px; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); padding: 8px 8px 84px; }
  .top { display: flex; }
  .side { position: fixed; z-index: 30; top: auto; bottom: 8px; left: 8px; right: 8px; height: auto; flex-direction: row; padding: 6px; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: visible; }
  .side .brand, .side .label, .side-foot, .start { display: none; }
  .snav { display: flex; flex: 1; justify-content: space-around; }
  .snav a { flex-direction: column; gap: 3px; height: 50px; padding: 0 10px; font-size: 12px; justify-content: center; }
  .snav a i { display: none; }
  .page { padding: 12px 8px 40px; }
  .b { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 100dvh; }
  .sheet { inset: 0; border-radius: 0; border: 0; }
  .sheet-bar { left: 0; right: 0; bottom: 0; border-radius: 0; }
  .b-main { overflow: visible; }
  .b-bar { position: static; flex-wrap: wrap; }
  .b-saved { display: none; }
  .b-side { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; top: auto; max-height: 80dvh; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); transform: translateY(105%); transition: transform .5s var(--ease); padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .b-side.open { transform: none; }
  .b-dock { position: fixed; z-index: 45; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 6px; border-radius: 18px; background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-lg); }
  .canvas { padding: 4px 0 150px; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row-a { justify-content: flex-start; }
  .prow { grid-template-columns: 1fr; }
  .prow-prices { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
  .prow-prices .input { width: 100%; }
  .card { padding: 36px 24px 28px; }
  .hero-art .sheet-b { display: none; }
  .hero-art .sheet-a { width: 220px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- the client's page: clean and white, one friendly question at a time, three answers to tap and room for their
   own. Everything that moves is a transform or an opacity. */
body[data-screen='client'] { background: var(--panel); }
body[data-screen='client']::before { display: none; }
.cx { width: min(1120px, 100% - 40px); margin: 0 auto; padding-bottom: 72px; }
.cx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.cx-top-r { display: flex; align-items: center; gap: 10px; }
.cx-biz { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.cx-stages { display: grid; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cx-stages ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cx-stages li { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.cx-stages li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-style: normal; font-size: 11.5px; font-weight: 600; }
.cx-stages li.now { color: var(--ink); border-color: var(--ink); } .cx-stages li.now i { background: var(--ink); color: var(--panel); }
.cx-stages li.done { color: var(--ink-2); } .cx-stages li.done i { background: var(--ok); color: #fff; } .cx-stages li.done .ic { width: 11px; height: 11px; stroke-width: 2.8; }
.cx-stages p { font-size: 13.5px; color: var(--ink-3); }

.cx-hello { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px); }
.cx-hello-t { display: grid; gap: 22px; justify-items: start; animation: rise .7s var(--ease) both; }
.cx-hello .tv { animation: rise .8s .1s var(--ease) both; }
.cx-q { font-size: clamp(30px, 3.8vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.cx-q.big { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -.055em; line-height: .96; }
.cx-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }

.cx-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(28px, 4vw, 56px); }
.cx-body.later { grid-template-columns: minmax(0, 720px); }
.cx-side { position: sticky; top: 20px; display: grid; gap: 18px; }
.cx-meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cx-meter i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cx-chapters { display: grid; gap: 2px; }
.cx-ch { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; text-align: left; color: var(--ink-2); }
.cx-ch i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.cx-ch.done i { background: var(--ok); border-color: var(--ok); color: #fff; } .cx-ch .ic { width: 11px; height: 11px; stroke-width: 2.8; }
.cx-ch b { font-weight: 600; font-size: 15.5px; letter-spacing: -.015em; }
.cx-ch small { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.cx-ch:hover, .cx-ch.on { background: var(--soft); color: var(--ink); }
.cx-ch.on:not(.done) i { border-color: var(--ink); }
.cx-help { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.cx-help p { color: var(--ink-2); }

.cx-main { min-width: 0; }
.cx-step { display: grid; gap: 16px; max-width: 680px; animation: rise .5s var(--ease) both; }
.cx-count { font: 500 12.5px/1 var(--mono); color: var(--ink-3); }
.cx-sub { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); max-width: 54ch; margin-top: -4px; }
.cx-opts { display: grid; gap: 10px; margin-top: 8px; }
.cx-opt { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(40, 20, 28, .04); transition: border-color .2s, transform .25s var(--ease); }
.cx-opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.cx-k { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); font: 600 13px/1 var(--mono); color: var(--ink-2); }
.cx-opt b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.cx-opt > .ic { opacity: 0; }
.cx-opt[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--panel); }
.cx-opt[aria-pressed='true'] .cx-k { background: color-mix(in srgb, var(--panel) 18%, transparent); color: inherit; }
.cx-opt[aria-pressed='true'] > .ic { opacity: 1; }
.cx-opt.own { border-style: dashed; }
.cx-own { display: grid; gap: 10px; animation: rise .35s var(--ease) both; }
.cx-own .area { font-size: 16.5px; min-height: 84px; }
.cx-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.cx-nav > span { display: flex; align-items: center; gap: 16px; flex-direction: row-reverse; }
.cx-skip { font-weight: 500; font-size: 14.5px; color: var(--ink-3); border-bottom: 1px solid transparent; }
.cx-skip:hover { color: var(--ink); border-color: var(--ink); }

.cx-link { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; }
.cx-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.cx-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.cx-list li > .ic { color: var(--ink-3); }
.cx-list li > span { display: grid; gap: 2px; min-width: 0; }
.cx-list b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-list small { color: var(--ink-3); font-size: 13px; }
.cx-load { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 4px; }
.cx-load i { display: block; height: 100%; background: var(--rose-strong); transform: scaleX(0); transform-origin: left; }
.cx-drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px; border-radius: 14px; border: 1.5px dashed var(--line-2); color: var(--ink-3); cursor: pointer; transition: border-color .2s, color .2s; }
.cx-drop:hover, .cx-drop.over { border-color: var(--ink); color: var(--ink); }

.cx-plan { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 12px; margin-top: 6px; }
.cx-plan-site, .cx-host { padding: 20px; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.cx-plan-site > b { font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.cx-price { font-size: 34px; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.cx-price small, .cx-plan-site > small { font-size: 13.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.cx-plan-site details { margin-top: 8px; font-size: 14px; } .cx-plan-site summary { cursor: pointer; font-weight: 500; } .cx-plan-site details p { margin-top: 6px; color: var(--ink-2); line-height: 1.5; }
.cx-host { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; background: var(--rose-soft); border-color: transparent; }
.cx-host-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); color: var(--rose-ink); }
.cx-host > div { display: grid; gap: 8px; }
.cx-host > div > b { font-size: 17px; letter-spacing: -.02em; } .cx-host p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.cx-h2 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-top: 14px; }
.cx-addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; text-align: left; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); transition: border-color .2s; }
.cx-addon > span:first-child { display: grid; gap: 4px; }
.cx-addon b { font-weight: 600; letter-spacing: -.015em; } .cx-addon small { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.cx-addon-r { display: grid; gap: 8px; justify-items: end; }
.cx-addon-r em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .cx-addon-r em small { font-weight: 400; color: var(--ink-3); }
.cx-addon:hover { border-color: var(--ink); }
.cx-addon[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cx-addon[aria-pressed='true'] .sw { background: var(--ink); } .cx-addon[aria-pressed='true'] .sw::after { transform: translateX(16px); }
.cx-addon.line { align-items: center; padding: 12px 14px; }
.cx-total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.cx-total b { font-size: 28px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cx-note { font-size: 13.5px; color: var(--ink-3); }

.cx-big-ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); } .cx-big-ok .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.cx-more { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 8px; } .cx-more p { color: var(--ink-2); }
.cx-review summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.cx-review ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.cx-review li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cx-review li small { grid-column: 1 / -1; color: var(--ink-3); font-size: 13px; } .cx-review li span { font-weight: 500; }

/* a tutorial that plays on its own: a small scene shows the gesture until the team records the real video */
.tv { margin: 0; display: grid; gap: 10px; }
.tv-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.tv-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.tv-scene { position: absolute; inset: 16% 18%; display: grid; gap: 10px; align-content: center; }
.tv-scene i { display: block; position: relative; font-style: normal; }
.tv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(23, 21, 22, .12); }
.tv-bar i { display: block; height: 100%; background: #171516; transform-origin: left; animation: tvbar 7s linear infinite; }
@keyframes tvbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tv figcaption { display: flex; align-items: center; gap: 10px; font-size: 14.5px; } .tv figcaption b { font-weight: 600; letter-spacing: -.015em; }
.tv-row { height: 26px; border-radius: 9px; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 2px rgba(40, 20, 28, .1); overflow: hidden; }
.tv-row.hit::after { content: ''; position: absolute; inset: 0; background: #171516; opacity: 0; animation: tvhit 7s var(--ease) infinite; }
@keyframes tvhit { 0%, 40% { opacity: 0; } 48%, 90% { opacity: 1; } 100% { opacity: 0; } }
.tv-scene .tv-tap { position: absolute; left: 68%; top: 82%; width: 26px; height: 26px; border-radius: 50%; background: rgba(23, 21, 22, .32); box-shadow: 0 0 0 2px #fff; animation: tvtap 7s var(--ease) infinite; }
@keyframes tvtap { 0% { opacity: 0; transform: translate(0, 0); } 14% { opacity: 1; transform: translate(0, 0); } 38% { opacity: 1; transform: translate(-34px, -46px); } 44% { opacity: 1; transform: translate(-34px, -46px) scale(.78); } 52%, 84% { opacity: 1; transform: translate(-34px, -46px); } 100% { opacity: 0; transform: translate(-34px, -46px); } }
.tv-field { height: 28px; border-radius: 99px; background: rgba(255, 255, 255, .95); overflow: hidden; }
.tv-field b { position: absolute; left: 12px; right: 28%; top: 10px; height: 8px; border-radius: 8px; background: #171516; transform-origin: left; animation: tvtype 7s var(--ease) infinite; }
@keyframes tvtype { 0%, 8% { transform: scaleX(0); } 40%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.tv-chip { height: 20px; width: 64%; border-radius: 8px; background: rgba(255, 255, 255, .95); opacity: 0; animation: tvshow 7s var(--ease) infinite; }
.tv-chip.two { width: 44%; animation-delay: .5s; }
@keyframes tvshow { 0%, 46% { opacity: 0; transform: translateY(6px); } 56%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.tv-files .tv-scene { inset: 14% 16%; display: block; }
.tv-scene .tv-box { position: absolute; inset: 0; border-radius: 14px; border: 2px dashed rgba(23, 21, 22, .38); }
.tv-scene .tv-file { position: absolute; top: 26%; width: 22%; aspect-ratio: 4 / 5; border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 12px -6px rgba(40, 20, 28, .35); opacity: 0; animation: tvdrop 7s var(--ease) infinite; }
.tv-file.a { left: 12%; } .tv-file.b { left: 39%; animation-delay: .5s; } .tv-file.c { left: 66%; animation-delay: 1s; }
@keyframes tvdrop { 0%, 10% { opacity: 0; transform: translateY(-70%) rotate(-6deg); } 28%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.tv-sw { height: 24px; border-radius: 9px; background: rgba(255, 255, 255, .95); }
.tv-sw b { position: absolute; right: 8px; top: 6px; width: 22px; height: 12px; border-radius: 12px; background: rgba(23, 21, 22, .2); }
.tv-sw b::after { content: ''; position: absolute; left: 2px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: #171516; animation: tvon 7s var(--ease) infinite; }
.tv-sw.b b::after { animation-delay: .7s; } .tv-sw.c b::after { animation-delay: 1.4s; }
@keyframes tvon { 0%, 14% { transform: none; } 24%, 86% { transform: translateX(10px); } 100% { transform: none; } }
.tv-sum { height: 10px; width: 52%; border-radius: 8px; background: #171516; transform-origin: left; animation: tvtype 7s var(--ease) infinite; animation-delay: 1.6s; }

@media (max-width: 900px) {
  .cx-hello, .cx-body { grid-template-columns: minmax(0, 1fr); }
  .cx-side { position: static; gap: 12px; }
  .cx-chapters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .cx-ch { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 10px; gap: 6px; }
  .cx-ch small, .cx-side .tv, .cx-help { display: none; }
  .cx-ch b { font-size: 13.5px; }
  .cx-plan, .cx-addons, .cx-link { grid-template-columns: minmax(0, 1fr); }
  .cx-stages li span { display: none; } .cx-stages li { padding: 5px; } .cx-stages li.now span { display: inline; } .cx-stages li.now { padding-right: 12px; }
}

@media (max-width: 520px) { .cx-biz { display: none; } }

/* ---- the client's page, second pass: their team always at the side (estimated delivery, stages with dates, what is
   missing, the messages), their account (details, payments, people) and the payment at the end */
.cx { width: min(1360px, 100% - 40px); }
.cx-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; border-bottom: 1px solid var(--line); }
.cx-tabs { display: flex; gap: 4px; justify-self: center; }
.cx-tabs button { padding: 9px 16px; border-radius: 99px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.cx-tabs button:hover { color: var(--ink); background: var(--soft); }
.cx-tabs button[aria-pressed='true'] { background: var(--ink); color: var(--panel); }
.cx-top-r { gap: 6px; }
.cx-bell { position: relative; }
.cx-bell i { position: absolute; top: 1px; right: -1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--rose-strong); color: #fff; font: 600 10.5px/17px var(--sans); font-style: normal; text-align: center; }
.cx-me { display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; border: 1px solid var(--line); text-align: left; transition: border-color .2s; }
.cx-me:not([disabled]):hover { border-color: var(--ink); }
.cx-me i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose-ink); font-style: normal; font-weight: 600; font-size: 13.5px; }
.cx-me span { display: grid; line-height: 1.2; } .cx-me b { font-size: 13.5px; font-weight: 600; } .cx-me small { font-size: 12px; color: var(--ink-3); }
.cx-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 48px); align-items: start; }
.cx-left { min-width: 0; }
.cx-body { grid-template-columns: 232px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
.cx-hello { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.cx-q.big { font-size: clamp(44px, 5vw, 76px); }

.cx-team { position: sticky; top: 16px; margin-block: clamp(28px, 4vw, 56px) 24px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 2px 4px rgba(40, 20, 28, .04), 0 30px 60px -40px rgba(50, 50, 93, .3); overflow: hidden; }
.tm-due { display: grid; gap: 4px; }
.tm-due b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.tm-due b::first-letter { text-transform: uppercase; }
.tm-due small { font-size: 13px; color: var(--ink-3); }
.tm-stages { list-style: none; margin: 0; padding: 0; display: grid; }
.tm-stages li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; position: relative; }
.tm-stages li::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tm-stages li:last-child { padding-bottom: 0; } .tm-stages li:last-child::before { display: none; }
.tm-stages li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--panel); display: grid; place-items: center; position: relative; }
.tm-stages li.done i { background: var(--ok); border-color: var(--ok); color: #fff; } .tm-stages .ic { width: 11px; height: 11px; stroke-width: 2.8; }
.tm-stages li.now i { border-color: var(--ink); box-shadow: 0 0 0 4px var(--rose-soft); } .tm-stages li.now i::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tm-stages span { display: grid; gap: 1px; } .tm-stages b { font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; } .tm-stages small { font-size: 12.5px; color: var(--ink-3); }
.tm-stages li:not(.done):not(.now) b { color: var(--ink-2); font-weight: 500; }
.tm-todo { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); } .tm-todo > div { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-chat { flex: 1; min-height: 0; display: grid; grid-template-rows: auto minmax(110px, 1fr) auto; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.tm-thread { overflow-y: auto; display: grid; gap: 8px; align-content: start; padding-right: 2px; }
.tm-thread .cl-b { max-width: 100%; font-size: 14.5px; padding: 10px 12px; border-radius: 14px; } .tm-thread .cl-b small { display: block; opacity: .7; font-size: 11.5px; margin-bottom: 3px; }
.tm-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.tm-form .area { min-height: 44px; font-size: 14.5px; }

.cx-acc { display: grid; gap: 44px; padding-block: clamp(28px, 4vw, 56px); max-width: 760px; }
.cx-sec { display: grid; gap: 14px; }
.cx-sec-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .cx-sec-h h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; }
.cx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cx-form .wide { grid-column: 1 / -1; }
.cx-form .field { display: grid; gap: 6px; }
.cx-person { display: grid; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); margin-top: 6px; }
.cx-opt b small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; letter-spacing: 0; opacity: .75; }
.cx-row-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cx-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cx-pay > div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.cx-pay b { font-size: 32px; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; } .cx-pay small { font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.cx-note.warn { color: var(--warn); }
.cx-addon[disabled] { opacity: .6; pointer-events: none; }

@media (max-width: 1180px) {
  .cx-shell { grid-template-columns: minmax(0, 1fr); }
  .cx-team { position: static; max-height: none; margin-top: 0; }
  .tm-thread { max-height: 320px; }
}
@media (max-width: 900px) {
  .cx-top { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding-top: 14px; row-gap: 8px; }
  .cx-tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; padding-bottom: 10px; }
  .cx-me span { display: none; } .cx-me { padding: 5px; }
  .cx-hello, .cx-body { grid-template-columns: minmax(0, 1fr); }
  .cx-form { grid-template-columns: minmax(0, 1fr); }
}

/* ---- the sign-up from the website: three questions, one at a time, in the voice of the client's own page */
.st-main { display: grid; gap: 18px; align-content: start; max-width: 880px; padding-block: clamp(36px, 9vh, 120px) 48px; }
.st-form { display: grid; gap: 14px; margin-top: 8px; }
.st-in { width: 100%; height: auto; padding: 10px 0 12px; background: none; border: 0; border-bottom: 2px solid var(--line-2); border-radius: 0; font-size: clamp(24px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.035em; transition: border-color .2s; }
.st-in:focus { outline: none; border-color: var(--ink); }
.st-in::placeholder { color: var(--ink-3); opacity: .55; }
.st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-err { color: var(--warn); font-weight: 600; min-height: 1.5em; }
.st-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.st-note { color: var(--ink-3); font-size: 14.5px; }

/* ---- settings: a menu of their own, one subject per page, the save button at the end of each card */
.snav .set-out { height: 31px; width: 100%; padding: 0 9px; display: flex; align-items: center; gap: 10px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: 14px; text-align: left; }
.snav .set-out:hover { color: var(--ink); background: var(--soft); }
.snav .set-out .ic { width: 16px; height: 16px; color: var(--ink-3); }
.snav .set-exit { margin-top: 14px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; padding-top: 2px; }
.set-card { display: grid; gap: 22px; max-width: 1080px; }
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.set-sep { border: 0; border-top: 1px solid var(--line); margin: 0; }
.set-h { display: grid; gap: 4px; } .set-h h3 { font-size: 18px; } .set-h p { color: var(--ink-3); font-size: 13.5px; }
.set-save { display: flex; justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--line); }
.hint { font: 400 12.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.set-toggles { display: grid; gap: 12px; max-width: 560px; }
.set-list { display: grid; }
.set-list > div { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.set-list > div:last-child { border-bottom: 0; }
.set-who { display: grid; gap: 2px; min-width: 0; } .set-who b { font-weight: 600; } .set-who small { color: var(--ink-3); font-size: 13px; overflow-wrap: anywhere; }
.set-who code { font: 12px var(--mono); }
.set-state { margin-left: auto; flex: none; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--soft); color: var(--ink-2); }
.set-state.on { background: var(--ok-soft); color: var(--ok); }
.set-list .btn { margin-left: auto; }
.set-code { margin: 0; font: 13px/1.5 var(--mono); padding: 12px 14px; border-radius: 12px; background: var(--soft); overflow-x: auto; white-space: pre; }
.br-web { display: flex; align-items: stretch; }
.br-web em { display: grid; place-items: center; padding: 0 12px; font: 500 14px var(--sans); font-style: normal; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-right: 0; border-radius: var(--r) 0 0 var(--r); }
.br-web .input { border-radius: 0 var(--r) var(--r) 0; }
.br-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.br-slot { display: grid; gap: 8px; align-content: start; justify-items: start; }
.br-l { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.br-i { display: inline-grid; color: var(--ink-3); cursor: help; } .br-i .ic { width: 15px; height: 15px; }
.br-drop { width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--soft); border: 1px dashed var(--line-2); display: grid; place-items: center; align-content: center; gap: 4px; color: var(--ink-3); transition: border-color .2s, background .2s; overflow: hidden; }
.br-drop:hover { border-color: var(--ink); background: var(--field); }
.br-drop .ic { width: 28px; height: 28px; }
.br-drop img { max-width: 78%; max-height: 78%; object-fit: contain; }
.br-drop span { font-weight: 600; color: var(--ink-2); } .br-drop small { font-size: 12px; }
.br-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.br-color { position: relative; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.br-color input[type='color'] { position: absolute; left: 0; top: 0; width: 46px; height: 46px; opacity: 0; cursor: pointer; }
.br-dot { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--ink-3); }
.br-color b { display: block; font-size: 14.5px; } .br-color small { display: block; font-size: 12.5px; color: var(--ink-3); }
.br-fonts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.br-font { display: grid; text-align: left; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.br-font:hover { border-color: var(--line-2); }
.br-font[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.br-font span { padding: 18px 18px 14px; background: var(--soft); display: grid; gap: 4px; }
.br-font b { font-size: 36px; line-height: 1; font-weight: 600; } .br-font em { font-style: normal; font-size: 13px; }
.br-font small { padding: 10px 18px; font-size: 12.5px; display: flex; align-items: center; justify-content: space-between; } .br-font small .ic { width: 15px; height: 15px; }
.ff-default b { font-family: var(--sans); } .ff-friendly b { font-family: var(--hand); font-weight: 700; } .ff-tech b { font-family: var(--mono); font-weight: 500; }
.tu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tu { margin: 0; display: grid; gap: 8px; } .tu figcaption { font-weight: 600; }
.tu-vid { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--soft); } .tu-vid iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .set-grid, .br-slots, .br-colors, .br-fonts { grid-template-columns: minmax(0, 1fr); } }

/* ---- the logo, drawn by Brian: GOOD on top, SITES small, ONLY below. His eyeless version is the drawing, painted in the
   text colour; the pupils in the O's are two dots of the same colour that look one way and then the other (positions
   measured on his file), so touching the ring never shows. Only the pupils move, with transform. */
.logo { position: relative; display: inline-block; height: 42px; aspect-ratio: 681.1 / 568.9; flex: none; vertical-align: middle; }
.logo .lg-art { position: absolute; inset: 0; background: currentColor; -webkit-mask: url(/img/brand/logo-plain.svg) center / contain no-repeat; mask: url(/img/brand/logo-plain.svg) center / contain no-repeat; }
.logo .lg-eye { position: absolute; top: 24.5%; left: 33%; width: 4.7%; height: 5.6%; border-radius: 50%; background: currentColor; animation: logo-look 5s ease-in-out infinite; }
.logo .lg-eye + .lg-eye { left: 57.72%; }
@keyframes logo-look { 0%, 20% { transform: translateX(0); } 32%, 70% { transform: translateX(72%); } 82%, 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .logo .lg-eye { animation: none; } }
@media (forced-colors: active) { .logo .lg-art, .logo .lg-eye { forced-color-adjust: none; background: CanvasText; } }

/* ---- ideas taken from Airo: the site taking shape beside the questions, what is happening now, the domain tab, the one-box start */
.pv { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pv-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.pv-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid var(--line); background: var(--soft); }
.pv-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.pv-bar span { margin-left: 6px; font: 500 11.5px var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; }
.pv-head img { height: 22px; width: auto; max-width: 90px; object-fit: contain; }
.pv-head b { font-size: 12.5px; font-weight: 700; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.pv-head span { display: flex; gap: 6px; overflow: hidden; } .pv-head em { font-style: normal; font-size: 10px; color: var(--ink-3); white-space: nowrap; }
.pv-hero { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: linear-gradient(135deg, var(--rose-soft), var(--wash-2)); display: grid; place-items: end start; }
.pv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .55; }
.pv-hero strong { position: relative; margin: 10px 12px; font-size: 18px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); text-wrap: balance; }
.pv-meta { font-size: 12px; color: var(--ink-3); }
.tm-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.tm-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-strong); align-self: center; animation: tm-pulse 1.6s ease-in-out infinite; }
.tm-now span { font-size: 12px; color: var(--ink-3); } .tm-now b { flex-basis: 100%; font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; }
@keyframes tm-pulse { 50% { opacity: .25; } }
.dm-host { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--ok-soft); color: var(--ink); }
.dm-host .ic { color: var(--ok); margin-top: 2px; } .dm-host p { margin-top: 2px; color: var(--ink-2); }
.dm-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dm-state { margin-left: auto; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); }
.dm-state.on { background: var(--ok-soft); color: var(--ok); }
.st-box { resize: none; min-height: 3.6em; line-height: 1.2; }
.st-ex { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .tm-now i { animation: none; } }
@media (max-width: 620px) { .dm-modes { grid-template-columns: minmax(0, 1fr); } }
