/* AutomateProHN site styles. Plain CSS, no build step. */

:root {
  --porcelain: #eef2f3;
  --paper: #f8fafa;
  --tint: #e4ebed;
  --ink: #10213a;
  --slate: #52637a;
  --reef: #0e7c73;
  --reef-text: #0b6a62;
  --reef-light: #5cd0c4;
  --deep: #0b2a3a;
  --deep-2: #12384a;
  --signal: #e9a23b;
  --line: rgba(16, 33, 58, 0.12);
  --control-border: #7a8ca0;
  --danger: #b42318;
  --on-deep: #e6eef2;
  --on-deep-muted: #b9c8d4;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-panel: 20px;
  --radius-control: 10px;
  --radius-chip: 999px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.1rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

a {
  color: var(--reef-text);
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--reef);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-control);
}

.skip:focus {
  top: 12px;
}

/* ---------- Buttons and chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-control);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--reef);
  color: #fff;
}

.btn-primary:hover {
  background: var(--reef-text);
}

.btn-quiet,
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(16, 33, 58, 0.3);
}

.btn-quiet:hover,
.btn-ghost:hover {
  background: rgba(16, 33, 58, 0.06);
  border-color: var(--ink);
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.8;
}

.chip {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: var(--radius-chip);
  background: rgba(14, 124, 115, 0.12);
  color: var(--reef-text);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.chip-signal {
  background: var(--signal);
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 242, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--reef-text);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-btn,
.menu-btn {
  min-width: 48px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid rgba(16, 33, 58, 0.3);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
}

.lang-btn:hover,
.menu-btn:hover {
  background: rgba(16, 33, 58, 0.06);
}

html:not(.js) .lang-btn,
html:not(.js) .menu-btn {
  visibility: hidden;
}

.bar-cta {
  display: none;
  min-height: 44px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  max-width: 1180px;
  margin-inline: auto;
}

.site-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-cta-mobile {
  padding-top: 16px;
}

.nav-cta-mobile .btn {
  width: 100%;
}

@media (min-width: 1100px) {
  .menu-btn,
  .nav-cta-mobile {
    display: none;
  }

  .bar-cta {
    display: inline-flex;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    margin-left: 20px;
  }

  .site-nav ul {
    display: flex;
    gap: 4px;
  }

  .site-nav a:not(.btn) {
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-control);
    font-size: 0.97rem;
  }

  .site-nav a:not(.btn):hover {
    background: rgba(16, 33, 58, 0.06);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero-copy .lead {
  margin-top: 24px;
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 58ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pipeline {
  margin: 0;
  padding: 28px 28px 22px;
  background: var(--deep);
  border-radius: var(--radius-panel);
  color: var(--on-deep-muted);
}

.pipe-svg {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}

.pipeline figcaption {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pipe-wire {
  stroke: var(--reef-light);
  stroke-width: 3;
  stroke-linecap: round;
}

.pipe-node rect {
  fill: #0f4a53;
  stroke: var(--reef-light);
  stroke-width: 1.5;
}

.pipe-node circle {
  fill: var(--reef-light);
  stroke: var(--reef-light);
  stroke-width: 2;
}

.pipe-node text {
  fill: #eaf3f5;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
}

.pipe-pulse {
  fill: var(--signal);
  opacity: 0;
}

/*
 * The resting (no-animation) state is the final "all lit" state. The keyframes
 * only describe the unlit starting point, so reduced-motion users and no-JS
 * users simply see the finished pipeline.
 */
@media (prefers-reduced-motion: no-preference) {
  .pipe-pulse {
    animation: pulse-travel 2.4s linear 0.5s 1 both;
  }

  .pipe-node rect,
  .pipe-node circle,
  .pipe-wire {
    animation-duration: 0.35s;
    animation-timing-function: ease-out;
    animation-fill-mode: backwards;
  }

  .pipe-node rect {
    animation-name: node-rect-on;
  }

  .pipe-node circle {
    animation-name: node-dot-on;
  }

  .pipe-wire {
    animation-name: wire-on;
  }

  .pipe-node--1 rect,
  .pipe-node--1 circle {
    animation-delay: 0.45s;
  }

  .pipe-wire--1 {
    animation-delay: 0.6s;
    animation-duration: 0.7s;
  }

  .pipe-node--2 rect,
  .pipe-node--2 circle {
    animation-delay: 1.3s;
  }

  .pipe-wire--2 {
    animation-delay: 1.4s;
    animation-duration: 0.7s;
  }

  .pipe-node--3 rect,
  .pipe-node--3 circle {
    animation-delay: 2.1s;
  }

  .pipe-wire--3 {
    animation-delay: 2.2s;
    animation-duration: 0.7s;
  }

  .pipe-node--4 rect,
  .pipe-node--4 circle {
    animation-delay: 2.9s;
  }
}

