:root {
  color-scheme: light;
  --bg: #fbf9fa;
  --surface: #ffffff;
  --ink: #25221f;
  --muted: #68615b;
  --line: #e6ded8;
  --accent: #436b5f;
  --accent-strong: #24483f;
  --warm: #b9895d;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer {
  border-color: var(--line);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 250, 0.92);
}

.site-nav,
.site-main,
.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--line);
}

.button.auth-profile-link {
  gap: 10px;
  padding-left: 10px;
  background: var(--surface);
  color: var(--accent-strong);
  border: 1px solid var(--line);
}

.auth-avatar {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.auth-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-main {
  flex: 1;
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
}

h2 {
  font-size: 2rem;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(62, 46, 35, 0.08);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--warm);
}

.panel-body {
  padding: 20px;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  font-size: 1.45rem;
}

.metric span {
  color: var(--muted);
}

.content-page {
  max-width: 760px;
}

.content-page h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.content-page p,
.content-page li {
  color: var(--muted);
}

.content-page section {
  margin-top: 36px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 760px) {
  .site-nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .site-main {
    padding: 48px 0;
  }
}
