@font-face {
  font-family: Manrope;
  src: url('assets/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: #171a20;
  background: #fff;
  font: 18px/1.65 Manrope,system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,input {
  font: inherit;
}

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

a {
  color: #1248d8;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

button,a,summary {
  touch-action: manipulation;
}

button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #1248d8;
  outline-offset: 5px;
}

button {
  color: inherit;
}

img,svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #dce6ff;
}

.container {
  max-width: 1220px;
  padding-inline: 32px;
  margin-inline: auto;
}

h1,h2,h3,p,figure {
  margin: 0;
}

p+p {
  margin-top: 20px;
}

h1,h2,h3 {
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.13;
}

h1 {
  font-size: clamp(44px,5.2vw,72px);
  line-height: 1.06;
  letter-spacing: -.052em;
}

h2 {
  font-size: clamp(32px,3.25vw,44px);
}

h3 {
  font-size: 25px;
  line-height: 1.3;
}

small,.small {
  font-size: 14px;
  line-height: 1.65;
}

.muted {
  color: #4a515d;
}

.eyebrow {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #1248d8;
}

.eyebrow-separator {
  margin-inline: 10px;
  color: #8a91a0;
}

.eyebrow span:not(.eyebrow-separator) {
  letter-spacing: .04em;
  color: #4a515d;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #dde1e8;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: #171a20;
  flex-shrink: 0;
}

.brand-mark {
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.12em;
  border: 1px solid #dde1e8;
  padding: 9px 9px 14px 7px;
  border-radius: 10px;
}

.brand-mark>span {
  color: #1248d8;
}

.brand strong {
  font-size: 18px;
  line-height: 1.3;
  display: block;
  letter-spacing: -.035em;
}

.brand small {
  color: #4a515d;
  display: block;
}

.header nav {
  display: flex;
}

.header nav a {
  font-weight: 650;
  color: #4a515d;
  text-decoration: none;
}

.header nav a:hover {
  color: #1248d8;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  transition: background-color .15s,box-shadow .15s;
}

.button:hover {
  text-decoration: none;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  flex-shrink: 0;
}

.primary {
  background: #1248d8;
  color: white;
}

.primary:hover {
  background: #0c39b4;
  box-shadow: 0 4px 15px #1248d820;
}

.button .arrow {
  font-size: 22px;
  font-weight: 500;
  margin-left: 7px;
}

.header-cta {
  font-size: 14px;
  padding: 12px 16px;
  min-height: 48px;
}

.header-cta .arrow {
  display: none;
}

.header-cta svg {
  width: 19px;
  height: 19px;
}

.secondary {
  border-color: #aab3c2;
  background: #fff;
  color: #171a20;
}

.secondary:hover {
  border-color: #1248d8;
  color: #1248d8;
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 14px;
}

.skip:focus {
  top: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
  align-items: center;
}

.hero h1 {
  margin-top: 23px;
}

.hero h1>span {
  color: #1248d8;
}

.hero-service {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
  margin-top: 24px;
}

.hero-copy {
  color: #4a515d;
  max-width: 575px;
  font-size: 17px;
  margin-top: 15px;
}

.hero-contact {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.contact-hint {
  line-height: 1.65;
  color: #4a515d;
}

.hero-email {
  margin-top: 16px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.hero-email>span {
  color: #4a515d;
}

.hero-email>a {
  font-weight: 600;
}

.hero-note {
  border: 1px solid #dde1e8;
  border-radius: 12px;
  align-self: center;
  margin-top: 18px;
  overflow: hidden;
}

.note-top {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #dde1e8;
  font-size: 12px;
  color: #4a515d;
}

.note-content h2 {
  line-height: 1.12;
}

.note-equation {
  background: white;
  padding: 20px 7px;
  border: 1px solid #dde1e8;
  border-radius: 6px;
  font-size: 18px;
  overflow: auto;
}

.note-content>p:not(.eyebrow) {
  font-size: 16px;
  margin-top: 25px;
  color: #4a515d;
}

.note-particular {
  border-left: 2px solid #1248d8;
  margin-top: 18px;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.note-particular>span {
  font-size: 13px;
  color: #4a515d;
  line-height: 1.6;
}

.hero-note>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 24px;
  border-top: 1px solid #dde1e8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero-proof {
  grid-column: 1/-1;
  display: grid;
  border-top: 1px solid #dde1e8;
  border-bottom: 1px solid #dde1e8;
  padding-block: 24px;
}

.hero-proof>div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-inline: 32px;
  border-left: 1px solid #dde1e8;
}

.hero-proof>div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof>div>strong {
  font-size: 35px;
  letter-spacing: -.05em;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
}

.hero-proof strong>span {
  font-weight: 600;
}

.hero-proof>div>span,.hero-proof a {
  line-height: 1.45;
}

.hero-proof>div>span {
  color: #4a515d;
}

.opening-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 36px;
  padding-bottom: 20px;
}

.review {
  border-top: 1px solid #dde1e8;
  min-width: 0;
}

.review blockquote {
  margin: 0 0 22px;
  font-weight: 500;
  letter-spacing: -.015em;
}

.review figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  line-height: 1.45;
}

.review figcaption strong {
  font-weight: 750;
}

.review-subject {
  display: block;
  color: #4a515d;
  margin-top: 4px;
  font-size: 13px;
}

.review figcaption>a {
  font-size: 12px;
  flex-shrink: 0;
}

.excerpt {
  color: #4a515d;
  font-size: 12px;
  margin-top: 11px !important;
}

.teaser {
  border: 0;
  padding: 0;
}

.teaser blockquote {
  color: #4a515d;
  font-weight: 500;
  margin-bottom: 14px;
}

.teaser figcaption {
  font-size: 13px;
}

.teaser .review-subject {
  display: inline;
  margin-left: 8px;
  font-size: 12px;
}

.teaser .excerpt {
  font-size: 11px;
}

.section-heading {
  margin-bottom: 38px;
  max-width: 780px;
}

.section-heading h2 {
  margin-top: 16px;
}

.section-heading>p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 690px;
  color: #4a515d;
}

.section-heading>a {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 650;
}

.subjects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
}

.subject {
  display: flex;
  gap: 20px;
  border-top: 1px solid #dde1e8;
  padding: 29px 0 32px;
  min-width: 0;
}

.subject-index {
  font-size: 14px;
  color: #1248d8;
  line-height: 34px;
  font-weight: 650;
}

.subject>div {
  min-width: 0;
}

.subject h3 {
  font-size: 23px;
  letter-spacing: -.035em;
}

.subject p {
  line-height: 1.7;
  color: #4a515d;
}

.subject p strong {
  font-weight: 650;
  color: #171a20;
}

.topics {
  margin-top: 10px;
}

.topics summary {
  color: #1248d8;
  min-height: 44px;
  justify-content: flex-start;
  gap: 15px;
}

.topics p {
  font-size: 15px;
  margin-top: 8px !important;
}

.cross-subject {
  border-top: 1px solid #dde1e8;
  padding-top: 26px;
  color: #4a515d;
}

.cross-subject+p {
  font-size: 16px;
}

.inline-link {
  font-weight: 650;
}

.method {
  border-top: 1px solid #dde1e8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 65px;
}

.method .section-heading {
  margin: 0;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 23px;
  padding: 18px 0;
  border-bottom: 1px solid #dde1e8;
}

.steps li:first-child {
  padding-top: 0;
}

.steps span {
  font-size: 13px;
  line-height: 29px;
  color: #1248d8;
  font-weight: 700;
}

.steps p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 480px;
}

.examples {
  border-block: 1px solid #dde1e8;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid #c6ceda;
  padding-bottom: 6px;
}

.tabs button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-weight: 650;
}

.tabs button[aria-selected=true] {
  color: #1248d8;
  background: white;
  box-shadow: inset 0 -3px #1248d8;
}

.tabs button:hover {
  background: #e8edf9;
}

.case-panel {
  padding-top: 28px;
}

.case-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.case-switch button {
  border: 1px solid #bbc5d6;
  border-radius: 6px;
  padding: 10px 18px;
  min-height: 46px;
  font-size: 14px;
  background: transparent;
}

