/* ============================================================
   MAROMEL — landing-builder.css  (v8.0 "Studio")
   ------------------------------------------------------------
   Same tokens and language as index.css, signup.css and login.css:
   centered headlines that end with a period, pill buttons, iOS
   segmented controls, and a square-edged tile mosaic.

   Start:      your sites, then four ways to begin, as a 2x2 mosaic
   Templates:  twelve design recipes, each one fits any business
   Workspace:  a panel on the left (quick, brief, build, edit)
               and the page itself on the right, in a device frame
   Sheets:     publish, template preview, use a template, versions,
               and the command palette (⌘K)
   The generated website has its own stylesheet, written by
   landing-builder.js (see "Site renderer").
   ============================================================ */


/* ============ 01. TOKENS ============ */
:root {
  --canvas: #f5f5f7;
  --paper: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --night: #000000;
  --night-2: #1d1d1f;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --sky-1: #cfe6f4;
  --sky-2: #eef6fb;

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-on-dark: #2997ff;
  --green: #34c759;
  --green-ink: #1f8a3c;
  --red: #ff3b30;
  --red-ink: #d70015;
  --orange: #ff9500;
  --orange-ink: #b64400;

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Heebo", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Heebo", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 52px;
  --panel-w: 420px;
  --gutter: 12px;
  --r-pill: 980px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.28, .11, .32, 1);
  color-scheme: light;
}


