/* SuperNotary marketing site.
   Tokens come from supernotary-design-system.html so the site and the app
   look like the same product. Plain CSS on purpose: no build step, nothing
   to install, a text edit is a deploy. */

/* ---------- Fonts (self-hosted, see assets/fonts) ---------- */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/figtree-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-mono-400-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/dm-mono-500-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */

:root {
  --p: #00c27a;
  --p-dark: #009960;
  --p-light: #e6f9f2;
  --p-mid: #b3efd8;
  --p-rgb: 0, 194, 122;
  --navy: #0f1923;
  --navy-mid: #1e2e3d;
  --bg: #f7f9fb;
  --bg2: #eef1f5;
  --sur: #ffffff;
  --bdr: #e4e8ec;
  --bdr2: #d0d7de;
  --t1: #1a1a1a;
  --t2: #4a4a4a;
  --t3: #7a7a7a;
  --red: #e53e3e;
  --sh-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --sh-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --sh-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --sh-xl: 0 24px 64px rgba(0, 0, 0, 0.14);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --gutter: 16px;
  --section: 64px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (min-width: 800px) {
  :root {
    --gutter: 24px;
    --section: 96px;
  }
}

/* ---------- Reset ---------- */

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

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

/* Anchor links land below the sticky header instead of under it. */
[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--t1);
  background: var(--sur);
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--p);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-sm);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: var(--section) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

@media (min-width: 800px) {
  .section-head {
    margin-bottom: 56px;
  }
}

.label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 12px;
}

.on-dark .label {
  color: var(--p);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 17px;
  color: var(--t3);
  line-height: 1.7;
}

.on-dark {
  background: var(--navy);
  color: #fff;
}

.on-dark .lede {
  color: rgba(255, 255, 255, 0.6);
}

.on-soft {
  background: var(--bg);
}

/* ---------- Buttons ----------
   Sizes and colors copy app/components/button.tsx: default is the app's
   "lg" (48px), .btn-sm its "md" (40px), .btn-lg its "xl" (56px). */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 16px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 22px;
  font-size: 14px;
}

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

.btn-primary:hover {
  background: var(--p-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(var(--p-rgb), 0.35);
}

.btn-secondary {
  background: var(--sur);
  color: var(--t1);
  border-color: var(--bdr2);
}

.btn-secondary:hover {
  background: var(--bg);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-white {
  background: #fff;
  color: var(--p);
}

.btn-white:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bdr);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* The same lockup as app/components/logo.tsx: the outline shield and the
   "SuperNotary" wordmark as drawn letter shapes, "Notary" in brand green. */
.brand-icon {
  width: 28px;
  height: 32px;
  flex-shrink: 0;
}

.brand-wordmark {
  width: 123px;
  height: 20px;
}

.wm-super {
  fill: var(--t1);
}

.wm-notary {
  fill: var(--p);
}

.on-dark .wm-super {
  fill: #fff;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--t2);
}

.nav-links a:hover {
  background: var(--bg2);
  color: var(--t1);
  text-decoration: none;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bdr);
  border-radius: var(--r-sm);
  background: var(--sur);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--t1);
}

.nav-toggle .icon-close {
  display: none;
}

.nav.is-open .nav-toggle .icon-menu {
  display: none;
}

.nav.is-open .nav-toggle .icon-close {
  display: block;
}

.nav-drawer {
  display: none;
  border-top: 1px solid var(--bdr);
  background: var(--sur);
  padding: 12px var(--gutter) 20px;
}

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

/* The plain links only. The sign-up button keeps its .btn look. */
.nav-drawer a:not(.btn) {
  display: block;
  padding: 12px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--t1);
  border-bottom: 1px solid var(--bdr);
}

.nav-drawer a:not(.btn):hover {
  text-decoration: none;
  color: var(--p-dark);
}

.nav-drawer .btn {
  margin-top: 16px;
}

/* The human check widget in the contact form. */
.field-human {
  min-height: 65px;
}

@media (min-width: 900px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(var(--p-rgb), 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 120px;
  left: -200px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(var(--p-rgb), 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(var(--p-rgb), 0.15);
  border: 1px solid rgba(var(--p-rgb), 0.35);
  color: var(--p);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p);
}

.hero h1 {
  font-size: clamp(34px, 6.4vw, 62px);
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--p);
}

.hero .lede {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checks svg {
  width: 16px;
  height: 16px;
  stroke: var(--p);
  flex-shrink: 0;
}

.hero-shot {
  margin: 56px auto -1px;
  max-width: 1040px;
  padding: 0 var(--gutter);
}

.frame {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  background: var(--navy-mid);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
}

.frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.frame img {
  width: 100%;
}

/* ---------- Cards ---------- */

.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

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

.card {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--bdr);
  background: var(--sur);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--p-mid);
  transform: translateY(-2px);
}

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

.card p {
  color: var(--t2);
  font-size: 15px;
  line-height: 1.65;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--p-light);
  color: var(--p);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.pain .card {
  border-left: 4px solid var(--red);
}

.pain .card:hover {
  border-color: var(--bdr);
  border-left-color: var(--red);
}

