/* ============================================================
   لافندر — Lvendr  ·  Auth & Checkout flow
   Sign up · Login · Order review + payment · Payment success
   Builds on lvendr-ar.css tokens. RTL-native.
   Calmer, more functional tone than the marketing pages:
   trust, clarity, conversion — not visual showcase.
   ============================================================ */

/* ---------- Slim flow header ---------- */
.fnav {
  position: sticky; top: 0; z-index: 60; padding: 16px 0;
  background: color-mix(in oklab, var(--paper) 84%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.fnav__in { display: flex; align-items: center; gap: 20px; }
.fnav__sec {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.fnav__sec svg { width: 15px; height: 15px; color: var(--signal); }
.fnav__alt { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.fnav__alt a { color: var(--brand); font-weight: 600; }
.fnav__alt a:hover { color: var(--brand-deep); }

/* ---------- Flow stepper ---------- */
.flow { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.flow__in { display: flex; align-items: center; gap: 4px; padding: 22px 0; max-width: 760px; margin-inline: auto; }
.fstep { display: flex; align-items: center; gap: 12px; flex: none; }
.fstep__n {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
  transition: all .2s;
}
.fstep__n svg { width: 16px; height: 16px; }
.fstep__t { font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.fstep__bar { flex: 1; height: 2px; min-width: 18px; margin: 0 4px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.fstep.is-done .fstep__n { background: color-mix(in oklab, var(--signal) 16%, white); color: oklch(0.5 0.12 168); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--signal) 30%, transparent); }
.fstep.is-active .fstep__n { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.fstep.is-active .fstep__t { color: var(--brand-ink); font-weight: 600; }
.fstep.is-done .fstep__t { color: var(--ink-soft); }

/* ---------- Auth / checkout shell ---------- */
.auth { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 68px) 0 clamp(60px, 8vw, 100px); }
.auth .blueprint-bg::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 88% 4%, #000 18%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 70% at 88% 4%, #000 18%, transparent 70%);
  opacity: .42;
}
.auth .blueprint-bg::after { inset-inline-start: auto; inset-inline-end: -200px; opacity: .3; }
.auth__head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); position: relative; }
.auth__head h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; margin-top: 14px; }
.auth__head p { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--ink-soft); font-weight: 300; line-height: 1.8; margin-top: 16px; max-width: 600px; }

.auth__grid { position: relative; display: grid; grid-template-columns: 1.32fr 0.88fr; gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.auth__grid--rev { grid-template-columns: 0.88fr 1.32fr; }

/* main + side panels */
.panel {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--sh), inset 0 0 0 1px var(--line);
  padding: clamp(26px, 3vw, 40px);
}
.panel--narrow { max-width: 480px; }
.aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 8px;
}
.field > label .opt { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--faint); font-weight: 400; }
.input {
  font-family: var(--sans); font-size: 15.5px; color: var(--ink); width: 100%;
  padding: 15px 16px; border-radius: var(--r-sm); background: var(--paper-2);
  box-shadow: inset 0 0 0 1.5px var(--line); border: none; outline: none;
  transition: box-shadow .18s, background .18s;
}
.input::placeholder { color: var(--faint); }
.input:focus { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--brand); }
.input--has-icon { padding-inline-start: 46px; }
.field__wrap { position: relative; }
.field__ic { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field__ic svg { width: 18px; height: 18px; }
.field__toggle {
  position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted);
  transition: background .15s, color .15s;
}
.field__toggle:hover { background: var(--paper-3); color: var(--brand); }
.field__toggle svg { width: 18px; height: 18px; }
.field__hint { font-size: 12.5px; color: var(--muted); font-weight: 300; }

/* inline options row (remember / forgot) */
.form__opts { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 20px; height: 20px; border-radius: 6px; flex: none; display: grid; place-items: center;
  background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: all .15s; color: #fff;
}
.check__box svg { width: 13px; height: 13px; opacity: 0; transform: scale(.6); transition: all .15s; }
.check input:checked + .check__box { background: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 3px color-mix(in oklab, var(--brand) 24%, transparent); }
.flink { font-size: 14px; font-weight: 500; color: var(--brand); }
.flink:hover { color: var(--brand-deep); }

.form .btn { width: 100%; margin-top: 4px; }
.auth__alt { font-size: 14.5px; color: var(--ink-soft); text-align: center; }
.auth__alt a { color: var(--brand); font-weight: 600; }
.auth__alt a:hover { color: var(--brand-deep); }
.auth__terms { font-size: 12.5px; color: var(--muted); font-weight: 300; line-height: 1.7; text-align: center; }
.auth__terms a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-2); }
.auth__terms a:hover { color: var(--brand); }

/* divider above terms / between blocks */
.form__div { height: 1px; background: var(--line); margin: 2px 0; }

