:root {
  --paper: #f5f5f2;
  --white: #fff;
  --ink: #20211f;
  --muted: #73756f;
  --line: #dddfd8;
  --red: #d63227;
  --red-dark: #bd251d;
  --font: Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-synthesis: none;
  font-smooth: always;
  scroll-padding-top: 100px
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0
}
a {
  color: inherit;
  text-decoration: none
}
button {
  font: inherit
}
button,a {
  -webkit-tap-highlight-color: transparent
}
button:focus-visible,a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px
}
button:disabled {
  cursor: not-allowed
}
::selection {
  background: #f2b4a9;
  color: var(--ink)
}
svg {
  display: block
}
p,h1,h2,h3 {
  margin: 0
}
.wrap {
  width: min(1280px,calc(100% - 112px));
  margin-inline: auto
}
.muted {
  color: var(--muted)
}
.section {
  padding-block: 112px
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  background: var(--ink);
  color: white;
  padding: 15px 20px;
  transform: translateY(-160%)
}
.skip-link:focus {
  transform: none
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,245,242,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px)
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px
}
.brand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 28px;
  letter-spacing: -1.65px;
  font-weight: 750
}
.brand-end {
  font-weight: 400
}
.brand-dot {
  color: var(--red);
  font-size: 36px;
  line-height: .7
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500
}
.site-nav>a {
  padding-block: 12px;
  transition: color .18s
}
.site-nav>a:hover {
  color: var(--red)
}
.site-nav .header-contact {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-block: 8px;
  margin-left: 14px
}
.menu-toggle {
  display: none
}
.hero {
  min-height: 660px;
  padding-block: 72px 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 54px;
  align-items: center
}
.eyebrow,.section-index {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  line-height: 1.5
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 31px
}
.small-line {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--red)
}
h1 {
  font-size: clamp(50px,5.3vw,78px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -4px
}
.hero-accent {
  position: relative;
  display: inline-block;
  color: var(--red)
}
.hero-accent svg {
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 18px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round
}
.hero-description {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.75;
  color: #686b64;
  margin-top: 35px
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 31px;
  flex-wrap: wrap
}
.button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  border-radius: 6px;
  transition: background .18s,transform .18s;
  cursor: pointer
}
.button-red {
  background: var(--red);
  color: white
}
.button-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px)
}
.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding-block: 12px;
  text-decoration: underline;
  text-underline-offset: 5px
}
.text-link:hover {
  color: var(--red)
}
.hero-visual {
  position: relative;
  padding: 14px 22px 16px 10px;
  min-width: 0
}
.visual-caption {
  display: block;
  font: italic 17px Georgia,serif;
  color: #6b7064;
  transform: rotate(-4deg);
  transform-origin: left bottom;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 28px 12px
}
.problem-sheet {
  position: relative;
  background: #fff;
  padding: 27px 28px 23px;
  box-shadow: 0 3px 8px #25291e08,7px 16px 25px #25291e0c;
  transform: rotate(2deg);
  border: 1px solid #e8e9e2
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  color: #6b7064;
  font: 9px monospace;
  letter-spacing: 1.3px;
  border-bottom: 1px solid #eceee7;
  padding-bottom: 16px
}
.problem-sheet h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.7px;
  font-weight: 500;
  margin-top: 19px
}
.geometry {
  margin: 9px -12px 0
}
.geometry-svg {
  width: 100%;
  height: auto;
  max-height: 310px
}
.construction-circle {
  stroke: #d6d9cf;
  stroke-width: 1;
  stroke-dasharray: 4 6;
  fill: none
}
.polygon-outline {
  fill: none;
  stroke: #51594e;
  stroke-width: 1.6;
  stroke-linejoin: round
}
.vertex {
  fill: #51594e
}
.vertex-start {
  fill: var(--red)
}
.diagonal {
  stroke: #9ba496;
  stroke-width: .9;
  opacity: 0;
  transition: opacity .35s
}
.diagonal-from-a {
  stroke: var(--red);
  stroke-width: 1.6
}
[data-step="1"] .diagonal-from-a,[data-step="2"] .diagonal {
  opacity: .75
}
[data-step="2"] .diagonal-from-a {
  opacity: 1
}
.vertex-label {
  fill: var(--red);
  font: italic 16px Georgia,serif
}
.pencil-arrow {
  stroke: #b5bbad;
  stroke-width: 1.1;
  fill: none;
  stroke-linecap: round
}
.geometry-note {
  fill: #8c9684;
  font: italic 14px Georgia,serif
}
.problem-bottom {
  border-top: 1px solid #eceee7;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  min-height: 67px
}
.idea-hint {
  font-size: 10px;
  line-height: 1.6;
  color: #70776a;
  max-width: 215px;
  min-height: 33px
}
.idea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  background: none;
  padding: 9px 0;
  color: var(--red);
  border: 0;
  border-bottom: 1px solid #e4b5ac;
  cursor: pointer
}
.idea-button[hidden] {
  display: none
}
.idea-button:hover {
  border-color: var(--red)
}
.no-js-solution {
  font-size: 11px;
  line-height: 1.5;
  color: var(--red)
}
.subject-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eeefea
}
.subject-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 600
}
.band-separator {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #969a90
}
.section-heading {
  margin-bottom: 55px
}
.section-index {
  color: var(--red);
  margin-bottom: 24px
}
h2 {
  font-size: clamp(32px,3.25vw,47px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -1.75px
}
.approach-layout {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 100px
}
.approach-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #696d63;
  max-width: 305px;
  padding-top: 5px
}
.intro-note {
  font-size: 13px;
  color: var(--ink);
  margin-top: 20px
}
.handwritten {
  display: block;
  font: italic 29px Georgia,serif;
  color: var(--red);
  transform: rotate(-7deg);
  margin: 35px 0 0 12px
}
.principle {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 25px 0 28px
}
.principle:first-child {
  padding-top: 6px;
  border-top: 0
}
.principle:last-child {
  border-bottom: 1px solid var(--line)
}
.principle-number {
  font: 11px monospace;
  line-height: 24px;
  color: #6b7064
}
.principle h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.35px;
  line-height: 1.4
}
.principle p {
  font-size: 13px;
  line-height: 1.7;
  color: #6b7064;
  margin-top: 10px;
  max-width: 420px
}
.topics-section {
  background: #e9ebe4;
  padding-block: 74px
}
.topics-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center
}
.topics-section .section-index {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #747b69;
  margin-bottom: 24px
}
.topics-section h2 {
  font-size: 39px;
  letter-spacing: -1.6px;
  line-height: 1.12
}
.topics-section h2>span {
  font: italic 43px Georgia,serif;
  color: #737f64;
  letter-spacing: -1.5px
}
.topic-list>div {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid #cfd3c7
}
.topic-list>div:first-child {
  border-top: 1px solid #cfd3c7
}
.topic-list>div>span:first-child {
  font: 10px monospace;
  color: #6b7064
}
.topic-list h3 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -.5px
}
.topic-icon {
  margin-left: auto;
  color: #7f8a71;
  font: 35px Georgia,serif;
  line-height: 1
}
.teachers-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px
}
.section-description {
  font-size: 13px;
  line-height: 1.8;
  max-width: 280px;
  color: #6b7064;
  margin-bottom: 4px
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 22px
}
.teacher-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/.98;
  background: #e9eae4;
  border: 1px solid #e1e3db;
  display: flex;
  align-items: flex-end;
  justify-content: center
}
.teacher-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(#a9af9b55 .6px,transparent .6px);
  background-size: 8px 8px;
  pointer-events: none;
  opacity: .4
}
.teacher-ordinal {
  position: absolute;
  top: 16px;
  left: 17px;
  font: 10px monospace;
  color: #6b7064
}
.teacher-photo svg {
  width: 82%;
  fill: #daddd2;
  stroke: #c9cebf;
  stroke-width: 1.5;
  transform: translateY(8%)
}
.photo-note {
  position: absolute;
  bottom: 15px;
  left: 17px;
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #6b7064
}
.teacher-card:nth-child(2) .teacher-photo {
  background: #eae6e1
}
.teacher-card:nth-child(2) .teacher-photo svg {
  fill: #ddd6cc;
  stroke: #cec4b5
}
.teacher-card:nth-child(3) .teacher-photo {
  background: #e2e7e6
}
.teacher-card:nth-child(3) .teacher-photo svg {
  fill: #d1dad7;
  stroke: #bdcac6
}
.teacher-card:nth-child(4) .teacher-photo {
  background: #e9e5e6
}
.teacher-card:nth-child(4) .teacher-photo svg {
  fill: #dcd4d5;
  stroke: #cfc3c6
}
.teacher-info {
  padding-top: 19px
}
.teacher-info h3 {
  font-size: 15px;
  letter-spacing: -.35px;
  font-weight: 500
}
.teacher-info p {
  font-size: 11px;
  color: #6b7064;
  line-height: 1.6;
  margin-top: 7px
}
.teachers {
  padding-bottom: 92px
}
.start {
  border-top: 1px solid var(--line);
  padding-top: 85px
}
.start-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 60px;
  padding: 0;
  margin: 0
}
.start-steps li {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 25px
}
.step-number {
  font: italic 38px Georgia,serif;
  color: var(--red);
  line-height: 1
}
.start-steps h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.4px;
  margin-top: 24px
}
.start-steps p {
  font-size: 13px;
  line-height: 1.75;
  color: #6b7064;
  margin-top: 12px;
  max-width: 300px
}
.contact-section {
  background: var(--red);
  color: white;
  padding-block: 84px
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center
}
.contact-section .section-index {
  color: #fff;
  margin-bottom: 28px
}
.contact-section h2 {
  font-size: 74px;
  line-height: .97;
  letter-spacing: -3.8px
}
.contact-section h2>span {
  font: italic 81px Georgia,serif;
  letter-spacing: -4px
}
.contact-description {
  font-size: 14px;
  line-height: 1.75;
  color: #fff;
  margin-top: 27px
}
.contact-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #fff
}
.contact-status>span {
  width: 5px;
  height: 5px;
  background: #f8d8c1;
  border-radius: 50%
}
.contact-copy {
  font-size: 15px;
  line-height: 1.75;
  margin-top: 19px;
  max-width: 370px
}
.button-white {
  background: #fff;
  color: var(--red)
}
.contact-placeholder {
  margin-top: 25px;
  opacity: .75;
  min-width: 280px
}
.phone-placeholder {
  border-top: 1px solid #e77168;
  padding-top: 23px;
  margin-top: 27px
}
.phone-placeholder>span {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #fff
}
.phone-placeholder p {
  font-size: 19px;
  margin-top: 11px;
  letter-spacing: -.5px
}
.preview-note {
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 20px
}
.contact-section a:focus-visible {
  outline-color: white
}
.site-footer {
  background: var(--paper);
  padding-top: 44px
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 33px
}
.footer-top>.brand {
  font-size: 25px
}
.footer-top p {
  font-size: 11px;
  color: #6b7064;
  margin-right: auto
}
.back-top {
  font-size: 11px;
  display: flex;
  align-items: center
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: #6b7064;
  letter-spacing: .2px
}
@media(min-width:1600px) {
  .hero {
    padding-block: 100px;
    min-height: 740px
  }
  h1 {
    font-size: 82px
  }
  .hero-description {
    font-size: 17px
  }
}
@media(max-width:1150px) {
  .wrap {
    width: calc(100% - 72px)
  }
  .site-nav {
    gap: 22px
  }
  .hero {
    gap: 34px;
    grid-template-columns: 1.1fr 1fr;
    padding-top: 55px;
    min-height: 620px
  }
  h1 {
    font-size: 59px;
    letter-spacing: -3.5px
  }
  .hero-description {
    font-size: 14px
  }
  .hero-actions {
    gap: 15px
  }
  .button {
    font-size: 12px;
    padding-inline: 18px
  }
  .text-link {
    font-size: 11px
  }
  .hero-visual {
    padding-right: 9px
  }
  .problem-sheet {
    padding-inline: 22px
  }
  .problem-sheet h2 {
    font-size: 22px
  }
  .problem-bottom {
    flex-wrap: wrap;
    gap: 6px
  }
  .idea-hint {
    max-width: none;
    flex-basis: 100%;
    font-size: 10px
  }
  .idea-button {
    font-size: 11px
  }
  .approach-layout {
    gap: 65px;
    grid-template-columns: .8fr 1.4fr
  }
  .section {
    padding-block: 90px
  }
  .contact-layout {
    gap: 70px
  }
  .teacher-grid {
    gap: 16px
  }
  .teacher-info h3 {
    font-size: 14px
  }
  .topics-layout {
    gap: 50px
  }
  .topics-section h2 {
    font-size: 36px
  }
  .topic-list h3 {
    font-size: 19px
  }
}
@media(max-width:850px) {
  .wrap {
    width: calc(100% - 48px)
  }
  .header-inner {
    height: 76px;
    gap: 20px
  }
  .brand {
    font-size: 25px
  }
  .site-nav {
    gap: 18px;
    font-size: 11px
  }
  .site-nav .header-contact {
    margin-left: 0
  }
  .hero {
    min-height: auto;
    padding-block: 55px 65px;
    gap: 28px
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2.8px
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 26px;
    gap: 9px
  }
  .small-line {
    width: 18px
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 29px
  }
  .hero-actions {
    margin-top: 25px;
    gap: 9px
  }
  .visual-caption {
    font-size: 13px
  }
  .problem-sheet {
    padding: 20px 18px 16px
  }
  .sheet-top {
    font-size: 7px;
    letter-spacing: .8px;
    padding-bottom: 12px
  }
  .problem-sheet h2 {
    font-size: 20px;
    margin-top: 15px
  }
  .geometry {
    margin-inline: -10px
  }
  .subject-band-inner {
    min-height: 62px;
    font-size: 9px;
    letter-spacing: 1px;
    gap: 14px
  }
  .section {
    padding-block: 75px
  }
  h2 {
    font-size: 35px
  }
  .section-heading {
    margin-bottom: 40px
  }
  .approach-layout {
    gap: 42px
  }
  .approach-intro {
    font-size: 14px
  }
  .principle {
    gap: 16px
  }
  .principle h3 {
    font-size: 16px
  }
  .principle p {
    font-size: 12px
  }
  .topics-layout {
    gap: 35px
  }
  .topics-section h2 {
    font-size: 31px
  }
  .topics-section h2>span {
    font-size: 35px
  }
  .topic-list h3 {
    font-size: 16px
  }
  .topic-list>div {
    gap: 18px
  }
  .topics-section {
    padding-block: 60px
  }
  .teachers-heading {
    gap: 35px
  }
  .section-description {
    font-size: 12px;
    max-width: 210px
  }
  .teacher-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 20px
  }
  .teacher-photo {
    aspect-ratio: 1/.87
  }
  .teacher-photo svg {
    width: 70%
  }
  .teacher-info h3 {
    font-size: 16px
  }
  .teacher-info p {
    font-size: 12px
  }
  .start-steps {
    gap: 25px
  }
  .start-steps h3 {
    font-size: 17px
  }
  .start-steps p {
    font-size: 12px
  }
  .contact-section {
    padding-block: 65px
  }
  .contact-layout {
    gap: 40px
  }
  .contact-section h2 {
    font-size: 60px
  }
  .contact-section h2>span {
    font-size: 67px
  }
  .contact-description {
    font-size: 13px
  }
  .contact-copy {
    font-size: 13px
  }
  .contact-placeholder {
    min-width: 0;
    width: 100%;
    gap: 10px
  }
  .phone-placeholder p {
    font-size: 18px
  }
  .footer-top {
    gap: 25px
  }
  .footer-top p {
    font-size: 10px
  }
}
@media(max-width:640px) {
  :root {
    scroll-padding-top: 85px
  }
  .wrap {
    width: calc(100% - 40px)
  }
  .header-inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    position: relative;
    gap: 0
  }
  .header-inner>.brand {
    padding-block: 21px
  }
  .has-js .header-inner {
    height: 72px
  }
  .has-js .header-inner>.brand {
    padding-block: 0
  }
  .brand {
    font-size: 25px
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 13px;
    font-size: 11px;
    padding-block: 8px 12px
  }
  .site-nav .header-contact {
    display: none
  }
  .has-js .menu-toggle {
    display: flex;
    gap: 14px;
    align-items: center;
    background: none;
    border: 0;
    padding: 12px 0 12px 12px;
    font-size: 12px;
    cursor: pointer
  }
  .menu-icon {
    display: block;
    width: 19px;
    height: 11px;
    border-block: 1px solid var(--ink);
    position: relative
  }
  .menu-icon:after {
    content: "";
    position: absolute;
    inset: 4px 0 auto;
    border-top: 1px solid var(--ink)
  }
  .has-js .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: -20px;
    width: calc(100% + 40px);
    background: var(--paper);
    padding: 17px 20px 23px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 16px #20211f08;
    font-size: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px
  }
  .has-js .site-nav.is-open {
    display: flex
  }
  .has-js .site-nav .header-contact {
    display: flex;
    justify-content: space-between;
    border-bottom: 0;
    margin-top: 4px;
    color: var(--red)
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 42px 55px;
    gap: 35px
  }
  .hero-copy {
    max-width: 470px
  }
  h1 {
    font-size: clamp(39px,9.7vw,60px);
    letter-spacing: -2.5px;
    line-height: 1.07
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 25px
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.75;
    max-width: 380px;
    margin-top: 30px
  }
  .hero-actions {
    gap: 18px;
    margin-top: 25px
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 17px 19px;
    min-height: 51px
  }
  .text-link {
    font-size: 11px
  }
  .hero-visual {
    width: min(100%,420px);
    justify-self: center;
    padding: 12px 12px 18px 7px
  }
  .visual-caption {
    font-size: 15px;
    margin-left: 12px
  }
  .problem-sheet {
    padding: 22px 23px 18px;
    transform: rotate(1.4deg)
  }
  .sheet-top {
    font-size: 8px;
    letter-spacing: 1.1px
  }
  .problem-sheet h2 {
    font-size: 23px;
    margin-top: 17px
  }
  .geometry {
    margin: 8px -9px 0
  }
  .geometry-svg {
    max-height: 275px
  }
  .problem-bottom {
    flex-wrap: nowrap;
    gap: 12px;
    padding-top: 14px
  }
  .idea-hint {
    font-size: 10px;
    flex-basis: auto;
    max-width: 205px
  }
  .idea-button {
    font-size: 10px;
    max-width: 115px
  }
  .subject-band-inner {
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 6px;
    font-size: 8px;
    letter-spacing: 1px;
    padding-block: 17px;
    min-height: 65px
  }
  .subject-band-inner>span:nth-child(4) {
    display: none
  }
  .subject-band-inner>span:nth-child(5) {
    flex-basis: 40%;
    text-align: right
  }
  .subject-band-inner>span:last-child {
    flex-basis: 40%;
    text-align: left
  }
  .section {
    padding-block: 61px
  }
  .section-index {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 21px
  }
  h2 {
    font-size: clamp(29px,6.8vw,37px);
    letter-spacing: -1.2px;
    line-height: 1.17
  }
  .section-heading {
    margin-bottom: 33px
  }
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 34px
  }
  .approach-intro {
    max-width: 380px;
    font-size: 14px;
    position: relative;
    padding: 0
  }
  .intro-note {
    font-size: 12px;
    margin-top: 15px
  }
  .handwritten {
    position: absolute;
    bottom: 0;
    right: 6px;
    font-size: 23px;
    margin: 0;
    transform: rotate(-7deg)
  }
  .principle {
    padding: 23px 0;
    gap: 16px
  }
  .principle:first-child {
    border-top: 1px solid var(--line);
    padding-top: 23px
  }
  .principle h3 {
    font-size: 16px
  }
  .principle p {
    font-size: 12px;
    margin-top: 9px;
    max-width: 300px
  }
  .topics-section {
    padding-block: 51px
  }
  .topics-layout {
    grid-template-columns: 1fr;
    gap: 30px
  }
  .topics-section .section-index {
    font-size: 8px;
    margin-bottom: 19px
  }
  .topics-section h2 {
    font-size: 34px;
    line-height: 1.1
  }
  .topics-section h2>span {
    font-size: 38px
  }
  .topic-list>div {
    padding-block: 20px;
    gap: 20px
  }
  .topic-list h3 {
    font-size: 20px
  }
  .topic-icon {
    font-size: 32px
  }
  .teachers-heading {
    display: block
  }
  .section-description {
    max-width: 330px;
    font-size: 12px;
    line-height: 1.75;
    margin-top: 21px
  }
  .teacher-grid {
    gap: 28px 14px
  }
  .teacher-photo {
    aspect-ratio: 1/1.1
  }
  .teacher-photo svg {
    width: 94%
  }
  .teacher-ordinal {
    top: 12px;
    left: 12px;
    font-size: 9px
  }
  .photo-note {
    left: 12px;
    bottom: 12px;
    font-size: 6px;
    letter-spacing: 1px
  }
  .teacher-info {
    padding-top: 14px
  }
  .teacher-info h3 {
    font-size: 13px;
    letter-spacing: -.25px;
    line-height: 1.4
  }
  .teacher-info p {
    font-size: 10px;
    line-height: 1.6;
    max-width: 145px;
    margin-top: 6px
  }
  .start-steps {
    grid-template-columns: 1fr;
    gap: 0
  }
  .start-steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 15px;
    padding-block: 24px
  }
  .step-number {
    font-size: 32px;
    grid-row: 1/3
  }
  .start-steps h3 {
    margin-top: 0;
    font-size: 18px;
    line-height: 1.6
  }
  .start-steps p {
    font-size: 13px;
    margin-top: 5px;
    max-width: 350px
  }
  .start {
    padding-bottom: 47px
  }
  .contact-section {
    padding-block: 57px
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px
  }
  .contact-section .section-index {
    font-size: 8px;
    margin-bottom: 25px
  }
  .contact-section h2 {
    font-size: 66px;
    letter-spacing: -3px;
    line-height: .98
  }
  .contact-section h2>span {
    font-size: 73px;
    letter-spacing: -3.5px
  }
  .contact-description {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 21px
  }
  .contact-details {
    border-top: 1px solid #e77168;
    padding-top: 25px
  }
  .contact-copy {
    max-width: 350px;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px
  }
  .contact-placeholder {
    width: auto;
    min-width: 270px;
    padding-block: 19px;
    margin-top: 23px
  }
  .phone-placeholder {
    margin-top: 24px;
    padding-top: 23px
  }
  .phone-placeholder p {
    font-size: 19px
  }
  .preview-note {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 19px
  }
  .site-footer {
    padding-top: 33px
  }
  .footer-top {
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 25px
  }
  .footer-top .brand {
    font-size: 23px
  }
  .footer-top p {
    order: 3;
    flex-basis: 100%;
    font-size: 10px
  }
  .back-top {
    margin-left: auto
  }
  .footer-bottom {
    font-size: 8px;
    padding-block: 19px;
    gap: 12px
  }
}
@media(max-width:360px) {
  .wrap {
    width: calc(100% - 32px)
  }
  .hero-actions {
    gap: 7px
  }
  .hero-actions .button {
    font-size: 11px;
    padding-inline: 14px
  }
  .text-link {
    font-size: 10px
  }
  .problem-sheet {
    padding-inline: 18px
  }
  .problem-sheet h2 {
    font-size: 21px
  }
  .problem-bottom {
    flex-wrap: wrap;
    gap: 5px
  }
  .idea-hint {
    max-width: none;
    flex-basis: 100%
  }
  .handwritten {
    font-size: 20px;
    right: 0
  }
  .contact-placeholder {
    min-width: 0;
    width: 100%
  }
  .teacher-grid {
    gap: 25px 12px
  }
  .teacher-info h3 {
    font-size: 12px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*:before,*:after {
    transition: none!important;
    animation: none!important
  }
  .button-red:hover {
    transform: none
  }
}
