/* aThemes + Levamo onboarding prototype
   Tokens come from the Figma library variables (Page: Components). */

:root {
  color-scheme: light;
  /* text */
  --text-primary: #2c3338;
  --text-secondary: #50575e;
  --text-tertiary: #787c82;
  --text-icon: #a7aaad;
  --text-link: #335eea;
  /* brand */
  --brand-50: #335eea;
  --brand-60: #2a4fd0;
  --brand-10: #f1f4ff;
  --brand-20: #dfe6fc;
  /* surfaces */
  --surface-white: #ffffff;
  --surface-light: #f7f7f7;
  --surface-divider: #dcdcde;
  --surface-border: #c3c4c7;
  --field-border: #c3c4c7;
  --field-text: #2c3338;
  /* utility */
  --green-30: #00ba37;
  --amber: #dba617;
  --red: #d63638;
  --ink-dark: #1d2327;
  --ink-night: #101828;
  /* spacing */
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-xl: 24px;
  --sp-xxl: 32px;
  --sp-xxxl: 40px;
  /* radius */
  --r-button: 4px;
  --r-card: 8px;
  --r-xl: 10px;
  /* shadows */
  --shadow-card-sm: 0 4px 5px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.05);
  --shadow-card-md: 0 12px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-input-up: 0 -4px 8px rgba(0,0,0,.04);
  --ui-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h: 80px;
  --sidebar-w: 400px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--surface-light);
  color: var(--text-primary);
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--text-link); }
p { margin: 0; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-50); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- App frame ---------- */
#app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 1024px;
}
.screen {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--surface-light);
}
.screen-enter { animation: screenIn .28s ease-out both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Header (Figma: Header) ---------- */
.hdr {
  position: sticky; top: 0; z-index: 30;
  height: var(--header-h);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: var(--surface-white);
  border-bottom: 1px solid var(--surface-divider);
}
/* Lockup laid out to the Figma spec (node 15:926): absolute offsets inside a 32px box so
   "Powered by" and the Levamo mark share the aThemes wordmark's baseline. */
.lockup { position: relative; width: 387px; height: 32px; flex: 0 0 auto; }
.lockup img.athemes { position: absolute; left: 0; top: 0; width: 139.738px; height: 32px; display: block; }
.lockup .bar { position: absolute; left: 151.74px; top: 8px; width: 1px; height: 20px; background: var(--surface-divider); }
.lockup .powered { position: absolute; left: 164.74px; top: 7px; margin: 0; font-size: 18px; line-height: normal; color: var(--text-secondary); white-space: nowrap; }
.lockup .powered img { position: absolute; left: 109px; top: 1px; width: 113.215px; height: 18px; display: block; }
.hdr-right { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 14px; }
.hdr-right .store-name { font-weight: 700; color: var(--text-primary); }
.hdr-right svg { width: 14px; height: 14px; }
.hdr-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); margin-right: 24px; }
.hdr-status svg { color: var(--brand-50); }
.hdr-close { width: 20px; height: 20px; border: 0; background: none; padding: 0; color: var(--text-icon); display: inline-flex; align-items: center; justify-content: center; }
.hdr-close svg { width: 20px; height: 20px; }
.hdr-close:hover { color: var(--text-secondary); }

/* ---------- Buttons (Figma: Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 15px;
  border-radius: var(--r-button);
  border: 1px solid transparent;
  font-weight: 600; font-size: 14px; line-height: 1.2;
  padding-top: 2px;
  white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s, opacity .12s;
}
.btn:disabled { cursor: default; }
.btn-primary { background: var(--brand-50); color: #fff; }
.btn-primary:hover { background: var(--brand-60); }
.btn-secondary { background: var(--surface-white); color: var(--text-primary); border-color: var(--surface-border); }
.btn-secondary:hover { border-color: var(--text-tertiary); }
.btn-tertiary { background: transparent; color: var(--brand-50); border-color: var(--brand-50); }
.btn-tertiary:hover { background: var(--brand-10); }
.btn-ghost { background: transparent; color: var(--text-link); border-color: transparent; padding: 0 8px; }
.btn-ghost:hover { background: var(--brand-10); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.is-picked { background: var(--brand-50); color: #fff; border-color: var(--brand-50); }
.btn.is-faded { opacity: .45; }
.btn svg { width: 14px; height: 14px; }
.link { color: var(--text-link); font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }
.link.subtle { font-weight: 600; }

/* ---------- Fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lbl { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.input {
  height: 40px; width: 100%;
  padding: 0 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-button);
  background: var(--surface-white);
  color: var(--field-text);
  font-size: 14px;
}
.input::placeholder { color: var(--text-icon); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350575e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.input:focus { outline: none; border-color: var(--brand-50); box-shadow: 0 0 0 1px var(--brand-50); }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-primary); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-50); margin: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }

/* ---------- athemes.com header + Botiga sub-nav (entry page only) ---------- */
.ath-top { --ath-ink: #131a2b; --ath-text: #4d4d4d; --ath-blue: #4769d8; font-family: 'Graphik Web', var(--ui-font); background: #fff; flex: 0 0 auto; }
.ath-top { height: 88px; border-bottom: 1px solid rgba(223,231,240,.5); position: relative; z-index: 2; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.ath-wrap { width: 1140px; max-width: calc(100% - 48px); margin: 0 auto; height: 100%; display: flex; align-items: center; }
.ath-logo { display: inline-flex; align-items: center; }
.ath-logo img { display: block; width: 111px; height: 26px; }
.ath-menu { list-style: none; margin: 0 0 0 auto; padding: 3px; display: flex; align-items: center; background: #fafbfd; border-radius: 4px; }
.ath-menu a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 4px; font-size: 16px; line-height: 25px; font-weight: 400; color: var(--ath-text); text-decoration: none; }
.ath-menu a:hover { color: var(--ath-ink); }
.ath-menu a svg { width: 14px; height: 14px; color: #8a8f98; }
.ath-menu .sep { width: 1px; height: 24px; background: #e3e8ef; margin: 0 12px 0 14px; }

/* ---------- Entry (01) ---------- */
.entry-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 36px; padding: 40px 120px 100px;
  background: #f4f6f9 url('../assets/entry-bg.jpg') center bottom / cover no-repeat;
}
.entry-copy { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.entry-copy h1 { margin: 0; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; max-width: 720px; text-wrap: balance; color: var(--text-primary); }
.entry-copy p { font-size: 17px; color: var(--text-secondary); max-width: 540px; line-height: 1.5; }
.prompt-box {
  width: 760px; max-width: 100%;
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 8px 8px 8px 20px;
  background: var(--surface-white);
  border: 1px solid var(--field-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card-md);
}
.prompt-box:focus-within { border-color: var(--brand-50); box-shadow: var(--shadow-card-md), 0 0 0 1px var(--brand-50); }
.prompt-box input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; min-width: 0; }
.chips-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chips-wrap .hint { font-size: 13px; color: var(--text-tertiary); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.chip {
  height: 34px; padding: 0 14px;
  background: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  transition: border-color .12s, background .12s;
}
.chip:hover { border-color: var(--brand-50); color: var(--brand-50); }
.chip.is-on { background: var(--brand-10); border-color: var(--brand-50); color: var(--brand-50); }

/* ---------- Two-pane workspace (02, 03, 06) ---------- */
.work { flex: 0 0 auto; display: flex; min-height: 0; height: calc(100vh - var(--header-h)); overflow: hidden; }
.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w);
  display: flex; flex-direction: column;
  background: var(--surface-white);
  border-right: 1px solid var(--surface-divider);
  min-height: 0;
}
.chat-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 24px; scroll-behavior: smooth; }
.chat { display: flex; flex-direction: column; gap: 24px; }
.chat-footer { padding: 16px; background: var(--surface-white); box-shadow: var(--shadow-input-up); }
.composer {
  display: flex; align-items: flex-end; gap: 12px;
  min-height: 48px; padding: 8px 8px 8px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-card);
  background: var(--surface-white);
  box-shadow: var(--shadow-card-sm);
}
.composer:focus-within { border-color: var(--brand-50); }
.composer.is-capturing { border-color: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-10); }
.capture-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 10px; font-size: 12px; font-weight: 700; color: var(--brand-50); }
.capture-bar span { display: inline-flex; align-items: center; gap: 6px; }
.capture-bar span svg { width: 12px; height: 12px; }
.capture-bar .muted { color: var(--text-tertiary); font-weight: 400; }
.capture-bar .link { font-size: 12px; }

