/* ==========================================================================
   Gild: shared styles
   Foundation: Penumbra (black stage, gold key light, violet rim light,
   Unbounded + Hanken Grotesk). Studio: Wildcard's tools, redesigned as an atelier.
   Hebrew (the default, RTL): Rubik for display, Heebo for text, Bellefair for engraved
   signatures. Layout uses logical properties (inline-start/end), so it mirrors on its own;
   the few physical exceptions are marked. Card faces stay left-to-right in both languages,
   like a real card.
   ========================================================================== */

/* The web fonts draw the shekel sign poorly: send only U+20AA to a system font that has it.
   A bold face is declared too: without it, bold text (buttons, the buy bar) drew ₪ as an empty box in Chromium. */
@font-face { font-family: "ILS"; font-weight: 100 500; src: local("Segoe UI"), local("SegoeUI"), local("Helvetica Neue"), local("Arial"), local("ArialMT"); unicode-range: U+20AA; }
@font-face { font-family: "ILS"; font-weight: 600 900; src: local("Segoe UI Bold"), local("SegoeUI-Bold"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT"); unicode-range: U+20AA; }

:root {
  --void: #000;
  --deep: #0b0d1a;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(237, 239, 247, .12);
  --line-2: rgba(237, 239, 247, .22);
  --star: #edeff7;
  --haze: #9097ad;
  --gold: #f2c879;
  --gold-hi: #ffe2a6;
  --violet: #8f7cff;
  --ok: #4ade80; --warn: #ffd60a; --bad: #ff7a70;
  --display: "ILS", "Unbounded", "Rubik", "Segoe UI", sans-serif;
  --body: "ILS", "Hanken Grotesk", "Heebo", -apple-system, "Segoe UI", sans-serif;
  --brand: "Unbounded", "Segoe UI", sans-serif;
  /* card art looks the same in every language; the Hebrew and Arabic faces only fill in their own letters */
  --card-display: "Unbounded", "Rubik", "Noto Kufi Arabic", sans-serif;
  --card-body: "Hanken Grotesk", "Heebo", "Noto Sans Arabic", sans-serif;
  --card-script: "Pinyon Script", "Bellefair", "Segoe Script", cursive;
  --hero-x: 66%;   /* where the hero card stands; mirrored in RTL */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --r-card: 4.6% / 7.3%;
}
html[lang="he"] {
  --display: "ILS", "Rubik", "Unbounded", "Segoe UI", sans-serif;
  --body: "ILS", "Heebo", "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
}
html[dir="rtl"] { --hero-x: 34%; }
/* other languages: hidden for a moment while their copy goes in (see assets/lang.js) */
html.i18n-wait body { visibility: hidden; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--void); scroll-padding-top: 90px; }
body { font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--star); background: var(--void); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: #120d02; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- type */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; font-size: clamp(42px, 5.6vw, 84px); }
.h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(30px, 4vw, 56px); }
.h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.copy { color: var(--haze); font-size: clamp(17px, 1.35vw, 19px); max-width: 44ch; }
.copy strong { color: var(--star); font-weight: 500; }
html[lang="he"] :is(.display, .h2, .h3, .sheet__title, .empty h2) { letter-spacing: 0; }
html[lang="he"] .hero__copy .display { max-width: 11ch; }
html[lang="he"] .display { line-height: 1.08; font-weight: 500; }
html[lang="he"] .h2 { line-height: 1.12; font-weight: 500; }
html[lang="he"] :is(.h3, .sheet__title) { font-weight: 500; }
.label { display: block; font-size: 14px; font-weight: 600; color: var(--star); margin: 18px 0 8px; }
.hint { font-size: 13px; color: var(--haze); margin-top: 6px; }

/* ------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; color: #120d02;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #c99a48);
  box-shadow: 0 0 0 1px rgba(255, 226, 166, .5), 0 16px 40px -18px rgba(242, 200, 121, .7);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 226, 166, .75), 0 22px 50px -18px rgba(242, 200, 121, .85); }
.btn:active { transform: translateY(0); }
.btn--ghost { color: var(--star); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(237, 239, 247, .5); background: rgba(255, 255, 255, .07); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--wide { width: 100%; margin-top: 22px; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: #120d02; animation: spin .7s linear infinite; }
.btn--ghost.is-loading::after { border-color: rgba(255, 255, 255, .25); border-top-color: var(--star); }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--gold); font-weight: 500; text-underline-offset: 4px; }
.link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background .4s, padding .4s, box-shadow .4s; }
.nav.is-solid, .nav.is-open { background: rgba(0, 0, 0, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 32px; }
.logo { font-family: var(--brand); font-weight: 600; font-size: 16px; letter-spacing: .34em; display: flex; align-items: center; gap: 12px; color: var(--star); }
.logo svg { width: 22px; height: 22px; color: var(--gold); }
.nav__links { margin-inline-start: auto; display: flex; gap: 28px; font-size: 14px; color: var(--haze); }
.nav__links a { padding-block: 8px; }   /* 24px+ touch targets (WCAG 2.2) */
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--star); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--haze); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; }
.lang-switch:hover { color: var(--star); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; flex-shrink: 0; }

