/* Daily Web Studio — brand + app styles (landing page and /studio/app/).
 * Independent of the InfoparkDaily site styles on purpose: Studio is its own product.
 */
:root {
  --ink: #14151a;
  --ink-2: #2a2c35;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --sunk: #f0efea;
  --line: #e4e2db;
  --line-2: #d3d0c6;
  --muted: #5e6170;
  --faint: #8a8d99;
  --accent: #ffc107;
  --accent-2: #f2b200;
  --accent-ink: #8a5a00;
  --accent-soft: #fff3cc;
  --ok: #138a5e;
  --ok-soft: #e3f5ec;
  --warn: #9a5b00;
  --warn-soft: #fff4dc;
  --danger: #c9302c;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 21, 26, 0.05), 0 8px 24px -12px rgba(20, 21, 26, 0.18);
  --shadow-lg: 0 2px 4px rgba(20, 21, 26, 0.04), 0 30px 60px -24px rgba(20, 21, 26, 0.35);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --side-w: 256px;
  color-scheme: light;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { flex: none; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons, tags, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--sunk); border-color: var(--ink); }
.btn--danger { background: var(--danger); border-color: var(--danger); }
.btn--danger:hover { background: #a92622; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.link { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; font-size: 0.88rem; cursor: pointer; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--sunk); color: var(--muted); font: 600 0.66rem/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; font-style: normal; }
.tag--on { background: rgba(255, 255, 255, 0.18); color: #fff; }
.eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.lead { color: var(--muted); font-size: 1rem; max-width: 62ch; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row--end { justify-content: flex-end; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: 0.9rem; }
.field > span b { color: var(--accent-ink); }
.field > span i { font-style: normal; font-weight: 400; color: var(--faint); }
.field input {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; width: 100%;
}
.field input:hover { border-color: var(--faint); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 21, 26, 0.08); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(201, 48, 44, 0.1); }
.field small { color: var(--faint); font-size: 0.8rem; }
.err { color: var(--danger); font-size: 0.82rem; font-style: normal; font-weight: 600; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--a); vertical-align: -1px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }

/* =====================================================================
   App shell
   ===================================================================== */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side {
  position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 16px;
  padding: 18px 14px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto;
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 8px; text-decoration: none; }
.side-brand strong { display: block; font: 700 1rem/1.1 var(--display); letter-spacing: -0.02em; }
.side-brand small { display: block; font-size: 0.72rem; color: var(--faint); margin-top: 2px; }
.side-new {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--ink); font-weight: 650; text-decoration: none; font-size: 0.92rem;
  box-shadow: 0 6px 16px -8px rgba(214, 150, 0, 0.75); transition: background 0.15s;
}
.side-new:hover { background: var(--accent-2); }
.side-nav, .side-foot { display: grid; gap: 2px; }
.side-nav a, .side-foot > a {
  display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 10px; border-radius: 9px;
  color: var(--ink-2); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.side-nav a .ico, .side-foot > a .ico { color: var(--faint); }
.side-nav a:hover, .side-foot > a:hover { background: var(--sunk); }
.side-nav a[aria-current="page"], .side-foot > a[aria-current="page"] { background: var(--ink); color: #fff; }
.side-nav a[aria-current="page"] .ico, .side-foot > a[aria-current="page"] .ico { color: #fff; }
.side-nav em { margin-left: auto; font-style: normal; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; }
.side-nav a[aria-current="page"] em { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.acct { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; min-width: 0; }
.acct:hover { border-color: var(--line-2); background: var(--sunk); }
.acct-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.acct--out .ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--sunk); }
.acct-text { min-width: 0; }
.acct-text strong { display: block; font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-text small { display: block; font-size: 0.72rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct { overflow: hidden; }

.topbar { display: none; }
.main { min-width: 0; }
.view { width: min(1120px, 100%); margin: 0 auto; padding: 36px clamp(16px, 4vw, 44px) 72px; outline: none; }
.view > * + * { margin-top: 28px; }

/* page heads */
.page-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 6px; }
.page-head .lead { margin-top: 10px; }
.page-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.86rem; font-weight: 600; text-decoration: none; min-height: 32px; }
.crumb:hover { color: var(--ink); }
.view > .crumb + .page-head { margin-top: 10px; }

/* panels + notices */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.panel h2 { font-size: 1.05rem; margin-bottom: 14px; }
.panel p { color: var(--muted); }
.panel--accent { background: linear-gradient(160deg, #fff 0%, var(--accent-soft) 140%); }
.panel--accent p { margin-bottom: 14px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--sunk); color: var(--muted); font-size: 0.88rem; }
.notice .ico { margin-top: 2px; color: var(--ink-2); }
.notice a { color: var(--accent-ink); font-weight: 600; }
.notice--warn { background: var(--warn-soft); color: var(--warn); }
.notice--warn .ico { color: var(--warn); }

/* home */
.home-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.start-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px;
  padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
}
.start-card::after {
  content: ""; position: absolute; inset: auto -60px -90px auto; width: 300px; height: 300px; z-index: -1;
  background: radial-gradient(circle at 60% 40%, rgba(255, 193, 7, 0.45), transparent 62%);
}
.start-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--ink); }
.start-card strong { display: block; font: 700 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--display); letter-spacing: -0.02em; }
.start-card small { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; max-width: 34ch; }
.start-go { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); transition: transform 0.2s, background 0.2s; }
.start-card:hover .start-go { transform: translateX(3px); background: rgba(255, 255, 255, 0.1); }
.checklist ol, .next { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li > a, .checklist li > div, .next li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; }
.checklist li > a:hover { background: var(--sunk); }
.checklist strong, .next strong { display: block; font-size: 0.9rem; }
.checklist small, .next small { display: block; color: var(--faint); font-size: 0.8rem; }
.checklist .tag, .next .tag { margin-left: auto; }
.ck { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.ck.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
li.is-done strong { text-decoration: line-through; text-decoration-color: var(--faint); color: var(--muted); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 { font-size: 1.15rem; }
.type-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 0.88rem; font-weight: 550; transition: border-color 0.15s, transform 0.15s; }
.type-chip .ico { color: var(--accent-ink); }
.type-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.type-chip--more { background: var(--ink); color: #fff; border-color: var(--ink); }
.type-chip--more .ico { color: #fff; }

/* empty states */
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 44px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty .ico { color: var(--faint); }
.empty strong { color: var(--ink); }
.empty--big { padding: 72px 20px; border-style: solid; background: var(--surface); }
.empty--big h1 { font-size: 1.6rem; color: var(--ink); }
.empty-inline { color: var(--muted); padding: 20px 0; }

/* site cards */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.site-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.site-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.site-thumb {
  display: grid; align-content: start; gap: 9px; aspect-ratio: 16 / 10; padding: 14px 16px; background: #fff;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.site-thumb[data-look="bold"] { background: #14161b; }
.site-thumb[data-look="warm"] { background: #fbf6ee; }
.site-thumb[data-look="editorial"] { background: #fdfdfb; }
.st-bar { display: flex; gap: 4px; margin-bottom: 4px; }
.st-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.14); }
[data-look="bold"] .st-bar i { background: rgba(255, 255, 255, 0.2); }
.st-h { width: 62%; height: 14px; border-radius: 4px; background: rgba(0, 0, 0, 0.82); }
[data-look="bold"] .st-h { background: #fff; }
.st-l { width: 40%; height: 7px; border-radius: 4px; background: var(--a); }
.st-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.st-row b { height: 34px; border-radius: 6px; background: color-mix(in srgb, var(--a) 16%, transparent); }
.site-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 16px; }
.site-meta > div:first-child { min-width: 0; }
.site-meta h3 { font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-meta h3 a { text-decoration: none; }
.site-meta h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-meta p { color: var(--faint); font-size: 0.78rem; margin-top: 2px; }
.site-actions { display: flex; gap: 2px; flex: none; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.icon-btn[data-act="delete"]:hover { color: var(--danger); background: #fdeceb; }
.search { display: flex; align-items: center; gap: 10px; max-width: 420px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--faint); }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 21, 26, 0.08); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 0.95rem; color: var(--ink); }

/* one site */
.site-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.site-side { display: grid; gap: 16px; }
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.preview-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--sunk); }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.url { flex: 1; min-width: 0; padding: 5px 12px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); }
.seg button { display: grid; place-items: center; width: 32px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.preview-stage { display: grid; justify-items: center; background: var(--sunk); }
.preview-stage iframe { display: block; width: 100%; height: min(70vh, 640px); border: 0; background: #fff; transition: width 0.25s; }
.preview-stage.is-mobile { padding: 18px 0; }
.preview-stage.is-mobile iframe { width: 390px; max-width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.preview-note { padding: 12px 16px; color: var(--faint); font-size: 0.82rem; border-top: 1px solid var(--line); }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.88rem; }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--faint); }
.facts dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.danger-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 40px; padding: 0 6px; border: 0; background: none; color: var(--danger); font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.danger-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* coming-soon */
.soon { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 56px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.soon-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-ink); }
.soon p { color: var(--muted); max-width: 44ch; }
.soon-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* settings */
.settings p { margin-bottom: 16px; max-width: 64ch; }
.settings p a { color: var(--accent-ink); font-weight: 600; }
.view > .settings + .settings { margin-top: 16px; }

