:root {
  --bg: #FAF7F2;
  --bg-elevated: #FFFCF7;
  --ink: #1F1C18;
  --ink-soft: #5C574F;
  --ink-faint: #8A8378;
  --terracotta: #B84A2E;
  --terracotta-deep: #9A3D26;
  --sage: #4A5D4E;
  --line: rgba(31, 28, 24, 0.1);
  --line-strong: rgba(31, 28, 24, 0.16);
  --shadow: 0 18px 40px rgba(31, 28, 24, 0.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --wrap: 72rem;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 12% -10%, rgba(184, 74, 46, 0.07), transparent 58%),
    radial-gradient(ellipse 60% 40% at 96% 0%, rgba(74, 93, 78, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 45% at 50% 110%, rgba(184, 74, 46, 0.05), transparent 60%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta-deep);
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.page {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 0.6rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  font-variation-settings: "opsz" 36, "SOFT" 20, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(74, 93, 78, 0.28);
  border-radius: 999px;
  background: rgba(74, 93, 78, 0.06);
  color: var(--sage);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  flex: 1;
  padding-bottom: 4.5rem;
}

.hero {
  padding: 4.25rem 0 3.75rem;
  max-width: 44rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 6.2vw, 4.15rem);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 28, "WONK" 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2px;
  margin-top: 1.35rem;
  background: var(--terracotta);
  border-radius: 99px;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 3.5rem;
  padding: 0;
  list-style: none;
}

.feature {
  height: 100%;
  padding: 1.55rem 1.45rem 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.15rem;
  color: var(--terracotta);
}

.icon svg {
  width: 100%;
  height: 100%;
}

.feature h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  font-variation-settings: "opsz" 28, "SOFT" 10;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.access {
  padding: 2rem 2rem 2.15rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(74, 93, 78, 0.05), rgba(255, 252, 247, 0.7)),
    var(--bg-elevated);
}

.access h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 500;
  font-variation-settings: "opsz" 40, "SOFT" 20;
  letter-spacing: -0.025em;
}

.access p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.access a.mail {
  color: var(--ink);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: #FAF7F2;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--terracotta-deep);
  color: #FAF7F2;
  transform: translateY(-1px);
}

.site-footer {
  padding: 0 0 2.4rem;
  color: var(--ink-faint);
  font-size: 0.875rem;
}

.site-footer .page {
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

@media (max-width: 840px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.6rem;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }

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

  .wordmark {
    font-size: 1.08rem;
  }

  .access {
    padding: 1.5rem 1.25rem 1.65rem;
  }

  .button {
    width: 100%;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