.case-switch button[aria-pressed=true] {
  background: #171a20;
  color: #fff;
  border-color: #171a20;
}

.case-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding: 22px 0 30px;
  align-items: center;
}

.case-intro h3 {
  font-size: 29px;
  margin-top: 15px;
  max-width: 560px;
}

.case-intro p:not(.eyebrow) {
  font-size: 17px;
  color: #4a515d;
  margin-top: 20px;
}

.case-intro .eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
}

.case-preview-formula {
  background: white;
  border: 1px solid #dde1e8;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  min-width: 0;
  overflow: auto;
  font-size: 20px;
}

.case-preview-formula>span {
  display: block;
  font-size: 12px;
  color: #4a515d;
  margin-top: 20px;
  line-height: 1.5;
}

.case-preview-formula math {
  max-width: 100%;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-weight: 650;
  min-height: 52px;
}

summary::-webkit-details-marker {
  display: none;
}

.details-icon {
  font-size: 25px;
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
}

details[open]>summary .details-icon {
  transform: rotate(45deg);
}

.solution>summary {
  width: fit-content;
  border: 1px solid #aab3c2;
  background: white;
  border-radius: 8px;
  padding: 12px 19px;
  font-size: 15px;
}

.solution>summary:hover {
  border-color: #1248d8;
  color: #1248d8;
}

.when-open,details[open]>summary .when-closed {
  display: none;
}

details[open]>summary .when-open {
  display: inline;
}

.solution-body {
  max-width: 860px;
  margin: 32px auto 0;
  background: white;
  padding: 40px 48px;
  border: 1px solid #dde1e8;
  border-radius: 10px;
}

.solution-body h3 {
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 18px;
}

.solution-body p {
  font-size: 17px;
  line-height: 1.8;
}

.solution-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  margin: 22px 0;
  table-layout: fixed;
  overflow-wrap: anywhere;
}

.solution-body td,.solution-body th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #dde1e8;
  vertical-align: top;
}

.solution-body th {
  background: #f5f6f8;
  font-weight: 700;
}

.solution-body td math {
  font-size: 1em;
}

.equation {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 17px 8px;
  margin-block: 14px;
  border-left: 2px solid #cbd9ff;
  font-size: 18px;
  max-width: 100%;
  scrollbar-width: thin;
}

.equation math {
  margin: 0 auto;
  width: max-content;
}

.inline-math math {
  font-size: 1.08em;
}

math {
  font-family: 'STIX Two Math','Cambria Math',math;
}

math[display=block] {
  margin-block: 0;
}

.diagram {
  margin: 0 0 28px;
  background: #fff;
}

.diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram figcaption {
  font-size: 13px;
  color: #4a515d;
  line-height: 1.65;
  margin-top: 12px;
}

.source-note {
  font-size: 13px !important;
  color: #4a515d;
  border-top: 1px solid #dde1e8;
  padding-top: 24px;
  margin-top: 32px;
}

.case-end {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.case-end .button {
  font-size: 14px;
}

.text-button {
  font-size: 14px;
  border: 0;
  background: transparent;
  color: #1248d8;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
  min-height: 44px;
}

.text-button:hover {
  text-decoration-thickness: 2px;
}

.materials {
  grid-template-columns: 1fr 2fr;
  gap: 65px;
}

.materials h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.materials h2>span {
  color: #4a515d;
}

.materials>div>p {
  max-width: 700px;
  color: #4a515d;
}

.reviews-section {
  padding-top: 35px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.reviews-section .secondary {
  margin-top: 25px;
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 36px;
  align-items: start;
  border-top: 1px solid #dde1e8;
  padding: 29px 0;
}

.offer-row h3 {
  font-size: 22px;
}

.offer-row p {
  font-size: 16px;
  color: #4a515d;
}

.offer-row>a {
  text-align: right;
  font-size: 15px;
  font-weight: 650;
  min-height: 44px;
}

.offer-price {
  font-size: 29px;
  letter-spacing: -.035em;
  text-align: right;
  color: #1248d8;
}

.bio {
  border-block: 1px solid #dde1e8;
}

.bio-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 100px;
}

.bio-heading h2 {
  font-size: 58px;
  line-height: 1.05;
  margin: 20px 0;
}

.bio-heading h2>span {
  color: #1248d8;
}

.bio-heading>p:not(.eyebrow) {
  color: #4a515d;
  font-size: 18px;
}

.bio-fact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.bio-fact strong {
  color: #1248d8;
}

.bio-fact span {
  font-size: 13px;
  line-height: 1.5;
  color: #4a515d;
}

.bio-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a515d;
}

.bio-text .bio-lead {
  font-size: 21px;
  color: #171a20;
  line-height: 1.7;
}

.bio-text>a {
  display: inline-block;
  margin-top: 13px;
}

.bio-text>a+p {
  margin-top: 25px;
}

.faq {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 65px;
}

.faq details {
  border-top: 1px solid #dde1e8;
  padding-block: 17px;
}

.faq details:last-child {
  border-bottom: 1px solid #dde1e8;
}

.faq summary {
  font-size: 17px;
  line-height: 1.6;
}

.faq details p {
  color: #4a515d;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 14px;
  padding-right: 30px;
}

.final-cta {
  background: #1248d8;
  color: white;
}

.final-cta .eyebrow {
  color: #e1e8ff;
}

.final-cta h2 {
  margin-top: 22px;
  line-height: 1.08;
}

.final-cta p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: #e1e8ff;
}

.final-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
}

.final-cta .primary {
  background: white;
  color: #1248d8;
}

.final-cta .primary:hover {
  background: #e9efff;
}

.final-cta a,.final-cta button {
  color: white;
}

.final-cta a:focus-visible,.final-cta button:focus-visible {
  outline-color: white;
}

.phone {
  font-size: 20px;
  font-weight: 650;
}

.final-email {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 17px;
  flex-wrap: wrap;
}

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

footer {
  padding-top: 50px;
  padding-bottom: 30px;
}

footer a {
  font-size: 14px;
}

footer p {
  font-size: 14px;
  line-height: 1.9;
  color: #4a515d;
  margin-top: 12px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-name {
  font-size: 23px;
  font-weight: 750;
  color: #171a20;
  text-decoration: none;
  letter-spacing: -.04em;
}

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid #dde1e8;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-bottom>span {
  font-size: 12px;
  color: #4a515d;
}

