:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --muted: #8a8a8a;
  --line: #ececec;
  --soft: #f6f6f6;
  --accent: #ff5a1f;
  --accent-soft: #fff1eb;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { background: var(--bg); }
body { margin: 0; background: transparent; color: var(--ink); font: 500 15px/1.4 var(--font); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Urban-art background */
.urban { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.urban path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: draw 10s var(--d) ease-in-out infinite; }
.urban .ink path { stroke: var(--ink); opacity: .07; }
.urban .hot path { stroke: var(--accent); opacity: .16; stroke-width: 4; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 30%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.top, main { position: relative; z-index: 1; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; padding: 20px 16px; max-width: 1280px; margin: 0 auto; }
.brand { font-weight: 900; letter-spacing: -.02em; font-size: 17px; text-transform: uppercase; }
.brand::after { content: "."; color: var(--accent); }
.top-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; padding: 11px 18px; border-radius: 99px; background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(255,90,31,.7); transition: transform .15s, box-shadow .15s; }
.top-link:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(255,90,31,.8); }
.top-link .pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

/* AI channel CTA */
.ai-cta { margin: 30px 16px 0; padding: clamp(28px, 6vw, 56px); border-radius: 28px; background: var(--ink); color: #fff; display: grid; gap: 22px; position: relative; overflow: hidden; }
.ai-cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.55), transparent 65%); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-60px, 60px) scale(1.15); } }
.ai-cta h2 { position: relative; margin: 0; font-weight: 900; font-size: clamp(34px, 7vw, 72px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.ai-cta h2 span { color: var(--accent); }
.ai-cta a { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 900; font-size: 16px; transition: transform .15s; }
.ai-cta a:hover { transform: scale(1.04); }

main { max-width: 1280px; margin: 0 auto; padding-bottom: 60px; }

/* Hero */
.hero { padding: 36px 16px 40px; }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 10vw, 96px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 span { color: var(--accent); }
.prices { margin: 22px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.prices b { color: var(--ink); font-weight: 800; font-size: 18px; }
.prices i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin: 0 4px; }
.prices em { font-style: normal; }

/* Rows */
.row { margin-bottom: 34px; }
.row-head { display: flex; align-items: baseline; gap: 10px; padding: 0 16px; margin-bottom: 12px; }
.row-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.row-head span { font-size: 13px; font-weight: 600; color: var(--muted); }
.live { color: var(--accent) !important; }

.rail-wrap { position: relative; }
.nav { position: absolute; z-index: 2; top: 4px; bottom: 14px; width: 56px; border: 0; cursor: pointer; display: none; place-items: center; color: var(--ink);
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0)); opacity: 0; transition: opacity .2s; }
.nav.next { right: 0; background: linear-gradient(270deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.nav.prev { left: 0; }
.nav span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.15); font-size: 18px; font-weight: 900; transition: transform .15s; }
.nav:hover span { transform: scale(1.08); background: var(--accent); color: #fff; }
.nav[hidden] { display: none !important; }
.nav { pointer-events: none; }
.nav span { pointer-events: auto; }
.sheet[hidden], .backdrop[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .nav { display: grid; }
  .rail-wrap:hover .nav, .nav:focus-visible { opacity: 1; }
}
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; scrollbar-width: none; scroll-padding: 16px; }
.rail::-webkit-scrollbar { display: none; }

