:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --surface-2: #ece7dc;
  --ink: #1f2a2a;
  --muted: #5d6967;
  --accent: #0b6b5b;
  --accent-strong: #074c42;
  --line: #d9d1c2;
  --danger: #9f2d2d;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header,
.site-footer {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.82);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

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

.nav,
.footer-inner,
.hero,
.content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

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

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-top: 36px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 58ch;
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(31, 42, 42, 0.08);
}

.panel-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.content {
  padding: 48px 0 72px;
}

.content article {
  max-width: 820px;
}

.content ul,
.content ol {
  color: var(--muted);
  line-height: 1.65;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 16px 18px;
  margin: 24px 0;
}

.danger {
  border-left-color: var(--danger);
}

.small {
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 36px;
  }
}
