/* Major — site design system (marketing pages + the user guide's chrome).
   Calm, precise, product-first: warm white paper, ink type, one champagne-gold accent, macOS-style windows
   around real screenshots. Logical properties throughout, so one stylesheet serves Arabic (RTL) and English. */

/* ---------- fonts (self-hosted, OFL — see assets/fonts/LICENSE-*.txt) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: "Plex Arabic"; font-weight: 300; font-display: swap; src: url("/assets/fonts/plex-arabic-300.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }

/* ---------- tokens ---------- */
:root {
  --paper: #fbfbfd;
  --paper-2: #f5f5f7;
  --paper-3: #ececf0;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #3a3a3c;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.12);
  --gold: #b08534;
  --gold-ink: #8a6420;
  --gold-soft: #f6eedf;
  --gold-glow: rgba(214, 170, 88, 0.22);
  --night: #0a0a0c;
  --night-2: #141418;
  --night-3: #1f1f25;
  --night-ink: #f5f5f7;
  --night-muted: #a1a1a6;
  --green: #1f9d55;
  --red: #c4362c;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 48px -12px rgba(0, 0, 0, 0.14);
  --shadow-window: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04), 0 24px 60px -18px rgba(0, 0, 0, 0.28),
    0 60px 120px -40px rgba(60, 40, 10, 0.22);
  --font: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Tahoma, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --nav-h: 52px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01";
}
html[lang="ar"] body { line-height: 1.85; font-size: 17.5px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
:is(p, dd, td) a, :is(.topic, .faq__a, .includes) li a { color: var(--gold-ink); text-decoration: underline; text-decoration-color: rgba(138, 100, 32, 0.35); text-underline-offset: 3px; }
:is(p, dd, td) a:hover, :is(.topic, .faq__a, .includes) li a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; line-height: 1.15; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.35; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.025em; }
html[lang="en"] h3 { letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--ink); }
.lat { font-family: "Inter", system-ui, sans-serif; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 10px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(1440px + 2 * var(--gutter)); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ---------- global navigation (glass) ---------- */
.gnav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-block-end: 1px solid var(--line);
}
.gnav__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.gnav .container, .gnav__inner.container { padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; }
.brand__logo { width: 28px; height: 28px; flex: none; }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand__name .lat { margin-inline-end: 6px; }
.brand__sep { width: 1px; height: 18px; background: var(--line-2); margin-inline: 4px; }
.brand__sub { font-size: 14px; color: var(--muted); font-weight: 500; }
.gnav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; list-style: none; padding: 0; margin-block: 0; }
.gnav__links a {
  display: block; padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--ink-2); white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.gnav__links a:hover { background: rgba(0, 0, 0, 0.04); color: var(--ink); }
.gnav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.gnav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.gnav__lang { font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.gnav__lang:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }

/* CSS-only menu for narrow screens */
.menu { display: none; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { background: rgba(0, 0, 0, 0.05); }
.menu__icon { width: 18px; height: 12px; position: relative; }
.menu__icon::before, .menu__icon::after {
  content: ""; position: absolute; inset-inline: 0; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, top 0.25s;
}
.menu__icon::before { top: 2px; }
.menu__icon::after { top: 9px; }
.menu[open] .menu__icon::before { top: 5.5px; transform: rotate(45deg); }
.menu[open] .menu__icon::after { top: 5.5px; transform: rotate(-45deg); }
.menu__sheet {
  position: fixed; inset-inline: 0; top: var(--nav-h); padding: 12px var(--gutter) 28px;
  background: rgba(251, 251, 253, 0.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-block-end: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}
.menu__sheet a { display: block; padding: 14px 4px; font-size: 19px; font-weight: 600; border-block-end: 1px solid var(--line); }
.menu__sheet a:last-child { border: 0; }
@media (max-width: 900px) {
  .gnav__links { display: none; }
  .menu { display: block; }
  .gnav__actions .btn { display: none; }
  .gnav__inner { justify-content: space-between; }
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45); }
.btn--gold { background: linear-gradient(180deg, #c49a46, #a77a28); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 26px -12px rgba(150, 105, 30, 0.7); }
.btn--ghost { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.btn--ghost:hover { background: rgba(0, 0, 0, 0.08); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f2f2f2; }
.btn--sm { min-height: 32px; padding: 5px 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 13px 28px; font-size: 17px; }
.btn:active { transform: scale(0.98); }
.more {
  display: inline-flex; align-items: center; gap: 4px; color: var(--gold-ink); font-weight: 600; font-size: 16px; white-space: nowrap;
}
.more::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform 0.2s; }
html[dir="rtl"] .more::after { content: "‹"; }
.more:hover::after { transform: translateX(3px); }
html[dir="rtl"] .more:hover::after { transform: translateX(-3px); }
.night .more { color: #e2bf7c; }

/* ---------- type scale ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-ink); margin-block-end: 14px; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; }
.display { font-size: clamp(42px, 7.2vw, 92px); line-height: 1.04; font-weight: 700; }
html[lang="ar"] .display { line-height: 1.22; }
.h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; }
html[lang="ar"] .h1 { line-height: 1.3; }
.h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; }
html[lang="ar"] .h2 { line-height: 1.32; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--muted); line-height: 1.55; max-width: 44ch; }
html[lang="ar"] .lede { line-height: 1.8; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.gold-text {
  background: linear-gradient(100deg, #8a6420 0%, #c9a052 45%, #8a6420 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section__head { margin-block-end: clamp(40px, 5vw, 64px); }
.section__head.center { max-width: 820px; margin-inline: auto; }
.section__head .lede { margin-block-start: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(56px, 8vw, 110px) 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(48% 52% at 50% 20%, var(--gold-glow), transparent 70%),
    radial-gradient(30% 30% at 82% 8%, rgba(120, 150, 210, 0.12), transparent 70%),
    radial-gradient(30% 30% at 15% 12%, rgba(230, 160, 120, 0.12), transparent 70%);
}
.hero__copy { text-align: center; max-width: 980px; margin-inline: auto; }
.hero__copy .lede { margin: 26px auto 0; max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 36px; }
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 14.5px;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--green); }
.hero__stage { margin-block-start: clamp(48px, 7vw, 88px); perspective: 2000px; }
.hero__stage .window { max-width: 1180px; margin-inline: auto; transform: rotateX(8deg) translateY(10px); transform-origin: 50% 0; }
.hero__stage::after {
  content: ""; display: block; height: 120px; margin-block-start: -120px; position: relative;
  background: linear-gradient(180deg, transparent, var(--paper) 92%);
}

/* ---------- macOS-style window around a screenshot ---------- */
.window {
  position: relative; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow-window);
}
.window__bar {
  height: 34px; display: flex; align-items: center; gap: 8px; padding-inline: 14px; position: relative;
  background: linear-gradient(180deg, #f6f6f7, #ececee); border-block-end: 1px solid rgba(0, 0, 0, 0.08);
}
.window__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.window__dot:nth-child(1) { background: #ff5f57; }
.window__dot:nth-child(2) { background: #febc2e; }
.window__dot:nth-child(3) { background: #28c840; }
.window__title {
  position: absolute; inset-inline: 90px; text-align: center; font-size: 12.5px; color: #6b6b70; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.window img { width: 100%; }
.window--dark { background: #1c1c20; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.window--dark .window__bar { background: linear-gradient(180deg, #2c2c31, #232328); border-color: rgba(255, 255, 255, 0.06); }
.window--dark .window__title { color: #9a9aa0; }
.caption { margin-block-start: 18px; text-align: center; font-size: 14px; color: var(--faint); }

/* ---------- strip of shop types ---------- */
.verticals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.verticals li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface);
  box-shadow: var(--shadow-1); font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.verticals svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; grid-column: span 2; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; min-height: 300px;
}
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--full { grid-column: span 6; }
.tile h3 { font-size: clamp(22px, 2vw, 28px); margin-block-end: 10px; }
.tile p { color: var(--muted); margin: 0; max-width: 46ch; }
.tile__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-block-end: 22px;
  background: var(--gold-soft); color: var(--gold-ink);
}
.tile__icon svg { width: 24px; height: 24px; }
.tile__media { margin-block-start: auto; padding-block-start: 28px; }
.tile__media .window { border-radius: 10px; }
.tile__media--bleed { margin-inline: calc(-1 * clamp(26px, 3vw, 40px)); margin-block-end: calc(-1 * clamp(26px, 3vw, 40px)); }
.tile__media--bleed img { border-start-start-radius: 0; }
.tile__crop { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.tile__crop img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; }
.tile--night { background: var(--night-2); color: var(--night-ink); }
.tile--night h3 { color: var(--night-ink); }
.tile--night p { color: var(--night-muted); }
.tile--night .tile__icon { background: rgba(214, 170, 88, 0.15); color: #e2bf7c; }
.tile--gold { background: linear-gradient(160deg, #fbf4e6, #f3e4c4); }
.big-stat { font-size: clamp(54px, 6vw, 84px); font-weight: 700; line-height: 1; margin-block: auto 12px; }
html[lang="en"] .big-stat { letter-spacing: -0.04em; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide, .tile--half { grid-column: span 1; }
  .tile--wide, .tile--full { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--half, .tile--full { grid-column: span 1; min-height: 0; }
}

/* ---------- night (dark showcase) ---------- */
.night { background: radial-gradient(70% 60% at 50% 0%, #2a2318 0%, var(--night) 60%); color: var(--night-ink); }
.night h2, .night h3 { color: var(--night-ink); }
.night .lede, .night p { color: var(--night-muted); }
.night .eyebrow { color: #e2bf7c; }
.night .gold-text { background-image: linear-gradient(100deg, #d9b06a 0%, #f6dfae 45%, #d9b06a 100%); }

/* ---------- feature rows (text beside a window) ---------- */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.row + .row { margin-block-start: clamp(80px, 10vw, 140px); }
.row--flip { grid-template-columns: 7fr 5fr; }
.row--flip .row__copy { order: 2; }
.row__copy h3 { font-size: clamp(26px, 3vw, 40px); margin-block-end: 16px; }
.row__copy p { color: var(--muted); font-size: 18px; }
.row__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.row__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.row__list svg { width: 20px; height: 20px; flex: none; margin-block-start: 4px; color: var(--gold); }
.night .row__list li { color: #d6d6db; }
@media (max-width: 900px) {
  .row, .row--flip { grid-template-columns: 1fr; }
  .row--flip .row__copy { order: 0; }
}

/* ---------- three-up steps / promises ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: trio; }
.trio > li { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-1); }
.trio--steps > li { counter-increment: trio; }
.trio--steps > li::before {
  content: counter(trio); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-block-end: 20px;
  background: var(--ink); color: #fff; font-weight: 700; font-family: "Inter", sans-serif;
}
.trio h3 { font-size: 21px; margin-block-end: 8px; }
.trio p { color: var(--muted); margin: 0; }
.night .trio > li { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.trio__icon { width: 26px; height: 26px; color: #e2bf7c; margin-block-end: 18px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(32px, 4.5vw, 56px); box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
}
.price::before {
  content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -10%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, var(--gold-glow), transparent); pointer-events: none;
}
.price__amount { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.price__num { font-size: clamp(64px, 7vw, 96px); font-weight: 700; line-height: 1; font-family: "Inter", sans-serif; letter-spacing: -0.04em; }
.price__cur { font-size: 22px; font-weight: 600; }
.price__per { font-size: 16px; color: var(--muted); }
.price__body h3 { font-size: 24px; margin-block-end: 8px; }
.price__body p { color: var(--muted); margin: 0; }
.price__note { margin-block-start: 10px !important; font-size: 14.5px; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; text-align: start; } }

.includes { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.includes li { break-inside: avoid; display: flex; gap: 10px; padding-block: 9px; border-block-end: 1px solid var(--line); }
.includes svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-block-start: 3px; }
@media (max-width: 700px) { .includes { columns: 1; } }

/* ---------- spec table ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { padding: 16px 0; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec th { width: 30%; font-weight: 600; color: var(--ink); padding-inline-end: 24px; }
.spec td { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-block-end: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none; transition: transform 0.25s;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat;
  color: var(--muted);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding-block-end: 24px; color: var(--muted); max-width: 70ch; }
.faq .faq__a p:last-child { margin: 0; }

.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius-sm);
  background: var(--gold-soft); color: var(--ink-2); font-size: 15.5px; max-width: 860px; margin-inline: auto;
}
.callout svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; margin-block-start: 3px; }
.callout p { margin: 0; }

/* ---------- final call to action ---------- */
.cta {
  text-align: center; border-radius: var(--radius-lg); padding: clamp(56px, 8vw, 110px) var(--gutter);
  background: radial-gradient(80% 120% at 50% 0%, #2c2417 0%, var(--night) 70%); color: var(--night-ink);
}
.cta h2 { color: var(--night-ink); }
.cta p { color: var(--night-muted); max-width: 52ch; margin: 18px auto 0; font-size: 19px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 34px; }
.cta small { display: block; margin-block-start: 22px; color: var(--night-muted); font-size: 14px; }
.cta small a { color: #e2bf7c; text-decoration: underline; text-underline-offset: 3px; }
.cta .btn--ghost { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- sub-page hero ---------- */
.pagehero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.pagehero::before {
  content: ""; position: absolute; inset: -40% 0 auto; height: 700px; z-index: -1;
  background: radial-gradient(45% 50% at 50% 30%, var(--gold-glow), transparent 70%);
}
.pagehero .lede { margin: 22px auto 0; max-width: 46ch; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--faint); margin-block-end: 20px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- footer ---------- */
.footer { background: var(--paper-2); color: var(--muted); font-size: 13.5px; padding-block: 56px 32px; border-block-start: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__about p { margin: 14px 0 0; max-width: 36ch; line-height: 1.7; }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-block-end: 12px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-block-start: 40px; padding-block-start: 20px;
  border-block-start: 1px solid var(--line); font-size: 12.5px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- small helpers ---------- */
.stack-lg > * + * { margin-block-start: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--gold-soft); color: var(--gold-ink);
}
.dim { color: var(--muted); }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* ---------- bento: split tiles (text beside a picture) ---------- */
.tile--split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.tile--split .tile__media { margin: 0; padding: 0; }
.tile__crop--tall { aspect-ratio: 4 / 4.4; max-height: 440px; }
.tile__crop--tall img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: bottom center; }
@media (max-width: 760px) { .tile--split { grid-template-columns: 1fr; } }
.strip { padding-block: clamp(28px, 4vw, 48px) 0; }
.tile__crop--short img { aspect-ratio: 16 / 6.2; }

/* =====================================================================================================
   Motion — quiet and purposeful. Only opacity and the individual transform properties (translate, scale,
   transform on the hero window) are animated, so the compositor does the work: no layout, no paint, no
   scroll listeners. Scroll effects are CSS scroll-driven animations (animation-timeline), which browsers
   without support simply skip, leaving the page as it was. Nothing moves for visitors who ask for less motion.
   ===================================================================================================== */
:root { --m-amp: 1; }
/* Reduced motion (Windows "Animation effects" off — on shop PCs usually just for speed): the same motion at about
   half strength — a smaller tilt, less drift, a shorter slide — instead of none. */
@media (prefers-reduced-motion: reduce) { :root { --m-amp: 0.5; } }
@media all {
  /* page load: the hero copy rises in, line by line */
  @keyframes m-rise { from { opacity: 0; translate: 0 calc(22px * var(--m-amp)); } to { opacity: 1; translate: 0 0; } }
  .hero__copy > *, .pagehero .container > * { animation: m-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__copy > :nth-child(2), .pagehero .container > :nth-child(2) { animation-delay: 0.04s; }
  .hero__copy > :nth-child(3), .pagehero .container > :nth-child(3) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(4), .pagehero .container > :nth-child(4) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(5), .pagehero .container > :nth-child(5) { animation-delay: 0.16s; }
  /* the largest things on screen (headline, lede, the window) stay opaque and only glide, so the first
     meaningful paint is not held back by a fade */
  @keyframes m-glide { from { translate: 0 calc(26px * var(--m-amp)); } to { translate: 0 0; } }
  .hero__copy > :is(h1, .lede), .pagehero .container > :is(h1, .lede) { animation-name: m-glide; }
  .hero__stage { animation: m-glide 0.75s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  /* the gold words catch the light once */
  @keyframes m-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
  .hero .gold-text, .pagehero .gold-text { background-size: 220% 100%; animation: m-sheen 1.6s 0.3s cubic-bezier(0.3, 0.6, 0.2, 1) both; }

  /* hover: a screenshot in a tile leans in a little */
  .tile__crop img { transition: scale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .tile:hover .tile__crop img { scale: 1.025; }

}
/* Reveals and the hero's tilt / parallax are driven by assets/site.js (a class per element and one --m-p value on the
   hero, 0 at the top → 1 once scrolled past), so they work in every browser; the CSS only maps them to transforms. */
.m-js .m-rv {
  opacity: 0; translate: 0 calc(24px * var(--m-amp));
  transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) var(--m-delay, 0ms), translate 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) var(--m-delay, 0ms),
    scale 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--m-delay, 0ms);
}
.m-js .window.m-rv { translate: 0 calc(16px * var(--m-amp)); scale: calc(1 - 0.04 * var(--m-amp)); opacity: 0.2; }
.m-js .m-rv.m-in { opacity: 1; translate: 0 0; scale: 1; }
@media all {
  .m-js .hero__stage .window { transform: rotateX(calc((12deg - 12deg * var(--m-p, 0)) * var(--m-amp))) scale(calc(1 - 0.045 * (1 - var(--m-p, 0)) * var(--m-amp))); will-change: transform; }
  .m-js .hero::before, .m-js .pagehero::before { translate: 0 calc(var(--m-p, 0) * 260px * var(--m-amp)); opacity: calc(1 - 0.65 * var(--m-p, 0)); }
  .m-js .hero__copy { translate: 0 calc(var(--m-p, 0) * -60px * var(--m-amp)); opacity: calc(1 - 0.5 * var(--m-p, 0)); }
}
