/* MATH-TUTO static stylesheet — no framework or build step required. */

:root {
  --ink: #153322;
  --ink-soft: #4c6556;
  --green: #0b7a3f;
  --green-dark: #07562d;
  --lime: #dff247;
  --yellow: #ffd84d;
  --cream: #fffaf0;
  --paper: #fffef9;
  --blue: #3f6cff;
  --pink: #f34788;
  --orange: #ff8754;
  --red: #e83232;
  --line: rgba(21, 51, 34, 0.15);
  --shadow: 0 16px 0 rgba(7, 86, 45, 0.08);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  color: white;
  background: var(--green);
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  color: white;
  background: var(--green-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.graph-paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 122, 63, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 122, 63, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 14px;
  width: min(calc(100% - 32px), 1240px);
  min-height: 74px;
  margin: 14px auto -88px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(11, 122, 63, 0.18);
  border-radius: 22px;
  background: rgba(255, 254, 249, 0.93);
  box-shadow: 0 12px 36px rgba(7, 86, 45, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  line-height: 0.95;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 13px 13px 13px 5px;
  color: white;
  background: var(--green);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(-3deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--green-dark);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 29px);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: #294838;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.mobile-menu {
  display: none;
}

.button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--green-dark);
  border-radius: 14px 14px 14px 5px;
  color: white;
  background: var(--green);
  box-shadow: 4px 5px 0 var(--green-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  background: #0a8b47;
  box-shadow: 2px 3px 0 var(--green-dark);
  transform: translate(2px, 2px);
}

.button--small {
  min-height: 46px;
  padding: 0 17px;
  font-size: 12px;
  white-space: nowrap;
}

.button--outline {
  color: var(--green-dark);
  background: transparent;
}

.button--outline:hover {
  color: white;
}

.hero {
  position: relative;
  min-height: 810px;
  padding: 148px max(24px, calc((100vw - 1180px) / 2)) 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(50px, 6vw, 100px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  top: 110px;
  left: -280px;
  border: 70px solid rgba(255, 216, 77, 0.45);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 0 18px;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(11, 122, 63, 0.25);
  border-radius: 9px 9px 9px 3px;
  color: var(--green-dark);
  background: rgba(223, 242, 71, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.eyebrow span:first-child:not(:only-child) {
  color: var(--pink);
}

.hero h1,
.section-heading h2,
.promo-copy h2,
.meet-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(50px, 6.2vw, 86px);
}

.hero h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--green);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -5px;
  bottom: 1px;
  left: -5px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 22px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.tagline-note {
  width: fit-content;
  max-width: 590px;
  margin: 0 0 27px;
  padding: 12px 18px 12px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 5px solid var(--pink);
  border-radius: 4px 12px 12px 4px;
  background: white;
  box-shadow: 0 7px 24px rgba(7, 86, 45, 0.08);
  color: var(--green-dark);
  font-size: 15px;
  transform: rotate(-0.5deg);
}

.tagline-note > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--pink);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 27px;
  display: flex;
  gap: 12px 22px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.hero-trust span::first-letter {
  color: var(--green);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.portrait-stage {
  position: relative;
  height: 620px;
  max-width: 530px;
  margin-left: auto;
  border: 2px solid var(--green-dark);
  border-radius: 46% 46% 20px 20px;
  background: var(--yellow);
  box-shadow: 14px 16px 0 var(--green-dark);
  isolation: isolate;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 145px;
  height: 145px;
  right: -44px;
  bottom: 55px;
  border: 24px solid var(--blue);
  border-radius: 50%;
  opacity: 0.9;
}

.portrait-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(11, 122, 63, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 122, 63, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.25));
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 98%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 8px rgba(7, 86, 45, 0.18));
}

.math-symbol {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-weight: 900;
  line-height: 1;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.14);
  animation: floaty 4.5s ease-in-out infinite;
}

.symbol-plus {
  width: 70px;
  height: 70px;
  top: 115px;
  left: -30px;
  border: 2px solid var(--green-dark);
  border-radius: 19px;
  color: white;
  background: var(--green);
  font-size: 58px;
  transform: rotate(-8deg);
}

.symbol-pi {
  top: 72px;
  right: -22px;
  color: var(--blue);
  font-size: 82px;
  transform: rotate(9deg);
  animation-delay: -1.2s;
}

.symbol-root {
  top: 277px;
  left: -42px;
  color: var(--pink);
  font-size: 74px;
  transform: rotate(-7deg);
  animation-delay: -2.2s;
}

