/* EditWithChat website — white canvas, one coral accent, same brand as the app. No build step, no third-party requests. */
@font-face { font-family: 'Inter'; src: url('assets/fonts/InterVariable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url('assets/fonts/BricolageGrotesque.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }

:root {
  --brand: #ff5a36;
  --brand-2: #ff9a3c;
  --brand-soft: rgb(255 90 54 / 0.09);
  --brand-text: #e0441f;
  --bg: #ffffff;
  --soft: #faf9f7;
  --surface: #ffffff;
  --surface-2: #f5f4f1;
  --surface-3: #ecebe7;
  --border: #ebe9e5;
  --border-strong: #dcd9d3;
  --text: #121110;
  --text-2: #5d5853;
  --text-3: #908a83;
  --green: #17a34a;
  --shadow-sm: 0 1px 2px rgb(20 16 12 / 0.05), 0 0 0 1px rgb(20 16 12 / 0.04);
  --shadow-md: 0 14px 34px -14px rgb(20 16 12 / 0.18), 0 0 0 1px rgb(20 16 12 / 0.05);
  --shadow-lg: 0 40px 100px -34px rgb(60 30 15 / 0.35), 0 0 0 1px rgb(20 16 12 / 0.06);
  --grad: linear-gradient(135deg, #f0441f, #ff8a3c);
  --display: 'Bricolage', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.04; margin: 0; font-weight: 700; }
h1 { font-size: clamp(44px, 6.6vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.container { width: min(1160px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(860px, 100% - 48px); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid rgb(255 90 54 / 0.45); outline-offset: 2px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 0.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px var(--display); letter-spacing: -0.03em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 650 16px 'Inter', sans-serif; border-radius: 14px; padding: 13px 22px; transition: transform 0.12s, box-shadow 0.15s, filter 0.12s, background 0.12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; border-radius: 12px; }
.btn-lg { padding: 15px 18px 15px 26px; font-size: 17px; border-radius: 16px; }
.btn-brand { color: #fff; background: var(--grad); box-shadow: 0 10px 26px -10px rgb(255 90 54 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.btn-brand:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-brand.glow { box-shadow: 0 0 0 4px rgb(255 90 54 / 0.14), 0 16px 40px -12px rgb(255 90 54 / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.3); }
.btn .inner { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 9px; background: rgb(255 255 255 / 0.2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg.btn-ghost { padding: 15px 24px; }
.btn.block { width: 100%; }
.play { font-size: 11px; width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--text); color: #fff; padding-left: 2px; }

/* sections */
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.section.soft { background: var(--soft); border-block: 1px solid var(--border); }
.head { max-width: 760px; margin: 0 auto 54px; display: grid; gap: 16px; justify-items: center; }
.eyebrow { font: 700 13px 'Inter'; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text); }
.sub { font-size: 18.5px; color: var(--text-2); max-width: 640px; margin: 0 auto; }
.fine { font-size: 14px; color: var(--text-3); }
.section .fine.center { margin-top: 26px; }
.link { color: var(--brand-text); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco .star { position: absolute; width: 360px; height: 360px; opacity: 0.55; background: radial-gradient(circle, rgb(255 90 54 / 0.35) 1.2px, transparent 1.6px) 0 0 / 9px 9px; -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent); }
.hero-deco .s1 { left: -90px; top: 40px; }
.hero-deco .s2 { right: -90px; top: 120px; }
.hero-copy { position: relative; text-align: center; display: grid; justify-items: center; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; text-decoration: none; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgb(255 90 54 / 0.18); }
.lead { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--text-2); max-width: 640px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; color: var(--text-2); font-size: 14.5px; }
.trust li { display: flex; gap: 6px; align-items: center; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.strip { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 46px; color: var(--text-3); font-size: 14.5px; }
.strip ul { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; }
.strip li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; color: var(--text-2); background: #fff; }

/* ── the workflow animation ──────────────────────────────────────────────── */
.flow { margin: 56px auto 0; max-width: 1000px; }
.flow-stage { position: relative; }
.win { width: 1000px; height: 600px; transform-origin: top left; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(20 16 12 / 0.08), 0 50px 120px -40px rgb(255 90 54 / 0.45), 0 30px 70px -30px rgb(20 16 12 / 0.35); overflow: hidden; position: relative; }
.win-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f7f6f4; border-bottom: 1px solid var(--border); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; font: 600 12.5px 'Inter'; color: var(--text-3); }
.win-body { position: relative; height: 564px; display: flex; }
.win-side { width: 150px; flex: none; border-right: 1px solid var(--border); background: #fbfaf8; padding: 16px 10px; display: grid; align-content: start; gap: 4px; font: 500 12.5px 'Inter'; color: var(--text-2); }
.ws-logo { display: flex; gap: 6px; align-items: center; font: 700 12.5px var(--display); color: var(--text); margin: 0 6px 14px; }
.ws-logo img { border-radius: 4px; }
.win-side span { padding: 7px 10px; border-radius: 8px; }
.win-side .on { background: #fff; box-shadow: var(--shadow-sm); color: var(--text); font-weight: 600; }
.pane { position: absolute; left: 150px; right: 0; top: 0; bottom: 0; padding: 22px 26px; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0.45s; }
.flow[data-scene='0'] .home, .flow[data-scene='1'] .home, .flow[data-scene='2'] .home, .flow[data-scene='3'] .work, .flow[data-scene='4'] .done { opacity: 1; visibility: visible; }

/* home pane */
.drop { height: 104px; border: 2px dashed var(--border-strong); border-radius: 16px; position: relative; transition: border-color 0.3s, background 0.3s; }
.drop-empty, .drop-full { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; transition: opacity 0.35s, transform 0.35s; }
.drop-empty { flex-direction: column; gap: 2px; }
.drop-empty .up { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); font-weight: 700; margin-bottom: 4px; }
.drop-empty b { font: 650 14.5px 'Inter'; } .drop-empty small { color: var(--text-3); font-size: 12px; }
.drop-full { opacity: 0; transform: scale(0.96); justify-content: flex-start; padding: 0 18px; }
.drop-full img { width: 44px; height: 78px; object-fit: cover; border-radius: 8px; }
.df-meta { display: grid; gap: 3px; min-width: 260px; }
.upl { display: block; height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; margin-top: 4px; }
.upl i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.9s ease-out; }
.drop-full b { display: block; font: 650 14px 'Inter'; } .drop-full small { color: var(--text-3); font-size: 12px; }
.drop-full em { margin-left: auto; font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.flow.over .drop { border-color: var(--brand); background: var(--brand-soft); }
.flow.has-file .drop { border-style: solid; border-color: var(--border); }
.flow.has-file .drop-empty { opacity: 0; transform: scale(0.96); }
.flow.has-file .drop-full { opacity: 1; transform: none; }

.brief { margin-top: 12px; border: 1px solid var(--border-strong); border-radius: 16px; padding: 12px 14px; display: grid; gap: 10px; transition: border-color 0.3s, box-shadow 0.3s; }
.flow[data-scene='1'] .brief { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(255 90 54 / 0.1); }
.brief small { color: var(--text-3); font: 600 11.5px 'Inter'; }
.brief-text { min-height: 40px; font-size: 14px; }
.brief-text small { display: block; color: var(--text); margin-bottom: 2px; }
.caret { display: inline-block; width: 1.5px; height: 15px; background: var(--brand); vertical-align: -2px; margin-left: 1px; opacity: 0; }
.flow.typing .caret { opacity: 1; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.brief-refs { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; }
.link-field { flex: 1; height: 34px; border-radius: 9px; background: var(--surface-2); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 12.5px; color: var(--text-2); overflow: hidden; white-space: nowrap; }
.lk { font-size: 11px; }
.ref { width: 34px; height: 46px; border-radius: 7px; overflow: hidden; box-shadow: 0 0 0 1px var(--border-strong); opacity: 0; transform: translateY(-40px) scale(0.6) rotate(-8deg); transition: opacity 0.35s, transform 0.55s cubic-bezier(0.2, 1.4, 0.4, 1); }
.ref img { width: 100%; height: 100%; object-fit: cover; }
.flow.refs-1 .r1, .flow.refs-2 .r1, .flow.refs-2 .r2, .flow.refs-3 .ref { opacity: 1; transform: none; }
.add-ref { flex: none; font: 650 12px 'Inter'; padding: 8px 11px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); color: var(--text); transition: background 0.2s, box-shadow 0.2s; }
.flow.addref .add-ref { background: var(--brand-soft); box-shadow: 0 0 0 2px var(--brand); color: var(--brand-text); }
.brand-row { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.brand-row i { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border-strong); }
.logo-chip { font: 600 11.5px 'Inter'; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.flow.brand-on .add-ref { flex: none; font: 650 12px 'Inter'; padding: 8px 11px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); color: var(--text); transition: background 0.2s, box-shadow 0.2s; }
.flow.addref .add-ref { background: var(--brand-soft); box-shadow: 0 0 0 2px var(--brand); color: var(--brand-text); }
.brand-row { opacity: 1; transform: none; }

.looks-row { margin-top: 12px; display: flex; gap: 10px; }
.lk-card { width: 62px; height: 104px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--border); transition: box-shadow 0.25s, transform 0.25s; }
.lk-card img { width: 100%; height: 100%; object-fit: cover; }
.lk-card.hl { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--border-strong), var(--shadow-md); }
.lk-card.pick { box-shadow: 0 0 0 3px var(--brand), 0 12px 24px -10px rgb(255 90 54 / 0.6); transform: translateY(-4px); }
.edit-btn { margin-top: 14px; width: 100%; height: 48px; border: 0; border-radius: 14px; font: 700 16px 'Inter'; color: #fff; background: var(--grad); opacity: 0.45; transition: opacity 0.3s, transform 0.12s, box-shadow 0.3s; }
.flow.ready .edit-btn { opacity: 1; box-shadow: 0 0 0 4px rgb(255 90 54 / 0.14), 0 14px 30px -12px rgb(255 90 54 / 0.8); }
.flow.press .edit-btn { transform: scale(0.97); filter: brightness(0.95); }

/* working pane */
.work { display: flex; align-items: center; justify-content: center; gap: 44px; }
.morph { position: relative; width: 236px; aspect-ratio: 9/16; border-radius: 24px; overflow: hidden; border: 5px solid #111; background: #000; box-shadow: 0 30px 60px -24px rgb(20 16 12 / 0.55); }
.morph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-raw { filter: grayscale(0.4) brightness(0.9); }
.m-edit { clip-path: inset(0 100% 0 0); transition: clip-path 3.4s linear; }
.flow.morphing .m-edit { clip-path: inset(0 0 0 0); }
.m-line { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #fff; box-shadow: 0 0 18px 4px rgb(255 90 54 / 0.9); opacity: 0; transition: left 3.4s linear, opacity 0.3s; }
.flow.morphing .m-line { left: calc(100% - 3px); opacity: 1; }
.m-tag { position: absolute; left: 10px; top: 10px; font: 700 11px 'Inter'; color: #fff; background: rgb(0 0 0 / 0.55); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.work-card { width: 380px; padding: 26px 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.work-card b { font: 700 18px var(--display); letter-spacing: -0.02em; }
.work-card .bar { margin: 14px 0 18px; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.work-card .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width 0.6s ease; }
.work-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14px; color: var(--text-3); }
.work-card li { display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.work-card li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; transition: all 0.3s; }
.work-card li.run { color: var(--text); font-weight: 600; }
.work-card li.run::before { border-color: var(--brand); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.work-card li.ok { color: var(--text-2); }
.work-card li.ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }

/* done pane */
.done { display: flex; gap: 22px; padding: 0; }
.chatcol { width: 300px; border-right: 1px solid var(--border); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: #fcfbfa; }
.bubble { font-size: 13px; line-height: 1.4; padding: 9px 12px; border-radius: 14px; max-width: 92%; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s; }
.bubble.bot { background: #fff; box-shadow: var(--shadow-sm); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--text); color: #fff; border-bottom-right-radius: 5px; }
.bubble.ok b { color: var(--green); }
.bubble.on { opacity: 1; transform: none; }
.chat-in { margin-top: auto; border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--text-3); background: #fff; }
.stagecol { flex: 1; display: grid; place-items: center; align-content: center; gap: 14px; background: radial-gradient(60% 60% at 50% 40%, rgb(255 90 54 / 0.08), transparent 70%); }
.phone-sm { position: relative; width: 236px; aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; border: 5px solid #111; background: #000; box-shadow: 0 30px 60px -24px rgb(20 16 12 / 0.55), 0 0 0 1px rgb(0 0 0 / 0.2); transform: scale(0.92); opacity: 0; transition: transform 0.6s cubic-bezier(0.2, 1.2, 0.4, 1), opacity 0.4s; }
.flow[data-scene='4'] .phone-sm { transform: none; opacity: 1; }
.phone-sm video { width: 100%; height: 100%; object-fit: cover; }
.badge-done { position: absolute; left: 10px; top: 10px; background: var(--green); color: #fff; font: 700 11px 'Inter'; padding: 4px 9px; border-radius: 999px; }
.save { border: 0; border-radius: 12px; padding: 10px 18px; font: 700 13.5px 'Inter'; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -10px rgb(255 90 54 / 0.8); }

/* cursor + flying file */
.cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 26px; height: 26px; transform: translate(880px, 520px); transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s; filter: drop-shadow(0 3px 5px rgb(0 0 0 / 0.3)); pointer-events: none; }
.cursor.away { opacity: 0; }
.cursor svg { width: 100%; height: 100%; fill: #121110; stroke: #fff; stroke-width: 1.6; }
.cursor.click::after { content: ''; position: absolute; left: -10px; top: -10px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--brand); animation: ping 0.5s ease-out; }
@keyframes ping { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.file-fly { position: absolute; z-index: 19; left: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); font: 650 12.5px 'Inter'; opacity: 0; transform: translate(900px, 380px) rotate(6deg); transition: transform 1.05s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s; pointer-events: none; }
.file-fly img { width: 30px; height: 54px; object-fit: cover; border-radius: 6px; }
.file-fly small { display: block; font: 500 11px 'Inter'; color: var(--text-3); position: absolute; left: 46px; bottom: 8px; }
.file-fly b { align-self: flex-start; margin-top: 8px; }
.file-fly { min-width: 200px; }
.file-fly.show { opacity: 1; }

/* step tabs under the window */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.flow-steps button { position: relative; overflow: hidden; border: 1px solid var(--border); background: #fff; border-radius: 14px; padding: 13px 14px; display: flex; align-items: center; gap: 10px; font: 600 14.5px 'Inter'; color: var(--text-2); cursor: pointer; text-align: left; transition: border-color 0.2s, color 0.2s, box-shadow 0.2s; }
.flow-steps button i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px 'Inter'; font-style: normal; background: var(--surface-2); color: var(--text-2); }
.flow-steps button[aria-selected='true'] { color: var(--text); border-color: rgb(255 90 54 / 0.45); box-shadow: 0 10px 24px -14px rgb(255 90 54 / 0.6); }
.flow-steps button[aria-selected='true'] i { background: var(--grad); color: #fff; }
.flow-steps .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.flow-steps button[aria-selected='true'] .prog { animation: prog var(--dur, 4s) linear forwards; }
.flow.paused .flow-steps .prog { animation: none; width: 0; }
@keyframes prog { to { width: 100%; } }

/* before / after: the board from the reference reel */
.ba-wrap { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; max-width: 1040px; margin: 0 auto; }
.ba-board { display: flex; align-items: flex-end; gap: 22px; padding: 44px 46px 46px; border-radius: 32px; background: #f0efed; box-shadow: inset 0 0 0 1px rgb(20 16 12 / 0.05); }
.ba-side { margin: 0; display: grid; justify-items: center; gap: 12px; }
.ba-side figcaption { font: 750 30px var(--display); letter-spacing: -0.03em; color: var(--text); }
.raw figcaption { font-size: 22px; }
.ba-frame { aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 24px 50px -20px rgb(20 16 12 / 0.45); }
.raw .ba-frame { width: 170px; border-radius: 16px; }
.edited .ba-frame { width: 320px; box-shadow: 0 0 0 3px rgb(255 90 54 / 0.85), 0 34px 70px -20px rgb(255 90 54 / 0.55); }
.ba-frame video { width: 100%; height: 100%; object-fit: cover; }
.ba-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ba-list li { display: flex; align-items: center; gap: 14px; }
.ba-list i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-style: normal; font-size: 15px; font-weight: 700; }
.ba-list b { display: block; font: 650 16.5px 'Inter'; }
.ba-list span { color: var(--text-2); font-size: 14.5px; }

/* looks */
.looks-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.look { margin: 0; }
.look-v { border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow-md); transition: transform 0.25s, box-shadow 0.25s; }
.look:hover .look-v { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--brand), 0 26px 50px -20px rgb(255 90 54 / 0.55); }
.look video { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.look figcaption { margin-top: 12px; display: grid; gap: 3px; }
.look figcaption b { font: 650 15.5px 'Inter'; }
.look figcaption span { color: var(--text-2); font-size: 13.5px; line-height: 1.45; }

/* how it works */
.head .btn { margin-top: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-ui { height: 170px; border-radius: 16px; background: var(--soft); border: 1px solid var(--border); margin-bottom: 8px; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 16px; }
.num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 14px 'Inter'; }
.step p { color: var(--text-2); font-size: 15.5px; }
.ui-drop, .ui-file, .ui-pill, .ui-task { display: flex; align-items: center; gap: 8px; font: 600 13px 'Inter'; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.ui-drop { border: 1.5px dashed var(--border-strong); box-shadow: none; }
.ui-drop .up { color: var(--brand); } .ui-drop em { color: var(--text-3); font-style: normal; }
.ui-file img { width: 34px; height: 20px; border-radius: 4px; object-fit: cover; }
.ui-file b { color: var(--green); }
.ui-refs { display: flex; align-items: center; gap: 8px; }
.ui-refs img { width: 34px; height: 48px; border-radius: 7px; object-fit: cover; box-shadow: var(--shadow-sm); }
.ui-refs .sw { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border-strong); }
.ui-task .spin, .ui-task::before { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--brand); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.ui-task::before { display: none; }
.ui-task.d2 { opacity: 0.75; } .ui-task.d3 { opacity: 0.5; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bx { padding: 24px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.bx > p { color: var(--text-2); font-size: 15px; }
.bx.two { grid-column: span 2; flex-direction: row; gap: 26px; align-items: stretch; }
.bx-copy { width: 38%; display: grid; align-content: start; gap: 8px; }
.bx-copy p { color: var(--text-2); font-size: 15px; }
.bx-chat { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--border); }
.bx-chat .chat-log { margin: 0; }
.bx-chat .msg { max-width: 82%; }
.bx-chat .msg.bot { background: #fff; }
.bx.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 28px; background: linear-gradient(120deg, #fff 40%, #fff4ee); }
.bx.wide > div:first-child { flex: 1; display: grid; gap: 8px; }
.bx.wide .mock-lock { margin: 0; width: 220px; flex: none; }
.chat-log { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.msg { font-size: 14px; line-height: 1.45; padding: 10px 13px; border-radius: 15px; max-width: 88%; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s; }
.msg.on { opacity: 1; transform: none; }
.msg.me { justify-self: end; background: var(--text); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { background: var(--soft); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.ver { display: inline-block; margin-left: 6px; font: 700 11.5px 'Inter'; padding: 2px 8px; border-radius: 999px; background: rgb(23 163 74 / 0.12); color: var(--green); }
.msg.typing { display: flex; gap: 4px; width: 56px; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: blink 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: 0.15s; } .msg.typing span:nth-child(3) { animation-delay: 0.3s; }
.chat-mini { margin-top: auto; background: #fff; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border-strong); border-radius: 14px; padding: 10px 10px 10px 14px; color: var(--text-3); font-size: 14px; }
.chat-mini i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; font-style: normal; font-weight: 700; }
.mock-brand { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mb-sw { display: flex; align-items: center; gap: 8px; font: 600 13px 'Inter'; padding: 8px; border-radius: 12px; background: var(--soft); border: 1px solid var(--border); }
.mb-sw i { width: 24px; height: 24px; border-radius: 50%; }
.mb-logo { grid-column: span 2; font: 600 13px 'Inter'; padding: 8px 12px; border-radius: 12px; border: 1.5px dashed var(--border-strong); color: var(--text-2); }
.mb-cap { grid-column: span 2; text-align: center; padding: 16px 10px; border-radius: 14px; background: #111827; color: #fff; font: 800 18px 'Inter'; letter-spacing: 0.02em; }
.mb-cap b { color: #ff5a36; }
.mock-tl { margin-top: auto; position: relative; padding: 18px 10px 44px; border-radius: 14px; background: var(--soft); border: 1px solid var(--border); }
.tl-lane { position: relative; height: 18px; margin-bottom: 8px; }
.tl-lane i { position: absolute; top: 0; height: 100%; border-radius: 5px; background: #5b7cfa; }
.tl-lane.b i { background: #f0883e; }
.tl-range { position: absolute; top: 10px; bottom: 36px; left: 38%; width: 26%; border-inline: 2px solid var(--brand); background: rgb(255 90 54 / 0.14); animation: sweep 3.6s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { left: 38%; width: 26%; } 50% { left: 30%; width: 34%; } }
.tl-chip { position: absolute; left: 10px; bottom: 10px; font: 700 12px 'Inter'; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); }
.mock-ba { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; padding-bottom: 26px; }
.mock-ba img { height: 150px; border-radius: 12px; object-fit: cover; }
.mock-ba .g { width: 90px; filter: grayscale(1); }
.mock-ba .v { width: 84px; box-shadow: 0 0 0 2px var(--brand); }
.mock-ba span { color: var(--brand); font-weight: 800; }
.mock-ba em { position: absolute; bottom: 0; font: 600 12px 'Inter'; font-style: normal; color: var(--text-3); }
.mock-fmt { margin-top: auto; display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 10px; }
.mock-fmt span { display: grid; place-items: center; border-radius: 10px; border: 2px solid var(--border-strong); font: 700 12.5px 'Inter'; color: var(--text-2); background: #fff; }
.mock-fmt .on { border-color: var(--brand); color: var(--brand-text); background: var(--brand-soft); }
.f916 { width: 72px; height: 128px; } .f34 { width: 90px; height: 120px; } .f11 { width: 100px; height: 100px; }
.mock-lock { margin-top: auto; display: grid; justify-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: linear-gradient(160deg, #fff4ee, #ffe8dc); }
.mock-lock svg { width: 54px; height: 54px; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; }
.mock-lock span { font: 700 14px 'Inter'; color: var(--brand-text); }

/* who */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who { padding: 26px; display: grid; gap: 10px; align-content: start; }
.who p { color: var(--text-2); font-size: 15.5px; }
.who-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-size: 18px; }

/* compare table */
.table { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.tr { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; }
.tr > span { padding: 15px 20px; border-top: 1px solid var(--border); font-size: 15.5px; }
.tr.th > span { border-top: 0; font-weight: 700; background: var(--soft); }
.tr > span:first-child { color: var(--text-2); font-weight: 600; }
.us { color: var(--text); font-weight: 650; background: rgb(255 90 54 / 0.04); }
.th .us { color: var(--brand-text); }

/* pricing */
.price { max-width: 460px; margin: 0 auto; padding: 32px; display: grid; gap: 22px; box-shadow: var(--shadow-lg); }
.price-top { display: grid; gap: 6px; justify-items: start; }
.badge { font: 700 12px 'Inter'; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }
.amount { display: flex; align-items: baseline; gap: 12px; }
.amount b { font: 750 64px var(--display); letter-spacing: -0.04em; }
.amount s { color: var(--text-3); font-size: 22px; }
.once { color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks b { color: var(--text); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-2); }

/* final */
.final { padding: 90px 0 120px; background: radial-gradient(50% 60% at 50% 30%, rgb(255 90 54 / 0.12), transparent 70%); }
.final .center { display: grid; justify-items: center; gap: 18px; }
.final-phones { display: flex; gap: 14px; align-items: flex-end; margin-bottom: 26px; }
.final-phones video { width: 150px; aspect-ratio: 9/16; object-fit: cover; border-radius: 22px; border: 4px solid #111; box-shadow: var(--shadow-md); }
.final-phones video:nth-child(1) { transform: rotate(-6deg) translateY(14px); }
.final-phones video:nth-child(2) { width: 176px; box-shadow: 0 0 0 3px rgb(255 90 54 / 0.8), 0 30px 60px -20px rgb(255 90 54 / 0.6); }
.final-phones video:nth-child(3) { transform: rotate(6deg) translateY(14px); }

/* footer + sticky */
.footer { border-top: 1px solid var(--border); background: var(--soft); padding: 64px 0 30px; color: var(--text-2); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { display: grid; gap: 14px; align-content: start; max-width: 340px; }
.foot-brand p { color: var(--text-2); line-height: 1.55; }
.foot-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-req { font-size: 13px; color: var(--text-3) !important; }
.foot-col { display: grid; gap: 11px; align-content: start; }
.foot-col b { font: 700 13px 'Inter'; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--text-2); }
.foot-col a:hover { color: var(--brand-text); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--text-3); }
.foot-bottom span:last-child { max-width: 620px; text-align: right; }
.sticky { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 18px; border-radius: 16px; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translate(-50%, 140%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); font-size: 15px; }
.sticky.show { transform: translate(-50%, 0); }

/* inner pages (download, support, changelog, refund, privacy, terms) */
.page .footer { margin-top: 40px; }
.doc { max-width: 780px; padding: 70px 0 60px; }
.doc .eyebrow { margin-bottom: 12px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 12px; }
.doc h2 { font-size: 25px; margin: 46px 0 12px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--text-2); }
.doc p { margin: 10px 0; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.updated { color: var(--text-3); font-size: 15px; }
.doc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 8px; }
.license-key { margin: 18px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: #fff; font: 600 18px/1.4 ui-monospace, monospace; letter-spacing: 0.03em; word-break: break-all; }
.doc-steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 12px; }
.doc-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; border-radius: 16px; border: 1px solid var(--border); background: #fff; }
.doc-steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 13px 'Inter'; }
.doc-steps b { color: var(--text); }
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 10px; }
.doc-card { display: grid; gap: 6px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: #fff; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.doc-card:hover { border-color: rgb(255 90 54 / 0.5); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.doc-card b { font-size: 16px; } .doc-card span { color: var(--text-2); font-size: 14px; }
.release { padding: 6px 0 10px; border-bottom: 1px solid var(--border); }
.release h2 { display: flex; align-items: baseline; gap: 12px; }
.release h2 span { font: 500 15px 'Inter'; color: var(--text-3); letter-spacing: 0; }
.release b { color: var(--text); }

/* responsive */
.hide-sm { }
@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bx.two { grid-column: 1 / -1; }
  .bx.wide { flex-direction: column; align-items: stretch; }
  .bx.wide .mock-lock { width: auto; }
  .ba-wrap { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
  .ba-list { grid-template-columns: repeat(3, 1fr); }
  .looks-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; max-width: none; }
  .foot-bottom { flex-direction: column; } .foot-bottom span:last-child { text-align: left; }
  .doc-cards { grid-template-columns: 1fr; }
  .nav-links { display: none; } .nav-inner > .btn-brand { margin-left: auto; }
  .steps, .grid3 { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .nav-inner > .btn-brand { margin-left: auto; }
  .bento { grid-template-columns: 1fr; }
  .looks-grid { grid-template-columns: 1fr 1fr; }
  .ba-board { padding: 24px 16px; gap: 12px; width: 100%; justify-content: center; }
  .raw .ba-frame { width: 30vw; } .edited .ba-frame { width: 50vw; }
  .ba-side figcaption { font-size: 22px; } .raw figcaption { font-size: 17px; }
  .ba-list { grid-template-columns: 1fr; }
  .bx.two { flex-direction: column; } .bx-copy { width: auto; }
  .flow-steps button { font-size: 13px; padding: 11px; }
  .tr > span { padding: 12px; font-size: 14px; }
  .btn-lg { width: 100%; }
  .final-phones video { width: 96px; } .final-phones video:nth-child(2) { width: 116px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
