:root {
  color: #1c241c;
  background: #f4efe6;
  font-family: "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 72px 24px 28px;
  text-align: center;
}

.mark {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
}

.blurb,
.device-copy p,
.library-band > p,
.curriculum p {
  margin: 0;
  max-width: 42rem;
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: #1f6b45;
}

a:hover { color: #185538; }

.start {
  display: inline-block;
  margin-top: 12px;
  padding: 16px 28px;
  background: #1f6b45;
  color: #fff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
}

.start:hover {
  background: #185538;
  color: #fff;
}

.gallery,
.tools,
.devices,
.library-band,
.curriculum {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 56px;
}

.gallery {
  display: grid;
  gap: 18px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

figure {
  margin: 0;
  background: #fff;
  border: 1px solid #d9d0c2;
}

img {
  display: block;
  width: 100%;
  height: auto;
  background: #e7e1d6;
}

figcaption {
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.tools h2,
.library-band h2,
.curriculum h2 { margin-bottom: 18px; }

.curriculum h2 a {
  color: inherit;
  text-decoration: none;
}

.curriculum h2 a:hover { color: #1f6b45; }

.library-band,
.curriculum {
  display: grid;
  gap: 14px;
}

.groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.groups article {
  padding: 16px 16px 8px;
  background: #fff;
  border: 1px solid #d9d0c2;
}

.groups ul {
  margin: 0;
  padding: 0 0 8px 18px;
}

.groups li {
  margin: 0 0 8px;
  line-height: 1.4;
}

.devices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.device-copy {
  display: grid;
  gap: 14px;
}

footer {
  padding: 8px 24px 36px;
  text-align: center;
  font-size: 13px;
  color: #5c655c;
}

@media (max-width: 800px) {
  .pair,
  .groups,
  .devices { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
