/* ===========================================================================
   mopup.io interim landing page
   Hand-written CSS. No build step, no framework, no runtime CDN.

   Order: tokens -> reset -> primitives -> sections (page order) -> motion.
   Colours live in :root only. Never hard-code a hex below the token block.

   Contrast (measured, WCAG AA needs 4.5:1 body / 3:1 large & UI):
     navy   on paper   15.6:1      white on indigo    8.6:1
     navy   on white   16.7:1      white on navy     16.7:1
     navy   on yellow  13.0:1      grey-700 on paper  7.0:1
     violet on white    4.4:1  <-- FAILS. Graphics and large display only.
   --------------------------------------------------------------------- */

/* --- tokens ------------------------------------------------------------ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800; /* variable: one file covers 400 / 600 / 800 */
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy: #0f1222;
  --navy-800: #1b1f36;
  --indigo: #3d1fe0;
  --indigo-700: #3418c4;
  --violet: #7b5cf5;
  --violet-300: #a892ff;
  --soft: #eeebff;
  --yellow: #ffc93c;

  /* Neutrals */
  --paper: #f3f3ef;
  --white: #fff;
  --grey-700: #55596b;
  --line: #e6e4de;

  /* Shape */
  --r-card: 26px;
  --r-inner: 16px;
  --r-pill: 999px;
  --shadow: 0 10px 30px -12px rgb(15 18 34 / 0.18);
  --shadow-lg: 0 28px 60px -30px rgb(15 18 34 / 0.45);

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --max: 1180px;

  /* Type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display-xl: clamp(2.5rem, 6.2vw, 4.5rem);
  --display-l: clamp(1.95rem, 4vw, 3rem);
  --display-m: clamp(1.45rem, 2.4vw, 1.9rem);
}

/* --- reset ------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* sticky header + top bar, so anchors do not land under the nav */
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible,
.topbar :focus-visible {
  outline-color: var(--yellow);
}

/* Visible only to screen readers, until focused (skip link). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* --- primitives -------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1rem;
}

.on-dark .eyebrow {
  color: var(--violet-300);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head h2 {
  font-size: var(--display-l);
}

.lede {
  margin-top: 1.1rem;
  font-size: 1.125rem;
  color: var(--grey-700);
}

.on-dark .lede {
  color: #cdd0dd;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--indigo-700);
}

.btn--white {
  background: var(--white);
  color: var(--indigo);
  box-shadow: var(--shadow-lg);
}

.btn--white:hover {
  background: var(--soft);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  box-shadow: var(--shadow);
}

/* --- 1. top bar -------------------------------------------------------- */

.topbar {
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}

.topbar a {
  display: block;
  padding: 0.65rem var(--gutter);
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- 2. nav ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header[data-stuck="true"] {
  border-bottom-color: var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}

.logo svg {
  height: 1.75rem;
  width: auto;
  flex: none;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--grey-700);
  padding-block: 0.35rem;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  flex: none;
}

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.burger span {
  display: block;
  position: relative;
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  border-radius: 2px;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

/* Full-screen mobile menu. Hidden from AT and tab order when closed. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 1.25rem var(--gutter) 2.5rem;
  background: var(--paper);
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu__close {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.mobile-menu a.mobile-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* --- 3. hero ----------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--indigo);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

/* Soft off-centre glow. Decorative only. */
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(168 146 255 / 0.5),
    transparent 62%
  );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--display-xl);
  letter-spacing: -0.035em;
}

.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: #e3dfff;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
}

/* --- sample report card (pure CSS) ------------------------------------- */

.report {
  --score: 62;
  position: relative;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--r-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
  transition: transform 0.3s ease;
}

.report:hover {
  transform: rotate(-1deg);
}

.report__tag {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.gauge {
  flex: none;
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--indigo) calc(var(--score) * 1%),
    var(--soft) 0
  );
}

.gauge__inner {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  line-height: 1;
}

.gauge__num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gauge__of {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--grey-700);
}

.report__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.report__meta {
  font-size: 0.8125rem;
  color: var(--grey-700);
  margin-top: 0.3rem;
}

.report__areas {
  display: grid;
  gap: 0.7rem;
  padding-block: 1.1rem;
  list-style: none;
  margin: 0;
  padding-inline: 0;
  font-size: 0.875rem;
}

.report__areas li {
  display: grid;
  grid-template-columns: 1fr 4.5rem 2.25rem;
  align-items: center;
  gap: 0.6rem;
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--violet);
}

.bar--low > i {
  background: #c1272d;
}

.report__areas b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
}

.report__risks {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.report__risks h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-700);
  margin-bottom: 0.6rem;
}

.report__risks ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.875rem;
}

.report__risks li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.sev {
  flex: none;
  margin-top: 0.15rem;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fde8e9;
  color: #9b1f24;
}

.sev--med {
  background: #fff1d6;
  color: #7a4a00;
}