@keyframes pulse-travel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(318px);
  }
}

@keyframes node-rect-on {
  from {
    fill: var(--deep-2);
    stroke: rgba(255, 255, 255, 0.16);
  }
}

@keyframes node-dot-on {
  from {
    fill: transparent;
    stroke: #6f8fa0;
  }
}

@keyframes wire-on {
  from {
    stroke: rgba(255, 255, 255, 0.16);
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 88px 0 104px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

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

.section-intro {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.1rem;
}

@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }
}

/* Services: asymmetric editorial list */

.svc-grid {
  display: grid;
  gap: 8px 24px;
  margin-top: 40px;
}

.svc {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  align-self: start;
}

.svc h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.svc p {
  color: var(--slate);
  max-width: 42ch;
  margin-bottom: 28px;
}

@media (min-width: 860px) {
  .svc-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .svc-1 {
    grid-column: 1 / 8;
  }

  .svc-2 {
    grid-column: 8 / 13;
    margin-top: 56px;
  }

  .svc-3 {
    grid-column: 1 / 6;
    margin-top: 16px;
  }

  .svc-4 {
    grid-column: 6 / 13;
    margin-top: 56px;
  }
}

/* Pricing ledger */

.ledger {
  margin-top: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.ledger-row {
  display: grid;
  gap: 20px;
  padding: 28px 22px;
  border-top: 1px solid var(--line);
}

.ledger-row:first-child {
  border-top: 0;
}

.ledger-row--recommended {
  background: #fff;
  box-shadow: inset 6px 0 0 var(--signal);
}

.ledger-main h3 {
  margin-bottom: 8px;
}

.ledger-main p:last-child {
  margin: 0;
  color: var(--slate);
}

.ledger-incl {
  list-style: none;
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 0.97rem;
}

.ledger-incl li {
  position: relative;
  padding-left: 28px;
}

.ledger-incl li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--reef-text);
  border-bottom: 2.5px solid var(--reef-text);
  transform: rotate(-45deg);
}

.price {
  margin: 0 0 14px;
  color: var(--slate);
}

.price strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.footnote {
  margin-top: 24px;
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 78ch;
}

@media (min-width: 960px) {
  .ledger-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.8fr);
    gap: 40px;
    padding: 32px 36px;
    align-items: start;
  }
}

/* Process */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 32px 28px;
  margin-top: 40px;
}

.steps li {
  counter-increment: step;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--reef-text);
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--slate);
  margin: 0;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Founders pilot */

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 28px 22px;
}

.founders {
  display: grid;
  gap: 28px;
}

.founders h2 {
  margin-bottom: 16px;
}

.founders-copy p:last-child {
  color: var(--slate);
  margin: 0;
}

.plain-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--reef);
}

@media (min-width: 860px) {
  .panel {
    padding: 44px 48px;
  }

  .founders {
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
  }
}

/* Conceptual work */

.concepts {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.concept {
  margin: 0;
}

.concept figcaption h3 {
  margin-bottom: 6px;
}

.concept figcaption p:last-child {
  color: var(--slate);
  margin: 0;
}

.concept-art {
  position: relative;
  height: 200px;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: var(--radius-panel);
  overflow: hidden;
  --art-bg: var(--paper);
  --art-bar: var(--ink);
  --art-soft: rgba(16, 33, 58, 0.3);
  --art-btn: var(--reef);
  --art-block: #c5d3da;
  background: var(--art-bg);
  border: 1px solid var(--line);
}

.concept-art--direct {
  --art-bg: var(--deep);
  --art-bar: #e6eef2;
  --art-soft: rgba(230, 238, 242, 0.4);
  --art-btn: var(--reef-light);
  --art-block: #12384a;
}

.concept-art .bar {
  display: block;
  height: 9px;
  margin-bottom: 11px;
  border-radius: 4px;
  background: var(--art-soft);
  width: 52%;
}

.concept-art .bar-title {
  height: 16px;
  width: 44%;
  background: var(--art-bar);
}

.concept-art .bar-short {
  width: 34%;
}

.concept-art .bar-btn {
  width: 92px;
  height: 24px;
  margin-top: 18px;
  border-radius: 6px;
  background: var(--art-btn);
}

.concept-art .block {
  position: absolute;
  right: 24px;
  top: 24px;
  bottom: 24px;
  width: 30%;
  border-radius: 12px;
  background: var(--art-block);
}

@media (min-width: 720px) {
  .concepts {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* FAQ */

.faq-grid {
  display: grid;
  gap: 32px;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--reef-text);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: 0 0 18px;
  color: var(--slate);
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--deep);
  color: var(--on-deep);
}

.contact h2,
.contact h3 {
  color: #fff;
}

.contact-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.contact-copy p {
  color: var(--on-deep-muted);
  margin-top: 16px;
}

.contact-copy h3 {
  margin-top: 36px;
  font-size: 1.15rem;
}

.contact a:focus-visible,
.contact-copy :focus-visible {
  outline-color: var(--reef-light);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 14px;
  color: var(--on-deep);
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--reef-light);
  border-bottom: 2.5px solid var(--reef-light);
  transform: rotate(-45deg);
}