/* ---------- Side: "what happens next" ---------- */
.sidecard {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); padding: 28px 26px;
}
.sidecard__k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.sidecard__title { font-size: 17px; font-weight: 600; margin-top: 10px; }
.nextlist { display: flex; flex-direction: column; gap: 0; margin-top: 18px; counter-reset: nx; }
.nextlist li {
  display: flex; gap: 13px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-soft);
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.nextlist li:last-child { border-bottom: none; }
.nextlist li::before {
  counter-increment: nx; content: counter(nx); flex: none;
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* checkmark variant (login benefits) */
.checklist { display: flex; flex-direction: column; gap: 0; margin-top: 18px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-soft);
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist li .ic {
  width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center; margin-top: 1px;
  background: color-mix(in oklab, var(--signal) 16%, white); color: oklch(0.5 0.12 168);
}
.checklist li .ic svg { width: 13px; height: 13px; }

/* ---------- Selected plan summary ---------- */
.plan-sum {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(168deg, var(--night-2), var(--night)); color: #fff;
  box-shadow: var(--sh-lg); padding: 26px;
}
.plan-sum::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 88% 0%, #000, transparent 72%);
          mask-image: radial-gradient(ellipse 80% 70% at 88% 0%, #000, transparent 72%);
}
.plan-sum > * { position: relative; }
.plan-sum__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-sum__k { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-2); }
.plan-sum__badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  background: var(--signal); color: oklch(0.26 0.06 168); padding: 5px 11px; border-radius: 999px;
}
.plan-sum__name { font-size: 22px; font-weight: 700; margin-top: 12px; color: #fff; }
.plan-sum__price { display: flex; align-items: baseline; gap: 9px; margin-top: 14px; }
.plan-sum__price .amt { font-family: var(--mono); font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.plan-sum__price .per { font-size: 13px; color: rgba(255,255,255,.55); }
.plan-sum__mo { margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.72); }
.plan-sum__mo b { font-family: var(--mono); font-weight: 600; color: #fff; }
.plan-sum__rule { height: 1px; background: var(--night-line); margin: 20px 0; }
.plan-sum__list { display: flex; flex-direction: column; gap: 11px; }
.plan-sum__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.84); }
.plan-sum__list .ic { width: 19px; height: 19px; border-radius: 6px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--signal) 24%, transparent); color: var(--signal-soft); margin-top: 1px; }
.plan-sum__list .ic svg { width: 12px; height: 12px; }
.plan-sum__change { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--brand-2); }
.plan-sum__change svg { width: 14px; height: 14px; }
.plan-sum__change:hover { color: #fff; }
[dir="rtl"] .plan-sum__change svg { transform: scaleX(-1); }

/* compact inline plan summary (top of forms on mobile context) */
.plan-mini {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 22px;
}
.plan-mini__ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.plan-mini__ic svg { width: 21px; height: 21px; }
.plan-mini__t { flex: 1; }
.plan-mini__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.plan-mini__n { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.plan-mini__p { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--brand-ink); white-space: nowrap; }

/* ============================================================
   CHECKOUT — order review + payment
   ============================================================ */
/* review column: plan + after-payment */
.review { display: flex; flex-direction: column; gap: 20px; }
.review__plan { padding: clamp(24px, 3vw, 32px); }
.rsum__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rsum__head .k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.rsum__head .name { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; margin-top: 8px; }
.rsum__head .badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: oklch(0.45 0.12 168); background: color-mix(in oklab, var(--signal) 14%, white); padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--signal) 28%, transparent); }
.rsum__price { text-align: end; }
.rsum__price .amt { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.rsum__price .lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.rsum__price .mo { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.rsum__price .mo b { font-family: var(--mono); color: var(--brand-ink); }
.rsum__rule { height: 1px; background: var(--line); margin: 24px 0; }
.rsum__inc-k { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.rsum__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.rsum__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.rsum__list .ic { width: 19px; height: 19px; border-radius: 6px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--signal) 16%, white); color: oklch(0.5 0.12 168); margin-top: 1px; }
.rsum__list .ic svg { width: 12px; height: 12px; }
.rsum__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-soft); line-height: 1.65; }
.rsum__note svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }

/* after payment block */
.afterpay { padding: clamp(24px, 3vw, 30px); }
.afterpay__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.afterpay__title { font-size: 17px; font-weight: 600; margin-top: 8px; }
.afterpay__steps { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.afterpay__steps span { font-size: 13px; font-weight: 500; color: var(--ink-soft); padding: 9px 14px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 8px; }
.afterpay__steps span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }

