:root {
  --color-primary: #c73a5a;
  --color-primary-hover: #a82e4a;
  --color-accent: #e8917a;
  --color-surface: #ffffff;
  --color-bg: #faf7f5;
  --color-text: #2b2628;
  --color-muted: #6b6366;
  --color-footer: #1c1917;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(44, 36, 38, 0.08);
  --header-gradient: linear-gradient(135deg, #c73a5a 0%, #e8917a 100%);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --max-content: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--header-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }

.hero {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.hero-bg img,
.hero-bg .hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(199, 58, 90, 0.72) 0%,
      rgba(232, 145, 122, 0.55) 100%
    ),
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 0, 0, 0.35), transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 3rem 1.25rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0 0 1.75rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt { background: var(--color-surface); }

.section h2 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

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

.page-hero {
  background: var(--header-gradient);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.page-hero p {
  margin: 0 auto;
  max-width: 32rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

.auth-card {
  max-width: 28rem;
  margin: -2rem auto 3rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.auth-card label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.auth-card input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.auth-card .btn { width: 100%; margin-top: 0.5rem; }

.auth-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 1rem;
}

.cta-band {
  text-align: center;
  padding: 3rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

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

.site-footer a { color: rgba(255, 255, 255, 0.9); }

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

@media (max-width: 640px) {
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { justify-content: center; }
  .header-actions { margin-left: auto; }
}
