@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap");

: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-foreground: oklch(50% 0.02 240);
  --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-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;
}

.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,
.page-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  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,
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--primary);
  text-wrap: balance;
}

.hero-lead,
.page-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,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

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

.btn-primary:hover,
.btn-secondary:hover { text-decoration: none; }

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

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

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

.feature-card p,
.service-card p,
.panel p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

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

.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.service-card ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-card li + li { margin-top: 0.35rem; }

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

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

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

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

.steps p { font-size: 0.9rem; color: var(--muted-foreground); }

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.contact-form span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted-foreground);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  background: var(--background);
}

.contact-form textarea { min-height: 8rem; resize: vertical; }

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

.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); }
