/* Box-Template marketing site.
   Layout concept: a showroom. Real templates are the artwork (tilted moving wall in the hero,
   strips and tiles below); the page's own chrome is quiet: cool white, ink, one hot orange.
   Type: Archivo at expanded width for display, Geist for text, Geist Mono for labels. */
:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --ink: #0c0e18;
  --ink-2: #4a5065;
  --ink-3: #8a8fa3;
  --line: #e2e4eb;
  --hot: #ff5c1f;
  --hot-soft: #fff0e9;
  --blue: #2f5bff;
  --night: #0b0c14;
  --night-2: #161827;
  --ok: #18915a;
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --text: 'Geist', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Consolas, Menlo, monospace;
  --wrap: 1240px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 125%; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--ink-3); }
.center { display: flex; justify-content: center; margin-top: 56px; }
section[id] { scroll-margin-top: 80px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 600 0.95rem/1 var(--text); padding: 13px 20px; border: 0; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); background: #232638; box-shadow: 0 10px 24px -10px rgba(12, 14, 24, 0.5); }
.btn--sm { padding: 10px 16px; font-size: 0.88rem; }
.btn--lg { padding: 18px 28px; font-size: 1.02rem; }
.btn--lg::after { content: "→"; transition: transform 0.15s ease; }
.btn--lg:hover::after { transform: translateX(3px); }
.btn--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--quiet::after { content: "↓"; }
.btn--quiet:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(255, 92, 31, 0.6); }
.btn--block { width: 100%; }
.arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.arrow::after { content: "→"; color: var(--hot); transition: transform 0.15s; }
.arrow:hover::after { transform: translateX(4px); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(244, 245, 248, 0.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font: 800 1.12rem/1 var(--display); font-stretch: 112%; letter-spacing: -0.03em; }
.nav { display: flex; gap: 28px; font-size: 0.93rem; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top__login { font-size: 0.93rem; font-weight: 600; text-decoration: none; }
.menu { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 120px; min-height: 720px; }
.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 0.8rem/1 var(--mono); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; margin-bottom: 30px; }
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px var(--hot-soft); }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.1rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.93; }
.hl { color: var(--hot); }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--ink-2); max-width: 31em; margin-top: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.fine { font: 400 0.8rem/1.4 var(--mono); color: var(--ink-3); margin-top: 18px; }