.composer input { flex: 1; min-height: 32px; border: 0; outline: 0; background: transparent; font-size: 14px; min-width: 0; }
.composer input::placeholder { color: var(--text-icon); }
.send { width: 32px; height: 32px; border: 0; border-radius: var(--r-button); background: var(--brand-50); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.send:hover { background: var(--brand-60); }
.send svg { width: 16px; height: 16px; }

.content { flex: 1; min-width: 0; display: flex; align-items: stretch; justify-content: center; padding: 24px; overflow: auto; }

/* ---------- Chat messages (Figma: Chat Response / Chat Prompt / Chat Responses / Decision) ---------- */
.msg { animation: msgFade .25s ease-out both; }
@keyframes msgFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg-ai { display: flex; gap: 12px; align-items: flex-start; }
.msg-ai .avatar {
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 10px;
  background: var(--brand-50); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0;
}
.msg-ai .avatar svg { width: 12px; height: 12px; }
.msg-ai .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.msg-ai .text { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-primary); }
.msg-ai .text .lead { font-weight: 700; }
.msg-ai .text .muted { color: var(--text-secondary); }
.msg-ai .text.is-thinking { color: var(--text-tertiary); }
.dots span { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--text-icon); animation: dot 1s infinite ease-in-out; }
.dots span:nth-child(2) { animation-delay: .15s; } .dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }

.msg-user { display: flex; justify-content: flex-end; padding-left: 32px; }
.msg-user .bubble {
  max-width: 100%; width: 100%;
  padding: 16px; border-radius: var(--r-card);
  background: var(--brand-10); color: var(--text-primary); font-size: 14px;
}
.msg-user.is-short { justify-content: flex-end; }
.msg-user.is-short .bubble { width: auto; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }

/* build log */
.log { display: flex; flex-direction: column; gap: 12px; }
.log-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); transition: opacity .4s ease, color .4s ease; }
.log-item .ic { transition: color .4s ease; }
.log-item .ic { width: 14px; height: 20px; flex: 0 0 14px; display: inline-flex; align-items: center; justify-content: center; }
.log-item .ic svg { width: 14px; height: 14px; }
.log-item.done .ic { color: var(--green-30); }
.log-item.active .ic { color: var(--text-icon); }
.log-item.pending { opacity: .45; }
.log-item strong { font-weight: 500; color: var(--text-secondary); }
.spin { animation: spin 1s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }

/* collapsed decision: label + Change on the first line, value on its own line */
.rows { display: flex; flex-direction: column; gap: 12px; }
.row-dec {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 16px 11px;
  background: var(--surface-light);
  border-radius: var(--r-button);
  font-size: 13px;
}
.row-dec .row-head { display: flex; align-items: center; gap: 10px; }
.row-dec .lbl { flex: 1; min-width: 0; font-weight: 700; color: var(--text-primary); }
.row-dec .val { font-weight: 400; color: var(--text-primary); line-height: 1.4; overflow-wrap: anywhere; }
.row-dec .link { font-size: 12px; flex: 0 0 auto; }
.row-dec.is-flash { animation: flash .9s ease-out; }
@keyframes flash { 0% { background: var(--brand-20); } 100% { background: var(--surface-light); } }

