/* ProveAwake — site styles.
   Palette is §17.3 of the master document, verbatim. Typography is a system
   sans stack rather than a webfont: §17.4 asks for a modern sans with strong
   numerics, and loading fonts from a third party would contradict the privacy
   policy this same site publishes. */

:root {
  --night-navy: #101827;
  --wake-lime: #c8ff3d;
  --confirmation-mint: #36d6a3;
  --signal-amber: #ffb020;
  --alert-coral: #ff5c5c;
  --cloud-white: #f7f9fc;
  --slate: #667085;

  --surface: #16203200;
  --raised: #172033;
  --border: #263349;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--night-navy);
  color: var(--cloud-white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Skip link — this is an accessibility product; the site has to hold up too. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wake-lime);
  color: var(--night-navy);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 100;
}
.skip:focus {
  left: 0;
}

a {
  color: var(--wake-lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--wake-lime);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- header ---------- */

.masthead {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(16, 24, 39, 0.92);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.masthead .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--cloud-white);
  text-decoration: none;
}

.brand .mark {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}
.nav a {
  color: var(--cloud-white);
  text-decoration: none;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--wake-lime);
  text-decoration: underline;
}

/* ---------- sections ---------- */

section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  border-bottom: 1px solid var(--border);
  /* The masthead is sticky, so an anchor jump would otherwise land with the
     heading hidden underneath it. */
  scroll-margin-top: 4.5rem;
}
section:last-of-type {
  border-bottom: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1.1rem;
  max-width: var(--measure);
}

.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--cloud-white);
  max-width: 40rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wake-lime);
  margin-bottom: 0.9rem;
}

.muted {
  color: var(--slate);
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(3.5rem, 10vw, 7rem);
}

.hero .descriptor {
  color: var(--slate);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Status is text first. §17.3: never communicate status through colour alone. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  color: var(--cloud-white);
  margin-bottom: 1.75rem;
}
.status .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--signal-amber);
  flex: none;
}

/* ---------- cards ---------- */

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 2rem;
}

.card {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
}
.card h3 {
  margin-bottom: 0.4rem;
}
.card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--slate);
  max-width: none;
}
.card p strong {
  color: var(--cloud-white);
  font-weight: 600;
}

/* Numbered journey steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.steps li {
  counter-increment: step;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--wake-lime);
  margin-bottom: 0.6rem;
}
.steps h3 {
  margin-bottom: 0.35rem;
}
.steps p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--slate);
  max-width: none;
}

/* ---------- honesty panel ---------- */

.honest {
  background: var(--raised);
  border: 1px solid var(--border);
  border-left: 4px solid var(--signal-amber);
  border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.honest h2 {
  font-size: 1.35rem;
}
.honest p:last-child {
  margin-bottom: 0;
}

/* ---------- tiers ---------- */

.tiers {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 2rem;
  align-items: start;
}
.tier {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
}
.tier.plus {
  border-color: var(--wake-lime);
}
.tier h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}
.tier .tier-note {
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}
.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.98rem;
}
.tier li {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.4rem;
  align-items: start;
}
.tier li::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.42rem;
  border-radius: 3px;
  background: var(--confirmation-mint);
}
.tier.plus li::before {
  background: var(--wake-lime);
}

/* ---------- prose (privacy / support) ---------- */

.prose {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.prose h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.prose h3 {
  margin-top: 1.8rem;
}
.prose p,
.prose li {
  max-width: 40rem;
}
.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1.1rem;
}
.prose li {
  margin-bottom: 0.45rem;
}
.prose strong {
  color: var(--cloud-white);
}
.prose .updated {
  color: var(--slate);
  font-size: 0.95rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.97rem;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  vertical-align: top;
}
.prose th {
  background: var(--raised);
  font-weight: 700;
}

.callout {
  background: var(--raised);
  border: 1px solid var(--border);
  border-left: 4px solid var(--confirmation-mint);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin: 0 0 1.6rem;
}
.callout p:last-child {
  margin-bottom: 0;
}

.contact-box {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  margin: 1.5rem 0 2rem;
}
.contact-box p:last-child {
  margin-bottom: 0;
}
.contact-box .email {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 700;
  word-break: break-word;
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  color: var(--slate);
  font-size: 0.93rem;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.foot a {
  color: var(--cloud-white);
  text-decoration: none;
}
.foot a:hover,
.foot a:focus-visible {
  color: var(--wake-lime);
  text-decoration: underline;
}
