/* Lagran signup and account screens. Brand: orange #F7931E -> #F15A24 (the phoenix), navy #0B3A73 (the wordmark).
   Phones first; the brand panel and the step tracker labels appear from 992px. */
:root {
  --orange: #f7931e; --orange-deep: #f15a24; --orange-soft: #fff3e6; --orange-ring: rgba(247, 147, 30, .28);
  --navy: #0b3a73; --navy-deep: #08244a; --ink: #101c2e; --muted: #5a6678; --line: #e4e8ef; --paper: #f6f8fb;
  --card: #fff; --good: #138a4b; --good-soft: #e8f6ee; --bad: #c2362b; --bad-soft: #fdecea;
  --grad: linear-gradient(135deg, #fbb040 0%, #f7931e 38%, #f15a24 100%);
  --radius: 16px; --shadow: 0 1px 2px rgba(16, 28, 46, .04), 0 12px 32px rgba(16, 28, 46, .07);
  --font-head: Poppins, Inter, system-ui, sans-serif; --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--paper);
       -webkit-font-smoothing: antialiased; min-height: 100vh; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
               background: radial-gradient(900px 420px at 100% -10%, rgba(247, 147, 30, .10), transparent 70%),
                           radial-gradient(700px 380px at -10% 110%, rgba(11, 58, 115, .07), transparent 70%); }
a { color: var(--navy); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; font-weight: 700; }
h2.sub { font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.lead { color: var(--muted); margin: 0 0 24px; max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
          text-transform: uppercase; color: var(--orange-deep); margin-bottom: 8px; }

/* ---------------------------------------------------------------- header + steps */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; display: block; }
.top-link { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; }
.top-link a { font-weight: 600; color: var(--navy); text-decoration: none; }
.tracker { display: none; }
.progress { height: 3px; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--grad); border-radius: 0 3px 3px 0; transition: width .3s ease; }
.step-line { max-width: 1200px; margin: 0 auto; padding: 8px 16px 0; font-size: 13px; color: var(--muted); }
.step-line strong { color: var(--ink); }

/* ---------------------------------------------------------------- page */
.page { max-width: 1200px; margin: 0 auto; padding: 16px 16px 64px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.brand-panel { display: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }

/* ---------------------------------------------------------------- forms */
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 18px; }
.field { margin-bottom: 16px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease; }
textarea { min-height: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-ring); }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.err { font-size: 13px; color: var(--bad); margin-top: 6px; font-weight: 500; }
.field:has(.err) input, .field:has(.err) select, .field:has(.err) textarea { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-weight: 500; margin: 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--orange-deep); flex: none; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.code-input { font-size: 26px !important; letter-spacing: .5em; text-align: center; font-weight: 700; max-width: 280px; }

/* password with a show / hide button inside the field */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 92px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px;
             height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--navy);
             font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pw-toggle:hover { background: var(--paper); }
