/* Blackkey Agent: sign-up, payment and invite pages. Dark, like the workspace. */
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Noto Sans Georgian'; src: url('/fonts/noto-sans-georgian-georgian-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #000; --panel: #161618; --panel-2: #1f1f22; --field: #232326; --line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.18);
  --ink: #f5f5f7; --ink-2: #c7c7cc; --ink-3: #98989d; --ok: #30d158; --warn: #ffd60a; --err: #ff6961;
  --r: 18px; --font: 'Manrope', 'Noto Sans Georgian', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
:lang(ka) body, :lang(ka) { font-family: 'Noto Sans Georgian', 'Manrope', system-ui, sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: rgba(255,255,255,.25); }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }

.su-top { max-width: 1040px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.su-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.su-brand svg { width: 30px; height: 18px; }
.su-brand em { font-style: normal; color: var(--ink-3); }
.su-brand b { font-weight: 700; color: var(--ink-2); margin-left: 2px; }
.su-lang { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.su-lang button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-3); cursor: pointer; }
.su-lang button.on { background: #fff; color: #000; }

.su-main { max-width: 1040px; margin: 0 auto; padding: 12px 20px 64px; }
.su-head { text-align: center; max-width: 640px; margin: 18px auto 30px; }
.su-step { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 10px; }
.su-head h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
.su-head p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; text-wrap: pretty; }

.su-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 0 auto; }
.su-kind { position: relative; text-align: left; cursor: pointer; border: 0; padding: 24px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .12s; }
.su-kind:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.su-kind:active { transform: scale(.99); }
.su-kind.on { box-shadow: inset 0 0 0 2px #fff; }
.su-kind h2 { margin: 0 0 6px; font-size: 21px; font-weight: 800; }
.su-kind p { margin: 0; color: var(--ink-3); font-size: 15px; }
.su-kind .price { margin-top: 16px; font-family: 'Manrope', sans-serif; font-size: 15px; color: var(--ink-2); }
.su-kind .price b { font-size: 26px; color: var(--ink); font-weight: 800; }
.su-kind .dot { position: absolute; right: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); }
.su-kind.on .dot { background: #fff; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #000; }

.su-card { max-width: 760px; margin: 14px auto 0; padding: 24px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.su-card.narrow { max-width: 560px; }
.su-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.su-card .sub { margin: 0 0 16px; color: var(--ink-3); font-size: 15px; }
.su-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.su-row:first-of-type { border-top: 0; }
.su-row .l b { display: block; font-weight: 700; }
.su-row .l small { color: var(--ink-3); font-size: 14px; }
.su-stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--field); }
.su-stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--panel-2); font-size: 20px; font-weight: 700; cursor: pointer; }
.su-stepper button:disabled { opacity: .35; cursor: default; }
.su-stepper input { width: 56px; text-align: center; border: 0; background: none; font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; -moz-appearance: textfield; }
.su-stepper input::-webkit-outer-spin-button, .su-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.su-switch { position: relative; width: 52px; height: 32px; flex: none; }
.su-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.su-switch i { position: absolute; inset: 0; border-radius: 999px; background: #3a3a3c; transition: background .2s; pointer-events: none; }
.su-switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .2s; }
.su-switch input:checked + i { background: var(--ok); }
.su-switch input:checked + i::after { transform: translateX(20px); }
.su-switch input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }

