/* Eparsis — design v7 « Arène » for the web (black marble, marble-white ink, gold). Shared by index.html and ig.html. */
:root {
  --bg: #0B0B0D;
  --surface: #151518;
  --surface-2: #1C1C20;
  --ink: #F4F1EA;
  --ink-soft: rgba(244, 241, 234, 0.72);
  --muted: #8E8B84;
  --gold: #C9A227;
  --gold-light: #E6C766;
  --gold-deep: #9C7A1E;
  --border: rgba(244, 241, 234, 0.08);
  --border-gold: rgba(201, 162, 39, 0.35);
  --r-card: 20px;
  --r-control: 16px;
  --r-sheet: 28px;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --greek: "GFS Didot", Georgia, serif;
  --gold-grad: linear-gradient(100deg, #E6C766 0%, #C9A227 45%, #9C7A1E 100%);
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(201,162,39,0.16), transparent 65%),
    radial-gradient(700px 500px at 100% 30%, rgba(201,162,39,0.05), transparent 60%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Type */
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.display { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.96; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.greek { font-family: var(--greek); }
.lead { font-size: 17px; color: var(--ink-soft); line-height: 1.55; }

/* Surfaces */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9);
}
.card.gold { border-color: var(--border-gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-control);
  font-family: var(--font); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn-gold { background: var(--gold-grad); color: #0B0B0D; box-shadow: 0 12px 30px -14px rgba(201,162,39,0.6); }
.btn-quiet { border-color: var(--border); background: rgba(244,241,234,0.04); color: var(--ink); }
.btn-quiet:hover { opacity: 1; border-color: var(--border-gold); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Store badge (white, like the official one) */
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 14px;
  background: var(--ink); color: #0B0B0D; border-radius: 12px; border: 1px solid transparent;
  transition: background 0.15s ease;
}
.store:hover { background: #fff; }
.store svg { width: 24px; height: 24px; flex: none; }
.store .t { display: flex; flex-direction: column; line-height: 1.05; }
.store .t small { font-size: 10px; font-weight: 500; letter-spacing: 0.01em; }
.store .t b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.store.dark { background: #000; color: #fff; border-color: rgba(255,255,255,0.22); }
.store.dark:hover { background: #111; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(201,162,39,0.12); border: 1px solid var(--border-gold);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light);
}

/* Laurel badge */
.laurel { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.laurel svg { width: 18px; height: 34px; color: var(--gold); }
.laurel .v { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.laurel .v b { font-size: 20px; font-weight: 900; font-style: italic; }
.laurel .v small { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

/* Phone frame around a capture (924×2000) */
.phone {
  position: relative; width: 100%; max-width: 280px; margin: 0 auto;
  background: #000; border-radius: 40px; padding: 9px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.95), 0 0 70px -30px rgba(201,162,39,0.35);
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 24px; background: #000; border-radius: 14px; z-index: 2;
}
.phone img { width: 100%; height: auto; border-radius: 32px; aspect-ratio: 924 / 2000; object-fit: cover; background: var(--bg); }

footer.site { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: 13px; color: var(--muted); }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
