/* ═══════════════════════════════════════════════════════════════
   NovelForge — Landing page styles
   Nocturne literary aesthetic: deep indigo/charcoal, gold + sage,
   Playfair Display serif headings, DM Sans body. Palette mirrors
   the app's design-tokens.css so the site feels like the product.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Backgrounds (from app design-tokens) */
  --bg:        #0e0e18;
  --bg-2:      #121522;
  --bg-deep:   #0a0b13;
  --panel:     rgba(17, 19, 29, 0.86);
  --panel-2:   rgba(11, 13, 21, 0.94);
  --line:      rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.045);

  /* Text */
  --text:      #f0ede7;
  --text-alt:  #c9cddb;
  --muted:     #9296a8;
  --subtle:    #6d7283;

  /* Brand */
  --gold:      #d4a847;
  --gold-2:    #e3be6d;
  --gold-glow: rgba(212, 168, 71, 0.16);
  --sage:      #4a7c6f;
  --sage-2:    #79c3b2;
  --sage-glow: rgba(74, 124, 111, 0.18);
  --blue:      #47658f;

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", "Segoe UI", system-ui, sans-serif;
  --mono:  "DM Mono", Consolas, ui-monospace, monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.72rem;
  --fs-body:    clamp(1rem, 0.2vw + 0.96rem, 1.075rem);
  --fs-lede:    clamp(1.08rem, 0.6vw + 0.95rem, 1.3rem);
  --fs-h3:      clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
  --fs-h2:      clamp(1.9rem, 2.6vw + 1rem, 3rem);
  --fs-h1:      clamp(2.6rem, 5.5vw + 0.6rem, 5rem);

  /* Layout */
  --maxw: 1160px;
  --pad:  clamp(1.2rem, 4vw, 3rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --t-fast: 0.16s ease;
  --t-base: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ───────────── Reset / base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-alt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--gold-2);
  background: rgba(212, 168, 71, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--gold);
  color: #1a1407;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* ───────────── Atmospheric background ───────────── */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 78% -8%, rgba(71, 101, 143, 0.10), transparent 60%),
    linear-gradient(180deg, #111321 0%, var(--bg) 38%, var(--bg-deep) 100%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.bg-glow--gold {
  width: 46vw; height: 46vw;
  top: -12vw; right: -8vw;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}
.bg-glow--sage {
  width: 40vw; height: 40vw;
  bottom: 4vw; left: -12vw;
  background: radial-gradient(circle, var(--sage-glow), transparent 70%);
}
/* Subtle film grain for warmth/texture */
.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────────── Shared layout primitives ───────────── */
.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7.5rem) var(--pad);
}

.section__head { max-width: 46ch; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1rem;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 1px var(--gold-glow);
}

.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section__lede {
  margin-top: 1.1rem;
  font-size: var(--fs-lede);
  color: var(--muted);
  line-height: 1.65;
}