/* decision card (Figma-styled) */
.dcard {
  border: 1px solid var(--surface-divider);
  border-radius: var(--r-card);
  background: var(--surface-white);
  box-shadow: var(--shadow-card-sm);
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.dcard .eyebrow { font-size: 11px; }
.dcard .pick { display: flex; gap: 12px; align-items: flex-start; }
.dcard .pick .thumb { flex: 0 0 auto; }
.dcard .pick .name { font-weight: 700; font-size: 14px; }
.dcard .pick .why { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.dcard .alts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.alt { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 12px; color: var(--text-secondary); }
.alt .thumb, .swatch { border: 1px solid var(--surface-border); border-radius: 6px; overflow: hidden; }
.alt:hover .thumb, .alt:hover .swatch { border-color: var(--brand-50); }
.alt.is-on { color: var(--text-primary); font-weight: 700; }
.alt.is-on .thumb, .alt.is-on .swatch { border-color: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-50); }
.alt .thumb { width: 100%; }
.design-thumb { width: 100%; aspect-ratio: 296 / 300; background: #fff; overflow: hidden; }
.design-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dcard .pick .thumb { flex: 0 0 calc(50% - 6px); }
.dcard .pick .thumb .design-thumb { width: 100%; border: 1px solid var(--surface-border); border-radius: 6px; }
.swatch { display: flex; height: 40px; width: 100%; }
.swatch i { flex: 1; }
.fontlist { display: flex; flex-direction: column; gap: 8px; }
.fontlist .fontcard { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; }
.fontcard {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left;
  padding: 10px 12px; border: 1px solid var(--surface-border); border-radius: 6px; background: #fff;
}
.fontcard:hover { border-color: var(--brand-50); }
.fontcard.is-on { border-color: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-50); background: var(--brand-10); }
.fontcard .fname { font-size: 16px; line-height: 1.2; color: var(--text-primary); }
.fontcard .fsub { font-size: 12px; color: var(--text-secondary); text-align: right; }
.dcard .sep { height: 1px; background: var(--surface-divider); }
.dcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dcard .foot.is-left { justify-content: flex-start; }
.dcard .else { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--text-secondary); font-size: 13px; }
.dcard .else:hover { color: var(--text-primary); }
.dcard .else svg { width: 12px; height: 12px; }
.dcard.is-collapsed { opacity: .6; pointer-events: none; }
.dcard .free { display: flex; gap: 8px; }
.pills { display: flex; flex-direction: column; gap: 8px; }
.pill {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--surface-border); border-radius: 6px; background: #fff;
  font-weight: 700; font-size: 14px; color: var(--text-primary); text-align: left; line-height: 1.4;
}
.pill small { font-weight: 400; font-size: 12px; color: var(--text-secondary); text-align: right; }
.pill:hover { border-color: var(--brand-50); }
.pill.is-on { border-color: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-50); background: var(--brand-10); }
.fees { width: 100%; border-collapse: collapse; font-size: 12px; }
.fees th, .fees td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--surface-divider); }
.fees th { color: var(--text-secondary); font-weight: 600; }
.fees tr:last-child td { border-bottom: 0; }

/* name suggestions: same surface as a decision row, name on top, note below */
.namecard { display: flex; flex-direction: column; gap: 8px; }
.namecard .opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 10px 16px 11px; border: 1px solid transparent; border-radius: var(--r-button); background: var(--surface-light);
  text-align: left; font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.4;
}
.namecard .opt small { font-weight: 400; color: var(--text-secondary); font-size: 13px; }
.namecard .opt:hover { border-color: var(--surface-border); }
.namecard .opt.is-on { border-color: var(--brand-50); background: var(--brand-10); }

/* upload */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; border: 1px dashed var(--surface-border); border-radius: var(--r-card);
  background: var(--surface-light); text-align: center; cursor: pointer; position: relative;
}
.dropzone.is-over { border-color: var(--brand-50); background: var(--brand-10); }
.dropzone svg { width: 24px; height: 24px; color: var(--text-icon); }
.dropzone .t1 { font-weight: 700; font-size: 13px; }
.dropzone .t1 span { color: var(--brand-50); }
.dropzone .t2 { font-size: 12px; color: var(--text-tertiary); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-preview { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--surface-divider); border-radius: 6px; }
.logo-preview img { height: 28px; max-width: 160px; object-fit: contain; }
.logo-preview .cols { display: flex; gap: 4px; margin-left: auto; }
.logo-preview .cols i { width: 14px; height: 14px; border-radius: 3px; display: block; border: 1px solid rgba(0,0,0,.08); }

