/* Paddle Breaker website - plain CSS, no external fonts or scripts. */
:root {
  --bg: #070d1e;
  --bg-2: #0d1a33;
  --panel: #12233f;
  --line: #24406a;
  --text: #e6f1ff;
  --muted: #a9bdd8;
  --teal: #6cf3ea;
  --teal-dim: #3fbdb5;
  --gold: #ffd06b;
  --radius: 12px;
  --column: 44rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% -10%, #15305a 0%, rgba(7, 13, 30, 0) 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: var(--column);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

a { color: var(--teal); text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover, a:focus-visible { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--panel); padding: 6px 10px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(7, 13, 30, 0.94); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  min-height: 44px;
}
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand:hover, .brand:focus-visible { color: var(--text); filter: brightness(1.15); }
.brand span b { color: var(--teal); }
.site-nav { display: flex; gap: 0 16px; flex-wrap: wrap; margin-left: -4px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }

main { flex: 1; padding: 28px 0 40px; }

/* Text */
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2em 0 0.6em; color: var(--gold); }
h3 { font-size: 1.08rem; margin: 1.6em 0 0.5em; color: var(--teal); }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: 0.3em 0; }
strong { color: #ffffff; }
.meta { color: var(--muted); margin-bottom: 1.5em; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Placeholder that must be filled before going live */
.placeholder {
  background: #4a3a10;
  color: var(--gold);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 700;
}
.notice {
  border: 1px solid var(--gold);
  background: rgba(255, 208, 107, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 1.5em;
}

/* Tables become stacked cards on narrow screens */
.table-wrap { margin: 0 0 1.2em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px; border: 1px solid var(--line); overflow-wrap: anywhere; }
th { background: var(--panel); color: var(--teal); }
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--bg-2); }
  td { border: 0; border-top: 1px solid var(--line); padding: 8px 12px; }
  td:first-child { border-top: 0; font-weight: 700; color: #ffffff; }
  td[data-label]::before { content: attr(data-label); display: block; font-size: 0.78rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
}

/* Home */
.hero { text-align: center; padding: 28px 0 8px; }
.hero img { width: 96px; height: 96px; }
.hero h1 { font-size: 2.4rem; margin-top: 12px; letter-spacing: 0.01em; }
.hero h1 b { color: var(--teal); }
.tagline { font-size: 1.15rem; color: var(--muted); max-width: 30rem; margin: 0 auto 20px; }
.features {
  list-style: none;
  display: inline-block;
  text-align: left;
  max-width: 30rem;
  margin: 0 auto 24px;
  padding: 0;
}
.features li { position: relative; padding-left: 26px; margin: 0.45em 0; }
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
  box-shadow: inset 0 -2px 0 var(--teal-dim);
}
.features li:nth-child(2)::before { background: var(--gold); box-shadow: inset 0 -2px 0 #c99a3a; }
.badge {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.cards { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
}
.card b { display: block; color: var(--teal); font-size: 1.05rem; }
.card span { color: var(--muted); font-size: 0.92rem; }
.card:hover, .card:focus-visible { border-color: var(--gold); color: var(--text); }

/* Support */
.contact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 1.5em;
}
.contact .email { font-size: 1.15rem; font-weight: 700; }
details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 10px;
}
summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text);
  list-style-position: inside;
}
summary:hover { color: var(--gold); }
details[open] summary { color: var(--teal); border-bottom: 1px solid var(--line); }
details > div { padding: 12px 16px 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; color: var(--muted); font-size: 0.92rem; text-align: center; }
.site-footer p { margin: 0 0 6px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin: 0 0 4px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.site-footer .copyright { margin-top: 10px; font-size: 0.85rem; opacity: 0.8; }
