/* Way Cloud Design System v1.0.0 (waycloud.com.br/waycloud-design-system.html), laid out like the customer area login: form on the left, animated brand ribbons on the right. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-v12-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --blue: #1d66ff;
  --blue-dark: #1349c0;
  --blue-tint: #eef4ff;
  --ink: #0b1023;
  --ink-2: #3a4562;
  --ink-3: #5b6785;
  --line: #e0e6f7;
  --line-strong: #cbd4ea;
  --white: #ffffff;
  --ok: #0e7a42;
  --danger: #8f1c14;
  --danger-tint: #fff0ef;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  word-spacing: 0.05em; /* the font's space is narrow */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
a { color: var(--blue-dark); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 14px; height: 14px; }
:focus-visible { outline: 3px solid rgba(29, 102, 255, 0.5); outline-offset: 2px; border-radius: 6px; }

/* ---- split screen ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.pane.form { display: flex; flex-direction: column; padding: 28px 40px 24px; min-height: 100vh; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; }
.logo img { display: block; height: 28px; width: auto; }
.bar-nav { display: flex; gap: 22px; }
.bar-nav a { color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 600; }
.bar-nav a:hover { color: var(--blue-dark); }
.flow { flex: 1; width: 100%; max-width: 440px; margin: 0 auto; padding: 36px 0; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.legal { max-width: 440px; margin: 0 auto; width: 100%; font-size: 12px; color: var(--ink-3); }
.legal a { color: var(--ink-3); }

/* ---- brand pane (animated ribbons) ---- */
.brand { position: relative; overflow: hidden; background: var(--white); border-left: 1px solid var(--line); display: flex; align-items: center; }
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(#0000 0%, #000 12%, #000 88%, #0000 100%), linear-gradient(90deg, #0000 0%, #000 12%, #000 88%, #0000 100%);
  mask-image: linear-gradient(#0000 0%, #000 12%, #000 88%, #0000 100%), linear-gradient(90deg, #0000 0%, #000 12%, #000 88%, #0000 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.brand-copy { position: relative; padding: 48px clamp(32px, 6vw, 80px); max-width: 620px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
h1 { font-size: clamp(28px, 3.1vw, 42px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; max-width: 14em; }

@media (max-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .pane.form { min-height: 0; padding: 20px 20px 24px; }
  .brand { border-left: 0; border-top: 1px solid var(--line); min-height: 340px; }
  .brand-copy { padding: 40px 24px; }
}
@media (max-width: 520px) { .bar-nav a:first-child { display: none; } }

/* ---- progress ---- */
.prog { margin-bottom: 26px; }
.prog p { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.segs i { height: 4px; border-radius: 4px; background: var(--line); transition: background 0.3s; }
.segs i.on { background: var(--blue); }

/* ---- blocks ---- */
h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.sub { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.block:not([hidden]) ~ .block:not([hidden]) { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 20px; border-radius: 10px; background: var(--danger-tint); color: var(--danger); border: 1px solid #ffd5d2; font-size: 13.5px; font-weight: 500; line-height: 1.5; }
.alert .ic { margin-top: 2px; }
.confirm { margin-bottom: 20px; }
.confirm p { margin-bottom: 10px; font-size: 13.5px; line-height: 1.5; }
.confirm label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.note { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }
.note.soft { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.note.soft .ic { margin-top: 3px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.status { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue-dark); }

/* ---- drop zone ---- */
.drop { margin-top: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 224px; padding: 24px 20px; text-align: center; cursor: pointer; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: #fbfcff; transition: border-color 0.15s, background 0.15s; }
.drop .cloud { width: 56px; height: 56px; stroke-width: 1.3; color: #b9c3dc; margin-bottom: 8px; transition: color 0.15s; }
.drop-text { font-size: 15px; color: var(--ink-3); max-width: 15em; }
.pick { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.drop-sub { font-size: 12.5px; color: var(--ink-3); }
.drop:hover, .drop.over { border-color: var(--blue); background: var(--blue-tint); }
.drop:hover .cloud, .drop.over .cloud { color: var(--blue); }
.drop.busy { pointer-events: none; opacity: 0.55; }

/* ---- uploaded file row (like a recent-uploads list) ---- */
.files { list-style: none; margin-top: 14px; border-top: 1px solid var(--line); }
.files li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.files .ic { color: var(--ink-3); }
.fmeta { flex: 1; min-width: 0; display: grid; }
.fmeta strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmeta span { font-size: 12px; color: var(--ink-3); }
.fstate { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.fstate.ok { color: var(--ok); }
.fstate.err { color: var(--danger); }
.fstate.load::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--blue); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fstate.ok::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #17c86a; color: var(--white); font-size: 10px; }

.help { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.help summary { cursor: pointer; font-weight: 600; color: var(--blue-dark); width: fit-content; }
.help p { margin: 10px 0; }
.quote { border-left: 3px solid var(--blue); background: #fbfcff; border-radius: 0 10px 10px 0; padding: 10px 14px; }
.quote p { margin: 0 0 6px; font-size: 13px; color: var(--ink); }

/* ---- buttons and links ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; font: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--blue); color: var(--white); cursor: pointer; transition: background 0.15s, transform 0.1s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.line { background: var(--white); color: var(--blue-dark); }
.btn.line:hover { background: var(--blue-tint); }
.btn.big { height: 50px; padding: 0 30px; font-size: 16px; }
.text-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--blue-dark); cursor: pointer; padding: 4px 0; }
.text-btn:hover { text-decoration: underline; }
.text-btn.muted { color: var(--ink-3); font-weight: 500; text-decoration: underline; }
.link-out { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--blue-dark); text-decoration: none; }
.link-out:hover { text-decoration: underline; }
.restart { text-align: center; margin-top: 18px; }
.restart:has(button[hidden]) { display: none; }

/* ---- plans ---- */
.seg { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.seg-btn, .pay-btn { font: inherit; font-size: 12.5px; font-weight: 600; padding: 5px 15px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); cursor: pointer; }
.seg-btn.on, .pay-btn.on { background: var(--blue); color: var(--white); }
.plans { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 18px; background: var(--white); }
.plan + .plan { border-top: 1px solid var(--line); }
.plan.best { background: var(--blue-tint); box-shadow: inset 3px 0 0 var(--blue); }
.plan-fit { font-size: 12px; font-weight: 700; color: var(--blue-dark); margin-bottom: 2px; }
.plan-why { font-size: 13px; line-height: 1.45; color: var(--ink-2); margin: 2px 0 6px; }
.plan h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.plan-specs { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.plan-for { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.plan-buy { text-align: right; display: grid; gap: 4px; justify-items: end; }
.plan-price { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.plan-price small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.plan-save { font-size: 12px; font-weight: 600; color: var(--ok); }
.plan .btn { margin-top: 6px; height: 40px; }
@media (max-width: 520px) { .plan { grid-template-columns: minmax(0, 1fr); } .plan-buy { text-align: left; justify-items: start; } }

/* ---- sign-up form ---- */
.summary { margin: 4px 0 18px; padding: 10px 14px; border-radius: 10px; background: var(--blue-tint); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color 0.15s, box-shadow 0.15s; }
.field input::placeholder { color: #9aa5c0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 102, 255, 0.15); }
.field [aria-invalid="true"] { border-color: #d92d20; }
.pair { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
.err { margin-top: 5px; font-size: 12.5px; font-weight: 500; color: var(--danger); }
.cb { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.cb input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.wide { width: 100%; margin-top: 4px; }
#signup-fallback { margin: 0 0 12px; }

/* ---- next step + the domain step ---- */
.segs { grid-template-columns: repeat(5, 1fr); }
.next { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcff; }
.next h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.next .note { margin: 4px 0 14px; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.next.compact { padding: 0; border: 0; background: none; margin-top: 16px; }
.next.compact .next-full { display: none; }
.pane .sub { margin: 4px 0 14px; }
.choices { display: grid; gap: 10px; margin-bottom: 14px; }
.choice { position: relative; display: grid; gap: 2px; text-align: left; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.choice b { font-size: 15px; }
.choice span { font-size: 13px; color: var(--ink-3); }
.choice:hover:not(:disabled) { border-color: var(--blue); background: var(--blue-tint); }
.choice:disabled { cursor: not-allowed; opacity: 0.6; background: #fbfcff; }
.choice em { position: absolute; top: 12px; right: 14px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; }
#domain-form label { display: block; font-size: 13px; font-weight: 600; margin: 4px 0 5px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 10px; }
.inline input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 102, 255, 0.15); }
.dom { font: 700 17px/1.3 ui-monospace, "SF Mono", Consolas, monospace; word-break: break-all; margin-bottom: 10px; }
.reco { border-left: 3px solid var(--blue); background: var(--blue-tint); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: 13.5px; color: var(--ink); margin-bottom: 14px; }
.instr h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.instr ol { list-style: none; counter-reset: st; display: grid; gap: 10px; margin: 0 0 8px; }
.instr li { counter-increment: st; position: relative; padding-left: 30px; font-size: 14px; color: var(--ink-2); }
.instr li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-dark); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.instr .warn { color: var(--danger); font-weight: 600; font-size: 13px; margin: 4px 0 8px; }
.dns { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dns-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 10px 12px; font-size: 13px; }
.dns-row + .dns-row { border-top: 1px solid var(--line); }
.dns-row b { font-weight: 700; }
.dns-row .val { display: grid; gap: 2px; min-width: 0; }
.dns-row code { display: block; padding: 4px 8px; font-size: 12px; }
.dns-row small { color: var(--ink-3); font-size: 12px; }
#dp-switch { margin: 6px 0 4px; }
#dp-stages { margin-top: 18px; }
#dp-done h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
#dp-done .btn { margin-top: 10px; }

/* ---- waiting + publishing ---- */
.bar-load { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 18px 0; }
.bar-load span { display: block; height: 100%; width: 30%; background: var(--blue); border-radius: 99px; animation: slide 1.5s ease-in-out infinite; }
@keyframes slide { from { margin-left: -30%; } to { margin-left: 100%; } }
.timeline { list-style: none; margin: 18px 0 6px; display: grid; }
.timeline li { position: relative; padding: 0 0 15px 28px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 20px; bottom: 1px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: #17c86a; border-color: #17c86a; content: "\2713"; color: var(--white); font-size: 10px; line-height: 13px; text-align: center; }
.timeline li.done::after { background: #17c86a; }
.timeline li.cur { color: var(--ink); }
.timeline li.cur::before { border-color: var(--blue); background: var(--blue-tint); animation: timeline-pulse 1.4s ease-in-out infinite; }

@keyframes timeline-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(29, 102, 255, 0.35); } 50% { box-shadow: 0 0 0 5px rgba(29, 102, 255, 0.12); } }

/* Mockup de terminal animado, como se o site estivesse sendo escrito/publicado ao vivo (etapa 4 de 5) */
.term-mock { margin: 18px 0; border-radius: var(--radius); overflow: hidden; background: #10142a; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1a2142; }
.term-dot { width: 8px; height: 8px; border-radius: 50%; background: #3a4562; }
.term-title { margin-left: 8px; font-size: 12px; color: #8891b0; font-family: "SFMono-Regular", Consolas, Menlo, monospace; }
.term-body { padding: 16px; display: grid; gap: 10px; font-family: "SFMono-Regular", Consolas, Menlo, monospace; font-size: 12.5px; line-height: 1.6; }
.term-line { display: block; overflow: hidden; white-space: nowrap; width: 0ch; color: #8fd4a8; animation: term-type 6s steps(30, end) infinite; }
.term-line:nth-child(1) { --n: 44; }
.term-line:nth-child(2) { --n: 37; animation-delay: 1.4s; color: #9fb0ff; }
.term-line:nth-child(3) { --n: 37; animation-delay: 2.8s; color: #ffd27a; }
.term-line:nth-child(4) { --n: 34; animation-delay: 4.2s; color: #8fd4a8; }
.term-cursor { display: inline-block; width: 7px; height: 14px; background: #8fd4a8; animation: term-blink 1s step-end infinite; }
@keyframes term-type { 0% { width: 0ch; opacity: 1; } 22% { width: calc(var(--n) * 1ch); } 85% { width: calc(var(--n) * 1ch); opacity: 1; } 100% { width: calc(var(--n) * 1ch); opacity: 0; } }
@keyframes term-blink { 50% { opacity: 0; } }

#deploy-done { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.done-check-circle { stroke: var(--ok); stroke-dasharray: 176; stroke-dashoffset: 176; animation: done-circle 0.5s ease-out forwards; }
.done-check-mark { stroke: var(--ok); stroke-dasharray: 34; stroke-dashoffset: 34; animation: done-mark 0.35s 0.45s ease-out forwards; }
@keyframes done-circle { to { stroke-dashoffset: 0; } }
@keyframes done-mark { to { stroke-dashoffset: 0; } }

/* ---- use it from your AI (lives in the brand pane, always visible) ---- */
.ia { margin-top: 36px; max-width: 460px; }
.ia h2 { font-size: 17px; }
.ia .sub { margin: 6px 0 8px; font-size: 13.5px; }
.use-list > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.use-list dt { font-weight: 700; font-size: 13.5px; }
.use-list dt span { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.use-list dd { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
code { flex: 1; min-width: 0; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12px; line-height: 1.5; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; word-break: break-word; }
.use-list .text-btn { margin-top: 5px; }

@media (max-width: 520px) { .pane.form { padding: 16px 16px 20px; } .drop { min-height: 190px; } }

/* Pix on the page */
.pix { display: flex; gap: 22px; align-items: flex-start; margin: 18px 0 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-tint); }
.pix-qr { width: 180px; height: 180px; flex: none; border-radius: 8px; background: var(--white); padding: 8px; image-rendering: pixelated; }
.pix-side { min-width: 0; flex: 1; }
.pix-amount { font-size: 15px; color: var(--ink-2); }
.pix-amount strong { font-size: 22px; color: var(--ink); }
/* Sempre em coluna: ao lado do QR (180px), a coluna de texto raramente tem mais que ~200px de sobra --
   largo o bastante pra um campo cheio empilhado, estreito demais pra campo e botão lado a lado (o botão
   sozinho já passa dos 200px). Isso valia só pra telas pequenas antes, mas o cartão tem largura fixa, então
   o aperto acontece em qualquer tela, inclusive desktop. */
.pix-code { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pix-code input { min-width: 0; font: inherit; font-size: 12.5px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); color: var(--ink-2); }
@media (max-width: 560px) { .pix { flex-direction: column; align-items: center; } .pix-side { width: 100%; } }

#pay-tabs { margin: 18px 0 4px; }
.card-pay { margin: 18px 0 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-tint); }
.card-pay .pix-amount { margin-bottom: 12px; }

/* Buying a domain */
.offers { list-style: none; margin: 14px 0; display: grid; gap: 8px; }
.offers li { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.offers .off-name { font-weight: 700; word-break: break-all; }
.offers .off-price { font-size: 13px; color: var(--ink-3); }
.offers li.taken { opacity: 0.6; }
.offers .off-side { display: flex; align-items: center; gap: 12px; flex: none; }
.pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair2.city { grid-template-columns: 2fr 1fr; }
@media (max-width: 420px) { .pair2 { grid-template-columns: 1fr; } .offers li { flex-direction: column; align-items: flex-start; } }

/* Right pane: the "use with your AI" copy only makes sense on step 1 (that's where you'd copy it out
   to hand to the AI); the plan picker and the customer's own data take that space on steps 2 and 3. */
.brand-copy { display: none; }
.brand.step1 .brand-copy { display: block; }
.brand:not(.step1) { align-items: stretch; } /* the side panel fills the pane's height instead of centering a short block */
.side-panel { position: relative; width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(16px, 3vw, 40px); min-height: 0; }
@media (max-width: 1000px) { .side-panel { padding: 20px 16px; } }

/* Device frame (phone/tablet/desktop chrome): used on the standalone preview-view page. */
.device-stage { flex: 1; min-height: 320px; display: flex; align-items: flex-start; justify-content: center; }
.device-frame { position: relative; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; box-shadow: 0 18px 50px rgba(11, 16, 35, 0.16); }
.device-frame.tablet { border: 10px solid #1b2238; border-radius: 26px; }
.device-frame.mobile { border: 9px solid #1b2238; border-radius: 34px; }
.device-frame iframe { position: absolute; top: 0; left: 0; border: 0; background: var(--white); transform-origin: 0 0; }
.device-size { font-size: 12.5px; color: var(--ink-3); text-align: center; }
@media (max-width: 1000px) { .device-stage { min-height: 260px; } }
.dev-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12.5px; font-weight: 600; padding: 5px 15px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); cursor: pointer; }
.dev-btn.on { background: var(--blue); color: var(--white); }

/* Standalone preview-view page (its own tab: the wizard just links to it). */
body.preview-view { background: var(--blue-tint); min-height: 100vh; }
.view-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px clamp(16px, 3vw, 40px); background: var(--white); border-bottom: 1px solid var(--line); }
.view-logo img { height: 24px; display: block; }
#device-page { padding: 24px clamp(16px, 3vw, 40px) 40px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.more-plans { text-align: center; margin: 6px 0 0; }
