/* Deploym: warm paper, ink type, one coral accent. */
:root {
    --paper: #f6f5f1;
    --paper-2: #efede6;
    --card: #ffffff;
    --ink: #15151a;
    --ink-2: #2b2b33;
    --muted: #5f5c55;
    --faint: #8a8780;
    --line: #e4e1d8;
    --accent: #ff5a36;
    --accent-ink: #c8381a;
    --accent-soft: #fdeee8;
    --ok: #15151a;
    --ok-soft: #efede6;
    --bad: #b42318;
    --bad-soft: #fdecea;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(21, 21, 26, .05), 0 12px 32px -12px rgba(21, 21, 26, .18);
    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: "Bricolage Grotesque", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --logo: "Inter Tight", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16.5px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 90, 54, .45); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.25rem; border: 1px solid transparent; border-radius: 11px;
    font-weight: 700; font-size: .97rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -8px rgba(21, 21, 26, .55); }
.btn--primary:hover { background: #000; color: #fff; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(255, 90, 54, .8); }
.btn--accent:hover { background: #ff7354; color: #fff; }
.btn--ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--google { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 600; }
.btn--google:hover { border-color: var(--ink); color: var(--ink); }
.btn--google svg { width: 20px; height: 20px; stroke: none; }
.btn--sm { padding: .55rem .9rem; font-size: .9rem; border-radius: 9px; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(246, 245, 241, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav--app { position: static; background: var(--paper); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2rem; width: min(1180px, 100% - 32px); margin: 0 auto; height: 64px; }
.nav--app .nav__inner { width: calc(100% - 32px); max-width: 1640px; height: 56px; }
.logo { font-family: var(--logo); font-weight: 800; font-size: 1.35rem; letter-spacing: -.045em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.logo:hover { color: var(--ink); }
.nav__links { display: flex; gap: 1.6rem; font-size: .95rem; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__account { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.nav__signin { text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: .5rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.menu__panel a, .menu__panel button { display: block; width: 100%; padding: .55rem .7rem; border: 0; border-radius: 8px; background: none; text-align: left; text-decoration: none; font-size: .93rem; cursor: pointer; }
.menu__panel a:hover, .menu__panel button:hover { background: var(--paper); color: var(--ink); }
.menu__panel form { margin: 0; border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.menu__email { margin: 0; padding: .45rem .7rem .55rem; font-size: .82rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.glow { position: absolute; inset: -10% -20% auto; height: 900px; z-index: -1; pointer-events: none;
    background:
        radial-gradient(38% 42% at 22% 30%, rgba(255, 138, 101, .30), transparent 70%),
        radial-gradient(34% 40% at 78% 24%, rgba(80, 140, 255, .30), transparent 70%),
        radial-gradient(26% 30% at 92% 60%, rgba(120, 200, 255, .22), transparent 70%),
        radial-gradient(40% 36% at 50% 72%, rgba(255, 210, 120, .28), transparent 70%);
    filter: blur(10px); }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; padding: .38rem .85rem; border: 1px solid rgba(21, 21, 26, .08); border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); font-size: .85rem; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { max-width: 13em; font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: .35em; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #ff5a36 0%, #ff3d77 34%, #7a5cff 64%, #2d7dff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.lede strong { color: var(--ink); font-weight: 600; }
.prompt { width: min(720px, 100%); margin-top: 1.5rem; padding: .6rem; background: var(--card); border: 1px solid rgba(21, 21, 26, .08); border-radius: 22px; box-shadow: 0 1px 2px rgba(21, 21, 26, .05), 0 30px 60px -28px rgba(120, 60, 40, .35); text-align: left; }
.prompt:focus-within { border-color: rgba(255, 90, 54, .45); box-shadow: 0 0 0 4px rgba(255, 90, 54, .12), 0 30px 60px -28px rgba(120, 60, 40, .35); }
.prompt textarea { display: block; width: 100%; min-height: 80px; padding: .75rem .85rem; border: 0; resize: none; background: transparent; font-size: 1.1rem; line-height: 1.5; outline: none; }
.prompt textarea::placeholder { color: #a7a399; }
.prompt__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem .25rem .1rem .5rem; }
.prompt__ideas { display: flex; flex-wrap: wrap; flex: 1; gap: .4rem; min-width: 0; }
.prompt__ideas button { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .82rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.prompt__ideas button:hover, .prompt__ideas button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero__alt { margin-top: 1rem; font-size: .9rem; color: var(--faint); }
.hero__alt a { color: var(--muted); }

/* editor stage */
.stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 860px) 1fr; align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.editor { grid-column: 2; border-radius: 16px; background: var(--card); border: 1px solid rgba(21, 21, 26, .08); box-shadow: 0 2px 4px rgba(21, 21, 26, .04), 0 50px 100px -40px rgba(60, 30, 80, .45); overflow: hidden; }
.editor__bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--line); background: #fff; font-size: .8rem; }
.editor__mark { font-family: var(--logo); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: -.04em; }
.editor__mark span { color: var(--accent); }
.editor__page { padding: 3px 9px; border-radius: 6px; background: var(--paper); color: var(--muted); font-weight: 600; }
.editor__devices { display: flex; gap: 2px; margin: 0 auto; padding: 3px; border-radius: 8px; background: var(--paper); }
.editor__devices i, .editor__actions i { display: grid; place-items: center; width: 28px; height: 24px; border-radius: 6px; color: var(--faint); }
.editor__devices i.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.editor svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.editor__actions { display: flex; align-items: center; gap: 8px; }
.editor__preview { padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; font-weight: 600; }
.editor__publish { padding: 5px 12px; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 700; }
.editor__screen { aspect-ratio: 16 / 10; }
.stage__side { position: relative; z-index: 2; display: grid; gap: 1rem; }
.stage__side--left { justify-items: end; margin-right: -30px; transform: translateY(40px) rotate(-4deg); }
.stage__side--right { justify-items: start; margin-left: -80px; transform: translateY(-30px); }
.phone { width: 190px; padding: 7px; border-radius: 30px; background: var(--ink); box-shadow: 0 30px 60px -24px rgba(21, 21, 26, .55); }
.phone__screen { aspect-ratio: 9 / 18.5; border-radius: 24px; }
.theme, .toast { padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid rgba(21, 21, 26, .08); box-shadow: 0 24px 50px -24px rgba(21, 21, 26, .4); }
.theme { width: 220px; animation: float 7s ease-in-out infinite; }
.theme__head { margin: 0 0 .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.theme__swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-bottom: .8rem; }
.theme__swatches i { aspect-ratio: 1; border-radius: 50%; }
.theme__swatches i.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.theme__fonts { display: flex; gap: 5px; }
.theme__fonts span { flex: 1; padding: 5px 0; border: 1px solid var(--line); border-radius: 7px; text-align: center; font-size: .74rem; font-weight: 600; color: var(--muted); }
.theme__fonts span.is-on { border-color: var(--ink); color: var(--ink); }
.toast { display: flex; align-items: center; gap: .6rem; font-size: .84rem; white-space: nowrap; animation: float 7s ease-in-out -3.5s infinite; }
.toast svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toast span { display: grid; line-height: 1.3; color: var(--muted); }
.toast b { color: var(--ink); }
@keyframes float { 50% { translate: 0 -8px; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); padding: 0; list-style: none; }
.facts li { display: grid; gap: .1rem; padding: .4rem 1.25rem; text-align: center; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts b { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.04em; }
.facts span { color: var(--muted); font-size: .92rem; }

/* Scaled live previews (sized by home.js). */
[data-scale-frame] { position: relative; overflow: hidden; background: #fff; }
[data-scale-frame] iframe { position: absolute; left: 0; top: 0; width: var(--w, 1280px); height: var(--h, 1000px); max-width: none; border: 0; transform-origin: 0 0; transform: scale(var(--s, .4)); pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 640px; margin-bottom: 2.75rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 .7rem; color: var(--accent-ink); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.section h2, .page h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; }
.section__head p:not(.kicker) { color: var(--muted); font-size: 1.1rem; }

/* intro split, Wix-style: big statement left, short copy right */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.split h2 { margin: 0; max-width: 12em; }
.split p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }
.split--head { max-width: none; }
.section.split { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* feature rows */
.rows { display: grid; gap: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(2rem, 4vw, 3rem); }
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.row--flip .row__copy { order: 2; }
.row__copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .6em; }
.row__copy p:not(.kicker) { color: var(--muted); font-size: 1.07rem; }
.row__visual { display: grid; place-items: center; min-height: 380px; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 26px; overflow: hidden; }
.row__visual--peach { background: linear-gradient(150deg, #ffe7dc, #ffd2c2); }
.row__visual--lilac { background: linear-gradient(150deg, #eee9ff, #dcd2ff); }
.row__visual--sand { background: linear-gradient(150deg, #f8f0e3, #ecdcc2); }

.mock { width: min(440px, 100%); font-size: .86rem; }
.mock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock__prompt { position: relative; padding: 1rem 1rem 3.4rem; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(120, 50, 30, .35); }
.mock__label { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-ink); }
.mock__prompt p { margin: 0; font-size: 1rem; line-height: 1.45; }
.mock__go { position: absolute; right: .75rem; bottom: .75rem; padding: .45rem .8rem; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem; }
.mock__build { display: grid; gap: .45rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.mock__build li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 11px; background: rgba(255, 255, 255, .75); }
.mock__build b { font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.mock__build span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__build em { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.mock__build em svg { width: 12px; height: 12px; stroke-width: 3; }
.mock__build li.is-busy { opacity: .7; }
.mock__build li.is-busy em { background: none; border: 2px solid rgba(21, 21, 26, .15); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.mock__site { display: grid; gap: .6rem; padding: .8rem; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(70, 40, 140, .35); }
.mock__block { position: relative; padding: 1.4rem 1.2rem; border-radius: 10px; background: #fbebe3; color: #2e160c; }
.mock__block.is-selected { outline: 2px solid #6b5cff; outline-offset: 2px; }
.mock__h { margin: 0 0 .4rem; font: 700 1.45rem/1.15 Georgia, serif; letter-spacing: -.01em; }
.mock__p { margin: 0 0 .8rem; font-size: .82rem; opacity: .8; max-width: 22em; }
.mock__btn { display: inline-block; padding: .4rem .75rem; border-radius: 7px; background: #b4441b; color: #fff; font-size: .75rem; font-weight: 700; }
.mock__tools { position: absolute; left: 1rem; top: -18px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 9px; background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.mock__tools span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 5px; font-weight: 700; font-size: .78rem; }
.mock__tools span:first-child { background: rgba(255, 255, 255, .14); }
.mock__tools .sw { min-width: 0; width: 14px; height: 14px; margin: 0 3px; padding: 0; border-radius: 50%; }
.sw--1 { background: #b4441b; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px #fff; }
.sw--2 { background: #1f4fbf; }
.sw--3 { background: #6b3fa0; }
.mock__side { position: absolute; right: -14px; top: 50%; display: grid; gap: 2px; padding: 4px; border-radius: 9px; background: #fff; color: var(--muted); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); transform: translateY(-50%); }
.mock__side span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; }
.mock__side span:last-child { color: var(--bad); }
.mock__block--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .7rem; background: #fdf6f2; }
.mock__block--cards i { height: 54px; border-radius: 7px; background: #fff; border: 1px solid #f1dfd5; }

.mock--publish { position: relative; display: grid; place-items: center; min-height: 300px; }
.mock__ghost { position: absolute; inset: 0; display: grid; gap: .6rem; padding: 1rem; border-radius: 16px; background: rgba(255, 255, 255, .55); }
.mock__ghost i { border-radius: 8px; background: rgba(255, 255, 255, .8); }
.mock__ghost i:first-child { background: rgba(180, 68, 27, .18); }
.mock__dialog { position: relative; width: min(330px, 92%); padding: 1.2rem; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -24px rgba(120, 70, 30, .45); }
.mock__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-weight: 700; font-size: 1.05rem; }
.mock__title svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 3; }
.mock__url { display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: 9px; background: var(--paper); font-weight: 600; color: var(--ink-2); }
.mock__url svg { color: var(--accent-ink); }
.mock__bar { height: 5px; margin: .9rem 0; border-radius: 9px; background: var(--paper-2); overflow: hidden; }
.mock__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff5a36, #ff8a65); transform-origin: 0 50%; animation: fill 3.2s ease-out infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.mock__row { display: flex; justify-content: flex-end; gap: .5rem; }
.mock__row span { padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: .8rem; }
.mock__row span.is-main { border-color: var(--ink); background: var(--ink); color: #fff; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: 22px; overflow: hidden; min-height: 240px; }
.tile h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: .4rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 26em; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--ink { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: center; background: var(--ink); color: #fff; }
.tile--ink p { color: rgba(255, 255, 255, .68); }
.tile--lilac { background: linear-gradient(170deg, #efeaff, #dcd3ff); }
.tile--peach { background: linear-gradient(170deg, #ffeee6, #ffdccd); }
.tile--butter { background: linear-gradient(170deg, #fff6d8, #ffeaa8); }
.tile--plain { min-height: 0; background: var(--card); border: 1px solid var(--line); }
.tile__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 11px; background: var(--ink); }
.tile__icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.inbox { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .85rem; }
.inbox li { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .7rem .85rem; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.inbox li:first-child { background: rgba(255, 90, 54, .16); border-color: rgba(255, 90, 54, .35); }
.inbox span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255, 255, 255, .72); }
.inbox em { font-style: normal; color: rgba(255, 255, 255, .45); font-size: .78rem; }
.tile--tall .phone { width: 170px; margin: 1.5rem auto -3.5rem; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 1.1rem; }
.photos__search { grid-column: 1 / -1; display: flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border-radius: 9px; background: #fff; font-size: .82rem; color: var(--muted); }
.photos__search svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.photos i { aspect-ratio: 4 / 3; border-radius: 8px; background: #d9b48a url(/img/templates/bakery.jpg) no-repeat; background-size: 320% auto; }
.photos i:nth-of-type(1) { background-position: 2% 75%; }
.photos i:nth-of-type(2) { background-position: 42% 62%; }
.photos i:nth-of-type(3) { background-position: 78% 60%; }
.photos i:nth-of-type(4) { background-position: 100% 58%; }
.photos i:nth-of-type(5) { background-position: 55% 92%; }
.photos i:nth-of-type(6) { background-position: 92% 8%; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: 1.1rem; }
.swatches span { display: flex; overflow: hidden; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.swatches i { flex: 1; }
.swatches i:first-child { flex: 2; }

/* templates: big list + live preview */
.uses { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.uses__panel .browser { transform: none; }
.uses__panel .browser__screen { aspect-ratio: 16 / 11; }
.uses__caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.uses__caption p { margin: 0; color: var(--muted); }
.uses__caption strong { color: var(--ink); }
.uses__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.uses__list li { border-bottom: 1px solid var(--line); }
.uses__tab { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .7rem 0; border: 0; background: none; text-align: left; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; font-family: var(--display); letter-spacing: -.03em; line-height: 1.25; color: #bdb9b0; cursor: pointer; transition: color .15s; }
.uses__tab::after { content: "→"; font-size: .6em; opacity: 0; transform: translateX(-8px); transition: opacity .15s, transform .15s; }
.uses__tab:hover { color: var(--muted); }
.uses__tab[aria-selected="true"] { color: var(--ink); }
.uses__tab[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--accent); }

/* shared browser frame */
.browser { border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(21, 21, 26, .04), 0 40px 80px -30px rgba(21, 21, 26, .35); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2ded4; }
.browser__bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: var(--paper); font-size: .78rem; color: var(--faint); }

/* pricing */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 900px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; padding: 2rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.plan--main { position: relative; border: 0; box-shadow: 0 0 0 2px var(--ink), 0 30px 60px -30px rgba(21, 21, 26, .4); }
.plan__name { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; font-weight: 700; font-size: 1.05rem; }
.plan__price { font-family: var(--display); font-size: 2.8rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 1.4rem; }
.plan__price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan__price--soon { font-size: 1.25rem; letter-spacing: -.02em; color: var(--muted); padding: .55rem 0 .65rem; }
.plan ul { display: grid; gap: .65rem; margin: 0 0 1.8rem; padding: 0; list-style: none; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.badge { padding: .15rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 1.3rem; color: var(--muted); max-width: 40em; }
.faq__more { margin-top: 1.5rem; color: var(--muted); text-align: center; }

/* final cta */
.cta { position: relative; display: grid; justify-items: center; gap: 1rem; margin-block: clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; border-radius: 30px; background: var(--ink); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.glow--cta { inset: -40% -10% auto; height: 180%; opacity: .55; filter: blur(30px); }
.cta h2 { max-width: 15em; margin: 0; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; }
.cta p { margin: 0 0 .75rem; color: rgba(255, 255, 255, .72); font-size: 1.1rem; }

/* ---------- footer ---------- */
.footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__tag { margin-top: .6rem; color: var(--muted); font-size: .93rem; }
.footer__head { margin-bottom: .6rem; font-weight: 700; font-size: .9rem; }
.footer__grid a:not(.logo) { display: block; padding: .2rem 0; color: var(--muted); text-decoration: none; font-size: .93rem; }
.footer__grid a:not(.logo):hover { color: var(--ink); }
.footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; }

/* ---------- forms & auth ---------- */
.page-auth main { display: grid; min-height: calc(100vh - 64px - 280px); }
.auth { display: grid; place-items: center; padding: 3rem 16px; }
.auth__card { width: min(420px, 100%); padding: 2.2rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth__card h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: .4rem; }
.auth__intro { color: var(--muted); margin-bottom: 1.4rem; }
.auth__foot { margin: 1.4rem 0 0; text-align: center; font-size: .93rem; color: var(--muted); }
.or { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--faint); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__fine { margin: 0; font-size: .82rem; color: var(--faint); }
.field { display: grid; gap: .35rem; }
.field > span { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; }
.field small { font-weight: 400; color: var(--faint); }
.field__aside { font-weight: 500; color: var(--muted); }
.field__hint { font-size: .8rem; color: var(--faint); }
.field input, .field select, .field textarea { width: 100%; padding: .72rem .85rem; border: 1px solid #d6d2c8; border-radius: 10px; background: #fff; font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 21, 26, .08); }
.alert { margin: 0 0 1rem; padding: .75rem .95rem; border-radius: 10px; font-size: .93rem; }
.alert--error { background: var(--bad-soft); color: var(--bad); }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card { padding: 1.8rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.cf-turnstile { min-height: 65px; }

/* ---------- content pages ---------- */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page .lede { margin-bottom: 2rem; }
.prose h1 { margin-bottom: .2em; }
.prose h2 { margin: 2em 0 .5em; font-size: 1.35rem; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- dashboard ---------- */
.dash { padding: 2.5rem 0 4rem; min-height: 60vh; }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.dash__head h1 { font-size: 2.1rem; font-weight: 800; margin: 0; }
.dash__head p { margin: .2rem 0 0; color: var(--muted); }
.dash__help { margin-top: 2rem; color: var(--muted); font-size: .93rem; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: .9rem 1.1rem; border-radius: 12px; background: var(--accent-soft); border: 1px solid #f7d2c5; }
.banner p { margin: 0; font-size: .95rem; }
.banner form { margin: 0; }
.sites { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site { display: grid; grid-template-columns: 180px 1fr auto; gap: 1.25rem; align-items: center; padding: 1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.site__thumb { aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--line); }
.site__info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .25rem; font-size: 1.15rem; letter-spacing: -.02em; }
.site__info p { margin: 0; color: var(--muted); font-size: .93rem; overflow-wrap: anywhere; }
.site__meta { margin-top: .25rem !important; font-size: .85rem !important; color: var(--faint) !important; }
.site__actions { display: flex; gap: .5rem; }
.pill { padding: .12rem .55rem; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.pill--live { background: var(--ok-soft); color: var(--ok); }
.pill--blocked { background: var(--bad-soft); color: var(--bad); }
.empty { padding: 3.5rem 1.5rem; border: 2px dashed #d9d5ca; border-radius: 18px; text-align: center; }
.empty h2 { font-size: 1.5rem; }
.empty p { color: var(--muted); }

/* ---------- editor page ---------- */
.page-build { background: var(--paper); }
.page-build .wb { font-family: var(--font); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .stage { grid-template-columns: 0 minmax(0, 1fr) 0; width: min(860px, 100% - 32px); }
    .stage__side--left { margin-right: -120px; }
    .stage__side--right { margin-left: -250px; transform: translateY(90px); }
    .stage__side--right .theme { display: none; }
    .phone { width: 150px; }
}
@media (max-width: 1000px) {
    .nav__links { display: none; }
    .stage__side--left { display: none; }
    .row, .split, .uses { grid-template-columns: 1fr; }
    .row--flip .row__copy { order: 0; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile--ink { grid-template-columns: 1fr; }
    .uses__list { order: -1; display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
    .uses__list li { border: 0; }
    .uses__tab { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .95rem; letter-spacing: -.01em; color: var(--muted); }
    .uses__tab::after { display: none; }
    .uses__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .stage__side--right { margin-left: -232px; transform: translateY(80px); }
    .toast { font-size: .76rem; padding: .6rem .75rem; }
    .editor__preview, .editor__page { display: none; }
    .facts { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; margin-top: 4rem; }
    .facts li:nth-child(3) { border-left: 0; }
    .prompt textarea { min-height: 112px; }
    .prompt__row { flex-direction: column; align-items: stretch; }
    .prompt__ideas { flex-wrap: nowrap; overflow-x: auto; margin-right: -.25rem; scrollbar-width: none; }
    .prompt__ideas button { flex: none; }
    .bento, .pgrid, .form__row { grid-template-columns: 1fr; }
    .tile--wide, .tile--tall { grid-column: auto; grid-row: auto; }
    .tile--tall .phone { margin-bottom: -5rem; }
    .row__visual { min-height: 0; }
    .uses__caption { flex-direction: column; align-items: flex-start; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid > div:first-child { grid-column: 1 / -1; }
    .site { grid-template-columns: 1fr; }
    .site__thumb { display: none; }
    .dash__head { flex-direction: column; align-items: flex-start; }
    .banner { flex-direction: column; align-items: flex-start; }
    .nav__signin { display: none; }
    .auth__card { padding: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