.report__free {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-inner);
  background: var(--soft);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.report__free b {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

/* Bar widths as classes, not inline styles, so the CSP needs no
   'unsafe-inline' in style-src. Synthetic sample-report values. */
.bar > .w48 { width: 48%; }
.bar > .w55 { width: 55%; }
.bar > .w61 { width: 61%; }
.bar > .w70 { width: 70%; }

/* --- 4. problems ------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.problem h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.6rem;
}

.problem p {
  color: var(--grey-700);
  font-size: 0.9875rem;
}

.problem__mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--soft);
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.875rem;
}

/* --- 5. steps ---------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps > li {
  position: relative;
  padding-top: 1.75rem;
  border-top: 3px solid var(--violet-300);
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  top: -1.1rem;
  left: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 800;
}

.steps h3 {
  font-size: 1.125rem;
  margin-bottom: 0.55rem;
}

.steps p {
  color: var(--grey-700);
  font-size: 0.9375rem;
}

.on-dark .steps p {
  color: #c8ccda;
}

.on-dark .steps > li {
  border-top-color: var(--violet);
}

/* --- 6. pricing -------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.plan--featured {
  outline: 3px solid var(--indigo);
  outline-offset: -3px;
}

.plan__badge {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--soft);
  color: var(--indigo-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 1.25rem;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan__price span {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--grey-700);
}

.plan p {
  color: var(--grey-700);
  font-size: 0.9375rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.plan li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.plan li::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  border-radius: 50%;
  background: var(--soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%233d1fe0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.plans-note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--r-inner);
  border: 1px dashed var(--line);
  font-size: 0.9375rem;
  color: var(--grey-700);
  text-align: center;
}

.plans-note b {
  color: var(--navy);
}

/* --- 7. security strip ------------------------------------------------- */

.secure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.75rem;
  list-style: none;
  padding: 0;
}

.secure svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.9rem;
  color: var(--violet-300);
}

.secure h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.45rem;
}

.secure p {
  font-size: 0.9375rem;
  color: #c8ccda;
}

/* --- 8. founder -------------------------------------------------------- */

.founder {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.founder__photo {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
}

/* Shown when no photo file is present. */
.founder__initials {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--indigo);
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.founder h2 {
  font-size: var(--display-m);
  margin-bottom: 1rem;
}

.founder p {
  color: var(--grey-700);
  max-width: 40rem;
}

.founder__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- 9. faq ------------------------------------------------------------ */

.faq {
  max-width: 48rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 7.5l6 6 6-6' fill='none' stroke='%230f1222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details p {
  padding-bottom: 1.35rem;
  color: var(--grey-700);
  max-width: 44rem;
}

/* --- 10. contact ------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 700;
}

.field .hint {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-700);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-inner);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 7.5l6 6 6-6' fill='none' stroke='%2355596b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.6rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cfccc4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--indigo);
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 0;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: #c1272d;
}

.field__error {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9b1f24;
}

.field__error:empty {
  display: none;
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-block: 0.5rem 1.35rem;
  font-size: 0.9375rem;
  color: var(--grey-700);
}

.consent input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--indigo);
}

/* Honeypot: off-screen, not display:none, and never announced or tabbed. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-inner);
  font-size: 0.9375rem;
  font-weight: 600;
  background: #fde8e9;
  color: #9b1f24;
}

.form-status:empty {
  display: none;
}

.form-foot {
  font-size: 0.8125rem;
  color: var(--grey-700);
  margin-top: 0.9rem;
}

.thanks {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
}

.thanks h3 {
  font-size: var(--display-m);
  margin-bottom: 0.9rem;
}

.thanks p {
  color: var(--grey-700);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.thanks__check {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--indigo);
}

.aside-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 2.6vw, 2rem);
}

.aside-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.aside-card p {
  font-size: 0.9375rem;
  color: #c8ccda;
  margin-bottom: 1.35rem;
}

.aside-card hr {
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  margin-block: 1.5rem;
}

.aside-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: #c8ccda;
}

.aside-card li {
  display: flex;
  gap: 0.6rem;
}

.aside-card li::before {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.6rem;
  border-radius: 50%;
  background: var(--violet-300);
}

.mail-link {
  font-weight: 700;
  color: var(--white);
  text-underline-offset: 4px;
}

/* --- 11. footer -------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #c8ccda;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer a {
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.disclaimer {
  flex-basis: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.8125rem;
  color: #9ba1b4; /* 5.6:1 on navy */
  max-width: 56rem;
}

/* --- legal pages ------------------------------------------------------- */

.prose {
  max-width: 44rem;
}

.prose h1 {
  font-size: var(--display-l);
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  color: var(--grey-700);
  margin-bottom: 0.9rem;
}

.prose dl {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.6rem 1.5rem;
  margin-block: 1.5rem;
}

.prose dt {
  font-weight: 700;
}

.prose dd {
  margin: 0;
  color: var(--grey-700);
}

.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--r-inner);
  background: #fff1d6;
  color: #5e3a00;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page h1 {
  font-size: var(--display-xl);
  margin-bottom: 1rem;
}

.error-page__cta {
  margin-top: 2rem;
}

/* --- motion ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --- responsive -------------------------------------------------------- */

@media (max-width: 62rem) {
  .hero .wrap,
  .contact {
    grid-template-columns: 1fr;
  }

  .report {
    transform: none;
    max-width: 30rem;
  }

  .report:hover {
    transform: none;
  }
}

@media (max-width: 52rem) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .founder {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .field--row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prose dl {
    grid-template-columns: 1fr;
    gap: 0.2rem 0;
  }

  .prose dt {
    margin-top: 0.75rem;
  }
}

@media (max-width: 30rem) {
  .report {
    padding: 1.15rem;
  }

  .report__areas li {
    grid-template-columns: 1fr 3rem 2.25rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions .textlink {
    justify-content: center;
    width: 100%;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .report:hover {
    transform: none;
  }
}
