/* ============================================================
   LivePublisher — self-serve web publishing platform
   Brand palette from the rainbow dot-sphere mark:
     yellow #F8BB13 · red #C62D32 · purple #862872 · blue #1390D0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  /* brand */
  --yellow:   #F8BB13;
  --red:      #C62D32;
  --purple:   #862872;
  --blue:     #1390D0;
  --blue-deep:#0f6fa3;

  /* neutrals */
  --ink:      #14161c;
  --ink-mid:  #2c3140;
  --slate:    #5a6273;
  --dim:      #8a91a3;
  --line:     #e7e9ef;
  --line-lt:  #f0f2f6;
  --paper:    #ffffff;
  --mist:     #f7f8fb;
  --mist-deep:#eef1f7;

  /* semantic */
  --primary:      var(--blue);
  --primary-deep: var(--blue-deep);
  --accent:       var(--purple);

  /* signature gradient — the dot-sphere spectrum */
  --rainbow: linear-gradient(100deg, var(--yellow) 0%, var(--red) 33%, var(--purple) 66%, var(--blue) 100%);
  --rainbow-soft: linear-gradient(100deg, rgba(248,187,19,.14), rgba(198,45,50,.14), rgba(134,40,114,.14), rgba(19,144,208,.14));

  --display: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:    'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:    1180px;
  --narrow: 760px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --r:      10px;
  --r-lg:   18px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,22,28,.06), 0 2px 6px rgba(20,22,28,.05);
  --shadow:    0 4px 14px rgba(20,22,28,.07), 0 12px 40px rgba(20,22,28,.06);
  --shadow-lg: 0 12px 32px rgba(20,22,28,.10), 0 32px 80px rgba(20,22,28,.10);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--slate);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
strong { color: var(--ink-mid); font-weight: 600; }

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ── Type helpers ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--rainbow); }
.eyebrow.no-rule::before { display: none; }
h1.display { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -.035em; }
h2.display { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.03em; }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--slate); line-height: 1.6; }
.gradient-text {
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--dim); }
.fine { font-size: .82rem; color: var(--dim); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; background: #000; box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-gradient { background: var(--rainbow); color: #fff; box-shadow: 0 6px 20px rgba(19,144,208,.28); }
.btn-gradient:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(134,40,114,.32); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { color: var(--ink); padding-left: .6rem; padding-right: .6rem; }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-lt); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin-left: .5rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink-mid); }
.nav-links a:hover { color: var(--primary); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
/* dropdown */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: .3rem; font-size: .92rem; font-weight: 500; color: var(--ink-mid); }
.nav-dd-btn:hover { color: var(--primary); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: .5rem; min-width: 240px; opacity: 0; visibility: hidden; transition: all .16s ease;
}
.nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; padding: .6rem .7rem; border-radius: 8px; font-size: .9rem; }
.nav-dd-menu a:hover { background: var(--mist); color: var(--primary); }
.nav-dd-menu a span { display: block; font-size: .78rem; color: var(--dim); font-weight: 400; margin-top: .1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .ghost-hide { display: none; }
  .nav-toggle { display: flex; }
  .nav-right { margin-left: 0; }
  .nav-mobile { display: none; padding: .5rem var(--gutter) 1.2rem; border-bottom: 1px solid var(--line-lt); background: #fff; }
  .nav-mobile.open { display: block; }
  .nav-mobile a { display: block; padding: .7rem 0; font-weight: 500; color: var(--ink-mid); border-bottom: 1px solid var(--line-lt); }
}
@media (min-width: 901px) { .nav-mobile { display: none; } }

/* ── Hero ── */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 80%; z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 12% 0%, rgba(248,187,19,.16), transparent 60%),
    radial-gradient(ellipse 45% 55% at 50% -5%, rgba(198,45,50,.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 88% 5%, rgba(19,144,208,.18), transparent 60%);
  filter: blur(6px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin: 1rem 0 1.1rem; }
.hero .lede { max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; color: var(--dim); font-size: .85rem; flex-wrap: wrap; }
.hero-trust .dots { display: inline-flex; gap: 4px; }
.hero-trust .dots i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* generated-site mock card (hero visual) */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(.4deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; border-bottom: 1px solid var(--line-lt); background: var(--mist); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar .url { margin-left: .6rem; font-size: .72rem; color: var(--dim); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: .25rem .7rem; }
.mock-body { padding: 1.2rem; }
.mock-hero { height: 116px; border-radius: 10px; background: var(--rainbow); position: relative; overflow: hidden; margin-bottom: 1rem; }
.mock-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 120%, rgba(255,255,255,.35), transparent 60%); }
.mock-hero span { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.mock-line { height: 9px; border-radius: 5px; background: var(--mist-deep); margin: .5rem 0; }
.mock-line.s { width: 55%; } .mock-line.m { width: 78%; } .mock-line.l { width: 92%; }
.mock-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; margin-top: 1rem; }
.mock-tile { height: 56px; border-radius: 8px; background: var(--mist); border: 1px solid var(--line-lt); }
.mock-badge {
  position: absolute; right: -14px; top: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: var(--r-pill); padding: .5rem .9rem; font-size: .8rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: .4rem;
}
.hero-visual { position: relative; }

