:root {
  --brand: #8c3040;
  --brand-dark: #6e2531;
  --text: #1a1a1a;
  --text-muted: #666;
  --bg: #fff;
  --bg-subtle: #f8f7f7;
  --border: #e8e4e4;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ── */

header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-full {
  height: 32px;
  display: block;
}

.logo-mark {
  height: 36px;
  display: none;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav a:hover,
nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ── Main ── */

main {
  min-height: calc(100vh - 140px);
}

/* ── Hero ── */

.hero {
  padding: 7rem 2rem 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--brand-dark);
}

/* ── Features ── */

.features {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.feature h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Page Hero (interior pages) ── */

.page-hero {
  padding: 5rem 2rem 3.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── About Content ── */

.about-content {
  padding: 4rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-content ul {
  list-style: none;
  max-width: 660px;
  margin-top: 0.5rem;
}

.about-content li {
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.about-content li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .logo-full { display: none; }
  .logo-mark { display: block; }

  .hero { padding: 4rem 1.5rem 3.5rem; }
  .features { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 3.5rem 1.5rem 2.5rem; }
  .about-content { padding: 3rem 1.5rem 4rem; }

  nav { gap: 1.5rem; }
}