/* ---------- wizard ---------- */
body[data-route="new"] .view { width: min(980px, 100%); }
.wizard { display: grid; gap: 0; }
.wz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wz-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.wz-steps li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--faint); }
.wz-steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 0.72rem; }
.wz-steps li.is-on { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.wz-steps li.is-on span { background: var(--ink); border-color: var(--ink); color: #fff; }
.wz-steps li.is-done { color: var(--muted); }
.wz-steps li.is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.wz-count { display: none; color: var(--faint); font-size: 0.82rem; font-weight: 600; }
.wz-bar { height: 4px; margin: 18px 0 34px; border-radius: 4px; background: var(--line); overflow: hidden; }
.wz-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 0.35s ease; }
.wz-body { min-height: 380px; }
.wz-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); outline: none; }
.wz-body > .lead { margin: 10px 0 28px; }
.wz-foot {
  position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  margin-top: 32px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 72%, rgba(247, 246, 242, 0));
}
.wz-hint { color: var(--danger); font-size: 0.86rem; font-weight: 600; text-align: center; }
.wz-foot .btn { min-width: 120px; }

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.type-opt, .look-opt {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.type-opt:hover, .look-opt:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.type-opt[aria-checked="true"], .look-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 21, 26, 0.08); }
.to-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.type-opt strong, .look-opt strong { display: block; font-size: 0.95rem; }
.type-opt small, .look-opt small { display: block; color: var(--faint); font-size: 0.82rem; margin-top: 2px; }
.to-check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; opacity: 0; transform: scale(0.6); transition: 0.15s; }
[aria-checked="true"] > .to-check { opacity: 1; transform: none; }
.fields { display: grid; gap: 20px; max-width: 560px; }

.look-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.look-opt { flex-direction: column; align-items: stretch; padding: 10px; }
.lo-art { display: grid; align-content: start; gap: 8px; height: 132px; padding: 16px; border-radius: 9px; background: var(--bg); color: var(--tx); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.lo-h { font: 700 1.9rem/1 var(--hf); letter-spacing: -0.02em; }
.lo-l { height: 7px; width: 80%; border-radius: 4px; background: var(--mt); opacity: 0.45; }
.lo-l--s { width: 55%; }
.lo-b { margin-top: auto; width: 74px; height: 24px; border-radius: var(--r); background: var(--accent-c, #ff5b3a); }
.look-grid .lo-b { background: var(--tx); }
.lo-text { padding: 4px 6px 4px; }
.look-opt[aria-checked="true"]::after { content: ""; position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 2px #fff; }
.accents { margin: 28px 0 0; padding: 0; border: 0; }
.accents legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; padding: 0; }
.accents > div { display: flex; gap: 12px; flex-wrap: wrap; }
.acc { position: relative; cursor: pointer; }
.acc input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.acc span { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px transparent; transition: box-shadow 0.15s, transform 0.15s; }
.acc:hover span { transform: scale(1.06); }
.acc input:checked + span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.acc input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 6px; }

.page-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; max-width: 760px; }
.page-opt { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 0.92rem; position: relative; }
.page-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.page-opt input:disabled { cursor: default; }
.po-box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); color: transparent; transition: 0.15s; }
.page-opt input:checked ~ .po-box { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-opt:has(input:checked) { border-color: var(--ink); }
.page-opt:has(input:focus-visible) { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.page-opt small { margin-left: auto; color: var(--faint); font-weight: 500; font-size: 0.74rem; }
.add-page { display: flex; gap: 10px; margin-top: 16px; max-width: 520px; }
.add-page input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); background: transparent; }
.add-page input:focus { outline: none; border-style: solid; border-color: var(--ink); background: var(--surface); }

.review { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.preview--sm .preview-stage iframe { height: 420px; }
.facts--review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.facts--review > div { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; padding: 12px 0; }
.facts--review > div:first-child { padding-top: 4px; }

/* dialog + toast */
dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog::backdrop { background: rgba(20, 21, 26, 0.45); backdrop-filter: blur(2px); }
.dlg-body { display: grid; gap: 16px; padding: 24px; }
.dlg-body h2 { font-size: 1.25rem; }
.dlg-body p { color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 550;
  box-shadow: var(--shadow-lg); transition: opacity 0.2s, transform 0.2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.scrim { display: none; }

/* ---------- app: tablet and phone ---------- */
@media (max-width: 1080px) {
  .site-layout, .review { grid-template-columns: 1fr; }
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side {
    position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(300px, 86vw); transform: translateX(-100%);
    transition: transform 0.25s ease; box-shadow: var(--shadow-lg); visibility: hidden;
  }
  body.side-open .side { transform: none; visibility: visible; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(20, 21, 26, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
  body.side-open .scrim { opacity: 1; pointer-events: auto; }
  body.side-open { overflow: hidden; }
  .topbar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    height: 60px; padding: 0 16px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  }
  .topbar .side-brand { padding: 0; }
  .topbar .side-brand small { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-btn:hover { background: var(--sunk); }
  .view { padding-top: 24px; }
  .wz-steps { display: none; }
  .wz-count { display: block; }
  .wz-bar { margin: 12px 0 24px; }
}
@media (max-width: 560px) {
  .page-head--row .btn, .head-actions, .head-actions .btn { width: 100%; }
  .type-grid { grid-template-columns: 1fr; }
  .type-opt { padding: 12px; }
  .to-ico { width: 40px; height: 40px; }
  .look-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lo-art { height: 104px; padding: 12px; }
  .lo-h { font-size: 1.5rem; }
  .page-list { grid-template-columns: 1fr; }
  .wz-foot { grid-template-columns: 1fr 1fr; }
  .wz-foot > span:first-child { display: none; }
  .wz-foot .btn { min-width: 0; width: 100%; }
  .wz-foot .btn:only-of-type { grid-column: 1 / -1; }
  .wz-hint { grid-column: 1 / -1; grid-row: 1; }
  .wz-foot:has(> span:first-child) .btn { grid-column: 1 / -1; }
  .preview-stage iframe { height: 520px; }
  .facts--review > div { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .start-card { min-height: 220px; padding: 22px; }
  .site-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Landing page (/studio/) — premium ink + yellow
   ===================================================================== */
.lx { --lx-wrap: min(1200px, calc(100% - 40px)); background: #fbfaf6; }
.lx-wrap { width: var(--lx-wrap); margin-inline: auto; }
.lx svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lx-mark { background: linear-gradient(transparent 58%, rgba(255, 193, 7, 0.75) 58%, rgba(255, 193, 7, 0.75) 92%, transparent 92%); padding: 0 0.06em; }
.lx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.lx-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.lx h1, .lx h2, .lx h3 { text-wrap: balance; }
.lx-h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
.lx-sub { margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6; max-width: 60ch; }
.lx-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.lx-head .lx-h2 { margin-top: 12px; }
.lx-head--center { margin-inline: auto; text-align: center; }
.lx-head--center .lx-sub { margin-inline: auto; }
.lx-section { padding: clamp(64px, 9vw, 120px) 0; }
.btn--yellow { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--yellow:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* hero */
.lx-hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 0; overflow: hidden; isolation: isolate; }
.lx-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(255, 193, 7, 0.28), transparent 70%); }
.lx-hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; background-image: linear-gradient(rgba(20, 21, 26, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 26, 0.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%); }
.lx-hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.lx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 21, 26, 0.04); font-size: 0.84rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.lx-pill b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #ffd84d; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.lx-pill b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffd84d; box-shadow: 0 0 0 3px rgba(255, 216, 77, 0.25); }
.lx-hero h1 { margin-top: 26px; font-size: clamp(2.7rem, 7.2vw, 5.6rem); line-height: 0.96; letter-spacing: -0.05em; font-weight: 800; }
.lx-hero .lx-sub { margin: 24px auto 0; max-width: 640px; font-size: clamp(1.04rem, 1.6vw, 1.22rem); }
.lx-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lx-ctas .btn { min-height: 54px; padding: 0 26px; font-size: 1rem; border-radius: 13px; }
.lx-ctas .btn--ink { background: var(--ink); color: #fff; box-shadow: 0 18px 34px -16px rgba(20, 21, 26, 0.6); }
.lx-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--muted); }
.lx-proof li { display: inline-flex; align-items: center; gap: 7px; }
.lx-proof .i { color: var(--ok); width: 16px; height: 16px; stroke-width: 2.6; }

/* hero product window */
.lx-stage { position: relative; margin-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.lx-app { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(20, 21, 26, 0.04), 0 50px 100px -40px rgba(20, 21, 26, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.6); overflow: hidden; }
.lx-app-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fdfcf9; font-size: 0.82rem; }
.lx-app-file { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 650; }
.lx-app-file span { color: var(--faint); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--sunk); }
.lx-seg i { display: grid; place-items: center; width: 34px; height: 28px; border-radius: 7px; color: var(--muted); }
.lx-seg i.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 21, 26, 0.12); }
.lx-seg .i { width: 16px; height: 16px; }
.lx-app-act { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.lx-app-act .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); }
.lx-app-act .ic .i { width: 16px; height: 16px; }
.lx-app-act .pv { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); font-weight: 600; }
.lx-app-act .pb { padding: 8px 14px; border-radius: 8px; background: var(--accent); font-weight: 700; color: var(--ink); }
.lx-app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr) 248px; min-height: 0; }
.lx-pane { padding: 14px; background: #fdfcf9; font-size: 0.82rem; }
.lx-pane--l { border-right: 1px solid var(--line); }
.lx-pane--r { border-left: 1px solid var(--line); }
.lx-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: var(--sunk); margin-bottom: 14px; }
.lx-tabs span { flex: 1; padding: 6px 0; text-align: center; border-radius: 7px; font-weight: 600; color: var(--muted); }
.lx-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 21, 26, 0.1); }
.lx-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.lx-layers li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 550; }
.lx-layers li .i { width: 15px; height: 15px; color: var(--faint); }
.lx-layers li.on { background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(214, 150, 0, 0.35); }
.lx-layers li.on .i { color: var(--accent-ink); }
.lx-add { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 9px; border-radius: 8px; border: 1.5px dashed var(--line-2); color: var(--muted); font-weight: 600; }
.lx-canvas { position: relative; padding: 22px; background: #eeece5; background-image: radial-gradient(rgba(20, 21, 26, 0.08) 1px, transparent 1px); background-size: 16px 16px; }
.lx-page { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(20, 21, 26, 0.35); }
.lx-page img { display: block; width: 100%; height: auto; }
.lx-sel { position: absolute; left: 0; right: 0; top: 16%; height: 56%; border: 2px solid #3b82f6; border-radius: 3px; pointer-events: none; }
.lx-sel em { position: absolute; left: -2px; top: -26px; padding: 4px 9px; border-radius: 5px 5px 0 0; background: #3b82f6; color: #fff; font: 600 11px/1.3 var(--body); font-style: normal; }
.lx-sel span { position: absolute; right: 8px; top: -15px; display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--ink); }
.lx-sel span i { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 5px; color: #fff; }
.lx-sel span .i { width: 13px; height: 13px; }
.lx-sel::before, .lx-sel::after { content: ""; position: absolute; width: 8px; height: 8px; background: #fff; border: 2px solid #3b82f6; border-radius: 2px; }
.lx-sel::before { left: -5px; bottom: -5px; }
.lx-sel::after { right: -5px; bottom: -5px; }
.lx-prop { padding: 12px 0; border-top: 1px solid var(--line); }
.lx-prop:first-of-type { border-top: 0; padding-top: 0; }
.lx-prop > b { display: block; margin-bottom: 9px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.lx-sw { display: flex; gap: 7px; }
.lx-sw i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.lx-sw i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.lx-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); margin-top: 6px; }
.lx-row span { color: var(--faint); }
.lx-row strong { font-weight: 650; }
.lx-slider { position: relative; height: 4px; margin: 14px 4px 6px; border-radius: 4px; background: var(--line); }
.lx-slider i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--ink); }
.lx-slider i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.lx-seg2 { display: flex; padding: 3px; border-radius: 8px; background: var(--sunk); }
.lx-seg2 span { flex: 1; padding: 6px 0; text-align: center; border-radius: 6px; font-weight: 600; color: var(--muted); }
.lx-seg2 span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 21, 26, 0.1); }
.lx-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 44px -20px rgba(20, 21, 26, 0.45); font-size: 0.84rem; }
.lx-float strong { display: block; font-weight: 700; }
.lx-float small { display: block; color: var(--faint); font-size: 0.76rem; }
.lx-float-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.lx-float-ico--y { background: var(--accent-soft); color: var(--accent-ink); }
.lx-float--a { left: -28px; top: 470px; }
.lx-float--b { right: -28px; top: 540px; }
.lx-caption { margin-top: 18px; text-align: center; color: var(--faint); font-size: 0.82rem; }