.form-card {
  container-type: inline-size;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-panel);
  padding: 24px 20px;
}

.form-card h3 {
  color: var(--ink);
  font-size: 1.5rem;
}

.form-intro {
  margin: 6px 0 22px;
  color: var(--slate);
  font-size: 0.97rem;
}

.fields {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.row {
  display: grid;
}

@container (min-width: 540px) {
  .row {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
}

.field {
  margin-bottom: 18px;
}

.field[hidden] {
  display: none;
}

.field label:not(.check) {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.97rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--control-border);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--reef);
  outline-offset: 1px;
  border-color: var(--reef-text);
}

[aria-invalid="true"] {
  border-color: var(--danger);
  border-width: 2px;
}

.hint {
  margin: 6px 0 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 600;
}

.error[hidden] {
  display: none;
}

.form-errors {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1.5px solid var(--danger);
  border-radius: var(--radius-control);
  background: #fdecea;
  color: #7a1a12;
  font-size: 0.97rem;
}

.form-errors[hidden] {
  display: none;
}

.form-errors p {
  margin: 0 0 6px;
  font-weight: 600;
}

.form-errors ul {
  margin: 0;
  padding-left: 20px;
}

.form-errors a {
  color: #7a1a12;
}

.summary {
  margin: 4px 0 22px;
  padding: 16px 20px;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.summary h4 {
  margin-bottom: 10px;
}

.summary dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.summary dl div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.summary dt {
  flex: 0 0 8.5rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.summary dd {
  margin: 0;
  flex: 1 1 10rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.summary-fit {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.95rem;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--reef);
}

.field-check {
  margin-bottom: 20px;
}

.btn-submit {
  width: 100%;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
}

#lead-form[aria-busy="true"] .spinner {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  #lead-form[aria-busy="true"] .spinner {
    animation: spin 0.8s linear infinite;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-note {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.success {
  padding: 8px 0;
}

.success[hidden],
#form-body[hidden] {
  display: none;
}

.success h3:focus {
  outline: none;
}

.success .btn {
  margin-top: 8px;
}

@media (min-width: 640px) {
  .form-card {
    padding: 36px;
  }
}

@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Standalone pages (privacy, 404) ---------- */

.doc {
  padding: 40px 0 72px;
}

.doc .container {
  max-width: 760px;
}

.doc h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  margin: 24px 0 12px;
}

.doc h2 {
  font-size: 1.6rem;
  margin: 44px 0 14px;
}

.doc h3 {
  font-size: 1.1rem;
  margin: 28px 0 8px;
}

.doc ul {
  padding-left: 22px;
  margin: 0 0 1em;
}

.doc li {
  margin-bottom: 6px;
}

.doc .lang-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.notfound {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: 56px 0;
}

.notfound-panel {
  background: var(--deep);
  color: var(--on-deep);
  border-radius: var(--radius-panel);
  padding: 36px 28px;
  max-width: 640px;
}

.notfound-panel h1,
.notfound-panel h2 {
  color: #fff;
}

.notfound-panel h2 {
  margin-top: 28px;
  font-size: 1.6rem;
}

.notfound-panel p {
  color: var(--on-deep-muted);
  margin-top: 10px;
}

.notfound-panel .btn-primary {
  margin-top: 8px;
  background: var(--reef-light);
  color: var(--deep);
}

.notfound-panel .btn-primary:hover {
  background: #8be0d6;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
