/* pages.pensact.com: Pensact Pages' own site, built on pensact.com's design. The tokens, type, buttons,
   cards, eclipse and motion are the same values as the main site's globals.css, written out here because
   this app has no build step. The loyalty cards bring their own colours (assets/css/loyalty.css). */

:root {
  color-scheme: light;
  --ink: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f4f4f5;
  --line: rgb(24 24 27 / 0.09);
  --line-strong: rgb(24 24 27 / 0.17);
  --fg: #0a0a0b;
  --muted: #52525b;
  --dim: #7d7d87;
  --brand: #2b48d6;
  --brand-deep: #1f36ad;
  --brand-hi: #3a58e6;
  --brand-soft: rgb(43 72 214 / 0.09);
  --glow: rgb(24 24 27 / 0.14);
  --accent-from: #1f36ad;
  --shadow-card: 0 1px 2px rgb(24 24 27 / 0.04), 0 18px 40px -22px rgb(24 24 27 / 0.16);
  --card-light: rgb(24 24 27 / 0.045);
  --card-edge: rgb(24 24 27 / 0.32);
  --radius: 25px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --text: Inter, ui-sans-serif, system-ui, sans-serif;
}
.dark {
  color-scheme: dark;
  --ink: #09090b;
  --panel: #111113;
  --panel-2: #18181b;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.15);
  --fg: #f5f5f6;
  --muted: #a1a1aa;
  --dim: #71717a;
  --brand: #4f6eff;
  --brand-deep: #2c46d6;
  --brand-hi: #6b86ff;
  --brand-soft: rgb(79 110 255 / 0.13);
  --glow: rgb(0 0 0 / 0.5);
  --accent-from: #c8d4ff;
  --shadow-card: 0 24px 48px -28px rgb(0 0 0 / 0.7);
  --card-light: rgb(255 255 255 / 0.07);
  --card-edge: rgb(255 255 255 / 0.4);
}
:root[lang='ar'] { --display: Cairo, 'Instrument Sans', system-ui, sans-serif; --text: Cairo, Inter, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .4s ease, color .4s ease; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }
section { padding-block: clamp(72px, 10vw, 136px); }

/* ------------------------------------------------------------------ type */

.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h2.display { font-size: clamp(2.3rem, 5vw, 4.1rem); }
:root[lang='ar'] .display { letter-spacing: 0; font-weight: 800; line-height: 1.22; }
.accent-serif {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; line-height: .9; letter-spacing: -0.01em; padding-inline-end: .08em;
  background: linear-gradient(105deg, var(--accent-from) 5%, var(--brand) 75%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[lang='ar'] .accent-serif { font-family: var(--display); font-style: normal; font-weight: 800; font-size: 1em; line-height: inherit; letter-spacing: 0; padding-inline-end: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
:root[lang='ar'] .eyebrow { font-size: 14px; letter-spacing: 0; }
.lede { max-width: 620px; color: var(--muted); font-size: clamp(16.5px, 1.5vw, 18px); line-height: 1.6; text-wrap: pretty; }
.note { color: var(--dim); font-size: 14px; }
.head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.noise { position: relative; }
.noise::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ buttons */

.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding-inline: 20px; border: 0; border-radius: 999px;
  font: 600 14px/1 var(--text); white-space: nowrap; cursor: pointer; user-select: none; transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15), inset 0 1px 0 rgb(255 255 255 / .22), 0 12px 40px -12px var(--glow); }
.btn--brand:hover { background: var(--brand-hi); }
.btn--line { border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); }
.btn--line:hover { border-color: color-mix(in srgb, var(--fg) 30%, transparent); background: color-mix(in srgb, var(--fg) 7%, transparent); }
.btn--sm { height: 38px; padding-inline: 16px; font-size: 13px; }
.btn--lg { height: 56px; padding-inline: 28px; font-size: 16px; gap: 16px; }
.btn:has(.btn__knob) { padding-inline: 28px 8px; }
.btn__knob { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand); transition: transform .3s; }
.btn:hover .btn__knob { transform: rotate(-45deg); }
[dir='rtl'] .btn:hover .btn__knob { transform: rotate(45deg); }
.arrow { flex: none; width: 16px; height: 16px; }
[dir='rtl'] .arrow { transform: scaleX(-1); }
.tick { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--brand); }
.star-light { position: absolute; top: -48px; left: -48px; z-index: -1; width: calc(100% + 96px); height: calc(100% + 96px); pointer-events: none; }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--fg) 90%, transparent); font-size: 15px; font-weight: 500; }
.textlink span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--fg) 25%, transparent); text-underline-offset: 6px; transition: text-decoration-color .2s; }
.textlink:hover span { text-decoration-color: var(--fg); }
.textlink .arrow { color: var(--brand); transition: transform .2s; }
.textlink:hover .arrow { transform: translateX(2px); }
[dir='rtl'] .textlink .arrow, [dir='rtl'] .textlink:hover .arrow { transform: scaleX(-1); }
[data-magnetic] { display: inline-block; will-change: transform; }
.round { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: none; color: var(--fg); cursor: pointer; transition: background-color .2s; }
.round:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.round svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ cards: the light follows the pointer */

