/* WordEke — wordeke.com
 *
 * The palette is the app's, not a new one: hue 205 throughout, with square fills
 * taken from BoardPalette.squareColor (saturation 0.05..0.82 at value 0.97) and the
 * trail colour from BoardPalette.trail, which ADR-0009 derives from the base hue but
 * deliberately never equal to it. A visitor arriving from a share card should
 * recognise the same blue. */

:root {
  color-scheme: light dark;

  --ink: #15212B;
  --body: #41535F;
  --muted: #6B7C89;
  --paper: #F7F9FB;
  --card: #FFFFFF;
  --line: #DDE5EB;
  --primary: #3F6C8C;
  --deep: #2C5470;
  --wash: rgba(63, 108, 140, 0.08);
  --trail: #994428;
  --focus: #2DA3F7;

  /* BoardPalette.squareColor at the levels the 20715 board actually opens with. */
  --sq-00: #EBF2F7;
  --sq-14: #DCEBF6;
  --sq-29: #C3E0F6;
  --sq-43: #A9D5F7;
  --sq-57: #90CBF7;
  --sq-71: #76C0F7;
  --sq-100: #2DA3F7;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E7EDF2;
    --body: #B3C2CD;
    --muted: #8496A3;
    --paper: #0D1418;
    --card: #151F26;
    --line: #26343E;
    --primary: #7FB0CE;
    --deep: #9CC4DC;
    --wash: rgba(127, 176, 206, 0.12);
    --trail: #E0794F;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-inline: 20px;
  padding-block: 0 72px;
}

h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 8vw, 52px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(21px, 4vw, 26px); font-weight: 500; letter-spacing: -.015em; margin-bottom: 10px; }
h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); }

section { padding-block: 36px; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

.lede { font-size: 19px; color: var(--body); }
.eyebrow {
  font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}

/* ---- masthead + hero -------------------------------------------------- */

header.top { padding-block: 44px 8px; display: flex; flex-direction: column; gap: 18px; }
.lockup { display: flex; align-items: center; gap: 13px; }
.lockup .mark { display: block; flex: none; border-radius: 11px; }
.wordmark {
  font-size: 34px; font-weight: 700; letter-spacing: -.025em; color: var(--deep);
  line-height: 1;
}

.hero { display: flex; flex-direction: column; gap: 26px; padding-block: 8px 40px; }
.hero-grid { display: flex; justify-content: center; }

/* A screenshot of the running app, not a drawing of one.
   The previous hero re-implemented the board as inline SVG whose paths took fill and
   stroke from THIS file; when the stylesheet had not applied, the unstyled paths filled
   solid black and the hero became a bowtie. A screenshot cannot fail that way, and it
   cannot drift from the app either. */
.shot {
  display: block;
  width: min(300px, 74vw);
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(18, 32, 44, .06), 0 14px 34px rgba(18, 32, 44, .10);
}
.shot.inline { width: min(240px, 62vw); margin-top: 14px; }

.caption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---- content ---------------------------------------------------------- */

.points { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.points .n {
  font-family: "Roboto Mono", monospace; font-size: 13px; font-weight: 500;
  color: var(--primary); background: var(--wash); border-radius: 8px;
  height: 30px; display: flex; align-items: center; justify-content: center;
}
.points p { margin: 0; font-size: 16px; }

table.lists { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 4px; }
table.lists th, table.lists td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.lists th { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.lists td:nth-child(n+2) { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
table.lists tr:last-child td { border-bottom: none; }
table.lists .name { color: var(--ink); }

/* The "Unlock" pill. The word is the app's own -- Home and the Themes panel both say
   Unlock -- so someone arriving from the store meets the same label in both places. */
.pill {
  display: inline-block; vertical-align: 2px;
  font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: var(--wash);
  border-radius: 999px; padding: 2px 9px; margin-left: 7px; white-space: nowrap;
}

.note { font-size: 14.5px; color: var(--muted); margin-top: 14px; }

ul.extras { display: grid; gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; }
ul.extras li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 13px; padding: 16px 18px;
}
ul.extras .x-head { display: flex; align-items: baseline; gap: 0; margin-bottom: 5px; }
ul.extras h3 { margin: 0; }
ul.extras p { margin: 0; font-size: 15px; }

/* ---- the report form -------------------------------------------------- */

form.report { display: grid; gap: 18px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .help { font-size: 13px; color: var(--muted); }

input[type="text"], input[type="email"], select, textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 9px;
  padding: 11px 12px; width: 100%;
}
input#word { font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: lowercase; }
textarea { resize: vertical; min-height: 84px; }
:is(input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }

.row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* The honeypot. Not display:none -- some bots skip hidden fields; this is off-screen
   but still "visible" to anything filling the form blindly. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button.submit {
  font-family: inherit; font-size: 16px; font-weight: 500; color: #fff;
  background: var(--primary); border: none; border-radius: 22px;
  padding: 13px 26px; cursor: pointer; justify-self: start;
}
button.submit:hover { background: var(--deep); }
button.submit:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.notice { border-left: 3px solid var(--primary); background: var(--wash); padding: 14px 16px; border-radius: 0 9px 9px 0; font-size: 15px; }
.notice.bad { border-left-color: var(--trail); background: rgba(153, 68, 40, .08); }
.notice p { margin: 0; }

footer { border-top: 1px solid var(--line); padding-block: 26px 0; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }

/* ---- the result page report.php renders ------------------------------- */
.result { padding-block: 64px 40px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.result h1 { font-size: clamp(27px, 6vw, 36px); }
