@font-face { font-family: Cinzel; font-weight: 700; font-display: swap; src: url(fonts/Cinzel_700Bold.ttf); }
@font-face { font-family: Cinzel; font-weight: 900; font-display: swap; src: url(fonts/Cinzel_900Black.ttf); }
:root {
  --bg: #1b1326;
  --bg2: #2e1c4a;
  --card: #2a1b40;
  --ink: #fff6dc;
  --muted: #c9b99d;
  --accent: #ffc54a;
  --gold: #e6bc6a;
  --gold-ink: #25173a;
  --line: #4a3a5e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
h1, h2, .wordmark { font-family: Cinzel, Georgia, serif; letter-spacing: 0.03em; }
h1 { font-size: 2rem; font-weight: 900; margin: 0 0 4px; }
h2 { font-size: 1.35rem; font-weight: 700; margin: 32px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--gold); }
h3 { font-size: 1.05rem; margin: 20px 0 4px; }
ul { padding-left: 20px; }
li { margin: 6px 0; }
a { color: var(--accent); }
.meta, .back, .foot { color: var(--muted); font-size: 0.9rem; }
.foot a, .back a { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---- Home page ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: #140c22 url(img/hero.jpg) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 26% 45%, rgba(20, 12, 34, 0.93) 0%, rgba(20, 12, 34, 0.72) 40%, rgba(20, 12, 34, 0.18) 100%),
    linear-gradient(180deg, rgba(46, 28, 74, 0.2), rgba(27, 19, 38, 0.55));
}
.hero-in {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: center;
}
.brand { display: flex; align-items: center; gap: 18px; }
.brand img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 0 44px rgba(230, 188, 106, 0.45); flex: none; }
.wordmark { font-weight: 900; font-size: clamp(2.3rem, 7vw, 4rem); line-height: 1; margin: 0; }
.tag { color: var(--gold); font: 700 clamp(0.85rem, 2.2vw, 1.1rem) Cinzel, Georgia, serif; letter-spacing: 0.1em; margin: 8px 0 0; }
.pitch { font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.45; margin: 26px 0 26px; max-width: 30em; }
.pitch b { color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  min-width: 210px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.btn.primary { background: var(--accent); color: var(--gold-ink); border-color: var(--accent); box-shadow: 0 6px 26px rgba(255, 197, 74, 0.35); }
.btn small { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.85; }
.btn.off { opacity: 0.6; pointer-events: none; }
.phone {
  justify-self: center;
  width: min(100%, 290px);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  border: 6px solid #0d0817;
  outline: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(230, 188, 106, 0.22);
  overflow: hidden;
  background: #0d0817;
}
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wide { max-width: 1040px; margin: 0 auto; padding: 8px 20px 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 40px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.card div { padding: 14px 16px 18px; }
.card h3 { font: 700 1.15rem Cinzel, Georgia, serif; color: var(--gold); margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; padding: 0; margin: 28px 0 0; list-style: none; }
.more li { padding-left: 26px; position: relative; color: var(--ink); }
.more li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; padding: 36px 16px 44px; gap: 30px; }
  .brand img { width: 76px; height: 76px; border-radius: 18px; }
  .btn { flex: 1 1 100%; }
  .cards, .more { grid-template-columns: 1fr; }
  .wide { padding: 0 16px; }
}

/* ---- Guide tables ---- */
table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 0.95rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
td.best { color: var(--accent); font-weight: 700; }
ol { padding-left: 22px; }
@media (max-width: 560px) { table { font-size: 0.85rem; } th, td { padding: 8px 6px; } }

/* ---- Social links ---- */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 32px 0 0; }
.social span { color: var(--muted); font-size: 0.9rem; margin-right: 4px; }
.social a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; background: rgba(255, 255, 255, 0.04); }
.social a:hover { border-color: var(--accent); color: var(--accent); }
