.heyu-info-page, .heyu-detail-page { padding-top: clamp(24px, 4.2vw, 59px); }
.heyu-page-heading { max-width: 720px; }
.heyu-page-heading h1, .heyu-detail-head h1 {
  margin-top: 6px;
  font-size: clamp(32px, 3.6vw, 54px);
  letter-spacing: -.035em;
}
.heyu-page-heading > p:last-child, .heyu-detail-head > p:nth-of-type(2) {
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.75;
}
.heyu-info-page h2, .heyu-teacher-page h2, .heyu-detail-content h2 { font-size: clamp(21px, 2.25vw, 29px); }
.heyu-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.heyu-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}
.heyu-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.heyu-info-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px 28px;
  padding: 20px 23px;
  margin-top: 31px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
}
.heyu-info-note h2 { font-size: 20px; }
.heyu-info-note p { margin-top: 5px; color: var(--muted); }

.heyu-faq-grid { display: grid; grid-template-columns: 211px minmax(0, 1fr); gap: 43px; margin-top: 30px; }
.heyu-faq-index {
  display: grid;
  align-self: start;
  position: sticky;
  top: 95px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbf9;
}
.heyu-faq-index a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 5px 9px;
  border-radius: 7px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 650;
}
.heyu-faq-index a:hover { background: var(--wash); }
.heyu-faq-groups > section + section { margin-top: 30px; }
.heyu-faq-groups h2 { margin-bottom: 9px; }
.heyu-faq-groups details { border-bottom: 1px solid var(--line); }
.heyu-faq-groups h2 + details { border-top: 1px solid var(--line); }
.heyu-faq-groups summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 47px;
  padding-block: 10px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
}
.heyu-faq-groups summary::-webkit-details-marker { display: none; }
.heyu-faq-groups summary .icon { color: var(--green); }
.heyu-faq-groups details[open] summary .icon { transform: rotate(45deg); }
.heyu-faq-groups details > div { max-width: 700px; padding-bottom: 5px; color: var(--muted); font-size: 15px; }

.heyu-about-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; margin-top: 29px; }
.heyu-about-copy > p { margin: 9px 0 24px; max-width: 620px; color: var(--muted); }
.heyu-about-facts {
  align-self: start;
  padding: clamp(16px, 3.5vw, 30px);
  border-top: 3px solid var(--green);
  border-radius: 9px;
  background: var(--wash);
}
.heyu-about-facts > .icon { margin-bottom: 9px; color: var(--green); }
.heyu-about-facts dl { margin: 13px 0 5px; }
.heyu-about-facts dl > div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.heyu-about-facts dt { color: var(--muted); font-size: 14px; }
.heyu-about-facts dd { margin: 0; }
.heyu-partner-list { margin-top: 30px; border-top: 1px solid var(--line); }
.heyu-partner-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.heyu-partner-mark { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 10px; background: var(--wash); color: var(--green); }
.heyu-partner-list h2 { font-size: 22px; }
.heyu-partner-list p { color: var(--muted); margin-top: 4px; }
.heyu-partner-number { color: var(--deep); font-size: 14px; font-weight: 700; }

