:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  color: #19211e;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: #ffffff; color: #19211e; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #126e64; outline-offset: 3px; border-radius: 2px; }
.site-header { min-height: 64px; padding: 0 max(24px, calc((100vw - 1080px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(0 0 0 / .08); background: rgb(255 255 255 / .92); }
.brand-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; text-decoration: none; }
.brand-link img { width: 128px; height: 34px; object-fit: contain; }
.header-links { display: flex; align-items: center; gap: 18px; color: #59645f; font-size: 13px; }
.header-links a { text-decoration: none; }
.header-links a:hover { color: #126e64; }
.open-app { padding: 9px 14px; border-radius: 7px; background: #126e64; color: #ffffff !important; font-weight: 650; }
.hero-band { padding: 74px 24px 68px; background: #eaf4ef; }
.error-band { min-height: calc(100vh - 64px); display: flex; align-items: center; }
.hero-inner, .content-inner { width: min(1080px, 100%); margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: #526b62; font-size: 13px; font-weight: 700; }
h1 { max-width: 850px; margin: 0; font-size: 52px; line-height: 1.12; font-weight: 720; letter-spacing: 0; }
.hero-lead { max-width: 760px; margin: 24px 0 0; color: #4d5e57; font-size: 19px; line-height: 1.75; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.primary-link, .secondary-link { min-height: 44px; padding: 0 18px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 650; text-decoration: none; }
.primary-link { background: #126e64; color: #ffffff; }
.secondary-link { border: 1px solid rgb(18 110 100 / .28); background: #ffffff; color: #126e64; }
.content-band { padding: 68px 24px; border-bottom: 1px solid rgb(0 0 0 / .08); }
.content-band.soft { background: #f7f9f8; }
.section-kicker { margin: 0 0 10px; color: #c34f3e; font-size: 12px; font-weight: 750; }
h2 { max-width: 760px; margin: 0; font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.section-intro { max-width: 780px; margin: 18px 0 0; color: #59645f; font-size: 16px; line-height: 1.8; }
.feature-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feature-grid article { min-width: 0; padding-top: 18px; border-top: 2px solid #126e64; }
.feature-grid h3, .faq-list h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.feature-grid p, .faq-list p { margin: 10px 0 0; color: #59645f; font-size: 14px; line-height: 1.75; }
.step-list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: seo-step; }
.step-list li { min-width: 0; padding: 20px 0 0; border-top: 2px solid #126e64; counter-increment: seo-step; }
.step-list li::before { content: "0" counter(seo-step); display: block; margin-bottom: 18px; color: #126e64; font-size: 13px; font-weight: 750; }
.step-list strong, .step-list span { display: block; }
.step-list strong { font-size: 18px; line-height: 1.4; }
.step-list span { margin-top: 10px; color: #59645f; font-size: 14px; line-height: 1.75; }
.use-list { max-width: 820px; margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; }
.use-list li { padding-left: 18px; position: relative; color: #43504b; font-size: 15px; line-height: 1.65; }
.use-list li::before { content: ""; position: absolute; top: .68em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #c34f3e; }
.classroom-answer-list { grid-template-columns: 1fr; }
.faq-list { max-width: 840px; margin-top: 32px; display: grid; gap: 28px; }
.related-link { color: #126e64; font-weight: 650; text-underline-offset: 3px; }
.site-footer { padding: 28px 24px 38px; background: #19211e; color: #d9e2de; }
.footer-inner { width: min(1080px, 100%); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner a { color: #d9e2de; }

@media (max-width: 760px) {
  .site-header { min-height: 58px; padding: 0 16px; }
  .header-links > a:not(.open-app) { display: none; }
  .hero-band { padding: 54px 20px 50px; }
  h1 { font-size: 38px; }
  .hero-lead { font-size: 17px; }
  .content-band { padding: 50px 20px; }
  h2 { font-size: 27px; }
  .feature-grid, .step-list, .use-list { grid-template-columns: 1fr; }
  .feature-grid { gap: 24px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (prefers-contrast: more) {
  .site-header, .content-band { border-color: #4a4a4a; }
  .feature-grid article { border-color: #075c53; }
}
