:root {
  --bg: #fff7f2;
  --surface: #ffffff;
  --text: #2a1d1d;
  --muted: #6f5757;
  --primary: #ff5a1f;
  --primary-deep: #e5391b;
  --accent: #ff8f3a;
  --line: #ffd9c6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #fffaf6 0%, #fff1e9 100%);
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.brand-logo {
  width: 52px;
  height: 52px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: #4b3333;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a.active,
.nav a:hover {
  background: linear-gradient(90deg, rgba(255, 90, 31, 0.13), rgba(229, 57, 27, 0.14));
  color: var(--primary-deep);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-deep);
  border-radius: 8px;
  width: 40px;
  height: 36px;
  cursor: pointer;
}

.main-content {
  min-height: calc(100vh - 76px - 220px);
}

.page {
  width: min(1120px, 92vw);
  margin: 2rem auto 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(229, 57, 27, 0.08);
}

.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.kicker {
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
}

.lead {
  color: #533e3e;
  line-height: 1.7;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.66rem 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary-deep);
  border-color: var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.metric {
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: #fffefd;
}

.metric strong {
  display: block;
  color: var(--primary-deep);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.page h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.page p,
.page li {
  line-height: 1.75;
  color: #4b3838;
}

.page ul {
  padding-left: 1.2rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1.4rem 0;
}

.footer-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: var(--primary-deep);
}

.footer-grid p {
  margin: 0.22rem 0;
  color: #574242;
  line-height: 1.6;
}

.footer-bottom {
  padding: 0.7rem 0 1rem;
  border-top: 1px solid #f3dfd4;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0.9rem 4vw;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
  }

  .nav.open {
    display: flex;
  }
}
