/* Teen Do Panch — the game's own palette and type, carried onto the web.
   Light by default, with a dark variant for phones set to dark mode. */
:root {
  --cloth-deep: #123730;
  --cloth: #1E5147;
  --sage-dark: #24584E;
  --ground: #F2F5EE;
  --panel: #FBFCF8;
  --ivory: #FFFDF6;
  --ink: #17201D;
  --muted: #56625D;
  --line: #D5DDD4;
  --gold: #EAB447;
  --gold-ink: #3A2606;
  --g325: #6D2747;
  --g538: #176B5C;
  --gcourt: #2E4C8C;
  --r: 18px;
  --soft: 0 1px 2px rgba(23, 32, 29, .06), 0 6px 18px rgba(23, 32, 29, .07);
  --wrap: 920px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0E201B;
    --panel: #142B25;
    --ink: #E6EFEA;
    --muted: #A7C1B8;
    --line: #23463D;
    --soft: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --ground: #0E201B;
  --panel: #142B25;
  --ink: #E6EFEA;
  --muted: #A7C1B8;
  --line: #23463D;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(34px, 7vw, 58px); }
h2 { font-size: clamp(25px, 4.2vw, 34px); margin: 2.6em 0 .6em; }
h3 { font-size: 20px; font-family: Manrope, sans-serif; font-weight: 800; margin: 2em 0 .4em; }
p, li { color: var(--muted); }
p { margin: 0 0 1em; }
a { color: var(--g538); text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: var(--gold); } }
strong { color: var(--ink); font-weight: 700; }
ul { padding-left: 1.15em; margin: 0 0 1em; }
li { margin: .3em 0; }

/* ---------- top bar ---------- */
.bar { background: var(--cloth-deep); color: var(--ivory); }
.bar .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.bar a { color: rgba(255, 253, 246, .82); text-decoration: none; font-weight: 600; font-size: 15px; }
.bar a:hover { color: var(--ivory); }
.bar .home { font-family: "Playfair Display", serif; font-weight: 800; font-size: 20px; color: var(--ivory); margin-right: auto; white-space: nowrap; }
/* Four links in the bar since the terms page: on the narrowest phones they draw closer and
   smaller rather than breaking the name over two lines. */
@media (max-width: 399px) {
  .bar .wrap { gap: 10px; padding-inline: 12px; }
  .bar a { font-size: 13px; }
  .bar .home { font-size: 17px; }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(90% 130% at 75% 40%, var(--cloth) 0%, var(--cloth-deep) 60%); color: var(--ivory); padding: 56px 0 0; overflow: hidden; }
.hero h1 { color: var(--ivory); }
.hero .eyebrow { font: 800 13px/1 Manrope; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; margin: 0 0 14px; }
.hero .lede { color: rgba(255, 253, 246, .84); font-size: 19px; max-width: 30em; margin: 18px 0 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; list-style: none; padding: 0; }
.pills li { margin: 0; padding: 8px 15px; border-radius: 999px; font: 700 14px/1 Manrope; color: var(--ivory); }
.pills li:nth-child(1) { background: var(--g325); }
.pills li:nth-child(2) { background: var(--g538); }
.pills li:nth-child(3) { background: var(--gcourt); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 28px 0 0; align-items: center; }
.btn { display: inline-block; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 16px; padding: 14px 26px; border-radius: 999px; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.soon { color: rgba(255, 253, 246, .6); font-size: 14px; }
/* The screens stand on the hero's bottom edge, cropped on purpose rather than by overflow. */
.shots { display: flex; gap: 14px; justify-content: center; margin: 46px 0 0; }
.shots img {
  width: 172px; height: 300px; object-fit: cover; object-position: top center;
  border-radius: 20px 20px 0 0; border: 1px solid rgba(255, 253, 246, .16); border-bottom: 0;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, .34);
}
.shots img:nth-child(3) { display: none; }
@media (min-width: 760px) {
  .shots { gap: 20px; margin-top: 54px; }
  .shots img { width: 228px; height: 400px; }
  .shots img:nth-child(3) { display: block; }
}

/* ---------- content ---------- */
main { padding: 54px 0 0; }
.page { padding: 44px 0 0; }
.page .meta { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--soft); margin: 18px 0; }
.card h3 { margin-top: 0; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 22px 0; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards .card { margin: 0; }
.tag { display: inline-block; font: 800 12px/1 Manrope; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; color: var(--ivory); margin-bottom: 10px; }
.t325 { background: var(--g325); } .t538 { background: var(--g538); } .tcourt { background: var(--gcourt); }
.note { border-left: 4px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--panel)); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0; }
.note p:last-child { margin-bottom: 0; }
/* Stacked blocks rather than a table: three columns of prose are unreadable on a phone,
   and a privacy policy is mostly read on one. */
.svc { display: grid; gap: 14px; margin: 20px 0 26px; }
.svc .card { margin: 0; }
.svc .card p:last-child { margin-bottom: 0; }
@media (min-width: 820px) { .svc { grid-template-columns: 1fr 1fr; } }
table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; color: var(--ink); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--muted); }
code { font: 500 14px/1 "IBM Plex Mono", ui-monospace, monospace; background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 2px 6px; border-radius: 6px; color: var(--ink); }

/* ---------- footer ---------- */
footer { margin-top: 72px; background: var(--cloth-deep); color: rgba(255, 253, 246, .66); padding: 34px 0; font-size: 15px; }
footer a { color: var(--ivory); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 14px; }
footer p { color: rgba(255, 253, 246, .6); margin: 0; }
