/* Mezyan — placeholder site. Few colours: ink, warm white, one accent (provisional Majorelle blue, D-023). */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2190-2199, U+2212, U+221E;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2190-2199, U+2212, U+221E;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2190-2199, U+2212, U+221E;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
    U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
    U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Mezyan free-trial setup (self-serve, 5 steps). */
:root {
  --bg: #f7f6f2;
  --card: #fff;
  --ink: #0b1020;
  --muted: #5b6272;
  --line: #e2dfd7;
  --soft: #f1efe9;
  --font: "Jakarta", "Plex Arabic", system-ui, sans-serif;
}
[data-variant="majorelle"] {
  --accent: #2a44c9;
  --accent-2: #7b5cff;
  --accent-soft: #e8ebfb;
}
[data-variant="safran"] {
  --accent: #b9461a;
  --accent-2: #e08a00;
  --accent-soft: #fbeee3;
}
html:lang(ar) {
  --font: "Plex Arabic", "Jakarta", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: radial-gradient(900px 420px at 50% -120px, var(--accent-soft), transparent 70%), var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1040px, 100% - 32px);
  margin: 0 auto;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.brand svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lang__btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.lang__btn .lang__chev {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
.lang__list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 18px 48px rgb(11 16 32 / 0.18);
}
.lang__list .lang__group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.lang__list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.lang__list button:hover,
.lang__list button:focus-visible,
.lang__list button[aria-current="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.lang__list button[aria-current="true"]::after {
  content: "✓";
  font-weight: 800;
}
.billing {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.billing button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.billing button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.billing em {
  font-style: normal;
  margin-inline-start: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
}

.wrap {
  width: min(1040px, 100% - 32px);
  margin: 0 auto;
  padding-bottom: 110px;
}
.intro {
  text-align: center;
  padding: 18px 0 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  color: var(--muted);
}
.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px #dcfce7;
}
.intro h1 {
  margin-top: 14px;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}
html:lang(ar) .intro h1,
html:lang(ar) .panel h2 {
  letter-spacing: 0;
  line-height: 1.35;
}
.lead {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* Stepper */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 26px auto 20px;
  padding: 0;
  max-width: 760px;
  list-style: none;
  counter-reset: s;
}
.steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.steps li::before {
  /* connector line */
  content: "";
  position: absolute;
  top: 17px;
  inset-inline-start: calc(-50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--line);
}
.steps li:first-child::before {
  display: none;
}
.steps i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-style: normal;
  font-weight: 800;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.steps li.is-done i {
  border-color: var(--accent);
  color: var(--accent);
}
.steps li.is-done i::after {
  content: "✓";
}
.steps li.is-done i {
  font-size: 0;
}
.steps li.is-done i::after {
  font-size: 15px;
}
.steps li.is-done::before,
.steps li.is-active::before {
  background: var(--accent);
}
.steps li.is-active {
  color: var(--accent);
}
.steps li.is-active i {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 5px var(--accent-soft);
}

/* Panels */
.panel {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow:
    0 1px 2px rgb(11 16 32 / 0.04),
    0 20px 50px rgb(11 16 32 / 0.07);
  animation: rise 0.35s ease-out;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.panel h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.sub {
  margin-top: 6px;
  color: var(--muted);
}
.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* Step 1 tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.tile {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 10px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: var(--hue);
}
.tile[aria-pressed="true"] {
  border-color: var(--hue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hue) 16%, transparent);
}
.tile svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--hue) 13%, transparent);
  color: var(--hue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tiles--small .tile {
  padding: 14px 8px;
  font-size: 14px;
}
.tiles--small .tile svg {
  width: 40px;
  height: 40px;
  padding: 9px;
}
.more-btn {
  margin-top: 14px;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}
.more-btn::after {
  content: " ↓";
}

/* Step 2 services */
.svc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.svc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.svc::before {
  content: "+";
  font-weight: 800;
  color: var(--muted);
}
.svc[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.svc[aria-pressed="true"]::before {
  content: "✓";
  color: #fff;
}
.svc small {
  font-weight: 600;
  opacity: 0.8;
}
.bulk {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--soft);
}
.bulk__title {
  font-weight: 800;
}
.bulk__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 10px;
}
.bulk label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.bulk input,
.add input,
.f input,
.f select {
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font-size: 16px;
}
.bulk input {
  width: 96px;
}
.bulk__hint {
  font-size: 14px;
  color: var(--muted);
}
.add {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  max-width: 460px;
}
.add input {
  flex: 1;
  min-width: 0;
}
.add button {
  min-height: 46px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
}
.count {
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent);
}

