:root {
  color-scheme: light;
  --paper: #fffaf2;
  --surface: #ffffff;
  --ink: #241f1c;
  --muted: #665f58;
  --line: #e7ddd1;
  --brand: #9b442a;
  --brand-dark: #71321f;
  --sage: #4f6f61;
  --blue: #355d7d;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.96);
}

.header-inner {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.home-main {
  width: min(1060px, calc(100% - 32px));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 210px);
  padding: 28px 0;
}

.intro-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal h1,
.support h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.06;
}

h2 {
  margin: 40px 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

ul {
  padding-left: 1.3rem;
  margin: 0 0 18px;
}

li {
  margin: 0 0 8px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  max-width: 680px;
}

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

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

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.visual-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 50px rgba(36, 31, 28, 0.08);
}

.visual-panel img {
  width: min(62%, 260px);
  height: auto;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  min-height: 150px;
}

.link-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.legal,
.support {
  max-width: 820px;
}

.meta {
  color: var(--muted);
  margin-bottom: 28px;
}

.notice {
  border-left: 4px solid var(--blue);
  background: #f3f7fa;
  padding: 16px 18px;
  margin: 28px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .visual-panel {
    min-height: 260px;
  }

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

