:root {
  --bg-base: #fffffe;
  --bg-soft: #f8f5f2;
  --text: #232323;
  --text-muted: #666a6f;
  --text-weak: #8a8f94;
  --border: #e5e7eb;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-active: #047857;
  --ring: #6ee7b7;
  --success: #16a34a;
  --warn: #f59e0b;
  --link: #0ea5a3;
  --heading-color: #232323;
  --h1-hero-mobile: 2.25rem;
  --h1-hero-desktop: 2.75rem;
  --h1-hero-line: 1.2;
  --h2-section-mobile: 1.875rem;
  --h2-section-desktop: 2.25rem;
  --h2-section-line: 1.25;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: "DM Serif Display", ui-serif, Georgia, "Times New Roman", serif;
}

.h-hero {
  font-family: "DM Serif Display", ui-serif, Georgia, "Times New Roman", serif;
  font-size: var(--h1-hero-mobile);
  line-height: var(--h1-hero-line);
  color: var(--heading-color);
}

@media (min-width: 1024px) {
  .h-hero {
    font-size: var(--h1-hero-desktop);
  }
}

.h-section {
  font-family: "DM Serif Display", ui-serif, Georgia, "Times New Roman", serif;
  font-size: var(--h2-section-mobile);
  line-height: var(--h2-section-line);
  color: var(--heading-color);
}

@media (min-width: 1024px) {
  .h-section {
    font-size: var(--h2-section-desktop);
  }
}

.p-hero {
  max-width: 38rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.72;
}

@media (min-width: 1024px) {
  .p-hero {
    font-size: 1.125rem;
  }
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  will-change: transform;
}

@media (min-width: 640px) {
  .btn-primary,
  .btn-outline {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background: var(--primary);
  color: #fffffe;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.btn-outline {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: #fffffe;
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.btn-outline:hover {
  border-color: rgba(16, 185, 129, 0.55);
  background: var(--bg-soft);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.25),
    0 18px 38px rgba(15, 23, 42, 0.12);
}