/* Step 3 format + preview */
.panel--split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.fmt-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.fmt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.fmt.is-focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.fmt__name {
  font-weight: 800;
}
.fmt__name small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
}
.seg {
  display: flex;
  padding: 3px;
  border-radius: 12px;
  background: var(--soft);
}
.seg button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(11 16 32 / 0.12);
}
.preview {
  position: sticky;
  top: 20px;
}
.phone {
  width: 300px;
  height: 600px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 44px;
  background: #0b1020;
  box-shadow: 0 30px 70px rgb(11 16 32 / 0.25);
}
.phone iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 34px;
  background: #f7f6f2;
}

/* Step 4 fields */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.f {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}
.f small {
  font-weight: 500;
  color: var(--muted);
}
.f input:focus,
.f select:focus,
.bulk input:focus,
.add input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.f.is-bad input {
  border-color: #dc2626;
}
.err {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  color: #dc2626;
}

/* Step 5 plans */
.billing {
  display: inline-flex;
  margin-top: 18px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 20px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  text-align: start;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.plan:hover {
  transform: translateY(-2px);
}
.plan[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.plan__tag {
  position: absolute;
  top: -12px;
  inset-inline-start: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.plan__name {
  font-weight: 800;
  font-size: 18px;
}
.plan__price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}
html:lang(ar) .plan__price {
  text-align: end;
}
.plan__price small {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.plan__bill {
  font-size: 13px;
  color: var(--muted);
}
.plan ul {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.plan li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 800;
}

/* Done */
.done__head {
  display: flex;
  gap: 16px;
  align-items: center;
}
.done__check {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 26px;
  font-weight: 800;
}
.summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.summary div {
  padding: 14px;
  border-radius: 16px;
  background: var(--soft);
}
.summary b {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.summary span {
  font-weight: 800;
}
.activate {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--accent-soft), #fff);
  border: 1px solid var(--line);
}
.activate__t {
  font-weight: 800;
  font-size: 18px;
}
.activate__p {
  margin-top: 4px;
  color: var(--muted);
}
.activate__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.cards-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.cards-head h3 {
  font-size: 20px;
  font-weight: 800;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
/* Sticker card (same look as /qr/ templates) */
.qc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.qc::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  pointer-events: none;
}
.qc__qr {
  position: relative;
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1;
}
.qc__qr svg {
  width: 100%;
  height: 100%;
  display: block;
}
.qc__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19%;
  aspect-ratio: 1;
  padding: 2%;
  border-radius: 22%;
  background: #fff;
  color: var(--accent);
  transform: translate(-50%, -50%);
}
.qc__mark svg {
  width: 100%;
  height: 100%;
}
.qc__place {
  font-weight: 800;
  font-size: 17px;
  text-align: center;
}
.qc__biz {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.qc__foot {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  direction: ltr;
}
.qc__foot span:last-child {
  color: var(--accent);
}
.qc__test {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* Bottom nav */
.nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1040px, 100% - 32px);
  margin: 0 auto;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    opacity 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.btn--ghost {
  background: var(--card);
  border: 1px solid var(--line);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
  min-height: 44px;
}
.btn--wa {
  background: #16a34a;
  color: #fff;
}

@media (max-width: 860px) {
  .panel--split {
    grid-template-columns: 1fr;
  }
  .preview {
    position: static;
  }
  .plans,
  .summary {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .steps span {
    display: none;
  }
  .steps li.is-active span {
    display: block;
    position: absolute;
    top: 42px;
    white-space: nowrap;
  }
  .steps {
    margin-bottom: 34px;
  }
  .fields,
  .plans {
    grid-template-columns: 1fr;
  }
  .fmt {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 270px;
    height: 540px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .top,
  .intro,
  .steps,
  .nav,
  .done__head,
  .summary,
  .activate,
  .cards-head,
  .note,
  .qc__test {
    display: none !important;
  }
  .panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .cards {
    grid-template-columns: repeat(3, 60mm);
    gap: 6mm;
  }
  .qc {
    width: 60mm;
    height: 80mm;
    break-inside: avoid;
  }
}

/* Payment preference (plan step) */
.paybox {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.paybox h3 {
  font-size: 18px;
  font-weight: 800;
}
.pays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.pay {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.pay b {
  font-size: 15px;
}
.pay small {
  color: var(--muted);
  font-size: 13px;
}
.pay[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}
@media (max-width: 640px) {
  .pays {
    grid-template-columns: 1fr;
  }
}
