:root {
  --bg: #f6f2ea;
  --surface: #fffdf8;
  --ink: #17140f;
  --muted: #5f584d;
  --line: #e2dbcd;
  --accent: #e0412b;
  --accent-ink: #ffffff;
  --accent-soft: #fbe3dc;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Brand mark */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: block;
}

/* Home */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
}

.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a3271a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot::after {
    animation: none;
  }
}

h1 {
  margin: 28px 0 0;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 24px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 18px;
  text-wrap: pretty;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 36px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
}

.cta:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.nowrap {
  white-space: nowrap;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.features li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.features h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 760px) {
  .hero {
    padding: 48px 0;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
}

/* Legal pages */

.top {
  padding: 28px 0;
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.back {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.back:hover {
  color: var(--ink);
}

.legal {
  flex: 1;
  padding: 24px 0 72px;
}

.legal .wrap {
  max-width: 720px;
}

.legal h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 7vw, 52px);
}

.updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.legal h2 {
  margin: 40px 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: #3a342b;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal address {
  font-style: normal;
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .foot .wrap {
    flex-direction: column;
    text-align: center;
  }

  .foot nav {
    justify-content: center;
  }
}