/* ============ 02. BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-top: var(--nav-h);
  font-family: var(--font-text); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.hidden { display: none !important; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
main:focus, h1:focus { outline: none; }


/* ============ 03. GLOBAL NAV & TOOLS ============ */
.gnav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(250, 250, 252, .82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.gnav__inner { height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 14px; }
.gnav__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.gnav__brand:hover { text-decoration: none; }
.gnav__logo { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.gnav__product { padding-left: 14px; border-left: 1px solid var(--line); font-size: 15px; color: var(--ink-2); line-height: 1.2; }
.gnav__product:hover { color: var(--ink); }
.gnav__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.gnav__link { font-size: 13px; color: rgba(0, 0, 0, .72); }

.tools { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; }
.tool { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background-color .2s; }
.tool:hover:not(:disabled) { background: rgba(0, 0, 0, .06); }
.tool:disabled { color: #c7c7cc; cursor: default; }
.tools__sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
.tools__saved { min-width: 92px; margin-left: 8px; font-size: 12px; color: var(--ink-3); }


/* ============ 04. CONTROLS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 17px; line-height: 1.17; letter-spacing: -0.022em; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s, opacity .2s, transform .1s;
}
.btn:hover { text-decoration: none; }
.btn:active:not(:disabled) { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:not(:disabled):hover { background: var(--blue-hover); }
.btn--secondary { border-color: var(--blue); color: var(--blue); }
.btn--secondary:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: var(--line-soft); color: var(--ink); }
.btn--ghost:not(:disabled):hover { background: #dcdce1; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:not(:disabled):hover { background: #000; }
.btn--sm { min-height: 34px; padding: 7px 16px; font-size: 14px; letter-spacing: -0.016em; }
.btn--xs { min-height: 30px; padding: 5px 14px; font-size: 13px; letter-spacing: -0.01em; }
.btn--block { width: 100%; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.text-btn { color: var(--link); font-size: inherit; }
.text-btn:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--link); margin-bottom: 18px; }
.back-link::before { content: ""; width: 7px; height: 7px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); margin-top: 1px; }
.back-link:hover { text-decoration: underline; }

/* iOS segmented control */
.segmented { display: inline-flex; padding: 2px; gap: 2px; border-radius: 9px; background: rgba(118, 118, 128, .12); }
.segmented__btn { padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--ink); transition: background-color .2s, box-shadow .2s; }
.segmented__btn:hover { background: rgba(255, 255, 255, .55); }
.segmented__btn.is-active, .segmented__btn[aria-checked="true"], .segmented__btn[aria-selected="true"] { background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
.segmented--icons .segmented__btn { width: 40px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.segmented--sm .segmented__btn { padding: 4px 10px; font-size: 12px; }
.segmented--tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
.segmented--tabs .segmented__btn { padding: 7px 2px; font-size: 12.5px; position: relative; }
.tab-dot { position: absolute; top: 4px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* Fields */
.field { display: grid; gap: 6px; }
.field > label, .field-label { font-size: 13px; color: var(--ink-2); }
.field-label { display: block; margin-bottom: 8px; }
.optional { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #a1a1a6; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 48, .12); }
.input--area { resize: vertical; min-height: 92px; line-height: 1.45; }
.hint { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff;
  font-size: 14px; transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips--suggest .chip { padding: 5px 12px; font-size: 13px; background: var(--canvas); border-color: transparent; }
.chips--suggest .chip:hover { background: #fff; border-color: var(--blue); }
.chips--suggest .chip::before { content: "+ "; color: var(--ink-3); }
#ai-ideas .chip::before { content: none; }

/* Check box */
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.check__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); position: relative; flex-shrink: 0; transition: background-color .2s, border-color .2s; }
.check input:checked + .check__box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 5px; top: 5px; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(0, 113, 227, .25); }

/* iOS switch rows */
.toggles { display: grid; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line-soft); overflow: hidden; margin-bottom: 22px; }
.toggle { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; }
.toggle + .toggle { box-shadow: inset 0 1px 0 var(--line-soft); }
.toggle__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--canvas); font-size: 18px; }
.toggle__text b { display: block; font-size: 15px; font-weight: 600; }
.toggle__text span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.toggle__text.is-missing span { color: var(--orange-ink); }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 13px; background: #e9e9ea; transition: background-color .25s var(--ease); pointer-events: none; }
.switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { box-shadow: 0 0 0 4px rgba(0, 113, 227, .3); }

/* Style cards */
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.style-card { display: grid; gap: 2px; padding: 14px; border-radius: 14px; text-align: left; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.style-card:hover { box-shadow: 0 0 0 1px #a1a1a6; }
.style-card[aria-checked="true"] { box-shadow: 0 0 0 2px var(--blue); }
.style-card .style-card__aa { font-size: 30px; line-height: 1.1; color: var(--ink); }
.style-card b { font-size: 14px; font-weight: 600; }
.style-card span { font-size: 12px; color: var(--ink-2); }

/* Color swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .15s var(--ease); position: relative; }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch--custom { background: conic-gradient(#ff3b30, #ff9500, #ffcc00, #34c759, #00c7be, #0071e3, #af52de, #ff2d55, #ff3b30); overflow: hidden; }
.swatch--custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }

/* Upload buttons */
.upload {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px;
  border-radius: var(--r-sm); border: 1.5px dashed var(--line); background: #fff; text-align: left; font-size: 14px; color: var(--link);
  transition: border-color .2s, background-color .2s;
}
.upload:hover { border-color: var(--blue); background: #f7fbff; }
.upload__thumb { width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; background: var(--canvas) center / cover no-repeat; position: relative; }
.upload__thumb:not(.has-image)::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 20px; }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 250; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(92vw, 520px); }
.toast { pointer-events: auto; display: inline-flex; align-items: center; gap: 14px; padding: 11px 12px 11px 18px; border-radius: var(--r-pill); background: rgba(29, 29, 31, .95); color: #fff; font-size: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); animation: toastIn .35s var(--ease); }
.toast:not(:has(button)) { padding-right: 18px; }
.toast button { color: var(--link-on-dark); font-weight: 600; font-size: 14px; padding: 4px 8px; border-radius: 8px; }
.toast button:hover { background: rgba(255, 255, 255, .1); }
.toast--error { background: #9d0b0b; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

.form-status { font-size: 14px; margin-top: 10px; }
.form-status.is-ok { color: var(--green-ink); }
.form-status.is-error { color: var(--red-ink); }


/* ============ 05. START ============ */
.view--start { background: var(--paper); }
.start-hero { text-align: center; padding: 72px 22px 44px; }
.start-hero__title { font-family: var(--font-display); font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; }
.start-hero__sub { max-width: 680px; margin: 12px auto 0; font-family: var(--font-display); font-size: 24px; line-height: 1.25; color: var(--ink-2); }

.resume { max-width: 980px; margin: 0 auto 28px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: var(--r-md); background: var(--sky-2); box-shadow: inset 0 0 0 1px var(--sky-1); }
.resume__title { font-weight: 600; }
.resume__text { font-size: 15px; color: var(--ink-2); }
.resume__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* The four ways in: a mosaic of square-edged tiles */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); padding: 0 var(--gutter); }
.path {
  position: relative; overflow: hidden; min-height: 540px; padding: 52px 32px 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit;
}
button.path { cursor: pointer; }
.path__head { display: grid; justify-items: center; gap: 8px; max-width: 520px; }
.path__flag { color: #ffb340; font-size: 15px; font-weight: 600; }
.path__title { font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.003em; }
.path__sub { font-size: 19px; line-height: 1.32; }
.path__cta { margin-top: 6px; font-size: 17px; color: var(--link); }
.path__cta::after { content: "\203A"; margin-left: 5px; display: inline-block; transition: transform .2s var(--ease); }
.path:hover .path__cta::after { transform: translateX(3px); }
.path--dark { background: var(--night); color: var(--night-ink); }
.path--dark .path__cta, .path--bespoke .path__cta { color: var(--link-on-dark); }
.path--sky { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.path--gray { background: var(--canvas); }
.path--bespoke { background: var(--night-2); color: var(--night-ink); justify-content: center; padding-bottom: 52px; }
.path--bespoke .path__sub { color: var(--night-ink-2); }
.path__visual { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding-top: 34px; transition: transform .6s var(--ease); }
button.path:hover .path__visual { transform: translateY(-6px); }

/* Mini illustrations inside the tiles */
.mini-prompt { position: absolute; left: 50%; bottom: 236px; transform: translateX(-50%); z-index: 2; width: min(400px, 84%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: var(--r-pill); background: #1d1d1f; box-shadow: inset 0 0 0 1px #424245, 0 20px 40px rgba(0, 0, 0, .4); text-align: left; }
.mini-prompt__text { flex: 1; min-width: 0; font-size: 13px; color: var(--night-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-prompt__btn { padding: 6px 14px; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; }
.mini-site {
  --a: #c2410c; --t: #fff7ed;
  width: 330px; height: 210px; border-radius: 12px 12px 0 0; background: var(--t); position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.mini-site i { position: absolute; display: block; border-radius: 6px; }
.mini-site .ms-nav { left: 0; right: 0; top: 0; height: 26px; border-radius: 0; background: rgba(255, 255, 255, .8); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06); }
.mini-site .ms-nav::before { content: ""; position: absolute; left: 14px; top: 9px; width: 54px; height: 8px; border-radius: 4px; background: var(--a); }
.mini-site .ms-h { left: 24px; top: 48px; width: 62%; height: 16px; background: #111827; }
.mini-site .ms-p { left: 24px; top: 76px; width: 48%; height: 8px; background: rgba(0, 0, 0, .2); }
.mini-site .ms-btn { left: 24px; top: 96px; width: 84px; height: 22px; border-radius: 11px; background: var(--a); }
.mini-site .ms-cards { left: 24px; right: 24px; top: 136px; height: 64px; background: linear-gradient(90deg, #fff 0 31%, transparent 31% 34.5%, #fff 34.5% 65.5%, transparent 65.5% 69%, #fff 69%); }
.mini-site--warm { --a: #c2410c; --t: #fff7ed; }
.mini-site--rose { --a: #be185d; --t: #fdf2f8; }
.mini-site--sky { --a: #0369a1; --t: #f0f9ff; }
.mini-site--green { --a: #4d7c0f; --t: #f7fee7; }
.path__visual--fan { position: relative; }
.path__visual--fan .mini-site { position: absolute; bottom: 0; width: 250px; height: 200px; }
.path__visual--fan .mini-site:nth-child(1) { transform: translateX(-62%) rotate(-6deg); transform-origin: bottom center; }
.path__visual--fan .mini-site:nth-child(2) { z-index: 2; height: 230px; }
.path__visual--fan .mini-site:nth-child(3) { transform: translateX(62%) rotate(6deg); transform-origin: bottom center; }

.mini-steps { margin-bottom: 52px; display: grid; gap: 8px; width: min(340px, 90%); padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .7); box-shadow: 0 30px 60px -24px rgba(11, 58, 92, .35); text-align: left; }
.mini-steps span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; font-size: 15px; color: var(--ink-3); }
.mini-steps span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; }
.mini-steps .is-done { color: var(--ink); }
.mini-steps .is-done::before { border: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4l3 3 5-6'/%3E%3C/svg%3E") center no-repeat; }
.mini-steps .is-now { color: var(--ink); font-weight: 600; box-shadow: 0 0 0 2px var(--blue); }
.mini-steps .is-now::before { border-color: var(--blue); border-right-color: transparent; animation: spin 1s linear infinite; }

/* One on one */
.bespoke-form { display: flex; gap: 10px; width: min(460px, 100%); margin-top: 26px; }
.bespoke-form .input { flex: 1; min-width: 0; border-radius: var(--r-pill); padding: 10px 20px; }
.path--bespoke .input { background: #2c2c2e; border-color: #48484a; color: #fff; }
.path--bespoke .input::placeholder { color: #8e8e93; }
.path--bespoke .form-status.is-ok { color: #30d158; }
.path--bespoke .form-status.is-error { color: #ff6961; }

/* Everything included */
.includes { margin-top: var(--gutter); padding: 96px 22px; background: var(--canvas); }
.includes__title { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-size: 48px; line-height: 1.08; font-weight: 600; }
.includes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; max-width: 1100px; margin: 56px auto 0; }
.includes__grid li { display: grid; gap: 6px; align-content: start; }
.includes__grid b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; }
.includes__grid span:last-child { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.inc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink) center / 22px no-repeat; }
.inc-icon--address { background-color: #1d1d1f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E"); }
.inc-icon--crm { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='5' height='16' rx='1.5'/%3E%3Crect x='10' y='4' width='5' height='10' rx='1.5'/%3E%3Crect x='17' y='4' width='4' height='6' rx='1.5'/%3E%3C/svg%3E"); }
.inc-icon--phone { background-color: #5856d6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E"); }
.inc-icon--google { background-color: #fff; box-shadow: inset 0 0 0 1px var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z' fill='%234285F4'/%3E%3Cpath d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0 0 12 23z' fill='%2334A853'/%3E%3Cpath d='M5.84 14.09a6.6 6.6 0 0 1 0-4.18V7.07H2.18a11 11 0 0 0 0 9.86l3.66-2.84z' fill='%23FBBC05'/%3E%3Cpath d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15A11 11 0 0 0 2.18 7.07l3.66 2.84C6.71 7.31 9.14 5.38 12 5.38z' fill='%23EA4335'/%3E%3C/svg%3E"); }
.inc-icon--call { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E"); }
.inc-icon--stars { background-color: #ff9500; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.5 1.1 6.3L12 17.3l-5.6 3 1.1-6.3-4.6-4.5 6.3-.9z'/%3E%3C/svg%3E"); }
.inc-icon--spark { background-color: #af52de; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l1.9 6.1L20 10l-6.1 1.9L12 18l-1.9-6.1L4 10l6.1-1.9zM19 15l.9 2.1L22 18l-2.1.9L19 21l-.9-2.1L16 18l2.1-.9z'/%3E%3C/svg%3E"); }
.inc-icon--edit { background-color: #ff2d55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E"); }


/* ============ 06. TEMPLATES ============ */
.view--templates { background: var(--paper); padding-bottom: 96px; }
.view-head { text-align: center; padding: 56px 22px 40px; }
.view-head .back-link { margin-bottom: 22px; }
.view-head__title { font-family: var(--font-display); font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.015em; }
.view-head__sub { max-width: 640px; margin: 10px auto 0; font-size: 21px; line-height: 1.38; color: var(--ink-2); }
.templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
/* Template cards: see 11. TEMPLATES (v8) below */


/* ============ 07. WORKSPACE ============ */
body[data-mode="work"] { overflow: hidden; }
.view--work { display: grid; grid-template-columns: var(--panel-w) minmax(0, 1fr); height: calc(100dvh - var(--nav-h)); }

.panel { min-height: 0; overflow-y: auto; background: var(--paper); border-right: 1px solid var(--line-soft); overscroll-behavior: contain; }
.pane { padding: 28px 28px 40px; }
.pane__title { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
.pane__sub { font-size: 17px; line-height: 1.4; color: var(--ink-2); margin: 6px 0 22px; }
.pane__fine { font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.pane .input--area + .field-label { margin-top: 18px; }
.pane .chips + .btn--block { margin-top: 22px; }

/* Brief */
.progress { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 18px; }
.progress li { display: grid; gap: 6px; }
.progress__bar { height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; position: relative; }
.progress__bar::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress li.is-done .progress__bar::after, .progress li.is-current .progress__bar::after { transform: scaleX(1); }
.progress__label { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress li.is-current .progress__label { color: var(--ink); font-weight: 600; }
.bstep { display: grid; gap: 18px; }
.bstep > legend { float: left; width: 100%; }
.bstep .pane__sub { margin: -12px 0 4px; }
.bstep.is-entering { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.bstep .toggles { margin-bottom: 6px; }
.bstep .field-label { margin-bottom: 0; }
.bnav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 28px; }
.bnav .btn:only-child, .bnav .btn[hidden] + .btn { grid-column: 1 / -1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px; min-height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s; cursor: text; }
.tags:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 11px; border-radius: var(--r-pill); background: var(--canvas); font-size: 14px; }
.tag button { width: 20px; height: 20px; border-radius: 50%; color: var(--ink-3); font-size: 12px; line-height: 1; }
.tag button:hover { background: var(--line-soft); color: var(--ink); }
.tags__input { flex: 1; min-width: 140px; border: 0; outline: none; padding: 4px 6px; font-size: 16px; background: transparent; }

/* Build */
.build-steps { display: grid; gap: 14px; margin: 6px 0 26px; }
.build-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; color: var(--ink-3); transition: color .3s; }
.build-steps small { display: block; font-size: 13px; font-weight: 500; color: var(--blue); }
.build-steps small:empty { display: none; }
.build-steps__icon { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; position: relative; transition: background-color .3s, border-color .3s; }
.build-steps li.is-doing { color: var(--ink); font-weight: 600; }
.build-steps li.is-doing .build-steps__icon { border-color: var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.build-steps li.is-done { color: var(--ink); }
.build-steps li.is-done .build-steps__icon { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4.5l3 3 6-6.5'/%3E%3C/svg%3E") center no-repeat; }
.build-bar { height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.build-bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .5s var(--ease); }

/* Edit */
.pane--edit { display: flex; flex-direction: column; min-height: 100%; padding-top: 18px; }
.pane--edit > .segmented--tabs { position: sticky; top: -18px; z-index: 3; box-shadow: 0 0 0 10px #fff; }
.tabs { flex: 1; padding-top: 22px; }
.tab__h { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 22px 0 10px; }
.tab__h:first-child { margin-top: 0; }
.tip { padding: 12px 14px; border-radius: var(--r-sm); background: var(--sky-2); color: #0b3a5c; font-size: 14px; line-height: 1.4; margin-bottom: 22px; }

.sec-list { display: grid; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line-soft); overflow: hidden; }
.sec-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; background: #fff; }
.sec-row + .sec-row { box-shadow: inset 0 1px 0 var(--line-soft); }
.sec-row.is-hidden .sec-row__name { color: var(--ink-3); }
.sec-row__name { display: grid; text-align: left; min-width: 0; padding: 4px 0; }
.sec-row__name b { font-size: 15px; font-weight: 600; }
.sec-row__name span { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-row__name:hover b { color: var(--blue); }
.sec-row__tools { display: flex; gap: 2px; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.icon-btn:hover:not(:disabled) { background: var(--canvas); color: var(--ink); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn--danger:hover:not(:disabled) { color: var(--red-ink); background: #fff1f0; }

.library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lib { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--canvas); text-align: left; transition: background-color .2s, box-shadow .2s; }
.lib:hover { background: #fff; box-shadow: 0 0 0 1px var(--blue); }
.lib__pic { height: 64px; border-radius: 8px; background: #fff; position: relative; overflow: hidden; }
.lib__pic i { position: absolute; display: block; border-radius: 3px; background: #d2d2d7; }
.lib b { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.lib b::after { content: "+"; color: var(--blue); font-size: 18px; line-height: 1; }
.lib span { font-size: 12px; color: var(--ink-2); line-height: 1.35; margin-top: -6px; }

.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.opt-row:first-of-type { margin-top: -4px; }

.anim-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.anim { display: grid; gap: 8px; justify-items: center; padding: 10px 6px; border-radius: 12px; background: var(--canvas); font-size: 12px; font-weight: 500; }
.anim[aria-checked="true"] { background: #fff; box-shadow: 0 0 0 2px var(--blue); }
.anim__demo { width: 100%; height: 40px; border-radius: 6px; background: #fff; position: relative; overflow: hidden; }
.anim__demo::after { content: ""; position: absolute; left: 22%; right: 22%; top: 12px; height: 16px; border-radius: 4px; background: var(--blue); }
.anim[aria-checked="true"] .anim__demo::after, .anim:hover .anim__demo::after { animation: var(--demo) 1.4s var(--ease) infinite; }
@keyframes demoFade { 0% { opacity: 0; transform: translateY(10px); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes demoSlide { 0% { opacity: 0; transform: translateX(-24px); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes demoZoom { 0% { opacity: 0; transform: scale(.6); } 50%, 100% { opacity: 1; transform: none; } }
.offer-fields { display: grid; gap: 12px; padding: 14px; margin-top: -10px; border-radius: 0 0 var(--r-md) var(--r-md); background: var(--canvas); }

.slug { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.slug:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.slug__input { flex: 1; min-width: 0; border: 0; outline: none; padding: 11px 4px 11px 14px; font-size: 16px; text-align: right; }
.slug__suffix { padding-right: 14px; color: var(--ink-3); font-size: 16px; }
.serp { display: grid; gap: 2px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: #fff; box-shadow: 0 0 0 1px var(--line-soft); font-family: Arial, sans-serif; letter-spacing: 0; }
.serp__url { font-size: 12px; color: #202124; }
.serp__title { font-size: 18px; color: #1a0dab; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__desc { font-size: 13px; color: #4d5156; line-height: 1.45; }

.tab--ai { display: flex; flex-direction: column; }
.chat { display: flex; flex-direction: column; gap: 8px; min-height: 160px; margin-bottom: 14px; }
.chat__msg { max-width: 88%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.38; animation: toastIn .3s var(--ease); }
.chat__msg--ai { align-self: flex-start; background: #e9e9eb; border-bottom-left-radius: 6px; }
.chat__msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.chat__msg--error { align-self: flex-start; background: #fff1f0; color: var(--red-ink); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: #e9e9eb; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-form { display: flex; gap: 8px; margin-top: 14px; }
.chat-form .input { border-radius: var(--r-pill); padding: 10px 18px; }
.chat-form .btn { width: 46px; padding: 0; flex-shrink: 0; }

.bespoke-mini { margin-top: 32px; padding: 18px; border-radius: var(--r-md); background: var(--canvas); }
.bespoke-mini__title { font-weight: 600; }
.bespoke-mini__text { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.bespoke-form--mini { margin-top: 12px; width: 100%; }
.bespoke-form--mini .input { min-height: 38px; padding: 7px 16px; font-size: 15px; }

/* The page itself */
.stage { min-width: 0; min-height: 0; padding: 22px; background: var(--canvas); display: flex; justify-content: center; }
.frame {
  width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 70px -30px rgba(0, 0, 0, .3);
  transition: width .5s var(--ease), border-radius .5s var(--ease);
}
.frame[data-device="tablet"] { width: min(100%, 860px); }
.frame[data-device="phone"] { width: 402px; max-width: 100%; border-radius: 48px; padding: 12px; background: #1d1d1f; box-shadow: inset 0 0 0 2px #3a3a3c, 0 40px 80px -24px rgba(0, 0, 0, .45); }
.frame__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #f2f2f4; border-bottom: 1px solid var(--line-soft); flex-shrink: 0; }
.frame[data-device="phone"] .frame__bar { display: none; }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; }
.frame__dots i:nth-child(1) { background: #ff5f57; }
.frame__dots i:nth-child(2) { background: #febc2e; }
.frame__dots i:nth-child(3) { background: #28c840; }
.frame__url { flex: 1; max-width: 360px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 3px 12px; border-radius: 7px; background: #fff; font-size: 12px; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.frame__url svg { color: var(--ink-3); flex-shrink: 0; }
.frame__badge { position: absolute; right: 12px; padding: 2px 8px; border-radius: 6px; background: #fff4e5; color: var(--orange-ink); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.frame__bar { position: relative; }
.frame__view { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #fff; }
.frame[data-device="phone"] .frame__view { border-radius: 37px; }
.site-frame { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.site-frame.is-on { opacity: 1; pointer-events: auto; z-index: 1; }
.site-frame.is-top { z-index: 2; }
.frame__empty { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 18px; background: #fff; color: var(--ink-3); font-size: 15px; transition: opacity .4s var(--ease); }
.frame__empty.is-gone { opacity: 0; pointer-events: none; }
.skeleton { width: min(520px, 80%); position: relative; height: 300px; }
.skeleton i { position: absolute; display: block; border-radius: 8px; background: linear-gradient(90deg, #f0f0f2 0%, #f8f8fa 50%, #f0f0f2 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.sk-nav { left: 0; right: 0; top: 0; height: 28px; }
.sk-h { left: 15%; right: 15%; top: 70px; height: 34px; }
.sk-h--2 { left: 25%; right: 25%; top: 114px; }
.sk-p { left: 30%; right: 30%; top: 166px; height: 12px; }
.sk-btn { left: 40%; right: 40%; top: 198px; height: 34px; border-radius: 17px !important; }
.sk-cards { left: 0; right: 0; top: 256px; height: 44px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.mswitch { display: none; }


/* ============ 08. PUBLISH SHEET ============ */
.sheet { width: min(540px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .3); }
.sheet::backdrop { background: rgba(0, 0, 0, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .35s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.sheet__close-form { position: absolute; right: 16px; top: 16px; }
.sheet__close { width: 30px; height: 30px; border-radius: 50%; background: var(--line-soft); font-size: 12px; }
.sheet__body { padding: 40px 36px 32px; }
.sheet__title { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.12; }
.sheet__sub { font-size: 17px; color: var(--ink-2); margin-top: 6px; }
.sheet__address { margin: 20px 0 18px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--canvas); font-size: 17px; font-weight: 600; word-break: break-all; }
.sheet__address a { color: var(--link); }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.checklist li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4l3 3 5-6'/%3E%3C/svg%3E") center no-repeat; }
.checklist li.is-todo { color: var(--ink-2); }
.checklist li.is-todo::before { background: #fff4e5 none; box-shadow: inset 0 0 0 1.5px var(--orange); }
.checklist li button { color: var(--link); font-size: 15px; margin-left: 4px; }
.sheet__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 26px; }


/* ============ 09. ACCESSIBILITY WIDGET ============ */
.a11y { position: fixed; left: 20px; bottom: 20px; z-index: 95; }
.a11y__btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.a11y__btn:hover { transform: scale(1.06); }
.a11y__menu { position: absolute; left: 0; bottom: 56px; width: 290px; display: grid; gap: 12px; padding: 14px; background: rgba(242, 242, 247, .97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0, 0, 0, .2); }
.a11y__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px; }
.a11y__head p { font-weight: 600; }
.a11y__head button { width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .06); font-size: 12px; }
.group { background: #fff; border-radius: var(--r-md); overflow: hidden; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; min-height: 48px; padding: 10px 16px; }
.row + .row { box-shadow: inset 0 1px 0 var(--line-soft); }
.row__title { font-size: 15px; font-weight: 500; }
.a11y__size { display: flex; gap: 6px; }
.a11y__size button { width: 36px; height: 30px; border-radius: 8px; background: var(--line-soft); font-weight: 600; font-size: 14px; }
.a11y__check { width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); opacity: 0; }
.a11y-option[aria-pressed="true"] .a11y__check { opacity: 1; }
.a11y-option[aria-pressed="true"] .row__title { color: var(--blue); }
/* In the workspace it sits over the panel, which leaves room for it at the bottom */
body[data-mode="work"] .pane { padding-bottom: 92px; }

.a11y-high-contrast { filter: contrast(125%) saturate(0); }
.a11y-highlight-links a, .a11y-highlight-links button { text-decoration: underline !important; text-decoration-color: #ffcc00 !important; text-decoration-thickness: 3px !important; text-underline-offset: 4px !important; }
.a11y-readable-font * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .03em !important; word-spacing: .05em !important; }
.a11y-stop-animations *, .a11y-stop-animations *::before, .a11y-stop-animations *::after { animation: none !important; transition: none !important; }


/* ============ 11. v8 "STUDIO" ADDITIONS ============
   Same tokens, same language: pill buttons, iOS segmented
   controls, soft shadows, centered headlines that end with a period. */

/* Toasts and fields */
.toast button { white-space: nowrap; }
.tab .field + .field, .tab .field + .field-row, .tab .field-row + .field, .tab .field-row + .field-row { margin-top: 14px; }
.tab .slug + .hint + .field { margin-top: 18px; }

/* Tools */
.tool--kbd { width: auto; padding: 0 8px; }
.tool kbd, .palette kbd { font: 600 11px/1 var(--font-text); letter-spacing: 0; padding: 4px 6px; border-radius: 6px; background: var(--line-soft); color: var(--ink-2); }
.select { min-height: 36px; padding: 6px 30px 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") right 12px center no-repeat; appearance: none; font-size: 14px; cursor: pointer; }
.select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.field--gap { margin-top: 18px; }
.opt-row--first { border-top: 0; margin-top: 6px; }

/* Live page thumbnails: a 1280px page, scaled to the card */
.thumb { position: relative; overflow: hidden; display: block; width: 100%; padding: 0; }
.thumb iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 1000px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .3)); pointer-events: none; background: #fff; }

/* Your sites */
.sites { max-width: 1200px; margin: 0 auto 44px; padding: 0 22px; }
.sites__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.sites__title { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.01em; }
.sites__count { font-size: 15px; color: var(--ink-2); }
.sites__import { margin-left: auto; font-size: 15px; }
.sites__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.site-card { display: grid; gap: 12px; }
.site-card__shot { aspect-ratio: 16 / 10; border-radius: 14px; background: var(--canvas); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 14px 30px -18px rgba(0, 0, 0, .3); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.site-card__shot:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 44px -20px rgba(0, 0, 0, .35); }
.site-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site-card__meta b { display: block; font-size: 17px; font-weight: 600; }
.site-card__meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.site-card__tools { display: flex; gap: 2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); display: inline-block; }
.dot--live { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 199, 89, .2); }

/* Mosaic tile flag on light tiles */
.path--sky .path__flag, .path--gray .path__flag { color: var(--orange-ink); }

/* Extra icons for the "everything included" grid */
.inc-icon--lang { background-color: #0a84ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h8M8 3v2M5.5 5c.8 3 3 5.5 6 7M10.5 5c-.7 3.3-3 6.3-6.5 8M13 21l4-9 4 9M14.5 18h5'/%3E%3C/svg%3E"); }
.inc-icon--chart { background-color: #30b0c7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5M4 19h16M8 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.inc-icon--score { background-color: #34c759; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.inc-icon--a11y { background-color: #1d1d1f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='12' cy='4.5' r='2'/%3E%3Cpath d='M19.5 7.5c-2.4.6-5 .9-7.5.9s-5.1-.3-7.5-.9L4 9.3c1.7.4 3.5.7 5.3.9V21h2v-5h1.4v5h2V10.2c1.8-.2 3.6-.5 5.3-.9z'/%3E%3C/svg%3E"); }

/* ============ TEMPLATES (v8) ============ */
.tpl-bar { max-width: 1200px; margin: 0 auto 26px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tpl-bar__end { display: flex; align-items: center; gap: 10px; }
.tpl-as { font-size: 14px; color: var(--ink-2); }
.tpl-count { font-size: 13px; color: var(--ink-3); min-width: 72px; text-align: right; }
.chips [role="radio"][aria-checked="true"], .chips [role="checkbox"][aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tpl { display: grid; gap: 14px; align-content: start; }
.tpl__shot { aspect-ratio: 16 / 11; border-radius: 16px; background: var(--canvas); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 36px -18px rgba(0, 0, 0, .25); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tpl__shot:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 28px 46px -20px rgba(0, 0, 0, .32); }
.tpl__hover { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 6px); padding: 7px 14px; border-radius: var(--r-pill); background: rgba(29, 29, 31, .78); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .25s, transform .25s var(--ease); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tpl__shot:hover .tpl__hover, .tpl__shot:focus-visible .tpl__hover { opacity: 1; transform: translate(-50%, 0); }
.tpl__meta { display: grid; gap: 6px; }
.tpl__name { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.tpl__rec { padding: 3px 9px; border-radius: var(--r-pill); background: #e8f8ec; color: var(--green-ink); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.tpl__kind { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.tpl__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tpl__tags span { padding: 3px 9px; border-radius: 7px; background: var(--canvas); font-size: 12px; color: var(--ink-2); }
.tpl__actions { display: flex; gap: 8px; margin-top: 8px; }

/* ============ QUICK (v8) ============ */
.understood { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--canvas); animation: toastIn .3s var(--ease); }
.understood__label { width: 100%; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.understood__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: #fff; box-shadow: 0 0 0 1px var(--line-soft); font-size: 13px; max-width: 100%; }
.understood__chip small { font-size: 11px; color: var(--ink-3); }
.understood__chip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
#quick-tip { margin: 8px 0 18px; }
#quick-tones { margin-bottom: 14px; }
.pane [data-pane="quick"] .opt-row { margin-bottom: 18px; }
#quick-examples { margin-bottom: 22px; }

/* ============ BRIEF (v8) ============ */
.strength { margin-bottom: 24px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--canvas); }
.strength__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.strength__top b { color: var(--ink); font-weight: 600; }
.strength__bar { height: 6px; margin: 8px 0; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.strength__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--orange); transition: width .5s var(--ease), background-color .3s; }
.strength__bar i[data-level="mid"] { background: var(--blue); }
.strength__bar i[data-level="high"] { background: var(--green); }
.strength__tip { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.paste { border-radius: var(--r-sm); background: var(--sky-2); box-shadow: inset 0 0 0 1px var(--sky-1); }
.paste summary { list-style: none; cursor: pointer; padding: 12px 14px; font-size: 14px; color: #0b3a5c; font-weight: 500; }
.paste summary::-webkit-details-marker { display: none; }
.paste summary::before { content: "✦"; margin-right: 8px; color: var(--blue); }
.paste[open] summary { padding-bottom: 6px; }
.paste .input { margin: 4px 14px 10px; width: calc(100% - 28px); }
.paste .btn { margin: 0 14px 14px; }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.goal { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; text-align: left; transition: box-shadow .2s; }
.goal span { font-size: 18px; }
.goal:hover { box-shadow: 0 0 0 1px #a1a1a6; }
.goal[aria-checked="true"] { box-shadow: 0 0 0 2px var(--blue); }
#b-audience-other { margin-top: 10px; }
#b-unique { margin-top: 10px; }
.review-rows { display: grid; gap: 10px; }
.review-row { display: grid; gap: 8px; padding: 10px; border-radius: var(--r-sm); background: var(--canvas); }
.review-row .input { background: #fff; }
.review-row .input--area { min-height: 64px; }
.review-row__foot { display: flex; gap: 8px; align-items: center; }
.upload--add { margin-top: 10px; min-height: 48px; }
.mini-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.mini-tpl { display: grid; gap: 2px; padding: 8px; border-radius: 14px; text-align: left; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.mini-tpl:hover { box-shadow: 0 0 0 1px #a1a1a6; }
.mini-tpl[aria-checked="true"] { box-shadow: 0 0 0 2px var(--blue); }
.mini-tpl__pic { position: relative; height: 54px; border-radius: 9px; margin-bottom: 6px; display: flex; align-items: center; padding-left: 10px; font-size: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.mini-tpl__pic i { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 10px; border-radius: 5px; }
.mini-tpl--auto .mini-tpl__pic { background: linear-gradient(135deg, #eef6fb, #f5f0ff); color: var(--blue); justify-content: center; padding: 0; }
.mini-tpl b { font-size: 13px; font-weight: 600; }
.mini-tpl > span:last-child { font-size: 11px; color: var(--ink-2); }
.bskip { text-align: center; }
.bskip .text-btn { font-size: 14px; }

/* ============ EDITOR (v8) ============ */
.tab__row { display: flex; align-items: baseline; justify-content: space-between; }
.tab__row .tab__h { margin-top: 0; }
.tab__row .text-btn { font-size: 14px; }
.sec-row__main { display: grid; gap: 4px; min-width: 0; padding: 4px 0; }
.sec-row__name { padding: 0; }
.sec-row__name em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--orange-ink); background: #fff4e5; padding: 1px 6px; border-radius: 5px; margin-left: 4px; vertical-align: 1px; }
.mini-select { justify-self: start; max-width: 100%; padding: 3px 24px 3px 9px; border: 0; border-radius: 7px; background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' fill='none' stroke='%230066cc' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M1 1l3 3 3-3'/%3E%3C/svg%3E") right 8px center no-repeat; appearance: none; font-size: 12px; color: var(--link); cursor: pointer; }
.mini-select:hover { background-color: #e8f1fb; }
#hero-variants { margin-bottom: 4px; }
.health { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-md); background: var(--canvas); margin-bottom: 14px; }
.health__title { font-size: 13px; color: var(--ink-2); }
.health__label { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.ring { --p: 0; --c: var(--orange); position: relative; width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-soft) 0); }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ring[data-level="mid"] { --c: var(--blue); }
.ring[data-level="high"] { --c: var(--green); }
.ring--sm { width: 48px; height: 48px; }
.ring--sm::before { inset: 5px; }
.ring--sm b { font-size: 15px; }
.checklist--panel { margin-bottom: 8px; }
.checklist--panel li { font-size: 14px; }
.exports { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lib--action { padding: 14px; }
.lib--action b::after { content: "\203A"; font-size: 18px; }
.lib--action span { margin-top: -4px; }

/* ============ SHEETS (v8) ============ */
.sheet__score { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--canvas); font-size: 15px; color: var(--ink-2); }
.sheet__score b { color: var(--ink); }
.sheet__score .ring::before { background: var(--canvas); }
.live { display: flex; align-items: center; gap: 18px; margin: 20px 0 6px; }
.live .sheet__address { margin: 0 0 6px; }
.live__qr { border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-soft); flex-shrink: 0; }
.share { display: flex; gap: 8px; margin-top: 16px; }
.share__btn { flex: 1; text-align: center; padding: 9px 12px; border-radius: var(--r-pill); background: var(--canvas); color: var(--ink); font-size: 14px; font-weight: 500; }
.share__btn:hover { text-decoration: none; background: var(--line-soft); }
.sheet--wide { width: min(1240px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 32px)); max-height: none; display: none; flex-direction: column; overflow: hidden; }
.sheet--wide[open] { display: flex; }
.sheet__bar { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line-soft); }
.sheet__bar-text { flex: 1; min-width: 0; }
.sheet__bar-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.sheet__bar-note { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__view { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--canvas); }
.sheet__view iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }
.sheet__view[data-device="phone"] iframe { top: 16px; border-radius: 28px; box-shadow: 0 0 0 10px #1d1d1f, 0 30px 60px -20px rgba(0, 0, 0, .45); }
#use-kinds { max-height: 180px; overflow-y: auto; padding: 2px; }
.version-save { display: flex; gap: 8px; margin: 20px 0 14px; }
.version-save .input { min-height: 40px; }
.versions { display: grid; max-height: 50vh; overflow-y: auto; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line-soft); }
.versions li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.versions li + li { box-shadow: inset 0 1px 0 var(--line-soft); }
.versions b { display: block; font-size: 15px; font-weight: 600; }
.versions span { font-size: 13px; color: var(--ink-2); }
.versions__empty { font-size: 14px; color: var(--ink-2); }

/* Command palette */
.palette { width: min(620px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 20px; background: transparent; color: var(--ink); }
.palette::backdrop { background: rgba(0, 0, 0, .28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.palette[open] { animation: sheetIn .25s var(--ease); }
.palette__box { border-radius: 20px; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 40px 100px rgba(0, 0, 0, .3); overflow: hidden; }
.palette__input { width: 100%; padding: 20px 22px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; font-size: 19px; outline: none; }
.palette__list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.pal { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.pal small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.pal.is-active, .pal:hover { background: var(--blue); color: #fff; }
.pal.is-active small, .pal:hover small { color: rgba(255, 255, 255, .8); }
.pal--empty { color: var(--ink-2); cursor: default; }
.pal--empty:hover { background: none; color: var(--ink-2); }
.palette__foot { display: flex; gap: 6px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-3); }
.palette__foot kbd + kbd { margin-left: -2px; }
.palette__foot kbd:not(:first-child) { margin-left: 8px; }
.palette__foot kbd:nth-child(2) { margin-left: 2px; }

@media (max-width: 1068px) {
  .mini-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 833px) {
  .sites { padding: 0 18px; }
  .sites__head { flex-wrap: wrap; }
  .sites__import { margin-left: 0; }
  .tpl-bar { padding: 0 18px; }
  .tpl-bar__end { width: 100%; }
  .tpl-count { margin-left: auto; }
  .goals { grid-template-columns: 1fr; }
  .exports { grid-template-columns: 1fr; }
  .tools .tool--kbd, .tools [data-action="open-versions"] { display: none; }
  .sheet__bar { flex-wrap: wrap; padding: 12px 14px; }
  .sheet__bar .segmented { display: none; }
  .live { flex-direction: column; align-items: flex-start; }
}


/* ============ 10. RESPONSIVE ============ */
@media (max-width: 1240px) {
  :root { --panel-w: 380px; }
  .includes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .tools__saved { display: none; }
}

@media (max-width: 1068px) {
  .start-hero__title { font-size: 56px; }
  .path { min-height: 500px; }
  .path__title { font-size: 34px; }
  .templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gnav__product { display: none; }
}

/* Tablets and phones: the panel and the page take turns */
@media (max-width: 1023px) {
  .view--work { grid-template-columns: 1fr; height: calc(100dvh - var(--nav-h)); }
  .panel { border-right: 0; padding-bottom: 72px; }
  .stage { display: none; padding: 12px 12px 76px; }
  body[data-mview="stage"] .panel { display: none; }
  body[data-mview="stage"] .stage { display: flex; }
  .mswitch { display: inline-flex; position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; background: rgba(229, 229, 234, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
  .mswitch .segmented__btn { padding: 8px 22px; font-size: 14px; }
  .tools .segmented--icons, .tools__sep { display: none; }
  .frame[data-device="desktop"] .frame__bar { height: 32px; }
  /* On a phone, the phone preview needs no second phone around it */
  .frame[data-device="phone"] { width: 100%; padding: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 50px -24px rgba(0, 0, 0, .3); }
  .frame[data-device="phone"] .frame__view { border-radius: 0; }
}

@media (max-width: 833px) {
  .paths { grid-template-columns: 1fr; padding: 0; }
  .path { min-height: 480px; padding: 44px 20px 0; }
  .path--bespoke { padding-bottom: 44px; min-height: 0; }
  .start-hero { padding: 48px 18px 32px; }
  .start-hero__title { font-size: 40px; line-height: 1.1; }
  .start-hero__sub { font-size: 19px; }
  .resume { margin: 0 12px 20px; flex-direction: column; align-items: stretch; }
  .includes { padding: 64px 18px; }
  .includes__title { font-size: 32px; }
  .includes__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .view-head { padding: 40px 18px 28px; }
  .view-head__title { font-size: 40px; }
  .view-head__sub { font-size: 17px; }
  .templates { grid-template-columns: 1fr; gap: 28px; padding: 0 18px; }
  .gnav__inner { padding: 0 14px; gap: 10px; }
  .gnav__link { display: none; }
  .tools { position: static; transform: none; margin-left: auto; }
  .gnav__end { margin-left: 0; }
  #btn-preview { display: none; }
  .pane { padding: 22px 18px 40px; }
  .pane__title { font-size: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .bespoke-form { flex-direction: column; }
  .sheet__body { padding: 34px 22px 24px; }
  .sheet__actions { grid-template-columns: 1fr; }
  .mini-prompt { bottom: 220px; }
  input, select, textarea { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}