/* Boete Brigade — brandbook 1.0.
   Nachtblauw carries, brigade-geel accents sparingly, gebroken wit sits on dark. */

:root {
  --night: #1b3a5c;
  --night-light: #24486e;
  --night-deep: #122a45;
  --yellow: #ffc53d;
  --bone: #f7f4ec;
  --ink: #3a3530;
  --ink-soft: #5a534c;

  --radius-card: 26px;
  --radius-chip: 20px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
  color: var(--ink);
  /* The "nevel" gradient from the brandbook — the calm base glass lives on. */
  background: linear-gradient(160deg, #f5f7fa, #eaeef4 38%, #dee5ee 72%, #d3dce8);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

/* The logo is always askew — 8 degrees, never straightened. The SVG carries
   the rotation itself, so nothing here may re-transform it. */
.mark {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.wordmark {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.9px;
  color: var(--night);
  text-align: center;
  margin: 14px 0 0;
}

.lede {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(27, 58, 92, 0.65);
  text-align: center;
  margin: 10px 0 0;
}

.banderol {
  margin: 34px -40px;
  padding: 12px 40px;
  background: var(--yellow);
  transform: rotate(-2deg);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--night);
}

/* Glass: blur 24-42px, saturate 170-200%, white fill 30-55%, 1px white border
   plus an inset highlight, and a soft nachtblauw shadow — never black. */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-card);
  box-shadow:
    0 10px 30px rgba(27, 58, 92, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: 26px 22px;
}

.pillars {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.pillar {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-chip);
  padding: 18px 20px;
}

.pillar h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--night);
  margin: 12px 0 4px;
}

.pillar p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.tick {
  display: block;
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--yellow);
}

/* The primary action is solid nachtblauw. Never glass, never yellow. */
.button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px;
  background: var(--night);
  color: var(--bone);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  box-shadow:
    0 8px 22px rgba(18, 42, 69, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.14s ease-out;
}

.button:active {
  transform: scale(0.98);
}

/* The round nachtblauw plate a card leads with. Shared by the sign-in and the
   invite page; only the glyph inside differs. */
.badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--night);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 42, 69, 0.35);
}

.card-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--night);
  text-align: center;
  margin: 0;
}

.card-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(27, 58, 92, 0.65);
  text-align: center;
  margin: 8px 0 18px;
}

/* Tabular figures, because the code is read digit by digit. */
.code {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--night);
  font-variant-numeric: tabular-nums;
  text-align: center;
  /* The letter-spacing pads the right of the last digit; pull it back so the
     block reads as centred. */
  text-indent: 8px;
  margin: 0;
}

.label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(27, 58, 92, 0.5);
  text-align: center;
  margin: 0 0 6px;
}

.footnote {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(27, 58, 92, 0.5);
  text-align: center;
  margin: 16px 0 0;
}

footer {
  padding: 26px 24px 34px;
  text-align: center;
  font-size: 12px;
  color: rgba(27, 58, 92, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
