/* Covenant Chess website: the game's look (ivory, deep navy, muted gold; Cinzel, Lora, Nunito). No scripts, no trackers. */
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url('/fonts/cinzel-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-display: swap; src: url('/fonts/lora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 500; font-style: italic; font-display: swap; src: url('/fonts/lora-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/fonts/nunito-latin-800-normal.woff2') format('woff2'); }

:root {
  --ivory: #f6f0e3;
  --card: #fffbf3;
  --edge: #e6dcc6;
  --navy: #12233a;
  --navy-2: #1d3557;
  --ink: #1f2b3b;
  --muted: #5f5a50;
  --gold: #e9b949;
  --gold-deep: #b8862a;
  --link: #24466e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 17px/1.65 'Nunito', system-ui, sans-serif; }
a { color: var(--link); }
img { display: block; max-width: 100%; height: auto; }

/* top bar */
.bar { background: var(--navy); }
.bar-in { max-width: 980px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fbeac0; text-decoration: none; font: 700 19px/1 'Cinzel', serif; letter-spacing: 0.5px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.bar nav { display: flex; gap: 18px; }
.bar nav a { color: #e9e2d3; text-decoration: none; font-weight: 800; font-size: 15px; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--gold); }

/* home */
.hero { background: radial-gradient(120% 90% at 70% 30%, #23406a 0%, var(--navy) 60%); color: #fffaf0; }
.hero-in { max-width: 980px; margin: 0 auto; padding: 56px 20px 64px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.hero h1 { margin: 0; font: 700 clamp(40px, 7vw, 64px)/1.02 'Cinzel', serif; background: linear-gradient(180deg, #fff4d2, #f3d488 55%, #d9ae55); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { margin: 14px 0 0; font: 600 21px/1.4 'Lora', serif; color: #fffaf0; }
.hero .lede { margin: 14px 0 0; color: #d8d2c4; max-width: 30em; }
.hero-art { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45)); }
.store-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 20px; border-radius: 14px; background: var(--gold); color: #2a2110; font-weight: 800; text-decoration: none; box-shadow: 0 3px 0 var(--gold-deep); }
.soon { display: inline-block; margin-top: 24px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #e9e2d3; font-weight: 800; font-size: 15px; }

.section { max-width: 980px; margin: 0 auto; padding: 56px 20px; }
.section h2 { margin: 0 0 8px; font: 600 30px/1.2 'Lora', serif; color: var(--ink); text-align: center; }
.section .sub { margin: 0 auto 32px; max-width: 34em; text-align: center; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: 18px; padding: 20px 20px 18px; box-shadow: 0 2px 0 var(--edge); }
.feature h3 { margin: 0 0 6px; font: 600 19px/1.3 'Lora', serif; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; justify-items: center; }
.phone { width: 100%; max-width: 250px; padding: 8px; border-radius: 34px; background: #0f1a2b; box-shadow: 0 16px 30px rgba(18, 35, 58, 0.25); }
.phone img { border-radius: 27px; }
.verse { max-width: 640px; margin: 0 auto; padding: 22px 26px; border-radius: 18px; background: #f7efdd; text-align: center; }
.verse blockquote { margin: 0; font: italic 500 19px/1.5 'Lora', serif; color: #3a3324; }
.verse figcaption { margin-top: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.3px; color: #8a6a2c; }

/* text pages */
.page { max-width: 760px; margin: 0 auto; padding: 44px 20px 64px; }
.page h1 { margin: 0; font: 600 36px/1.2 'Lora', serif; }
.page .meta { margin: 6px 0 26px; color: var(--muted); font-size: 15px; }
.page h2 { margin: 34px 0 8px; font: 600 22px/1.3 'Lora', serif; }
.page p, .page li { color: #2f3a49; }
.page ul { padding-left: 22px; }
.short { background: var(--card); border-radius: 16px; padding: 4px 20px; box-shadow: 0 2px 0 var(--edge); }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--edge); }
th { font-weight: 800; color: var(--ink); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 14px; padding: 14px 18px; box-shadow: 0 2px 0 var(--edge); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin: 10px 0 2px; }
.mail { display: inline-block; margin-top: 10px; padding: 12px 20px; border-radius: 14px; background: var(--navy-2); color: #fffaf0; text-decoration: none; font-weight: 800; }

footer { background: var(--navy); color: #bdb6a6; font-size: 14px; }
footer .in { max-width: 980px; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: #e9e2d3; text-decoration: none; }
footer nav { display: flex; gap: 16px; }

@media (max-width: 760px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding: 40px 16px 48px; text-align: center; }
  .hero h1 { font-size: 40px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .bar nav a { font-size: 14px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-art { width: 100%; max-width: min(420px, 100%); margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots .phone:nth-child(3) { display: none; }
  .bar-in { padding: 12px 16px; }
  .bar nav { gap: 12px; }
  .section, .page { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
}