/* website types strip */
.lx-types { padding: 8px 0 0; }
.lx-types-label { text-align: center; font-size: 0.84rem; font-weight: 600; color: var(--faint); }
.lx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.lx-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.lx-chip:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(20, 21, 26, 0.5); }
.lx-chip span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.lx-chip span svg { width: 16px; height: 16px; }

/* showcase */
.lx-show { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lx-card { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.2s; }
.lx-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 50px -30px rgba(20, 21, 26, 0.45); }
.lx-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sunk); border-bottom: 1px solid var(--line); }
.lx-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.lx-card:hover .lx-card-img img { transform: scale(1.045); }
.lx-card-img em { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); font: 700 0.72rem/1 var(--body); font-style: normal; letter-spacing: 0.02em; color: var(--ink); box-shadow: 0 2px 8px rgba(20, 21, 26, 0.12); }
.lx-card-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.lx-card-body strong { display: block; font: 700 1.06rem/1.2 var(--display); letter-spacing: -0.01em; }
.lx-card-body small { display: block; margin-top: 3px; color: var(--faint); font-size: 0.84rem; }
.lx-card-go { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.lx-card:hover .lx-card-go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.lx-show-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px dashed var(--line-2); color: var(--muted); font-size: 0.92rem; }
.lx-show-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.lx-show-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* steps */
.lx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.lx-step { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.lx-step-n { display: inline-flex; align-items: center; gap: 10px; font: 700 0.8rem/1 var(--display); letter-spacing: 0.06em; color: var(--accent-ink); }
.lx-step-n i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #ffd84d; font-style: normal; }
.lx-step h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.lx-step p { color: var(--muted); }
.lx-viz { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #f6f4ee; border: 1px solid var(--line); height: 200px; align-content: center; }
.lx-viz-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.86rem; }
.lx-viz-opt span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sunk); color: var(--muted); }
.lx-viz-opt span svg { width: 15px; height: 15px; }
.lx-viz-opt em { margin-left: auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); font-style: normal; }
.lx-viz-opt.on { border-color: var(--ink); box-shadow: 0 6px 14px -10px rgba(20, 21, 26, 0.5); }
.lx-viz-opt.on span { background: var(--accent-soft); color: var(--accent-ink); }
.lx-viz-opt.on em { background: var(--ink); border-color: var(--ink); color: #fff; }
.lx-viz-opt.on em .i { width: 12px; height: 12px; stroke-width: 3; }
.lx-viz-look { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lx-viz-aa { display: grid; place-items: center; height: 72px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font: 600 1.9rem/1 "Fraunces", Georgia, serif; }
.lx-viz-aa.on { border-color: var(--ink); background: #2a211a; color: #f6eedf; }
.lx-viz .lx-sw { justify-content: space-between; padding: 10px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line); }
.lx-viz-file { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line); }
.lx-viz-file > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #ffd84d; }
.lx-viz-file strong { display: block; font-size: 0.88rem; }
.lx-viz-file small { display: block; color: var(--faint); font-size: 0.76rem; }
.lx-viz-host { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-size: 0.84rem; font-weight: 600; }
.lx-viz-host em { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-style: normal; font-size: 0.74rem; }
.lx-viz-host em .i { width: 12px; height: 12px; stroke-width: 3; }

/* features bento */
.lx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lx-feat { position: relative; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.lx-feat-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 22px; }
.lx-feat-ico .i { width: 22px; height: 22px; }
.lx-feat h3 { font-size: 1.16rem; letter-spacing: -0.015em; }
.lx-feat p { margin-top: 8px; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.lx-feat--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.lx-feat--ink p { color: rgba(255, 255, 255, 0.68); }
.lx-feat--ink .lx-feat-ico { background: rgba(255, 216, 77, 0.14); color: #ffd84d; }
.lx-feat--ink a { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: #ffd84d; font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.lx-feat--ink a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* own the code */
.lx-own { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.lx-own::before { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 193, 7, 0.35), transparent); }
.lx-own .lx-eyebrow { color: #ffd84d; }
.lx-own .lx-h2 { margin-top: 12px; color: #fff; }
.lx-own .lx-sub { color: rgba(255, 255, 255, 0.7); }
.lx-hosts { display: grid; gap: 10px; margin-top: 28px; }
.lx-host { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.lx-host > span { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.lx-host div { flex: 1; min-width: 0; }
.lx-host strong { display: block; font-size: 0.95rem; }
.lx-host small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; }
.lx-host em { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(122, 215, 168, 0.14); color: #7ad7a8; font-style: normal; font-size: 0.74rem; font-weight: 700; }
.lx-host em.lim { background: rgba(255, 216, 77, 0.14); color: #ffd84d; }
.lx-code { border-radius: 18px; background: #0c0d11; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); overflow: hidden; }
.lx-code-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.lx-code-bar .dots i { background: rgba(255, 255, 255, 0.16); }
.lx-code-bar b { margin-left: 8px; color: #fff; font-weight: 600; }
.lx-code-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.lx-tree { list-style: none; margin: 0; padding: 14px 10px; border-right: 1px solid rgba(255, 255, 255, 0.07); font: 500 0.8rem/2 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, 0.7); }
.lx-tree li { padding: 0 8px; border-radius: 6px; white-space: nowrap; }
.lx-tree li.in { padding-left: 22px; }
.lx-tree li.on { background: rgba(255, 216, 77, 0.12); color: #ffd84d; }
.lx-src { margin: 0; padding: 14px 16px; font: 500 0.8rem/1.85 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, 0.82); overflow-x: auto; white-space: pre; }
.lx-src .t { color: #ff8a70; } .lx-src .a { color: #ffd84d; } .lx-src .s { color: #7ad7a8; } .lx-src .c { color: rgba(255, 255, 255, 0.38); }

/* pricing */
.lx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.lx-plan { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.lx-plan--feat { position: relative; border: 2px solid var(--ink); box-shadow: 0 30px 60px -36px rgba(20, 21, 26, 0.5); }
.lx-plan--feat::before { content: "Early access"; position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--accent); font: 700 0.72rem/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.lx-plan h3 { font-size: 1.2rem; }
.lx-plan > p { color: var(--muted); }
.lx-plan > p.lx-price { color: var(--ink); }
.lx-price { font: 800 3rem/1 var(--display); letter-spacing: -0.04em; }
.lx-price small { margin-left: 6px; font: 500 0.95rem var(--body); letter-spacing: 0; color: var(--faint); }
.lx-plan ul { list-style: none; margin: 4px 0 8px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 0.94rem; }
.lx-plan li { display: flex; gap: 10px; align-items: flex-start; }
.lx-plan li .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; margin-top: 1px; }
.lx-plan li.lx-soon { color: var(--faint); }
.lx-plan li.lx-soon .i { background: var(--sunk); color: var(--faint); }
.lx-plan li.lx-soon em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--sunk); font-size: 0.7rem; font-weight: 700; font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.lx-plan .btn { margin-top: auto; min-height: 50px; border-radius: 12px; }
.lx-note { margin: 22px auto 0; max-width: 980px; text-align: center; color: var(--faint); font-size: 0.86rem; }
.lx-note a { color: var(--ink); font-weight: 600; }

/* faq */
.lx-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lx-faq-aside .lx-sub { margin-bottom: 22px; }
.lx-faq-aside a.btn { min-height: 46px; }
.lx-acc { display: grid; gap: 10px; }
.lx-acc details { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.lx-acc details[open] { border-color: var(--line-2); box-shadow: 0 16px 30px -24px rgba(20, 21, 26, 0.45); }
.lx-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font-weight: 650; cursor: pointer; list-style: none; }
.lx-acc summary::-webkit-details-marker { display: none; }
.lx-acc summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314151a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.2s, background-color 0.2s; }
.lx-acc details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.lx-acc details p { padding: 0 22px 20px; color: var(--muted); line-height: 1.65; max-width: 66ch; }

/* final cta */
.lx-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 104px) 24px; border-radius: 32px; background: var(--accent); }
.lx-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(20, 21, 26, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 26, 0.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 80%); }
.lx-cta h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); letter-spacing: -0.045em; font-weight: 800; line-height: 1.02; }
.lx-cta p { margin: 16px auto 30px; max-width: 46ch; color: rgba(20, 21, 26, 0.72); font-size: 1.05rem; }
.lx-cta .btn { min-height: 54px; padding: 0 28px; border-radius: 13px; font-size: 1rem; }

/* responsive */
@media (max-width: 1180px) {
  .lx-app-body { grid-template-columns: 196px minmax(0, 1fr) 220px; }
  .lx-float--a { left: 10px; }
  .lx-float--b { right: 10px; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .lx-float--a { top: auto; bottom: 40px; }
  .lx-float--b { top: auto; bottom: 120px; }
}
@media (max-width: 1024px) {
  .lx-nav { display: none; }
  .lx-app-body { grid-template-columns: minmax(0, 1fr) 220px; }
  .lx-pane--l { display: none; }
  .lx-show, .lx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .lx-own, .lx-faq { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lx { --lx-wrap: calc(100% - 32px); }
  .lx-app-body { grid-template-columns: 1fr; }
  .lx-pane--r { display: none; }
  .lx-app-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .lx-seg, .lx-app-act .ic, .lx-app-act .pv { display: none; }
  .lx-canvas { padding: 12px; }
  .lx-float { display: none; }
  .lx-plans { grid-template-columns: 1fr; }
  .lx-foot-top { grid-template-columns: 1fr 1fr; }
  .lx-foot-top > div:first-child { grid-column: 1 / -1; }
  .lx-code-grid { grid-template-columns: 1fr; }
  .lx-tree { display: none; }
}
@media (max-width: 560px) {
  .lx-show, .lx-bento { grid-template-columns: 1fr; }
  .lx-ctas .btn { width: 100%; }
  .lx-brand small, .lx-actions .lx-signin { display: none; }
  .lx-actions .btn { padding: 0 14px; }
  .lx-sel span { display: none; }
  .lx-plan { padding: 24px; }
  .lx-show-foot { padding: 16px; }
  .lx-chips { gap: 8px; }
  .lx-chip { min-height: 38px; padding: 0 12px 0 5px; gap: 7px; font-size: 0.82rem; }
  .lx-chip span { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-card, .lx-card-img img, .lx-chip, .lx-card-go { transition: none; }
}

/* =====================================================================
   Studio sign-in (/studio/sign-in/)
   ===================================================================== */
.si-body { background: #fbfaf6; }
.si-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); min-height: 100vh; min-height: 100dvh; }
.si-main { display: flex; flex-direction: column; padding: 24px clamp(20px, 5vw, 64px) 28px; }
.si-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lx-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.lx-brand strong { display: block; font: 750 1.08rem/1 var(--display); letter-spacing: -0.02em; }
.lx-brand small { display: block; margin-top: 4px; font-size: 0.7rem; color: var(--faint); }
.si-skip { font-size: 0.88rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.si-skip:hover { color: var(--ink); background: rgba(20, 21, 26, 0.05); }
.si-card { width: min(420px, 100%); margin: auto; padding: 40px 0; outline: none; }
.si-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); letter-spacing: -0.035em; outline: none; }
.si-lead { margin-top: 10px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.si-lead strong { color: var(--ink); overflow-wrap: anywhere; }
.si-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px 0; color: var(--muted); }
.si-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--ink); animation: si-spin 0.8s linear infinite; }
@keyframes si-spin { to { transform: rotate(360deg); } }

.si-tabs { display: flex; gap: 4px; margin: 26px 0 18px; padding: 4px; border-radius: 12px; background: var(--sunk); }
.si-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.si-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 21, 26, 0.12); }
.si-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.si-google:hover { border-color: var(--ink); box-shadow: 0 6px 16px -10px rgba(20, 21, 26, 0.45); }
.si-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--faint); font-size: 0.8rem; }
.si-or::before, .si-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.si-form { display: grid; gap: 14px; }
.si-field { display: grid; gap: 6px; }
.si-field > span:first-child { font-size: 0.86rem; font-weight: 600; }
.si-input { position: relative; display: block; }
.si-input input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; }
.si-input input:hover { border-color: var(--faint); }
.si-input input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.35); }
.si-input input[type="password"], .si-input input[name="password"] { padding-right: 50px; }
.si-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.si-eye:hover, .si-eye[aria-pressed="true"] { background: var(--sunk); color: var(--ink); }
.si-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.si-check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-2); cursor: pointer; }
.si-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.si-link { padding: 4px 0; border: 0; background: none; color: var(--ink); font-weight: 650; font-size: 0.88rem; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.si-link:hover { text-decoration-color: var(--ink); }
.si-muted { color: var(--muted); text-decoration-color: var(--line-2); }
.si-submit { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; box-shadow: 0 16px 30px -18px rgba(20, 21, 26, 0.7); transition: background 0.15s; }
.si-submit:hover { background: #000; }
.si-submit:disabled { opacity: 0.7; cursor: progress; }
.si-submit.is-busy span, .si-google.is-busy span { opacity: 0.4; }
.si-submit.is-busy::after, .si-google.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: si-spin 0.8s linear infinite; }
.si-google.is-busy { position: relative; }
.si-google.is-busy::after { border-color: var(--line-2); border-top-color: var(--ink); }
.si-error { padding: 11px 14px; border-radius: 10px; background: #fdeceb; color: #a1251f; font-size: 0.88rem; font-weight: 600; }
.si-ok { padding: 11px 14px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-size: 0.88rem; font-weight: 600; }
.si-hint { margin-top: -6px; color: var(--faint); font-size: 0.8rem; }
.si-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: -4px; }
.si-meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background 0.2s; }
.si-meter i.on.s1 { background: #dc2626; } .si-meter i.on.s2 { background: #f59e0b; } .si-meter i.on.s3 { background: #65a30d; } .si-meter i.on.s4 { background: var(--ok); }
.si-fine { color: var(--faint); font-size: 0.78rem; text-align: center; }
.si-fine a { color: var(--muted); }
.si-back { margin-bottom: 18px; padding: 0; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.si-back:hover { color: var(--ink); }
.si-state { display: grid; justify-items: center; gap: 14px; text-align: center; }
.si-state .si-lead { margin-top: -4px; }
.si-state .si-error, .si-state .si-ok { width: 100%; text-align: left; }
.si-state-ico, .si-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-ink); }
.si-avatar { border-radius: 50%; background: var(--accent); color: var(--ink); font: 800 1.6rem/1 var(--display); }
.si-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.si-foot { width: min(420px, 100%); margin: 0 auto; color: var(--faint); font-size: 0.8rem; text-align: center; line-height: 1.6; }
.si-foot a { color: var(--muted); }

