:root {
  color-scheme: light dark;
  --background: #f4f0e9;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fffdf8;
  --text: #20201d;
  --muted: #68655f;
  --line: rgba(32, 32, 29, 0.16);
  --accent: #a23d45;
  --accent-strong: #802d34;
  --accent-soft: rgba(162, 61, 69, 0.1);
  --button-text: #fff8f6;
  --shadow: 0 24px 70px rgba(61, 46, 32, 0.1);
  font-family:
    Inter, "Noto Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 8%, rgba(164, 138, 60, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(162, 61, 69, 0.05), transparent 40%),
    var(--background);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  border-radius: 0.25rem;
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  border-radius: 0.6rem;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 0.28rem);
  gap: 0.2rem;
}

.brand-mark i {
  width: 0.28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--muted);
}

.brand-mark i:nth-child(5) {
  background: var(--accent);
  transform: scale(1.35);
}

.back-link {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.hero {
  max-width: 55rem;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.eyebrow,
.step {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 650;
}

.lede {
  max-width: 49rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
}

code {
  overflow-wrap: anywhere;
  color: var(--accent);
}

.warning {
  display: inline-block;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-weight: 650;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card,
.wide-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card {
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.card-accent {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
}

.wide-card {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3.2rem);
}

.card > :last-child,
.wide-card > :last-child {
  margin-bottom: 0;
}

li + li {
  margin-top: 0.45rem;
}

.email-button {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.85rem;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.email-button:hover,
.email-button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-strong);
}

.email-address {
  display: block;
  overflow-wrap: anywhere;
  text-align: center;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.columns {
  columns: 2 20rem;
  column-gap: 3rem;
}

.columns li {
  break-inside: avoid;
  margin-bottom: 0.7rem;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--line);
}

dl div {
  padding: 1.1rem 1.25rem;
  background: var(--surface-strong);
}

dt {
  font-weight: 700;
}

dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.contact {
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
}

.contact h2 {
  margin-bottom: 0.7rem;
}

.contact p {
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

footer a {
  color: inherit;
}

@media (max-width: 47rem) {
  .site-header,
  main,
  footer {
    width: min(100% - 1.5rem, 40rem);
  }

  .site-header {
    padding-block: 1.25rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .method-grid,
  dl {
    grid-template-columns: 1fr;
  }

  .card,
  .wide-card {
    border-radius: 0.9rem;
  }

  footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141112;
    --surface: rgba(32, 26, 28, 0.82);
    --surface-strong: #201a1c;
    --text: #f7f1ed;
    --muted: #aaa1a0;
    --line: rgba(247, 239, 235, 0.14);
    --accent: #df4d5c;
    --accent-strong: #f0616f;
    --accent-soft: rgba(223, 77, 92, 0.11);
    --button-text: #141112;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }
}