.footer-bottom>div {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-bottom a,.footer-bottom button {
  font-size: 12px;
}

.privacy-note {
  border-top: 1px solid #dde1e8;
  margin-top: 20px;
  padding-top: 25px;
  max-width: 740px;
}

.privacy-note h2 {
  font-size: 23px;
}

.mobile-contact {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 30;
  background: #fff;
  border-top: 1px solid #dde1e8;
  padding: 12px 20px max(12px,env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 20px #171a2008;
}

.mobile-contact>span {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 750;
}

.mobile-contact small {
  display: block;
  font-size: 11px;
  color: #4a515d;
  font-weight: 500;
}

.mobile-contact .button {
  min-height: 48px;
  padding: 10px 20px;
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

#toggle-reviews,.tabs,.case-switch {
  display: none;
}

html.js #toggle-reviews {
  display: inline-flex;
}

html.js .case-switch {
  display: flex;
}

html:not(.js) .case {
  margin-bottom: 50px;
}

html:not(.js) .privacy-note[hidden] {
  display: block !important;
}

@media (min-width:1600px) {
  .container {
    max-width: 1250px;
  }
  .hero {
    padding-top: 80px;
  }
}

@media (max-width:1080px) {
  .header nav {
    gap: 15px;
  }
  .header nav a {
    font-size: 13px;
  }
  .brand-mark {
    display: none;
  }
  .hero {
    gap: 0 35px;
  }
  .hero-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .contact-hint br {
    display: none;
  }
  .hero-proof>div {
    padding-inline: 20px;
    gap: 12px;
  }
  .hero-proof>div>strong {
    font-size: 30px;
  }
  .bio-grid {
    gap: 60px;
  }
  .header-cta {
    font-size: 13px;
  }
  .case-intro {
    gap: 25px;
  }
  .offer-row {
    grid-template-columns: 1fr 1.6fr 1fr;
  }
}

@media (max-width:800px) {
  .container {
    padding-inline: 24px;
  }
  .header-inner {
    min-height: 76px;
  }
  .header nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 42px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .desktop-break {
    display: none;
  }
  .hero-service {
    max-width: 650px;
  }
  .hero-copy {
    max-width: 660px;
  }
  .hero-contact {
    flex-direction: row;
    align-items: center;
  }
  .contact-hint {
    max-width: 260px;
  }
  .hero-proof {
    margin-top: 30px;
  }
  .hero-proof>div {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .opening-reviews {
    gap: 32px;
  }
  .subjects {
    column-gap: 32px;
  }
  .subject {
    gap: 12px;
  }
  .method {
    gap: 35px;
  }
  .case-intro {
    grid-template-columns: 1fr;
  }
  .case-preview-formula {
    max-width: 100%;
    padding: 23px;
  }
  .solution-body {
    padding: 28px;
  }
  .materials {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reviews-grid {
    gap: 0 36px;
  }
  .review figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .teaser figcaption {
    flex-direction: row;
  }
  .offer-row {
    grid-template-columns: 1fr 1.5fr;
  }
  .offer-row>a,.offer-price {
    grid-column: 2;
    text-align: left;
  }
  .offer-row>a {
    margin-top: -20px;
  }
  .offer-price {
    grid-row: 1;
    grid-column: 1;
    margin-top: 42px;
    font-size: 25px;
  }
  .bio-grid {
    grid-template-columns: .8fr 1.5fr;
    gap: 40px;
  }
  .bio-heading h2 {
    font-size: 43px;
  }
  .bio-lead {
    font-size: 19px !important;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .faq .section-heading {
    margin-bottom: 12px;
  }
  .section {
    padding-block: 65px;
  }
}

@media (max-width:560px) {
  html {
    scroll-padding-top: 85px;
  }
  body {
    font-size: 17px;
  }
  .container {
    padding-inline: 20px;
  }
  .header-inner {
    min-height: 72px;
    gap: 10px;
  }
  .brand strong {
    font-size: 17px;
  }
  .header-cta {
    min-height: 44px;
    padding: 10px 12px;
    gap: 6px;
  }
  .header-cta svg {
    width: 17px;
    height: 17px;
  }
  .hero {
    padding-top: 32px;
  }
  .hero>.hero-main>.eyebrow {
    font-size: 11px;
    letter-spacing: .1em;
  }
  .hero h1 {
    font-size: clamp(36px,10.45vw,48px);
    margin-top: 17px;
    line-height: 1.09;
    letter-spacing: -.055em;
  }
  .hero-service {
    font-size: 17px;
    line-height: 1.55;
    margin-top: 21px;
    font-weight: 600;
  }
  .hero-copy {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 14px;
  }
  .hero-contact {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin-top: 23px;
  }
  .hero-contact .button {
    min-height: 54px;
    font-size: 16px;
  }
  .contact-hint {
    max-width: none;
    line-height: 1.5;
    text-align: center;
  }
  .hero-email {
    justify-content: center;
    gap: 2px 6px;
    margin-top: 13px;
  }
  .hero-proof {
    margin-top: 27px;
    padding-block: 18px;
    grid-template-columns: 1fr 1fr 1.3fr;
  }
  .hero-proof>div {
    padding-inline: 12px;
    gap: 7px;
  }
  .hero-proof>div>strong {
    font-size: 25px;
    letter-spacing: -.045em;
  }
  .hero-proof strong>span {
    font-size: 14px;
  }
  .hero-proof>div>span,.hero-proof a {
    line-height: 1.5;
  }
  .opening-reviews {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 0;
  }
  .teaser blockquote {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .teaser .excerpt {
    margin-top: 7px !important;
  }
  .teaser+.teaser {
    padding-top: 23px;
    border-top: 1px solid #dde1e8;
  }
  .teaser figcaption {
    gap: 10px;
  }
  .section {
    padding-block: 55px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 34px;
    margin-top: 13px;
    letter-spacing: -.05em;
  }
  .section-heading>p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 17px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: .11em;
  }
  .subjects {
    grid-template-columns: 1fr;
  }
  .subject {
    gap: 18px;
    padding: 24px 0;
  }
  .subject h3 {
    font-size: 23px;
  }
  .subject p {
    font-size: 16px;
    margin-top: 11px;
  }
  .cross-subject {
    font-size: 15px;
  }
  .cross-subject+p {
    font-size: 15px;
  }
  .method {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 45px;
  }
  .steps p {
    font-size: 17px;
  }
  .steps li {
    padding-block: 18px;
  }
  .tabs {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    border-bottom: 0;
  }
  .tabs button {
    font-size: 13px;
    padding: 12px 8px;
    line-height: 1.4;
    min-height: 55px;
    border: 1px solid #dde1e8;
  }
  .tabs button[aria-selected=true] {
    border-color: #1248d8;
    box-shadow: inset 0 -2px #1248d8;
  }
  .case-panel {
    padding-top: 22px;
  }
  .case-intro {
    padding-top: 7px;
    gap: 24px;
  }
  .case-intro h3 {
    font-size: 27px;
  }
  .case-intro .eyebrow {
    font-size: 10px;
  }
  .case-intro p:not(.eyebrow) {
    font-size: 16px;
    margin-top: 15px;
  }
  .case-preview-formula {
    font-size: 17px;
    padding: 22px 9px;
  }
  .case-preview-formula>span {
    font-size: 11px;
  }
  .case-switch {
    margin-bottom: 20px;
  }
  .case-switch button {
    flex: 1;
    padding: 10px;
    font-size: 13px;
  }
  .solution>summary {
    width: 100%;
    font-size: 14px;
  }
  .solution-body {
    margin-top: 24px;
    padding: 24px 16px;
    border-radius: 8px;
    margin-inline: -7px;
  }
  .solution-body p {
    font-size: 16px;
    line-height: 1.8;
  }
  .solution-body h3 {
    font-size: 22px;
    margin-top: 28px;
  }
  .solution-body table {
    font-size: 13px;
  }
  .solution-body td,.solution-body th {
    padding: 10px 5px;
  }
  .equation {
    font-size: 17px;
    padding-inline: 8px;
  }
  .diagram {
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .diagram svg {
    min-width: 470px;
    max-width: none;
  }
  .diagram figcaption {
    font-size: 12px;
  }
  .case-end .button {
    width: 100%;
    font-size: 12px;
    padding: 12px;
  }
  .case-end .button svg {
    width: 19px;
  }
  .case-end .button .arrow {
    display: none;
  }
  .materials h2 {
    font-size: 32px;
  }
  .materials p {
    font-size: 16px;
  }
  .materials p.small {
    font-size: 13px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review {
    padding: 25px 0;
  }
  .review blockquote {
    font-size: 17px;
    margin-bottom: 18px;
  }
  .review figcaption {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .review-subject {
    font-size: 12px;
  }
  .review .excerpt {
    font-size: 11px;
  }
  .reviews-section .secondary {
    width: 100%;
    font-size: 14px;
  }
  .offer-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 25px 0;
  }
  .offer-row h3 {
    font-size: 23px;
  }
  .offer-row p {
    font-size: 16px;
  }
  .offer-row>a,.offer-price {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    text-align: left;
  }
  .offer-price {
    font-size: 28px;
  }
  .offer-row:first-of-type p {
    order: 3;
  }
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .bio-heading h2 {
    margin: 16px 0;
  }
  .bio-heading h2 br {
    display: none;
  }
  .bio-heading>p:not(.eyebrow) {
    font-size: 16px;
  }
  .bio-heading>p br {
    display: none;
  }
  .bio-fact {
    max-width: none;
    margin-top: 23px;
    padding-top: 17px;
    gap: 18px;
  }
  .bio-fact strong {
    font-size: 33px;
  }
  .bio-fact span br {
    display: none;
  }
  .bio-text .bio-lead {
    font-size: 19px;
  }
  .bio-text p {
    font-size: 16px;
  }
  .faq summary {
    font-size: 16px;
  }
  .faq details p {
    font-size: 15px;
    padding-right: 5px;
  }
  .final-cta h2 {
    font-size: 39px;
  }
  .final-cta p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.7;
  }
  .final-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
  .final-actions .phone {
    text-align: center;
    font-size: 18px;
  }
  .final-email {
    flex-direction: column;
    gap: 3px;
    align-items: center;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .final-cta p.small {
    text-align: center;
    font-size: 12px;
  }
  .footer-main {
    flex-direction: column;
    gap: 12px;
  }
  footer {
    padding-top: 34px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
  }
  .footer-bottom>div {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .footer-bottom a,.footer-bottom button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .mobile-contact {
    display: flex;
  }
  body.has-mobile-contact {
    padding-bottom: 88px;
  }
  .mobile-contact .arrow {
    display: none;
  }
  .copy-email {
    font-size: 13px;
  }
}

@media print {
  .header,.mobile-contact,.tabs,.case-switch,.button,.text-button,.hero-note {
    display: none !important;
  }
  .case-panel,.case,#more-reviews {
    display: block !important;
  }
  .solution-body {
    padding: 0;
    border: 0;
  }
  .section {
    padding-block: 25px;
  }
  body {
    font-size: 12pt;
  }
  .container {
    padding: 0;
  }
  a {
    color: inherit;
  }
  .diagram svg {
    min-width: 0;
  }
  details:not([open])>.solution-body {
    display: block !important;
  }
}

/* Legibility and adaptive diagram refinements after device review. */

.katex-mathml math {
  font-size: 1.12em;
}

.note-particular math {
  font-size: 1.25em;
}

.diagram-narrow {
  display: none;
}

.hero-email {
  font-size: 14px;
}

.hero-proof>div>span,.hero-proof a {
  font-size: 14px;
}

.review figcaption>a,.review-subject,.excerpt {
  font-size: 14px;
}

.teaser blockquote {
  font-size: 16px;
}

.teaser .excerpt,.teaser figcaption>a,.teaser .review-subject {
  font-size: 13px;
}

.case-preview-formula>span,.diagram figcaption {
  font-size: 14px;
}

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

.header nav a {
  font-size: 14px;
}

.solution-body .equation math {
  font-size: 1.12em;
}

.diagram-wide,.diagram-narrow {
  color: #171a20;
}

@media (max-width:560px) {
  .desktop-break {
    display: initial;
  }
  .contact-hint {
    font-size: 13px;
  }
  .hero-email {
    font-size: 13px;
  }
  .hero-proof>div>span,.hero-proof a {
    font-size: 12px;
  }
  .review figcaption>a {
    font-size: 12px;
  }
  .review-subject,.excerpt {
    font-size: 13px;
  }
  .teaser .excerpt,.teaser figcaption>a,.teaser .review-subject {
    font-size: 12px;
  }
  .case-preview-formula>span,.diagram figcaption {
    font-size: 13px;
  }
  .brand small {
    font-size: 12px;
  }
  .diagram-narrow {
    display: block;
  }
  .diagram-wide {
    display: none;
  }
  .diagram-narrow svg {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .solution-body {
    padding-inline: 12px;
  }
  .case-preview-formula math {
    font-size: 1.12em;
  }
  .hero-proof strong>span {
    margin-left: 3px;
  }
  .hero-contact .contact-hint {
    margin-top: 0;
  }
}

.cta-short {
  display: none;
}

.bio-grid>* {
  min-width: 0;
}

@media (max-width:560px) {
  .header-cta .cta-label {
    display: none;
  }
  .header-cta .cta-short {
    display: inline;
  }
  .header-cta {
    padding-inline: 15px;
    font-size: 14px;
  }
  .bio-heading h2 {
    font-size: clamp(44px,13vw,55px);
  }
  .hero-contact .arrow {
    display: none;
  }
}

.equation[data-scroll=true]::after {
  content: 'Scorri la formula ↔';
  display: block;
  position: sticky;
  left: 0;
  width: max-content;
  max-width: 100%;
  font: 12px/1.5 Manrope,system-ui,sans-serif;
  color: #4a515d;
  background: #fff;
  padding-top: 10px;
}

.proof-source {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.proof-source strong {
  font-size: 35px;
  letter-spacing: -.05em;
  line-height: 1.2;
  font-weight: 750;
  color: #171a20;
  white-space: nowrap;
}

.proof-source .proof-caption {
  text-underline-offset: .22em;
  line-height: 1.45;
}

@media (max-width:1080px) {
  .proof-source {
    gap: 12px;
  }
  .proof-source strong {
    font-size: 30px;
  }
}

@media (max-width:800px) {
  .proof-source {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width:560px) {
  .proof-source {
    gap: 7px;
  }
  .proof-source strong {
    font-size: 25px;
    letter-spacing: -.045em;
  }
}

/* Revision: real notebooks, manual review reading, restrained scroll storytelling. */

.brand-logo {
  display: block;
}

.button svg.wa-icon {
  width: 28px;
  height: 28px;
  stroke: none;
  fill: none;
}

.header-cta svg.wa-icon {
  width: 25px;
  height: 25px;
}

.hero>.hero-main>.eyebrow {
  max-width: 570px;
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: .08em;
}

.note-content h2 {
  font-size: 32px;
  margin: 12px 0 20px;
}

.note-content>.note-equation,.note-content>.note-particular,.note-content>p:not(.eyebrow) {
  display: none;
}

.hero-manuscript img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-manuscript figcaption {
  color: #535446;
  margin: 12px 8px 0;
}

.hero-note>a {
  background: transparent;
}

.hero-proof .proof-source strong {
  font-size: 35px;
}

.quote-mark {
  font-family: Georgia,serif;
  display: block;
}

.opening-reviews .quote-mark {
  display: none;
}

.review-expand {
  font-size: 13px;
  font-weight: 700;
  color: #1248d8;
  text-decoration: underline;
  margin-top: 14px;
  min-height: 44px;
  text-align: left;
}

.review-complete {
  white-space: pre-line;
}

.story-aside {
  font-size: 18px;
  color: #4a515d;
  margin-top: 26px;
}

.paper-detail {
  width: 100%;
  margin-top: 44px;
  max-width: 360px;
  height: auto;
  transform: rotate(-3deg);
  border: 10px solid #f8f6ec;
  box-shadow: 0 14px 30px #171a2012;
}

.method {
  align-items: start;
  gap: 90px;
}

.story-sticky {
  position: sticky;
  top: 132px;
  align-self: start;
}

.story-steps {
  margin: 0;
}

.story-steps li {
  min-height: 350px;
  padding: 44px 0;
  align-items: flex-start;
  gap: 24px;
}

.story-steps li:first-child {
  padding-top: 0;
}

.story-steps li>span {
  font-size: 13px;
  border: 1px solid #c5cddf;
  border-radius: 100%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.story-steps h3 {
  font-size: 30px;
  line-height: 1.18;
  margin-bottom: 20px;
}

.story-steps li p {
  font-size: 17px;
  font-weight: 400;
  max-width: 470px;
}

.story-steps .step-question {
  font-size: 22px;
  color: #1248d8;
  margin-top: 32px;
  line-height: 1.5;
}

.original-in-case {
  margin: 32px auto 46px;
  border: 1px solid #e2dfce;
}

.original-in-case img {
  width: 100%;
  height: auto;
  display: block;
}

.original-in-case figcaption {
  margin-top: 16px;
  color: #515345;
}

.materials {
  display: block;
}

.materials .section-heading {
  max-width: 850px;
}

.materials h2 span {
  color: #1248d8;
}

.materials .section-heading>p:last-child {
  max-width: 700px;
}

.learning-path {
  display: flex;
  align-items: start;
  gap: 28px;
  margin: 54px 0 34px;
  padding-block: 26px;
  border-top: 1px solid #dce1e9;
  border-bottom: 1px solid #dce1e9;
}

.learning-path>div {
  flex: 1;
}

.learning-path>div>span {
  font-size: 12px;
  color: #1248d8;
  display: block;
  margin-bottom: 12px;
}

.learning-path strong {
  font-size: 19px;
  letter-spacing: -.025em;
}

.learning-path p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 9px;
  color: #4a515d;
}

.path-arrow {
  font-size: 30px;
  color: #1248d8;
  padding-top: 28px;
}

.pdf-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pdf-card {
  min-width: 0;
  border: 1px solid #d8dce4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 32px #171a2007;
}

.pdf-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.pdf-toolbar a {
  flex-shrink: 0;
}

.pdf-hint {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 0;
  padding: 8px 20px;
  border-top: 1px solid #e0e4eb;
  color: #535c69;
}

.pdf-pages {
  height: 520px;
  overflow: auto;
  overscroll-behavior: auto;
  padding: 18px;
  scrollbar-color: #8395ba #e2e7ef;
  scrollbar-width: thin;
  scroll-padding: 0;
  position: relative;
}

.pdf-pages img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 2px 10px #171a2015;
}

.pdf-caption {
  padding: 18px 20px;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  background: white;
  color: #4a515d;
  border-top: 1px solid #d8dce4;
}

.practice-note {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 44px;
  padding-top: 65px;
}

.practice-note h3 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.practice-note p {
  font-size: 17px;
}

.practice-note .eyebrow {
  font-size: 13px;
}

.practice-note .small {
  font-size: 13px;
}

.reviews-section {
  background: #eff3fb;
  overflow: hidden;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 22px;
}

.review-controls p {
  font-size: 14px;
  font-weight: 650;
}

.review-controls p span {
  margin-left: 12px;
  color: #1248d8;
}

.review-controls>div {
  display: flex;
  gap: 10px;
}

.review-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid #94a7cc;
  background: transparent;
  border-radius: 50%;
  font-size: 22px;
  color: #1248d8;
}

.review-controls button:disabled {
  opacity: .35;
}

.review-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 5px 5px 24px;
  scroll-snap-type: x proximity;
  scrollbar-color: #1248d8 #dce3f0;
  scrollbar-width: thin;
}

.review-track .review {
  flex: 0 0 calc((100% - 44px)/3);
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.review-track .review figcaption {
  padding-top: 26px;
  gap: 14px;
  align-items: start;
}

.review-track .review-expand {
  margin-bottom: 10px;
}

.review-track .review-subject {
  font-size: 12px;
}

.all-reviews {
  padding-top: 28px;
  font-size: 15px;
  font-weight: 700;
}

.bio-grid {
  align-items: start;
}

.bio-text>p[data-fact] {
  padding: 15px 0 80px;
  min-height: 300px;
}

.bio-fact strong {
  font-size: clamp(56px,8vw,100px);
  letter-spacing: -.06em;
  line-height: 1.1;
  transition: opacity .18s,transform .18s;
}

.bio-fact {
  border-top: 1px solid #bfd0f0;
  max-width: 340px;
  padding-top: 26px;
  margin-top: 38px;
}

.bio-fact span {
  max-width: 240px;
}

.bio-text>p:last-child {
  padding-bottom: 0;
}

.bio-text {
  padding-top: 0;
}

.review-track:focus-visible,.pdf-pages:focus-visible {
  outline-offset: -4px;
}

@media (min-width:1000px) {
  .hero-manuscript img {
    max-height: 290px;
    object-fit: contain;
  }
  .hero-proof {
    margin-top: 38px;
  }
  .method .section-heading {
    max-width: 450px;
  }
}

@media (max-width:1000px) {
  .review-track .review {
    flex-basis: calc((100% - 22px)/2);
  }
  .method {
    gap: 45px;
  }
  .story-sticky {
    top: 110px;
  }
  .story-steps h3 {
    font-size: 27px;
  }
  .bio-fact strong {
    font-size: 74px;
  }
  .pdf-toolbar {
    padding: 14px;
    font-size: 12px;
  }
  .pdf-pages {
    height: 430px;
    padding: 10px;
  }
}

@media (max-width:700px) {
  .hero {
    gap: 25px;
  }
  .hero>.hero-main>.eyebrow {
    font-size: 10px;
    max-width: 320px;
  }
  .hero .eyebrow-separator {
    margin-inline: 4px;
  }
  .hero-note {
    transform: none;
  }
  .note-content {
    padding: 22px;
  }
  .hero-manuscript img {
    max-height: 250px;
    object-fit: contain;
  }
  .hero-proof .proof-source strong {
    font-size: 26px;
  }
  .story-sticky {
    position: static;
  }
  .method {
    display: block;
  }
  .story-steps {
    margin-top: 44px;
  }
  .story-steps li {
    min-height: 0;
    padding: 32px 0;
  }
  .story-steps li:first-child {
    padding-top: 28px;
  }
  .story-steps h3 {
    font-size: 27px;
  }
  .story-steps .step-question {
    font-size: 20px;
    margin-top: 22px;
  }
  .paper-detail {
    margin-top: 26px;
    width: 80%;
    max-width: 300px;
  }
  .learning-path {
    gap: 16px;
    flex-direction: column;
    margin-top: 32px;
  }
  .learning-path>div {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
  }
  .learning-path>div>span {
    grid-row: 1/3;
    padding-top: 5px;
  }
  .learning-path p {
    grid-column: 2;
  }
  .path-arrow {
    transform: rotate(90deg);
    padding: 0;
    line-height: 1;
    margin-left: 39px;
  }
  .pdf-pair {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pdf-pages {
    height: 470px;
  }
  .pdf-toolbar {
    padding: 15px 14px;
  }
  .practice-note {
    display: block;
    padding-top: 46px;
  }
  .practice-note h3 {
    font-size: 30px;
    margin-top: 18px;
  }
  .bio-text>p[data-fact] {
    padding: 0 0 24px;
    min-height: 0;
  }
  .bio-fact {
    display: none;
  }
  .bio-text>p[data-fact]::before {
    content: attr(data-fact);
    display: block;
    color: #1248d8;
    font-size: 38px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.04em;
    margin: 24px 0 18px;
  }
  .bio-text>p:first-child::before {
    margin-top: 0;
  }
  .bio-heading {
    margin-bottom: 30px;
  }
  .original-in-case {
    padding: 12px;
  }
  .pdf-caption {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-note,.paper-detail,.original-in-case {
    transform: none;
  }
  .story-sticky {
    position: static;
  }
  .bio-fact {
    display: none;
  }
  .bio-text>p[data-fact]::before {
    content: attr(data-fact);
    display: block;
    font-size: 38px;
    line-height: 1.4;
    font-weight: 750;
    color: #1248d8;
    margin-bottom: 18px;
  }
  .bio-text>p[data-fact] {
    min-height: 0;
    padding-bottom: 30px;
  }
  .bio-fact strong {
    transition: none;
  }
}

html:not(.js) .review-complete[hidden] {
  display: inline !important;
}

html:not(.js) .review:has(.review-complete) .review-preview,html:not(.js) .review-expand,html:not(.js) .review-controls>div {
  display: none;
}

.fact-mobile {
  display: none;
}

.materials .pdf-caption {
  font-size: 12px;
  line-height: 1.7;
}

.materials .pdf-hint {
  font-size: 12px;
}

.pdf-pages img {
  margin-bottom: 18px;
}

@media (max-width:700px),(prefers-reduced-motion:reduce) {
  .bio-text>p[data-fact]::before {
    display: none;
  }
  .fact-mobile {
    display: block;
    margin: 24px 0;
  }
  .fact-mobile strong {
    display: block;
    color: #1248d8;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -.04em;
  }
  .fact-mobile>span {
    font-size: 13px;
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #4a515d;
  }
}

@media (max-width:360px) {
  .header-cta .cta-short {
    display: none;
  }
  .header-cta {
    width: 48px;
    padding: 10px;
  }
  .header-inner {
    gap: 12px;
  }
  .pdf-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .review-track .review {
    flex-basis: 94%;
  }
}

/* Manuscripts: complete excerpts, readable focus, touch-first exploration. */

.hero-notes-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
}

.hero-note {
  transform: none;
  box-shadow: 0 14px 40px #17295409;
}

.note-open {
  display: block;
  position: relative;
  text-decoration: none;
  color: #1248d8;
  background: #f7f5e9;
  border-radius: 5px;
  overflow: hidden;
}

.note-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter .15s;
}

.note-open:hover img {
  filter: contrast(1.035);
}

.note-open-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  background: #fff;
  border-top: 1px solid #e7e5da;
  font-size: 13px;
  font-weight: 700;
  min-height: 46px;
}

.hero-note .note-open img {
  height: 250px;
  padding: 6px;
}

.hero-note .note-open-label {
  background: transparent;
  padding-inline: 8px;
}

.hero-manuscript {
  margin: 10px 0 0;
}

.hero-manuscript figcaption {
  font-size: 12px;
}

.hero-manuscript img {
  mix-blend-mode: normal;
}

.notebooks {
  background: #f6f5ef;
  padding-block: 70px;
}

.notebook-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}

.notebook-heading h2 {
  margin-top: 14px;
}

.notebook-heading h2 span {
  color: #1248d8;
}

.notebook-heading>p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 420px;
  color: #50564e;
}

.notebook-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 35px 0 20px;
}

.notebook-controls>p {
  font-size: 13px;
  font-weight: 700;
}

.notebook-controls>p span {
  font-weight: 400;
  color: #51584f;
}

.notebook-controls>div {
  display: flex;
  gap: 9px;
}

.notebook-controls button,.reader-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #b9c3d6;
  background: white;
  border-radius: 50%;
  font-size: 22px;
  color: #1248d8;
}

.notebook-controls button:disabled {
  opacity: .35;
}

.notebook-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 6px 4px 25px;
  scroll-snap-type: x proximity;
  scrollbar-color: #1248d8 #e5e6dd;
  scrollbar-width: thin;
}

.notebook-card {
  flex: 0 0 calc((100% - 24px)/2);
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e0e1d7;
  border-radius: 10px;
  overflow: hidden;
}

.notebook-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.notebook-meta span:first-child {
  color: #1248d8;
}

.notebook-meta span:last-child {
  color: #545a50;
  white-space: nowrap;
}

.notebook-card .note-open {
  border-radius: 0;
  background: #f8f7ed;
}

.notebook-card .note-open img {
  height: 350px;
  padding: 18px;
  object-fit: contain;
}

.notebook-card .note-open-label {
  padding-inline: 20px;
  border-bottom: 1px solid #eeeee7;
}

.notebook-caption {
  padding: 23px 23px 25px;
}

.notebook-caption h3 {
  font-size: 24px;
}

.notebook-caption p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
  color: #4a515d;
  max-width: 420px;
}