/* ---------- Payment box (sticky) ---------- */
.paybox { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.pay {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); padding: 26px; overflow: hidden;
}
.pay__head { display: flex; align-items: center; gap: 11px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pay__seal { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.pay__seal svg { width: 21px; height: 21px; }
.pay__head .t { font-size: 16px; font-weight: 600; }
.pay__head .s { font-family: var(--mono); font-size: 11px; color: var(--signal); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.pay__head .s .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.pay__intro { font-size: 13px; color: var(--ink-soft); font-weight: 300; line-height: 1.65; margin: 16px 0 4px; }

/* totals */
.pay__totals { margin: 18px 0; }
.pay__line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-soft); padding: 7px 0; }
.pay__line b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.pay__line--mo { font-size: 12.5px; color: var(--muted); }
.pay__total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--line-2);
}
.pay__total .lbl { font-size: 14px; font-weight: 600; color: var(--ink); }
.pay__total .lbl small { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pay__total .val { font-family: var(--mono); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-ink); }

/* mounted payment element slot */
.pay__slot {
  border-radius: var(--r-sm); background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 18px; display: flex; flex-direction: column; gap: 13px;
}
.payf { display: flex; flex-direction: column; gap: 7px; }
.payf__lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.payf__box {
  height: 46px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--faint); font-size: 14px;
}
.payf__box .brandmark { margin-inline-start: auto; display: flex; gap: 5px; }
.payf__box .brandmark i { width: 26px; height: 16px; border-radius: 3px; background: var(--paper-3); display: block; }
.payf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pay__slot-note {
  display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted);
  justify-content: center; text-align: center; line-height: 1.5;
}
.pay__slot-note svg { width: 14px; height: 14px; color: var(--brand); flex: none; }

.pay .btn { width: 100%; margin-top: 4px; }
.pay__notes { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pay__notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }
.pay__notes .ic { width: 18px; height: 18px; border-radius: 6px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand); margin-top: 1px; }
.pay__notes .ic svg { width: 11px; height: 11px; }

/* trust strip under payment */
.trust { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding: 4px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.trust svg { width: 14px; height: 14px; color: var(--signal); }

/* ============================================================
   SUCCESS
   ============================================================ */
.success { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 9vw, 110px); }
.success .blueprint-bg::before { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 18%, transparent 72%); mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 18%, transparent 72%); opacity: .45; }
.success__in { position: relative; max-width: 720px; margin-inline: auto; text-align: center; }
.success__seal {
  width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 26px; display: grid; place-items: center;
  background: color-mix(in oklab, var(--signal) 14%, white); color: oklch(0.5 0.12 168);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--signal) 30%, transparent), 0 14px 34px color-mix(in oklab, var(--signal) 22%, transparent);
  position: relative;
}
.success__seal svg { width: 44px; height: 44px; }
.success__seal::after {
  content: ""; position: absolute; inset: -10px; border-radius: 34px;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--signal) 40%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .success__seal::after { animation: seal-pulse 2.4s ease-out infinite; }
  @keyframes seal-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--signal) 36%, transparent); } 70% { box-shadow: 0 0 0 22px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
}
.success__k { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--signal); display: inline-flex; align-items: center; gap: 8px; }
.success h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; margin-top: 16px; }
.success__sub { font-size: clamp(15.5px, 1.35vw, 19px); color: var(--ink-soft); font-weight: 300; line-height: 1.8; margin: 16px auto 0; max-width: 580px; }

/* order receipt chip */
.receipt {
  display: inline-flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin: 30px auto 0;
  background: var(--card); border-radius: var(--r); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); overflow: hidden;
}
.receipt > div { padding: 14px 22px; text-align: start; }
.receipt > div + div { box-shadow: inset 1px 0 0 var(--line); }
.receipt .rk { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.receipt .rv { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.receipt .rv.sig { color: oklch(0.46 0.12 168); }

.success__actions { display: flex; gap: 13px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* next steps card */
.nextcard {
  position: relative; max-width: 720px; margin: clamp(40px, 5vw, 60px) auto 0; text-align: start;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh), inset 0 0 0 1px var(--line);
  padding: clamp(26px, 3vw, 38px);
}
.nextcard__k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.nextcard__title { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; margin-top: 10px; }
.nextcard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 24px; }
.nstep { display: flex; gap: 13px; align-items: flex-start; }
.nstep__n {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  background: color-mix(in oklab, var(--brand) 9%, white); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line);
}
.nstep__t { font-size: 14.5px; color: var(--ink); line-height: 1.5; padding-top: 3px; }
.nextcard__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.65; }
.nextcard__note svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .auth__grid, .auth__grid--rev { grid-template-columns: 1fr; gap: 22px; }
  .aside, .paybox { position: static; }
  /* on mobile: form first, summary after — sidecard order handled per-page */
}
@media (max-width: 680px) {
  .flow__in { gap: 0; }
  .fstep__t { display: none; }
  .fstep:not(.is-active) .fstep__t { display: none; }
  .fstep.is-active .fstep__t { display: block; }
  .form__row { grid-template-columns: 1fr; }
  .rsum__list { grid-template-columns: 1fr; }
  .nextcard__grid { grid-template-columns: 1fr; }
  .receipt { flex-direction: column; }
  .receipt > div + div { box-shadow: inset 0 1px 0 var(--line); }
  .fnav__sec { display: none; }
}