.card {
  flex: none; width: 148px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; position: relative;
  scroll-snap-align: start; border: 0; padding: 0; cursor: pointer; text-align: left; color: #fff;
  background: var(--thumb, linear-gradient(170deg, var(--c, #333), #0b0b0b));
  background-size: cover; background-position: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
@media (min-width: 700px) { .card { width: 188px; border-radius: 16px; } .rail { gap: 14px; } }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 55%); }
.card:hover:not(:disabled) { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); }
.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.card:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .45; }
.card .num { position: absolute; top: 10px; left: 12px; z-index: 1; font-weight: 900; font-size: 13px; letter-spacing: .02em; }
.card .slots { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 11px; font-weight: 800; background: var(--accent); color: #fff; padding: 4px 8px; border-radius: 99px; }
.card:disabled .slots { background: #000; }
.card .meta { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; }
.card .meta b { display: block; font-size: 15px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.card .meta span { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; opacity: .8; }
.card.skel { background: var(--soft); cursor: default; animation: pulse 1.2s infinite ease-in-out; }
.card.skel::after { display: none; }
@keyframes pulse { 50% { opacity: .5; } }
.empty { padding: 20px 16px; color: var(--muted); font-weight: 600; }

/* Sheet */
.backdrop { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.backdrop.open { opacity: 1; }
.sheet {
  position: fixed; z-index: 11; inset: auto 0 0 0; max-height: 94vh; overflow-y: auto; background: #fff;
  border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: grid; grid-template-columns: 1fr;
}
.sheet.open { transform: none; }
.close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; }
.close:hover { background: var(--line); }

.stage { background: var(--soft); display: grid; place-items: center; padding: 20px 16px 18px; }
.panel { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }

@media (min-width: 860px) {
  .sheet { inset: 50% auto auto 50%; width: min(940px, calc(100vw - 48px)); max-height: calc(100vh - 48px); border-radius: 28px;
    grid-template-columns: 400px 1fr; transform: translate(-50%, -48%) scale(.98); opacity: 0; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s; overflow: hidden; }
  .sheet.open { transform: translate(-50%, -50%); opacity: 1; }
  .stage { padding: 36px 24px; }
  .panel { padding: 40px 36px; overflow-y: auto; max-height: calc(100vh - 48px); }
}

/* iPhone 18 Pro Max mockup */
.phone {
  --w: min(150px, 38vw);
  width: var(--w); aspect-ratio: 1320 / 2868; border-radius: calc(var(--w) * .17); padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e 40%, #2c2c2e 70%, #48484a);
  box-shadow: inset 0 0 0 1.5px #5a5a5c, inset 0 0 0 4px #121212, 0 30px 60px -20px rgba(0,0,0,.45), 0 10px 20px -10px rgba(0,0,0,.3);
  position: relative;
}
@media (min-width: 860px) { .phone { --w: 290px; } }
.island { position: absolute; z-index: 4; top: calc(var(--w) * .06); left: 50%; transform: translateX(-50%); width: 30%; height: calc(var(--w) * .085); border-radius: 99px; background: #000; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #111; }
.reel { position: absolute; inset: 0; background: var(--thumb, linear-gradient(170deg, var(--c, #333), #0b0b0b)); background-size: cover; background-position: center; }
.reel-scene { position: absolute; inset: 0; }
.reel-scene:empty { display: none; }
.reel-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 45%); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 45%); }
.reel-meta { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 7%; color: #fff; }
.reel-meta b { display: block; font-weight: 800; font-size: calc(var(--w) * .058); line-height: 1.1; }
.reel-meta span { display: block; font-size: calc(var(--w) * .042); font-weight: 600; opacity: .8; margin-top: 2px; }

.ad-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ad-slot { position: absolute; z-index: 2; display: grid; place-items: center; border: 2px dashed rgba(255,255,255,.7); color: #fff; font-weight: 800; font-size: calc(var(--w) * .045); text-transform: uppercase; letter-spacing: .06em; border-radius: 12px; background: rgba(255,90,31,.25); transition: all .3s cubic-bezier(.2,.8,.2,1); opacity: 0; }
.screen[data-type="image"] .ad-slot { opacity: 1; top: 13%; right: 6%; width: 34%; aspect-ratio: 1; }
.screen[data-type="video"] .ad-slot { opacity: 1; inset: 0; border-radius: 0; border: 0; background: rgba(255,90,31,.35); }
.screen.has-asset .ad-slot { opacity: 0; pointer-events: none; }
.ad-logo { position: absolute; z-index: 2; top: 13%; right: 6%; width: 34%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.tag { position: absolute; z-index: 3; top: 13%; left: 7%; font-size: calc(var(--w) * .036); font-weight: 800; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 99px; }

/* Panel content */
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.panel h3 { margin: 0 44px 20px 0; font-size: 30px; font-weight: 900; letter-spacing: -.035em; line-height: 1; }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.type { position: relative; padding: 14px; border-radius: 16px; border: 2px solid var(--line); cursor: pointer; display: grid; gap: 2px; transition: border-color .15s, background .15s; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type b { font-weight: 800; font-size: 15px; }
.type > span { font-weight: 600; color: var(--muted); font-size: 13px; }
.type small { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.type:hover { border-color: #d6d6d6; }
.type:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.type:has(input:checked) > span { color: var(--accent); }
.type:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.type.off { opacity: .35; pointer-events: none; }

#reveal { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.proof div { animation: rise .4s ease both; }
.proof div:nth-child(2) { animation-delay: .06s; } .proof div:nth-child(3) { animation-delay: .12s; }
.proof b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.03em; color: var(--accent); }
.proof span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.25; }

.est { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.est small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.est b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }

.drop { display: grid; place-items: center; gap: 2px; padding: 18px; border: 2px dashed var(--line); border-radius: 16px; cursor: pointer; margin-bottom: 10px; text-align: center; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop.has { border-style: solid; border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop b { font-weight: 800; font-size: 14px; word-break: break-all; }
.drop small { font-size: 12px; color: var(--muted); font-weight: 600; }

.in { width: 100%; display: block; margin-bottom: 8px; padding: 13px 14px; border: 2px solid var(--soft); border-radius: 14px; background: var(--soft); font-size: 16px; font-weight: 600; outline: none; transition: border-color .15s, background .15s; }
.in::placeholder { color: #ababab; }
.in:focus { border-color: var(--accent); background: #fff; }
.err { color: var(--accent); font-size: 13px; font-weight: 700; min-height: 18px; margin: 4px 0 8px; }

.btn { width: 100%; padding: 16px; border-radius: 99px; border: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em; cursor: pointer; transition: transform .1s, filter .15s; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: var(--soft); color: var(--ink); }

.summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 20px; font-size: 14px; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.note { margin: 0 0 6px; font-weight: 700; }
.ref { margin: 0 0 20px; color: var(--muted); font-size: 13px; font-weight: 600; }
.ref code { color: var(--ink); font-weight: 800; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