.notebook-caption small {
  display: block;
  font-size: 11px;
  color: #565d52;
  margin-top: 20px;
}

.notebook-footnote {
  font-size: 12px;
  margin-top: 18px;
  color: #51584f;
}

.method-paper {
  margin-top: 32px;
  max-width: 360px;
  border: 1px solid #e3e2d8;
  border-radius: 6px;
  overflow: hidden;
}

.method-paper .note-open img {
  height: 340px;
  padding: 12px;
}

.method-paper figcaption {
  padding: 12px 15px;
  font-size: 12px;
  color: #50574f;
  background: #faf9f4;
}

.original-in-case {
  transform: none;
  max-width: 660px;
  background: #f7f5e9;
  padding: 15px;
}

.original-in-case .note-open img {
  height: 380px;
  object-fit: contain;
}

.original-in-case .note-open-label {
  background: #fff;
}

.original-in-case figcaption {
  font-size: 12px;
  line-height: 1.6;
}

.reader-open {
  overflow: hidden;
}

#notebook-reader {
  width: min(1240px,calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  border: 1px solid #dce0e7;
  border-radius: 14px;
  padding: 24px 30px 18px;
  color: #171a20;
  background: #fff;
  box-shadow: 0 28px 90px #091e4440;
}

#notebook-reader::backdrop {
  background: #101e3ac4;
  backdrop-filter: blur(3px);
}