.pain .card h3 {
  color: var(--t1);
}

.also {
  margin-top: 36px;
  text-align: center;
}

.also p {
  font-size: 14px;
  color: var(--t3);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chips li {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--bdr);
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  position: relative;
}

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

  .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(var(--p-rgb), 0.25);
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step h3 {
  color: #fff;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ---------- Comparison ---------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sur);
}

.compare th,
.compare td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  border-top: 1px solid var(--bdr);
}

.compare thead th {
  border-top: none;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t3);
}

.compare thead th.is-us {
  color: var(--p);
}

.compare tbody th {
  font-weight: 700;
  color: var(--t1);
  width: 20%;
}

.compare td.is-old {
  color: var(--t3);
}

.compare td.is-us {
  color: var(--t1);
  font-weight: 500;
  background: rgba(var(--p-rgb), 0.05);
}

@media (max-width: 699px) {
  .compare thead {
    display: none;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare tr {
    border-top: 1px solid var(--bdr);
  }

  .compare tr:first-child {
    border-top: none;
  }

  .compare tbody th {
    width: 100%;
    border-top: none;
    padding-bottom: 6px;
  }

  .compare td {
    border-top: none;
    padding-top: 6px;
  }

  .compare td::before {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--t3);
    margin-bottom: 2px;
  }

  .compare td.is-old::before {
    content: 'The old way';
  }

  .compare td.is-us::before {
    content: 'SuperNotary';
    color: var(--p);
  }
}

/* ---------- Built with you ---------- */

.promise {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .promise {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.promise .card {
  padding: 32px 28px;
}

.promise .card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.promise .card p {
  font-size: 16px;
}

.promise .card p + p {
  margin-top: 12px;
}

/* ---------- Screenshots ---------- */

.shots-wide {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}

@media (min-width: 800px) {
  .shots-wide {
    grid-template-columns: 1fr 1fr;
  }
}

.shots-phone {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .shots-phone {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--bdr);
  background: var(--sur);
  box-shadow: var(--sh-md);
}

.shot img {
  width: 100%;
}

.shot figcaption {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  border-top: 1px solid var(--bdr);
}

.shot-phone {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px;
  border: 6px solid var(--navy);
  box-shadow: var(--sh-lg);
}

.shot-phone figcaption {
  border-top: none;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 760px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--bdr);
  background: var(--sur);
}

.plan.is-featured {
  border: 2px solid var(--p);
  box-shadow: 0 16px 48px rgba(var(--p-rgb), 0.18);
}

/* The app's primary badge (app/components/badge.tsx): light green, dark
   green text, semibold 12px, pill. */
.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--p-light);
  color: var(--p-dark);
  border: 1px solid var(--p-mid);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 10px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price strong {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  font-size: 15px;
  color: var(--t3);
}

.price-alt {
  font-size: 15px;
  color: var(--t2);
  margin-bottom: 18px;
}

.price-alt s {
  color: var(--t3);
}

.plan p.plan-desc {
  color: var(--t2);
  font-size: 15px;
  margin-bottom: 20px;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  margin-bottom: 26px;
  border-top: 1px solid var(--bdr);
  flex: 1;
}

.plan-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--t1);
}

.plan-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--p);
}

.plan-note {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--t3);
}

.pricing-foot {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--t2);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq {
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  background: var(--sur);
}

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

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

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--p);
  transition: transform 0.2s ease;
}

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

.faq-body {
  padding: 0 20px 18px;
  color: var(--t2);
  font-size: 15px;
  line-height: 1.7;
}

.faq-body p + p {
  margin-top: 10px;
}

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

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
  }
}

.contact-copy h2 {
  text-align: left;
}

.contact-copy .label {
  text-align: left;
}

.contact-copy p {
  color: var(--t2);
  margin-bottom: 14px;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--bdr);
  background: var(--sur);
  box-shadow: var(--sh-md);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--bdr2);
  border-radius: var(--r-sm);
  background: var(--sur);
  /* 16px stops iPhones zooming into the field on focus. */
  font-size: 16px;
  line-height: 1.4;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(var(--p-rgb), 0.2);
}

.field-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  font-size: 14px;
  color: var(--t2);
}

.form-status.is-ok {
  color: var(--p-dark);
  font-weight: 600;
}

.form-status.is-error {
  color: var(--red);
}

/* ---------- Final CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--p);
  color: #fff;
  text-align: center;
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cta::before {
  top: -120px;
  left: -100px;
}

.cta::after {
  bottom: -140px;
  right: -100px;
}

.cta .wrap {
  position: relative;
}

.cta h2 {
  max-width: 620px;
  margin: 0 auto 14px;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

.cta .btn-outline-white {
  border-color: rgba(255, 255, 255, 0.5);
}

.cta .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

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

.footer {
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 40px;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 800px) {
  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand p {
  margin-top: 14px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* ---------- Not found page ---------- */

.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.notfound .code {
  font-family: var(--mono);
  color: var(--p);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.notfound p {
  color: var(--t2);
  margin: 0 auto 28px;
  max-width: 440px;
}

/* ---------- Motion ---------- */

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

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