/* ───────────── Buttons ───────────── */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base),
              background var(--t-base), border-color var(--t-base), color var(--t-base);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1c1505;
  box-shadow: 0 8px 26px rgba(212, 168, 71, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover {
  box-shadow: 0 12px 34px rgba(212, 168, 71, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(212, 168, 71, 0.5); color: var(--gold-2); transform: translateY(-2px); }

.btn--text {
  background: transparent;
  color: var(--text);
  padding-inline: 0.4rem;
}
.btn--text:hover { color: var(--gold-2); }

.btn--block { width: 100%; }
.btn--lg { --btn-pad-y: 1.05rem; --btn-pad-x: 1.8rem; font-size: 1.05rem; }
.btn__icon { transition: transform var(--t-base); }
.btn--primary:hover .btn__icon { transform: translateY(2px); }

/* ───────────── Header / nav ───────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(10, 11, 19, 0.82), rgba(10, 11, 19, 0.45));
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 80px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__logo { height: 70px; width: auto; display: block; }
.footer__brand .nav__logo { height: 40px; }
.nav__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  color: var(--gold-2);
  background: radial-gradient(circle at 30% 25%, rgba(212, 168, 71, 0.22), rgba(212, 168, 71, 0.04));
  border: 1px solid rgba(212, 168, 71, 0.25);
}
.nav__wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__menu a:not(.btn) {
  font-size: 1.08rem;
  color: var(--text-alt);
  position: relative;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--t-base);
}
.nav__menu a:not(.btn):hover { color: var(--text); }
.nav__menu a:not(.btn):hover::after { width: 100%; }
.nav__cta .btn { font-size: 1.05rem; padding: 0.7rem 1.5rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───────────── Hero ───────────── */
.hero {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0.6rem 0 1.3rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
  position: relative;
}
.hero__sub {
  font-size: var(--fs-lede);
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.6rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--subtle);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.hero__meta strong { color: var(--gold-2); }
.hero__meta-dot { color: var(--line); }

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.trust li { font-size: 0.95rem; color: var(--muted); }
.trust strong { color: var(--text); font-weight: 600; }

/* Product mock */
.mock {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform var(--t-slow);
}
.hero__mock:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--line-soft);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #2c3040; }
.mock__dot:nth-child(1) { background: #4a3b2a; }
.mock__title {
  margin-left: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--subtle);
}
.mock__body { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 320px; }
.mock__editor {
  padding: 1.6rem 1.5rem;
  font-family: var(--serif);
  border-right: 1px solid var(--line-soft);
}
.mock__line { color: var(--text-alt); font-size: 0.95rem; line-height: 1.9; }
.mock__line--head {
  font-size: 1.4rem;
  color: var(--gold-2);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.mock__line--dim { color: var(--subtle); }
.mock__caret {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--gold);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.mock__ai {
  padding: 1.4rem 1.2rem;
  background: rgba(74, 124, 111, 0.06);
}
.mock__ai-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-2);
  margin-bottom: 0.8rem;
}
.mock__ai-text { font-size: 0.84rem; color: var(--text-alt); line-height: 1.6; }
.mock__ai-text em { color: var(--gold-2); font-style: italic; }
.mock__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.chip {
  font-size: 0.7rem;
  font-family: var(--mono);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip--on { background: rgba(212, 168, 71, 0.14); border-color: rgba(212, 168, 71, 0.4); color: var(--gold-2); }
.mock__caption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--subtle);
  text-align: center;
}

/* ───────────── Feature grid ───────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.card {
  position: relative;
  padding: 1.8rem 1.7rem 2rem;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 0% 0%, rgba(212, 168, 71, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 71, 0.32);
}
.card:hover::before { opacity: 1; }
.card__glyph {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  font-size: 1.5rem;
  color: var(--gold-2);
  background: radial-gradient(circle at 30% 25%, rgba(212, 168, 71, 0.18), rgba(212, 168, 71, 0.03));
  border: 1px solid rgba(212, 168, 71, 0.2);
  margin-bottom: 1.2rem;
}
.card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--text);
  margin-bottom: 0.6rem;
}
.card__text { font-size: 0.96rem; color: var(--muted); line-height: 1.6; }
.card__text code { font-size: 0.82em; }

/* ───────────── Steps ───────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.7rem;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
.step__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(212, 168, 71, 0.55);
  display: block;
  margin-bottom: 0.8rem;
}
.step__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--text);
  margin-bottom: 0.55rem;
}
.step__text { font-size: 0.96rem; color: var(--muted); line-height: 1.6; }
.step__text em { color: var(--gold-2); font-style: italic; }

/* ───────────── Pricing ───────────── */
.price-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.price-card {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(212, 168, 71, 0.07), rgba(17, 19, 29, 0.9));
  border: 1px solid rgba(212, 168, 71, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(212, 168, 71, 0.6), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.price-card__tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.price-card__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text);
  margin-top: 0.3rem;
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin: 1.2rem 0 1.4rem;
  color: var(--text);
}
.price-card__currency { font-size: 1.8rem; font-family: var(--serif); color: var(--gold-2); }
.price-card__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.2rem, 6vw, 4.2rem);
  line-height: 1;
}
.price-card__period { font-size: 1rem; color: var(--muted); margin-left: 0.3rem; }
.price-card__list { display: grid; gap: 0.7rem; margin: 0 0 1.7rem; }
.price-card__list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.96rem;
  color: var(--text-alt);
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--sage-2);
  border-bottom: 2px solid var(--sage-2);
  transform: rotate(-45deg);
}
.price-card__note { margin-top: 1rem; font-size: 0.82rem; color: var(--subtle); text-align: center; }

.price-aside__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  color: var(--text);
}
.price-aside__by { margin-top: 1rem; font-family: var(--mono); font-size: 0.8rem; color: var(--subtle); }