.reader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reader-top .eyebrow {
  font-size: 11px;
}

.reader-top button {
  background: #f1f3f7;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
}

#reader-title {
  font-size: 30px;
  margin: 10px 0 14px;
  padding-right: 8px;
  line-height: 1.15;
}

.reader-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.reader-controls>div {
  display: flex;
  align-items: center;
  gap: 14px;
}

#reader-count {
  font-size: 13px;
  color: #4a515d;
  min-width: 38px;
  text-align: center;
}

.reader-controls #reader-zoom {
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px 15px;
  min-width: 120px;
}

.reader-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 28px;
  align-items: start;
}

.reader-viewport {
  height: min(62dvh,700px);
  overflow: auto;
  background: #f7f6ed;
  border: 1px solid #e1e3d9;
  border-radius: 6px;
  scrollbar-width: thin;
  scrollbar-color: #7485a6 #eceee4;
}

.reader-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
}

.reader-viewport.is-zoomed img {
  width: 1400px;
  height: auto;
  object-fit: initial;
  padding: 10px;
}

.reader-explanation {
  max-height: 62dvh;
  overflow: auto;
  padding: 4px 6px;
  font-size: 15px;
  line-height: 1.75;
}

.reader-explanation h3 {
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.reader-explanation .equation {
  font-size: 17px;
  padding: 14px 8px;
  margin: 18px 0;
}

.reader-explanation p+p {
  margin-top: 16px;
}

.reader-source {
  font-size: 11px;
  margin-top: 13px;
}

.reader-viewport:focus-visible {
  outline-offset: -4px;
}

.notebook-track:focus-visible {
  outline-offset: -4px;
}

.reader-controls button:focus-visible,.reader-top button:focus-visible {
  outline-offset: 2px;
}

@media (max-width:800px) {
  .notebooks {
    padding-block: 45px;
  }
  .notebook-heading {
    display: block;
  }
  .notebook-heading h2 {
    font-size: 34px;
  }
  .notebook-heading>p {
    font-size: 16px;
    margin-top: 20px;
    max-width: 580px;
  }
  .notebook-card {
    flex-basis: 85%;
  }
  .notebook-card .note-open img {
    height: 350px;
  }
  .notebook-meta {
    padding: 13px 16px;
    font-size: 10px;
  }
  .notebook-caption {
    padding: 20px;
  }
  .notebook-caption h3 {
    font-size: 22px;
  }
  .notebook-track {
    gap: 16px;
  }
  .notebook-controls>p span {
    display: block;
    margin-top: 4px;
  }
  .notebook-controls {
    margin-top: 25px;
  }
  .hero-note {
    display: block;
    order: 4;
    margin: 25px 0 0;
    max-width: none;
    width: 100%;
    border-radius: 8px;
  }
  .hero-note .note-top {
    padding: 12px 18px;
  }
  .hero-note .note-content {
    padding: 14px 16px;
  }
  .hero-note .note-content>h2,.hero-note .note-content>.eyebrow {
    display: none;
  }
  .hero-note .note-open img {
    height: 200px;
    padding: 5px 8px;
  }
  .hero-manuscript {
    margin: 0;
  }
  .hero-manuscript figcaption {
    font-size: 11px;
    margin: 10px 0 0;
  }
  .hero-note>a {
    padding: 12px 18px;
    font-size: 13px;
  }
  .hero-proof {
    order: 3;
  }
  .hero-notes-link {
    font-size: 13px;
    margin-top: 10px;
  }
  .opening-reviews {
    padding-top: 26px;
    padding-bottom: 10px;
  }
  .opening-reviews .teaser:last-child {
    display: none;
  }
  .method-paper {
    max-width: 100%;
    width: 100%;
    margin-top: 26px;
  }
  .method-paper .note-open img {
    height: 360px;
  }
  .original-in-case .note-open img {
    height: 320px;
  }
  .original-in-case {
    margin: 24px auto;
    padding: 10px;
  }
  #notebook-reader {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 14px 18px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .reader-top {
    position: sticky;
    top: -14px;
    background: #fff;
    z-index: 2;
    padding-block: 7px;
    border-bottom: 1px solid #e8ebef;
  }
  .reader-top .eyebrow {
    font-size: 10px;
  }
  #reader-title {
    font-size: 25px;
    margin-top: 20px;
  }
  .reader-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .reader-viewport {
    height: 53dvh;
    min-height: 280px;
  }
  .reader-viewport img {
    padding: 10px;
  }
  .reader-explanation {
    overflow: visible;
    max-height: none;
    padding: 0 2px;
    font-size: 16px;
  }
  .reader-explanation h3 {
    font-size: 24px;
  }
  .reader-source {
    line-height: 1.7;
  }
  .reader-controls {
    margin-bottom: 16px;
  }
  .reader-controls #reader-zoom {
    min-width: 110px;
    padding: 10px;
  }
  .reader-top button {
    padding: 10px 12px;
  }
  .reader-explanation .equation {
    font-size: 16px;
  }
  .reader-viewport.is-zoomed img {
    width: 1000px;
  }
}

