/* Qamar — shared site styles.
   Palette taken from the app itself: deep table felt, gold leaf, card-stock cream. */
:root {
  --felt:      #0a2419;
  --felt-2:    #0d2f20;
  --panel:     #10382733;
  --hair:      #1e4634;
  --gold:      #e3bb5c;
  --gold-dim:  #b8913c;
  --cream:     #f2ecdd;
  --muted:     #9db0a3;
  --heart:     #d4453a;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 68rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 50% -5%, #14513650, transparent 62%),
    radial-gradient(90% 60% at 85% 12%, #e3bb5c14, transparent 55%),
    var(--felt);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 44rem; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.4rem 0 .4rem;
}
.nav .mark {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .14em; color: var(--cream); text-decoration: none;
}
.nav nav { display: flex; gap: 1.5rem; }
.nav nav a {
  color: var(--muted); text-decoration: none; font-size: .93rem;
}
.nav nav a:hover, .nav nav a:focus-visible { color: var(--gold); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }
.moon { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 1.1rem; display: block; }
h1.wordmark {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 12vw, 6rem);
  font-weight: 700; letter-spacing: .1em; margin: 0;
  color: var(--cream); text-wrap: balance;
}
.tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.5rem); color: var(--gold);
  margin: .6rem 0 0;
}
.sub {
  max-width: 34rem; margin: 1.1rem auto 0; color: var(--muted);
  text-wrap: pretty;
}

/* ---------- shot ---------- */
.shot {
  margin: clamp(2rem, 5vw, 3.2rem) auto 0; max-width: 60rem;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow: 0 2px 4px #0006, 0 40px 90px -40px #000c;
}
.shot img { display: block; width: 100%; height: auto; }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .72rem;
  font-weight: 700; color: var(--gold); margin: 0 0 .7rem;
}
h2 {
  font-family: var(--serif); font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 700; margin: 0 0 .6rem; color: var(--cream); text-wrap: balance;
}
h3 { font-size: 1.06rem; margin: 0 0 .35rem; color: var(--cream); }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); max-width: 38rem; }

/* ---------- rule set cards ---------- */
.rules { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2rem; }
.rule {
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: 16px; padding: 1.5rem;
}
.rule .badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1rem; height: 2.1rem; padding: 0 .55rem;
  border-radius: 8px; background: var(--gold); color: #17130a;
  font-weight: 800; font-size: .95rem; margin-bottom: .85rem;
  font-variant-numeric: tabular-nums;
}
.rule dl { margin: .9rem 0 0; font-size: .9rem; }
.rule dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .34rem 0; border-top: 1px solid var(--hair); }
.rule dt { color: var(--muted); }
.rule dd { margin: 0; color: var(--cream); font-variant-numeric: tabular-nums; }

/* ---------- features ---------- */
.feats { display: grid; gap: 1.6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2rem; }
.feat p { color: var(--muted); font-size: .95rem; margin: 0; }
.feat .pip {
  width: 26px; height: 26px; border-radius: 7px; margin-bottom: .6rem;
  background: #e3bb5c1f; border: 1px solid #e3bb5c40;
  display: grid; place-items: center; color: var(--gold); font-size: .85rem;
}

/* ---------- split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } }
.split img {
  width: 100%; height: auto; display: block; border-radius: 16px;
  border: 1px solid var(--hair); box-shadow: 0 30px 70px -40px #000d;
}
.split.phone img { max-width: 300px; margin-inline: auto; }

/* ---------- card / prose (support + privacy) ---------- */
.card {
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.6rem);
}
.prose h2 {
  font-family: var(--sans); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--gold);
  margin: 2.2rem 0 .5rem; padding-top: 1.5rem; border-top: 1px solid var(--hair);
}
.prose section:first-of-type h2 { border-top: 0; padding-top: 0; margin-top: 1.4rem; }
.prose .lede { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; margin: 0 0 .3rem; text-wrap: pretty; }
.prose .lede strong { color: var(--gold); }
.prose ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.35rem; margin-bottom: .5rem; }
.prose li::before {
  content: ""; position: absolute; left: .1rem; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.muted { color: var(--muted); }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }

.mailbtn {
  display: inline-block; margin-top: .4rem; padding: .8rem 1.4rem;
  background: var(--gold); color: #17130a; font-weight: 700;
  border-radius: 12px; text-decoration: none;
}
.mailbtn:hover { background: #f0cd75; color: #17130a; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hair); margin-top: 2rem;
  padding: 2.2rem 0 3rem; color: var(--muted); font-size: .88rem;
}
footer .row { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer nav { display: flex; gap: 1.3rem; }