.si-side { position: relative; display: flex; align-items: center; padding: clamp(32px, 5vw, 72px); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, 0.5), transparent 60%), linear-gradient(155deg, #ffd23f 0%, #ffc107 55%, #f2b200 100%); }
.si-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(20, 21, 26, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 26, 0.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.si-side-inner { width: min(500px, 100%); margin: 0 auto; }
.si-side-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(20, 21, 26, 0.65); }
.si-side h2 { margin-top: 12px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
.si-perks { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; font-weight: 600; }
.si-perks li { display: flex; align-items: center; gap: 10px; }
.si-perks span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #ffd84d; font-size: 0.72rem; }
.si-stack { display: grid; gap: 10px; }
.si-site { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 20px 40px -28px rgba(90, 60, 0, 0.6); }
.si-site:nth-child(2) { margin-left: 28px; }
.si-site:nth-child(3) { margin-left: 56px; opacity: 0.85; }
.si-site img { width: 64px; height: 48px; flex: none; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); }
.si-site span { flex: 1; min-width: 0; }
.si-site b { display: block; font-size: 0.92rem; }
.si-site small { display: block; color: var(--muted); font-size: 0.78rem; }
.si-site em { padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-style: normal; font-size: 0.72rem; font-weight: 700; }
@media (max-width: 900px) {
  .si-shell { grid-template-columns: 1fr; }
  .si-side { display: none; }
  .si-card { padding: 28px 0; }
}
@media (max-width: 480px) {
  .si-skip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .si-spin, .si-submit.is-busy::after, .si-google.is-busy::after { animation-duration: 2s; } }

/* =====================================================================
   App: account sync status + banners
   ===================================================================== */
.sync-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--sunk); color: var(--muted); font-size: 0.74rem; font-weight: 600; }
.sync-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.sync-pill[data-state="saved"]::before { background: var(--ok); }
.sync-pill[data-state="saving"]::before, .sync-pill[data-state="loading"]::before { background: var(--accent-2); animation: si-pulse 1s ease-in-out infinite; }
.sync-pill[data-state="error"] { background: #fdeceb; color: #a1251f; }
.sync-pill[data-state="error"]::before { background: var(--danger); }
.sync-pill[data-state="offline"]::before { background: var(--warn); }
@keyframes si-pulse { 50% { opacity: 0.3; } }
.banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.banner > .ico { color: var(--accent-ink); }
.banner p { flex: 1; min-width: 220px; color: var(--muted); font-size: 0.9rem; }
.banner p strong { color: var(--ink); }
.banner .row { gap: 8px; }
.banner .btn { min-height: 40px; padding: 0 14px; font-size: 0.86rem; }
.banner--warn { background: var(--warn-soft); border-color: #f3dfa6; box-shadow: none; }
.banner--warn p { color: var(--warn); }
.banner--error { background: #fdeceb; border-color: #f5c2bf; box-shadow: none; }
.banner--error p { color: #a1251f; }

/* =====================================================================
   Landing v3 — header with mega menus, hero collage, full footer
   ===================================================================== */
.lx-locked, .lx-locked body { overflow: hidden; }
.lx-hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.lx-hd.is-scrolled, .lx-hd.is-open { box-shadow: 0 8px 24px -18px rgba(20, 21, 26, 0.35); }
.lx-hd-bar { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); height: 76px; padding: 0 clamp(16px, 2.4vw, 36px); }
.lx-hd .lx-brand { flex: none; }
.lx-nav2 { display: flex; align-items: stretch; align-self: stretch; gap: 2px; min-width: 0; }
.lx-nav2 > a, .lx-nav-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 0; background: none; color: var(--ink); font: 500 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.lx-nav2 > a::after, .lx-nav-btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ink); transform: scaleX(0); transition: transform 0.2s; }
.lx-nav2 > a:hover::after, .lx-nav-btn:hover::after, .lx-nav-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.lx-nav-btn[aria-expanded="true"] { font-weight: 650; }
.lx-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.lx-nav-btn[aria-expanded="true"] .lx-chev { transform: rotate(180deg); }
.lx-nav-sep { align-self: center; width: 1px; height: 24px; margin: 0 8px; background: var(--line-2); }
.lx-nav2 :focus-visible { outline: 2.5px solid var(--ink); outline-offset: -6px; border-radius: 10px; }
.lx-hd-act { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.lx-login { color: var(--ink); font-weight: 550; font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; white-space: nowrap; }
.lx-login:hover { text-decoration-color: var(--accent-2); text-decoration-thickness: 3px; }
.lx-start { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background 0.15s, transform 0.15s; }
.lx-start:hover { background: #000; transform: translateY(-1px); }
.lx-burger { display: none; place-items: center; align-content: center; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; }
.lx-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.lx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mega panels */
.lx-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(20, 21, 26, 0.4); animation: lx-drop 0.18s ease-out; }
@keyframes lx-drop { from { opacity: 0; transform: translateY(-6px); } }
.lx-mega-in { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 40px; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 36px 0 40px; }
.lx-mega-h { margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.lx-mega ul, .lx-drawer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.lx-mega li a, .lx-drawer li a { display: block; padding: 16px 12px 14px 0; border-radius: 12px; text-decoration: none; color: var(--ink); }
.lx-mega li a strong, .lx-drawer li a strong { display: block; font-size: 1.04rem; font-weight: 650; letter-spacing: -0.01em; }
.lx-mega li a strong em, .lx-drawer li a strong em { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--sunk); color: var(--muted); font: 700 0.62rem/1.4 var(--body); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
.lx-mega li a span, .lx-drawer li a span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; max-width: 32ch; }
.lx-mega li a:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lx-mega li a:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 4px; }
.lx-mega-band { display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding: 24px max(32px, calc((100% - 1200px) / 2)); background: #fff4cc; color: var(--ink); text-decoration: none; }
.lx-mega-band strong { display: inline-flex; align-items: center; gap: 10px; font: 650 1.2rem/1.2 var(--display); letter-spacing: -0.02em; }
.lx-mega-band strong .i { width: 20px; height: 20px; transition: transform 0.2s; }
.lx-mega-band span { color: #5f4a12; font-size: 0.98rem; }
.lx-mega-band:hover strong .i { transform: translateX(4px); }
.lx-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(20, 21, 26, 0.38); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.lx-scrim.is-on { opacity: 1; pointer-events: auto; }

/* phone drawer */
.lx-drawer { position: fixed; left: 0; right: 0; top: 76px; bottom: 0; z-index: 60; overflow-y: auto; background: #fff; padding: 8px 20px 28px; border-top: 1px solid var(--line); }
.lx-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 600 1.15rem/1 var(--body); color: var(--ink); cursor: pointer; }
.lx-acc-btn[aria-expanded="true"] .lx-chev { transform: rotate(180deg); }
.lx-acc-panel { padding: 14px 0 6px; }
.lx-acc-panel .lx-mega-h { margin-top: 12px; padding-bottom: 8px; }
.lx-drawer ul { grid-template-columns: 1fr; }
.lx-drawer li a { padding: 12px 0; }
.lx-dr-link { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.lx-dr-cta { display: grid; gap: 14px; justify-items: center; margin-top: 26px; }
.lx-dr-cta .lx-start { width: 100%; min-height: 54px; }

/* hero */
.lx-hero2 { position: relative; padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; isolation: isolate; }
.lx-hero2::before { content: ""; position: absolute; left: 50%; top: 42%; z-index: -1; width: min(1500px, 140%); height: 900px; transform: translateX(-50%);
  background: radial-gradient(36% 40% at 30% 55%, rgba(255, 210, 63, 0.38), transparent 70%), radial-gradient(34% 38% at 70% 50%, rgba(255, 168, 120, 0.3), transparent 70%), radial-gradient(40% 30% at 50% 70%, rgba(255, 236, 170, 0.55), transparent 75%); filter: blur(10px); }
.lx-hero2-copy { text-align: center; max-width: 1080px; }
.lx-hero2 h1 { margin-top: 26px; font-size: clamp(2.7rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -0.032em; font-weight: 600; font-variation-settings: "opsz" 28; }
.lx-hero2 .lx-sub { margin: 26px auto 0; max-width: 640px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.lx-go { display: inline-flex; align-items: center; justify-content: center; margin-top: 34px; min-height: 60px; padding: 0 42px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 1.2rem; font-weight: 600; text-decoration: none; box-shadow: 0 20px 40px -20px rgba(20, 21, 26, 0.7); transition: background 0.15s, transform 0.15s; }
.lx-go:hover { background: #000; transform: translateY(-2px); }
.lx-note2 { margin-top: 16px; color: var(--ink-2); font-size: 0.98rem; }
.lx-collage { position: relative; width: min(1320px, calc(100% - 32px)); margin: clamp(56px, 7vw, 88px) auto 0; padding-bottom: 8px; }
.lx-cl-main { position: relative; z-index: 2; width: min(980px, 76%); margin: 0 auto; }
.lx-cl-main .lx-app { box-shadow: 0 2px 4px rgba(20, 21, 26, 0.04), 0 60px 120px -50px rgba(20, 21, 26, 0.55), 0 0 0 8px rgba(255, 255, 255, 0.55); }
.lx-cl { position: absolute; z-index: 1; }
.lx-cl em { position: absolute; top: -28px; left: 0; padding: 5px 10px; border-radius: 6px; background: var(--ink); color: #ffd84d; font: 700 0.76rem/1.2 var(--body); font-style: normal; }
.lx-cl--l { left: 0; bottom: 6%; width: 21%; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgba(20, 21, 26, 0.5); transform: rotate(-2deg); }
.lx-cl--l img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: top left; border-radius: 11px; }
.lx-cl--r { right: 2%; bottom: 3%; width: 15%; transform: rotate(2.5deg); }
.lx-cl-phone { padding: 6px; border-radius: 28px; background: var(--ink); box-shadow: 0 30px 60px -24px rgba(20, 21, 26, 0.6); }
.lx-cl-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 22px; }
.lx-collage .lx-float { z-index: 3; }
.lx-collage .lx-float--a { left: 3%; top: 16%; bottom: auto; right: auto; }
.lx-collage .lx-float--b { right: 1%; top: 14%; bottom: auto; left: auto; }
.lx-hero2 .lx-caption { margin: 22px auto 0; padding: 0 16px; }

/* footer */
.lx-foot2 { margin-top: clamp(64px, 9vw, 112px); padding: clamp(56px, 7vw, 88px) 0 28px; background: #fff; border-top: 1px solid var(--line); }
.lx-f-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.55fr); gap: 40px 28px; }
.lx-f-grid h3 { margin-bottom: 22px; font: 650 1.06rem/1.2 var(--body); letter-spacing: -0.01em; }
.lx-f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lx-f-grid ul a { color: var(--ink-2); text-decoration: none; font-size: 0.98rem; }
.lx-f-grid ul a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lx-f-about p { margin: 20px 0 22px; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.lx-f-strong { display: block; width: fit-content; margin-top: 10px; color: var(--ink); font-weight: 650; text-decoration: none; }
.lx-f-strong:hover { text-decoration: underline; text-underline-offset: 5px; }
.lx-f-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.lx-social { display: flex; gap: 6px; }
.lx-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); transition: background 0.15s; }
.lx-social a:hover { background: var(--sunk); }
.lx-social .i { width: 22px; height: 22px; }
.lx-f-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; font-size: 0.95rem; }
.lx-f-legal a { color: var(--ink-2); text-decoration: none; }
.lx-f-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lx-f-legal span { color: var(--muted); }

@media (max-width: 1240px) {
  .lx-nav2 > a, .lx-nav-btn { padding: 0 10px; font-size: 0.95rem; }
  .lx-nav2 > a::after, .lx-nav-btn::after { left: 10px; right: 10px; }
}
@media (max-width: 1100px) {
  .lx-nav2, .lx-hd-act .lx-login { display: none; }
  .lx-burger { display: grid; }
  .lx-hd-act { gap: 10px; }
  .lx-start { min-height: 46px; padding: 0 18px; font-size: 0.95rem; }
  .lx-scrim { display: none; }
  .lx-cl, .lx-collage .lx-float { display: none; }
  .lx-cl-main { width: 100%; }
  .lx-f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-f-about { grid-column: 1 / -1; order: -1; max-width: 640px; }
}
@media (max-width: 640px) {
  .lx-hd-bar { height: 64px; padding: 0 16px; }
  .lx-drawer { top: 64px; }
  .lx-hd .lx-brand small { display: none; }
  .lx-hd-act .lx-start { display: none; }
  .lx-go { width: 100%; }
  .lx-f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .lx-f-base { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .lx-mega { animation: none; } }
.lx-mega-in[data-cols="3"] ul { grid-template-columns: 1fr; }
.lx-mega-in[data-cols="3"] li a span { max-width: 30ch; }
.lx [id] { scroll-margin-top: 92px; }

/* =====================================================================
   Studio detail pages (/studio/<slug>/) — scripts/build-studio-pages.mjs
   ===================================================================== */
.dp-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.dp-hero::before { content: ""; position: absolute; right: -10%; top: -20%; z-index: -1; width: 70%; height: 130%;
  background: radial-gradient(45% 45% at 55% 45%, rgba(255, 210, 63, 0.32), transparent 70%), radial-gradient(35% 35% at 75% 70%, rgba(255, 168, 120, 0.22), transparent 70%); filter: blur(8px); }
.dp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.dp-crumbs a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.dp-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dp-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.dp-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.dp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dp-status--now { background: var(--ok-soft); color: var(--ok); }
.dp-status--early { background: var(--accent-soft); color: var(--accent-ink); }
.dp-status--soon { background: var(--sunk); color: var(--muted); }
.dp-hero h1 { margin-top: 16px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; font-variation-settings: "opsz" 28; text-wrap: balance; }
.dp-hero .lx-sub { margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-2); }
.dp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.dp-ctas .lx-go { margin-top: 0; min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
.dp-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; text-decoration: none; }
.dp-ghost .i { width: 18px; height: 18px; transition: transform 0.2s; }
.dp-ghost:hover .i { transform: translateX(3px); }
.dp-soon { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--line-2); color: var(--muted); font-size: 0.92rem; max-width: 560px; }
.dp-soon .i { width: 20px; height: 20px; margin-top: 1px; color: var(--accent-ink); }
.dp-soon strong { color: var(--ink); }
.dp-visual { position: relative; min-width: 0; }
.dp-browser { border-radius: 16px; background: #fff; padding: 0 7px 7px; border: 1px solid var(--line); box-shadow: 0 50px 90px -46px rgba(20, 21, 26, 0.5); }
.dp-bar { display: flex; align-items: center; gap: 6px; padding: 10px 4px; }
.dp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e7e3d7; }
.dp-bar em { flex: 1; min-width: 0; margin-left: 8px; padding: 4px 12px; border-radius: 7px; background: #f4f2ea; color: var(--muted); font: 500 0.76rem/1.3 var(--body); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-browser img { display: block; width: 100%; height: auto; border-radius: 10px; }
.dp-frame { display: block; width: 100%; height: clamp(320px, 34vw, 460px); border: 0; border-radius: 10px; background: #fff; pointer-events: none; }
.dp-vis-note { margin-top: 12px; color: var(--faint); font-size: 0.8rem; text-align: center; }
.dp-pair { position: relative; padding-right: 12%; padding-bottom: 6%; }
.dp-phone { position: absolute; right: 0; bottom: 0; width: 26%; padding: 6px; border-radius: 26px; background: var(--ink); box-shadow: 0 30px 60px -24px rgba(20, 21, 26, 0.6); transform: rotate(2.5deg); }
.dp-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 20px; }
.dp-editor .lx-app-body { grid-template-columns: 170px minmax(0, 1fr) 190px; }
.dp-editor .lx-pane { font-size: 0.76rem; padding: 10px; }
.dp-editor .lx-app-bar { font-size: 0.76rem; }
.dp-editor .lx-app-act .ic, .dp-editor .lx-seg { display: none; }
.dp-editor .lx-app-bar { grid-template-columns: 1fr auto; }
.dp-code .lx-code { box-shadow: 0 50px 90px -46px rgba(20, 21, 26, 0.6); }
.dp-hosts { display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: var(--ink); box-shadow: 0 50px 90px -46px rgba(20, 21, 26, 0.6); }
.dp-host { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; }
.dp-host > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; background: rgba(255, 216, 77, 0.14); color: #ffd84d; }
.dp-host div { flex: 1; min-width: 0; }
.dp-host strong { display: block; }
.dp-host small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.84rem; }
.dp-host em { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(122, 215, 168, 0.14); color: #7ad7a8; font-style: normal; font-size: 0.74rem; font-weight: 700; }
.dp-host em.lim { background: rgba(255, 216, 77, 0.14); color: #ffd84d; }
.dp-dns { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -46px rgba(20, 21, 26, 0.5); }
.dp-dns-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dp-dns-head strong { font: 700 1.2rem/1.2 var(--display); }
.dp-dns-head span { color: var(--faint); font-size: 0.84rem; }
.dp-dns table { width: 100%; margin-top: 10px; border-collapse: collapse; font: 500 0.88rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
.dp-dns th { padding: 10px 8px; text-align: left; color: var(--faint); font: 600 0.74rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.dp-dns td { padding: 12px 8px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.dp-dns p { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ok); font-weight: 600; font-size: 0.9rem; }
.dp-dns p .i { width: 18px; height: 18px; stroke-width: 2.6; }

.dp-section { padding: clamp(56px, 8vw, 104px) 0; }
.dp-section + .dp-section { padding-top: 0; }
.dp-section--soft { padding: clamp(56px, 8vw, 96px) 0 !important; background: #fff; border-block: 1px solid var(--line); }
.dp-section--soft + .dp-section { padding-top: clamp(56px, 8vw, 104px); }
.dp-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.dp-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; text-decoration: none; }
.dp-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.dp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.dp-feat { padding: clamp(24px, 3vw, 34px); background: #fff; }
.dp-feat-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); }
.dp-feat-ico .i { width: 22px; height: 22px; }
.dp-feat h3 { margin-top: 20px; font-size: 1.14rem; letter-spacing: -0.015em; }
.dp-feat p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.dp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.dp-steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.dp-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); font: 700 1rem/1 var(--display); }
.dp-steps h3 { margin-top: 18px; font-size: 1.3rem; letter-spacing: -0.02em; }
.dp-steps p { margin-top: 8px; color: var(--muted); line-height: 1.6; }
.dp-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dp-type { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.dp-type h3 { font-size: 1.06rem; }
.dp-type p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.dp-type-links { display: flex; gap: 16px; margin-top: 10px; }
.dp-type-links a { color: var(--ink); font-weight: 650; font-size: 0.9rem; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dp-guide { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.dp-guide ol { list-style: none; margin: 0; padding: 0; counter-reset: g; display: grid; gap: 12px; }
.dp-guide li { counter-increment: g; display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #f8f7f2; line-height: 1.55; }
.dp-guide li::before { content: counter(g); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #ffd84d; font: 700 0.85rem/1 var(--display); }
.dp-rels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dp-rel { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s; }
.dp-rel:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 50px -34px rgba(20, 21, 26, 0.5); }
.dp-rel small { color: var(--faint); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dp-rel strong { font: 650 1.3rem/1.2 var(--display); letter-spacing: -0.02em; }
.dp-rel span { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.dp-rel em { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 650; font-size: 0.92rem; }
.dp-rel em .i { width: 16px; height: 16px; transition: transform 0.2s; }
.dp-rel:hover em .i { transform: translateX(3px); }
.dp .lx-foot2 { margin-top: clamp(56px, 8vw, 96px); }
@media (max-width: 1024px) {
  .dp-hero-grid, .dp-guide { grid-template-columns: 1fr; }
  .dp-feats, .dp-types, .dp-rels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-steps { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 640px) {
  .dp-feats, .dp-types, .dp-rels { grid-template-columns: 1fr; }
  .dp-ctas .lx-go { width: 100%; }
  .dp-editor .lx-pane--r { display: none; }
  .dp-editor .lx-app-body { grid-template-columns: 1fr; }
  .dp-pair { padding-right: 16%; }
  .dp-phone { width: 30%; }
}
@media (prefers-reduced-motion: reduce) { .dp-rel, .dp-ghost .i, .dp-rel em .i { transition: none; } }
/* Consistent headline weight across Studio pages. */
.lx .lx-h2, .lx .lx-cta h2 { font-weight: 650; letter-spacing: -0.03em; font-variation-settings: "opsz" 28; }
/* Editor picture on detail pages: give the canvas the room (section list hidden). */
.dp-editor .lx-pane--l { display: none; }
.dp-editor .lx-app-body { grid-template-columns: minmax(0, 1fr) 200px; }
.dp-editor .lx-canvas { padding: 16px; }
@media (max-width: 640px) {
  .dp-hosts { padding: 14px; }
  .dp-host { flex-wrap: wrap; align-items: flex-start; }
  .dp-host div { flex: 1 1 calc(100% - 60px); }
  .dp-host em { margin-left: 56px; }
}
/* "Coming soon" tag used next to features that aren't live yet. */
.lx-soon-tag { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--sunk); color: var(--muted); font: 700 0.68rem/1.2 var(--body); font-style: normal; letter-spacing: 0.02em; text-transform: none; vertical-align: middle; white-space: nowrap; }
.lx-soon-tag--dark { margin: 0 6px 0 0; background: rgba(255, 216, 77, 0.16); color: #ffd84d; }

/* =====================================================================
   Studio site pages, Batch 1 — scripts/build-studio-hub.mjs
   ===================================================================== */
.st-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 700 0.7rem/1.3 var(--body); letter-spacing: 0.02em; white-space: nowrap; vertical-align: middle; }
.st-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-badge--live { background: var(--ok-soft); color: var(--ok); }
.st-badge--next { background: var(--accent-soft); color: var(--accent-ink); }
.st-badge--later { background: var(--sunk); color: var(--muted); }
.st-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 8px; color: var(--muted); font-size: 0.88rem; }
.st-key a { color: var(--ink); font-weight: 650; }
.hb-hero { padding-bottom: clamp(36px, 5vw, 64px); }
.hb-hero-in { max-width: none; }
.hb-hero h1 { max-width: 18ch; }
.dp .hb-hero .lx-sub { max-width: 62ch; }

/* features */
.ft-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ft-jump a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--ink); }
.ft-jump a:hover { border-color: var(--ink); }
.ft-group + .ft-group { padding-top: 0; }
.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ft-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.ft-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 24px 40px -30px rgba(20, 21, 26, 0.5); }
.ft-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ft-top strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.ft-text { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* roadmap */
.rm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.rm-col { border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.rm-col--live { border-top: 4px solid var(--ok); }
.rm-col--next { border-top: 4px solid var(--accent); }
.rm-col--later { border-top: 4px solid var(--line-2); }
.rm-head { padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.rm-head h2 { margin-top: 10px; font-size: 1.4rem; }
.rm-head p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.rm-col ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.rm-col li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; }
.rm-col li:hover { background: #f8f7f2; }
.rm-col li small { color: var(--faint); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rm-col li strong { font-size: 0.98rem; }
.rm-col li span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* changelog */
.cl-list { display: grid; gap: 0; max-width: 860px; }
.cl-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.cl-item time { color: var(--muted); font-weight: 600; font-size: 0.92rem; padding-top: 4px; }
.cl-item h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.cl-item ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 8px; line-height: 1.6; }

/* pricing */
.pc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pc-card, .pc-dfy { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pc-card--feat { border: 2px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(20, 21, 26, 0.55); }
.pc-flag { position: absolute; top: -13px; left: 22px; padding: 5px 12px; border-radius: 999px; background: var(--accent); font: 700 0.7rem/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.pc-card h3, .pc-dfy h3 { font-size: 1.15rem; }
.pc-price { font: 700 2.4rem/1 var(--display); letter-spacing: -0.03em; }
.pc-price--sm { font-size: 1.9rem; }
.pc-price small { font: 500 0.85rem var(--body); color: var(--faint); letter-spacing: 0; }
.pc-sub { color: var(--muted); font-size: 0.92rem; min-height: 2.8em; }
.pc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 650; text-decoration: none; }
.pc-btn:hover { border-color: var(--ink); }
.pc-btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.pc-btn--ink:hover { background: #000; }
.pc-card ul, .pc-dfy ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.9rem; }
.pc-card li, .pc-dfy li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.pc-card li .i, .pc-dfy li .i { width: 17px; height: 17px; margin-top: 2px; color: var(--ok); stroke-width: 2.6; }
.pc-card li.pc-planned { color: var(--muted); }
.pc-card li.pc-planned .i { color: var(--faint); stroke-width: 2; }
.pc-card li .st-badge { margin-left: 4px; }
.pc-dfy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pc-dfy .pc-btn { margin-top: auto; }
.pc-note { margin-top: 18px; color: var(--faint); font-size: 0.86rem; max-width: 80ch; }
.cmp-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.cmp-wrap:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; }
.cmp th, .cmp td { padding: 13px 16px; text-align: center; border-top: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; background: #fff; border-top: 0; font: 700 1rem/1.2 var(--display); }
.cmp thead th small { display: block; margin-top: 3px; color: var(--faint); font: 500 0.74rem var(--body); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 550; font-family: var(--body); }
.cmp td.ok .i { width: 18px; height: 18px; margin: 0 auto; color: var(--ok); stroke-width: 2.6; }
.cmp td.pl { color: var(--faint); font-size: 0.82rem; }
.cmp td.no { color: var(--line-2); }
.cmp .cmp-group th { background: #f8f7f2; text-align: left; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* how it works */
.hw-list { display: grid; gap: 18px; max-width: 920px; }
.hw-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.hw-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); font: 700 1.4rem/1 var(--display); }
.hw-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.hw-top h2 { font-size: 1.45rem; letter-spacing: -0.02em; }
.hw-body > p { margin-top: 8px; color: var(--muted); line-height: 1.6; }
.hw-body ul { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.hw-body li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.94rem; }
.hw-body li .i { width: 17px; height: 17px; margin-top: 2px; color: var(--ok); stroke-width: 2.6; }
.dp-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* help centre */
.hc-wrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hc-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.hc-search { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--faint); }
.hc-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.3); }
.hc-search .i { width: 18px; height: 18px; }
.hc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 0.98rem; color: var(--ink); }
.hc-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hc-side li a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 550; font-size: 0.94rem; text-decoration: none; }
.hc-side li a:hover { background: #fff; color: var(--ink); }
.hc-side li small { color: var(--faint); font-weight: 600; }
.hc-ask { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 650; text-decoration: none; }
.hc-ask .i { width: 18px; height: 18px; }
.hc-main { display: grid; gap: 40px; }
.hc-group h2 { margin-bottom: 14px; font-size: 1.35rem; letter-spacing: -0.02em; }
.hc-empty { padding: 22px; border: 1.5px dashed var(--line-2); border-radius: 16px; color: var(--muted); text-align: center; }

/* security + drafts */
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sp-card { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.sp-card h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.sp-card p { color: var(--ink-2); line-height: 1.65; }
.sp-card p + p { margin-top: 10px; }
.sp-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-card li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; color: var(--ink-2); }
.sp-card li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); stroke-width: 2.6; }
mark.todo { padding: 2px 6px; border-radius: 6px; background: #fdeceb; color: #a1251f; font-weight: 600; }

/* templates gallery */
.tg-bar { display: grid; gap: 12px; }
.tg-search { max-width: 460px; }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-chips button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.tg-chips button span { color: var(--faint); font-weight: 600; }
.tg-chips button:hover { border-color: var(--ink); }
.tg-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tg-chips button[aria-pressed="true"] span { color: #ffd84d; }
.tg-chips--style button { min-height: 34px; font-size: 0.82rem; }
.tg-count { margin: 20px 0 14px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.tg-card { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s; }
.tg-card[hidden] { display: none; }
.tg-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 50px -30px rgba(20, 21, 26, 0.45); }
.tg-card:hover .lx-card-img img { transform: scale(1.045); }
.tg-gap { margin-top: 32px; padding: 24px; border-radius: 18px; background: #fff; border: 1px dashed var(--line-2); }
.tg-gap h2 { font-size: 1.1rem; }
.tg-gap p { margin: 6px 0 12px; color: var(--muted); }

/* template detail */
.td-hero { padding-bottom: 32px; }
.td-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 8px; }
.td-head h1 { margin-top: 14px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.td-head .lx-sub { max-width: 60ch; }
.td-head .dp-ctas { margin-top: 0; }
.td-stage { margin-top: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 50px 90px -50px rgba(20, 21, 26, 0.5); }
.td-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fdfcf9; }
.td-seg button { width: auto; padding: 0 12px; font-size: 0.82rem; font-weight: 600; }
.td-open { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; font-size: 0.88rem; text-decoration: none; }
.td-open .i { width: 16px; height: 16px; }
.td-frame-wrap { display: grid; justify-items: center; padding: 0; background: #eeece5; transition: padding 0.2s; }
.td-frame { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; transition: width 0.3s; }
.td-frame-wrap[data-size="tablet"], .td-frame-wrap[data-size="phone"] { padding: 22px 0; }
.td-frame-wrap[data-size="tablet"] .td-frame { width: 820px; max-width: 100%; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(20, 21, 26, 0.4); }
.td-frame-wrap[data-size="phone"] .td-frame { width: 390px; max-width: 100%; border-radius: 22px; box-shadow: 0 20px 40px -20px rgba(20, 21, 26, 0.4); }
.td-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.td-tags { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.td-tags li { padding: 6px 12px; border-radius: 999px; background: #f4f2ea; font-size: 0.86rem; font-weight: 600; }
.td-dl { display: grid; gap: 0; margin: 0; }
.td-dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.td-dl > div:first-child { border-top: 0; padding-top: 0; }
.td-dl dt { color: var(--faint); }
.td-dl dd { margin: 0; font-weight: 600; }
.td-dl a { color: var(--ink); }
.sp-card li .i[class] { flex: none; }

@media (max-width: 1100px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-grid, .td-info { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hc-wrap { grid-template-columns: 1fr; }
  .hc-side { position: static; }
  .sp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pc-grid, .ft-grid, .dp-steps--4 { grid-template-columns: 1fr; }
  .cl-item { grid-template-columns: 1fr; gap: 6px; }
  .hw-step { grid-template-columns: 1fr; padding: 22px; }
  .hw-body ul { grid-template-columns: 1fr; }
  .td-bar .dots { display: none; }
  .td-seg button { padding: 0 9px; }
}
.pc-dfy .pc-btn { padding: 0 12px; white-space: nowrap; font-size: 0.9rem; }
.pc-card li span, .pc-dfy li span { min-width: 0; overflow-wrap: anywhere; }

/* =====================================================================
   Studio pages, polish pass: centred heroes, pricing v2, help, timelines
   ===================================================================== */
.hb-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.hb-hero::before { left: 50%; right: auto; top: -30%; width: min(1100px, 120%); height: 120%; transform: translateX(-50%); }
.hb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(20, 21, 26, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 26, 0.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(55% 70% at 50% 20%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(55% 70% at 50% 20%, #000 25%, transparent 75%); }
.hb-hero-in { display: flex; flex-direction: column; align-items: center; max-width: none; }
.hb-hero .dp-crumbs { justify-content: center; }
.hb-hero h1 { max-width: 20ch; margin-top: 18px; font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.dp .hb-hero .lx-sub { max-width: 60ch; margin-inline: auto; }
.hb-hero .dp-ctas { justify-content: center; }
.hb-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); box-shadow: 0 1px 2px rgba(20, 21, 26, 0.04); }
.hb-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hb-pill--dark { margin: 0; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); color: #ffd84d; }
.st-key { justify-content: center; }
.ft-jump { justify-content: center; }

/* pricing v2 */
.pv-switch { display: inline-flex; gap: 4px; margin-top: 32px; padding: 5px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(20, 21, 26, 0.4); }
.pv-switch button { display: grid; gap: 2px; min-width: 210px; padding: 12px 22px; border: 0; border-radius: 12px; background: transparent; font: 650 1rem/1.2 var(--body); color: var(--ink-2); cursor: pointer; transition: background 0.15s, color 0.15s; }
.pv-switch button small { font-size: 0.78rem; font-weight: 600; color: var(--faint); }
.pv-switch button:hover { background: var(--sunk); }
.pv-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pv-switch button[aria-selected="true"] small { color: #ffd84d; }
.pv-switch button:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.pv-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; font-weight: 550; }
.pv-trust li { display: inline-flex; align-items: center; gap: 7px; }
.pv-trust .i { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.6; }
.pv-panel { padding-bottom: clamp(56px, 8vw, 96px); }
.pv-panel[hidden] { display: none; }
.pv-diy { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.4fr); gap: 20px; align-items: stretch; }
.pv-free { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 34px; border-radius: 26px; background: var(--ink); color: #fff; box-shadow: 0 40px 80px -46px rgba(20, 21, 26, 0.8); overflow: hidden; isolation: isolate; }
.pv-free::before { content: ""; position: absolute; right: -90px; top: -110px; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 193, 7, 0.35), transparent); }
.pv-free .pc-flag { position: static; display: inline-block; margin-bottom: 14px; }
.pv-free h3 { font-size: 1.3rem; color: #fff; }
.pv-price { margin-top: 8px; font: 700 3.4rem/1 var(--display); letter-spacing: -0.04em; color: #ffd84d; }
.pv-price small { margin-left: 8px; font: 500 0.88rem var(--body); letter-spacing: 0; color: rgba(255, 255, 255, 0.55); }
.pv-price--sm { font-size: 2.3rem; color: var(--ink); }
.pv-price--sm small { color: var(--faint); }
.pv-sub { margin: 10px 0 20px; color: rgba(255, 255, 255, 0.7); }
.pc-btn--yellow { background: var(--accent); border-color: var(--accent); color: var(--ink); gap: 8px; }
.pc-btn--yellow:hover { background: var(--accent-2); border-color: var(--accent-2); }
.pc-btn .i { width: 18px; height: 18px; }
.pv-free .pc-btn { width: 100%; min-height: 52px; font-size: 1rem; }
.pv-free-lists { display: grid; gap: 22px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pv-h { margin-bottom: 12px; color: rgba(255, 255, 255, 0.55); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pv-free ul, .pv-dfy ul, .pv-biz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.pv-free li, .pv-dfy li, .pv-biz li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.pv-free li .i, .pv-dfy li .i, .pv-biz li .i { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #7ad7a8; stroke-width: 2.6; }
.pv-free li.pc-planned { color: rgba(255, 255, 255, 0.62); }
.pv-free li.pc-planned .i { color: #ffd84d; stroke-width: 2; }
.pv-paid { display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.pv-paid-head h3 { margin-top: 10px; font-size: 1.4rem; }
.pv-paid-head p { margin-top: 6px; color: var(--muted); max-width: 52ch; }
.pv-paid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; flex: 1; }
.pv-plan { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #f8f7f2; border: 1px solid var(--line); }
.pv-plan h4 { font: 700 1.15rem/1.2 var(--display); letter-spacing: -0.01em; }
.pv-who { color: var(--muted); font-size: 0.88rem; min-height: 2.6em; }
.pv-plan ul { list-style: none; margin: 4px 0 8px; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.88rem; color: var(--ink-2); }
.pv-plan li { position: relative; padding-left: 16px; line-height: 1.45; }
.pv-plan li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.pv-plan .pc-btn { margin-top: auto; min-height: 44px; font-size: 0.88rem; }
.pv-dfy-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 40px); }
.pv-dfy-head .lx-sub { margin-inline: auto; }
.pv-dfy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pv-dfy { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pv-dfy h3 { font-size: 1.08rem; min-height: 2.5em; }
.pv-dfy .pc-flag { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pv-dfy--pop { border: 2px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(20, 21, 26, 0.6); }
.pv-best { color: var(--muted); font-size: 0.86rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pv-dfy li .i { color: var(--ok); }
.pv-dfy ul { flex: 1; font-size: 0.88rem; }
.pv-dfy li span { overflow-wrap: anywhere; }
.pv-dfy .pc-btn { margin-top: 8px; min-height: 46px; white-space: nowrap; }
.pv-biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; margin-top: 16px; padding: 30px; border-radius: 22px; background: var(--ink); color: #fff; }
.pv-biz h3 { margin-top: 14px; font-size: 1.4rem; color: #fff; }
.pv-biz p { margin: 8px 0 20px; color: rgba(255, 255, 255, 0.7); }
.pv-biz ul { align-self: center; color: rgba(255, 255, 255, 0.86); }
.pv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.pv-steps li { display: grid; gap: 4px; padding: 18px 20px; border-left: 1px solid var(--line); }
.pv-steps li:first-child { border-left: 0; }
.pv-steps li span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 50%; background: var(--accent); font: 700 0.85rem/1 var(--display); }
.pv-steps strong { font-size: 0.95rem; }
.pv-steps small { color: var(--muted); font-size: 0.84rem; }
.pv-center { justify-content: center; text-align: center; }
.cmp th.cmp-hl, .cmp td:nth-child(2) { background: #fffbea; }
.cmp thead th.cmp-hl { box-shadow: inset 0 3px 0 var(--accent); }

/* help v2 */
.hc-search--hero { width: min(640px, 100%); min-height: 60px; margin-top: 30px; padding: 0 18px; border-radius: 16px; font-size: 1.05rem; box-shadow: 0 16px 40px -24px rgba(20, 21, 26, 0.45); }
.hc-search--hero .i { width: 20px; height: 20px; }
.hc-search--hero input { font-size: 1.05rem; }
.hc-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hc-topic { display: grid; gap: 8px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.hc-topic:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 36px -28px rgba(20, 21, 26, 0.5); }
.hc-topic .dp-feat-ico { width: 40px; height: 40px; border-radius: 11px; }
.hc-topic strong { font-size: 1rem; }
.hc-topic small { color: var(--faint); font-weight: 600; }
.hc-side-h { margin-bottom: 8px; padding: 0 12px; color: var(--faint); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hc-askbox { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.hc-askbox p { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }

/* changelog timeline */
.cl-list { margin-inline: auto; }
.cl-item { position: relative; padding-left: 0; border-top: 0; }
.cl-item > div { position: relative; padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.cl-item > div::before { content: ""; position: absolute; left: -31px; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fbfaf6, 0 0 0 5px var(--line-2); }
.cl-item::after { content: ""; position: absolute; left: 169px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.cl-item:first-child::after { top: 30px; }
.cl-item:last-child::after { bottom: calc(100% - 36px); }
.cl-item time { padding-top: 26px; text-align: right; padding-right: 24px; }
.cl-item { grid-template-columns: 170px minmax(0, 1fr); gap: 38px; padding: 10px 0; }
.cl-item > div { z-index: 1; }

/* how it works connector */
.hw-list { position: relative; margin-inline: auto; }
.hw-list::before { content: ""; position: absolute; left: 55px; top: 40px; bottom: 40px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line-2) 0 6px, transparent 6px 12px); }
.hw-step { position: relative; }
.hw-num { position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff; }

@media (max-width: 1100px) {
  .pv-diy { grid-template-columns: 1fr; }
  .pv-dfy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pv-paid-grid, .pv-biz { grid-template-columns: 1fr; }
  .pv-steps { grid-template-columns: 1fr 1fr; }
  .pv-steps li:nth-child(3) { border-left: 0; }
  .pv-steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .pv-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .pv-switch button { min-width: 0; padding: 10px 8px; font-size: 0.9rem; }
  .pv-dfy-grid { grid-template-columns: 1fr; }
  .pv-free, .pv-paid, .pv-biz { padding: 24px; }
  .hc-topics { grid-template-columns: 1fr 1fr; }
  .hc-topic { padding: 16px; }
  .cl-item { grid-template-columns: 1fr; gap: 8px; }
  .cl-item::after, .cl-item > div::before { display: none; }
  .cl-item time { text-align: left; padding: 0; }
  .hw-list::before { display: none; }
}
.pv-plan h4 { margin: 0; }
.pv-who { min-height: 0; }
.pv-steps li { align-content: start; }
.side-foot > a .side-ext { margin-left: auto; font-style: normal; color: var(--faint); font-size: 0.85rem; }