.pw-toggle:focus-visible { outline: 3px solid var(--orange-ring); outline-offset: 1px; }
.pw-toggle svg { width: 18px; height: 18px; }
.pw-toggle .eye-off, .pw-toggle[aria-pressed="true"] .eye-on { display: none; }
.pw-toggle[aria-pressed="true"] .eye-off { display: inline; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px;
       min-height: 48px; border-radius: 12px; padding: 12px 22px; border: 1.5px solid var(--navy); background: var(--navy);
       color: #fff; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn.accent { background: var(--grad); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(241, 90, 36, .28); }
.btn.accent:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(241, 90, 36, .34); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn.link { background: none; border: 0; color: var(--navy); padding: 0; min-height: 0; text-decoration: underline; box-shadow: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn:focus-visible, .check input:focus-visible, .choice:focus-within { outline: 3px solid var(--orange-ring); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.actions .btn { flex: 1 1 100%; }
.actions .btn.link { flex: 0 0 auto; }

/* ---------------------------------------------------------------- messages */
.msg { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.msg.error { background: var(--bad-soft); color: var(--bad); }
.msg.success, .msg.info { background: var(--good-soft); color: var(--good); }

/* ---------------------------------------------------------------- design step: choice cards */
.section { margin-bottom: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { font-size: 19px; margin: 0; font-weight: 600; }
.section-head .help { margin: 0; }
.choice { position: relative; display: block; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer;
          transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease; margin: 0; font-weight: 400; }
.choice:hover { border-color: #c9d0db; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice.is-on { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-ring); }
.choice .tick { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad);
                color: #fff; display: none; place-items: center; font-size: 13px; z-index: 2; }
.choice.is-on .tick { display: grid; }
.biz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.biz { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.biz .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; }
.biz .ico svg { width: 22px; height: 22px; }
.biz strong { font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.25; }
.biz span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.layout-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.layout { overflow: hidden; }
.layout .shots { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.layout .shots .desk { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.layout .shots .phone { position: absolute; right: 10px; bottom: -14%; width: 24%; height: auto; border-radius: 12px; border: 3px solid #101c2e;
                        box-shadow: 0 10px 24px rgba(16, 28, 46, .25); background: #fff; }
.layout .meta { padding: 12px 14px 14px; display: grid; gap: 4px; }
.layout .meta > span { display: block; }
.layout .meta .name { display: flex; }
.layout .name { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.layout .tagline { font-size: 13px; color: var(--muted); line-height: 1.45; }
.layout .best { font-size: 12px; color: var(--ink); font-weight: 600; }
.badge { display: inline-flex; align-items: center; font-family: var(--font-body); font-size: 11px; font-weight: 700; padding: 2px 8px;
         border-radius: 999px; background: var(--orange-soft); color: #b8480f; letter-spacing: .02em; }
.badge.navy { background: #e8eef8; color: var(--navy); }
.badge.good { background: var(--good-soft); color: var(--good); }
.view-btn { position: absolute; left: 10px; bottom: 10px; z-index: 2; font: inherit; font-size: 12px; font-weight: 600; background: rgba(16, 28, 46, .78);
            color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.theme { padding: 10px 12px; display: flex; align-items: center; gap: 10px; min-height: 56px; }
.theme .dots { display: flex; flex: none; }
.theme .dots i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); margin-left: -6px; }
.theme .dots i:first-child { margin-left: 0; }
.theme strong { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.toggle-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 14px; background: #fff; }

/* live preview of the chosen colours with the chosen business's products */
.live { position: relative; }
.live-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.live-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.live-head .dotsbar { display: flex; gap: 5px; } .live-head .dotsbar i { width: 9px; height: 9px; border-radius: 50%; background: #e1e5ec; }
.mock { --bg: #fff; --primary: #333; --nav: #fff; --navtext: #222; --btn: #333; --btntext: #fff; --foot: #222; --foottext: #ddd;
        background: var(--bg); font-size: 12px; transition: background .2s ease; }
.mock-nav { background: var(--nav); color: var(--navtext); display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; transition: background .2s ease; }
.mock-nav b { font-family: var(--font-head); font-size: 13px; letter-spacing: .04em; }
.mock-nav span { display: flex; gap: 10px; opacity: .85; }
.mock-hero { margin: 12px; border-radius: 12px; padding: 16px; background: var(--primary); color: #fff; transition: background .2s ease; }
.mock-hero strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.25; margin-bottom: 4px; }
.mock-hero small { opacity: .85; display: block; margin-bottom: 10px; }
.mock-hero em { font-style: normal; display: inline-block; background: #fff; color: var(--primary); font-weight: 700; padding: 5px 12px; border-radius: 8px; font-size: 11px; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 12px 12px; }
.mock-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .06); }
.mock-card .pic { aspect-ratio: 4 / 3; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, #fff), color-mix(in srgb, var(--primary) 8%, #fff)); }
.mock-card .t { padding: 7px 8px 2px; font-weight: 600; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-card .p { padding: 0 8px; color: var(--btn); font-weight: 700; }
.mock-card .b { margin: 6px 8px 8px; text-align: center; background: var(--btn); color: var(--btntext); border-radius: 7px; padding: 5px 0; font-weight: 600; font-size: 11px; }
.mock-foot { background: var(--foot); color: var(--foottext); padding: 10px 14px; font-size: 11px; }
.live-note { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }

/* sticky bottom bar on phones for the design step */
.stickybar { position: sticky; bottom: 0; z-index: 10; margin: 0 -16px -64px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
             background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.stickybar .summary { flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.stickybar .summary strong { color: var(--ink); display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar .btn { flex: none; }

/* lightbox for a layout's full preview */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 20, 40, .82); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; display: flex; gap: 20px; align-items: flex-start; max-width: 1180px; width: 100%; max-height: 100%; overflow: auto; }
.lightbox-inner .desk { flex: 1 1 auto; min-width: 0; height: auto; border-radius: 12px; display: none; }
.lightbox-inner .phone { width: 300px; height: auto; max-width: 80vw; border-radius: 22px; border: 6px solid #101c2e; margin: 0 auto; flex: none; }
.lightbox-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
                  font-size: 22px; cursor: pointer; z-index: 51; }
.lightbox-title { position: fixed; top: 22px; left: 20px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 17px; }

/* plan cards */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1.5px solid var(--line); border-radius: 14px;
        cursor: pointer; color: var(--ink); text-decoration: none; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; font-weight: 400; margin: 0; }
.plan:hover { border-color: #c9d0db; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan.is-chosen { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-ring); }
.plan:focus-within { outline: 3px solid var(--orange-ring); outline-offset: 2px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-top strong { font-family: var(--font-head); font-size: 17px; }
.pill { font-style: normal; font-size: 11px; font-weight: 700; background: var(--grad); color: #fff; padding: 3px 9px; border-radius: 999px; }
.pill.soft { background: #e8eef8; color: var(--navy); }
.price { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.price small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); }
.limits { font-size: 13px; color: var(--muted); }
.plan-note { font-size: 12.5px; color: #b8480f; background: var(--orange-soft); border-radius: 8px; padding: 6px 9px; }
.plan-note.ok { color: var(--good); background: var(--good-soft); }
.plan.contact { border-style: dashed; }
.contact-cta { margin-top: auto; font-weight: 600; color: var(--navy); }
.plan:not(.is-chosen) .pill-chosen, .plan.is-chosen .pill.soft { display: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; background: var(--paper); border-radius: 12px; margin-bottom: 4px; }
.total strong { font-family: var(--font-head); font-size: 20px; white-space: nowrap; }
.bill { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bill div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bill div:last-child { border-bottom: 0; }
.bill dt { color: var(--muted); } .bill dd { margin: 0; font-weight: 600; white-space: nowrap; }
.bill .sum { background: var(--paper); } .bill .sum dt { color: var(--ink); font-weight: 600; } .bill .sum dd { font-family: var(--font-head); font-size: 18px; }
.picked { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 18px; }
.picked img { width: 84px; height: auto; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.picked .help { margin: 2px 0 0; }

/* store-address field */
.sub-row { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.sub-row input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.sub-row input:focus { box-shadow: none; }
.sub-row:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-ring); }
.sub-row span { display: flex; align-items: center; padding: 0 12px; background: var(--paper); color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; font-size: 14px; }

/* status page bits */
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag.review { background: var(--orange-soft); color: #b8480f; } .tag.action { background: var(--bad-soft); color: var(--bad); }
.tag.live { background: var(--good-soft); color: var(--good); } .tag.closed { background: #eef1f5; color: var(--muted); }
.request { background: var(--bad-soft); border-left: 3px solid var(--bad); border-radius: 10px; padding: 12px 14px; margin: 6px 0 4px; }
.request p { margin: 4px 0 0; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: minmax(90px, 120px) 1fr; gap: 12px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.facts .help { display: block; font-weight: 400; }

/* public gallery */
.hero-band { text-align: center; padding: 28px 0 8px; }
.hero-band h1 { font-size: 30px; }
.hero-band h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-band .lead { margin: 0 auto 18px; }
.gallery-cta { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-cta .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; flex: 1 1 auto; }
.foot { text-align: center; font-size: 12.5px; color: var(--muted); padding: 24px 16px 32px; }

/* ---------------------------------------------------------------- tablets and up */
@media (min-width: 600px) {
  .card { padding: 30px; }
  .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions .btn { flex: 0 0 auto; }
  .biz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  h1 { font-size: 30px; }
  .hero-band h1 { font-size: 40px; }
  .lightbox-inner .desk { display: block; }
  .lightbox-inner .phone { width: 260px; margin: 0; }
}
@media (min-width: 992px) {
  .brand img { height: 48px; }
  .top-inner { padding: 12px 28px; }
  .progress, .step-line { display: none; }
  .tracker { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0 auto; padding: 0; }
  .tracker li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
  .tracker li + li::before { content: ''; width: 28px; height: 2px; background: var(--line); border-radius: 2px; margin-right: 2px; }
  .tracker .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
                  border: 1.5px solid var(--line); background: #fff; color: var(--muted); }
  .tracker li.done { color: var(--ink); } .tracker li.done::before { background: var(--orange); }
  .tracker li.done .num { background: var(--navy); border-color: var(--navy); color: #fff; }
  .tracker li.now { color: var(--ink); font-weight: 700; } .tracker li.now::before { background: var(--orange); }
  .tracker li.now .num { border: 0; background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(241, 90, 36, .35); }
  .top-link { margin-left: 0; }
  .page { padding: 32px 28px 72px; }
  .split { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
  .split.narrow { grid-template-columns: minmax(0, 620px) 400px; justify-content: center; }
  .card { padding: 36px; }
  .brand-panel { display: block; position: sticky; top: 96px; border-radius: 22px; padding: 32px; color: #fff; overflow: hidden;
                 background: radial-gradient(420px 260px at 110% -10%, rgba(247, 147, 30, .45), transparent 70%),
                             linear-gradient(160deg, #0d4385 0%, #0b3a73 45%, #071f40 100%); box-shadow: 0 24px 48px rgba(8, 36, 74, .28); }
  .brand-panel::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; opacity: .12;
                        background: url('lagran-mark.png') center / contain no-repeat; }
  .brand-panel h2 { color: #fff; font-size: 24px; line-height: 1.25; margin: 0 0 10px; }
  .brand-panel h2 span { color: var(--orange); }
  .brand-panel p { color: rgba(255, 255, 255, .78); margin: 0 0 20px; }
  .brand-panel ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
  .brand-panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .92); }
  .brand-panel li i { flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(247, 147, 30, .18); color: var(--orange);
                      display: grid; place-items: center; font-style: normal; font-weight: 700; }
  .brand-panel .quote { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
  .brand-panel .quote strong { display: block; color: #fff; margin-top: 6px; font-size: 13px; }
  .design { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
  .live { position: sticky; top: 96px; }
  .stickybar { position: static; margin: 8px 0 0; padding: 18px 0 0; background: none; backdrop-filter: none; }
  .layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-band { padding: 40px 0 16px; }
  .hero-band h1 { font-size: 46px; }
}
@media (max-width: 991.98px) {
  .live { margin-top: 4px; }
  .live-card .mock-grid .mock-card:nth-child(n + 3) { display: none; }
  .live-note { display: none; }
}

/* plan step: the chosen plan doesn't include the chosen layout */
.layout-warning { margin: 16px 0 0; padding: 14px 16px; border: 1.5px solid #f3c39b; background: var(--orange-soft); border-radius: 12px; color: #7a3410; font-size: 14px; line-height: 1.5; }
.layout-warning p { margin: 0 0 10px; }
.layout-warning-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.layout-warning .check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.layout-warning .check input { width: 18px; height: 18px; accent-color: var(--orange, #f57c1f); }
.pay-note { padding: 12px 14px; border-radius: 12px; background: var(--orange-soft); color: #7a3410; font-size: 14px; margin: 0 0 16px; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* plan step: partner (referral) code */
.partner-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); margin: 0 0 18px; }
.partner-code p { margin: 0; font-size: 14px; flex: 1 1 260px; }
.partner-code label { font-weight: 600; font-size: 14px; flex: 1 1 100%; }
.partner-code-row { display: flex; gap: 8px; flex: 1 1 100%; max-width: 420px; }
.partner-code-row input { text-transform: uppercase; letter-spacing: .04em; }
.price .was { font-size: 18px; color: var(--muted); font-weight: 600; margin-right: 4px; }

/* first page: optional partner code */
#id_partner_code { text-transform: uppercase; letter-spacing: .04em; max-width: 320px; }

.partner-code-remove { margin: 0; }
.partner-code-change { flex: 1 1 100%; }
.partner-code-change summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--navy); }
.partner-code-change .partner-code-row { margin-top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.code-check { font-size: 13.5px; margin-top: -6px; min-height: 0; }
.code-check:empty { display: none; }
.code-check.is-checking { color: var(--muted); }
.code-check.is-ok { color: var(--good); font-weight: 600; }
.code-check.is-bad { color: var(--bad); font-weight: 600; }
.code-check.is-wait { color: #9a5b12; }

/* a form on its way (base.html): its buttons are disabled and the pressed one spins */
.btn:disabled { cursor: progress; }
.btn.is-sending { opacity: .85; }
.btn.is-sending::before {
  content: ""; display: inline-block; flex-shrink: 0; width: 1em; height: 1em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: sending-spin .7s linear infinite;
}
@keyframes sending-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-sending::before { animation: none; opacity: .6; } }
