/* Texas Dominoes site: the app's felt-and-gold palette, with the Aetherwide
   serif (Georgia) for display type and Avenir Next / system sans for body. */

:root {
  --felt: #1f5a32;
  --felt-dark: #143d22;
  --felt-deep: #0e2d19;
  --gold: #d9bf4c;
  --gold-dim: rgba(217, 191, 76, 0.55);
  --ivory: #fbf7ea;
  --text: #f4f1e6;
  --muted: rgba(244, 241, 230, 0.72);
  --panel: rgba(0, 0, 0, 0.28);
  --button: #2e7d4a;
  --aether-bg: #0b2027;
  --aether-text: #d0e1d4;
  --display: "Rockwell", "Superclarendon", Georgia, "Times New Roman", serif;
  --body: "Avenir Next", "Avenir", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --radius: 18px;
  --measure: 46rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--felt-dark);
  background-image: radial-gradient(ellipse 120% 80% at 50% 0%, var(--felt) 0%, var(--felt-dark) 60%, var(--felt-deep) 100%);
  background-attachment: fixed;
}

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
  margin: 0;
}

main { flex: 1; width: 100%; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }

/* Hero */
.hero { padding-top: 3.5rem; padding-bottom: 2.5rem; text-align: center; }
.hero .icon {
  width: 128px; height: 128px;
  border-radius: 28.6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin-top: 1.25rem; letter-spacing: 0.01em; }
.hero .tagline {
  font-family: var(--display);
  font-weight: 400;
  color: var(--muted);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 0.5rem auto 0;
  max-width: 32rem;
  letter-spacing: 0.04em;
}
.hero .lede { max-width: 34rem; margin: 1.25rem auto 0; font-size: 1.1rem; }
.badge { display: inline-block; margin-top: 1.5rem; }
.badge img { height: 54px; width: auto; display: block; }
.hero .platform { color: var(--muted); font-size: 0.9rem; margin-top: 0.75rem; }

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem; padding-bottom: 2.5rem;
}
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%; height: auto; display: block;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shots figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots figure:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

/* Sections */
section.block { padding-top: 2.25rem; padding-bottom: 2.25rem; border-top: 1px solid rgba(217, 191, 76, 0.18); }
section.block h2 { font-size: 1.9rem; margin-bottom: 0.75rem; }
section.block p { margin: 0 0 1rem; }
section.block p:last-child { margin-bottom: 0; }
.kicker {
  font-family: "Copperplate", "Copperplate Gothic", var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
}

/* Tier cards */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex; flex-direction: column;
}
.tier.current { border-color: var(--gold); }
.tier h3 { font-size: 1.35rem; }
.tier .price {
  font-family: var(--body);
  font-weight: 600;
  color: var(--text);
  margin: 0.2rem 0 0.6rem;
}
.tier p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* Styles row */
.styles { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.styles img {
  width: 64px; height: 64px; border-radius: 14.3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Legal pages */
.doc { padding-top: 2.5rem; padding-bottom: 3rem; }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 1.25rem; }
.doc h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.doc p { margin: 0 0 1rem; }
.doc ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.doc li { margin: 0.35rem 0; }
.doc li::marker { color: var(--gold); }
.doc .effective { color: var(--muted); }
.doc strong { color: var(--ivory); }
.crumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Footer: a nod to aetherwide.com */
footer {
  margin-top: 3rem;
  background: var(--aether-bg);
  color: var(--aether-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}
footer .wrap { padding-top: 1.5rem; padding-bottom: 1.5rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-bottom: 0.9rem; }
footer a { color: #ffffff; }
footer p { margin: 0.3rem 0; opacity: 0.85; }
footer .legal { font-size: 0.8rem; opacity: 0.6; }
