.public-site {
  --chalk: "Chalkboard SE", "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  --board: #201233;
  --lavender: #e6d7ff;
  --lime: #e8f6b6;
  background: #fbf9ff;
}
.public-header { background: #1a1029; color: #fcf9ff; border-color: #ffffff22; }
.public-header .header-inner { width: min(1312px, calc(100% - 56px)); }
.public-header .main-nav { gap: clamp(10px, 1.7vw, 27px); }
.public-header .main-nav a { color: #e4d8f2; white-space: nowrap; }
.public-header .main-nav a:is(:hover, [aria-current="page"]) { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.public-header .button-plain { color: #fff; }
.public-header .button-plain:hover { background: #352246; }

.academic-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--board);
  color: #fff;
}
.chalk-field, .chalk-field::before, .chalk-field::after { position: absolute; inset: 0; pointer-events: none; }
.chalk-field { z-index: -1; overflow: hidden; }
.chalk-field::before {
  content: "";
  background: radial-gradient(ellipse at 20% 20%, #713bd7 0, transparent 53%),
    radial-gradient(ellipse at 80% 68%, #a83294 0, transparent 46%),
    radial-gradient(ellipse at 73% 0%, #4b45a6 0, transparent 52%);
  transform: scale(1.26);
  animation: board-glow 12s ease-in-out infinite alternate;
}
.chalk-field::after {
  content: "";
  z-index: -1;
  background: repeating-linear-gradient(0deg, #f0d9ff14 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #f0d9ff10 0 1px, transparent 1px 34px);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 96%);
}
/* Both layers use the same logo. The tail rotates behind the cat at its base. */
.hero-cat {
  position: absolute;
  width: clamp(250px, 33vw, 475px);
  aspect-ratio: 1;
  left: max(-80px, calc((100vw - 1750px) * .15));
  bottom: -5%;
  opacity: .32;
}
.hero-cat img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-cat-body {
  clip-path: polygon(30% 29%, 29.7% 26%, 30% 21%, 31% 17%, 32% 14.4%,
    33.3% 13.4%, 35% 13.5%, 37.5% 14.7%, 40% 16.9%, 42% 19.4%, 43.4% 22%,
    46% 21.4%, 49% 21.1%, 52% 21.3%, 54.4% 22%, 56% 19.8%, 58% 17.6%,
    60.1% 15.7%, 62.7% 14%, 64% 13.3%, 65% 13.5%, 66% 14.5%, 67% 17.2%,
    68% 22%, 68% 25.5%, 67.3% 29.4%, 69% 31.5%, 70.5% 34.4%, 71.5% 38%,
    71.6% 42%, 71% 45.6%, 69.3% 49%, 67% 51.2%, 64.5% 53.1%, 66.4% 56%,
    67.8% 59.7%, 68.5% 63%, 69% 65.5%, 70.7% 67.5%, 72% 70.3%, 72.8% 73.4%,
    72.9% 76.5%, 72.1% 80.1%, 70.6% 83.3%, 68.4% 85.5%, 65% 87.3%,
    62% 88%, 59% 87.8%, 58.3% 88.4%, 57% 89%, 55% 88.8%, 54.5% 86%,
    54.1% 88.7%, 52.2% 89%, 50.2% 88.6%, 49.2% 87.2%, 48.5% 76%,
    48% 87%, 46.7% 88.7%, 44.6% 89%, 42.9% 88.6%, 42.8% 86%, 41.8% 88.6%,
    40.1% 88.7%, 38.5% 87.7%, 36% 87.9%, 33.4% 87.7%, 30% 86.6%,
    27.5% 85%, 25.5% 82.7%, 24.3% 79.5%, 23.6% 76%, 23.7% 72.6%,
    24.7% 69.4%, 26.1% 67.2%, 27.8% 65.5%, 28.4% 62%, 29.6% 58.7%,
    31% 55.7%, 32.5% 53.1%, 30.2% 51.5%, 28% 49%, 26.6% 46.2%,
    25.8% 42.9%, 25.8% 39%, 26.5% 36%, 28% 32.8%);
}
.hero-cat-tail {
  clip-path: polygon(67.1% 84.4%, 71% 80.5%, 73.1% 77.2%, 74.2% 74.7%,
    74.5% 71.8%, 74.4% 69.1%, 73.7% 66.2%, 72.5% 63.2%, 71.5% 60.1%,
    71% 57.4%, 71.2% 54.8%, 72.3% 52%, 74.1% 49.7%, 76% 48.3%,
    78.3% 47.4%, 80% 47.2%, 81.7% 47.6%, 83% 48.3%, 83.8% 49.5%,
    84.2% 51%, 83.9% 52.8%, 83.1% 54%, 81.4% 54.6%, 79.9% 55.3%,
    78.7% 56.5%, 78.1% 58.3%, 78% 60.4%, 78.4% 62.8%, 79.2% 65.6%,
    79.8% 68.8%, 80.1% 72%, 79.7% 75%, 78.9% 77.9%, 77.6% 80.5%,
    75.6% 82.5%, 73.3% 84%, 70% 85.2%, 67.5% 85.6%);
  transform-origin: 69% 84%;
  animation: tail-sway 3.8s ease-in-out infinite alternate;
}
@keyframes tail-sway { from { rotate: -7deg; } to { rotate: 11deg; } }
.chalk-cap, .chalk-mark {
  position: absolute;
  color: #f5e8ff;
  opacity: .44;
  left: var(--left);
  top: var(--top);
  animation: chalk-float var(--period, 5s) ease-in-out var(--delay, 0s) infinite alternate;
}
.chalk-mark { font: 700 clamp(29px, 5.5vw, 92px)/1 var(--chalk); }
.chalk-cap {
  width: clamp(56px, 8.5vw, 124px);
  aspect-ratio: 1.16;
  background: currentColor;
  mask-image: repeating-linear-gradient(13deg, #000 0 2px, #000a 2px 3px);
  clip-path: polygon(0 28%, 50% 0, 100% 28%, 89% 34%, 89% 66%, 93% 78%, 83% 78%, 86% 65%, 86% 36%, 50% 57%, 0 28%, 25% 48%, 50% 63%, 75% 48%, 75% 68%, 63% 78%, 50% 84%, 37% 78%, 25% 68%, 25% 48%);
}
.cap-one { --left: 7%; --top: 18%; --angle: -18deg; --period: 6s; }
.cap-two { --left: 85%; --top: 18%; --angle: 24deg; --period: 7s; --delay: -3s; }
.cap-three { --left: 18%; --top: 63%; --angle: -32deg; --period: 7s; --delay: -4s; width: 73px; }
.cap-four { --left: 91%; --top: 70%; --angle: -13deg; --period: 5s; width: 70px; }
.cap-five { --left: 4%; --top: 77%; --angle: 15deg; --period: 8s; --delay: -2s; width: 58px; }
.mark-one { --left: 13%; --top: 39%; --angle: -12deg; --delay: -3s; color: var(--lime); }
.mark-two { --left: 77%; --top: 8%; --angle: 12deg; --delay: -2s; }
.mark-three { --left: 82%; --top: 51%; --angle: 17deg; --period: 7s; color: var(--lime); }
.mark-four { --left: 27%; --top: 11%; --angle: -6deg; --delay: -3s; font-size: 30px; }
@keyframes board-glow {
  0% { transform: translate(-7%, -4%) scale(1.28); opacity: .63; }
  100% { transform: translate(9%, 7%) scale(1.42); opacity: .85; }
}
@keyframes chalk-float {
  0% { transform: translate(-7px, 13px) rotate(var(--angle)); }
  100% { transform: translate(13px, -23px) rotate(calc(var(--angle) + 16deg)); }
}
.academic-copy {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  margin-block: clamp(42px, 6vw, 85px) 58px;
  text-align: center;
}
.hero-kicker, .public-kicker { font-weight: 720; letter-spacing: .07em; text-transform: uppercase; font-size: .855rem; }
.hero-kicker { color: #f0e3ff; }
.academic-copy h1 {
  margin: 16px auto 0;
  font-size: clamp(2.65rem, 7.15vw, 6.5rem);
  font-weight: 820;
  letter-spacing: -.062em;
  line-height: .99;
  text-wrap: balance;
  text-shadow: 0 2px 24px #160b32a0;
}
.academic-copy h1 em { color: var(--lime); font-style: normal; }
.academic-description {
  margin: 22px auto 0;
  max-width: 55ch;
  font-size: clamp(1.02rem, 2.2vw, 1.27rem);
  color: #fbf6ff;
  line-height: 1.56;
  text-wrap: pretty;
}
.academic-actions { display: flex; flex-direction: column; align-items: center; gap: 17px; margin-top: 27px; }
.academic-cta {
  min-height: 65px;
  min-width: min(250px, 100%);
  border-radius: 14px;
  padding-inline: clamp(24px, 4vw, 44px);
  font-size: 1.3rem;
  background: linear-gradient(135deg, #7c35ee, #5e2bca);
  border-color: #c3a2ff;
  box-shadow: 0 5px 0 #3e187f, 0 15px 35px #10021c99;
}
.academic-cta:hover { background: linear-gradient(135deg, #8a45fa, #6633d5); }
.hero-availability { margin: 12px 0 0; color: #eaddfa; font-size: .92rem; }
.chalk-goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vw, 39px);
  list-style: none;
  margin: clamp(29px, 5vw, 54px) auto 0;
  padding: 0;
}
.chalk-goals li {
  display: grid;
  place-items: center;
  width: clamp(37px, 6vw, 67px);
  aspect-ratio: 1;
  color: var(--lavender);
  font: 700 clamp(21px, 4vw, 42px)/1 var(--chalk);
  rotate: -7deg;
  animation: goal-drift 3.7s ease-in-out infinite alternate;
  text-shadow: 1px 2px 4px #24103a;
}
.chalk-goals li:nth-child(even) { color: var(--lime); rotate: 7deg; animation-delay: -2.7s; }
.chalk-goals li:nth-child(3n) { animation-delay: -1.5s; }
.goal-chart {
  width: .78em;
  height: .7em;
  background: currentColor;
  clip-path: polygon(0 100%, 0 60%, 20% 60%, 20% 100%, 40% 100%, 40% 35%, 61% 35%, 61% 100%, 80% 100%, 80% 0, 100% 0, 100% 100%);
}
.goal-book { width: .79em; height: .72em; border: .08em solid; border-radius: .1em; background: linear-gradient(90deg, transparent 43%, currentColor 43% 57%, transparent 57%); }
.goal-cap {
  width: .97em;
  height: .73em;
  background: currentColor;
  clip-path: polygon(0 32%, 50% 0, 100% 32%, 93% 38%, 93% 76%, 84% 76%, 84% 44%, 50% 65%, 0 32%, 23% 53%, 50% 71%, 77% 53%, 77% 78%, 65% 92%, 50% 100%, 35% 92%, 23% 78%, 23% 53%);
}
@keyframes goal-drift { from { translate: 0 3px; } to { translate: 0 -4px; } }
.motion-toggle {
  position: absolute;
  right: 18px;
  bottom: 13px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #eadcf7;
  font-size: .875rem;
  cursor: pointer;
}
.motion-toggle input { accent-color: #b58bff; }
.academic-hero:has(.motion-toggle input:checked) :is(.chalk-cap, .chalk-mark, .chalk-goals li, .hero-cat-tail),
.academic-hero:has(.motion-toggle input:checked) .chalk-field::before { animation-play-state: paused; }

.offer-band { background: var(--lime); color: #263019; }
.offer-inner { padding-block: 24px; }
.offer-inner h2 { margin-top: 5px; font-size: clamp(2rem, 5.45vw, 4.3rem); line-height: 1.05; letter-spacing: -.04em; }
.offer-inner sup { margin-left: 3px; font-size: .48em; }
.offer-inner sup a { text-decoration: underline; }
.offer-footnote { margin-top: 11px; line-height: 1.5; }
.offer-footnote small { font-size: .75rem; }
.home-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px 60px; padding-block: clamp(42px, 7vw, 80px); }
.home-story h2 { margin-top: 7px; font-size: clamp(1.95rem, 4.4vw, 3.5rem); line-height: 1.09; letter-spacing: -.05em; }
.home-story > div:last-child p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; }
.metrics-section { padding-block: 38px 49px; border-top: 1px solid var(--line); background: #f0e8fb; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.metrics-grid div { min-height: 145px; padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.metrics-grid dt { font-weight: 720; }
.metrics-grid dd { margin: 7px 0 0; color: var(--muted); }
.public-footer { background: var(--paper); }
.public-kicker { color: var(--purple-dark); }
.offer-inner .public-kicker { color: #3b4c26; }

.public-intro { padding-block: clamp(42px, 7vw, 86px) 28px; }
.public-intro h1 { max-width: 17ch; text-wrap: balance; margin-top: 12px; font-size: clamp(2.55rem, 6.8vw, 5.65rem); letter-spacing: -.061em; line-height: 1; }
.public-intro > p:last-child, .public-content p { max-width: 68ch; color: var(--muted); line-height: 1.65; }
.public-intro > p:last-child { margin-top: 16px; font-size: 1.13rem; }
.public-content { padding-block: 13px 62px; }
.public-content > p, .public-content > .button { margin-top: 20px; }
.pricing-intro { text-align: center; padding-bottom: 36px; }
.pricing-intro :is(h1, p) { margin-inline: auto; }
.pricing-plans .plan-grid { max-width: 1140px; margin-inline: auto; gap: clamp(12px, 1.8vw, 24px); }
.pricing-plans .plan-card {
  min-height: 445px;
  grid-template-rows: auto auto minmax(3.7em, auto) auto 1fr;
  gap: 12px;
  padding: clamp(19px, 2.65vw, 33px);
  border-radius: 18px;
  background: linear-gradient(155deg, #fff 12%, #f3ebff 100%);
}
.pricing-plans .plan-card-featured {
  border-color: #ac84ee;
  background: linear-gradient(155deg, #f6edff 6%, #ead9ff 100%);
  --surface-edge: #c3a8eb;
}
.pricing-plans .plan-title { font-size: clamp(1.18rem, 2vw, 1.84rem); line-height: 1.2; }
.pricing-plans .plan-price { margin: 0; color: var(--purple-dark); line-height: 1; }
.pricing-plans .plan-price strong { font-size: clamp(2.3rem, 4.7vw, 3.75rem); }
.pricing-plans .plan-description { margin: 0; font-size: 1rem; line-height: 1.48; }
.pricing-plans .plan-action { width: 100%; gap: 9px; min-height: 46px; padding-inline: 9px; white-space: normal; }
.plan-features { list-style: none; display: grid; align-content: start; gap: 11px; padding: 17px 0 0; margin: 3px 0 0; border-top: 1px solid #d9c6ed; color: #443656; font-size: .93rem; line-height: 1.42; }
.plan-features li { position: relative; padding-left: 20px; }
.plan-features li::before { content: ""; position: absolute; top: .35em; left: 2px; width: 9px; height: 5px; border: solid #6c35bd; border-width: 0 0 2px 2px; rotate: -45deg; }
.extension-intro { text-align: center; padding-bottom: 56px; }
.extension-intro h1, .extension-intro p { margin-inline: auto; }
.extension-intro > p { margin-top: 15px; }
.extension-download { margin-top: 24px; min-height: 66px; padding-inline: clamp(12px, 4vw, 38px); border-radius: 14px; font-size: clamp(1.06rem, 2.7vw, 1.3rem); white-space: normal; }
.extension-setup > h2 { margin-bottom: 17px; }
.study-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step-tile, .study-note {
  padding: clamp(18px, 2.6vw, 29px);
  background: linear-gradient(150deg, #fff 15%, #f4edff);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.step-tile { min-height: clamp(240px, 27vw, 330px); height: 100%; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; margin-bottom: 21px; color: var(--purple-dark); background: #e9d9ff; font-weight: 800; }
.study-steps :is(h2, h3), .study-note h2 { font-size: 1.4rem; margin-bottom: 9px; letter-spacing: -.024em; }
.study-note { max-width: 740px; background: #f2e9fd; }
.study-note ol { margin: 0; padding-left: 1.3em; }
.study-note li { line-height: 1.55; }
.study-note li + li { margin-top: 11px; }
.founder-story { display: grid; gap: 18px 34px; grid-template-columns: minmax(0, 700px) minmax(210px, 1fr); align-items: start; }
.founder-story p { margin-top: 10px; }
.founder-card a { display: inline-block; margin-top: 11px; }
.founder-card { min-height: 215px; }

@media (max-width: 1060px) {
  .public-header .header-inner { flex-wrap: wrap; padding-block: 9px; row-gap: 5px; }
  .public-header .account-actions { margin-left: auto; }
  .public-header .main-nav { order: 3; display: flex; flex-basis: 100%; flex-wrap: wrap; padding: 5px 0; gap: 6px 16px; }
}
@media (max-width: 720px) {
  .public-header .header-inner { width: calc(100% - 26px); }
  .public-header .main-nav a { font-size: .875rem; }
  .public-header .account-actions { gap: 4px; }
  .public-header .account-actions .button { padding-inline: 8px; font-size: .83rem; }
  .academic-copy { margin-top: 38px; margin-bottom: 53px; }
  .chalk-cap, .chalk-mark { opacity: .22; }
  .hero-cat { left: -100px; bottom: 0; opacity: .22; }
  .pricing-plans .plan-grid:not([hidden]) { grid-template-columns: 1fr; }
  .pricing-plans .plan-card { min-height: 0; grid-template-rows: auto; }
  .home-story, .study-steps, .founder-story { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .chalk-cap, .chalk-mark, .chalk-field::before, .chalk-goals li, .hero-cat-tail { animation: none; }
  .motion-toggle { display: none; }
}
