/* Mareades design system — aligned with mareades.com */
:root {
  --background: oklch(98.5% 0.006 85);
  --foreground: oklch(22% 0.02 240);
  --card: oklch(99.5% 0.004 85);
  --primary: oklch(32% 0.05 215);
  --primary-foreground: oklch(98.5% 0.006 85);
  --secondary: oklch(94% 0.012 85);
  --muted: oklch(94% 0.012 85);
  --muted-foreground: oklch(50% 0.02 240);
  --accent: oklch(86% 0.045 75);
  --border: oklch(90% 0.01 85);
  --shadow-soft: 0 1px 2px oklch(22% 0.02 240 / 0.04), 0 8px 30px oklch(22% 0.02 240 / 0.06);
  --gradient-hero: radial-gradient(120% 80% at 80% 0%, oklch(86% 0.045 75 / 0.45), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, oklch(42% 0.06 215 / 0.12), transparent 60%);
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --font: "Inter", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --container: min(100%, 72rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--foreground);
  background: var(--background);
  min-height: 100dvh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.site-shell { display: flex; min-height: 100dvh; flex-direction: column; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid oklch(90% 0.01 85 / 0.6);
  background: oklch(98.5% 0.006 85 / 0.82);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.brand-link img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.brand-tag {
  display: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .brand-tag { display: inline; }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.site-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--foreground); text-decoration: none; }
.site-nav a.active { color: var(--foreground); font-weight: 500; }

.hero {
  background-image: var(--gradient-hero);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    padding-block: clamp(4rem, 10vw, 8rem);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: oklch(99.5% 0.004 85 / 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--primary);
  text-wrap: balance;
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: var(--secondary);
  text-decoration: none;
}

.feature-stack { display: grid; gap: 1rem; align-self: end; }

.feature-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.feature-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: oklch(86% 0.045 75 / 0.6);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.feature-icon svg { width: 1.25rem; height: 1.25rem; }

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

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

.content-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.panel + .panel { margin-top: 1rem; }

.panel-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.steps { list-style: none; display: grid; gap: 0.85rem; }

.steps li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: oklch(86% 0.045 75 / 0.6);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.steps strong { color: var(--foreground); font-weight: 600; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

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