/* "Start my website" builder (design canvas "2 · Start my website"). */
.bld { padding-top: 104px; padding-bottom: 140px; min-height: 100vh; }
.bsteps { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.bsteps li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; font-size: 14px; color: var(--dim); border: 1px solid var(--line); }
.bsteps li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-3); color: var(--bone); font-size: 13px; }
.bsteps li.done { color: var(--bone); }
.bsteps li.done b { background: var(--teal); color: var(--ink); }
.bsteps li.on { background: var(--brass); color: var(--ink); border-color: var(--brass); font-weight: 600; }
.bsteps li.on b { background: var(--ink); color: var(--brass); }
@media (max-width: 640px) { .bsteps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); } .bsteps li { flex: none; } .bsteps li:not(.on) span { display: none; } }
.bstep h1 { max-width: 20ch; }
.bstep h1:focus { outline: none; }
.bstep .lead { margin-top: 12px; }
.bnote { font-size: 14px; color: var(--dim); margin-top: 8px; }
.bnote:empty { display: none; }
.opt { font-style: normal; color: var(--teal-2); font-weight: 600; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-top: 30px; max-width: 980px; }
.plan { display: grid; gap: 12px; text-align: start; padding: 32px; border-radius: 26px; border: 2px solid transparent; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }
.plan span { font-weight: 600; font-size: 17px; }
.plan b { font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 4.6vw, 52px); line-height: 1; letter-spacing: -.03em; }
[dir="rtl"] .plan b { font-family: var(--sans); font-weight: 700; line-height: 1.3; }
.plan small { font-size: 15px; }
.plan.saffron { background: var(--brass); color: var(--ink); }
.plan.night { background: var(--ink-2); color: var(--bone); border-color: #2b3478; }
.plan.night small { color: var(--dim); }
.plan.on { border-color: var(--bone); }

/* Template picks */
.tpicks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 28px; }
.tpick { display: grid; text-align: start; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 2px solid transparent; transition: transform .35s var(--ease), border-color .25s; }
.tpick:hover { transform: translateY(-4px); border-color: var(--brass); }
.tpick.on { border-color: var(--brass); }
.tpick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tpick span { display: grid; gap: 2px; padding: 14px 16px 16px; }
.tpick b { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.tpick small { color: var(--dim); font-size: 13px; }

/* Make it yours */
.mk { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .mk { grid-template-columns: minmax(0, 1fr); } }
.mk-form { display: grid; gap: 18px; }
.mk-form .field > span { color: var(--bone); font-weight: 600; font-size: 14px; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px; border-radius: 16px; border: 1.5px dashed var(--line-2); cursor: pointer; }
.drop:hover, .drop:focus-within { border-color: var(--brass); }
.drop svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop span { display: grid; gap: 2px; }
.drop small { color: var(--dim); font-size: 13px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--line-2); transition: transform .2s var(--ease); }
.sw:hover { transform: scale(1.08); }
.sw.on { box-shadow: 0 0 0 3px var(--bone); }
.sw.custom { position: relative; overflow: hidden; background: conic-gradient(#ff5e5b, #ffb627, #2ec4b6, #1d4ed8, #7c3aed, #ff5e5b); cursor: pointer; }
.sw.custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg .chip { min-height: 44px; padding: 0 16px; font-size: 14px; }
.mk-view { position: sticky; top: 92px; display: grid; }
.browser { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 18px 18px 0 0; background: #e9e4da; color: #4a4766; font-size: 13px; }
.browser i { width: 11px; height: 11px; border-radius: 50%; background: #ff5e5b; }
.browser i:nth-child(2) { background: #ffb627; } .browser i:nth-child(3) { background: #2ec4b6; }
.browser span { margin-inline-start: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; }
.mk-view .device { border-radius: 0 0 18px 18px; }
.mk-view .device[data-device="mobile"] { border-radius: 18px; margin-top: 12px; }
.mk-view .device iframe { height: min(70vh, 720px); }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 28px; }
.xbox { border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; align-content: start; background: var(--ink-2); min-width: 0; }
.xbox legend { float: left; width: 100%; font-weight: 600; font-size: 17px; margin-bottom: 4px; }
[dir="rtl"] .xbox legend { float: right; }
.domrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.domrow .input { flex: 1 1 200px; }
.stepper { display: flex; align-items: center; gap: 16px; }
.stepper b { min-width: 6ch; text-align: center; font-size: 18px; }
.stepper .ibtn { width: 48px; height: 48px; font-size: 22px; }
.stepper .ibtn:disabled { opacity: .35; cursor: default; }
.toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--brass); }

/* Order and brief */
.ordgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 26px; align-items: start; }
@media (max-width: 860px) { .ordgrid { grid-template-columns: minmax(0, 1fr); } }
.obox { border-radius: 22px; padding: 24px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 14px; }
.lines { list-style: none; display: grid; gap: 10px; }
.lines li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.lines li b { white-space: nowrap; font-weight: 600; }
.total { display: flex; justify-content: space-between; font-size: 22px; }
.total b:last-child { font-family: var(--serif); font-weight: 800; color: var(--brass); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dim); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brass); }
.consent a { color: var(--brass); text-decoration: underline; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.big { min-height: 56px; font-size: 17px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.paynote { font-size: 14px; color: var(--teal-2); }
.done { display: grid; gap: 12px; max-width: 640px; margin-top: 10px; padding: 32px; border-radius: 26px; background: var(--ink-2); border: 1px solid var(--teal); }
.done:focus { outline: none; }
.done > b { font-family: var(--serif); font-size: 36px; font-weight: 800; color: var(--teal-2); }
.done .ref { color: var(--brass); font-weight: 600; }
.brief { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 860px) { .brief { grid-template-columns: minmax(0, 1fr); } .brief > img { max-height: 260px; } }
.brief > img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: 18% center; border-radius: 26px; }
.brief form { display: grid; gap: 14px; }
.brief .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .brief .two { grid-template-columns: 1fr; } }
.ai-tag { display: inline-flex; align-items: center; gap: 8px; align-self: start; padding: 6px 12px; border-radius: 8px; background: var(--teal); color: var(--ink); font-size: 13px; font-weight: 600; justify-self: start; }
.ai-tag .badge-ai { color: var(--ink); border-color: rgba(11, 16, 51, .4); background: transparent; }
textarea.input { padding: 12px 16px; min-height: 110px; resize: vertical; }

/* Bottom bar */
.bbar { position: fixed; z-index: 40; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 16, 51, .94); border-top: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bsum { flex: 1; min-width: 0; color: var(--dim); font-size: 14px; text-align: center; }
.bbar .btn.ghost { border-color: transparent; color: var(--dim); }
.bbar .btn { min-height: 50px; }
.bbar .btn[hidden] { display: none; }
@media (max-width: 560px) { .bsum { display: none; } .bbar #bNext { flex: 1; } }
@media (min-width: 761px) { .bld-page .proto { bottom: 88px; } }