@media (max-width:360px) {
  .notebook-card {
    flex-basis: 94%;
  }
  .notebook-card .note-open img {
    height: 290px;
  }
  .notebook-caption h3 {
    font-size: 21px;
  }
  .notebook-meta {
    font-size: 9px;
  }
  .reader-top .eyebrow {
    max-width: 150px;
  }
  .reader-controls>div {
    gap: 7px;
  }
  .reader-controls #reader-zoom {
    min-width: 100px;
  }
  .hero-note .note-open img {
    height: 185px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .note-open img {
    transition: none;
  }
  #notebook-reader::backdrop {
    backdrop-filter: none;
  }
}

@media print {
  #notebook-reader,.notebooks,.hero-notes-link {
    display: none !important;
  }
}

html:not(.js) .notebook-controls>div {
  display: none;
}

@media (max-width:800px) {
  .brand-logo {
    width: 52px;
    height: 32px;
  }
  .brand-logo img {
    width: 62px;
    height: 62px;
    left: -4px;
    top: -15px;
  }
}

/* Revision 4: fewer sections, complete lesson sequences, consistent paper. */

:root {
  --ink: #171a20;
  --line: #dce0e7;
}

.section {
  padding-block: 68px;
}

.header nav {
  gap: 20px;
}

.brand-logo {
  width: 48px;
  height: 44px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo img {
  position: absolute;
  width: 79px;
  height: 60px;
  max-width: none;
  left: -15px;
  top: -9px;
  object-fit: contain;
}

.hero {
  padding-top: 45px;
  gap: 0 64px;
}

.hero-note {
  background: var(--paper);
  border-color: #e7e5d9;
}

.note-content {
  padding: 24px;
}

.hero-note .note-content h2 {
  font-size: 31px;
  margin: 12px 0 20px;
}

.hero-note .note-equation,.hero-note .note-content>p:not(.eyebrow),.hero-note .note-particular {
  display: none;
}

.hero-manuscript {
  background: var(--paper);
  box-shadow: none;
  transform: none;
}

.hero-manuscript .note-open img {
  height: 310px;
  object-fit: contain;
  padding: 0;
}

.hero-manuscript figcaption {
  display: none;
}

.note-top,.hero-note>a {
  padding: 13px 22px;
  border-color: #e1dfd4;
}

.hero-note>a:hover {
  background: #f0efdf;
}

.hero-proof {
  grid-template-columns: 1fr 1fr 1.15fr;
  margin-top: 32px;
}

.hero-proof .proof-source {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  text-decoration: none;
}

.hero-proof .proof-source>strong {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -.05em;
  white-space: nowrap;
}

.proof-caption {
  color: #4a515d;
  font-size: 13px;
  line-height: 1.5;
}

.proof-read {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 700;
}

.hero-notes-link {
  margin-top: 17px;
}

.subject {
  padding-block: 23px;
}

.subject p {
  font-size: 15px;
  margin-top: 9px;
}

.subject-index {
  display: none;
}

.cross-subject {
  font-size: 14px;
}

.examples {
  background: #f5f6f8;
}

.examples .section-heading {
  margin-bottom: 26px;
}

.tabs {
  gap: 6px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tabs button {
  white-space: normal;
  line-height: 1.35;
  min-height: 52px;
  font-size: 14px;
  padding: 12px 14px;
}

.case-panel {
  padding: 0;
  background: transparent;
  border: 0;
}

.lesson-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
  margin-bottom: 24px;
}

.lesson-intro h3 {
  font-size: 31px;
  max-width: 520px;
}

.lesson-intro p {
  color: #505865;
  max-width: 500px;
  line-height: 1.7;
}

.lesson-navigation {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.lesson-navigation>div,.lesson-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lesson-navigation button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #cdd4df;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 17px;
}

.lesson-navigation button:disabled {
  opacity: .35;
}

.lesson-dots button {
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.lesson-dots button[aria-pressed=true] {
  background: var(--blue);
  color: #fff;
}

.lesson-frame {
  display: grid;
}

.lesson-paper {
  overflow: hidden;
  margin: 0;
}

.lesson-paper .note-open {
  display: block;
  position: relative;
  border: 0;
  border-radius: 0;
  line-height: 0;
}

.lesson-paper img {
  transition: none;
}

.paper-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid #d3d8e0;
  border-radius: 5px;
  padding: 9px 12px;
  background: #fffffff0;
  line-height: 1.4;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.lesson-commentary {
  min-width: 0;
}

.lesson-commentary h4 {
  letter-spacing: -.035em;
  margin: 12px 0 20px;
  font-weight: 750;
}

.lesson-commentary .equation {
  padding: 13px 8px;
  margin-block: 17px;
}

.lesson-next-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 22px;
  font-size: 12px;
  color: #566071;
}

.lesson-next-row button {
  min-height: 44px;
  font-size: 13px;
}

.lesson-next-row button:disabled {
  opacity: .35;
}

.lesson-next-row p {
  align-self: center;
}

.lesson-depth,.method-compact {
  border-top: 1px solid #d9dfe8;
}

.lesson-depth>summary,.method-compact>summary,.about-more>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  min-height: 62px;
  font-size: 15px;
  font-weight: 650;
  color: #1248d8;
}