/* country search */
.country-list { max-height: 200px; overflow: auto; border: 1px solid var(--surface-divider); border-radius: 6px; }
.country-list button { display: flex; width: 100%; justify-content: space-between; padding: 9px 12px; border: 0; background: #fff; text-align: left; font-size: 13px; }
.country-list button:hover { background: var(--brand-10); }
.country-list button small { color: var(--text-tertiary); }

/* claim CTA in chat */
.claim-cta {
  background: var(--ink-night); color: #fff; border-radius: var(--r-card);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.claim-cta h3 { margin: 0; font-size: 17px; font-weight: 700; }
.claim-cta p { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.5; }
.claim-cta .btn-primary { height: 44px; font-size: 15px; }
.claim-cta .tiny { font-size: 12px; color: rgba(255,255,255,.6); }
.claim-cta .tiny b { color: #fff; font-variant-numeric: tabular-nums; }

/* inline note */
.note { font-size: 13px; color: var(--text-secondary); padding-left: 32px; }

/* ---------- Storefront (display-only) ---------- */
.site {
  flex: 1; min-width: 0; align-self: stretch;
  background: #fff; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-card-md);
  display: flex; flex-direction: column;
  position: relative;
  font-family: var(--sf-body);
  color: var(--sf-ink);
}
.site, .site * { cursor: default; user-select: none; -webkit-user-select: none; }
.site img { pointer-events: none; -webkit-user-drag: none; }
.site.is-full { border-radius: 0; box-shadow: none; flex: 1; }
.site-scroll { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.site-scroll > * { flex: 0 0 auto; }
.site-scroll > .sf-footer { margin-top: auto; }
.build-bar {
  transition: opacity .25s ease;
  height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink-night); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.build-bar svg { width: 12px; height: 12px; }
.sf-promo { height: 28px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; letter-spacing: .01em; background: var(--sf-ink); color: #fff; }
.sf-nav {
  height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 28px; background: var(--sf-nav-bg); color: var(--sf-nav-ink); border-bottom: 1px solid rgba(0,0,0,.06);
}
.sf-catbar { height: 40px; display: flex; align-items: center; gap: 26px; padding: 0 60px; background: var(--sf-accent); color: #fff; font-size: 12px; font-weight: 500; }
.sf-catbar span:first-child { margin-right: auto; opacity: .9; }
.sf-brand { font-family: var(--sf-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--sf-nav-ink); display: flex; align-items: center; min-width: 0; }
.sf-brand.is-placeholder { color: var(--sf-muted); opacity: .65; font-weight: 500; }
.sf-brand img { height: 28px; max-width: 180px; object-fit: contain; display: block; }
.sf-links { display: flex; gap: 28px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sf-nav-ink); }
.sf-links span { padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .3s; }
.sf-links span.is-hl { border-bottom-color: var(--sf-accent); }
.sf-icons { display: flex; gap: 16px; color: var(--sf-nav-ink); }
.sf-icons svg { width: 16px; height: 16px; }
.sf-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 430px; position: relative; }
.sf-hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px 48px 56px 60px; background: var(--sf-hero-bg); color: var(--sf-hero-ink); order: 1; }
.sf-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sf-hero-muted); font-weight: 600; }
.sf-title { font-family: var(--sf-display); font-size: 44px; line-height: 1.1; color: var(--sf-hero-ink); font-weight: 500; letter-spacing: -.01em; max-width: 380px; text-wrap: balance; text-transform: var(--sf-title-transform); }
.sf-sub { font-size: 14px; line-height: 1.6; color: var(--sf-hero-muted); max-width: 360px; }
.sf-cta { display: inline-flex; align-self: flex-start; align-items: center; height: 44px; padding: 0 22px; background: var(--sf-btn); color: var(--sf-btn-ink); border: 1px solid var(--sf-btn-border); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--sf-radius); }
.sf-hero-art { position: relative; background: var(--sf-accent); background-size: cover; background-position: center; overflow: hidden; min-height: 300px; order: 2; }
.sf-products { padding: 32px 60px 40px; display: flex; flex-direction: column; gap: 22px; background: var(--sf-surface); }
.sf-sec-head { display: flex; align-items: baseline; justify-content: space-between; }
.sf-sec-head h3 { margin: 0; font-family: var(--sf-display); font-size: 22px; font-weight: 500; color: var(--sf-ink); }
.sf-sec-head span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--sf-muted); font-weight: 600; }
.sf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sf-prod { display: flex; flex-direction: column; gap: 10px; }
.sf-prod .img { aspect-ratio: 1 / 1; border-radius: var(--sf-img-radius, var(--sf-radius)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.sf-prod .img.photo { background-size: cover; background-position: center; }
.sf-prod .img.skel-bar { height: auto; aspect-ratio: 1 / 1; background: rgba(0,0,0,.05); }
.sf-prod .nm { font-size: 14px; color: var(--sf-ink); }
.sf-prod .pr { font-size: 13px; color: var(--sf-muted); font-variant-numeric: tabular-nums; }
.sf-footer { margin-top: auto; padding: 28px 60px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--sf-muted); border-top: 1px solid rgba(0,0,0,.06); background: var(--sf-surface); }
.sf-footer .links { display: flex; gap: 18px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.skel, .skel-bar { position: relative; overflow: hidden; }
.skel { background: rgba(0,0,0,.06); border-radius: 4px; color: transparent !important; border-color: transparent !important; }
.skel::after, .skel-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); transform: translateX(-100%); animation: shimmer 1.8s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.is-new { animation: fadeUp 1s cubic-bezier(.22,.61,.36,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sf-hero-art.is-new { animation-name: fadeIn; animation-duration: 1.2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sf-brand, .sf-links, .sf-eyebrow, .sf-title, .sf-sub, .sf-cta, .sf-hero-art, .sf-prod, .sf-prod .nm, .sf-prod .pr, .sf-sec-head h3, .sf-sec-head span { transition: background-color .4s ease, color .4s ease; }
.skel-bar { height: 12px; border-radius: 4px; background: rgba(0,0,0,.07); }

/* layouts: mirror the Botiga templates */
.site[data-layout="split"] .sf-hero { grid-template-columns: 1fr 1fr; }
.site[data-layout="photo-center"] .sf-hero, .site[data-layout="photo-left"] .sf-hero { grid-template-columns: 1fr; min-height: 460px; }
.site[data-layout="photo-center"] .sf-hero-art, .site[data-layout="photo-left"] .sf-hero-art { position: absolute; inset: 0; order: 0; }
.site[data-layout="photo-center"] .sf-hero-art::after, .site[data-layout="photo-left"] .sf-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.12)); }
.site[data-layout="photo-center"] .sf-hero-art::after { background: rgba(0,0,0,.28); }
.site[data-layout="photo-center"] .sf-hero-copy, .site[data-layout="photo-left"] .sf-hero-copy { position: relative; z-index: 1; background: transparent; color: #fff; padding: 80px 60px; }
.site[data-layout="photo-center"] .sf-hero-copy { align-items: center; text-align: center; }
.site[data-layout="photo-center"] .sf-title, .site[data-layout="photo-left"] .sf-title { color: #fff; max-width: 560px; }
.site[data-layout="photo-center"] .sf-title { font-size: 48px; max-width: 720px; }
.site[data-layout="photo-center"] .sf-eyebrow, .site[data-layout="photo-center"] .sf-sub, .site[data-layout="photo-left"] .sf-eyebrow, .site[data-layout="photo-left"] .sf-sub { color: rgba(255,255,255,.85); }
.site[data-layout="photo-center"] .sf-cta { align-self: center; }
.site[data-layout="boxed-dark"] .sf-hero, .site[data-layout="boxed-light"] .sf-hero { grid-template-columns: 1fr 1fr; margin: 24px 40px 8px; border-radius: 14px; overflow: hidden; min-height: 400px; background: var(--sf-hero-bg); }
.site[data-layout="boxed-dark"] .sf-hero-copy, .site[data-layout="boxed-light"] .sf-hero-copy { padding: 56px 40px 56px 48px; }
.site[data-layout="boxed-dark"] .sf-title { font-weight: 700; letter-spacing: -.02em; }
.site[data-layout="boxed-light"] .sf-title { font-weight: 400; letter-spacing: -.01em; font-size: 40px; }
.site[data-layout="boxed-dark"] .sf-hero-art, .site[data-layout="boxed-light"] .sf-hero-art { min-height: 0; }
.site[data-layout="boxed-light"] .sf-products, .site[data-layout="boxed-dark"] .sf-products { padding-top: 40px; }

/* ---------- Claim (04): laid out after the Levamo checkout, aThemes blue for accents ---------- */
.claim {
  --lv-border: #e6e5eb; --lv-field: #d8d7dd; --lv-shadow: 0 1px 2px rgba(24,17,51,.04), 0 8px 24px rgba(24,17,51,.06);
  flex: 1; display: grid; grid-template-columns: 652px 380px; gap: 40px; justify-content: center; align-items: start;
  width: 100%; padding: 40px 24px 48px; background: #f7f7f8;
}
.claim-card { background: #fff; border: 1px solid var(--lv-border); border-radius: 16px; box-shadow: var(--lv-shadow); overflow: hidden; }
.claim-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 20px; }
.claim-head { display: flex; flex-direction: column; gap: 6px; }
.claim h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--text-primary); }
.claim .sub { font-size: 14px; color: var(--text-secondary); }
.sso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sso-btn { height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid var(--lv-field); border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.sso-btn:hover { border-color: var(--text-tertiary); background: #fafafa; }
.sso-btn svg { width: 16px; height: 16px; }
.or { display: flex; align-items: center; gap: 8px; color: #9b98a6; font-size: 13px; font-weight: 500; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--lv-border); }
.signed { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--lv-field); border-radius: 12px; font-size: 14px; }
.signed svg { width: 16px; height: 16px; flex: 0 0 16px; }
.signed .link { margin-left: auto; font-size: 13px; }
.claim .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -8px; }
.claim .grid2 + .grid2 { margin-top: 0; }
.claim .field { gap: 6px; }
.claim .field label { font-size: 14px; font-weight: 600; }
.claim .field label .opt { font-weight: 400; color: var(--text-secondary); }
.claim .input { height: 36px; border-radius: 6px; border-color: var(--lv-field); box-shadow: 0 1px 2px rgba(0,0,0,.05); font-weight: 500; font-size: 14px; }
.claim .input:focus { border-color: var(--brand-50); box-shadow: 0 0 0 1px var(--brand-50); }
.claim .check { font-size: 14px; font-weight: 500; }
.claim .check input { width: 16px; height: 16px; border-radius: 4px; }
.claim-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.plan-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-box { position: relative; text-align: left; padding: 14px 16px; background: #fff; border: 1px solid var(--lv-border); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.plan-box:hover { border-color: var(--lv-field); }
.plan-box.is-on { border-color: var(--brand-50); box-shadow: 0 0 0 1px var(--brand-50); }
.plan-box .pb-check { position: absolute; top: 14px; right: 14px; width: 14px; height: 14px; color: var(--brand-50); display: none; }
.plan-box.is-on .pb-check { display: inline-flex; }
.plan-box .pb-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.plan-box .pb-desc { font-size: 13px; line-height: 1.4; color: var(--text-secondary); padding-right: 8px; }
.claim-submit { height: 40px; border-radius: 6px; font-size: 16px; font-weight: 500; margin-top: 4px; }
.terms { font-size: 14px; color: var(--text-secondary); margin-top: -8px; }
.terms b { color: var(--text-primary); font-weight: 600; }
/* step 1 extras */
.phone { display: flex; }
.phone .prefix { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; height: 36px; border: 1px solid var(--lv-field); border-right: 0; border-radius: 6px 0 0 6px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.phone .prefix svg { width: 12px; height: 12px; color: var(--text-tertiary); }
.phone .input { border-radius: 0 6px 6px 0; }
.pw { position: relative; }
.pw .input { padding-right: 40px; }
.pw .eye { position: absolute; right: 12px; top: 10px; width: 16px; height: 16px; color: var(--text-tertiary); }
.pw .eye svg { width: 16px; height: 16px; }
/* step 2 */
.claim .field .lbl { font-size: 14px; font-weight: 600; }
.radios { display: flex; gap: 24px; margin: 4px 0 6px; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; cursor: pointer; }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-50); }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; }
.pay-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--lv-field); border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-primary); }
.pay-box svg { width: 24px; height: 24px; }
.pay-box.is-on { border-color: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-50); }
.card-group { border: 1px solid var(--lv-field); border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.card-group .input { border: 0; border-radius: 0; box-shadow: none; height: 44px; }
.card-group .input:focus { box-shadow: inset 0 0 0 1px var(--brand-50); }
.cg-row { display: flex; align-items: center; position: relative; }
.cg-row + .cg-row { border-top: 1px solid var(--lv-field); }
.cg-row.two > * { flex: 1; }
.cg-row.two .input { border-right: 1px solid var(--lv-field); }
.cg-row.two .cvv .input { border-right: 0; }
.cvv { position: relative; }
.cvv svg { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; color: var(--text-tertiary); }
.brands { position: absolute; right: 12px; top: 12px; display: flex; gap: 4px; }
.brands i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 20px; border-radius: 3px; font-style: normal; font-size: 8px; font-weight: 800; letter-spacing: .02em; color: #fff; }
.brands .visa { background: #1a1f71; }
.brands .mc { background: #fff; border: 1px solid #e5e5e5; gap: 0; }
.brands .mc b { width: 11px; height: 11px; border-radius: 50%; background: #eb001b; }
.brands .mc b + b { background: #f79e1b; margin-left: -4px; opacity: .9; }
.brands .amex { background: #2e77bc; }
.brands .jcb { background: #0e4c96; }
.fraud { font-size: 13px; color: var(--text-secondary); margin-top: -10px; }
.paypal-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--lv-border); border-radius: 8px; font-size: 14px; color: var(--text-secondary); }
.paypal-note svg { width: 20px; height: 20px; flex: 0 0 20px; }
.discount { border-top: 1px solid var(--lv-border); border-bottom: 1px solid var(--lv-border); padding: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.discount-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0; font-size: 15px; font-weight: 500; color: var(--brand-50); }
.discount-toggle svg { width: 18px; height: 18px; }
.check.save-card { align-items: flex-start; padding: 16px; background: #f5f6f8; border-radius: 8px; font-weight: 400; color: var(--text-secondary); line-height: 1.45; }
.check.save-card b { color: var(--text-primary); font-weight: 600; }
.check.marketing { align-items: flex-start; font-weight: 400; line-height: 1.45; }
.check.save-card input, .check.marketing input { margin-top: 2px; }
.fine-center { text-align: center; font-size: 14px; color: var(--text-secondary); }
.sold-by { text-align: center; font-size: 12px; color: var(--text-tertiary); }
.sold-by b { color: var(--text-secondary); font-weight: 700; letter-spacing: -.02em; }
.sold-by .links { margin-left: 6px; display: inline-flex; gap: 10px; }
.sold-by .link { font-size: 12px; font-weight: 500; text-decoration: underline; color: var(--text-secondary); }
.avatar-chip { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin-left: 16px; }
/* summary column */
.summary { background: #fff; border: 1px solid var(--lv-border); border-radius: 16px; box-shadow: var(--lv-shadow); overflow: hidden; display: flex; flex-direction: column; }
.sum-head { padding: 20px 24px; }
.sum-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.sum-sec { padding: 20px 24px; border-top: 1px solid var(--lv-border); display: flex; flex-direction: column; gap: 12px; }
.sum-sec .site-thumb { border-radius: 8px; }
.sum-plan { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 600; }
.sum-plan-tag { font-size: 13px; font-weight: 500; color: var(--brand-50); }
.sum-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sum-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-primary); }
.sum-list svg { width: 14px; height: 14px; color: var(--brand-50); flex: 0 0 14px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.sum-row.strong { color: var(--text-primary); font-weight: 600; }
.sum-due { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-note { font-size: 14px; color: var(--text-secondary); }
.site-thumb { border: 1px solid var(--surface-divider); border-radius: 6px; overflow: hidden; position: relative; aspect-ratio: 1000 / 380; background: #fff; }
.site-thumb .thumb-inner { position: absolute; left: 0; top: 0; width: 1000px; transform-origin: 0 0; pointer-events: none; }
.site-thumb .site { box-shadow: none; border-radius: 0; height: 380px; overflow: hidden; }

/* ---------- What's included (05) ---------- */
.included { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 144px 48px; max-width: 1440px; width: 100%; margin: 0 auto; gap: 28px; }
.spin-pill { align-self: center; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; background: #fff; border: 1px solid var(--surface-divider); border-radius: 999px; font-size: 13px; color: var(--text-secondary); }
.spin-pill svg { width: 14px; height: 14px; color: var(--brand-50); }
.spin-pill.is-done svg { color: var(--green-30); }
.included h1 { margin: 0; font-size: 32px; letter-spacing: -.01em; }
.included .sub { color: var(--text-secondary); font-size: 15px; margin-top: 6px; }
.inc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; text-align: left; }
.inc-card { background: #fff; border: 1px solid var(--surface-divider); border-radius: var(--r-card); box-shadow: var(--shadow-card-sm); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.inc-item { display: flex; gap: 14px; align-items: flex-start; }
.inc-item .ic { color: var(--brand-50); display: inline-flex; margin-top: 3px; }
.inc-item .ic svg { width: 14px; height: 14px; }
.inc-item .it { font-weight: 700; font-size: 15px; }
.inc-item .id { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.inc-item .more { font-size: 12px; color: var(--text-tertiary); margin-top: 6px; padding: 8px 10px; background: var(--surface-light); border-radius: 4px; }
.toggle { width: 40px; height: 22px; border-radius: 11px; border: 0; background: var(--surface-border); position: relative; flex: 0 0 40px; margin-top: 2px; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.is-on { background: var(--brand-50); }
.toggle.is-on::after { left: 21px; }
.inc-foot { display: flex; justify-content: center; padding-top: 4px; }
.inc-foot .btn-primary { height: 44px; padding: 0 22px; font-size: 15px; }

/* ---------- Provisioning (06) ---------- */
.prov-content { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 24px; overflow: auto; }
.prog-card { background: #fff; border: 1px solid var(--surface-divider); border-radius: var(--r-card); box-shadow: var(--shadow-card-sm); padding: 28px 32px; display: flex; flex-direction: column; gap: 22px; }
.prog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.prog-head h2 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.prog-head .sub { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }
.prog-head .step { color: var(--text-tertiary); font-size: 13px; white-space: nowrap; }
.prog-bar { height: 6px; border-radius: 3px; background: var(--surface-divider); overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: var(--brand-50); transition: width .35s linear; }
.prog-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pstep { display: flex; gap: 12px; align-items: flex-start; }
.pstep .ic { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface-divider); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; color: #fff; }
.pstep .ic svg { width: 13px; height: 13px; }
.pstep.done .ic { background: var(--brand-50); border-color: var(--brand-50); }
.pstep.active .ic { border-color: var(--brand-50); color: var(--brand-50); }
.pstep .pt { font-weight: 700; font-size: 15px; }
.pstep .pd { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.pstep.pending .pt, .pstep.pending .pd { color: var(--text-tertiary); }
.wait-card { background: #fff; border: 1px solid var(--surface-divider); border-radius: var(--r-card); box-shadow: var(--shadow-card-sm); padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.wait-card p { flex: 1; font-size: 14px; color: var(--text-secondary); }
.wait-card .btn { height: 40px; }
.live-card { background: var(--ink-night); color: #fff; border-radius: var(--r-card); padding: 24px 28px; display: flex; align-items: center; gap: 20px; }
.live-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-30); box-shadow: 0 0 0 4px rgba(0,186,55,.25); }
.live-card .t { flex: 1; }
.live-card .t b { font-size: 17px; display: block; }
.live-card .t span { font-size: 13px; color: rgba(255,255,255,.7); }
.live-card .btn-primary { height: 44px; }

/* ---------- You're live (07) ---------- */
.live-bar {
  position: sticky; top: 0; z-index: 30;
  height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 20px;
  background: var(--ink-night); color: #fff; font-size: 14px;
}
.live-bar .status { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.live-bar .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-30); }
.live-bar .url { color: rgba(255,255,255,.7); font-size: 13px; }
.live-bar .spacer { flex: 1; }
.live-bar .mini-lockup { color: rgba(255,255,255,.7); }
.live-bar .mini-lockup img { filter: invert(1) brightness(2); }
.live-bar .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.live-bar .btn-secondary:hover { border-color: #fff; }
.live-wrap { flex: 1; display: flex; flex-direction: column; min-height: calc(100vh - 52px); }

/* ---------- WP admin (08): modelled on the real Botiga Setup Checklist page ---------- */
.admin { flex: 1; display: flex; flex-direction: column; min-height: 100vh; background: #f0f0f1; --wp-ink: #1d2327; --wp-sub: #2c3338; --wp-blue: #3858e9; --wp-accent: #2271b1; --wp-hover: #72aee6; --wp-text: #f0f0f1; --wp-muted: #bcbcbc; --wp-border: #dcdcde; --wp-green: #00ba37; }
.wp-adminbar { position: sticky; top: 0; z-index: 30; height: 32px; background: var(--wp-ink); color: var(--wp-text); display: flex; align-items: center; font-size: 13px; }
.wp-adminbar .wp-logo { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.wp-adminbar .wp-logo svg { width: 20px; height: 20px; }
.wp-ab-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; height: 32px; white-space: nowrap; }
.wp-ab-item:hover { color: var(--wp-hover); background: var(--wp-sub); }
.wp-ab-item svg { width: 16px; height: 16px; }
.wp-ab-site { font-weight: 400; }
.wp-ab-siteicon { width: 18px; height: 18px; object-fit: cover; object-position: left; }
.wp-ab-badge { font-size: 12px; line-height: 20px; padding: 0 6px; border: 1px solid #fff; border-radius: 2px; margin: 0 6px; }
.wp-ab-kbd { font-size: 12px; }
.wp-ab-spacer { flex: 1; }
.wp-ab-avatar { width: 18px; height: 18px; border-radius: 50%; background: #9ca2a7; color: #1d2327; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-left: 2px; }
.wp-body { flex: 1; display: flex; }
.wp-side { width: 160px; flex: 0 0 160px; background: var(--wp-ink); color: var(--wp-text); display: flex; flex-direction: column; padding: 12px 0 0; }
.wp-side .nav { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 8px; min-height: 34px; background: none; border: 0; color: var(--wp-text); font-size: 14px; line-height: 18px; text-align: left; }
.wp-side .nav svg, .wp-side .nav img { width: 20px; height: 20px; flex: 0 0 20px; color: #9ca2a7; }
.wp-side .nav img.nav-athemes { object-fit: cover; object-position: left; }
.wp-side .nav:hover { color: var(--wp-hover); }
.wp-side .nav:hover svg { color: var(--wp-hover); }
.wp-side .nav.is-current { background: var(--wp-accent); color: #fff; }
.wp-side .nav.is-current svg { color: #fff; }
.wp-side .wp-sep { height: 5px; margin: 5px 0; }
.wp-side .nav.collapse { margin-top: auto; margin-bottom: 8px; color: var(--wp-text); cursor: default; }
.wp-side .nav.collapse svg { color: #9ca2a7; }
.wp-submenu { background: var(--wp-sub); padding: 7px 0 8px; display: flex; flex-direction: column; }
.wp-submenu .sub { display: block; width: 100%; padding: 5px 12px; background: none; border: 0; text-align: left; font-size: 13px; line-height: 18px; color: var(--wp-muted); }
.wp-submenu .sub:hover { color: var(--wp-hover); }
.wp-submenu .sub.is-on { color: #fff; font-weight: 600; }
.wp-submenu .sub .sub-progress { display: block; height: 4px; margin-top: 8px; background: var(--wp-ink); border-radius: 2px; overflow: hidden; }
.wp-submenu .sub .sub-progress span { display: block; height: 100%; background: var(--wp-green); }
.wp-submenu .sub.is-upgrade { background: #008000; color: #fff; }
.wp-page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* Botiga-style page header */
.bk-header { background: #fff; }
.bk-topbar { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; border-bottom: 1px solid var(--wp-border); }
.bk-brand img { height: 25px; display: block; }
.bk-topbar-actions { display: flex; align-items: center; gap: 24px; }
.bk-version { font-size: 13px; font-weight: 500; color: #97a3b6; display: inline-flex; align-items: center; gap: 8px; }
.bk-edition { font-size: 8px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #99a5b8; border: 1px solid #dfdfdf; border-radius: 2px; padding: 2px 5px; }
.bk-bell { position: relative; width: 24px; height: 24px; border: 1px solid #dfdfdf; border-radius: 30px; display: inline-flex; align-items: center; justify-content: center; color: #a7aaad; }
.bk-bell svg { width: 12px; height: 12px; }
.bk-bell i { position: absolute; top: -6px; right: -6px; width: 14px; height: 14px; border-radius: 50%; background: #d63638; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bk-top-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; color: #a7aaad; }
.bk-top-link svg { width: 14px; height: 14px; }
.bk-top-link:hover { color: var(--text-secondary); }
.bk-subheader { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 14px 26px; }
.bk-title { font-size: 14px; font-weight: 500; color: #3c434a; }
.bk-progress { width: 300px; display: flex; flex-direction: column; gap: 8px; }
.bk-progress-meta { display: flex; justify-content: space-between; font-size: 14px; color: #3c434a; }
.bk-progress-bar { height: 6px; border-radius: 999px; background: var(--wp-border); overflow: hidden; }
.bk-progress-bar span { display: block; height: 100%; background: var(--wp-green); border-radius: 999px; transition: width .4s ease; }
/* content */
.bk-content { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.bk-banner { display: grid; grid-template-columns: minmax(0, 1fr) 420px; background: #fff; border: 1px solid var(--wp-border); border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,.04); overflow: hidden; min-height: 269px; }
.bk-banner-content { padding: 40px 24px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.bk-hello { font-size: 18px; font-weight: 500; color: var(--wp-ink); }
.bk-heading { display: flex; align-items: center; gap: 12px; }
.bk-heading h2 { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -.01em; color: var(--wp-ink); }
.bk-badge { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #008a20; background: #e3fce7; border-radius: 3px; padding: 7px 11px; }
.bk-desc { font-size: 14px; line-height: 1.45; color: #50575e; max-width: 100%; margin-top: 6px; }
.bk-desc b { color: var(--wp-ink); font-variant-numeric: tabular-nums; }
.bk-actions { display: flex; align-items: center; gap: 20px; margin-top: 14px; }
.bk-btn { height: 42px; padding: 10px 19px; border: 1px solid transparent; border-radius: 4px; background: var(--wp-blue); color: #fff; font-size: 16px; font-weight: 600; }
.bk-btn:hover { background: #2f4bd0; }
.bk-link { background: none; border: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--wp-blue); }
.bk-link:hover { text-decoration: underline; }
.bk-banner-art { background: #eef2f7 url('../assets/entry-bg.jpg') center 45% / cover no-repeat; border-left: 1px solid var(--wp-border); }
.bk-section { background: #fff; border: 1px solid var(--wp-border); border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,.04); }
.bk-section-toggle { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--wp-border); }
.bk-section-title { font-size: 18px; font-weight: 700; color: #2c3338; }
.bk-section-status { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8c8f94; background: #f0f0f1; border-radius: 3px; padding: 6px 9px; }
.bk-section-status.is-complete { color: #008a20; background: #e3fce7; }
.bk-section-toggle svg { width: 14px; height: 14px; color: #a7aaad; margin-left: auto; }
.bk-items { list-style: none; margin: 0; padding: 0 29px; }
.bk-item { display: flex; align-items: center; gap: 12px; padding: 25px 0; border-bottom: 1px solid var(--wp-border); }
.bk-item:last-child { border-bottom: 0; }
.bk-status { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 2px solid #c3c4c7; display: inline-flex; align-items: center; justify-content: center; color: var(--wp-green); }
.bk-status svg { width: 12px; height: 12px; }
.bk-item.is-done .bk-status { border-color: var(--wp-green); }
.bk-item.is-working .bk-status { border-color: var(--wp-blue); color: var(--wp-blue); }
.bk-item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk-item-title { font-size: 16px; font-weight: 700; color: #2c3338; }
.bk-item-desc { font-size: 14px; line-height: 21px; color: #50575e; }
.bk-action { height: 36px; padding: 0 15px; border: 1px solid var(--wp-blue); border-radius: 4px; background: transparent; color: var(--wp-blue); font-size: 14px; font-weight: 500; white-space: nowrap; }
.bk-action:hover { background: #f0f3ff; }
.bk-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 8px; font-size: 13px; color: #646970; }
.bk-dismiss { background: none; border: 0; padding: 0; font-size: 16px; font-weight: 700; color: #50575e; text-decoration: underline; }
.bk-links { display: flex; gap: 8px; align-items: center; }
.bk-links .link { font-size: 13px; font-weight: 400; text-decoration: underline; color: var(--wp-blue); }
.bk-plain { background: #fff; border: 1px solid var(--wp-border); border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,.04); padding: 8px 24px; display: flex; flex-direction: column; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--wp-border); }
.setting-row .st { font-weight: 700; font-size: 15px; color: #2c3338; }
.setting-row .sd { font-size: 14px; color: #50575e; margin-top: 2px; }
.fab {
  position: fixed; right: 32px; bottom: 32px; z-index: 20;
  height: 48px; padding: 0 20px; border-radius: 24px; border: 0;
  background: var(--brand-50); color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px; box-shadow: var(--shadow-card-md);
}
.fab:hover { background: var(--brand-60); }
.fab svg { width: 14px; height: 14px; }
.drawer {
  position: fixed; right: 24px; bottom: 96px; width: 400px; height: 560px; z-index: 21;
  background: #fff; border: 1px solid var(--surface-divider); border-radius: var(--r-xl); box-shadow: var(--shadow-card-md);
  display: flex; flex-direction: column; overflow: hidden;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--surface-divider); font-weight: 700; }
.drawer .chat-scroll { padding: 16px; flex: 1 1 0; min-height: 0; }

/* ---------- Emails (from the brief) ---------- */
.emails { flex: 1; padding: 40px 80px; display: flex; flex-direction: column; gap: 24px; max-width: 1440px; margin: 0 auto; width: 100%; }
.emails h1 { margin: 0; font-size: 28px; }
.emails .sub { color: var(--text-secondary); }
.email-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.email { background: #fff; border: 1px solid var(--surface-divider); border-radius: var(--r-card); box-shadow: var(--shadow-card-sm); overflow: hidden; display: flex; flex-direction: column; }
.email .meta { padding: 12px 20px; border-bottom: 1px solid var(--surface-divider); font-size: 12px; color: var(--text-tertiary); display: flex; justify-content: space-between; gap: 12px; }
.email .meta b { color: var(--text-primary); font-size: 13px; }
.email .body { padding: 24px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.55; }
.email .body h3 { margin: 0; font-size: 20px; }
.email .body ul { margin: 0; padding-left: 18px; color: var(--text-secondary); }
.email .body .btn { align-self: flex-start; }
.email .foot { padding: 14px 24px; background: var(--surface-light); font-size: 12px; color: var(--text-tertiary); }

/* ---------- Leave modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 40; background: rgba(29,35,39,.55); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .18s ease-out; }
.modal { width: 440px; max-width: 100%; background: var(--surface-white); border-radius: var(--r-xl); box-shadow: var(--shadow-card-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; animation: msgIn .2s ease-out; }
.modal h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.modal p { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.modal-acts { display: flex; gap: 10px; margin-top: 8px; }

/* ---------- Entry → builder transition ---------- */
.fade-white { position: fixed; inset: 0; z-index: 70; background: #fff; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.fade-white.is-in { opacity: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50; background: var(--ink-dark); color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 13px; box-shadow: var(--shadow-card-md); animation: msgIn .2s ease-out; max-width: 520px; }

/* ---------- Prototype controls (not part of the product UI) ---------- */
.proto {
  position: fixed; left: 50%; top: 0; transform: translateX(-50%); z-index: 60; font-family: var(--ui-font);
  display: flex; flex-direction: column; align-items: center;
}
.proto-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px 0 10px;
  border-radius: 0 0 10px 10px; border: 1px solid rgba(255,255,255,.12); border-top: 0;
  background: #0b0f1a; color: #dfe3ea; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.proto-pill i { width: 8px; height: 8px; border-radius: 50%; background: #7c8cff; display: block; }
.proto-pill:hover { background: #151b2b; }
.proto-panel {
  position: absolute; left: 50%; top: 34px; transform: translateX(-50%); width: 340px;
  background: #0b0f1a; color: #dfe3ea; border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4); padding: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 13px;
}
.proto-panel h4 { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8b93a7; }
.proto-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.proto-screens button { text-align: left; padding: 7px 9px; border-radius: 6px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #dfe3ea; font-size: 12px; }
.proto-screens button:hover { background: rgba(255,255,255,.1); }
.proto-screens button.is-on { background: #335eea; border-color: #335eea; color: #fff; }
.proto-screens button span { color: #8b93a7; margin-right: 6px; font-variant-numeric: tabular-nums; }
.proto-screens button.is-on span { color: rgba(255,255,255,.7); }
.proto-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.proto-row .toggle { background: rgba(255,255,255,.2); }
.proto-row .toggle.is-on { background: #335eea; }
.proto-state { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #aab1c2; }
.proto-state b { color: #fff; font-weight: 600; }
.proto-panel .btn { height: 32px; font-size: 12px; }
.proto-panel .btn-secondary { background: transparent; color: #dfe3ea; border-color: rgba(255,255,255,.2); }

@media (max-width: 1200px) {
  .claim { grid-template-columns: minmax(0, 620px) 340px; gap: 24px; padding: 32px 24px; }
  .included { padding: 32px 48px; }
}