.symbol-equals {
  right: -23px;
  bottom: 165px;
  color: var(--orange);
  font-size: 64px;
  transform: rotate(10deg);
  animation-delay: -3s;
}

.speech-bubble {
  position: absolute;
  z-index: 5;
  top: 19px;
  left: -35px;
  padding: 13px 17px;
  border: 2px solid var(--green-dark);
  border-radius: 17px 17px 17px 4px;
  background: white;
  box-shadow: 5px 6px 0 var(--green-dark);
  font-size: 15px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.mini-card {
  position: absolute;
  z-index: 5;
  min-width: 130px;
  padding: 12px 14px;
  border: 2px solid var(--green-dark);
  border-radius: 15px 15px 15px 5px;
  box-shadow: 5px 6px 0 var(--green-dark);
  line-height: 1.05;
}

.mini-card b,
.mini-card span {
  display: block;
}

.mini-card b {
  margin-bottom: 5px;
  font-size: 20px;
}

.mini-card span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-card--top {
  top: 184px;
  right: -50px;
  background: var(--lime);
  transform: rotate(4deg);
}

.mini-card--bottom {
  bottom: 23px;
  left: -54px;
  background: white;
  transform: rotate(-3deg);
}

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.energy-strip {
  position: relative;
  z-index: 3;
  padding: 16px 0;
  overflow: hidden;
  border-top: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  color: var(--green-dark);
  background: var(--lime);
  transform: rotate(-1deg) scale(1.02);
}

.energy-strip > div {
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.energy-strip i {
  color: var(--pink);
  font-style: normal;
}

.section {
  padding: 112px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  max-width: 670px;
}

.section-heading--center {
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading--center .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2,
.meet-copy h2 {
  font-size: clamp(42px, 5vw, 65px);
}

.section-heading h2 em,
.meet-copy h2 em {
  position: relative;
  color: var(--green);
  font-style: normal;
}

.section-heading p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.method-section {
  position: relative;
  background: var(--cream);
}

.method-section::after {
  content: "x²";
  position: absolute;
  top: 82px;
  right: 4vw;
  color: rgba(63, 108, 255, 0.16);
  font-family: Georgia, serif;
  font-size: 90px;
  font-weight: 900;
  transform: rotate(11deg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.method-card {
  position: relative;
  min-height: 255px;
  padding: 33px;
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: start;
  gap: 25px;
  overflow: hidden;
  border: 2px solid var(--green-dark);
  border-radius: var(--radius) var(--radius) var(--radius) 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.method-card:hover {
  box-shadow: 8px 10px 0 var(--green-dark);
  transform: translateY(-5px) rotate(-0.3deg);
}

.method-card--green { background: #dff5d7; }
.method-card--yellow { background: #fff0ad; }
.method-card--blue { background: #dfe7ff; }
.method-card--pink { background: #ffdce9; }

.method-letter {
  width: 88px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green-dark);
  border-radius: 24px 24px 24px 7px;
  color: white;
  background: var(--green);
  box-shadow: 5px 6px 0 var(--green-dark);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-4deg);
}

.method-card--yellow .method-letter { color: var(--ink); background: var(--yellow); }
.method-card--blue .method-letter { background: var(--blue); }
.method-card--pink .method-letter { background: var(--pink); }

.method-count {
  color: rgba(21, 51, 34, 0.55);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.method-card h3 {
  margin: 8px 0 12px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: 29px;
  letter-spacing: -0.035em;
}

.method-card p {
  margin: 0;
  color: #405c4c;
  font-size: 15px;
  line-height: 1.65;
}

.why-section {
  background: var(--green-dark);
  color: white;
}

.why-intro {
  margin-bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.why-section .section-heading h2 {
  max-width: 610px;
}

.why-section .section-heading h2 em {
  color: var(--lime);
}

.eyebrow--yellow {
  color: var(--ink);
  background: var(--yellow);
}

.reassurance-card {
  max-width: 380px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 2px solid var(--ink);
  border-radius: 20px 20px 20px 6px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 7px 8px 0 var(--yellow);
  transform: rotate(1.5deg);
}

.reassurance-card > span {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--pink);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 900;
}

.reassurance-card p {
  margin: 0;
  line-height: 1.45;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  min-height: 225px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px 22px 22px 7px;
  background: rgba(255, 255, 255, 0.075);
  transition: background 180ms ease, transform 180ms ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.benefit-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px 16px 16px 5px;
  color: var(--ink);
  background: var(--yellow);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.benefit-card:nth-child(2) .benefit-icon,
.benefit-card:nth-child(5) .benefit-icon { background: var(--lime); }
.benefit-card:nth-child(3) .benefit-icon { color: white; background: var(--blue); }
.benefit-card:nth-child(4) .benefit-icon { color: white; background: var(--pink); }
.benefit-card:nth-child(6) .benefit-icon { background: var(--orange); }

.benefit-card h3 {
  margin: 21px 0 8px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 14px;
  line-height: 1.6;
}

.promo-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
  background: var(--yellow);
  overflow: hidden;
}

.poster-wrap {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
  border: 9px solid white;
  border-radius: 10px;
  background: white;
  box-shadow: 18px 20px 0 var(--green-dark), 0 25px 60px rgba(7, 86, 45, 0.2);
  transform: rotate(-3deg);
}

.poster-wrap img {
  width: 100%;
  display: block;
}

.poster-contact {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 88px;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 3px solid var(--green-dark);
  color: white;
  background: var(--green-dark);
  text-align: center;
}

.poster-contact small {
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poster-contact strong {
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.03em;
}

.poster-tape {
  position: absolute;
  z-index: 2;
  top: -29px;
  width: 90px;
  height: 32px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 5px rgba(21, 51, 34, 0.12);
}

.poster-tape--left { left: -25px; transform: rotate(-8deg); }
.poster-tape--right { right: -25px; transform: rotate(8deg); }

.promo-copy {
  position: relative;
  z-index: 1;
}

.promo-copy::after {
  content: "÷";
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -120px;
  color: rgba(11, 122, 63, 0.14);
  font-family: Georgia, serif;
  font-size: 280px;
  font-weight: 900;
  transform: rotate(12deg);
}

.promo-kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--pink);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.promo-copy h2 {
  font-size: clamp(55px, 7vw, 92px);
}

.promo-copy h2 span {
  color: var(--pink);
}

.promo-copy h2 em {
  color: var(--green);
  font-style: normal;
}

.promo-copy > p {
  max-width: 660px;
  margin: 28px 0;
  color: #3e553f;
  font-size: 17px;
  line-height: 1.7;
}

.formula-note {
  width: fit-content;
  margin: 0 0 27px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px dashed var(--green-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  font-family: Georgia, serif;
  font-size: 14px;
  transform: rotate(-1deg);
}

.formula-note b {
  color: var(--pink);
  font-size: 21px;
}

.formula-note strong {
  color: var(--green);
  font-size: 16px;
}

.text-link {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--green);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link span {
  transition: transform 160ms ease;
}

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

.tutorials-header {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
}

.tutorial-promise {
  max-width: 400px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.tutorial-promise span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 11px;
  font-weight: 900;
}

.tutorial-promise span::before {
  content: "✓ ";
  color: var(--green);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  position: relative;
  min-height: 365px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--green-dark);
  border-radius: 25px 25px 25px 7px;
  box-shadow: 7px 8px 0 var(--green-dark);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-card:hover {
  box-shadow: 11px 13px 0 var(--green-dark);
  transform: translateY(-6px) rotate(-0.5deg);
}

.video-card--green { background: #bdeabc; }
.video-card--yellow { background: var(--yellow); }
.video-card--pink { background: #ffc2d9; }

.video-card::before,
.video-card::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(21, 51, 34, 0.15);
  border-radius: 50%;
}

.video-card::before {
  width: 220px;
  height: 220px;
  right: -80px;
  top: 50px;
}

.video-card::after {
  width: 140px;
  height: 140px;
  right: -40px;
  top: 90px;
}

.video-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #37513f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-formula {
  position: absolute;
  top: 85px;
  left: 25px;
  color: rgba(21, 51, 34, 0.78);
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-style: italic;
  transform: rotate(-4deg);
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 117px;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
  color: white;
  background: var(--green);
  box-shadow: 5px 6px 0 var(--green-dark);
  font-size: 24px;
  transform: translateX(-50%);
  transition: scale 170ms ease;
}

.video-card:hover .play-button {
  scale: 1.08;
}

.video-info {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 19px;
  border: 1px solid rgba(21, 51, 34, 0.12);
  border-radius: 17px 17px 17px 5px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.video-info h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.25;
}

.video-info span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.centered-action {
  margin-top: 44px;
  text-align: center;
}

.button--youtube {
  border-color: #9f1818;
  background: var(--red);
  box-shadow-color: #9f1818;
}

.button--youtube:hover {
  background: #f13b3b;
  box-shadow: 2px 3px 0 #9f1818;
}

.meet-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
  background: #eef9b4;
}

.meet-photo {
  position: relative;
  max-width: 455px;
  margin: 0 auto;
}

.meet-photo::before {
  content: "";
  position: absolute;
  inset: -20px 20px 20px -20px;
  border: 2px dashed var(--green);
  border-radius: 44% 44% 22px 22px;
  transform: rotate(-3deg);
}

.meet-photo-frame {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--green-dark);
  border-radius: 44% 44% 22px 22px;
  background: var(--green);
  box-shadow: 13px 15px 0 var(--green-dark);
}

.meet-photo-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.graduate-badge {
  position: absolute;
  z-index: 3;
  right: -48px;
  bottom: 54px;
  padding: 15px 18px;
  border: 2px solid var(--green-dark);
  border-radius: 18px 18px 18px 5px;
  background: var(--yellow);
  box-shadow: 6px 7px 0 var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.graduate-badge span {
  margin-bottom: 4px;
  display: block;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 28px;
}

.meet-doodle {
  position: absolute;
  z-index: 3;
  top: 25px;
  left: -55px;
  padding: 9px 13px;
  border: 2px solid var(--green-dark);
  border-radius: 10px;
  color: white;
  background: var(--blue);
  box-shadow: 5px 6px 0 var(--green-dark);
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  transform: rotate(-7deg);
}

.meet-copy blockquote {
  max-width: 650px;
  margin: 27px 0 24px;
  padding: 20px 24px;
  border-left: 6px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.64);
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.5vw, 29px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.4;
}

.meet-copy blockquote span {
  color: var(--green);
}

.meet-copy > p:not(.meet-signoff) {
  max-width: 670px;
  color: #415a49;
  font-size: 17px;
  line-height: 1.8;
}

.meet-signoff {
  margin: 19px 0 22px;
  font-size: 15px;
  font-weight: 900;
}

.meet-signoff span {
  color: var(--pink);
  font-size: 24px;
}

.final-cta {
  position: relative;
  padding: 105px 24px;
  overflow: hidden;
  color: white;
  background-color: var(--green);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -245px;
  left: 50%;
  border: 75px solid rgba(223, 242, 71, 0.2);
  border-radius: 50%;
  transform: translateX(-50%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-label {
  display: inline-block;
  margin-bottom: 19px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.final-cta h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(52px, 7vw, 88px);
}

.final-cta p {
  max-width: 700px;
  margin: 26px auto 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button--light,
.button--yellow,
.button--ghost-light {
  border-color: var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
}

.button--light {
  color: var(--green-dark);
  background: white;
}

.button--light:hover {
  color: var(--green-dark);
  background: #f5ffe4;
  box-shadow: 2px 3px 0 var(--ink);
}

.button--yellow {
  color: var(--ink);
  background: var(--yellow);
}

.button--yellow:hover {
  color: var(--ink);
  background: #ffe36f;
  box-shadow: 2px 3px 0 var(--ink);
}

.button--ghost-light {
  border-color: white;
  color: white;
  background: transparent;
  box-shadow: 4px 5px 0 rgba(255, 255, 255, 0.6);
}

.button--ghost-light:hover {
  color: var(--green-dark);
  background: white;
  box-shadow: 2px 3px 0 rgba(255, 255, 255, 0.6);
}

.cta-symbol {
  position: absolute;
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.8;
}

.cta-symbol--one { top: 55px; left: 6%; transform: rotate(-11deg); }
.cta-symbol--two { right: 7%; bottom: 45px; color: var(--lime); transform: rotate(8deg); }
.cta-symbol--three { right: 14%; top: 55px; color: var(--pink); transform: rotate(12deg); }

.site-footer {
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  color: white;
  background: var(--ink);
}

.brand--footer .brand-mark {
  color: var(--ink);
  background: var(--lime);
  box-shadow: none;
}

.brand--footer strong {
  color: white;
}

.brand--footer small {
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px 25px;
  flex-wrap: wrap;
}

.footer-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.06em;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
    gap: 50px;
  }

  .portrait-stage {
    height: 560px;
  }

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

  .graduate-badge {
    right: -20px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 760px);
    min-height: 66px;
    margin-top: 10px;
    margin-bottom: -76px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    margin-left: auto;
    display: block;
  }

  .mobile-menu summary {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 2px solid var(--green-dark);
    border-radius: 13px 13px 13px 5px;
    background: var(--lime);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--green-dark);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .mobile-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu nav {
    position: absolute;
    top: 57px;
    right: 0;
    width: min(310px, calc(100vw - 42px));
    padding: 13px;
    display: grid;
    gap: 5px;
    border: 2px solid var(--green-dark);
    border-radius: 18px 6px 18px 18px;
    background: white;
    box-shadow: 8px 9px 0 var(--green-dark);
  }

  .mobile-menu nav > a:not(.button) {
    padding: 12px 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-menu nav > a:not(.button):hover {
    background: #eef9b4;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero-visual {
    width: min(88%, 540px);
    margin: 0 auto;
  }

  .portrait-stage {
    height: 620px;
  }

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

  .why-intro,
  .tutorials-header {
    align-items: start;
    flex-direction: column;
  }

  .tutorial-promise {
    justify-content: flex-start;
  }

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

  .video-card {
    min-height: 350px;
  }

  .promo-section,
  .meet-section {
    grid-template-columns: 1fr;
  }

  .promo-copy {
    order: -1;
  }

  .poster-wrap {
    width: min(85%, 390px);
  }

  .meet-photo {
    width: min(80%, 455px);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 38px;
    font-size: 21px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 8px;
  }

  .section {
    padding: 82px 20px;
  }

  .hero {
    padding: 116px 20px 68px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 68px);
  }

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

  .tagline-note {
    font-size: 13px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
  }

  .hero-visual {
    width: min(86%, 430px);
  }

  .portrait-stage {
    height: 480px;
    border-radius: 44% 44% 17px 17px;
    box-shadow: 9px 11px 0 var(--green-dark);
  }

  .speech-bubble {
    top: 4px;
    left: -25px;
    font-size: 12px;
  }

  .symbol-plus {
    width: 50px;
    height: 50px;
    top: 96px;
    left: -24px;
    font-size: 41px;
  }

  .symbol-pi {
    top: 70px;
    right: -17px;
    font-size: 58px;
  }

  .symbol-root {
    top: 225px;
    left: -28px;
    font-size: 53px;
  }

  .symbol-equals {
    right: -19px;
    bottom: 120px;
    font-size: 47px;
  }

  .mini-card {
    min-width: 105px;
    padding: 10px;
  }

  .mini-card--top {
    top: 150px;
    right: -37px;
  }

  .mini-card--bottom {
    left: -35px;
  }

  .mini-card b { font-size: 16px; }
  .mini-card span { font-size: 8px; }

  .energy-strip > div {
    justify-content: flex-start;
    padding-left: 20px;
    font-size: 14px;
  }

  .section-heading h2,
  .meet-copy h2 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .section-heading p {
    font-size: 15px;
  }

  .method-card {
    min-height: 0;
    padding: 25px 22px;
    grid-template-columns: 68px 1fr;
    gap: 18px;
  }

  .method-letter {
    width: 65px;
    height: 82px;
    font-size: 46px;
  }

  .method-card h3 {
    font-size: 23px;
  }

  .method-card p {
    font-size: 13px;
  }

  .why-intro {
    margin-bottom: 40px;
  }

  .reassurance-card {
    box-shadow: 5px 6px 0 var(--yellow);
  }

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

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

  .promo-section {
    gap: 65px;
  }

  .promo-copy h2 {
    font-size: clamp(53px, 16vw, 78px);
  }

  .promo-copy > p {
    font-size: 15px;
  }

  .formula-note {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .poster-wrap {
    width: min(86%, 350px);
    box-shadow: 12px 14px 0 var(--green-dark);
  }

  .video-card {
    min-height: 340px;
  }

  .meet-section {
    gap: 75px;
  }

  .meet-photo {
    width: min(82%, 400px);
  }

  .graduate-badge {
    right: -30px;
    bottom: 30px;
  }

  .meet-doodle {
    top: 16px;
    left: -35px;
    font-size: 12px;
  }

  .meet-copy blockquote {
    padding: 17px 18px;
  }

  .meet-copy > p:not(.meet-signoff) {
    font-size: 15px;
  }

  .final-cta {
    padding: 85px 20px;
  }

  .final-cta h2 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .final-cta p {
    font-size: 16px;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-actions .button {
    width: 100%;
  }

  .cta-symbol {
    font-size: 65px;
  }

  .site-footer {
    padding: 48px 22px 25px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-left: 10px;
  }

  .hero-visual {
    width: 82%;
  }

  .portrait-stage {
    height: 410px;
  }

  .speech-bubble {
    left: -19px;
  }

  .mini-card--top {
    right: -31px;
  }

  .mini-card--bottom {
    left: -30px;
  }

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

  .method-letter {
    width: 60px;
    height: 65px;
    font-size: 40px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
