/* l2pilot.com — landing and privacy note. Tokens: brief Claude Design §14.1 (dark only). No scripts, no web fonts. */
:root {
  color-scheme: dark;
  --bg: #111819;
  --surface: #1a2726;
  --text: #e8eeee;
  --muted: #97aaa8;
  --faint: #778d86;
  --gold: #dfbd75;
  --gold-ink: #18201b;
  --quiet: #23312f;
  --quiet-ink: #dbe5df;
  --focus: #e5c783;
  --line: #2c3c39;
  --attn: #f08a4b;
  --attn-bg: #2b170d;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--focus); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}
.brand:hover { color: var(--text); }

.tile {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.lang:hover { color: var(--text); }

main { padding: 24px 0 48px; }

h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 40px 0 12px;
}

p { margin: 0 0 12px; }

.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: var(--focus); color: var(--gold-ink); }

.note { color: var(--muted); font-size: 0.9375rem; }

/* #licence (contract E11i): packages without prices and a purchase button that is only ever rendered disabled,
   with the closed-beta badge. Nothing here is interactive: the tiles are list items, the button has no form. */
.packs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 16px 0 12px;
}
.packs li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.3;
}
.packs strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 600px) {
  .packs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.lic .actions { margin: 16px 0 12px; }

/* Explicit appearance and opacity: browser defaults for a disabled <button> (native look, faded text) would
   otherwise decide how legible the label and the badge are. */
.btn-buy {
  -webkit-appearance: none;
  appearance: none;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  background: var(--quiet);
  color: var(--muted);
  opacity: 1;
  font: inherit;
  font-weight: 700;
  cursor: not-allowed;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.steps { padding-left: 1.25rem; margin: 0; }
.steps li { margin: 0 0 12px; padding-left: 4px; }

.plain { padding-left: 1.25rem; margin: 0; }
.plain li { margin: 0 0 8px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}
.card p:last-child { margin-bottom: 0; }

.warn {
  background: var(--attn-bg);
  border-color: #5a3620;
}
.warn strong { color: var(--attn); }

.meta { color: var(--faint); font-size: 0.875rem; }

.table-wrap { overflow-x: auto; margin: 12px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
th { color: var(--muted); font-weight: 600; font-size: 0.875rem; }
td:last-child, th:last-child { padding-right: 0; width: 8.5em; }

.foot {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--faint);
  font-size: 0.8125rem;
}
.foot p { margin: 0 0 8px; }
.foot a { color: var(--muted); }

/* Touch targets >= 44 px (brief §15) where the pointer is a finger; desktop keeps inline text links. */
@media (pointer: coarse) {
  .foot p:first-child a, .links a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 520px) {
  table { font-size: 0.875rem; }
  td:last-child, th:last-child { width: 6.5em; }
  .btn { width: 100%; }
}
