:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --bg-accent: #e4efe6;
  --panel: #ffffff;
  --text: #142218;
  --text-muted: #3d5042;
  --line: #cfdbd1;
  --brand: #0f6d5b;
  --brand-strong: #0a4d41;
  --focus: #9f6a00;
  --max: 72rem;
  --radius: 0.75rem;
  --shadow: 0 8px 24px rgba(12, 31, 19, 0.08);
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, var(--bg-accent) 0, transparent 42%),
    var(--bg);
}

a {
  color: var(--brand-strong);
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.site-header,
.site-footer {
  width: 100%;
  background: var(--panel);
}

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.main-inner,
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 0;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.nav-list a[aria-current="page"] {
  background: #d8eee4;
  border-color: #8ec4ad;
  color: #073a30;
}

main {
  flex: 1;
}

.main-inner {
  padding: 1.5rem 0 2.5rem;
}

.hero,
.card,
.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.5rem;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.app-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.1rem;
  border: 1px solid #a9c0b2;
  box-shadow: 0 5px 18px rgba(8, 51, 39, 0.18);
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.meta-line {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  padding: 1rem;
}

.card h2 {
  margin-top: 0;
  line-height: 1.25;
}

ul,
ol {
  padding-left: 1.2rem;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-list a {
  display: inline-block;
  background: #edf5ef;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
}

.notice {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid #2f7f43;
}

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

.footer-inner {
  padding: 1rem 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.small {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 48rem) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    padding: 2rem;
  }

  .hero-top {
    flex-direction: row;
    align-items: center;
  }

  .app-icon {
    width: 6.5rem;
    height: 6.5rem;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