.card { position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--panel); box-shadow: var(--shadow-card); }
.card::before, .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--lo, 0); transition: opacity .35s ease; }
.card::before { z-index: -1; background: radial-gradient(circle 280px at var(--lx, 50%) var(--ly, 50%), var(--card-light), transparent 72%); }
.card::after { z-index: 1; padding: 1px; background: radial-gradient(circle 180px at var(--lx, 50%) var(--ly, 50%), var(--card-edge), transparent 72%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pixels { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
[data-pixels] > :not(.pixels) { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ motion */

.js [data-reveal] { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity .9s var(--ease) var(--rd, 0s), transform .9s var(--ease) var(--rd, 0s), filter .9s var(--ease) var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.hero-line { display: block; overflow: hidden; padding: .06em 0 .2em; margin: -.06em 0 -.2em; }
.js .hero-line > span { display: inline-block; transform: translateY(115%); }
.js .hero-fade { opacity: 0; transform: translateY(14px); }
.intro-seen .hero-line > span { animation: hero-rise 1.2s cubic-bezier(.19, 1, .22, 1) var(--d, 0s) both; }
.intro-seen .hero-fade { animation: hero-fade 1s var(--ease) var(--d, 0s) both; }
.intro-seen .eclipse { animation: eclipse-in 2.2s var(--ease) .1s both; }
@keyframes hero-rise { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes eclipse-in { from { opacity: 0; transform: scale(.94) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes eclipse-spin { to { transform: rotate(360deg); } }
.swap { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-block: .08em .16em; margin-block: -.08em -.16em; }
.word-swap { grid-area: 1 / 1; display: inline-block; transition: transform 1s cubic-bezier(.19, 1, .22, 1), opacity .6s ease; }
.word-swap[data-state='in'] { transform: none; opacity: 1; transition-delay: .12s; }
.word-swap[data-state='out'] { transform: translateY(-130%); opacity: 0; }
.word-swap[data-state='wait'] { transform: translateY(130%); opacity: 0; transition: none; }
.progress { position: fixed; inset-inline: 0; top: 0; z-index: 60; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
[dir='rtl'] .progress { transform-origin: right; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero-fade, .js .hero-line > span { opacity: 1; transform: none; filter: none; transition: none; animation: none !important; }
  .eclipse-ticks, .eclipse-rim, .gal__ticks, .notif { animation: none !important; }
}

/* ------------------------------------------------------------------ announcement strip */

.strip { position: relative; z-index: 51; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.strip b { color: var(--fg); font-weight: 600; }
.strip__line { font-variant-numeric: tabular-nums; color: var(--fg); }
.strip .arrow { width: 14px; height: 14px; transition: transform .2s; }
.strip:hover .arrow { transform: translateX(2px); }
[dir='rtl'] .strip:hover .arrow { transform: scaleX(-1) translateX(2px); }
@media (max-width: 560px) { .strip__left { display: none; } }

/* ------------------------------------------------------------------ header: a pill that turns to glass on scroll */

.top { position: sticky; top: 0; z-index: 50; padding: 12px 12px 0; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1280px; height: 64px; margin-inline: auto; padding-inline: 20px 12px; border: 1px solid transparent; border-radius: 999px; transition: background-color .5s, border-color .5s, box-shadow .5s, backdrop-filter .5s; }
.top.is-glass .top__in, .top.is-open .top__in { border-color: var(--line-strong); background: color-mix(in srgb, var(--panel-2) 78%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 8%, transparent), 0 20px 50px -25px rgb(0 0 0 / .6); }
.logo { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--fg); }
.logo__mark { height: 24px; width: auto; }
.logo__word { font-family: 'Instrument Sans', sans-serif; font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: .08em; }
.logo em { margin-inline-start: -2px; font-family: 'Instrument Serif', serif; font-size: 25px; line-height: 1; color: var(--brand); }
.top__nav { position: relative; display: flex; }
.top__nav a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 40px; padding-inline: 16px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.top__nav a:hover { color: var(--fg); }
.top__hover { position: absolute; top: 0; left: 0; height: 40px; width: var(--w, 0); border-radius: 999px; background: color-mix(in srgb, var(--fg) 6%, transparent); opacity: var(--o, 0); transform: translateX(var(--x, 0)); transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; }
.top__end { display: flex; align-items: center; gap: 8px; }
.top__lang { padding-inline: 8px; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s; }
.top__lang:hover { color: var(--fg); }
.top__burger { display: none; }
.top__sheet { display: none; }
@media (max-width: 960px) {
  .top__nav { display: none; }
  .top__burger { display: grid; }
  .top.is-open .top__sheet { display: grid; gap: 2px; max-width: 1280px; margin: 8px auto 0; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
  .top__sheet a { padding: 10px 12px; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
}
@media (max-width: 560px) {
  .top__in { padding-inline: 14px 8px; gap: 8px; }
  .logo__mark { height: 20px; }
  .logo__word { font-size: 17px; }
  .logo em { font-size: 20px; }
  .top__end .btn, .top__end [data-theme] { display: none; }
}

/* ------------------------------------------------------------------ hero */

.hero { isolation: isolate; overflow: hidden; margin-top: -76px; padding-block: 104px clamp(40px, 6vw, 72px); }
.eclipse-box { position: absolute; inset-inline-end: -64vw; top: 34%; z-index: -1; width: 128vw; height: 128vw; pointer-events: none; }
@media (min-width: 640px) { .eclipse-box { inset-inline-end: -30vw; top: 16%; width: 92vw; height: 92vw; } }
@media (min-width: 1024px) { .eclipse-box { inset-inline-end: -11vw; top: 7%; width: min(62vw, 1040px); height: min(62vw, 1040px); } }
.eclipse, .eclipse-halo, .eclipse-disc, .eclipse-ticks, .eclipse-rim { border-radius: 50%; }
.eclipse { position: relative; width: 100%; height: 100%; }
.eclipse-halo { position: absolute; inset: -16%; background: radial-gradient(closest-side, color-mix(in srgb, var(--fg) 7%, transparent), transparent); }
.eclipse-disc { position: absolute; inset: 0; background: radial-gradient(120% 95% at 18% 4%, color-mix(in srgb, var(--fg) 9%, transparent), transparent 52%), radial-gradient(80% 80% at 50% 50%, var(--ink) 60%, color-mix(in srgb, var(--ink) 94%, var(--fg)) 100%); box-shadow: inset 0 0 0 1px var(--line-strong), inset 22px 26px 70px -38px color-mix(in srgb, var(--fg) 45%, transparent); }
.eclipse-ticks { position: absolute; inset: 5%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--fg) 55%, transparent) 0deg .3deg, transparent .3deg 3deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); opacity: .28; animation: eclipse-spin 240s linear infinite; }
.eclipse-rim { position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0 52%, color-mix(in srgb, var(--fg) 45%, transparent) 80%, color-mix(in srgb, var(--fg) 80%, transparent) 90%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); animation: eclipse-spin 18s linear infinite; }
.hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
:root[lang='ar'] .hero__meta { font-size: 13px; letter-spacing: 0; }
.hero__live { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.hero__live i { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 960px) { .hero__tag { display: none; } }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 4vw, 52px); }
.hero h1 { font-size: clamp(2.9rem, 6.9vw, 6.8rem); }
:root[lang='ar'] .hero h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.hero .lede { margin-top: 32px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }
.hero .note { margin-top: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); gap: 16px 40px; }
.hero__stats dt { font-size: 22px; }
.hero__stats dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.hero__art { position: relative; justify-self: center; width: min(420px, 100%); perspective: 1200px; }
.hero__card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); filter: drop-shadow(0 40px 50px rgb(0 0 0 / .4)); }
.hero__card .lc { width: 100%; }
.notif { position: absolute; inset-inline-start: -56px; top: -62px; display: flex; gap: 12px; align-items: flex-start; width: min(320px, 92%); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 18px; background: color-mix(in srgb, var(--panel-2) 86%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 30px 60px -28px rgb(0 0 0 / .7); font-size: 13.5px; line-height: 1.4; animation: drift 7s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(-8px); } }
.notif__app { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #3b2516; color: #f2d3a9; }
.notif__mark { width: 22px; height: 22px; }
.notif b { display: block; font-weight: 600; }
.notif span { color: var(--muted); }
@media (max-width: 1100px) { .notif { inset-inline-start: -16px; } }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__art { margin-top: 72px; width: min(390px, 100%); }
  .notif { inset-inline-start: 8px; }
}

/* ------------------------------------------------------------------ marquee */

.marquee { overflow: hidden; padding-block: 24px; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee span { display: flex; align-items: center; gap: 32px; padding-inline-end: 32px; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: color-mix(in srgb, var(--fg) 15%, transparent); white-space: nowrap; }
.marquee__mark { height: 24px; width: auto; color: color-mix(in srgb, var(--brand) 50%, transparent); }

/* ------------------------------------------------------------------ the Black Friday offer */

.offer { padding-block: clamp(56px, 7vw, 96px) 0; }
.offer__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; padding: clamp(24px, 4vw, 44px); }
.offer__main > * + * { margin-top: 14px; }
.offer__phase { color: var(--brand); font-size: 14px; font-weight: 600; }
.offer h2.display { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.offer .lede { font-size: 15px; }
.offer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px !important; }
.offer__clock { font-size: 14px; }
.offer__clock span { color: var(--muted); }
.offer__clock b { font-weight: 600; font-variant-numeric: tabular-nums; }
.offer__left { color: var(--muted); font-size: 13.5px; }
.offer__list { display: grid; align-content: start; gap: 14px; padding-inline-start: 40px; border-inline-start: 1px solid var(--line); }
.offer__list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .offer__in { grid-template-columns: minmax(0, 1fr); gap: 24px; } .offer__list { padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); } }

/* ------------------------------------------------------------------ the steps: one side stays while you read the other */

.story__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.story__side { position: sticky; top: 112px; align-self: start; }
.story__side .head { margin-bottom: 28px; }
.story__count { color: var(--dim); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.story__count b { color: var(--fg); font-weight: 600; }
.story__bars { display: flex; gap: 8px; margin-top: 14px; max-width: 360px; }
.story__bars i { flex: 1; height: 2px; border-radius: 2px; background: var(--line-strong); transition: background-color .5s; }
.story__bars i.is-on { background: var(--fg); }
.story__list li { display: flex; flex-direction: column; justify-content: center; min-height: 58vh; opacity: .22; transition: opacity .6s ease; }
.story__list li.is-on { opacity: 1; }
.story__big { font-size: clamp(5rem, 11vw, 9.5rem); line-height: 1; }
.story__list h3 { margin-top: 18px; font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.story__list p { margin-top: 14px; max-width: 480px; color: var(--muted); font-size: 17px; }
@media (max-width: 860px) {
  .story__in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .story__side { position: static; }
  .story__count, .story__bars { display: none; }
  .story__list li { min-height: 0; padding-block: 28px; opacity: 1; border-top: 1px solid var(--line); }
  .story__big { font-size: 4rem; }
}

/* ------------------------------------------------------------------ the card templates */

.gal { padding-block-start: clamp(40px, 6vw, 80px); }
.gal__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); padding: 10px; }
.gal__picks { display: grid; align-content: start; gap: 4px; padding: 8px; }
.gal__pick { display: grid; gap: 2px; padding: 12px 16px; border: 0; border-radius: 16px; background: none; color: var(--fg); font: inherit; text-align: start; cursor: pointer; transition: background-color .25s; }
.gal__pick:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); }
.gal__pick b { font-size: 15px; font-weight: 600; }
.gal__pick span { color: var(--muted); font-size: 13px; }
.gal__pick.is-on { background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent); }
.gal__stage { position: relative; overflow: hidden; display: grid; justify-items: center; align-items: center; min-height: 600px; padding: clamp(24px, 5vw, 56px) 16px; border-radius: 18px; background: var(--ink); }
.gal__ticks { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--fg) 55%, transparent) 0deg .3deg, transparent .3deg 3deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); opacity: .22; animation: eclipse-spin 240s linear infinite; }
.gal__item { position: relative; display: grid; gap: 14px; justify-items: center; width: min(420px, 100%); margin: 0; }
.js .gal__item:not(.is-on) { display: none; }
.js .gal__item.is-on { animation: card-in .7s var(--ease) both; }
.gal__item .lc { width: 100%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .35)); }
.gal__item figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.gal__item figcaption b { color: var(--fg); font-weight: 600; }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.96) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .gal__grid { grid-template-columns: minmax(0, 1fr); padding: 8px; }
  .gal__picks { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 4px 10px; }
  .gal__picks::-webkit-scrollbar { display: none; }
  .gal__pick { flex: none; scroll-snap-align: start; }
  .gal__stage { min-height: 0; }
}
.types { margin-top: 56px; }
.types h3 { margin-bottom: 18px; font-size: 24px; }
.types ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.types li { display: grid; align-content: start; gap: 4px; padding: 20px 22px; }
.types li b { font-weight: 600; }
.types li span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .types ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .types ul { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ close by */

.near__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.near__item { padding: 28px; overflow: hidden; }
.near__svg { width: 44px; height: 44px; margin-bottom: 44px; color: var(--fg); }
.near__item h3 { font-size: 24px; letter-spacing: -.025em; line-height: 1.12; }
.near__item p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.near .note { margin-top: 20px; }
@media (max-width: 860px) { .near__grid { grid-template-columns: minmax(0, 1fr); } .near__svg { margin-bottom: 28px; } }

/* ------------------------------------------------------------------ compared */

.vs { padding-block-start: 0; }
.vs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vs__col { padding: clamp(24px, 3vw, 36px); }
.vs__col h3 { font-size: 26px; letter-spacing: -.025em; }
.vs__col ul { display: grid; gap: 14px; margin-top: 22px; }
.vs__col li { display: flex; gap: 12px; color: var(--muted); }
.dash { flex: none; width: 10px; height: 1px; margin: 13px 3px 0; background: var(--dim); }
.vs__col--us { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.vs__col--us li { color: var(--fg); }
@media (max-width: 720px) { .vs__grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ pricing */

.pricing { padding-block-start: 0; }
.pricing .head { margin-bottom: 28px; }
.pricing__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.seg { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); border-radius: 999px; background: var(--fg); transform: translateX(var(--x, 0)); transition: transform .4s var(--ease), width .4s var(--ease); }
.seg button { position: relative; z-index: 1; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 14px/1.2 var(--text); cursor: pointer; transition: color .25s; }
.seg button small { margin-inline-start: 4px; color: var(--brand); font-size: 12px; font-weight: 600; transition: color .25s; }
.seg button.is-on { color: var(--ink); }
.seg button.is-on small { color: inherit; opacity: .75; }
.seg:not(.is-ready) button.is-on { background: var(--fg); }
.cur { height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); color: var(--fg); font: 600 14px/1 var(--text); cursor: pointer; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.plan { display: flex; flex-direction: column; padding: 28px 24px 24px; }
.plan h3 { font-size: 22px; letter-spacing: -.025em; }
.plan--pop { border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 60%, transparent), var(--shadow-card); }
.plan__tag { position: absolute; top: -12px; inset-inline-start: 22px; z-index: 2; padding: 3px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }
.plan__blurb { margin-top: 6px; min-height: 46px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 20px; }
.plan__price b { font: 600 40px/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.plan__price span { font-weight: 600; }
.plan__price small { color: var(--muted); font-size: 14px; }
.plan__year { margin-top: 6px; color: var(--muted); font-size: 13px; }
.plan__year s { opacity: .7; }
.plan ul { display: grid; gap: 10px; margin: 22px 0 26px; font-size: 14px; line-height: 1.45; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.plan--talk { background: transparent; border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.plan--talk .plan__blurb { min-height: 0; margin-bottom: 24px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan__blurb { min-height: 0; } }

/* ------------------------------------------------------------------ questions */

.faq { padding-block-start: 0; }
.faq .wrap { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; cursor: pointer; list-style: none; }
:root[lang='ar'] .faq summary { letter-spacing: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform .35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq__a p { padding-bottom: 24px; color: var(--muted); max-width: 720px; }

/* ------------------------------------------------------------------ sign up */

.start { padding-block-start: 0; }
.start__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.start__side { position: sticky; top: 112px; }
.start__side .head { margin-bottom: 24px; }
.start h2.display { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.start__promo { padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; }
.start__promo p { font-weight: 600; }
.start__promo ul { display: grid; gap: 8px; margin-top: 12px; color: var(--muted); }
.start__promo li { display: flex; gap: 10px; }
.start__promo .tick { margin-top: 3px; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3.4vw, 36px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); color: var(--fg); font: 400 16px/1.3 var(--text); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; }
.form .check input { flex: none; width: 20px; min-height: 20px; height: 20px; margin-top: 2px; padding: 0; accent-color: var(--brand); }
.form__error { padding: 10px 14px; border-radius: 12px; background: rgb(220 38 38 / .1); color: #b91c1c; font-size: 14px; font-weight: 500; }
.dark .form__error { color: #fca5a5; }
.form > .btn--lg { justify-self: start; }
.done { display: grid; gap: 14px; justify-items: start; }
.done h3 { font-size: 26px; letter-spacing: -.025em; }
.done p { color: var(--muted); }
.done__url { font-weight: 600; color: var(--fg) !important; word-break: break-all; }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .start__in { grid-template-columns: minmax(0, 1fr); } .start__side { position: static; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } .form > .btn--lg { width: 100%; } }

/* ------------------------------------------------------------------ let's talk */

.talk { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--fg); }
.talk::backdrop { background: rgb(0 0 0 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.talk .form { box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5); }
.talk h2 { font-size: 30px; letter-spacing: -.03em; }
.talk .row { justify-content: flex-end; }

/* ------------------------------------------------------------------ footer */

.foot { border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; padding-block: 64px; }
.foot__brand p { margin-top: 20px; max-width: 400px; color: var(--muted); font-size: 15px; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.foot ul { display: grid; gap: 12px; margin-top: 16px; }
.foot li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot li a:hover { color: var(--fg); }
.foot__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
@media (max-width: 720px) { .foot__in { grid-template-columns: minmax(0, 1fr); padding-block: 48px; } }
