/* MudOps website — styles. Plain CSS, no framework. Colours and sizes come from tokens.css. */
@import url("tokens.css");

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-m);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: var(--h1);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
a {
  color: var(--indigo-700);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--indigo-600);
}
:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.section-white {
  background: var(--white);
}
.section-sand {
  background: var(--sand-50);
}
.section-navy {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--on-dark);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--amber-400);
  color: var(--navy-950);
  font-weight: 600;
  border-radius: var(--radius-s);
}
.skip-link:focus {
  top: 1rem;
}
.icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Section headings ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-700);
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  border-radius: 2px;
  background: var(--amber-400);
}
.on-dark .kicker,
.kicker.on-dark {
  color: var(--amber-300);
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .kicker {
  justify-content: center;
}
.section-head p {
  margin-top: 1rem;
  font-size: var(--text-l);
  line-height: 1.55;
  color: var(--slate-700);
}
.on-dark .section-head p {
  color: var(--on-dark-muted);
}
.section-lead {
  margin-top: 1rem;
  font-size: var(--text-l);
  line-height: 1.55;
  color: var(--slate-700);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--amber-400);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(255, 184, 31, 0.28);
}
.btn-primary:hover {
  background: var(--amber-300);
  color: var(--navy-950);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-small {
  min-height: 2.75rem;
  padding: 0.5rem 1.15rem;
  font-size: var(--text-s);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 19, 48, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--white);
  margin-right: auto;
}
.brand svg {
  height: 2.125rem;
  width: auto;
}
.brand:hover {
  color: var(--white);
}
.site-nav ul {
  display: flex;
  gap: 0.25rem;
}
/* "Contact us" inside the menu: shown only where the header button is hidden (below 30 rem). */
.nav-contact {
  display: none;
}
.site-nav a {
  display: block;
  /* 44 px exactly: the text and padding alone come to 43.9375 px (R1.1). */
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  color: var(--on-dark);
  font-size: var(--text-s);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: var(--text-s);
  font-weight: 500;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background: radial-gradient(56rem 32rem at 88% -8%, rgba(255, 184, 31, 0.17), transparent 62%),
    radial-gradient(46rem 34rem at -6% 108%, rgba(45, 74, 148, 0.6), transparent 62%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(6.5rem, 10vw, 9.5rem);
}
.hero h1 {
  color: var(--white);
  max-width: 15ch;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  font-size: var(--text-s);
  color: var(--on-dark-muted);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-points .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--amber-400);
  stroke-width: 2.25;
}
.hero-visual {
  position: relative;
}
.screen-frame {
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-m);
}
.hero .screen-frame {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-l);
}
.paper {
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-m);
}
.hero-paper {
  position: absolute;
  left: -1.25rem;
  bottom: -3.75rem;
  width: clamp(8.5rem, 30%, 13.5rem);
  transform: rotate(-5deg);
  border: 0;
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.55);
}
.hero-tag {
  position: absolute;
  right: 1rem;
  bottom: -1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.4);
}
.hero-tag .dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green-700);
}

/* ---------- Fact strip ---------- */
.facts {
  position: relative;
  z-index: 2;
  margin-top: clamp(-4.25rem, -5vw, -3rem);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.fact {
  display: flex;
  gap: 0.9rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-right: 1px solid var(--sand-200);
  border-bottom: 1px solid var(--sand-200);
  margin: 0 -1px -1px 0;
}
.fact .icon-chip {
  margin-top: 0.1rem;
}
.fact h3 {
  font-size: 1.0625rem;
}
.fact p {
  margin-top: 0.25rem;
  font-size: var(--text-s);
  line-height: 1.5;
  color: var(--slate-600);
}
.icon-chip {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: var(--mist);
  color: var(--indigo-700);
  flex: none;
}

/* ---------- Cards (what it does) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.25rem;
}
.card {
  padding: 1.75rem 1.75rem 1.9rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.card h3 {
  margin-top: 1.1rem;
}
.card p {
  margin-top: 0.5rem;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Why it's easier ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.easy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.75rem 2rem;
  margin-top: 2.25rem;
}
.easy-list li {
  display: flex;
  gap: 0.9rem;
}
.easy-list h3 {
  font-size: 1.0625rem;
}
.easy-list p {
  margin-top: 0.25rem;
  font-size: var(--text-s);
  line-height: 1.55;
  color: var(--slate-700);
}
.easy-figure {
  position: relative;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--mist), var(--indigo-100));
}
.easy-figure figcaption,
.caption {
  margin-top: 0.9rem;
  font-size: var(--text-s);
  line-height: 1.5;
  color: var(--slate-600);
}
.easy-figure .screen-frame {
  border-color: var(--indigo-100);
}

/* ---------- See it (tabs) ---------- */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tab {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--sand-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-700);
  font: inherit;
  font-size: var(--text-s);
  font-weight: 600;
  cursor: pointer;
}
.tab:hover {
  border-color: var(--indigo-700);
  color: var(--indigo-700);
}
.tab[aria-selected="true"] {
  background: var(--indigo-700);
  border-color: var(--indigo-700);
  color: var(--white);
}
.tab-panel {
  max-width: 62rem;
  margin-inline: auto;
}
.tab-panel + .tab-panel {
  margin-top: 2rem;
}
.tab-panel[hidden] {
  display: none;
}
.tab-panel figcaption {
  margin-top: 1rem;
  text-align: center;
  color: var(--slate-700);
}
.fine-print {
  margin-top: 1.5rem;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--slate-600);
}

