/* Gazpacho's card room: indigo felt, brass trim, ivory text. Matches the app. */
:root {
  --felt: #131b3d;
  --felt-deep: #070b1e;
  --felt-glow: #22306a;
  --brass: #c9a24b;
  --brass-light: #ebcb82;
  --ivory: #f8f3e7;
  --muted: #b6bad1;
  --line: #3d4675;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, var(--felt-glow), var(--felt) 45%, var(--felt-deep) 100%) fixed;
  background-color: var(--felt-deep);
  color: var(--ivory);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--brass-light); }
a:hover { color: var(--ivory); }
header, main, footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: 8px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; }
nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"], nav a:hover { color: var(--brass-light); }
main { padding-top: 16px; padding-bottom: 48px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { font-size: 34px; line-height: 1.2; margin: 16px 0 6px; }
h2 { font-size: 21px; margin-top: 32px; color: var(--brass-light); }
.eyebrow { color: var(--brass); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin: 24px 0 0; }
.updated, .lede { color: var(--muted); margin-top: 0; }
.lede { font-size: 19px; }
.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: 160px; height: 160px; }
.hero h1 { font-size: 44px; margin-top: 8px; }
.features { list-style: none; padding: 0; display: grid; gap: 12px; }
.features li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(13, 18, 41, 0.6); }
.features strong { color: var(--brass-light); }
footer { padding-bottom: 32px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }

/* Landing page (index.html only). */
body.home header, body.home main, body.home footer { max-width: 1080px; }
body.home main { padding-top: 8px; }
body.home section { margin: 72px 0; }
body.home h2 { font-size: 30px; margin: 0 0 8px; color: var(--ivory); }
h3 { font-family: Georgia, "Times New Roman", serif; font-size: 19px; margin: 0 0 4px; color: var(--brass-light); }
.section-lede { color: var(--muted); margin: 0 0 24px; }
.hero-split { display: grid; gap: 40px; align-items: center; margin-top: 24px !important; }
.hero-split h1 { font-size: 56px; margin: 6px 0 4px; }
.hero-split .lede { font-size: 22px; margin-bottom: 16px; }
.cta {
  display: inline-block; margin-top: 12px; padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brass-light), var(--brass)); color: #1a1406;
  font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(201, 162, 75, 0.25);
}
a.cta:hover { color: #1a1406; filter: brightness(1.06); }
.fine { color: var(--muted); font-size: 14px; margin-top: 10px; }
.phone { margin: 0; justify-self: center; }
.phone img {
  display: block; width: min(320px, 78vw); height: auto; border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(201, 162, 75, 0.35), 0 24px 80px rgba(201, 162, 75, 0.18), 0 24px 60px rgba(0, 0, 0, 0.5);
}
.phone.small img { width: min(280px, 70vw); }
.steps ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li, .feature-grid li, .magic-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: rgba(13, 18, 41, 0.6);
}
.steps p, .magic-card p { margin: 0; color: var(--muted); }
.num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%;
  border: 1px solid var(--brass); color: var(--brass-light); font-weight: 700;
}
.band {
  display: grid; gap: 32px; align-items: center; padding: 32px 20px; border-radius: 24px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(34, 48, 106, 0.55), rgba(7, 11, 30, 0.6));
}
.ticks { padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "◆"; position: absolute; left: 0; color: var(--brass); font-size: 13px; top: 4px; }
.magic-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.magic-card { text-align: center; border-color: rgba(201, 162, 75, 0.5); box-shadow: inset 0 0 0 4px rgba(7, 11, 30, 0.6), inset 0 0 0 5px rgba(201, 162, 75, 0.35); transition: transform 0.2s; }
.magic-card:hover { transform: translateY(-3px); }
.glyph { display: block; font-size: 30px; color: var(--brass-light); margin-bottom: 6px; }
.strip {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px;
  margin-top: 16px; scrollbar-color: var(--line) transparent;
}
.strip img { flex: 0 0 auto; width: 220px; height: auto; border-radius: 20px; scroll-snap-align: start; border: 1px solid var(--line); }
.feature-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.feature-grid strong { color: var(--brass-light); display: block; }
.feature-grid li { color: var(--muted); }
.closing { text-align: center; }
.closing img { width: 120px; height: 120px; }
.closing h2 { font-size: 36px !important; margin-top: 8px !important; }
body.home footer { text-align: center; }

@media (max-width: 599px) {
  .wide-only { display: none; }
  .hero-split { text-align: center; }
  .hero-split h1 { font-size: 46px; }
  .magic-card { padding: 16px 12px; }
  .cta { font-size: 15px; padding: 13px 18px; }
}
@media (min-width: 600px) {
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .hero-split { grid-template-columns: 1.2fr 1fr; }
  .band { grid-template-columns: 1.3fr 1fr; padding: 48px; }
  .magic-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .strip img { width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .magic-card { transition: none; }
  .magic-card:hover { transform: none; }
}