/* ───────────── Quotes / testimonials ───────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.quote {
  padding: 1.9rem 1.7rem;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.quote__by strong { color: var(--text); }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  background: radial-gradient(circle at 30% 25%, rgba(212, 168, 71, 0.2), rgba(74, 124, 111, 0.1));
  border: 1px solid var(--line);
}

/* ───────────── Download CTA ───────────── */
.download__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(212, 168, 71, 0.14), transparent 60%),
    linear-gradient(165deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(212, 168, 71, 0.22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.download__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
}
.download__sub { margin-top: 1rem; font-size: var(--fs-lede); color: var(--muted); }
.download__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1.2rem;
}
.download__platforms { font-family: var(--mono); font-size: 0.8rem; color: var(--subtle); letter-spacing: 0.02em; }

/* ───────────── FAQ ───────────── */
.faq__list { display: grid; gap: 0.8rem; max-width: 760px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: border-color var(--t-base), background var(--t-base);
}
.faq__item[open] { border-color: rgba(212, 168, 71, 0.3); background: rgba(212, 168, 71, 0.03); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-2);
  line-height: 1;
  transition: transform var(--t-base);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 60ch;
}

/* ───────────── Footer ───────────── */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(8, 9, 16, 0.6));
  margin-top: 2rem;
}
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 2.5rem;
}
.footer__tag { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); max-width: 30ch; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__col ul { display: grid; gap: 0.65rem; }
.footer__col a { font-size: 0.94rem; color: var(--text-alt); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--gold-2); }
.footer__base {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.6rem var(--pad);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--subtle);
}
.footer__made { font-style: italic; font-family: var(--serif); }

/* ───────────── Scroll reveal ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ───────────── Responsive ───────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mock { order: -1; }
  .mock { transform: none; }
  .hero__mock:hover .mock { transform: none; }
  .price-wrap { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--pad);
    background: rgba(10, 11, 19, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base), padding var(--t-base), border-color var(--t-base);
  }
  .nav__menu.is-open {
    max-height: 460px;
    padding: 0.5rem var(--pad) 1.4rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__menu li { padding: 0.2rem 0; }
  .nav__menu a:not(.btn) { display: block; padding: 0.7rem 0; }
  .nav__cta { margin-top: 0.6rem; }
  .nav__cta .btn { width: 100%; }
  .nav__menu .nav__lang-wrap { display: flex; width: 100%; margin-left: 0; margin-top: 0.6rem; }
  .nav__lang { width: 100%; }
  .trust { grid-template-columns: 1fr; gap: 0.7rem; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__ai { border-top: 1px solid var(--line-soft); }
  .mock__editor { border-right: 0; }
  .footer__base { flex-direction: column; }
}

/* ───────────── Language picker ───────────── */
.nav__lang-wrap { display: inline-flex; align-items: center; margin-left: calc(5px - 2.1rem); }
.nav__lang-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nav__lang {
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--text-alt);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.nav__lang:hover { border-color: rgba(212, 168, 71, 0.5); color: var(--text); }
.nav__lang:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.nav__lang option { background: var(--bg-2); color: var(--text); }

/* ───────────── Screenshot showcase ───────────── */
.shot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 980px;
  margin-inline: auto;
}
.shot__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(212, 168, 71, 0.4);
  border-radius: var(--r-lg, 18px);
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 168, 71, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.shot__placeholder {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.shot__caption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}
.shot__caption strong { color: var(--text-alt); font-weight: 600; }

/* ───────────── Philosophy ───────────── */
.philosophy__body {
  max-width: 64ch;
  margin-inline: auto;
}
.philosophy__body p {
  font-size: var(--fs-lede);
  line-height: 1.75;
  color: var(--text-alt);
  margin-top: 1.3rem;
}
.philosophy__body p:first-child { margin-top: 0; }
.philosophy__body em { color: var(--gold-2); font-style: italic; }
.philosophy__body u {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.philosophy__body strong { color: var(--text); font-weight: 600; }
.philosophy__signoff {
  margin-top: 2.4rem !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--gold-2) !important;
  text-align: center;
}

/* ───────────── RTL (Arabic) ───────────── */
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .section__title,
[dir="rtl"] .hero__title { letter-spacing: 0; }
[dir="rtl"] .nav__menu a:not(.btn)::after { left: auto; right: 0; }
[dir="rtl"] .mock,
[dir="rtl"] .mock__editor,
[dir="rtl"] .mock__ai-text,
[dir="rtl"] .mock__title,
[dir="rtl"] .mock__ai-label { direction: ltr; text-align: left; }
[dir="rtl"] .price-card__period { direction: ltr; display: inline-block; }

/* ───────────── Reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mock { transform: none; }
}
