@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Newsreader:ital,wght@0,400;0,500;1,400&display=swap");

:root {
  --canvas: oklch(0.985 0.006 85);
  --surface: oklch(0.965 0.008 85);
  --foreground: oklch(0.2 0.02 60);
  --card: oklch(1 0 0);
  --brand-primary: oklch(0.42 0.04 145);
  --brand-accent: oklch(0.65 0.14 45);
  --muted-foreground: oklch(0.5 0.02 60);
  --border: oklch(0.9 0.008 85);
  --radius: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

nav.site-nav a {
  text-decoration: none;
}

nav.site-nav a:hover {
  color: var(--foreground);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--canvas);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-ghost {
  background: var(--surface);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.cta-band .btn-ghost {
  background: transparent;
  color: var(--canvas);
  border: 1px solid color-mix(in oklch, var(--canvas) 35%, transparent);
}

section {
  padding: 64px 0;
}

.hero {
  padding: 56px 0 72px;
  text-align: center;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 500;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.text-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.text-link:hover {
  color: var(--foreground);
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title h2 {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  font-weight: 500;
}

.cta-band {
  background: var(--brand-primary);
  color: var(--canvas);
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  margin: 0 24px;
}

@media (min-width: 1080px) {
  .cta-band {
    margin: 0 auto;
    max-width: 1032px;
  }
}

.cta-band h2 {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  font-weight: 500;
}

.cta-band p {
  opacity: 0.85;
  margin: 0 0 28px;
}

.cta-band .btn-primary {
  background: var(--canvas);
  color: var(--brand-primary);
}

footer.site {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

footer.site nav {
  display: flex;
  gap: 20px;
}

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

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

/* Legal pages */
.legal h1 {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 36px 0 12px;
}

.legal p, .legal li {
  color: var(--foreground);
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 20px;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-decoration: none;
}

.legal a.back:hover {
  color: var(--foreground);
}
