:root {
  --background: #f7f2e7;
  --surface: #fffdf8;
  --ink: #17231d;
  --muted: #66716b;
  --green: #187a51;
  --green-soft: #e2f0e9;
  --terracotta: #c95e39;
  --gold: #e0b63e;
  --border: #dfe5df;
  --shadow: 0 18px 45px rgba(34, 58, 45, .09);
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: linear-gradient(180deg, #fbf8f0 0%, var(--background) 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--green); }
a:hover { color: #0f5c3c; }

.site-header,
.site-footer,
.page-shell {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid rgba(24, 122, 81, .14);
}

.brand {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}

.page-shell { padding: 72px 0 80px; }
.hero { max-width: 730px; margin-bottom: 48px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(2.3rem, 7vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; }
h2 { margin: 0 0 8px; font-size: 1.55rem; line-height: 1.2; }
h3 { margin-top: 2rem; line-height: 1.3; }
.lead { max-width: 660px; color: var(--muted); font-size: 1.18rem; }

.card-grid { display: grid; gap: 20px; }
.app-card,
.content-card {
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.app-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 30px; }
.app-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 18px; background: var(--green); color: white; font-size: 2rem; font-weight: 900; }
.app-card p { margin-top: 0; color: var(--muted); }
.button { display: inline-block; padding: 11px 16px; border-radius: 12px; background: var(--green); color: white; font-weight: 750; text-decoration: none; }
.button:hover { background: #0f6742; color: white; }

.content-card { padding: clamp(24px, 5vw, 48px); }
.content-card h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.content-card p, .content-card li { color: #39443e; }
.content-card strong { color: var(--ink); }
.content-card hr { margin: 34px 0; border: 0; border-top: 1px solid var(--border); }
.meta { color: var(--muted); font-size: .93rem; }
.notice { padding: 16px 18px; border-left: 4px solid var(--gold); border-radius: 8px; background: #fff9e8; }

.link-list { display: grid; gap: 14px; margin-top: 30px; }
.link-list a { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-weight: 750; text-decoration: none; }

.site-footer { padding: 28px 0 50px; border-top: 1px solid rgba(24, 122, 81, .14); color: var(--muted); }

@media (max-width: 620px) {
  .page-shell { padding-top: 48px; }
  .app-card { grid-template-columns: 1fr; }
}