/* ---------- Reports ---------- */
.report-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}
.report-row figure:nth-child(odd) .paper {
  transform: rotate(-1.2deg);
}
.report-row figure:nth-child(even) .paper {
  transform: rotate(1.2deg) translateY(0.75rem);
}
.report-row figcaption {
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.35;
}
.report-row figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--text-s);
  font-weight: 400;
  color: var(--slate-600);
}
.doc-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 54rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}
.doc-list li {
  padding: 0.45rem 1rem;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  background: var(--sand-50);
  font-size: var(--text-s);
  font-weight: 500;
  color: var(--slate-700);
}

/* ---------- Proof band ---------- */
.proof-grid {
  display: grid;
  /* Three across only when each card is at least 17.5 rem wide: at 15 rem the word "guessing" was
     wider than its card's text column from 827 to 936 px (R2). */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1.25rem;
}
.proof {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.045);
}
.proof .figure {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber-400);
  font-variant-numeric: tabular-nums;
}
.proof h3 {
  margin-top: 0.9rem;
  color: var(--white);
}
.proof p {
  margin-top: 0.4rem;
  font-size: var(--text-s);
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.proof-note {
  max-width: 46rem;
  margin: 2.25rem auto 0;
  text-align: center;
  font-size: var(--text-s);
  color: var(--on-dark-muted);
}

/* ---------- Roadmap ---------- */
.road-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.road {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.road-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.road-label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}
.road-now .road-label {
  background: var(--green-100);
  color: var(--green-800);
}
.road-next .road-label {
  background: #fff1cf;
  color: #7a4e00;
}
.road-later .road-label {
  background: var(--mist);
  color: var(--indigo-700);
}
.road h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}
.road ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}
.road li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--slate-700);
}
.road li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--sand-300);
}
.road-now li::before {
  border-color: var(--green-700);
  background: var(--green-700);
}
.road-next li::before {
  border-color: var(--amber-500);
}
.road-later li::before {
  border-color: var(--indigo-600);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-copy h2 {
  color: var(--white);
}
.contact-copy > p {
  margin-top: 1rem;
  font-size: var(--text-l);
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.contact-points {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  color: var(--on-dark);
}
.contact-points li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.contact-points .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: var(--amber-400);
  stroke-width: 2.25;
}
.contact-copy .builder {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--text-s);
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.contact-copy .builder strong {
  color: var(--white);
  font-weight: 600;
}
.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}
.form-card h3 {
  font-size: 1.375rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--text-s);
  font-weight: 600;
}
.field .optional {
  font-weight: 400;
  color: var(--slate-600);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--slate-600);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 1px;
  border-color: var(--indigo-700);
}
.form-card .btn {
  width: 100%;
  margin-top: 1.25rem;
}
.form-note {
  margin-top: 0.9rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--slate-600);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: var(--text-s);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  justify-content: space-between;
  padding-block: 3.25rem 2.25rem;
}
.footer-brand {
  max-width: 24rem;
}
.footer-brand svg {
  height: 2.25rem;
  width: auto;
  color: var(--white);
}
.footer-brand p {
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 2.5rem;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.footer-nav a,
.footer-legal a {
  color: var(--on-dark);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-legal {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  line-height: 1.6;
}

/* ---------- Plain pages (privacy, thanks, 404) ---------- */
.plain {
  padding-block: clamp(3rem, 7vw, 6rem);
  background: var(--white);
  min-height: 60vh;
}
.plain .container {
  max-width: 46rem;
}
.plain h1 {
  font-size: var(--h2);
}
.plain h2 {
  margin-top: 2.25rem;
  font-size: 1.375rem;
}
.plain p,
.plain li {
  margin-top: 0.9rem;
  color: var(--slate-700);
}
.plain ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.plain .btn {
  margin-top: 2rem;
}

/* ---------- Larger screens ---------- */
@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  }
  .hero-visual {
    /* Reach into the right margin only as far as the margin allows, so the screen and its caption
       pill are whole at every width (R1: 992 to 1400 px used to cut them off). */
    margin-right: calc(-1 * clamp(0rem, (100vw - var(--container)) / 2 - 1rem, 10rem));
  }
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
  .hero-paper {
    left: -2.25rem;
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 61.99rem) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
  }
  .site-nav a {
    padding: 0.85rem 0.75rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-s);
  }
  .hero h1 {
    max-width: 16ch;
  }
  .hero-paper {
    left: 0.5rem;
    bottom: -3rem;
  }
}
@media (max-width: 40rem) {
  /* Phones: the hero shows the screen alone, with its line as a caption under it. */
  .hero-grid {
    padding-bottom: 5.5rem;
  }
  .hero-paper {
    display: none;
  }
  .hero-tag {
    position: static;
    margin-top: 1rem;
    background: transparent;
    color: var(--on-dark);
    box-shadow: none;
    padding: 0;
  }
  .hero-tag .dot {
    background: var(--amber-400);
  }
  /* Phones: a card's icon sits beside its title, so six cards stay short. */
  .card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
    align-items: center;
    padding: 1.25rem 1.25rem 1.4rem;
  }
  .card h3 {
    margin-top: 0;
  }
  .card p {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
  }
  .fact {
    padding: 1.1rem 1.25rem;
  }
}
@media (max-width: 30rem) {
  .header-cta {
    display: none;
  }
  .nav-contact {
    display: block;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .report-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-tag {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
