@font-face {
  font-family: "Mulish";
  src: url("/fonts/Mulish-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("/fonts/Mulish-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("/fonts/Mulish-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #f7f7f7;
  --black: #0a0800;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.serif {
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  width: 30px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: color 0.15s ease, opacity 0.1s ease;
}

.nav-links a[aria-current="page"] {
  color: var(--black);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):active {
  opacity: 0.8;
}

/* Buttons — matches shared/components/Button.tsx (variant="primary", rounded="xl") */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.1s ease;
}

.btn:hover,
.btn:active {
  opacity: 0.8;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-md {
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
}

.btn-lg {
  padding: 0.75rem 0.75rem;
  font-size: 1.25rem;
}

.btn-xl {
  padding: 1rem 1rem;
  font-size: 1.25rem;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  flex: 1 1 420px;
}

.hero-copy h1 {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

.hero-copy p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-art {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  width: 220px;
}

.hero-art img {
  width: 170px;
  height: auto;
}

/* Divider — inset like a native mx-4 divider */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0 1rem;
}

/* Features */
.features {
  padding: 4rem 0;
}

.features .divider {
  margin-bottom: 3rem;
}

.features h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  text-align: center;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--black);
}

.feature-card h3 {
  font-size: 1.15rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color 0.15s ease, opacity 0.1s ease;
}

.footer-links a:hover,
.footer-links a:active {
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Legal pages */
.legal {
  padding: 3.5rem 0 5rem;
}

.legal-header {
  margin-bottom: 2.5rem;
}

.legal-header .divider {
  margin-top: 2rem;
}

.legal-header h1 {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  margin-bottom: 0.6rem;
}

.legal-header p {
  color: var(--gray-500);
  font-size: 1rem;
  margin: 0;
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.legal-section p,
.legal-section li {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-section ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

@media (max-width: 720px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    order: -1;
    width: 140px;
  }

  .hero-art img {
    width: 120px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