/* ── Logo strip ── */
.strip { padding: 1.6rem 0; border-top: 1px solid var(--line-lt); border-bottom: 1px solid var(--line-lt); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem,5vw,3.5rem); flex-wrap: wrap; color: var(--dim); font-size: .82rem; font-weight: 500; }

/* ── Steps (how it works) ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.step .n { counter-increment: step; font-family: var(--display); font-weight: 700; font-size: .8rem; color: #fff; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); margin-bottom: .8rem; }
.step:nth-child(1) .n { background: var(--yellow); color: var(--ink); }
.step:nth-child(2) .n { background: var(--red); }
.step:nth-child(3) .n { background: var(--purple); }
.step:nth-child(4) .n { background: var(--blue); }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .9rem; }
@media (max-width: 860px){ .steps { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr;} }

/* ── Pillars / feature grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr;} }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-lt); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.25rem; }
.card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.card p { font-size: .92rem; }
.ico-y { background: rgba(248,187,19,.16); }
.ico-r { background: rgba(198,45,50,.12); }
.ico-p { background: rgba(134,40,114,.12); }
.ico-b { background: rgba(19,144,208,.14); }

/* tag chips */
.chip { display: inline-block; padding: .25rem .7rem; border-radius: var(--r-pill); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.chip-soft { background: var(--mist-deep); color: var(--slate); }
.chip-new { background: rgba(19,144,208,.12); color: var(--blue-deep); }

/* ── Segments ── */
.seg { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.seg .card { display: flex; flex-direction: column; }
.seg .card .top { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.seg .card .bar { height: 4px; width: 40px; border-radius: 4px; }
@media (max-width: 700px){ .seg { grid-template-columns: 1fr;} }

/* ── Split feature rows ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split + .split { margin-top: clamp(3rem,6vw,5rem); }
.split.rev .split-media { order: 2; }
.split-media { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
@media (max-width: 800px){ .split { grid-template-columns: 1fr;} .split.rev .split-media { order: 0; } }

/* ── Pricing ── */
.toggle { display: inline-flex; align-items: center; gap: .8rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .3rem; }
.toggle button { padding: .5rem 1.1rem; border-radius: var(--r-pill); font-size: .88rem; font-weight: 600; color: var(--slate); }
.toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.toggle .save { font-size: .72rem; color: var(--purple); font-weight: 700; }

.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; align-items: stretch; }
.tiers.six { grid-template-columns: repeat(3,1fr); }
@media (max-width: 980px){ .tiers, .tiers.six { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .tiers, .tiers.six { grid-template-columns: 1fr;} }
.tier { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.tier.featured { border-color: transparent; box-shadow: var(--shadow-lg); position: relative; }
.tier.featured::before { content: ""; position: absolute; inset: -1.5px; border-radius: calc(var(--r-lg) + 1.5px); background: var(--rainbow); z-index: -1; }
.tier .badge { align-self: flex-start; background: var(--rainbow); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .7rem; border-radius: var(--r-pill); margin-bottom: .8rem; }
.tier h3 { font-size: 1.15rem; }
.tier .who { font-size: .82rem; color: var(--dim); margin-bottom: 1rem; min-height: 2.4em; }
.tier .price { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.tier .price small { font-size: .85rem; color: var(--dim); font-weight: 500; font-family: var(--sans); }
.tier .price-note { font-size: .78rem; color: var(--dim); margin-top: .35rem; min-height: 1.2em; }
.tier ul { list-style: none; margin: 1.2rem 0; display: grid; gap: .55rem; }
.tier li { display: flex; gap: .55rem; font-size: .88rem; color: var(--ink-mid); align-items: flex-start; }
.tier li::before { content: "✓"; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.tier li.muted { color: var(--dim); } .tier li.muted::before { content: "–"; color: var(--dim); }
.tier .btn { margin-top: auto; }

/* add-ons grid */
.addons { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }
@media (max-width: 820px){ .addons { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .addons { grid-template-columns: 1fr;} }
.addon { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; background: #fff; }
.addon h4 { font-family: var(--sans); font-size: .95rem; color: var(--ink); margin-bottom: .2rem; }
.addon p { font-size: .82rem; color: var(--dim); }

/* ── FAQ ── */
.faq { max-width: var(--narrow); margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .7rem; font-size: .92rem; }

/* ── CTA band ── */
.cta-band { position: relative; border-radius: var(--r-lg); padding: clamp(2.5rem,5vw,4rem); overflow: hidden; background: var(--ink); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .9; background: radial-gradient(ellipse at 10% 0%, rgba(248,187,19,.25), transparent 45%), radial-gradient(ellipse at 90% 100%, rgba(19,144,208,.35), transparent 45%), radial-gradient(ellipse at 60% 30%, rgba(134,40,114,.3), transparent 45%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 40rem; margin: .8rem auto 1.6rem; }

/* ── Auth ── */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 2.5rem var(--gutter); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 2.2rem; }
.auth-card .logo { height: 52px; margin: 0 auto 1.4rem; }
.auth-card h1 { font-size: 1.5rem; text-align: center; margin-bottom: .4rem; }
.auth-card .sub { text-align: center; font-size: .9rem; color: var(--dim); margin-bottom: 1.6rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-mid); margin-bottom: .4rem; }
.field input { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; color: var(--ink); transition: border-color .15s; }
.field input:focus { outline: none; border-color: var(--blue); }
.btn-apple { background: #000; color: #fff; }
.btn-apple:hover { background: #000; color: #fff; }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0; color: var(--dim); font-size: .78rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; font-size: .85rem; color: var(--dim); margin-top: 1.4rem; }

/* ── Footer ── */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.footer-brand img { height: 26px; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; max-width: 22rem; color: rgba(255,255,255,.6); }
.footer-brand .dots { display: inline-flex; gap: 5px; margin-top: 1.1rem; }
.footer-brand .dots i { width: 9px; height: 9px; border-radius: 50%; }
.footer col, .footer-col { }
.footer-col h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .9rem; }
.footer-col a { display: block; font-size: .9rem; color: rgba(255,255,255,.7); padding: .28rem 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* dot helpers for brand flourish */
.dot-y{background:var(--yellow)} .dot-r{background:var(--red)} .dot-p{background:var(--purple)} .dot-b{background:var(--blue)}

/* ── misc ── */
.lead-list { list-style: none; display: grid; gap: .7rem; margin-top: 1.2rem; }
.lead-list li { display: flex; gap: .6rem; font-size: .95rem; color: var(--ink-mid); }
.lead-list li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.kicker { font-size: .9rem; color: var(--slate); max-width: 42rem; }
.section-head { max-width: 44rem; margin: 0 auto clamp(2rem,4vw,3rem); text-align: center; }
.section-head h2 { margin: .8rem 0 .8rem; }
.balance { text-wrap: balance; }

/* ============================================================
   Onboarding interview (/start/)
   ============================================================ */
.ob-top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-lt); }
.ob-top-inner { display: flex; align-items: center; gap: 1rem; height: 60px; }
.ob-top img { height: 22px; }
.ob-progress { flex: 1; height: 6px; background: var(--mist-deep); border-radius: 999px; overflow: hidden; max-width: 520px; margin: 0 auto; }
.ob-progress span { display: block; height: 100%; width: 0; background: var(--rainbow); transition: width .35s ease; }
.ob-exit { font-size: .85rem; color: var(--dim); }
.ob-stage { max-width: 720px; margin: 0 auto; padding: clamp(1.5rem,5vw,3rem) var(--gutter) 5rem; }
.ob-step { display: none; animation: obIn .3s ease; }
.ob-step.active { display: block; }
@keyframes obIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ob-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ob-step h2 { font-size: clamp(1.5rem,4vw,2.1rem); margin: .5rem 0 .4rem; }
.ob-step .hint { color: var(--slate); margin-bottom: 1.6rem; }
.ob-opts { display: grid; gap: .8rem; }
.ob-opts.cols2 { grid-template-columns: 1fr 1fr; }
.ob-opts.cols3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 560px){ .ob-opts.cols2, .ob-opts.cols3 { grid-template-columns: 1fr; } }
.ob-opt { display: flex; align-items: center; gap: .8rem; text-align: left; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: all .14s ease; width: 100%; }
.ob-opt:hover { border-color: var(--blue); transform: translateY(-1px); }
.ob-opt.sel { border-color: var(--blue); background: rgba(19,144,208,.06); box-shadow: 0 0 0 3px rgba(19,144,208,.12); }
.ob-opt .em { font-size: 1.5rem; }
.ob-opt .t { font-weight: 600; color: var(--ink); }
.ob-opt .d { font-size: .82rem; color: var(--dim); }
.ob-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.ob-chip { padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-mid); background: #fff; transition: all .14s; }
.ob-chip.sel { border-color: var(--purple); background: rgba(134,40,114,.08); color: var(--purple); }
.ob-field { margin-bottom: 1rem; }
.ob-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-mid); margin-bottom: .4rem; }
.ob-field input, .ob-field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; color: var(--ink); }
.ob-field input:focus, .ob-field textarea:focus { outline: none; border-color: var(--blue); }
.ob-swatches { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
@media (max-width: 560px){ .ob-swatches { grid-template-columns: 1fr 1fr; } }
.ob-sw { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: all .14s; }
.ob-sw:hover { transform: translateY(-2px); }
.ob-sw.sel { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,22,28,.12); }
.ob-sw .band { height: 56px; display: flex; }
.ob-sw .band i { flex: 1; }
.ob-sw .nm { padding: .5rem .7rem; font-size: .82rem; font-weight: 600; color: var(--ink); }
.ob-font { border: 1.5px solid var(--line); border-radius: var(--r); padding: 1rem; background: #fff; transition: all .14s; text-align: left; width: 100%; }
.ob-font.sel { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,22,28,.1); }
.ob-font .h { font-size: 1.3rem; color: var(--ink); margin-bottom: .1rem; }
.ob-font .b { font-size: .85rem; color: var(--slate); }
.ob-upload { border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 1.6rem; text-align: center; background: var(--mist); cursor: pointer; transition: all .14s; }
.ob-upload:hover { border-color: var(--blue); background: rgba(19,144,208,.04); }
.ob-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.ob-thumb { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.ob-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.ob-actions-right { margin-left: auto; }
/* generating */
.ob-gen { text-align: center; padding: 2rem 0; }
.ob-gen .orb { width: 90px; height: 90px; margin: 0 auto 1.6rem; border-radius: 50%; background: var(--rainbow); animation: obSpin 1.2s linear infinite, obPulse 2s ease-in-out infinite; }
@keyframes obSpin { to { transform: rotate(360deg); } }
@keyframes obPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(19,144,208,.3);} 50%{ box-shadow: 0 0 0 18px rgba(19,144,208,0);} }
.ob-gen-list { max-width: 360px; margin: 1.4rem auto 0; text-align: left; display: grid; gap: .6rem; }
.ob-gen-list li { list-style: none; display: flex; gap: .6rem; color: var(--dim); font-size: .95rem; transition: color .3s; }
.ob-gen-list li.done { color: var(--ink-mid); }
.ob-gen-list li .mk { width: 20px; }
.ob-result { text-align: center; }
.ob-result .big { font-size: 3rem; }
.ob-url { display: inline-flex; align-items: center; gap: .5rem; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.1rem; font-family: ui-monospace, Menlo, monospace; font-size: .9rem; color: var(--ink); margin: 1rem 0; }
