:root {
  --navy: #082d68;
  --navy-deep: #051e49;
  --purple: #7a52b3;
  --gold: #f5b51b;
  --green: #16845e;
  --cream: #fffdf8;
  --paper: #ffffff;
  --soft-purple: #f5f0fb;
  --soft-blue: #eef7fc;
  --soft-mint: #ecf8f2;
  --soft-gold: #fff7dc;
  --text: #193459;
  --muted: #66758c;
  --line: #dbe3ef;
  --shadow: 0 20px 55px rgba(8, 45, 104, 0.13);
  --shadow-light: 0 12px 30px rgba(8, 45, 104, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  color: white;
  background: var(--navy);
  border-radius: 10px;
}

.skip-link:focus {
  top: 20px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(8, 45, 104, 0.09);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  letter-spacing: 0.08em;
  line-height: 0.85;
}

.brand-copy small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.23em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav > a:not(.nav-button) {
  position: relative;
}

.primary-nav > a:not(.nav-button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav > a:not(.nav-button):hover::after,
.primary-nav > a:not(.nav-button):focus-visible::after {
  transform: scaleX(1);
}

.nav-button {
  padding: 11px 18px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(8, 45, 104, 0.16);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background:
    radial-gradient(circle at 9% 15%, rgba(198, 224, 246, 0.62), transparent 25%),
    radial-gradient(circle at 88% 5%, rgba(230, 216, 245, 0.72), transparent 29%),
    linear-gradient(180deg, #fffefc 0%, #fff9ed 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  top: 13%;
  right: 40%;
  width: 120px;
  height: 120px;
  background: rgba(245, 181, 27, 0.10);
}

.hero-glow-two {
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: rgba(122, 82, 179, 0.09);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f1d58c;
}

h1,
h2 {
  margin-top: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(39px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.018em;
}

h3 {
  color: var(--navy);
  line-height: 1.25;
}

.hero-intro {
  max-width: 670px;
  margin-bottom: 31px;
  color: #435b7a;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(8, 45, 104, 0.20);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-secondary {
  color: var(--navy);
  background: white;
  border-color: rgba(8, 45, 104, 0.22);
}

.button-secondary:hover {
  border-color: var(--navy);
}

.button-light {
  color: var(--navy);
  background: white;
  box-shadow: 0 12px 27px rgba(0, 0, 0, 0.12);
}

.full-width {
  width: 100%;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.trust-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-points svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-art {
  position: relative;
  min-height: 620px;
}

.laptop {
  position: absolute;
  top: 12px;
  right: 0;
  width: min(89%, 520px);
  transform: rotate(2deg);
}

.laptop-screen {
  overflow: hidden;
  padding: 11px;
  background: #172333;
  border-radius: 17px 17px 7px 7px;
  box-shadow: var(--shadow);
}

.window-dots {
  display: flex;
  gap: 5px;
  padding: 4px 2px 10px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  background: #e8c96f;
  border-radius: 50%;
}

.lesson-board {
  min-height: 260px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 12px;
  padding: 28px;
  color: #1d2632;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 22px, #dfe9f5 23px);
  border-radius: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.lesson-board p {
  margin: 0 0 5px;
  font-size: 28px;
}

.lesson-board svg {
  width: 100%;
  fill: none;
  stroke: #1b2b46;
  stroke-width: 2;
}

.lesson-board path {
  stroke: var(--purple);
  stroke-width: 4;
}

.laptop-base {
  width: 108%;
  height: 25px;
  margin-left: -4%;
  background: linear-gradient(180deg, #bdc4cb, #7e8893);
  border-radius: 3px 3px 30px 30px;
  box-shadow: 0 18px 24px rgba(20, 30, 45, 0.17);
}

.book-stack {
  position: absolute;
  z-index: 1;
  right: 73px;
  bottom: 58px;
  width: 210px;
  transform: rotate(-4deg);
}

.book-stack span {
  display: block;
  height: 39px;
  margin-top: -3px;
  border: 3px solid rgba(8, 45, 104, 0.25);
  border-radius: 7px 15px 15px 7px;
  box-shadow: 0 7px 12px rgba(8, 45, 104, 0.11);
}

.book-stack span:nth-child(1) { background: #8d64af; }
.book-stack span:nth-child(2) { background: #79bdaf; }
.book-stack span:nth-child(3) { background: #f1c868; }

.pencil-cup {
  position: absolute;
  top: 241px;
  right: 310px;
  width: 92px;
  height: 96px;
  background: linear-gradient(90deg, #ebe5dc, white);
  border-radius: 5px 5px 25px 25px;
  box-shadow: var(--shadow-light);
}

.pen {
  position: absolute;
  bottom: 78px;
  width: 10px;
  height: 87px;
  border-radius: 999px 999px 2px 2px;
  transform-origin: bottom;
}

.pen::after {
  position: absolute;
  top: -7px;
  left: 2px;
  width: 6px;
  height: 8px;
  content: "";
  background: inherit;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pen-one { left: 18px; background: #6a3e8f; transform: rotate(-11deg); }
.pen-two { left: 37px; background: #008eb5; transform: rotate(-3deg); }
.pen-three { left: 55px; background: #e83f71; transform: rotate(8deg); }
.pen-four { left: 68px; background: #f17825; transform: rotate(15deg); }

.note-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 8px;
  width: 220px;
  min-height: 215px;
  padding: 34px 24px 24px;
  color: var(--navy);
  background:
    repeating-linear-gradient(0deg, #fffdf6 0 25px, #dbe7f3 26px);
  border: 1px solid #d7d0be;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  font-family: "Sacramento", cursive;
  font-size: 28px;
  line-height: 1.08;
}

.note-card p,
.note-card strong {
  margin: 0;
  font-weight: 400;
}

.note-card strong {
  display: block;
  margin-top: 13px;
}

.note-card span {
  position: absolute;
  right: 18px;
  bottom: 7px;
  color: var(--purple);
  font-size: 43px;
}

.founding-ribbon {
  position: absolute;
  z-index: 3;
  right: 255px;
  bottom: 70px;
  width: 290px;
  padding: 17px 25px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transform: rotate(-1deg);
}

.founding-ribbon small {
  display: block;
  color: #f6ca4d;
  font-family: "Sacramento", cursive;
  font-size: 28px;
  line-height: 1;
}

.founding-ribbon strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.sparkle {
  position: absolute;
  color: var(--purple);
  font-size: 27px;
}

.sparkle-one { top: 0; left: 5px; }
.sparkle-two { top: 47px; left: 50px; color: #6ec2b1; }

.credential-bar {
  background: white;
  border-top: 1px solid rgba(8, 45, 104, 0.07);
  border-bottom: 1px solid rgba(8, 45, 104, 0.09);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.credential {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 24px;
}

.credential + .credential {
  border-left: 1px solid var(--line);
}

.credential-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.credential small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.credential strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
}

.lavender { background: #e8ddf5; }
.mint { background: #dff2e9; }
.gold { background: #fff0b8; }
.blue { background: #d9edf9; }
.peach { background: #fce0cf; }

.section {
  padding: 94px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 45px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 17px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.subject-card {
  min-height: 310px;
  padding: 34px 25px;
  text-align: center;
}

.subject-card + .subject-card {
  border-left: 1px dashed #b7c6da;
}

.subject-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 19px;
  color: var(--navy);
  border-radius: 50%;
  font-size: 35px;
  font-weight: 700;
}

.subject-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  text-transform: uppercase;
}

.subject-card p,
.subject-card li {
  color: #385272;
  font-size: 14px;
}

.subject-card ul {
  padding-left: 18px;
  text-align: left;
}


.test-card {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 30px 40px;
  text-align: left;
  border-top: 1px dashed #b7c6da;
}

.test-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.test-card .subject-icon {
  margin: 0;
  flex: 0 0 auto;
}

.test-card h3 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
}

.test-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 0;
  padding-left: 22px;
}

.approach-section {
  background:
    radial-gradient(circle at 100% 0, rgba(122, 82, 179, 0.10), transparent 25%),
    var(--soft-purple);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.lead {
  color: var(--navy);
  font-size: 19px;
  font-weight: 600;
}

.approach-copy > p:not(.eyebrow):not(.lead) {
  color: #566b86;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 800;
}

.text-link span {
  color: var(--gold);
  font-size: 21px;
}

.approach-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.approach-cards article {
  min-height: 168px;
  display: flex;
  gap: 15px;
  padding: 25px;
  background: white;
  border: 1px solid rgba(8, 45, 104, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
}

.approach-cards article > span {
  color: var(--purple);
  font-family: "Cormorant Garamond", serif;
  font-size: 33px;
  font-weight: 700;
}

.approach-cards h3 {
  margin: 5px 0 6px;
}

.approach-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-section {
  background: white;
}

.pricing-grid {
  max-width: 930px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  padding: 38px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.price-card.featured {
  border: 2px solid rgba(22, 132, 94, 0.42);
  box-shadow: var(--shadow);
}

.saving {
  position: absolute;
  top: 23px;
  right: 23px;
  padding: 6px 11px;
  color: var(--navy);
  background: #ffd66e;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.price-type {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price {
  color: var(--green);
  font-size: 55px;
  font-weight: 800;
  line-height: 1.05;
}

.price small {
  font-size: 19px;
}

.regular-price {
  color: var(--muted);
}

.price-card ul {
  min-height: 152px;
  padding-left: 20px;
  margin: 23px 0;
}

.price-card li {
  margin-bottom: 8px;
}

.referral-banner {
  max-width: 930px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 25px auto 0;
  padding: 22px 28px;
  background: var(--soft-gold);
  border: 1px dashed #dfa400;
  border-radius: 18px;
  text-align: left;
}

.referral-icon {
  color: var(--navy);
  font-size: 35px;
}

.referral-banner strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.referral-banner p {
  margin: 2px 0 0;
  color: var(--purple);
  font-family: "Sacramento", cursive;
  font-size: 31px;
  line-height: 1.05;
}

.schedule-section {
  background:
    radial-gradient(circle at 2% 50%, rgba(198, 224, 246, 0.50), transparent 28%),
    #f8fbfd;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.timezone-note {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schedule-row {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 36px;
}

.schedule-row + .schedule-row {
  border-top: 1px solid var(--line);
}

.schedule-row small {
  display: block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.schedule-row strong {
  display: block;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1.15;
}

.schedule-row > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--soft-gold);
  border-radius: 50%;
  font-size: 27px;
}

.process-section {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid article {
  position: relative;
  min-height: 230px;
  padding: 29px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
}

.process-grid article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font-weight: 800;
}

.process-grid h3 {
  margin-bottom: 9px;
  font-size: 18px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-section {
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.faq-grid > div:first-child > p:last-child {
  color: var(--muted);
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  color: var(--purple);
  font-size: 27px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 22px;
}

.contact-section {
  padding: 0 0 85px;
  background: white;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 50px;
  padding: 55px;
  color: white;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 181, 27, 0.16), transparent 29%),
    linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: white;
}

.contact-panel p {
  color: #dce8f7;
}

.contact-actions {
  display: grid;
  gap: 13px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  color: white;
  font-weight: 700;
}

.contact-link span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: white;
  border-radius: 50%;
}

footer {
  padding: 40px 0;
  color: #dde9f6;
  background: var(--navy-deep);
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

footer p {
  margin: 5px 0 0;
}

.footer-right {
  text-align: right;
}

.footer-right p {
  color: #f4d16f;
}

footer small {
  color: #9eb0c8;
}

/* Focus styling */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: grid;
  }

  .primary-nav a {
    padding: 9px 5px;
  }

  .primary-nav .nav-button {
    padding: 13px 18px;
    text-align: center;
  }

  .hero-grid,
  .approach-grid,
  .schedule-grid,
  .payment-grid,
  .faq-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 610px;
  }

  .subject-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subject-card + .subject-card {
    border-left: 0;
  }

  .subject-card {
    border-bottom: 1px dashed #b7c6da;
  }

  .test-card {
    grid-column: 1 / -1;
  }

  .test-card ul {
    grid-template-columns: 1fr;
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .credential {
    justify-content: flex-start;
  }

  .credential + .credential {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 670px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 55px 0 48px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 39px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    min-height: 575px;
  }

  .laptop {
    width: 95%;
  }

  .lesson-board {
    min-height: 200px;
    padding: 20px;
  }

  .lesson-board p {
    font-size: 21px;
  }

  .book-stack {
    right: 30px;
    bottom: 75px;
    width: 165px;
  }

  .pencil-cup {
    top: 205px;
    right: auto;
    left: 20px;
    transform: scale(0.82);
  }

  .note-card {
    right: 0;
    bottom: 0;
    width: 168px;
    min-height: 180px;
    padding: 29px 17px;
    font-size: 23px;
  }

  .founding-ribbon {
    right: auto;
    bottom: 210px;
    left: 8px;
    width: 225px;
    padding: 12px 14px;
  }

  .founding-ribbon small {
    font-size: 23px;
  }

  .founding-ribbon strong {
    font-size: 15px;
  }

  .subject-grid,
  .pricing-grid,
  .approach-cards,
  .process-grid,
  .payment-list {
    grid-template-columns: 1fr;
  }

  .test-card {
    grid-column: auto;
    display: block;
    padding: 30px 25px;
    text-align: left;
  }

  .test-card-header {
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .test-card .subject-icon {
    margin: 0;
  }

  .test-card ul {
    display: block;
    text-align: left;
  }

  .subject-card {
    min-height: 0;
  }

  .price-card {
    padding: 31px 24px;
  }

  .price {
    font-size: 48px;
  }

  .schedule-row {
    padding: 24px;
  }

  .schedule-row strong {
    font-size: 27px;
  }

  .contact-panel {
    padding: 37px 24px;
  }

  .footer-grid {
    display: grid;
  }

  .footer-right {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
