/* Values from design/tokens.json v0.2. Fonts: self-hosted latin subsets (OFL). */
@font-face {
  font-family: "Red Hat Text";
  src: url("/fonts/red-hat-text-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Display";
  src: url("/fonts/red-hat-display-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --ink: #171a1b;
  --secondary: #6c6c6c;
  --page: #f3f4f6;
  --card: #ffffff;
  --border: #e2e4e8;
  --lavender: #b49cf8;
  --peach: #f7a8bb;
  --hover: #2c3133;
  --display: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/24px var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Brand shape: an abstract lavender-to-peach glow, carrying no meaning. */
body::before {
  content: "";
  position: fixed;
  inset: -40vh -20vw auto auto;
  width: 80vw;
  max-width: 720px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lavender), var(--peach) 45%, transparent 70%);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

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

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--lavender);
  border-radius: 8px;
}

.top,
main,
footer {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.logo {
  display: block;
  height: 40px;
  width: auto;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 20px;
}

main {
  flex: 1;
  padding-top: 64px;
  padding-bottom: 48px;
}

.status {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font: 600 48px/56px var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--secondary);
}

.points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.points li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid var(--border);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--peach));
}

.contact {
  margin-top: 32px;
  padding: 24px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--border);
}

h2 {
  margin: 0;
  font: 600 24px/32px var(--display);
}

.contact p {
  margin: 8px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms cubic-bezier(0.2, 0, 0, 1);
}

.button:hover {
  background: var(--hover);
}

.email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 16px;
  font-size: 14px;
}

footer {
  padding-bottom: 32px;
  font-size: 14px;
  line-height: 20px;
  color: var(--secondary);
}

footer p {
  margin: 8px 0 0;
}

@media (max-width: 480px) {
  main {
    padding-top: 48px;
  }

  .email {
    display: flex;
    margin: 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