.heyu-teacher-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 30px; padding-block: clamp(28px, 5.3vw, 71px) 27px; }
.heyu-teacher-prep { padding: clamp(17px, 3vw, 26px); border: 1px solid var(--line); border-radius: 12px; background: #f6f9f6; }
.heyu-teacher-prep > span { display: grid; width: 49px; height: 49px; margin-bottom: 10px; place-items: center; border-radius: 10px; background: #e6f2ea; color: var(--green); }
.heyu-teacher-prep h2 { font-size: 22px; }
.heyu-teacher-prep ul { display: grid; gap: 5px; margin: 10px 0; padding: 0; list-style: none; }
.heyu-teacher-prep li { display: flex; gap: 8px; align-items: baseline; }
.heyu-teacher-prep li .icon { align-self: center; color: var(--green); }
.heyu-teacher-prep p, .heyu-teacher-cooperation > p, .heyu-teacher-login-note { color: var(--muted); font-size: 15px; }
.heyu-teacher-cooperation { margin-top: 12px; }
.heyu-teacher-cooperation > p { margin: 7px 0 15px; }
.heyu-teacher-cooperation table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.heyu-teacher-cooperation caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.heyu-teacher-cooperation :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; }
.heyu-teacher-cooperation th:first-child { width: 20%; }
.heyu-teacher-cooperation thead { background: var(--wash); color: var(--deep); }
.heyu-teacher-apply { margin-top: 40px; padding-block: 31px; background: #f6f9f6; border-block: 1px solid var(--line); }
.heyu-teacher-apply .container { max-width: 800px; }
.heyu-teacher-steps { display: flex; flex-wrap: wrap; gap: 7px 20px; margin: 14px 0; padding: 0; list-style: none; }
.heyu-teacher-steps li { display: inline-flex; gap: 5px; align-items: center; font-size: 14px; font-weight: 650; }
.heyu-teacher-steps span { color: var(--green); font-variant-numeric: tabular-nums; }
.heyu-teacher-login-note { margin-bottom: 14px; }
.heyu-teacher-login-note a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.heyu-teacher-workbench-note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.heyu-teacher-apply [data-teacher-application] { min-width: 0; padding: clamp(14px, 3vw, 26px); border: 1px solid var(--line); border-radius: 11px; background: #fff; }

.heyu-detail-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; color: var(--muted); font-size: 13px; }
.heyu-detail-crumb a { color: var(--deep); }
.heyu-detail-crumb a:hover { text-decoration: underline; }
.heyu-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 314px);
  grid-template-areas: 'head price' 'body price';
  gap: 21px clamp(26px, 4.5vw, 56px);
  align-items: start;
}
.heyu-detail-head { grid-area: head; }
.heyu-detail-head h1 { font-size: clamp(30px, 3.2vw, 47px); }
.heyu-detail-key { display: flex; gap: 10px; align-items: center; margin-top: 13px; padding: 10px 13px; border-left: 3px solid var(--green); background: var(--wash); }
.heyu-detail-key > .icon { color: var(--green); }
.heyu-detail-key b { display: block; font-size: 13px; color: var(--deep); }
.heyu-detail-key p { font-size: 15px; }
.heyu-detail-price { grid-area: price; position: sticky; top: 91px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #f9fbf9; }
.heyu-detail-price > div { margin-bottom: 13px; }
.heyu-detail-price > div > p { color: var(--muted); font-size: 13px; }
.heyu-detail-price strong { color: var(--deep); font-size: clamp(30px, 3vw, 43px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.heyu-detail-price > div > span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.heyu-detail-price .btn { width: 100%; }
.heyu-detail-price .heyu-text-link { display: flex; justify-content: center; }
.heyu-detail-content { grid-area: body; display: grid; gap: 22px; min-width: 0; }
.heyu-detail-content > section > p:not(.eyebrow), .heyu-detail-notice p { margin-top: 7px; color: var(--muted); }
.heyu-detail-scope { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; margin-top: 11px; }
.heyu-detail-scope > div { padding: 13px; border: 1px solid var(--line); border-radius: 8px; }
.heyu-detail-scope > div:first-child { background: #f5f9f6; }
.heyu-detail-scope h3 { font-size: 17px; }
.heyu-detail-scope ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.heyu-detail-scope li { display: flex; align-items: flex-start; gap: 7px; }
.heyu-detail-scope li .icon { color: var(--deep); margin-top: 4px; }
.heyu-detail-example { padding: 15px 17px; border: 1px solid #e7dfc9; border-radius: 9px; background: #fcf9ee; }
.heyu-detail-example .eyebrow { margin-bottom: 3px; color: #704b11; }
.heyu-detail-example dl { margin: 9px 0 3px; }
.heyu-detail-example dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding-block: 8px; border-top: 1px solid #e7dfc9; }
.heyu-detail-example dl.heyu-example-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.heyu-detail-example dl.heyu-example-comparison > div { display: block; }
.heyu-detail-example dt { font-weight: 650; }
.heyu-detail-example dd { margin: 0; color: var(--muted); }
.heyu-detail-example > p:last-child { font-size: 14px; }
.heyu-detail-process ol { display: grid; gap: 7px; margin: 11px 0; padding: 0; list-style: none; }
.heyu-detail-process li { display: flex; align-items: flex-start; gap: 8px; }
.heyu-detail-process li span { min-width: 30px; padding: 1px 5px; border-radius: 5px; background: var(--wash); color: var(--deep); font-size: 13px; font-weight: 700; text-align: center; }
.heyu-detail-notice { padding: 12px 15px; border-left: 3px solid #bdd2c3; background: #f7f9f7; }
.heyu-detail-notice h2 { font-size: 18px; }

@media (max-width: 640px) {
  .heyu-teacher-cooperation table { width: calc(100% - 48px); }
}
@media (max-width: 760px) {
  .heyu-faq-grid, .heyu-about-grid, .heyu-teacher-hero { grid-template-columns: 1fr; gap: 18px; }
  .heyu-faq-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heyu-faq-grid, .heyu-about-grid { margin-top: 21px; }
  .heyu-detail-grid { grid-template-columns: 1fr; grid-template-areas: 'head' 'price' 'body'; gap: 16px; }
  .heyu-detail-price { position: static; padding: 13px; }
  .heyu-detail-price > div { margin-bottom: 9px; }
  .heyu-detail-price .heyu-text-link { min-height: 44px; }
}
@media (max-width: 400px) {
  .heyu-faq-index a { gap: 4px; padding-inline: 4px; }
  .heyu-faq-index a .icon:first-child { width: 17px; }
  .heyu-partner-list article { gap: 10px; }
  .heyu-partner-mark { width: 39px; height: 39px; }
  .heyu-partner-number { display: none; }
  .heyu-teacher-cooperation :is(th, td) { padding-inline: 6px; font-size: 14px; }
  .heyu-teacher-steps { column-gap: 12px; }
  .heyu-detail-scope { grid-template-columns: 1fr; }
  .heyu-detail-example dl > div, .heyu-detail-example dl.heyu-example-comparison { grid-template-columns: 1fr; gap: 1px; }
}