.nav__menu { display: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); place-items: center; }
.nav__menu span, .nav__menu span::before, .nav__menu span::after { display: block; width: 16px; height: 1.6px; background: var(--star); position: relative; transition: transform .3s var(--ease), background .3s; }
.nav__menu span::before, .nav__menu span::after { content: ""; position: absolute; left: 0; }
.nav__menu span::before { top: -5px; } .nav__menu span::after { top: 5px; }
.nav.is-open .nav__menu span { background: transparent; }
.nav.is-open .nav__menu span::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__menu span::after { transform: translateY(-5px) rotate(-45deg); }

/* ================================================================ CARD ART */
.face { direction: ltr; font-family: var(--card-body); position: relative; aspect-ratio: 1.586; border-radius: var(--r-card); overflow: hidden; container-type: inline-size; isolation: isolate; background: #111; }
.art { position: absolute; inset: 0; --pat: var(--accent); --txt: var(--accent); --chrome: rgba(255, 246, 228, .72); }
.art.is-light { --pat: color-mix(in oklab, var(--accent) 38%, #2a1d08); --txt: color-mix(in oklab, var(--accent) 30%, #2a1d08); --chrome: rgba(40, 28, 10, .6); }
.art__base { position: absolute; inset: 0; background: var(--fin, #111); background-size: cover; background-position: center; }
.art__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.art__dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.art__pattern { position: absolute; inset: 0; display: none; background: var(--pat); opacity: var(--po, .5); -webkit-mask: var(--mask); mask: var(--mask); }
.art__fx { position: absolute; inset: 0; display: none; }
.art__emblem { position: absolute; z-index: 2; right: 7%; top: 10%; width: 12cqi; height: 12cqi; color: var(--pat); }
.art__name { unicode-bidi: plaintext; position: absolute; z-index: 2; left: 7%; bottom: 20%; max-width: 80%; color: var(--txt); line-height: 1.05; overflow-wrap: anywhere; }
.art__chrome { position: absolute; z-index: 2; inset: auto 7% 7.5% 7%; display: flex; justify-content: space-between; align-items: center; color: var(--chrome); font-size: 3.6cqi; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.art__tap { width: 6cqi; height: 6cqi; }
.art.is-image .art__chrome { display: none; }
.art.has-photo { --chrome: rgba(255, 255, 255, .85); --txt: color-mix(in oklab, var(--accent) 85%, #fff); }
.face::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 236, 196, .16), inset 0 1px 0 rgba(255, 255, 255, .22); }
.spec { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(38% 58% at var(--sx, 30%) var(--sy, 18%), rgba(255, 244, 220, .42), transparent 70%), linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .06) 48%, transparent 56%); }

/* finishes */
.fi-obsidian  { --fin: radial-gradient(120% 90% at 18% 0%, #25242d, #060609 62%); }
.fi-midnight  { --fin: radial-gradient(130% 100% at 20% 0%, #1f2c56, #070b1c 66%); }
.fi-graphite  { --fin: linear-gradient(150deg, #42444c, #18191d 72%); }
.fi-amethyst  { --fin: radial-gradient(120% 100% at 80% 0%, #5b3cae, #160c32 72%); }
.fi-bordeaux  { --fin: radial-gradient(120% 100% at 80% 0%, #74193a, #1d0710 72%); }
.fi-emerald   { --fin: radial-gradient(120% 100% at 20% 0%, #156652, #04150f 72%); }
.fi-champagne { --fin: linear-gradient(112deg, #b38f55 0%, #e9d3a2 28%, #f8ebd2 44%, #c6a56b 62%, #e6cf9e 80%, #a5824a 100%); }
.fi-ivory     { --fin: radial-gradient(120% 100% at 25% 0%, #fffdf8, #ece6d8 60%, #dcd2bf); }

/* patterns: one colored layer, shaped by a mask, so every pattern takes the accent color */
.pt-circuit .art__pattern { display: block; --po: .85; --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 202'%3E%3Cg fill='none' stroke='%23000' stroke-width='.9'%3E%3Cpath d='M0 150h70l18-18h62l12 12h40'/%3E%3Cpath d='M0 164h86l14 14h92'/%3E%3Cpath d='M320 40h-60l-16 16h-48l-10-10h-44'/%3E%3Cpath d='M320 58h-46l-12 12h-70'/%3E%3Cpath d='M222 202v-30l14-14h84'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='202' cy='144' r='2.4'/%3E%3Ccircle cx='192' cy='178' r='2.4'/%3E%3Ccircle cx='142' cy='46' r='2.4'/%3E%3Ccircle cx='192' cy='70' r='2.4'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; }
.pt-guilloche .art__pattern { display: block; --po: .34; --mask: repeating-radial-gradient(circle at 22% 50%, transparent 0 5px, #000 5px 6px), repeating-radial-gradient(circle at 78% 50%, transparent 0 5px, #000 5px 6px); }
.pt-pinstripe .art__pattern { display: block; --po: .3; --mask: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 13px); }
.pt-carbon .art__pattern { display: block; --po: .16; --mask: linear-gradient(45deg, #000 25%, transparent 25% 75%, #000 75%) 0 0 / 9px 9px, linear-gradient(45deg, #000 25%, transparent 25% 75%, #000 75%) 4.5px 4.5px / 9px 9px; }
.pt-monogram .art__pattern { display: block; --po: .2; --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Ccircle cx='22' cy='22' r='9' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3Cpath d='M22 13a9 9 0 0 1 0 18' fill='%23000'/%3E%3C/svg%3E") 0 0 / 11% auto; }
.pt-contour .art__pattern { display: block; --po: .36; --mask: repeating-radial-gradient(ellipse at 30% 72%, transparent 0 10px, #000 10px 11px), repeating-radial-gradient(ellipse at 85% 15%, transparent 0 13px, #000 13px 14px); }
.pt-rays .art__pattern { display: block; --po: .42; --mask: radial-gradient(circle at 76% 46%, transparent 0 9%, #000 9% 100%), repeating-conic-gradient(from 0deg at 76% 46%, #000 0 .7deg, transparent .7deg 6deg); -webkit-mask-composite: source-in; mask-composite: intersect; }
.pt-grid .art__pattern { display: block; --po: .26; --mask: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 16px), repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 16px); }
.pt-checker .art__pattern { display: block; --po: .3; --mask: conic-gradient(#000 25%, transparent 0 50%, #000 0 75%, transparent 0) 0 0 / 10% 15.86%; }
.pt-aurora .art__fx { display: block; mix-blend-mode: screen; opacity: .9;
  background: radial-gradient(70% 45% at 34% 38%, rgba(80, 255, 200, .5), transparent 70%), radial-gradient(60% 50% at 72% 64%, color-mix(in oklab, var(--accent) 55%, #8f7cff), transparent 70%); }
.pt-iris .art__fx { display: block; mix-blend-mode: screen; opacity: .62;
  background: radial-gradient(80% 90% at 80% 110%, rgba(0, 0, 0, .7), transparent 60%), conic-gradient(from 210deg at 30% 38%, #ff9ad5, #8f7cff, #5fd8ff, #b8ffb0, #ffd36b, #ff9ad5); }
.is-light.pt-aurora .art__fx, .is-light.pt-iris .art__fx { mix-blend-mode: multiply; opacity: .45; }

/* engraving */
.ns-display .art__name { font-family: var(--card-display); font-weight: 500; font-size: 6.6cqi; letter-spacing: .01em; }
.ns-classic .art__name { font-family: var(--card-body); font-weight: 600; font-size: 4.4cqi; letter-spacing: .24em; text-transform: uppercase; }
.ns-signature .art__name { font-family: var(--card-script); font-size: 11.5cqi; line-height: 1; }
.nf-foil .art__name {
  background: linear-gradient(100deg, color-mix(in oklab, var(--txt) 55%, #fff) 0%, var(--txt) 38%, color-mix(in oklab, var(--txt) 60%, #4a3010) 58%, color-mix(in oklab, var(--txt) 70%, #fff) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf-emboss .art__name { color: rgba(255, 255, 255, .1); text-shadow: 0 1px 0 rgba(255, 255, 255, .22), 0 -1px 0 rgba(0, 0, 0, .7); }
.is-light.nf-emboss .art__name { color: rgba(0, 0, 0, .06); text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(0, 0, 0, .28); }
.np-center .art__name { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); text-align: center; max-width: 84%; }

/* ---------------------------------------------------------------- 3D card */
.scene { position: relative; perspective: 1400px; }
.card3d { position: relative; aspect-ratio: 1.586; transform-style: preserve-3d; will-change: transform; }
.slab { position: absolute; inset: 0; border-radius: var(--r-card); background: linear-gradient(100deg, #3b2f17, #d7b06a 45%, #f6e1ae 50%, #a8823f 56%, #2c2312); }
.card3d .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(.2px); }
.floor { position: absolute; left: 8%; right: 8%; top: 108%; height: 54px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(50% 50% at var(--fx, 50%) 50%, rgba(242, 200, 121, .3), transparent 70%); filter: blur(16px); }

/* flat card (gallery tiles) */
.flatcard { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .4s; box-shadow: 0 28px 50px -28px rgba(0, 0, 0, 1); }
.flatcard .spec { opacity: .35; transition: opacity .4s; }
.flatcard:hover .spec { opacity: 1; }

/* ================================================================== HOME */
.hero { position: relative; min-height: max(680px, 100svh); overflow: hidden; isolation: isolate; }
[dir="rtl"] .hero__light { transform: scaleX(-1); }
.hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(36% 46% at 66% 30%, rgba(242, 200, 121, .2), transparent 70%), radial-gradient(30% 40% at 90% 72%, rgba(143, 124, 255, .18), transparent 70%), radial-gradient(40% 50% at 8% 90%, rgba(143, 124, 255, .08), transparent 70%); }
.hero__beam { position: absolute; z-index: -1; top: -10%; left: var(--hero-x); width: 70vw; height: 120%; translate: -50%; pointer-events: none; filter: blur(18px);
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, rgba(242, 200, 121, .15) 178deg, rgba(255, 240, 210, .22) 180deg, rgba(242, 200, 121, .15) 182deg, transparent 192deg); }
.hero .scene { position: absolute; left: var(--hero-x); top: 42%; translate: -50% -50%; width: min(540px, 40vw); touch-action: pan-y; }
html.js .hero .scene { animation: arrive 1.1s var(--ease) 0s both; }
@keyframes arrive { from { opacity: 0; transform: translateY(34px) scale(.965); filter: blur(7px); } }
.hero__copy { position: absolute; inset: auto 0 clamp(48px, 9vh, 96px); }
.hero__copy .display { max-width: 9.5ch; }
.hero__copy .copy { margin-top: 22px; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--haze); list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
html.js .hero__copy .wrap > * { animation: rise .65s var(--ease) both; }
html.js .hero__copy .copy { animation-delay: .06s; } html.js .hero__cta { animation-delay: .14s; } html.js .hero__trust { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }

/* two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.path { position: relative; overflow: hidden; border-radius: 30px; padding: 36px; background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.path__stage { height: 300px; display: grid; place-items: center; }
.path__stage .scene { width: min(360px, 80%); }
.path p { color: var(--haze); max-width: 40ch; }
.path__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.fan { position: relative; width: 100%; height: 100%; }
.fan .flatcard { position: absolute; width: 58%; left: 21%; top: 22%; transform-origin: 50% 260%; box-shadow: 0 30px 50px -24px #000; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.steps b { display: block; font-family: var(--display); font-weight: 300; font-size: 44px; color: var(--gold); line-height: 1; }
.steps h3 { margin-top: 18px; font-size: 20px; font-weight: 600; }
.steps p { color: var(--haze); margin-top: 6px; max-width: 32ch; }

/* sealed */
.sealed { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.layers { position: relative; height: 400px; perspective: 1400px; }
.layers__stack { position: absolute; left: 50%; top: 50%; width: min(380px, 74vw); aspect-ratio: 1.586; translate: -50% -50%; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(-34deg); }
.layers__plane { position: absolute; inset: 0; border-radius: var(--r-card); transition: transform 1.6s var(--ease); overflow: hidden; }
.layers__plane--se { display: grid; place-items: center; background: repeating-linear-gradient(0deg, rgba(143, 124, 255, .12) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, rgba(143, 124, 255, .12) 0 1px, transparent 1px 14px), #07081a; box-shadow: inset 0 0 0 1px rgba(143, 124, 255, .45), 0 0 60px -10px rgba(143, 124, 255, .5); }
.layers__plane--se svg { width: 46px; height: 46px; stroke: var(--violet); fill: none; stroke-width: 1.4; transform: rotate(34deg); }
.layers__plane--art .face { position: absolute; inset: 0; }
.layers.is-open .layers__plane--art { transform: translateZ(140px); }
.facts { list-style: none; margin-top: 36px; }
.facts li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 26px 1fr; gap: 16px; }
.facts svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--haze); }

/* pricing */
.passes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.pass { position: relative; overflow: hidden; border-radius: 28px; padding: 40px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.pass--prime { box-shadow: inset 0 0 0 1px rgba(242, 200, 121, .5), 0 40px 100px -60px rgba(242, 200, 121, .6); }
.pass__price { font-family: var(--display); font-weight: 300; font-size: clamp(54px, 6vw, 80px); letter-spacing: -0.04em; line-height: 1; margin: 24px 0 10px; }
.pass__amount, .price { direction: ltr; unicode-bidi: isolate; }
.pass__price sup { font-size: .38em; vertical-align: 1.1em; margin-right: 6px; color: var(--gold); }   /* physical: the amount is always LTR */
.pass > p { color: var(--haze); }
.pass ul { list-style: none; margin: 26px 0 32px; flex: 1; }
.pass li { padding: 11px 0; border-top: 1px solid rgba(237, 239, 247, .1); }
.pass__note { margin-top: 14px; font-size: 14px; color: var(--gold) !important; }
.precheck { margin: 28px auto 0; max-width: 620px; padding: 26px 28px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.precheck .label { margin-top: 0; }

/* faq */
.faq { margin-top: 48px; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--haze); padding-bottom: 22px; max-width: 62ch; }

/* footer */
.footer { padding: 64px 0 96px; border-top: 1px solid var(--line); color: var(--haze); font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.footer__links a, .footer__links button { display: inline-block; padding-block: 6px; }
.footer__links a:hover, .footer__links button:hover { color: var(--star); }
.footer__legal { max-width: 86ch; }
.footer--slim { padding: 40px 0 56px; }

/* mobile buy bar (phones only, see home.js) */
.buybar { display: none; }

/* reveal: one quiet entrance per heading */
html.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ================================================================ FORMS */
.field { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; font-size: 16px; color: var(--star); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #5f6377; }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 200, 121, .2); }
.field[aria-invalid="true"] { border-color: var(--bad); }
[dir="rtl"] .field[dir="ltr"] { text-align: right; }   /* emails stay LTR but line up with the Hebrew form */
.form-error { color: var(--bad); font-size: 14px; margin-top: 12px; }
.form-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .chip-radio span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--star); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .2s, box-shadow .2s, color .2s;
}
.chip:hover, .chip-radio span:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.chip[aria-checked="true"], .chip[aria-pressed="true"], .chip-radio input:checked + span { background: rgba(242, 200, 121, .14); box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-hi); }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.chip small { color: var(--haze); font-size: 12px; }

.compat__row { display: flex; gap: 10px; }
.compat__input { flex: 1; min-width: 0; }
.compat__btn { flex-shrink: 0; min-height: 50px; }
.compat__result { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.compat__result:empty { display: none; }
.compat__result--ok { background: rgba(74, 222, 128, .1); color: var(--ok); }
.compat__result--warn { background: rgba(255, 214, 10, .1); color: var(--warn); }
.compat__result--bad { background: rgba(255, 122, 112, .12); color: var(--bad); }
.compat__result--info { background: var(--panel-2); color: var(--haze); }

/* ================================================================ SHEETS */
.sheet { margin: auto; border: 0; padding: 0; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; color: var(--star);
  background: linear-gradient(180deg, #14141b, #0b0b10); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -20px #000; }
.sheet::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); }
.sheet[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.sheet__x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--haze); }
.sheet__x:hover { color: var(--star); background: rgba(255, 255, 255, .12); }
.sheet__body { padding: 38px 30px 30px; }
.sheet__body--center { text-align: center; padding-top: 46px; }
.sheet__title { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; padding-inline-end: 36px; }
.sheet__body--center .sheet__title { padding-inline-end: 0; }
.sheet__lead, .sheet__text { color: var(--haze); margin-top: 8px; }
.sheet__lead strong { color: var(--star); font-weight: 600; }
.sheet__fine { text-align: center; font-size: 12px; color: var(--haze); margin-top: 12px; }
.sheet__actions { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sheet__actions .btn { min-width: 200px; }
.co-cats { border: 0; margin-top: 20px; }
.co-cats .label { margin-top: 0; }
.co-compat { margin-top: 18px; }
.co-compat .link { font-size: 14px; }
.notice__icon { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 200, 121, .14); }
.notice__icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.notice__icon--ok { background: rgba(74, 222, 128, .14); } .notice__icon--ok svg { stroke: var(--ok); }
.notice__icon--wait::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(242, 200, 121, .3); border-top-color: var(--gold); animation: spin .8s linear infinite; }

/* preview sheet (gallery) */
.sheet--wide { width: min(940px, calc(100vw - 24px)); }
.pv { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 46px 40px 40px; }
.pv__stage .scene { width: 100%; }
.pv__meta { color: var(--haze); font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(242, 200, 121, .14); color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(242, 200, 121, .35); }
.badge--muted { background: var(--panel-2); color: var(--haze); box-shadow: inset 0 0 0 1px var(--line); }
.pv__actions { margin-top: 26px; display: grid; gap: 12px; }
.pv__actions .btn { width: 100%; }

/* =============================================================== GALLERY */
.page-head { padding-block: 110px 36px; }   /* block only: .wrap keeps the side padding */
.page-head .copy { margin-top: 18px; }
.toolbar { position: sticky; top: 64px; z-index: 20; padding: 14px 0; background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.toolbar__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 280px; }
.search svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; stroke: var(--haze); fill: none; stroke-width: 1.8; }
.search .field { padding-inline-start: 46px; min-height: 46px; }
.toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-top: 12px; }
.toolbar .chips::-webkit-scrollbar { display: none; }
.toolbar .chip { flex-shrink: 0; }
.select { min-height: 46px; padding-block: 10px; padding-inline: 16px 40px; border-radius: 999px; background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%239097ad' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; border: 1px solid var(--line-2); appearance: none; font-size: 14px; }
[dir="rtl"] .select { background-position: left 16px center; }
.select option { background: #111; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--haze); cursor: pointer; }
.toggle input { appearance: none; width: 40px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .1); position: relative; transition: background .2s; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--star); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--gold); }
.toggle input:checked::after { transform: translateX(16px); background: #120d02; }
[dir="rtl"] .toggle input:checked::after { transform: translateX(-16px); }
.source-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--haze); }
.source-note .badge { flex-shrink: 0; }
.results { padding-block: 28px 120px; }
.results__count { color: var(--haze); font-size: 14px; margin-bottom: 22px; min-height: 1.5em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 26px; }
.tile { display: block; width: 100%; text-align: start; }
.tile__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; }
.tile__name { font-weight: 600; font-size: 16px; }
.tile__cat { color: var(--haze); font-size: 13px; }
.tile:hover .flatcard { box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 1), 0 0 0 1px rgba(242, 200, 121, .35); }
.skeleton { aspect-ratio: 1.586; border-radius: var(--r-card); background: linear-gradient(100deg, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, .03) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { text-align: center; padding: 80px 0; color: var(--haze); }
.empty h2 { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--star); margin-bottom: 10px; }
.empty .btn { margin-top: 22px; }
.more { display: flex; justify-content: center; margin-top: 48px; }

/* ================================================================ STUDIO */
.studio { padding: 120px 0 120px; }
.studio__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.studio__stage { position: sticky; top: 100px; }
.studio__canvas { position: relative; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 44px) 72px; border-radius: 32px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 70% at 60% 20%, rgba(242, 200, 121, .14), transparent 70%), radial-gradient(50% 60% at 90% 90%, rgba(143, 124, 255, .16), transparent 70%), #050508; box-shadow: inset 0 0 0 1px var(--line); }
.studio__canvas.can-pan .scene { cursor: grab; touch-action: none; }
.studio__canvas.is-panning .scene { cursor: grabbing; }
.stage-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 13px; color: var(--haze); }
.studio__bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.panel { border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; min-height: 42px; padding: 8px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; color: var(--haze); transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: rgba(242, 200, 121, .12); color: var(--gold-hi); }
.tabpanel { padding: 24px 24px 28px; }
.tabpanel h2 { font-family: var(--body); font-size: 14px; font-weight: 600; margin: 22px 0 12px; display: flex; justify-content: space-between; color: var(--star); }
.tabpanel h2:first-child { margin-top: 0; }
.tabpanel h2 small { color: var(--haze); font-weight: 500; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.swatch { display: grid; gap: 8px; justify-items: center; font-size: 12px; color: var(--haze); }
.swatch__chip { width: 100%; aspect-ratio: 1.586; border-radius: 10px; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, transform .3s var(--ease); }
.swatch__chip .art { border-radius: inherit; }
.swatch[aria-checked="true"] { color: var(--gold-hi); }
.swatch[aria-checked="true"] .swatch__chip { box-shadow: 0 0 0 2px var(--gold); transform: translateY(-2px); }
.accents { display: flex; gap: 12px; }
.accent { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); position: relative; }
.accent[aria-checked="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c); }
.emblems { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.emblem-btn { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--star); }
.emblem-btn svg { width: 54%; height: 54%; }
.emblem-btn[aria-checked="true"] { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); background: rgba(242, 200, 121, .1); }
.emblem-btn span { font-size: 11px; color: var(--haze); }
.range { width: 100%; accent-color: var(--gold); height: 28px; }
.range-row { display: grid; grid-template-columns: 70px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; color: var(--haze); margin-top: 8px; }
.range-row output { text-align: end; color: var(--star); font-variant-numeric: tabular-nums; }
.drop { display: grid; place-items: center; gap: 8px; padding: 28px 20px; border-radius: 20px; border: 1.5px dashed var(--line-2); text-align: center; color: var(--haze); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--gold); background: rgba(242, 200, 121, .05); }
.drop:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.studio__canvas .scene:focus-visible { outline-offset: 10px; border-radius: 18px; }
.drop svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.drop strong { color: var(--star); font-weight: 600; }
.note { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 13px; color: var(--haze); background: rgba(143, 124, 255, .08); box-shadow: inset 0 0 0 1px rgba(143, 124, 255, .25); }
.note svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--violet); fill: none; stroke-width: 1.6; margin-top: 1px; }
.studio__actions { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
/* early-access: Save is the primary (gold) action and sits first; the Wallet/early-access button stays a quiet ghost. Sales mode is unchanged. */
html[data-mode="early-access"] .studio__actions [data-save-design] { order: -1; color: #120d02; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #c99a48); box-shadow: 0 0 0 1px rgba(255, 226, 166, .5), 0 16px 40px -18px rgba(242, 200, 121, .7); }
html[data-mode="early-access"] .studio__actions [data-save-design]:hover { box-shadow: 0 0 0 1px rgba(255, 226, 166, .75), 0 22px 50px -18px rgba(242, 200, 121, .85); }
.saved { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.saved__item { position: relative; }
.saved__item > button:first-child { display: block; width: 100%; }
.saved__item .flatcard { box-shadow: none; }
.saved__del { position: absolute; top: -8px; inset-inline-end: -8px; width: 24px; height: 24px; border-radius: 50%; background: #222; color: var(--haze); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; line-height: 1; }
.saved__del:hover { color: var(--star); }
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 70; padding: 12px 18px; border-radius: 999px; background: #1a1a22; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -10px #000; font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }

/* ============================================================ PHASE 2: languages, currency, plans */

/* Arabic: its own faces (the Latin ones don't have Arabic letters), and never letter-spacing, which
   breaks the joins between Arabic letters. The logo and the card art keep theirs. */
html[lang="ar"] {
  --display: "ILS", "Noto Kufi Arabic", "Unbounded", "Segoe UI", sans-serif;
  --body: "ILS", "Noto Sans Arabic", "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
}
html[lang="ar"] :is(body, body *):not(.logo, .logo *, .face, .face *, .plan-name, [lang]:not([lang="ar"])) { letter-spacing: 0 !important; }
html[lang="ar"] .display { line-height: 1.25; font-weight: 500; }
html[lang="ar"] .h2 { line-height: 1.3; font-weight: 500; }
html[lang="ar"] :is(.h3, .sheet__title) { font-weight: 500; }
html[lang="ar"] .hero__copy .display { max-width: 12ch; }
/* long German and French words: wrap instead of overflowing on phones */
:is(.display, .h2, .h3, .btn, .sheet__title, .pass li, .compare th, .compare td) { overflow-wrap: break-word; hyphens: auto; }
html[lang="de"] .display { font-size: clamp(38px, 5.2vw, 78px); }

/* Decorative layers (the hero beam, the 3D layers) reach past the screen edge, to the left in RTL. The body
   clip alone only becomes "hidden" on the viewport, which scripts, anchor jumps and focus can still scroll
   sideways; clipping main leaves no sideways overflow at all. (clip, unlike hidden, keeps sticky working.) */
main { overflow-x: clip; }

/* names that are the same in every language (plans, the brand) */
.plan-name { font-family: var(--brand); letter-spacing: .01em; unicode-bidi: isolate; }
.h3.plan-name { font-weight: 500; font-size: 22px; }

/* ----------------------------------------------------------- language menu */
.langs { position: relative; }
.nav .langs + .btn { margin-inline-start: -12px; }
.lang-switch__code { display: none; font-weight: 600; letter-spacing: .04em; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 180px; list-style: none; padding: 6px;
  border-radius: 16px; background: #111116; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -16px #000; }
.lang-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; color: var(--star); text-align: start; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--panel-2); }
.lang-menu a[aria-current="true"] { color: var(--gold); }
.lang-menu a[aria-current="true"]::after { content: "✓"; float: inline-end; margin-inline-start: 12px; }
.nav__langs { display: none; }

/* ------------------------------------------------------------ currency menu */
.currency-row { margin-top: 18px; }
.currency { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--haze); }
.currency__label { font-weight: 500; }
.select--sm { min-height: 40px; padding-block: 6px; font-size: 14px; width: auto; }
.co-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 10px; }
.co-price .currency-row { margin-top: 0; }
.co-price .sheet__lead { margin: 0; }

/* -------------------------------------------------------------- the plans */
.passes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.passes--3 .pass { padding: 34px 30px; }
.pass__price { min-height: 1em; }
.pass__price.is-pending { min-height: 80px; border-radius: 12px; background: linear-gradient(90deg, var(--panel), var(--panel-2), var(--panel)); }
.pass__price sup { margin-right: 0; margin-inline: 0; }
.pass__amount sup { margin-right: 6px; }
.pass__amount.is-after sup { margin-right: 0; margin-left: 8px; }   /* physical: the amount is always LTR */
.pass__once { font-size: 13px; color: var(--gold) !important; margin-bottom: 14px; }
.pass li.is-no { color: var(--haze); }
.prices-off { margin-top: 32px; padding: 14px 18px; border-radius: 14px; background: var(--panel); color: var(--haze); box-shadow: inset 0 0 0 1px var(--line); }
.compare-wrap { margin-top: 40px; overflow-x: auto; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare caption { text-align: start; padding: 20px 24px 6px; font-family: var(--display); font-size: 18px; color: var(--star); }
.compare th, .compare td { padding: 14px 24px; text-align: start; border-top: 1px solid var(--line); }
.compare thead th { font-family: var(--brand); font-weight: 500; font-size: 15px; color: var(--star); border-top: 0; }
.compare thead td { border-top: 0; }
.compare tbody th { font-weight: 500; color: var(--star); }
.compare td { color: var(--haze); }
.compare .is-yes { color: var(--gold); font-weight: 600; }
.compare__price td { color: var(--star); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- studio: photos and plans */
.plan-note { padding: 14px 16px; border-radius: 14px; font-size: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.plan-note--ok { box-shadow: inset 0 0 0 1px rgba(242, 200, 121, .45); background: rgba(242, 200, 121, .06); }
.plan-note strong { color: var(--gold); margin-inline-end: 4px; }
.plan-note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; }

/* -------------------------------------------------------------- my license */
.account .page-head { padding-bottom: 32px; }
.acc-signin { max-width: 560px; padding-bottom: 96px; }
.acc-card { padding: 28px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.acc-card .label:first-of-type { margin-top: 14px; }
.acc-lost { margin-top: 16px; font-size: 14px; }
.acc-view { padding-bottom: 96px; }
.acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.acc-head .copy { margin-top: 12px; max-width: 62ch; color: var(--haze); }
.acc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.acc-list { list-style: none; margin-top: 16px; }
.acc-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.acc-list li.is-no { color: var(--haze); }
.acc-devices li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.acc-upgrades { display: grid; gap: 14px; margin-top: 18px; }
.acc-upgrade { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.acc-upgrade p { color: var(--haze); font-size: 14px; }

@media (max-width: 1100px) {
  .passes--3, .acc-grid { grid-template-columns: 1fr; }
  .passes--3 { max-width: 620px; margin-inline: auto; }
}
@media (max-width: 960px) {
  .nav .langs { margin-inline-start: auto; }
  .nav .langs + .btn { margin-inline-start: 0; }
  .nav__langs { display: block; padding: 16px 4px 4px; }
  .nav__langs-label { font-size: 13px; color: var(--haze); margin-bottom: 8px; }
  .nav__langs-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .nav__links .nav__langs-list a { border: 0; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; }
  .nav__links .nav__langs-list a[aria-current="true"] { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
}
@media (max-width: 700px) {
  .lang-switch__name { display: none; }
  .lang-switch__code { display: inline; }
  .passes--3 .pass { padding: 28px 24px; }
  .compare th, .compare td { padding: 12px 14px; }
  .acc-card { padding: 22px; }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; z-index: 1; flex-direction: column; gap: 0; padding: 8px 20px 24px; background: #06060a; border-bottom: 1px solid var(--line); display: none; font-size: 17px; max-height: calc(100dvh - 64px); overflow-y: auto; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--star); }
  .nav.is-open .nav__links { display: flex; }
  /* full-screen scrim so nothing behind the open menu shows through.
     Anchored on body (not .nav, whose backdrop-filter would clip a fixed child to the bar). */
  body:has(.nav.is-open)::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(5, 5, 8, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .nav__menu { display: grid; }
  .nav .wrap { gap: 12px; }
  .section__head, .paths, .sealed, .passes, .studio__grid, .pv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .studio__stage { position: sticky; top: 64px; z-index: 10; }
  .studio__canvas { padding: 18px 26px 44px; border-radius: 24px; }
  .studio__canvas .scene { max-width: 420px; margin: 0 auto; }
  .stage-hint { bottom: 12px; font-size: 12px; }
  .studio__bar { margin-top: 8px; }
  .pv { padding: 52px 22px 26px; gap: 22px; }
}
@media (max-width: 700px) {
  .wrap { padding-inline: 20px; }
  .nav .btn--sm { display: none; }
  .hero { min-height: 860px; }
  html, html[dir="rtl"] { --hero-x: 50%; }
  .hero .scene { top: 27%; width: 82vw; }
  .hero__beam { width: 140vw; }
  .lang-switch { padding-inline: 12px; }
  .hero__copy { bottom: 36px; }
  .path { padding: 26px; }
  .path__stage { height: 230px; }
  .layers { height: 300px; }
  .pass { padding: 30px; }
  .page-head { padding-block: 96px 22px; }
  .toolbar { position: static; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }   /* phones: give the screen to the designs */
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .tile__meta { flex-direction: column; gap: 0; }
  .tile__name { font-size: 14px; }
  .swatches { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .emblems { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .tabpanel { padding: 20px 18px 24px; }
  .studio { padding-top: 76px; }
  .buybar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px; padding-inline-start: 18px; border-radius: 20px; background: rgba(20, 20, 26, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -10px #000; transform: translateY(140%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
  .buybar.is-visible { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .buybar__price { display: flex; flex-direction: column; line-height: 1.25; }
  .buybar__price strong { font-weight: 600; }
  .buybar__price span { font-size: 13px; color: var(--haze); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; filter: none; }
}

/* ================================================== launch mode (assets/config.js sets html[data-mode]) */
/* Only explicit sales mode reveals prices, plans and account links. */
html:not([data-mode="sales"]) [data-sales] { display: none !important; }
html[data-mode="sales"] [data-early] { display: none !important; }

.early { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.early__points { list-style: none; display: grid; gap: 14px; margin-top: 26px; color: var(--haze); }
.early__points li { display: flex; gap: 12px; align-items: baseline; }
.early__points li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); translate: 0 -2px; }
.early__card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.notice-early { max-width: 70ch; margin-top: 22px; padding: 14px 18px; border-radius: 14px; color: var(--star); background: rgba(242, 200, 121, .07); box-shadow: inset 0 0 0 1px rgba(242, 200, 121, .28); }

.ea-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ea-row .field { flex: 1 1 220px; }
.ea-row .btn { flex: none; }
.ea-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--haze); cursor: pointer; }
.ea-consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--gold); }
.ea-consent a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.ea-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ea-note { margin-top: 12px; }
.ea-done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 12px 0; outline: none; }
.ea-done strong { font-size: 18px; color: var(--star); }
.ea-done p { color: var(--haze); max-width: 46ch; }

.footer__info { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.footer__info a:hover { color: var(--star); }

/* information pages (privacy, terms, accessibility) */
.doc { max-width: 76ch; padding-bottom: 80px; }
.doc h2 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); color: var(--star); margin: 42px 0 12px; }
.doc p, .doc li { color: var(--haze); line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; list-style: disc; }
.doc a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--star); }
.doc__meta { color: var(--haze); font-size: 14px; margin-top: 10px; }
.doc__lang { margin-top: 18px; font-size: 14px; color: var(--haze); }

@media (max-width: 860px) {
  .early { grid-template-columns: 1fr; }
}