.lesson-depth>summary::-webkit-details-marker,.method-compact>summary::-webkit-details-marker,.about-more>summary::-webkit-details-marker {
  display: none;
}

.lesson-depth[open]>div {
  padding: 20px 0 30px;
}

.lesson-depth .case {
  margin-block: 15px;
  background: white;
  border: 1px solid #dce0e7;
  padding: 24px;
  border-radius: 8px;
}

.lesson-depth .case+.case {
  margin-top: 22px;
}

.lesson-depth .case h3 {
  font-size: 24px;
}

.lesson-depth .case-intro p {
  font-size: 14px;
}

.lesson-depth .case-intro {
  gap: 25px;
}

.lesson-depth .case-preview-formula {
  font-size: 17px;
}

.lesson-depth .source-note {
  font-size: 11px;
}

.method-compact>div {
  max-width: 780px;
  padding: 15px 0 25px;
}

.method-compact h3 {
  margin-bottom: 20px;
}

.lesson-pdf h3 {
  margin-bottom: 14px;
}

.lesson-pdf>div>p {
  font-size: 15px;
}

.pdf-pair {
  margin-top: 24px;
}

.pdf-card {
  background: #fff;
}

.pdf-pages {
  background: #fff;
}

.pdf-pages img {
  background: #fff;
}

.review-track {
  align-items: flex-start;
}

.review {
  background: #fff;
  border: 1px solid #dce0e7;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.review blockquote {
  line-height: 1.75;
  white-space: pre-line;
  display: block;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
}

.review figcaption {
  margin-top: 8px;
}

.quote-mark {
  font-size: 45px;
  line-height: 1;
  height: 32px;
  margin-bottom: 14px;
  color: #1248d8;
}

.review-expand {
  display: none;
}

.reviews-section .section-heading {
  margin-bottom: 22px;
}

.reviews-section h2 {
  max-width: 750px;
}

.about-compact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px 70px;
}