.su-total { margin-top: 6px; padding: 18px 20px; border-radius: 16px; background: var(--field); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.su-total .calc { color: var(--ink-2); font-family: 'Manrope', sans-serif; font-size: 15px; }
.su-total .sum { font-family: 'Manrope', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.su-total .sum small { font-size: 15px; color: var(--ink-3); font-weight: 700; }
.su-note { margin: 10px 2px 0; color: var(--ink-3); font-size: 14px; }

.su-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px auto 0; max-width: 760px; }
.su-actions.left { justify-content: flex-start; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .12s, background .2s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8ed; }
.btn-ghost { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #2a2a2e; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

.su-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.su-form .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.fld .ctl { display: flex; align-items: center; height: 52px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px; gap: 8px; transition: box-shadow .2s; }
.fld .ctl:focus-within { box-shadow: inset 0 0 0 2px #fff; }
.fld .ctl.bad { box-shadow: inset 0 0 0 2px var(--err); }
.fld input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; font-size: 16px; }
.fld .pre { color: var(--ink-3); font-family: 'Manrope', sans-serif; font-weight: 700; }
.fld .err { margin: 6px 2px 0; color: var(--err); font-size: 14px; min-height: 0; }
.su-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.su-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #fff; flex: none; }
.su-check a { color: var(--ink); }
.su-code { display: flex; gap: 10px; align-items: flex-end; }
.su-code .fld { flex: 1; }
.su-msg { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 15px; display: none; }
.su-msg.on { display: block; }
.su-msg.err { background: rgba(255,105,97,.12); color: #ffb3ae; }
.su-msg.ok { background: rgba(48,209,88,.12); color: #8ff0a8; }

.su-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,214,10,.14); color: var(--warn); font-weight: 800; font-size: 14px; }
.su-badge.ok { background: rgba(48,209,88,.14); color: var(--ok); }
.su-badge.err { background: rgba(255,105,97,.14); color: var(--err); }
.su-sum { display: grid; gap: 0; margin: 4px 0 6px; }
.su-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.su-sum div:first-child { border-top: 0; }
.su-sum dt { color: var(--ink-3); }
.su-sum dd { margin: 0; font-weight: 700; text-align: right; font-family: 'Manrope', 'Noto Sans Georgian', sans-serif; }
.su-invite { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.su-invite > *, .su-card { min-width: 0; }
.su-copy { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line); }
.su-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: 'Manrope', monospace; font-weight: 700; font-size: 15px; }
.su-copy code.big { font-size: 22px; letter-spacing: .12em; }
.su-meter { height: 8px; border-radius: 99px; background: var(--field); overflow: hidden; margin: 8px 0 4px; }
.su-meter i { display: block; height: 100%; background: #fff; border-radius: 99px; }
.su-people { list-style: none; margin: 0; padding: 0; }
.su-people li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.su-people li:first-child { border-top: 0; }
.su-people .av { width: 38px; height: 38px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-weight: 800; flex: none; }
.su-people .nm { flex: 1; min-width: 0; }
.su-people .nm b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-people .nm small { color: var(--ink-3); }
.su-tag { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); color: var(--ink-2); }
.su-banner { max-width: 760px; margin: 0 auto 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255,214,10,.10); color: #ffe680; font-weight: 600; }
.su-banner.err { background: rgba(255,105,97,.12); color: #ffb3ae; }

.su-foot { max-width: 1040px; margin: 0 auto; padding: 24px 20px 40px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 14px; color: var(--ink-3); }
.su-foot a { text-decoration: none; }
.su-foot a:hover { color: var(--ink); }
.su-linkbtn { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; font-size: 14px; }
.su-linkbtn:hover { color: var(--ink); }
.su-skel { max-width: 560px; margin: 60px auto; height: 220px; border-radius: 22px; background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 640px) {
  .su-kinds, .su-form { grid-template-columns: 1fr; }
  .su-card { padding: 20px; }
  .su-actions .btn { flex: 1 1 100%; }
  .su-row { flex-wrap: wrap; }
  .su-code { flex-direction: column; align-items: stretch; }
}

/* a discounted price: the full price struck through, then a red "−10%" tag on the price */
.su-off { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: #ff3b30; color: #fff; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .01em; line-height: 1.2; vertical-align: 6px; box-shadow: 0 4px 14px -4px rgba(255, 59, 48, .6); animation: su-pop 360ms cubic-bezier(.34, 1.56, .64, 1); }
.su-was { margin-right: 8px; color: var(--ink-3, #8e8e93); font-size: .55em; font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: #ff3b30; }
@keyframes su-pop { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .su-off { animation: none; } }

/* ---------- the steps along the top: numbered circles joined by a line that fills up to the current step ---------- */
.su-steps { list-style: none; max-width: 760px; margin: 6px auto 8px; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.su-steps::before, .su-steps::after { content: ""; position: absolute; top: 21px; left: calc(50% / var(--n)); height: 2px; border-radius: 2px; }
.su-steps::before { right: calc(50% / var(--n)); background: var(--line-2); }
.su-steps::after { width: calc((100% - 100% / var(--n)) * var(--at) / (var(--n) - 1)); background: var(--ink); transition: width .5s cubic-bezier(.32, .72, 0, 1); }
.su-steps li { position: relative; z-index: 1; display: flex; justify-content: center; }
.su-steps li > span, .su-steps li > button { display: grid; justify-items: center; gap: 8px; border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.su-steps li > button { cursor: pointer; }
.su-steps b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2); font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 800; color: var(--ink-3); transition: background .3s, color .3s, box-shadow .3s; }
.su-steps b svg { width: 20px; height: 20px; }
.su-steps em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.su-steps li.on b { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 6px rgba(255, 255, 255, .1); }
.su-steps li.on em { color: var(--ink); }
.su-steps li.done b { background: var(--ink); color: var(--bg); box-shadow: none; }
.su-steps li.done em { color: var(--ink-2); }
.su-steps li > button:hover b { transform: scale(1.06); }
@media (max-width: 520px) { .su-steps em { font-size: 12px; } .su-steps b { width: 36px; height: 36px; font-size: 14px; } .su-steps::before, .su-steps::after { top: 17px; } }

/* the e-mail code with "Send again" on the same line */
.su-code-line { display: flex; gap: 10px; align-items: center; }
.su-code-line .ctl { flex: 1; }
.su-code-line .btn { flex: none; height: 52px; white-space: nowrap; }
.fld .opt { font-weight: 600; color: var(--ink-3); font-size: 13px; }
.su-sub { margin: 6px 0 -4px; font-size: 13px; font-weight: 800; letter-spacing: .03em; color: var(--ink-3); text-transform: uppercase; }

/* the agency's mark: logo (or first letter), "powered by Blackkey", name */
.su-ab { display: flex; align-items: center; gap: 12px; min-width: 0; }
.su-ab-logo { flex: none; width: 46px; height: 46px; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, #f5f5f7, #c7c9cf); }
.su-ab-logo.big { width: 72px; height: 72px; border-radius: 20px; }
.su-ab-logo img { width: 100%; height: 100%; object-fit: cover; }
.su-ab-logo b { font-family: 'Manrope', sans-serif; font-size: 21px; font-weight: 800; color: #0b0b0c; }
.su-ab-logo.big b { font-size: 30px; }
.su-ab-t { display: grid; gap: 3px; min-width: 0; }
.su-ab-t small { font-size: 11.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.su-ab-t small .mark { display: inline-grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1px; width: 15px; height: 9px; vertical-align: -1px; margin-right: 4px; }
.su-ab-t small .mark i { background: var(--ink-3); border-radius: 1px; }
.su-ab-t small .mark i:nth-child(4), .su-ab-t small .mark i:nth-child(5), .su-ab-t small .mark i:nth-child(7), .su-ab-t small .mark i:nth-child(14) { visibility: hidden; }
.su-ab-t strong { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-logo-row { display: flex; align-items: center; gap: 16px; }
.su-logo-row small { display: block; color: var(--ink-3); font-size: 14px; }
.su-logo-btns { display: flex; gap: 8px; margin-top: 10px; }
.su-preview { padding: 18px; border-radius: 18px; background: #0b0b0c; box-shadow: inset 0 0 0 1px var(--line); }

/* the review: one row per part, each with Edit */
.su-rv { display: grid; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.su-rv-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px 20px; }
.su-rv-row + .su-rv-row { border-top: 1px solid var(--line); }
.su-rv-k { color: var(--ink-3); font-size: 14px; font-weight: 700; }
.su-rv-v { display: grid; gap: 3px; min-width: 0; }
.su-rv-v b { font-size: 16.5px; font-weight: 800; overflow-wrap: anywhere; }
.su-rv-v small { color: var(--ink-3); font-size: 14px; }
.su-rv-edit { border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.su-rv-note { margin-top: 16px; }
@media (max-width: 560px) { .su-rv-row { grid-template-columns: minmax(0, 1fr) auto; } .su-rv-k { grid-column: 1 / -1; } }

/* "Powered by Blackkey" under the agency's name, with a drawn mark */
.su-ab-t { gap: 4px; }
.su-ab-t small { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.su-ab-t small b { font-weight: 700; color: var(--ink-2); }
.su-ab-t .bk-mk { flex: none; width: 15px; height: 9px; fill: var(--ink-2); }

/* fields never push past the card's edge: grid columns may shrink below an input's natural width */
.su-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.su-form > * { min-width: 0; }
.fld .ctl { min-width: 0; }
.fld input { width: 100%; }
.su-code-line .ctl { min-width: 0; }
@media (max-width: 520px) { .su-form { grid-template-columns: minmax(0, 1fr); } .su-form > .fld { grid-column: 1 / -1; } }
.su-rv-v .su-ab, .su-ab-t { min-width: 0; }
.su-ab-t small { overflow: hidden; }
.su-ab-t small > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Black Friday: the list price struck through before the sale price, and the sale's name under it (prices.js) */
.su-kind .price .su-was { font-size: 18px; vertical-align: 2px; }
.su-sale { margin-top: 8px; color: #ff3b30; font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; }

/* back from the card payment (Flitt): green once the plan is active; the pay button waits while the checkout opens */
.su-banner.ok { background: rgba(48,209,88,.12); color: #8ef0a8; }
.btn.is-busy { opacity: .6; pointer-events: none; }

/* the one way to pay once card payment is on: a large blue button in the middle, what it charges under it */
.su-pay { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 6px 0 2px; }
.su-pay-btn { min-width: min(320px, 100%); min-height: 54px; justify-content: center; font-size: 17px; background: #0a84ff; color: #fff; box-shadow: 0 10px 28px -10px rgba(10, 132, 255, .75); }
.su-pay-btn:hover { background: #2b95ff; }
.su-pay-btn svg { width: 20px; height: 20px; }
.su-pay .sub { max-width: 440px; margin: 0; color: var(--ink-2); font-size: 14px; }
