/* Colors follow the app theme in apps/web/src/styles.css. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: #f8f7f8;
  --foreground: #352c32;
  --muted-foreground: #756770;
  --card: #ffffff;
  --border: #e2dce0;
  --primary: #af4665;
  --primary-foreground: #ffffff;
  --accent: #f7e9ee;
  --accent-foreground: #87384f;
  --radius: 0.375rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1c191b;
    --foreground: #f5eef1;
    --muted-foreground: #b8a9b1;
    --card: #262126;
    --border: #3d3239;
    --primary: #d996ad;
    --primary-foreground: #251920;
    --accent: #382630;
    --accent-foreground: #f5c7d5;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-foreground);
}

.container {
  width: min(64rem, 100% - 2rem);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
}

.brand svg {
  width: 1.75rem;
  height: 1.75rem;
}

.button {
  display: inline-block;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-weight: 500;
  text-decoration: none;
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.button:hover {
  filter: brightness(0.95);
}

.hero {
  padding-block: 5rem 4rem;
  max-width: 44rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 1.25rem 0 2rem;
  color: var(--muted-foreground);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  padding-block: 1rem 5rem;
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--card);
}

.feature h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted-foreground);
}

.document {
  max-width: 44rem;
  padding-block: 3rem 5rem;
}

.document h1 {
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.document h2 {
  margin-top: 2.25rem;
  font-size: 1.2rem;
}

.updated {
  margin-top: 0;
  color: var(--muted-foreground);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer a {
  color: inherit;
}