.about-compact h2 {
  margin-top: 16px;
}

.about-caption {
  font-size: 15px;
  margin-top: 20px;
  color: #505865;
}

.about-compact>div:nth-child(2) {
  font-size: 16px;
}

.about-more {
  margin-top: 20px;
  border-top: 1px solid #d0d9ea;
}

.about-more p {
  font-size: 14px;
}

.compact-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}

.compact-faq details {
  border-top: 1px solid #d0d9ea;
  padding-block: 17px;
}

.compact-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  min-height: 32px;
}

.compact-faq summary::-webkit-details-marker {
  display: none;
}

.compact-faq p {
  font-size: 14px;
  padding-top: 15px;
  color: #4a515d;
}

.bio {
  background: #eef2fa;
}

.final-cta {
  padding-block: 65px;
}

.final-cta h2 {
  font-size: clamp(34px,4vw,53px);
}

.final-cta .container>p:not(.eyebrow) {
  max-width: 690px;
}

.note-open,.note-open img,.hero-note .note-open-label {
  background: var(--paper);
}

.reader-viewport img {
  padding: 10px;
}

.reader-source {
  color: #4a515d;
}

.anchor-alias {
  position: relative;
  top: -90px;
}

@media (max-width:900px) {
  .header nav {
    display: none;
  }
  .lesson-frame {
    gap: 25px;
  }
  .lesson-intro {
    gap: 25px;
  }
  .lesson-intro h3 {
    font-size: 28px;
  }
  .lesson-paper img {
    height: 440px;
  }
  .lesson-commentary {
    font-size: 14px;
  }
  .lesson-commentary h4 {
    font-size: 23px;
  }
  .tabs button {
    font-size: 12px;
    padding: 10px;
  }
  .hero {
    gap: 0 32px;
  }
  .hero-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .contact-hint {
    max-width: 380px;
  }
  .about-compact {
    gap: 30px;
  }
  .hero-proof>div {
    padding-inline: 20px;
  }
}

@media (max-width:700px) {
  .hero {
    padding-top: 31px;
  }
  .hero-note {
    display: none;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-service {
    font-size: 17px;
  }
  .hero-contact {
    gap: 12px;
  }
  .contact-hint {
    font-size: 13px;
  }
  .hero-proof {
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding-block: 20px;
    gap: 0;
    margin-top: 26px;
  }
  .hero-proof>div {
    padding: 0 10px;
    display: block;
  }
  .hero-proof>div:first-child {
    padding-left: 0;
  }
  .hero-proof>div>strong,.hero-proof .proof-source>strong {
    display: block;
    line-height: 1.15;
  }
  .hero-proof strong>span {
    font-size: 20px;
  }
  .hero-proof>div>span,.hero-proof .proof-caption {
    display: block;
    font-size: 10px;
    line-height: 1.55;
    margin-top: 8px;
  }
  .hero-proof .proof-source>strong>span {
    font-size: 20px;
  }
  .hero-proof>div:nth-child(2)>strong>span {
    font-size: 20px;
  }
  .hero-notes-link {
    margin-top: 17px;
  }
  .subjects {
    grid-template-columns: 1fr;
  }
  .subject {
    padding-block: 20px;
  }
  .subject h3 {
    font-size: 22px;
  }
  .subject .topics {
    margin-top: 5px;
  }
  .section-heading {
    margin-bottom: 23px;
  }
  .section-heading>p:not(.eyebrow) {
    font-size: 15px;
  }
  .tabs {
    gap: 8px;
    padding-bottom: 11px;
    scroll-snap-type: x proximity;
  }
  .tabs button {
    min-height: 44px;
    padding: 12px 15px;
    font-size: 13px;
    scroll-snap-align: start;
  }
  .lesson-intro {
    display: block;
  }
  .lesson-intro h3 {
    max-width: 420px;
  }
  .lesson-navigation {
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .lesson-count {
    font-size: 12px;
  }
  .lesson-navigation>div,.lesson-dots {
    gap: 2px;
  }
  .lesson-navigation button {
    min-width: 40px;
    min-height: 44px;
  }
  .lesson-frame {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-paper figcaption {
    font-size: 10px;
    padding: 10px 13px;
  }
  .paper-zoom {
    font-size: 11px;
    padding: 9px 10px;
  }
  .lesson-commentary {
    padding: 0;
  }
  .lesson-commentary h4 {
    margin-top: 9px;
    margin-bottom: 17px;
  }
  .lesson-next-row {
    margin-block: 13px 18px;
    gap: 12px;
  }
  .lesson-next-row p {
    max-width: 120px;
    font-size: 11px;
  }
  .lesson-next-row button {
    font-size: 12px;
  }
  .lesson-depth>summary,.method-compact>summary {
    font-size: 14px;
    min-height: 64px;
  }
  .lesson-depth .case {
    padding: 17px;
  }
  .lesson-depth .case-intro {
    display: block;
  }
  .lesson-depth .case-preview-formula {
    margin-top: 20px;
  }
  .lesson-depth .case h3 {
    font-size: 22px;
  }
  .lesson-depth .solution-body {
    padding: 12px 0;
  }
  .method-compact>div {
    font-size: 15px;
  }
  .method-compact h3 {
    font-size: 24px;
  }
  .review {
    padding: 23px;
    flex-basis: 90%;
  }
  .review blockquote {
    font-size: 15px;
    line-height: 1.8;
  }
  .review-track {
    gap: 16px;
  }
  .review figcaption {
    gap: 12px;
  }
  .review figcaption>a {
    font-size: 11px;
  }
  .about-compact {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-compact>div:nth-child(2) {
    font-size: 15px;
  }
  .about-caption {
    margin-top: 12px;
  }
  .compact-faq {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .final-cta {
    padding-block: 48px;
  }
  .brand-logo {
    width: 43px;
    height: 39px;
  }
  .brand-logo img {
    width: 74px;
    height: 56px;
    left: -15px;
    top: -9px;
  }
  .reader-viewport {
    background: var(--paper);
  }
  .reader-viewport img {
    padding: 8px;
  }
}

@media (max-width:360px) {
  .hero h1 {
    font-size: 41px;
  }
  .hero-proof>div {
    padding-inline: 7px;
  }
  .hero-proof>div>span,.hero-proof .proof-caption {
    font-size: 9px;
  }
  .lesson-navigation {
    display: block;
  }
  .lesson-navigation>div {
    justify-content: space-between;
    margin-top: 8px;
  }
  .brand-logo {
    width: 35px;
  }
  .brand-logo img {
    width: 66px;
    height: 50px;
    left: -16px;
    top: -6px;
  }
  .brand {
    gap: 8px;
  }
  .lesson-intro h3 {
    font-size: 26px;
  }
}

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

html.js .tabs {
  display: flex;
  flex-wrap: nowrap;
}

.tabs button {
  flex: 1;
  min-width: 0;
}

.contact-hint br {
  display: block;
}

.contact-hint {
  text-align: left;
}

.hero-proof .proof-source {
  flex-direction: row;
}

.proof-source .proof-caption {
  text-decoration: none;
}

.review-track .review {
  flex-basis: calc((100% - 22px)/2);
  min-height: 330px;
}

.review-track .review blockquote {
  font-size: 16px;
  line-height: 1.75;
}

.review-track .review figcaption {
  flex-direction: row;
  margin-top: auto;
}

.review-track {
  overflow-y: hidden;
  scrollbar-gutter: stable;
}

.hero-manuscript .note-open img {
  background: var(--paper);
}

@media (max-width:700px) {
  .tabs {
    margin-inline: 0;
    padding-inline: 0;
    max-width: 100%;
  }
  .tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .hero-proof .proof-source {
    display: block;
  }
  .contact-hint {
    text-align: left;
    line-height: 1.6;
  }
  .review-track .review {
    flex-basis: 92%;
    padding: 23px;
  }
  .review-track .review figcaption {
    flex-direction: column;
    gap: 8px;
  }
  .review-track .review {
    min-height: 300px;
  }
  .hero-email {
    justify-content: flex-start;
  }
}

.header {
  background: #fff;
}
