/* PlainClaim marketing site.
 *
 * Plain, fast, no framework and no webfont: the page's job is to be read and
 * believed, and a compliance page that loads slowly or looks like a landing-page
 * template argues against itself. System fonts render instantly everywhere.
 *
 * EU blue (#003399) is used as the accent because it is the reference colour in
 * Annex I — this is the one place we may use it freely, since it is our own page
 * and not a reproduction of the notice.
 */

:root {
  --eu-blue: #003399;
  --ink: #16181d;
  --muted: #5b6270;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 10px;
  --measure: 34rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceef2;
    --muted: #a3abba;
    --line: #2a2f3a;
    --bg: #14161a;
    --bg-soft: #1b1e25;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--eu-blue);
}
@media (prefers-color-scheme: dark) {
  a {
    color: #7aa7ff;
  }
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-top: 2.5rem;
}
h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

p,
ul {
  max-width: var(--measure);
}
ul {
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.35em;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--ink);
}
.nav-cta {
  color: var(--eu-blue) !important;
  font-weight: 550;
}

/* ─── Sections ────────────────────────────────────────────────────────────── */
main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
section:last-of-type {
  border-bottom: 0;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eu-blue);
  margin: 0 0 0.75rem;
}
@media (prefers-color-scheme: dark) {
  .eyebrow {
    color: #7aa7ff;
  }
}

.hero {
  padding-top: 3.5rem;
}
.lede {
  font-size: 1.08rem;
  color: var(--muted);
}
.lede strong {
  color: var(--ink);
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  background: var(--eu-blue);
  color: #fff;
  font-weight: 550;
  text-decoration: none;
}
.button:hover {
  background: #002a80;
}

.microcopy {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.sources {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 1rem;
  margin-top: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 1.5rem;
}
.grid h3 {
  margin-top: 0;
}
.grid p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ─── Waitlist ────────────────────────────────────────────────────────────── */
.waitlist {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
  border-bottom: 0;
}
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: var(--measure);
  margin-top: 1.25rem;
}
.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  flex: 1 1 15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
}
.waitlist-form input:focus-visible {
  outline: 2px solid var(--eu-blue);
  outline-offset: 1px;
}
.waitlist-form button {
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--eu-blue);
  color: #fff;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
}
.waitlist-form button:hover {
  background: #002a80;
}

/* Honeypot. Off-screen rather than display:none — some bots skip hidden fields
 * but happily fill anything still in the layout. Never shown to a real person. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
}
.site-footer p {
  max-width: 48rem;
}
