@font-face {
  font-family: "Shatfa Preview";
  src: url("/fonts/shatfa-preview.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ===================================================================== tokens */
:root {
  --bg: #0b0b0c;
  --bg-2: #121213;
  --card: #151516;
  --ink: #efe9dc;
  --ink-2: #b9b2a3;
  --muted: #8a8478;
  --rule: #2a2824;
  --gold: #c8a96a;
  --gold-2: #e6cf9c;
  --gold-ink: #17140d;
  --ok: #7fd1a3;
  --bad: #ff8f84;
  --radius: 18px;
  --display: "Shatfa Preview", "Segoe UI", Tahoma, sans-serif;
  --text: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --head: "Alexandria", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: light) {
  :root[data-theme="light"] { --bg: #f5f1e8; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.85 var(--text); overflow-x: hidden; }
a { color: var(--gold-2); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; position: relative; }
.center { text-align: center; }
button { font: inherit; }

/* ===================================================================== ambient letters */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.drift {
  position: absolute; font-family: var(--display); color: var(--gold);
  opacity: .055; line-height: 1; white-space: nowrap; will-change: transform;
  animation: drift 60s ease-in-out infinite alternate;
}
.d1 { font-size: 34vw; top: -6vw; right: -8vw; animation-duration: 70s; }
.d2 { font-size: 22vw; top: 40vh; left: -4vw; animation-duration: 55s; animation-delay: -12s; opacity: .045; }
.d3 { font-size: 28vw; top: 120vh; right: 10vw; animation-duration: 64s; animation-delay: -30s; }
.d4 { font-size: 18vw; top: 190vh; left: 6vw; animation-duration: 58s; animation-delay: -8s; opacity: .04; }
.d5 { font-size: 30vw; top: 260vh; right: -6vw; animation-duration: 75s; animation-delay: -40s; }
.d6 { font-size: 24vw; top: 330vh; left: 0; animation-duration: 62s; animation-delay: -20s; opacity: .045; }
.d7 { font-size: 26vw; top: 400vh; right: 20vw; animation-duration: 68s; animation-delay: -50s; }
.d8 { font-size: 20vw; top: 470vh; left: 10vw; animation-duration: 57s; animation-delay: -5s; opacity: .04; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(4vw, -6vh, 0) rotate(1.5deg); }
  100% { transform: translate3d(-3vw, 4vh, 0) rotate(-1deg); }
}
.ambient { transform: translateY(calc(var(--scroll, 0) * -0.25px)); }
.grain { position: fixed; inset: -50%; pointer-events: none; z-index: 1; background-image: var(--noise); opacity: .045; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
main, header, footer, .banner { position: relative; z-index: 2; }

/* ===================================================================== header */
.banner { background: #2a2210; color: var(--gold-2); font-size: 13px; padding: 6px 0; text-align: center; letter-spacing: .02em; }
.banner[hidden] { display: none; }
header.top { position: sticky; top: 0; backdrop-filter: blur(14px); background: rgba(11, 11, 12, .72); border-bottom: 1px solid rgba(200, 169, 106, .14); z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { font-family: var(--display); font-size: 32px; color: var(--ink); text-decoration: none; }
.brand.small { font-size: 24px; }
nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--ink-2); text-decoration: none; font: 500 15px var(--head); }
nav a:hover { color: var(--ink); }
nav .nav-cta { color: var(--gold-ink); background: var(--gold); padding: 7px 18px; border-radius: 999px; font-weight: 600; }
nav .nav-cta:hover { color: var(--gold-ink); background: var(--gold-2); }

/* ===================================================================== buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 30px; font: 600 16px var(--head); text-decoration: none; cursor: pointer; border: 0; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.btn.gold { color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a8874a); box-shadow: 0 10px 30px -10px rgba(200, 169, 106, .55); }
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(200, 169, 106, .7); }
.btn.line { color: var(--ink); border: 1px solid rgba(239, 233, 220, .25); background: transparent; }
.btn.line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn.big { font-size: 18px; padding: 16px 36px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ===================================================================== sections */
section { padding: 110px 0; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font: 600 14px var(--head); letter-spacing: .04em; }
.sec-head { margin-bottom: 48px; max-width: 760px; }
.sec-head h2 { margin: 0; font: 700 clamp(30px, 4.4vw, 54px)/1.35 var(--head); letter-spacing: 0; }
.note { color: var(--muted); font-size: 15px; }

/* ===================================================================== hero */
.hero { padding: 90px 0 120px; min-height: min(92vh, 900px); display: flex; align-items: center; }
.hero-word {
  font-family: var(--display); font-size: clamp(120px, 26vw, 330px); line-height: 1.12; margin: 0 0 12px;
  /* solid fill: gradient text (background-clip) shows hairline seams at Arabic joins */
  color: #efdfb8;
  text-shadow: 0 0 1px rgba(255, 240, 210, .6), 0 30px 80px rgba(200, 169, 106, .22);
  animation: glow 7s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { color: #efdfb8; } 50% { color: #f7ecd2; text-shadow: 0 0 1px rgba(255, 240, 210, .8), 0 30px 110px rgba(214, 178, 110, .35); } }
.lede { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.9; color: var(--ink-2); max-width: 680px; margin: 0 0 34px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 18px 40px; margin: 64px 0 0; border-top: 1px solid var(--rule); max-width: 900px; }
.specs div { padding: 18px 0 0; }
.specs dt { color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.specs dd { margin: 4px 0 0; font: 600 17px var(--head); white-space: nowrap; }

/* ===================================================================== mockups */
.brand-input { display: flex; align-items: center; gap: 14px; margin-top: 26px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 520px; }
.brand-input span { color: var(--gold); font: 600 14px var(--head); padding-inline-start: 14px; white-space: nowrap; }
.brand-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: 700 22px var(--display); padding: 8px 4px; }
.scenes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.scene { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.scene figcaption { position: absolute; bottom: 14px; inset-inline-start: 18px; z-index: 20; font-size: 12px; letter-spacing: .14em; color: rgba(239, 233, 220, .7); background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); padding: 4px 12px; border-radius: 999px; }
.mock-text { font-family: var(--display); white-space: nowrap; }

/* --- 1. billboard */
.billboard-scene { grid-column: span 12; height: clamp(380px, 52vw, 620px); background: linear-gradient(180deg, #050913 0%, #0b1530 45%, #1b2440 68%, #2a1e22 100%); }
.billboard-scene .sky { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 70% 85%, rgba(255, 150, 70, .25), transparent 70%), radial-gradient(ellipse 30% 20% at 20% 10%, rgba(120, 140, 255, .12), transparent 70%); }
.skyline { position: absolute; bottom: 18%; left: 0; width: 100%; height: 42%; fill: #05070d; filter: drop-shadow(0 -2px 0 rgba(255, 255, 255, .03)); }
.windows { position: absolute; bottom: 20%; left: 0; width: 100%; height: 34%; background-image: radial-gradient(circle, rgba(255, 210, 140, .55) 1px, transparent 1.5px); background-size: 26px 22px; mask-image: linear-gradient(0deg, #000 30%, transparent 95%); opacity: .45; }
.bokeh i { position: absolute; border-radius: 50%; filter: blur(14px); opacity: .55; animation: bokeh 7s ease-in-out infinite alternate; }
.bokeh i:nth-child(1) { width: 90px; height: 90px; bottom: 6%; left: 8%; background: #ff9b4a; }
.bokeh i:nth-child(2) { width: 60px; height: 60px; bottom: 10%; left: 26%; background: #ff4e4e; animation-delay: -2s; }
.bokeh i:nth-child(3) { width: 120px; height: 120px; bottom: 2%; left: 60%; background: #ffd27a; opacity: .35; animation-delay: -4s; }
.bokeh i:nth-child(4) { width: 70px; height: 70px; bottom: 12%; right: 6%; background: #6fa8ff; animation-delay: -1s; }
.bokeh i:nth-child(5) { width: 40px; height: 40px; bottom: 16%; left: 44%; background: #fff2c4; animation-delay: -3s; }
.bokeh i:nth-child(6) { width: 100px; height: 100px; bottom: -2%; right: 28%; background: #ff7a3d; opacity: .3; animation-delay: -5s; }
@keyframes bokeh { to { transform: translate(18px, -6px) scale(1.12); } }
.pole { position: absolute; bottom: 14%; left: 50%; width: 2.4%; height: 30%; transform: translateX(-50%); background: linear-gradient(90deg, #0d0d10, #2b2b30 50%, #0d0d10); }
.board { position: absolute; left: 50%; top: 9%; width: 70%; aspect-ratio: 3.2 / 1; transform: translateX(-50%) perspective(1400px) rotateY(-14deg) rotateX(2deg); transform-style: preserve-3d; }
.board-face {
  position: absolute; inset: 0; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #1e1a12 0%, #0c0b09 70%);
  border: 10px solid #1c1c1f; box-shadow: inset 0 0 0 2px #333, inset 0 0 60px rgba(0, 0, 0, .8), 0 30px 80px rgba(0, 0, 0, .7), 0 0 120px rgba(230, 207, 156, .18);
  overflow: hidden;
}
.board-face::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 4px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; }
.bb-text { font-size: clamp(36px, 8.4vw, 104px); line-height: 1.2; color: #fff6e0; text-shadow: 0 0 6px rgba(255, 235, 190, .9), 0 0 30px rgba(230, 207, 156, .65), 0 0 90px rgba(230, 160, 80, .45); }
.bb-sub { font-size: clamp(11px, 1.3vw, 16px); color: var(--gold-2); letter-spacing: .08em; opacity: .85; }
.board-lamps { position: absolute; top: -26px; left: 6%; right: 6%; display: flex; justify-content: space-between; }
.board-lamps i { width: 46px; height: 10px; background: #2a2a2e; border-radius: 3px; box-shadow: 0 12px 40px 8px rgba(255, 240, 200, .25); }
.road { position: absolute; bottom: 0; left: 0; right: 0; height: 18%; background: linear-gradient(180deg, #0d0d12, #050507); overflow: hidden; }
.reflection { position: absolute; left: 50%; top: 0; transform: translateX(-50%) scaleY(-1) skewX(-8deg); font-size: clamp(36px, 8.4vw, 104px); color: #f5d79a; opacity: .18; filter: blur(5px); mask-image: linear-gradient(0deg, transparent 10%, #000 100%); }

/* --- 2. reels */
.reels-scene { grid-column: span 5; height: 640px; background: radial-gradient(circle at 30% 20%, #2b2417, #0d0c0a 70%); display: flex; align-items: center; justify-content: center; }
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #3a3a3e, #121214 40%, #2a2a2e); box-shadow: 0 0 0 2px #050505, 0 50px 90px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-4deg); }
.notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 20px; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.reel-bg { position: absolute; inset: -20%; background: conic-gradient(from 0deg at 40% 60%, #6b3d1f, #1d1410, #a0703a, #2b1a12, #6b3d1f); animation: spin 18s linear infinite; filter: blur(30px) saturate(1.2); }
@keyframes spin { to { transform: rotate(360deg); } }
.reel-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; gap: 4px; }
.kicker { align-self: flex-start; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 6px; animation: rise 4s ease-in-out infinite; }
.reel-title { font-size: 46px; line-height: 1.35; color: #fff; white-space: normal; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); animation: rise 4s ease-in-out infinite .15s; }
.reel-line { color: rgba(255, 255, 255, .85); font-size: 14px; animation: rise 4s ease-in-out infinite .3s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(18px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.reel-ui { position: absolute; left: 12px; bottom: 90px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 11px; }
.reel-ui svg { width: 26px; height: 26px; fill: #fff; margin-top: 10px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.reel-ui b { font-weight: 600; }
.reel-user { position: absolute; bottom: 40px; right: 16px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; direction: ltr; }
.reel-user i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), #7a5a2a); border: 2px solid #fff; }
.reel-progress { position: absolute; bottom: 22px; left: 16px; right: 16px; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 3px; overflow: hidden; }
.reel-progress i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: right; animation: prog 4s linear infinite; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- 3. magazine */
.mag-scene { grid-column: span 7; height: 640px; perspective: 1600px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 60% 30%, #3a2f22, #17120d 75%), var(--noise); background-blend-mode: overlay; }
.mag { position: relative; width: 340px; height: 460px; transform: rotateX(18deg) rotateZ(-9deg) rotateY(6deg); transform-style: preserve-3d; box-shadow: -30px 50px 60px -10px rgba(0, 0, 0, .75); }
.mag-cover { position: absolute; inset: 0; background: linear-gradient(160deg, #efe6d3, #dccfb4); color: #141210; padding: 18px 20px; overflow: hidden; }
.mag-mast { font-family: var(--display); font-size: 74px; line-height: 1; color: #8c2f1d; }
.mag-issue { font-size: 11px; letter-spacing: .1em; border-top: 2px solid #141210; border-bottom: 1px solid #141210; padding: 2px 0; margin-top: 6px; }
.mag-art { position: absolute; left: -70px; bottom: 40px; width: 280px; height: 280px; z-index: 0; }
.mag-art i:nth-child(1) { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #c8a96a, #7a5025 70%); opacity: .85; }
.mag-art i:nth-child(2) { position: absolute; width: 54px; height: 54px; right: 70px; top: 196px; transform: rotate(45deg); border-radius: 8px; background: #8c2f1d; }
.mag-head { position: absolute; z-index: 2; right: 18px; top: 140px; font-size: 54px; line-height: 1.3; white-space: normal; max-width: 300px; color: #141210; }
.mag-lines { position: absolute; z-index: 2; right: 20px; bottom: 54px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.6; max-width: 190px; font-weight: 700; }
.mag-lines li { border-top: 1px solid rgba(20, 18, 16, .4); padding: 4px 0; }
.barcode { position: absolute; left: 18px; bottom: 16px; width: 70px; height: 34px; background: repeating-linear-gradient(90deg, #141210 0 2px, transparent 2px 3px, #141210 3px 4px, transparent 4px 7px); border: 4px solid #fff; }
.mag-gloss { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .12)); pointer-events: none; }

/* --- 4. shop sign */
.shop-scene { grid-column: span 12; height: clamp(360px, 46vw, 560px); background: #0a0908; }
.facade { position: absolute; inset: 0 0 16% 0; background:
  linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .55)),
  repeating-linear-gradient(0deg, #2b2620 0 58px, #241f1a 58px 60px),
  var(--noise); background-blend-mode: normal, normal, overlay; }
.sign { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); padding: 2% 6%; border-radius: 8px; background: linear-gradient(180deg, #16130f, #0c0a08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 50px rgba(0, 0, 0, .6); }
.sign-text { display: block; font-size: clamp(40px, 8vw, 110px); line-height: 1.25; color: #fff3d6; text-shadow: 0 0 2px #fff, 0 0 18px rgba(255, 214, 140, .9), 0 0 60px rgba(255, 170, 70, .55), 0 18px 90px rgba(255, 150, 60, .35); animation: neon 6s ease-in-out infinite; }
@keyframes neon { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .82; } 49% { opacity: 1; } }
.awning { position: absolute; top: 56%; left: 12%; right: 12%; height: 9%; background: repeating-linear-gradient(90deg, #6e2a1c 0 34px, #e9dcc3 34px 68px); clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%); box-shadow: 0 16px 30px rgba(0, 0, 0, .6); filter: brightness(.75); }
.storefront { position: absolute; top: 65%; left: 14%; right: 14%; bottom: 0; display: grid; grid-template-columns: 1fr 2fr 2fr; gap: 3%; }
.storefront i { display: block; background: linear-gradient(180deg, rgba(255, 196, 120, .55), rgba(255, 150, 80, .25)); box-shadow: inset 0 0 0 6px #18140f, 0 0 60px rgba(255, 170, 80, .25); }
.storefront .door { background: linear-gradient(180deg, rgba(255, 196, 120, .4), rgba(120, 80, 40, .3)); }
.pavement { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, #2a1d12, #0a0806); box-shadow: inset 0 18px 40px rgba(255, 170, 80, .15); }

/* ===================================================================== why */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.reasons article { border-top: 1px solid rgba(200, 169, 106, .45); padding-top: 22px; }
.reasons .num { font: 700 15px var(--head); color: var(--gold); }
.reasons h3 { margin: 10px 0 10px; font: 700 23px/1.45 var(--head); }
.reasons p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.95; }

/* ===================================================================== tester */
.tester { background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.tester textarea { width: 100%; resize: vertical; font: 18px var(--text); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 16px; background: var(--bg); color: var(--ink); }
.tester .controls { display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.tester input[type=range] { width: 220px; accent-color: var(--gold); }
.chips { display: flex; gap: 8px; margin-inline-start: auto; flex-wrap: wrap; }
.chips button { background: transparent; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 14px; font-size: 13px; cursor: pointer; }
.chips button:hover { border-color: var(--gold); color: var(--gold-2); }
.tester .out { font-family: var(--display); font-size: 110px; line-height: 1.55; overflow-wrap: anywhere; min-height: 1.6em; color: var(--ink); }

/* ===================================================================== alphabet */
.alphabet { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); border-top: 1px solid var(--rule); border-inline-start: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.alphabet span { background: var(--bg); border-bottom: 1px solid var(--rule); border-inline-end: 1px solid var(--rule); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 58px; color: var(--ink); transition: background .3s, color .3s; }
.alphabet span:hover { background: #18150f; color: var(--gold-2); }

/* ===================================================================== plans + checkout */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, transform .25s; }
.plan:hover { transform: translateY(-2px); border-color: rgba(200, 169, 106, .5); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 20px 50px -30px rgba(200, 169, 106, .6); }
.plan .fam { font: 600 13px var(--head); color: var(--gold); }
.plan .t { font: 700 24px/1.4 var(--head); margin-top: 4px; }
.plan .d { color: var(--muted); font-size: 14px; }
.plan .p { font: 800 42px/1.2 var(--head); margin-top: 18px; direction: ltr; text-align: right; letter-spacing: -.01em; }
.plan .badge { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--gold); color: var(--gold-ink); font: 700 12px var(--head); padding: 2px 12px; border-radius: 999px; }

form.checkout { margin-top: 56px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; max-width: 860px; }
form.checkout h3 { margin: 0 0 16px; font: 700 20px var(--head); }
form.checkout h3:not(:first-child) { margin-top: 30px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
form.checkout label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
form.checkout small { color: var(--muted); }
form.checkout input[type=text], form.checkout input[type=email], form.checkout select {
  font: 16px var(--text); padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); color: var(--ink);
}
form.checkout input:focus, form.checkout select:focus { outline: 0; border-color: var(--gold); }
.methods { display: grid; gap: 10px; }
.method { position: relative; flex-direction: column; border: 1px solid var(--rule); border-radius: 14px; padding: 14px 18px 14px 18px; padding-inline-start: 48px; cursor: pointer; }
.method[hidden] { display: none; }
.method input { position: absolute; inset-inline-start: 18px; top: 18px; accent-color: var(--gold); width: 18px; height: 18px; }
.method:has(input:checked) { border-color: var(--gold); background: rgba(200, 169, 106, .06); }
.m-title { color: var(--ink); font: 600 16px var(--head); }
.m-sub { color: var(--muted); font-size: 13px; }
form.checkout .agree { flex-direction: row; align-items: center; gap: 10px; color: var(--ink); margin-top: 24px; }
.agree input { accent-color: var(--gold); width: 18px; height: 18px; }
.pay-row { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.trust { margin: 0; color: var(--muted); font-size: 13px; max-width: 380px; }
.err { color: var(--bad); font-size: 14px; min-height: 1.4em; margin-top: 10px; }

/* ===================================================================== faq + footer */
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; max-width: 820px; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font: 600 18px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }
footer { padding: 40px 0 60px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ===================================================================== order / mock / licence pages */
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 36px; max-width: 640px; margin: 64px auto; }
.status { font: 700 24px/1.5 var(--head); }
.status.ok { color: var(--ok); }
.status.bad { color: var(--bad); }
.row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--rule); padding: 10px 0; font-size: 15px; }
.row span:first-child { color: var(--muted); }
.mockpay { border: 1px dashed var(--gold); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.doc { max-width: 820px; padding: 40px 0 80px; }
.doc h2 { font-size: 30px; } .doc h3 { color: var(--gold-2); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--rule); padding: 8px 12px; text-align: start; vertical-align: top; }
.doc blockquote { margin: 0; padding: 12px 16px; background: #221c10; color: var(--gold-2); border-radius: 12px; }

/* ===================================================================== responsive */
@media (max-width: 980px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .reels-scene, .mag-scene { grid-column: span 12; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  nav a:not(.nav-cta) { display: none; }
  .specs { grid-template-columns: 1fr 1fr; }
  .plans, .grid, .reasons { grid-template-columns: 1fr; }
  form.checkout { padding: 22px; }
  .tester .out { font-size: 64px; }
  .reels-scene, .mag-scene { height: 560px; }
  .mag { transform: rotateX(14deg) rotateZ(-6deg) scale(.86); }
  .phone { transform: rotate(-3deg) scale(.88); }
  .board { width: 88%; }
  .alphabet { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .alphabet span { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
