:root {
  --paper: #faf9f5;
  --ink: #172624;
  --muted: #667875;
  --teal: #3c7a89;
  --teal-deep: #245966;
  --teal-soft: #e8f1f0;
  --clay: #c2784c;
  --line: #d9e5e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans SC", sans-serif;
  line-height: 1.7;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 14px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(217, 229, 227, .9);
  border-radius: 16px;
  background: rgba(250, 249, 245, .9);
  box-shadow: 0 8px 28px rgba(41, 73, 70, .08);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--teal);
  color: white;
  font: 700 15px Georgia, serif;
}
nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); font-weight: 700; }
nav a:hover { color: var(--teal); }
nav .nav-cta { padding: 8px 14px; border-radius: 10px; background: var(--teal); color: white; }
nav .nav-cta:hover { color: white; background: var(--teal-deep); }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: 690px;
  margin: 0 auto;
  padding: 78px 0 84px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(52px, 6vw, 78px); line-height: 1.08; }
h1 em { color: var(--teal); font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s, background .18s, border-color .18s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--teal); color: white; }
.button.primary:hover { background: var(--teal-deep); }
.button.secondary { border: 1px solid var(--line); background: white; color: var(--teal-deep); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.hero-facts strong { margin-right: 4px; color: var(--ink); font-size: 18px; }

.hero-visual { position: relative; min-height: 470px; }
.frame {
  position: absolute;
  inset: 30px 12px 20px 22px;
  overflow: hidden;
  border: 13px solid var(--ink);
  border-radius: 22px;
  background: #d6e8e8;
  box-shadow: 0 28px 60px rgba(36, 89, 102, .18);
}
.frame-label { position: absolute; z-index: 3; left: 20px; top: 18px; padding: 5px 10px; border-radius: 99px; background: #ffffffc9; color: var(--teal-deep); font-size: 11px; font-weight: 800; }
.scene-sky { position: absolute; inset: 0 0 40%; background: linear-gradient(150deg, #cfe3e5, #f4dfca); }
.scene-ground { position: absolute; inset: 60% 0 0; background: #9ca8a3; }
.scene-ground::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; border-top: 5px solid #d6d7cc; }
.figure { position: absolute; left: 22%; bottom: 24%; width: 65px; height: 168px; border-radius: 30px 30px 8px 8px; background: var(--clay); }
.figure::before { content: ""; position: absolute; left: 13px; top: -43px; width: 40px; height: 40px; border-radius: 50%; background: #805b48; }
.figure i { position: absolute; left: -46px; bottom: -5px; width: 43px; height: 61px; border-radius: 6px; background: #3f5056; }
.sound-lines { position: absolute; right: 9%; top: 26%; display: flex; align-items: center; gap: 7px; height: 84px; }
.sound-lines span { width: 7px; border-radius: 9px; background: var(--teal); }
.sound-lines span:nth-child(1), .sound-lines span:nth-child(5) { height: 28px; }
.sound-lines span:nth-child(2), .sound-lines span:nth-child(4) { height: 58px; }
.sound-lines span:nth-child(3) { height: 82px; }
.frame>p { position: absolute; right: 7%; bottom: 7%; max-width: 235px; margin: 0; padding: 13px 16px; border-radius: 12px; background: #142322d9; color: white; font: 700 17px/1.6 Georgia, "Noto Serif SC", serif; }
.visual-note { position: absolute; z-index: 4; padding: 8px 14px; border-radius: 10px; background: white; box-shadow: 0 9px 28px rgba(35, 70, 68, .14); color: var(--teal-deep); font-size: 13px; font-weight: 800; }
.note-one { left: -10px; top: 70px; transform: rotate(-4deg); }
.note-two { right: -8px; bottom: 55px; transform: rotate(3deg); }

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 42px rgba(41, 73, 70, .07);
}
.promise>div { display: flex; align-items: center; gap: 15px; padding: 22px 26px; }
.promise>div+div { border-left: 1px solid var(--line); }
.promise b { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.promise span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.promise strong { display: block; color: var(--ink); font-size: 15px; }

.section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 50px; align-items: end; margin-bottom: 42px; }
h2 { font-size: clamp(36px, 4.2vw, 55px); line-height: 1.15; }
.section-heading>p { margin: 0; color: var(--muted); }
.lesson-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lesson-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 18px;
  align-items: start;
  min-height: 178px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.lesson-card:hover { transform: translateY(-3px); border-color: #8bb0b7; box-shadow: 0 16px 38px rgba(41, 73, 70, .09); }
.lesson-card:last-child { grid-column: 1 / -1; background: linear-gradient(120deg, #eaf2f1, white 68%); }
.lesson-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--teal-soft); color: var(--teal); font: 800 16px Georgia, serif; }
.lesson-tag { color: var(--clay); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.lesson-card h3 { margin: 7px 0 1px; font: 700 22px/1.35 Georgia, "Noto Serif SC", serif; }
.lesson-card p { margin: 0; color: var(--muted); }
.lesson-card small { display: block; margin-top: 13px; color: var(--muted); }
.lesson-arrow { align-self: center; color: var(--teal); font-size: 24px; }

.method-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 75px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 110px;
  padding: 58px;
  border-radius: 24px;
  background: var(--teal-deep);
  color: white;
}
.method-copy .eyebrow { color: #bcdedb; }
.method-copy h2 { font-size: clamp(34px, 4vw, 50px); }
.method-copy>p:not(.eyebrow) { color: #d1dfdd; }
.method-copy>a { color: #fff0c9; font-weight: 800; text-decoration: none; }
.method-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.method-steps li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: #ffffff12; font-weight: 700; }
.method-steps span { color: #bcdedb; font: 800 12px Georgia, serif; }

.closing { margin-top: 40px; padding: 105px 24px; background: linear-gradient(135deg, #dfeceb, #f8ecdf); text-align: center; }
.closing h2 { max-width: 780px; margin: 0 auto; }
.closing>p:not(.eyebrow) { margin: 18px auto 26px; color: var(--muted); }
.button.light { background: white; color: var(--teal-deep); box-shadow: 0 12px 30px rgba(36, 89, 102, .12); }
footer { display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }

@media (max-width: 820px) {
  .site-header { width: calc(100% - 24px); margin-top: 8px; }
  nav>a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; width: calc(100% - 32px); min-height: 0; padding: 60px 0 50px; }
  h1 { font-size: clamp(45px, 13vw, 64px); }
  .hero-visual { min-height: 390px; }
  .frame { inset: 24px 4px 20px; }
  .promise { grid-template-columns: 1fr; width: calc(100% - 32px); }
  .promise>div+div { border-left: 0; border-top: 1px solid var(--line); }
  .section { width: calc(100% - 32px); padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-card:last-child { grid-column: auto; }
  .method-section { grid-template-columns: 1fr; gap: 36px; width: calc(100% - 32px); margin-bottom: 76px; padding: 34px 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; width: calc(100% - 32px); }
}

@media (max-width: 470px) {
  .site-header { padding-left: 12px; }
  .site-header .brand>span:last-child { font-size: 14px; }
  .nav-cta { padding: 7px 10px !important; font-size: 13px; }
  .hero-facts { gap: 14px; }
  .hero-visual { min-height: 350px; }
  .frame { border-width: 9px; }
  .frame>p { font-size: 15px; }
  .lesson-card { grid-template-columns: 48px 1fr; gap: 14px; padding: 19px; }
  .lesson-number { width: 46px; height: 46px; }
  .lesson-arrow { display: none; }
  .method-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
