/* Forma Studio — redesign consultation. Calm, premium, light. */
:root {
  --bg: #f6f4ef; --paper: #fffefb; --ink: #1d1c21; --ink-2: #44424b; --muted: #6b6873;
  --line: #e3dfd5; --line-2: #d4cfc3; --accent: #2f3b8f; --accent-ink: #ffffff; --soft: #ecebf5;
  --ok: #1f6b45; --warn: #8a5a12;
  --serif: "Newsreader", Georgia, serif; --sans: "Hanken Grotesk", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 12px; --shadow: 0 1px 2px rgba(29, 28, 33, .04), 0 18px 40px -20px rgba(29, 28, 33, .18);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--accent); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; background: rgba(246, 244, 239, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .in { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 62px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.brand .mk { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 14px var(--serif); }
.brand small { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 4px; }
.steps { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.steps button { border: 0; background: none; padding: 6px 8px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.steps button .d { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--mono); border: 1px solid var(--line-2); background: var(--paper); }
.steps button.done .d { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps button.cur { color: var(--ink); font-weight: 600; }
.steps button.cur .d { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px var(--soft); }
.steps button:disabled { cursor: default; opacity: .55; }
.steps .lbl { display: inline; }
.help { font-size: 13px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 999px; background: var(--paper); white-space: nowrap; }

/* Stage shell */
main { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; }
.stage { display: none; animation: rise .35s ease both; }
.stage.on { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.kicker { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.03; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 640px; margin: 16px 0 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field > span { font-size: 13px; font-weight: 600; }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; }
.inp, textarea.inp { width: 100%; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 13px 14px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea.inp { min-height: 110px; resize: vertical; line-height: 1.5; }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--soft); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--ink); color: #fff; }
.btn-p:hover { background: #2e2d35; }
.btn-o { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn-o:hover { border-color: var(--ink-2); }
.btn-g { background: none; border: 0; color: var(--ink-2); padding: 0 10px; text-decoration: underline; text-underline-offset: 4px; min-height: 40px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Choice cards */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; gap: 2px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; background: #fff; height: 100%; transition: border-color .2s, box-shadow .2s; }
.choice b { font-weight: 600; }
.choice em { font-style: normal; font-size: 13px; color: var(--muted); }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Stage 1 hero */
.s1 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.s1 .panel { padding: 28px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 12px; cursor: pointer; }
.found { margin-top: 18px; border: 1px dashed var(--line-2); border-radius: 12px; padding: 16px; background: #fbfaf6; }
.found h4 { margin: 0 0 4px; font: 600 13px var(--sans); }
.found p { margin: 0; font-size: 13px; color: var(--muted); }
.measured { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.measured h4 { display: flex; align-items: center; gap: 8px; margin: 0; }
.measured p { margin: 0; color: var(--ink-2); }
.measured ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.measured .pill { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; margin: 2px 4px 2px 0; background: #fff; font-size: 12px; }
.measured .cols { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.measured .cols i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.tagline { display: inline-flex; gap: 6px; align-items: center; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.tag-guess { background: #fbf1dc; color: var(--warn); }
.tag-you { background: #e5f2ea; color: var(--ok); }

/* Stage 2 conversation */
.chat { padding: 0; overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 16px var(--serif); flex-shrink: 0; }
.chat-h b { display: block; font-size: 15px; }
.chat-h span { font-size: 12px; color: var(--muted); }
.online { margin-left: auto; font-size: 12px; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9e64; }
.log { padding: 22px 20px 8px; display: grid; gap: 14px; max-height: 52vh; overflow-y: auto; }
.msg { max-width: 82%; padding: 12px 15px; border-radius: 14px; font-size: 15px; animation: rise .3s ease both; }
.msg.ai { background: #f1efe8; border-top-left-radius: 4px; }
.msg.me { background: var(--ink); color: #fff; margin-left: auto; border-top-right-radius: 4px; }
.msg.me.skip { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #a9a5b0; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
.reply { padding: 14px 20px 20px; border-top: 1px solid var(--line); background: #fbfaf6; }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sugg button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.sugg button:hover { border-color: var(--ink); }
.compose { display: flex; gap: 8px; }
.compose .inp { padding: 11px 13px; }
.disc-done { padding: 18px 20px; border-top: 1px solid var(--line); display: none; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fbfaf6; }
.chat.finished .reply { display: none; }
.chat.finished .disc-done { display: flex; }
.answers { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Stage 3 directions */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.dir { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: border-color .2s, transform .2s; }
.dir:hover { transform: translateY(-2px); }
.dir.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }
.dir-prev { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.dir-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.dir-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.num { font: 500 11px var(--mono); color: var(--muted); }
.rec { font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 4px 8px; border-radius: 6px; }
.why { font-size: 14px; color: var(--ink-2); margin: 0; }
.spec { display: grid; gap: 6px; font-size: 13px; }
.spec div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; }
.pal { display: flex; gap: 4px; }
.pal i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.mix { margin-top: 24px; padding: 22px 24px; display: none; }
.mix.on { display: block; }
.mix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.mix label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.mix select { border: 1px solid var(--line-2); border-radius: 10px; padding: 11px; background: #fff; }

/* Mini homepage used in direction previews */
.mini { position: absolute; inset: 0; padding: 7% 7%; display: flex; flex-direction: column; gap: 6%; }
.mini .mn { display: flex; justify-content: space-between; align-items: center; }
.mini .mn i { display: block; height: 6px; border-radius: 3px; }
.mini .mh { font-size: 19px; line-height: 1.05; letter-spacing: -.02em; max-width: 70%; }
.mini .mb { width: 30%; height: 14px; border-radius: 6px; }
.mini .mi { display: block; margin-top: auto; height: 50%; border-radius: 8px; background: #ddd center / cover no-repeat; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
.mini .mg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.mini .mg i { height: 34px; border-radius: 6px; }

/* Stage 4 structure */
.s4 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.pages { padding: 8px; }
.pg { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 10px; }
.pg + .pg { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
.pg.off .pg-name, .pg.off .pg-why { opacity: .5; }
.pg input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); }
.pg-name { font-weight: 600; border: 1px solid transparent; border-radius: 6px; padding: 2px 6px; margin-left: -6px; background: transparent; width: 100%; }
.pg-name:hover { border-color: var(--line-2); }
.pg-name:focus { outline: none; border-color: var(--accent); background: #fff; }
.pg-why { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.pg-ctl { display: flex; gap: 4px; }
.ic { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 14px; color: var(--ink-2); }
.ic:hover { border-color: var(--ink); color: var(--ink); }
.ic:disabled { opacity: .35; cursor: default; }
.side-box { padding: 22px; display: grid; gap: 14px; }
.count { font: 400 48px var(--serif); line-height: 1; }

/* Stage 5 editor */
.ed-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ed { display: grid; grid-template-columns: 290px minmax(0, 1fr) 290px; gap: 14px; margin-top: 20px; align-items: start; }
.ed-col { padding: 0; display: flex; flex-direction: column; max-height: calc(100vh - 120px); position: sticky; top: 76px; overflow: hidden; }
.ed-col > header { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.ed-col > header b { font-size: 14px; }
.ed-scroll { padding: 14px 16px; overflow-y: auto; display: grid; gap: 12px; align-content: start; }
.ed-col .log { max-height: none; padding: 14px 16px; flex: 1; overflow-y: auto; }
.ed-col .msg { max-width: 100%; font-size: 14px; }
.ed-col .compose { padding: 12px 16px 16px; border-top: 1px solid var(--line); flex-direction: column; }
.ctx { font-size: 12px; color: var(--muted); }
.ctx b { color: var(--ink); }
.toolbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; background: #fff; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: var(--ink); color: #fff; }
.stagewrap { background: #e9e6de; border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-height: 70vh; display: flex; justify-content: center; }
.frame { width: 100%; transition: width .35s ease; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .35); align-self: flex-start; }
.frame[data-dev=tablet] { width: 768px; max-width: 100%; }
.frame[data-dev=mobile] { width: 390px; max-width: 100%; }
.ctl { display: grid; gap: 6px; font-size: 13px; }
.ctl > span { font-weight: 600; }
.ctl .inp { padding: 9px 10px; font-size: 14px; }
.ctl textarea.inp { min-height: 70px; }
.sws { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
input[type=color].sw { padding: 0; background: none; }
.lib { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lib button { border: 1px solid var(--line-2); background: #fff; border-radius: 8px; padding: 8px; font-size: 12px; cursor: pointer; text-align: left; }
.lib button:hover { border-color: var(--ink); }
.vers { display: grid; gap: 6px; font-size: 13px; }
.vers div { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.empty { font-size: 13px; color: var(--muted); }

/* The generated site (scoped; uses container queries so device widths work) */
.site { --sa: #2f3b8f; --sbg: #fbfaf7; --stx: #1d1c21; --stx2: #5b5864; --sln: #e6e2d8; --shf: var(--serif); --sbf: var(--sans); --sr: 10px; container-type: inline-size; background: var(--sbg); color: var(--stx); font-family: var(--sbf); }
.site[data-bg=dark] { --sbg: #111015; --stx: #f3f1ec; --stx2: #a9a6b2; --sln: #29282f; }
.site[data-bg=warm] { --sbg: #f3ede2; --sln: #e0d6c3; }
.site [data-sec] { position: relative; cursor: pointer; transition: outline-color .15s; outline: 2px solid transparent; outline-offset: -2px; }
.site [data-sec]:hover { outline-color: color-mix(in srgb, var(--sa) 45%, transparent); }
.site [data-sec].sel { outline-color: var(--sa); }
.site [data-sec].sel::before { content: attr(data-label); position: absolute; top: 0; left: 0; z-index: 2; font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--sa); color: #fff; padding: 3px 7px; border-bottom-right-radius: 6px; }
.site [contenteditable=true] { outline: 1px dashed color-mix(in srgb, var(--sa) 60%, transparent); outline-offset: 3px; border-radius: 2px; cursor: text; }
.site [contenteditable=true]:focus { outline-style: solid; }
.site .x-nav { display: flex; align-items: center; gap: 18px; padding: 16px 5%; border-bottom: 1px solid var(--sln); font-size: 14px; }
.site .x-logo { font: 600 18px var(--shf); margin-right: auto; }
.site .x-links { display: flex; gap: 16px; color: var(--stx2); }
.site .x-btn { display: inline-block; background: var(--sa); color: #fff; padding: 10px 18px; border-radius: var(--sr); font-weight: 600; font-size: 14px; text-decoration: none; }
.site .x-btn.ghost { background: transparent; color: var(--stx); border: 1px solid var(--sln); }
.site .x-btn.strong { padding: 14px 26px; font-size: 16px; box-shadow: 0 10px 24px -10px var(--sa); }
.site .x-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; padding: 8% 5%; }
.site .x-hero.img-left { grid-template-columns: 1fr 1.1fr; }
.site .x-hero.img-left .x-media { order: -1; }
.site .x-hero.centered { grid-template-columns: 1fr; text-align: center; }
.site .x-hero.centered .x-media { display: none; }
.site .x-eyebrow { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--stx2); margin: 0 0 12px; }
.site h1.x-h { font: 400 clamp(32px, 5.4cqi, 60px)/1.04 var(--shf); letter-spacing: -.025em; margin: 0; }
.site h1.x-h.big { font-size: clamp(40px, 7cqi, 82px); }
.site .x-p { color: var(--stx2); font-size: 17px; margin: 16px 0 24px; max-width: 520px; }
.site .x-hero.centered .x-p { margin-left: auto; margin-right: auto; }
.site .x-media { aspect-ratio: 4 / 3; border-radius: calc(var(--sr) + 4px); background: linear-gradient(150deg, color-mix(in srgb, var(--sa) 30%, var(--sbg)), color-mix(in srgb, var(--sa) 70%, #000)) center / cover no-repeat; position: relative; overflow: hidden; }
.site .x-media.has { background-image: var(--img); }
.site .x-media:not(.has)::after { content: "Your photo"; position: absolute; inset: auto 12px 12px auto; font: 500 10px var(--mono); color: #fff; opacity: .8; }
.site .x-sec { padding: 7% 5%; border-top: 1px solid var(--sln); }
.site h2.x-h2 { font: 400 clamp(26px, 3.6cqi, 40px)/1.1 var(--shf); letter-spacing: -.02em; margin: 0 0 22px; }
.site .x-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site .x-card { border: 1px solid var(--sln); border-radius: var(--sr); padding: 20px; }
.site .x-card h3 { font: 400 20px var(--shf); margin: 0 0 6px; }
.site .x-card p { margin: 0; color: var(--stx2); font-size: 14px; }
.site .x-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.site .x-quote { font: italic 400 22px/1.4 var(--shf); margin: 0; }
.site .x-ph { border: 1px dashed var(--sln); border-radius: var(--sr); padding: 22px; color: var(--stx2); font-size: 14px; }
.site .x-band { padding: 7% 5%; text-align: center; background: color-mix(in srgb, var(--sa) 10%, var(--sbg)); }
.site .x-band h2.x-h2 { margin-bottom: 18px; }
.site .x-form { display: grid; gap: 10px; max-width: 460px; }
.site .x-form i { display: block; height: 40px; border: 1px solid var(--sln); border-radius: var(--sr); background: color-mix(in srgb, var(--sbg) 80%, #fff); }
.site .x-foot { padding: 28px 5%; border-top: 1px solid var(--sln); font-size: 13px; color: var(--stx2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site details { border-top: 1px solid var(--sln); padding: 14px 0; }
.site summary { cursor: pointer; font: 400 18px var(--shf); }
@container (max-width: 760px) {
  .site .x-links { display: none; }
  .site .x-hero, .site .x-hero.img-left, .site .x-split { grid-template-columns: 1fr; }
  .site .x-hero.img-left .x-media { order: 0; }
  .site .x-grid { grid-template-columns: 1fr; }
}

/* Stage 6 */
.s6 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.next { display: grid; gap: 10px; }
.next .choice span { padding: 18px; }
.lead { padding: 26px; }
.lead .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.summary { padding: 22px; font-size: 14px; display: grid; gap: 8px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; max-width: 60%; }
.ok-box { display: none; padding: 26px; }
.ok-box.on { display: block; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; transition: all .25s; z-index: 50; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }

@media (max-width: 1100px) {
  .ed { grid-template-columns: 1fr; }
  .ed-col { position: static; max-height: none; }
  .ed-col .log { max-height: 280px; }
  .steps .lbl { display: none; }
}
@media (max-width: 860px) {
  .s1, .s4, .s6, .dirs, .mix-grid { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .top .in { padding: 0 16px; gap: 10px; }
  .brand small, .help { display: none; }
  main { padding: 28px 16px 60px; }
  .lead .two { grid-template-columns: 1fr; }
  .msg { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Quick path on step 1: free review without the full studio */
.quick { margin-top: 28px; padding: 22px; display: grid; gap: 12px; }
.quick-t { margin: 0; font-size: 17px; }
.quick .note { margin: 0; }
.quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick .foot { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { .quick-row { grid-template-columns: 1fr; } }
/* Single column: the quick review comes after the website field it relies on. */
@media (max-width: 860px) {
  .s1 { gap: 24px; }
  .s1 > div:first-child { display: contents; }
  .s1 > div:first-child > * { margin-top: 0; margin-bottom: 0; }
  .s1 #f1 { order: 1; }
  .s1 .quick { order: 2; }
}