/* the moving wall of real templates */
.wall { position: absolute; z-index: 1; top: -120px; right: -140px; width: min(64vw, 980px); height: calc(100% + 240px); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.wall__tilt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; height: 100%; transform: perspective(1800px) rotateX(18deg) rotateY(-22deg) rotateZ(8deg) translateX(40px); transform-origin: 70% 40%; }
.wall__col { overflow: hidden; height: 100%; }
.wall__track { display: grid; gap: 22px; animation: wall-up 70s linear infinite; }
.wall__col--2 .wall__track, .wall__col--4 .wall__track { animation-name: wall-down; animation-duration: 84s; }
.wall__col--3 .wall__track { animation-duration: 62s; }
.wall__track img { width: 100%; border-radius: 10px; box-shadow: 0 24px 50px -24px rgba(12, 14, 24, 0.45), 0 0 0 1px rgba(12, 14, 24, 0.06); background: #fff; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 11px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 11px)); } to { transform: translateY(0); } }

/* fact strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); position: relative; z-index: 3; }
.facts__row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 0 26px 28px; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; }
.facts b { font: 800 1.9rem/1 var(--display); font-stretch: 125%; letter-spacing: -0.04em; }
.facts span { font-size: 0.9rem; color: var(--ink-2); }

/* transformation */
.transform { background: var(--night); color: #fff; padding: 120px 0; }
.transform__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.transform h2 { color: #fff; }
.transform .dim { color: #7d8299; }
.transform__head p { color: #a9adbf; font-size: 1.08rem; max-width: 28em; }
.ba { position: relative; height: clamp(460px, 56vw, 680px); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); --pos: 92%; }
.ba__before, .ba__after { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); background: #fff; }
.ba__after img { width: 100%; }
.plain { padding: 78px 48px 40px; max-width: 640px; font: 15px/1.55 Arial, Helvetica, sans-serif; color: #222; }
.plain p { margin: 0 0 15px; }
.plain__meta { font: 500 0.72rem/1 var(--mono) !important; color: #9a9a9a; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 22px !important; }
.ba__tag { position: absolute; top: 18px; z-index: 2; font: 500 0.75rem/1 var(--mono); padding: 8px 12px; border-radius: 999px; pointer-events: none; }
.ba__tag--l { left: 18px; background: #eceef3; color: #464b5e; }
.ba__tag--r { right: 18px; background: var(--hot); color: #fff; }
.ba__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(12, 14, 24, 0.12); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0e18' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba__hint { position: absolute; top: calc(50% + 38px); left: 50%; transform: translateX(-50%); font: 500 0.72rem/1 var(--mono); color: #fff; background: var(--ink); padding: 7px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.3); transition: opacity .3s; }
.ba.is-manual .ba__hint { opacity: 0; }
.ba__hint::before { content: "↔  "; }
.ba__range:focus-visible ~ .ba__handle::after { outline: 3px solid var(--hot); outline-offset: 3px; }

/* the old ways */
.ways { padding: 130px 0; }
.ways__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.ways__copy { position: sticky; top: 120px; }
.ways__copy p { color: var(--ink-2); font-size: 1.1rem; margin-top: 24px; max-width: 26em; }
.ways__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ways__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); font: 700 clamp(1.15rem, 2.1vw, 1.65rem)/1.2 var(--display); font-stretch: 112%; letter-spacing: -0.025em; }
.ways__list s { color: var(--ink-3); text-decoration: none; background: linear-gradient(var(--hot), var(--hot)) left 55% / 100% 3px no-repeat; transition: background-size 0.6s cubic-bezier(.6, .1, .2, 1); }
.js .ways__list:not(.is-in) s { background-size: 0% 3px; }
.ways__list li:nth-child(2) s { transition-delay: 0.12s; }
.ways__list li:nth-child(3) s { transition-delay: 0.24s; }
.ways__list li:nth-child(4) s { transition-delay: 0.36s; }
.ways__list em { font: 500 0.82rem/1 var(--mono); font-style: normal; color: var(--ink-3); white-space: nowrap; }
.ways__yes { color: var(--ink); border-bottom: 0 !important; }
.ways__yes span { background: var(--hot-soft); box-shadow: 0 0 0 8px var(--hot-soft); border-radius: 4px; }
.ways__yes em { color: var(--hot) !important; font-weight: 500; }

/* section heads */
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head p { color: var(--ink-2); font-size: 1.12rem; margin-top: 20px; max-width: 34em; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.sec-head--row h2 { max-width: 15em; }

/* how it works */
.how { padding: 130px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how__grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 48px; align-items: center; }
.how__steps { display: grid; gap: 10px; }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 20px 20px 22px; cursor: pointer; overflow: hidden; transition: background 0.2s, border-color 0.2s; }
.step:hover { background: var(--bg); }
.step[aria-selected="true"] { background: var(--bg); border-color: var(--line); }
.step__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 0.85rem/1 var(--mono); border: 1.5px solid var(--line); color: var(--ink-3); }
.step[aria-selected="true"] .step__n { background: var(--ink); border-color: var(--ink); color: #fff; }
.step__body { display: grid; gap: 6px; }
.step__body b { font: 800 1.2rem/1.2 var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
.step__body span { color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
.step:not([aria-selected="true"]) .step__body span { color: var(--ink-3); }
.step__bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: transparent; }
.step__bar i { display: block; height: 100%; width: 0; background: var(--hot); }
.step[aria-selected="true"].is-timing .step__bar i { animation: fill var(--step-ms, 6000ms) linear forwards; }
@keyframes fill { to { width: 100%; } }
.how__stage { min-width: 0; }
.browser { border-radius: 14px; background: #e8eaf0; padding: 0 0 0; box-shadow: 0 40px 80px -40px rgba(12, 14, 24, 0.45), 0 0 0 1px rgba(12, 14, 24, 0.08); overflow: hidden; }
.browser__bar { height: 34px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: #eceef3; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd2dc; }
.browser__view { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.015); transition: opacity 0.45s ease, transform 0.6s ease; }
.frame.is-on { opacity: 1; transform: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame--apply { background: linear-gradient(180deg, #f4f5f8, #eceef4); display: grid; place-items: center; padding: 4%; }
.apply { width: min(100%, 560px); background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(12, 14, 24, 0.35), 0 0 0 1px rgba(12, 14, 24, 0.06); padding: 22px; font-size: 0.88rem; }
.apply__head { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.apply__head div { display: grid; gap: 3px; }
.apply__head b { font-size: 0.98rem; }
.apply__head span { font: 400 0.74rem/1.3 var(--mono); color: var(--ink-3); }
.apply__count { font: 500 0.78rem/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.apply__bar { height: 6px; background: #eef0f4; border-radius: 99px; margin: 16px 0; overflow: hidden; }
.apply__bar i { display: block; height: 100%; width: 85%; background: var(--hot); border-radius: 99px; }
.apply__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.apply__rows li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 7px 10px 7px 7px; border-radius: 9px; background: #f7f8fa; }
.apply__rows img { width: 34px; height: 34px; object-fit: cover; object-position: top; border-radius: 6px; }
.apply__rows span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.apply__rows em { font: 500 0.72rem/1 var(--mono); font-style: normal; white-space: nowrap; }
.apply__rows .ok { color: var(--ok); }
.apply__rows .run { color: var(--hot); }
.apply__rows .wait { color: var(--ink-3); }
.apply__foot { margin-top: 14px; font-size: 0.78rem; color: var(--ink-3); }

/* bento */
.features { padding: 130px 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile { position: relative; background: var(--surface); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.tile p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.5; }
.tile h3 { margin-top: auto; }
.tile__text { display: grid; gap: 10px; position: relative; z-index: 1; }
.tile__text h3 { margin-top: 0; }
.tile--data { grid-column: span 2; grid-row: span 2; background: var(--night); color: #fff; box-shadow: none; }
.tile--data p { color: #a9adbf; max-width: 30em; }
.tile__art--data { position: relative; margin-top: 34px; }
.tile__art--data img { border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.chip { position: absolute; font: 500 0.74rem/1 var(--mono); color: #fff; background: var(--hot); padding: 7px 10px; border-radius: 999px; box-shadow: 0 8px 20px -6px rgba(255, 92, 31, 0.7); white-space: nowrap; }
.chip--a { left: 6%; top: -12px; }
.chip--b { left: 52%; top: 8%; }
.chip--c { left: 52%; top: 36%; background: #fff; color: var(--ink); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5); }
.tile--phone { grid-row: span 2; background: linear-gradient(180deg, #fff, #f1f2f6); }
.tile__art--phone { flex: 1; display: grid; place-items: end center; margin: 20px -30px -30px; min-height: 300px; }
.phone { width: 210px; height: 360px; border: 8px solid var(--ink); border-bottom: 0; border-radius: 34px 34px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 40px -10px rgba(12, 14, 24, 0.35); }
.phone img { width: 100%; }
.big { font: 900 3.6rem/0.9 var(--display) !important; font-stretch: 125% !important; letter-spacing: -0.05em; color: var(--ink) !important; }
.big small { font: 500 0.9rem/1 var(--mono); letter-spacing: 0; color: var(--ink-3); }
.tile--bulk .big { color: var(--hot) !important; }
.swap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 0.78rem/1 var(--mono); }
.swap s { color: var(--ink-3); background: var(--bg); padding: 8px 11px; border-radius: 999px; }
.swap span { color: var(--ok); background: #e7f6ee; padding: 8px 11px; border-radius: 999px; }
.swap span::before { content: "✓ "; }
.undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); border-radius: 12px; padding: 10px 10px 10px 14px; font: 500 0.78rem/1 var(--mono); color: var(--ink-2); }
.undo b { font: 600 0.8rem/1 var(--text); background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 999px; }
.tile--old, .tile--undo, .tile--safe, .tile--bulk { grid-column: span 1; }
.tile--undo, .tile--safe { grid-column: span 2; }
.tile--undo, .tile--safe { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.wide__art { display: grid; gap: 8px; }
.wide__text { display: grid; gap: 10px; }
.wide__text h3 { margin: 0; }
.undo--2 { opacity: 0.55; }
.undo i { font-style: normal; color: var(--ink-3); }

/* categories */
.cats { padding: 130px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.cats__grid a { display: grid; gap: 14px; text-decoration: none; }
.cats__grid img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.cats__grid a:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 26px 40px -22px rgba(12, 14, 24, 0.45); }
.cats__grid a > span:last-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cats__grid b { font-weight: 600; }
.cats__grid em { font: 400 0.78rem/1 var(--mono); font-style: normal; color: var(--ink-3); white-space: nowrap; }
.scratch { aspect-ratio: 5 / 5.4; border-radius: 14px; border: 1.5px dashed #c9ccd8; display: grid; place-items: center; font: 300 3rem/1 var(--text); color: var(--ink-3); transition: border-color 0.2s, color 0.2s; }
.cats__scratch a:hover .scratch { border-color: var(--hot); color: var(--hot); }

/* comparison */
.compare { padding: 130px 0 110px; }
.table-wrap { overflow-x: auto; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 0.96rem; }
.table th, .table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table thead th { font: 500 0.78rem/1.3 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.table tbody th { font-weight: 600; width: 22%; }
.table td { color: var(--ink-2); }
.table .us { background: var(--night); color: #fff; font-weight: 600; }
.table thead .us { color: var(--hot); }
.table tbody tr .us { border-bottom-color: #24273a; }

/* pricing */
.pricing { padding: 20px 0 130px; }
.pricing__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.pricing__head p { color: var(--ink-2); font-size: 1.12rem; margin-top: 18px; max-width: 30em; }
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.billing__opt { font: 600 0.9rem/1 var(--text); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing__opt em { font: 500 0.72rem/1 var(--mono); font-style: normal; color: var(--hot); }
.billing__opt.is-on { background: var(--ink); color: #fff; }
.billing__opt.is-on em { color: #ffb08f; }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: start; }
.plan { background: var(--surface); border-radius: 24px; padding: 34px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 22px; }
.plan--main { background: var(--night); color: #fff; box-shadow: 0 40px 80px -40px rgba(12, 14, 24, 0.6); }
.plan__top { display: grid; gap: 6px; }
.plan h3 { font-size: 1.5rem; }
.plan__for { color: var(--ink-3); }
.plan--main .plan__for { color: #9ea3b8; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.plan__price b, .addon__price b { font: 900 3.2rem/1 var(--display); font-stretch: 112%; letter-spacing: -0.04em; }
.plan__price span, .addon__price span { font: 400 0.82rem/1.3 var(--mono); color: var(--ink-3); }
.plan--main .plan__price span { color: #9ea3b8; }
.plan__plus { font: 500 0.78rem/1 var(--mono); color: #ffb08f; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: -6px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.45; }
.plan--main .ticks li { color: #d4d7e3; }
.plan--main .ticks b { color: #fff; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--hot-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5c1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan--main .ticks li::before { background-color: rgba(255, 92, 31, 0.18); }
.ticks .tick--note { color: var(--ink-3); font-size: 0.92rem; }
.ticks .tick--note::before { background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 8v.01M12 11.5V16'/%3E%3C/svg%3E") center / 12px no-repeat; }
.addon { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--surface); border-radius: 20px; padding: 24px 34px; box-shadow: 0 0 0 1px var(--line); }
.addon p { color: var(--ink-2); margin-top: 6px; }
.addon__price { display: flex; align-items: baseline; gap: 10px; }
.addon__price b { font-size: 2rem; }
.pricing__fine { margin-top: 22px; font-size: 0.88rem; color: var(--ink-3); }
.pricing__fine a { color: var(--ink-2); }

/* faq */
.faq { padding: 130px 0; background: var(--surface); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq__grid > div:first-child { position: sticky; top: 120px; }
.faq__grid .muted { margin-top: 20px; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; position: relative; padding: 24px 48px 24px 0; font-weight: 600; font-size: 1.1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0e18' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 48px 26px 0; max-width: 42em; }

/* final */
.final { background: var(--night); color: #fff; padding: 130px 0 0; overflow: hidden; text-align: center; }
.final__inner { display: grid; justify-items: center; gap: 24px; }
.final h2 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 900; max-width: 12em; }
.final p { color: #a9adbf; font-size: 1.15rem; }
.final .btn { margin-top: 10px; }
.final__strip { margin-top: 90px; height: 260px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.final__track { display: flex; gap: 18px; width: max-content; animation: strip 80s linear infinite; }
.final__track img { width: 220px; height: auto; border-radius: 12px 12px 0 0; opacity: 0.9; }
@keyframes strip { to { transform: translateX(calc(-50% - 9px)); } }

/* footer */
.foot { background: var(--night-2); color: #a0a4b8; padding: 80px 0 36px; font-size: 0.93rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo { color: #fff; }
.foot__brand p { margin-top: 18px; max-width: 24em; }
.foot nav { display: grid; gap: 11px; align-content: start; }
.foot h3 { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot__legal { margin-top: 64px; padding-top: 26px; border-top: 1px solid #262a3d; font-size: 0.8rem; color: #747990; }

.sticky { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall__track, .final__track { animation: none; }
  .frame, .btn, .ways__list s { transition: none; }
  .step__bar i { animation: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hero { padding: 64px 0 0; min-height: 0; }
  .hero__copy { max-width: 680px; }
  .wall { position: relative; top: auto; right: auto; width: auto; height: 520px; margin: 30px -10% -40px -10%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); }
  .wall__tilt { transform: perspective(1600px) rotateX(24deg) rotateZ(-8deg); transform-origin: 50% 30%; }
  .transform__head, .ways__grid, .how__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .ways__copy, .faq__grid > div:first-child { position: static; }
  .how__steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--data { grid-row: auto; }
  .tile--phone { grid-row: span 2; }
  .tile--undo, .tile--safe { grid-column: span 2; }
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top__row { height: 62px; gap: 12px; }
  .top__login, .top__end .btn { display: none; }
  .menu { display: grid; gap: 5px; place-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
  .menu span:not(.sr) { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); padding: 6px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(12, 14, 24, 0.35); font-size: 1.02rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .lead { font-size: 1.08rem; margin-top: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .wall { height: 380px; margin: 26px -40% -30px -30%; }
  .wall__tilt { gap: 12px; }
  .wall__track { gap: 12px; }
  .facts__row { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 20px 0 20px 16px; }
  .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts b { font-size: 1.5rem; }
  .transform, .ways, .how, .features, .cats, .compare, .faq { padding: 84px 0; }
  .ba { height: 520px; border-radius: 14px; }
  .plain { padding: 64px 20px 20px; font-size: 13px; }
  .ba__tag { font-size: 0.66rem; top: 12px; padding: 7px 9px; }
  .ba__tag--l { left: 12px; } .ba__tag--r { right: 12px; }
  .ways__list li { flex-direction: column; gap: 6px; padding: 20px 0; }
  .how__steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 34px 1fr; padding: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile--data, .tile--phone, .tile--undo, .tile--safe { grid-column: auto; grid-row: auto; }
  .tile--undo, .tile--safe { grid-template-columns: 1fr; gap: 22px; }
  .tile { padding: 24px; border-radius: 18px; }
  .tile__art--phone { margin: 20px -24px -24px; min-height: 280px; }
  .cats__grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .cats__grid a > span:last-child { flex-direction: column; gap: 4px; }
  .pricing { padding-bottom: 84px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; border-radius: 20px; }
  .plan__price b { font-size: 2.7rem; }
  .addon { padding: 22px; }
  .billing { width: 100%; }
  .billing__opt { flex: 1; justify-content: center; }
  summary { font-size: 1.02rem; padding-right: 40px; }
  details p { padding-right: 0; }
  .final { padding-top: 90px; }
  .final__strip { margin-top: 60px; height: 180px; }
  .final__track img { width: 150px; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .sticky { display: block; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, rgba(244, 245, 248, 0), rgba(244, 245, 248, 0.96) 40%); transform: translateY(110%); transition: transform 0.25s ease; }
  .sticky.is-on { transform: none; }
}
.undo span { white-space: nowrap; }

/* demo video */
.demo { padding: 120px 0 130px; }
.demo__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.demo__head p { color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.demo__player { display: grid; gap: 18px; }
.browser--demo { position: relative; }
.browser__url { margin-left: 14px; font: 500 0.72rem/1 var(--mono); color: var(--ink-3); }
.demo__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #fff; }
.demo__toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(12, 14, 24, 0.78); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background 0.15s; }
.demo__toggle:hover { background: var(--ink); }
.demo__toggle span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.demo__toggle.is-paused span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.chapters button { position: relative; width: 100%; display: grid; gap: 4px; text-align: left; font: inherit; color: var(--ink-3); background: transparent; border: 0; border-top: 2px solid var(--line); padding: 14px 4px 4px 0; cursor: pointer; overflow: hidden; }
.chapters button::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: var(--p, 0%); background: var(--hot); }
.chapters b { font-weight: 600; font-size: 0.95rem; }
.chapters span { font: 400 0.75rem/1 var(--mono); }
.chapters button:hover { color: var(--ink-2); }
.chapters button.is-on { color: var(--ink); }
@media (max-width: 1100px) { .demo__head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 760px) {
  .demo { padding: 84px 0; }
  .chapters { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .chapters li:last-child { grid-column: span 2; }
  .demo__toggle { right: 10px; bottom: 10px; width: 38px; height: 38px; }
}
.plan__cta.btn--quiet::after { content: "→"; }
@media (max-width: 760px) { .ba__more { display: none; } }
.nav__login { display: none; }
@media (max-width: 760px) { .nav .nav__login { display: block; font-weight: 600; } }

/* chat button: opens the assistant on the new site */
.chat-fab { position: fixed; z-index: 55; right: max(22px, calc(env(safe-area-inset-right, 0px) + 16px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 0; text-decoration: none; color: #fff; }
.chat-fab__icon { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: 0 14px 30px -10px rgba(12, 14, 24, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.7); transition: transform 0.18s ease, background 0.18s ease; }
.chat-fab__icon::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 3px var(--bg); }
.chat-fab__label { font: 600 0.88rem/1 var(--text); background: var(--ink); padding: 12px 16px; border-radius: 999px; margin-right: 10px; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(12, 14, 24, 0.5); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease; }
.chat-fab:hover .chat-fab__icon, .chat-fab:focus-visible .chat-fab__icon { transform: scale(1.06); background: #232638; }
.chat-fab:hover .chat-fab__label, .chat-fab:focus-visible .chat-fab__label, .chat-fab.is-peek .chat-fab__label { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .chat-fab { right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transition: bottom 0.25s ease; }
  .chat-fab__icon { width: 52px; height: 52px; }
  .chat-fab__label { display: none; }
  body.has-sticky .chat-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
