:root {
  --paper: #f7f4ec;
  --white: #fffefa;
  --ink: #203331;
  --muted: #596660;
  --line: #c9cdc0;
  --accent: #7c3438;
  --wash: #ebece1;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --max: 1240px;
  --pad: clamp(22px, 5vw, 80px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  text-wrap: pretty;
}
h1 {
  font-size: clamp(44px, 6.1vw, 88px);
  letter-spacing: -0.038em;
}
h2 {
  font-size: clamp(34px, 3.3vw, 49px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 27px;
  line-height: 1.2;
}
strong {
  font-weight: 600;
}
svg {
  max-width: 100%;
  display: block;
}
figure {
  margin: 0;
}
ul,
ol {
  padding-left: 23px;
}
li {
  margin-bottom: 12px;
}
li p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
.small {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  max-width: 1440px;
  margin: auto;
  min-height: 104px;
  padding: 24px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg {
  width: 35px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
}
.nav-apply {
  border-bottom: 1px solid currentColor;
  padding: 10px 0;
}
.nav-apply span {
  margin-left: 15px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 13px;
}
.hero {
  max-width: 1440px;
  margin: auto;
  padding: 28px var(--pad) 90px;
}
.hero-rule {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 55px;
}
.hero-eyebrow h3,
.hero-eyebrow p {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  max-width: 1130px;
  margin-bottom: 46px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(35px, 6vw, 100px);
  align-items: start;
}
.hero-prose {
  max-width: 650px;
}
.hero-prose > p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.hero-prose > p:first-child {
  font-size: 21px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 27px;
}
.hero-actions > p,
.hero-actions > h3 {
  flex-basis: 100%;
  margin: 0;
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.65;
}
.hero-actions > h3 {
  font-weight: 600;
}
.hero-actions > .cta-row {
  margin: 0;
}
.hero-actions > .cta-row:nth-of-type(2) .button {
  background: transparent;
  color: var(--ink);
  padding-left: 0;
  border: none;
  border-bottom: 1px solid var(--ink);
}
.hero-actions > p:nth-of-type(1) {
  color: var(--muted);
  font-size: 12px;
}
.cta-row {
  margin: 24px 0;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 100%;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button[disabled] {
  opacity: 0.6;
}
.text-button {
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
}
.math-art {
  color: var(--ink);
  margin-top: 8px;
  position: sticky;
  top: 35px;
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--wash);
  transform: rotate(-1.7deg);
}
.math-art svg {
  width: 100%;
  margin: 14px 0;
}
.art-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 15px;
}
.art-caption span:last-child {
  font-size: 22px;
  font-family: Georgia, serif;
}
.art-fill {
  fill: var(--ink);
  opacity: 0.23;
}
.art-fill-alt {
  fill: var(--accent);
  opacity: 0.35;
}
.art-answer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.5;
}
.art-answer strong {
  font-family: var(--display);
  font-size: 58px;
}
.narrative-section {
  padding: 85px var(--pad);
  border-top: 1px solid var(--line);
}
.section-inner {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(45px, 7vw, 100px);
}
.section-heading h2 {
  position: sticky;
  top: 35px;
  max-width: 380px;
}
.section-body {
  min-width: 0;
}
.section-body > p {
  max-width: 740px;
}
.section-body > h3 {
  margin: 34px 0 15px;
}
.section-body > h3:first-child {
  margin-top: 0;
}
.section-body p:last-child {
  margin-bottom: 0;
}
.alternate {
  background: var(--wash);
}
.teaching-section {
  background: var(--ink);
  color: var(--paper);
  --line: #61716b;
  --muted: #d0d4c9;
  --wash: #2d4340;
}
.teaching-section .section-inner,
.comparison-section .section-inner,
.close-section .section-inner,
.team-section .section-inner,
.records-section .section-inner {
  display: block;
}
.teaching-section .section-heading h2,
.comparison-section .section-heading h2,
.close-section .section-heading h2,
.team-section .section-heading h2,
.records-section .section-heading h2 {
  max-width: 850px;
  margin-bottom: 26px;
  position: static;
}
.teaching-section .section-body > p {
  max-width: 780px;
}
.teaching-section .section-body > h3 {
  font-family: var(--body);
  font-size: 18px;
}
.video-placeholder {
  margin: 40px 0 50px;
  background: #344b47;
  border: 1px solid var(--line);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px 40px;
}
.video-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  padding: 40px 0;
  font-family: var(--display);
  font-size: 100px;
  color: #e8e8d5;
}
.video-equal {
  font-size: 40px;
  opacity: 0.5;
}
.video-caption {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.video-caption span {
  white-space: nowrap;
}
.sample-label {
  font-size: 10px;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}
.explanations {
  margin: 35px 0;
  background: var(--paper);
  color: #203331;
  --ink: #203331;
  --muted: #596660;
  --line: #c9cdc0;
  --accent: #7c3438;
  padding: 35px;
}
.lesson-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.lesson-tabs button {
  border: none;
  background: transparent;
  padding: 13px 0;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  flex: 1;
  text-align: left;
  font-size: 14px;
}
.lesson-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.lesson-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 34px 0;
}
.lesson-copy h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.lesson-copy p {
  font-size: 14px;
}
.fraction-model {
  padding: 20px 0;
}
.fraction-model > div:not(.fraction-sum) {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.fraction-model b {
  grid-column: 2;
  font-size: 12px;
  font-weight: 400;
  opacity: 0;
}
.fraction-model > div > span {
  font-size: 25px;
  font-family: Georgia, serif;
}
.fraction-strip {
  height: 55px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.fraction-strip i {
  border-right: 0 solid var(--ink);
  transition: border 0.4s;
}
.fraction-strip i:last-child {
  border: none;
}
.fraction-strip.half i:nth-child(-n + 3) {
  background: #849786;
}
.fraction-strip.half i:nth-child(3) {
  border-right: 1px solid var(--ink);
}
.fraction-strip.third i:nth-child(-n + 2) {
  background: #c9b38a;
}
.fraction-strip.third i:nth-child(2),
.fraction-strip.third i:nth-child(4) {
  border-right: 1px solid var(--ink);
}
.is-divided .fraction-strip i:not(:last-child) {
  border-right: 1px solid var(--ink);
}
.is-divided .fraction-model b {
  opacity: 1;
}
.fraction-sum {
  display: flex;
  justify-content: space-between;
  font-family: Georgia, serif;
  font-size: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.worked-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.worked-steps li {
  padding: 0 0 15px;
  margin: 0 0 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.worked-steps span {
  font-size: 12px;
}
.worked-steps strong {
  font-size: 27px;
  font-family: Georgia, serif;
}
.fresh-question {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.fresh-question p {
  margin: 5px 0 0;
  font-size: 19px;
}
.fresh-options {
  display: flex;
  gap: 10px;
}
.fresh-options button {
  width: 68px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: Georgia, serif;
  font-size: 28px;
  min-height: 54px;
}
.fresh-options button:hover,
.fresh-options button.chosen {
  background: var(--ink);
  color: var(--paper);
}
.fresh-question .fresh-feedback {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--accent);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
blockquote {
  margin: 0;
  padding: 25px 30px 20px 0;
}
blockquote + blockquote {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
blockquote p {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1.25;
}
blockquote footer {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.prerequisite {
  margin: 35px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  border-block: 1px solid var(--line);
  padding: 25px 0;
}
.prerequisite figcaption {
  flex-basis: 100%;
}
.prerequisite > div {
  flex: 1;
  min-width: 110px;
}
.prerequisite strong,
.prerequisite div span {
  display: block;
}
.prerequisite div span {
  font-size: 10px;
  line-height: 1.5;
}
.prerequisite strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  margin-top: 12px;
}
.exchange {
  margin-top: 30px;
  border: 1px solid var(--line);
  padding: 25px;
  background: var(--white);
}
.exchange-row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}
.exchange-row span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.exchange-row p {
  font-size: 15px;
  margin: 0;
}
.exchange-row b {
  grid-column: 2;
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}
.goal-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  margin: 32px 0;
}
.goal-card h3 {
  margin-bottom: 25px;
}
.goal-card dl,
.weekly-report dl,
.course-record dl {
  margin: 0;
}
.goal-card dl > div,
.weekly-report dl > div,
.course-record dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  gap: 20px;
  font-size: 13px;
}
.goal-card dt,
.weekly-report dt,
.course-record dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
.report-samples {
  margin: 35px 0;
}
.weekly-report {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}
.report-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.report-top h3 {
  font-size: 32px;
}
.report-top > span {
  font-size: 11px;
  color: var(--muted);
}
.report-controls {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  font-size: 12px;
}
.report-controls label {
  flex: 1;
}
.report-controls select {
  display: block;
  width: 100%;
  margin-top: 5px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px;
}
.report-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}
.email-sample {
  margin: 25px 0 0 35px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.email-from {
  font-size: 11px;
}
.email-sample h3 {
  margin: 20px 0;
  font-size: 28px;
}
.email-sample p {
  font-size: 13px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0 45px;
}
.portrait {
  height: 250px;
  background: var(--wash);
  overflow: hidden;
  border: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: center;
  color: var(--ink);
}
.portrait svg {
  height: 100%;
  fill: currentColor;
  opacity: 0.16;
}
.portrait-1 {
  background: #e4e5dc;
}
.portrait-2 {
  background: #eee7d8;
}
.team-person h3 {
  margin: 18px 0 4px;
}
.team-person p {
  font-size: 12px;
  margin: 0;
}
.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin: 40px 0;
}
.course-record,
.outside-report {
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--line);
}
.record-grid h3 {
  font-size: 38px;
  margin-bottom: 28px;
}
.outside-report p {
  font-size: 14px;
}
.score-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  padding: 20px 0;
  margin: 20px 0;
  border-block: 1px solid var(--line);
}
.score-example span {
  font-size: 11px;
}
.score-example strong {
  font-size: 48px;
  font-family: var(--display);
}
.day-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  margin: 30px 0;
}
.day-sequence > div {
  padding: 20px 15px;
  border-right: 1px solid var(--line);
}
.day-sequence > div:first-child {
  padding-left: 0;
}
.day-sequence > div:last-child {
  border: none;
}
.day-sequence span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.day-sequence h3 {
  font-size: 24px;
  margin: 12px 0;
}
.day-sequence p {
  font-size: 12px;
}
.course-path {
  padding: 30px 0;
  border-block: 1px solid var(--line);
  font-family: var(--display);
  font-size: 24px;
  line-height: 2;
}
.course-path span {
  margin: 0 7px;
}
.comparison-section {
  background: var(--white);
}
.table-scroll {
  overflow: auto;
  margin: 30px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 1.6;
}
th,
td {
  vertical-align: top;
  text-align: left;
  padding: 20px 17px;
  border: 1px solid var(--line);
  min-width: 145px;
}
th {
  background: var(--wash);
  font-weight: 600;
}
tbody th {
  background: transparent;
}
th:first-child,
td:first-child {
  padding-left: 14px;
  min-width: 130px;
}
td:last-child {
  background: var(--wash);
}
.close-section {
  background: #e6e6d8;
}
.close-section .section-body {
  max-width: 960px;
}
.close-section .section-body > h3 {
  font-size: 32px;
}
.close-section .section-body > h3:nth-last-of-type(2) {
  margin-top: 50px;
}
.price-selector {
  margin: 35px 0;
  border-block: 1px solid var(--ink);
  padding: 25px 0;
}
.price-selector > label {
  font-size: 13px;
  margin-right: 20px;
}
.price-selector > select {
  border: 1px solid var(--ink);
  padding: 8px 25px 8px 12px;
  background: transparent;
  font-size: 13px;
}
.price-comparison {
  display: grid;
  grid-template-columns: 1fr 45px 1fr;
  align-items: center;
  margin: 25px 0;
}
.price-comparison div > span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}
.price-comparison s {
  font-family: var(--display);
  font-size: 65px;
  color: var(--muted);
  text-decoration-thickness: 1px;
}
.price-comparison strong {
  font-family: var(--display);
  font-size: 95px;
  line-height: 1.2;
  font-weight: 500;
}
.price-selector > p {
  font-size: 13px;
}
.close-section ul {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 35px;
}
.close-section li {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 14px;
}
.fit-section {
  background: var(--ink);
  color: var(--paper);
  --muted: #d0d4c9;
  --line: #61716b;
}
.fit-section li {
  font-size: 14px;
  margin-bottom: 20px;
}
.final-section .section-body > h3 {
  font-size: 33px;
  margin-top: 50px;
}
.site-footer {
  max-width: 1440px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding: 65px var(--pad) 25px;
}
.site-footer > div > a:not(.brand) {
  display: block;
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.site-footer p {
  font-size: 12px;
  margin-top: 15px;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  color: var(--muted);
}
.page-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px var(--pad) 50px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.page-intro h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  max-width: 950px;
}
.page-intro > p {
  max-width: 660px;
  font-size: 18px;
  margin-top: 25px;
}
.terms-copy {
  max-width: 850px;
  margin: auto;
  padding: 0 var(--pad) 80px;
}
.terms-copy h2,
.terms-copy h3 {
  font-size: 33px;
  margin: 40px 0 20px;
}
.form-page {
  max-width: 850px;
  margin: auto;
  padding: 0 var(--pad) 80px;
}
.application-layout {
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--pad) 80px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 65px;
}
.application-offer h3 {
  font-size: 26px;
  margin: 25px 0 15px;
}
.application-offer p {
  font-size: 14px;
}
.application-offer > h3:first-child {
  display: none;
}
.application-form,
.check-intro-layout form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}
.field {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 25px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  min-height: 48px;
  padding: 11px 12px;
  margin-top: 9px;
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
}
.field input:focus,
.field select:focus {
  border-color: var(--ink);
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
fieldset {
  border: 0;
  margin: 0 0 30px;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  margin-bottom: 13px;
  line-height: 1.65;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  cursor: pointer;
}
.choice input {
  margin-top: 5px;
  accent-color: var(--ink);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}
.form-status:not(:empty) {
  border: 1px solid var(--line);
  padding: 15px;
  margin-top: 20px;
  font-size: 14px;
}
.form-status.error,
.group-error {
  color: #9b2727;
}
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.application-form > .small,
.form-page form > .small {
  margin-top: 20px;
}
.calendar {
  margin: 35px 0;
}
.calendar h2 {
  font-size: 35px;
  margin: 0 0 15px;
}
.calendar-heading > p {
  font-size: 13px;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 25px 0;
}
.calendar-days button {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 75px;
  padding: 8px;
  font-size: 12px;
}
.calendar-days button span {
  display: block;
}
.calendar-days button strong {
  display: block;
  font-size: 24px;
  font-family: var(--display);
}
.calendar-days button[aria-pressed="true"],
.calendar-times button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.calendar-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.calendar-times button {
  padding: 12px 5px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
}
.calendar-times button:disabled {
  opacity: 0.45;
  text-decoration: line-through;
}
.check-intro-layout {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: 0 var(--pad) 90px;
}
.check-intro-layout h2 {
  font-size: 42px;
  margin-bottom: 25px;
}
.topic-list {
  list-style: decimal-leading-zero;
  margin: 30px 0;
  padding-left: 30px;
}
.topic-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 15px 12px;
  font-size: 14px;
}
.check-workspace {
  max-width: 850px;
  min-height: 65vh;
  margin: auto;
  padding: 60px var(--pad) 90px;
}
.check-workspace h1 {
  font-size: 58px;
  margin-bottom: 30px;
}
.check-workspace h2 {
  font-size: 36px;
}
.check-progress {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
}
.check-track {
  height: 3px;
  background: var(--line);
  margin: -1px 0 35px;
}
.check-track span {
  display: block;
  height: 3px;
  background: var(--ink);
}
.question-title {
  font-family: var(--display);
  font-size: 38px;
  margin-bottom: 30px;
  line-height: 1.2;
}
.question-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.question-choices label {
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: 19px;
}
.question-choices label:has(input:checked) {
  background: var(--wash);
  border: 2px solid var(--ink);
  padding: 17px;
}
.question-choices label:nth-last-child(-n + 2) {
  font-size: 13px;
}
.question-choices input {
  accent-color: var(--ink);
}
.check-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}
.check-navigation .button:disabled {
  opacity: 0.35;
}
.child-result {
  padding: 35px;
  background: var(--wash);
  border: 1px solid var(--line);
  margin: 30px 0;
}
.result-summary {
  font-size: 20px;
  line-height: 1.6;
}
.link-box {
  background: var(--white);
  padding: 22px;
  border: 1px solid var(--line);
  margin: 25px 0;
}
.link-box input {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 12px;
  margin: 10px 0 16px;
}
.results-page {
  max-width: 1000px;
  margin: auto;
  padding: 60px var(--pad) 80px;
}
.results-page h1 {
  font-size: 62px;
  margin-bottom: 25px;
}
.results-page > h2 {
  font-size: 36px;
  margin: 40px 0 20px;
}
.result-topic {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
}
.result-topic h2 {
  font-size: 31px;
  margin-bottom: 15px;
}
.result-topic p {
  font-size: 14px;
}
.counts {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.result-bars {
  display: flex;
  height: 6px;
  margin-top: 20px;
  background: var(--wash);
}
.result-bars i {
  background: var(--ink);
}
.result-bars i:nth-child(2) {
  background: #bc8964;
}
.result-bars i:nth-child(3) {
  background: #a3aa9a;
}
.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: #1e2927;
  color: #fff;
  padding: 10px var(--pad);
  font-size: 11px;
}
.preview-bar a {
  color: #fff;
}
.design-grid {
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--pad) 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.design-card {
  text-decoration: none;
}
.design-swatch {
  aspect-ratio: 1/1.08;
  background: #ecebdf;
  border: 1px solid #c9cdc0;
  padding: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.design-swatch > span {
  font-size: 12px;
}
.design-swatch > strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.swatch-rule {
  width: 100%;
  height: 45px;
  border-block: 1px solid currentColor;
  background: none;
}
.design-card h2 {
  font-size: 28px;
  margin: 25px 0 15px;
}
.design-card p {
  font-size: 13px;
}
.design-clarity .design-swatch {
  background: #1645bd;
  color: #fff;
}
.design-clarity .design-swatch > strong {
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.design-studio .design-swatch {
  background: #f2e6ce;
  color: #24553f;
}
.design-studio .design-swatch > strong {
  font-family: "Literata", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 52px);
}
.design-note {
  max-width: 1000px;
  margin: auto;
  padding: 0 var(--pad) 80px;
}
.design-note h2 {
  font-size: 37px;
  margin-bottom: 20px;
}
/* B: confident, open geometry, cobalt and a typographic grid. */
[data-theme="clarity"] {
  --paper: #fff;
  --white: #fff;
  --ink: #162e52;
  --accent: #174ed2;
  --wash: #eff3fa;
  --line: #ccd5e3;
  --display: "DM Sans", Arial, sans-serif;
}
[data-theme="clarity"] h1 {
  font-weight: 500;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
[data-theme="clarity"] h2 {
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
[data-theme="clarity"] .hero {
  padding-top: 35px;
}
[data-theme="clarity"] .hero-rule {
  color: var(--accent);
  margin-bottom: 48px;
}
[data-theme="clarity"] .hero h1 {
  max-width: 1140px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 40px;
}
[data-theme="clarity"] .hero-grid {
  grid-template-columns: 1fr 1fr;
}
[data-theme="clarity"] .math-art {
  background: #174ed2;
  color: #fff;
  border: none;
  transform: none;
  padding: 35px;
  --accent: #fff;
  --line: #ffffff70;
}
[data-theme="clarity"] .math-art .art-fill {
  opacity: 0.7;
}
[data-theme="clarity"] .hero .button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
[data-theme="clarity"] .teaching-section {
  background: #eff3fa;
  color: var(--ink);
  --line: #ccd5e3;
  --muted: #4e6180;
}
[data-theme="clarity"] .video-placeholder {
  background: #174ed2;
  color: #fff;
}
[data-theme="clarity"] .section-inner {
  grid-template-columns: 1fr 1.8fr;
  gap: 70px;
}
[data-theme="clarity"] .section-heading h2 {
  border-top: 3px solid var(--accent);
  padding-top: 25px;
}
[data-theme="clarity"] .close-section {
  background: #174ed2;
  color: white;
  --line: #6584d4;
  --muted: #e3e9ff;
  --ink: #fff;
  --paper: #174ed2;
  --wash: #295bd2;
}
[data-theme="clarity"] .price-comparison strong {
  font-size: 80px;
  letter-spacing: -0.06em;
}
[data-theme="clarity"] .close-section .button {
  background: #fff;
  color: #174ed2;
}
[data-theme="clarity"] .close-section select {
  color: #fff;
}
[data-theme="clarity"] .close-section option {
  color: #162e52;
}
[data-theme="clarity"] .brand {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
[data-theme="clarity"] blockquote p {
  font-size: 23px;
  line-height: 1.45;
}
[data-theme="clarity"] .team-person h3 {
  font-size: 23px;
}
/* C: a warm, tactile learning studio with a centered editorial opening. */
[data-theme="studio"] {
  --paper: #fbf5e9;
  --white: #fffaf0;
  --ink: #24553f;
  --accent: #a05b2c;
  --wash: #eee3cc;
  --line: #cdc9b2;
  --display: "Literata", Georgia, serif;
}
[data-theme="studio"] .site-header {
  border-bottom: 0;
}
[data-theme="studio"] .brand {
  font-size: 25px;
}
[data-theme="studio"] h1 {
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1.16;
  letter-spacing: -0.055em;
}
[data-theme="studio"] h2 {
  font-size: clamp(29px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
[data-theme="studio"] h3 {
  font-size: 24px;
}
[data-theme="studio"] .hero {
  padding-top: 10px;
}
[data-theme="studio"] .hero-rule {
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 48px;
}
[data-theme="studio"] .hero h1 {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto 45px;
}
[data-theme="studio"] .hero-eyebrow {
  text-align: center;
}
[data-theme="studio"] .hero-grid {
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  max-width: 1110px;
  margin: auto;
}
[data-theme="studio"] .math-art {
  transform: rotate(2deg);
  background: #e9d4a9;
  border: 0;
  margin-top: 25px;
}
[data-theme="studio"] .teaching-section {
  background: #24553f;
  --line: #658772;
  --muted: #dddcc8;
  --wash: #325f49;
}
[data-theme="studio"] .video-placeholder {
  background: #365f4b;
}
[data-theme="studio"] .narrative-section {
  padding-block: 100px;
}
[data-theme="studio"] .close-section {
  background: #eddbb3;
}
[data-theme="studio"] .section-inner {
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 75px;
}
[data-theme="studio"] .button {
  padding: 16px 25px;
}
[data-theme="studio"] .price-comparison strong {
  font-size: 80px;
}
[data-theme="studio"] blockquote p {
  font-size: 23px;
  line-height: 1.5;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 91px;
  }
  .hero {
    padding-top: 35px;
  }
  .hero-grid {
    gap: 110px;
  }
}
@media (max-width: 1000px) {
  .site-header nav {
    gap: 20px;
  }
  .section-inner,
  [data-theme="clarity"] .section-inner,
  [data-theme="studio"] .section-inner {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
  }
  .hero-grid,
  [data-theme="studio"] .hero-grid {
    gap: 40px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .brand {
    font-size: 26px;
  }
  .site-header nav {
    font-size: 11px;
  }
  .application-layout {
    gap: 35px;
  }
  .application-form {
    padding: 23px;
  }
  .lesson-panel {
    gap: 25px;
  }
  .record-grid {
    gap: 20px;
  }
  .record-grid article {
    padding: 25px;
  }
  .check-intro-layout {
    gap: 40px;
  }
  .day-sequence {
    grid-template-columns: 1fr;
  }
  .day-sequence > div {
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
  }
  .design-grid {
    gap: 17px;
  }
  .video-caption {
    display: block;
  }
  .video-caption span {
    display: block;
    margin-top: 10px;
  }
  .goal-card dl > div,
  .weekly-report dl > div {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.component-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.component-item h3 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 13px;
  line-height: 1.5;
}
.component-item p {
  font-size: 14px;
}
.risk-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  border-block: 1px solid var(--line);
  padding: 28px 0;
  margin: 25px 0;
}
.risk-panel p {
  font-size: 13px;
  margin: 0;
}
.risk-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
}
.result-offer {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.result-offer h2 {
  margin-bottom: 25px;
}
[data-theme="studio"] .section-inner {
  display: block;
}
[data-theme="studio"] .section-heading h2 {
  position: static;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
[data-theme="studio"] .section-body {
  max-width: 920px;
  margin: auto;
}
[data-theme="studio"] .hero-grid {
  grid-template-columns: 1fr 1.15fr;
}
[data-theme="studio"] .hero-prose {
  grid-column: 2;
  grid-row: 1;
}
[data-theme="studio"] .math-art {
  grid-column: 1;
  grid-row: 1;
}
[data-theme="studio"] .component-item h3 {
  font-family: var(--display);
  font-size: 25px;
}
[data-theme="studio"] .hero-eyebrow h3,
.hero-eyebrow p {
  font-size: 12px;
}
[data-theme="clarity"] .math-art .art-fill {
  fill: white;
}
[data-theme="clarity"] .math-art .art-fill-alt {
  fill: white;
}
.result-calendar {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
#check-optin h3 {
  margin: 30px 0 20px;
}
.design-card,
.design-swatch,
.price-comparison > div {
  min-width: 0;
}
.price-comparison {
  grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr);
}
@media (max-width: 760px) {
  :root {
    --pad: 23px;
  }
  body {
    font-size: 15px;
  }
  .site-header {
    min-height: 83px;
    padding-block: 20px;
    position: relative;
  }
  .brand,
  [data-theme="clarity"] .brand,
  [data-theme="studio"] .brand {
    font-size: 25px;
  }
  .brand svg {
    width: 28px;
    height: 32px;
  }
  .menu-toggle {
    display: block;
    font-size: 12px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .site-header nav.open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .hero {
    padding-top: 20px;
    padding-bottom: 55px;
  }
  .hero-rule {
    font-size: 8px;
    letter-spacing: 0.07em;
    margin-bottom: 35px;
    gap: 10px;
  }
  .hero-rule span:first-child {
    max-width: 200px;
  }
  .hero-eyebrow h3,
.hero-eyebrow p {
    font-size: 10px;
    line-height: 1.65;
  }
  .hero h1,
  [data-theme="clarity"] .hero h1,
  [data-theme="studio"] .hero h1 {
    font-size: clamp(39px, 7.8vw, 59px);
    line-height: 1.07;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
  }
  .hero-grid,
  [data-theme="clarity"] .hero-grid,
  [data-theme="studio"] .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-prose {
    max-width: none;
  }
  .hero-prose > p {
    font-size: 15px;
    line-height: 1.75;
  }
  .hero-prose > p:first-child {
    font-size: 18px;
  }
  .hero-actions {
    gap: 15px;
  }
  .math-art {
    position: static;
    max-width: 480px;
    width: calc(100% - 12px);
    margin: 10px auto;
    transform: rotate(-1deg);
  }
  .math-art svg {
    max-height: 285px;
  }
  .hero-actions > .cta-row {
    width: 100%;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions > .cta-row:nth-of-type(2) .button {
    width: auto;
  }
  .narrative-section,
  [data-theme="studio"] .narrative-section {
    padding: 55px var(--pad);
  }
  .section-inner,
  [data-theme="clarity"] .section-inner,
  [data-theme="studio"] .section-inner {
    display: block;
  }
  .section-heading h2 {
    position: static;
    max-width: none;
    margin-bottom: 28px;
    font-size: 38px;
  }
  .section-body > h3 {
    font-size: 26px;
  }
  .section-body > p {
    font-size: 15px;
  }
  .video-placeholder {
    padding: 25px 20px;
    min-height: 260px;
    margin-block: 30px;
  }
  .video-diagram {
    font-size: 64px;
    gap: 23px;
    padding: 25px 0;
  }
  .video-equal {
    font-size: 27px;
  }
  .video-caption {
    font-size: 11px;
  }
  .explanations {
    padding: 22px 18px;
    margin-inline: -6px;
  }
  .lesson-tabs {
    gap: 16px;
  }
  .lesson-tabs button {
    font-size: 12px;
  }
  .lesson-panel {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0;
  }
  .lesson-copy h3 {
    font-size: 30px;
  }
  .fraction-model {
    padding: 8px 0;
  }
  .fraction-model b {
    font-size: 11px;
  }
  .fraction-sum {
    font-size: 27px;
  }
  .fresh-options {
    width: 100%;
  }
  .fresh-options button {
    flex: 1;
  }
  .fresh-question p {
    font-size: 18px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  blockquote {
    padding: 22px 0;
  }
  blockquote + blockquote {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  blockquote p {
    font-size: 26px;
  }
  .prerequisite {
    gap: 9px;
  }
  .prerequisite > div {
    min-width: 70px;
  }
  .prerequisite strong {
    font-size: 19px;
  }
  .prerequisite div span {
    font-size: 9px;
  }
  .exchange {
    padding: 20px 16px;
  }
  .exchange-row {
    grid-template-columns: 65px 1fr;
    gap: 10px;
  }
  .exchange-row span {
    font-size: 9px;
  }
  .exchange-row p {
    font-size: 13px;
  }
  .goal-card,
  .weekly-report {
    padding: 22px 18px;
  }
  .goal-card dl > div,
  .weekly-report dl > div,
  .course-record dl > div {
    grid-template-columns: 90px 1fr;
    gap: 12px;
    font-size: 12px;
  }
  .goal-card h3 {
    font-size: 28px;
  }
  .report-top h3 {
    font-size: 28px;
  }
  .report-top > span {
    font-size: 10px;
  }
  .email-sample {
    margin-left: 10px;
    padding: 22px;
  }
  .team-grid {
    gap: 13px;
  }
  .portrait {
    height: 145px;
    padding-top: 18px;
  }
  .team-person h3,
  [data-theme="clarity"] .team-person h3 {
    font-size: 21px;
  }
  .team-person p {
    font-size: 10px;
    line-height: 1.5;
  }
  .team-person .small {
    font-size: 9px;
  }
  .record-grid {
    grid-template-columns: 1fr;
  }
  .record-grid h3 {
    font-size: 34px;
  }
  .close-section ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .price-comparison {
    grid-template-columns: 1fr 25px 1fr;
    gap: 8px;
  }
  .price-comparison s {
    font-size: 44px;
  }
  .price-comparison strong,
  [data-theme="clarity"] .price-comparison strong,
  [data-theme="studio"] .price-comparison strong {
    font-size: 61px;
  }
  .price-comparison div > span {
    font-size: 9px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    min-height: 28px;
  }
  .price-selector > label {
    font-size: 12px;
    margin-right: 8px;
  }
  .close-section .section-body > h3 {
    font-size: 28px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 45px;
  }
  .site-footer > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer > div > a:not(.brand) {
    font-size: 11px;
  }
  .site-footer .footer-bottom {
    font-size: 10px;
  }
  .page-intro {
    padding-top: 45px;
    padding-bottom: 35px;
  }
  .page-intro h1 {
    font-size: 47px;
  }
  .page-intro > p {
    font-size: 16px;
  }
  .application-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .application-offer > p {
    font-size: 14px;
  }
  .application-form {
    padding: 22px 18px;
    margin-inline: -5px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .choice {
    font-size: 13px;
  }
  .calendar-times {
    grid-template-columns: repeat(3, 1fr);
  }
  .calendar-days {
    gap: 5px;
  }
  .calendar-days button {
    font-size: 10px;
    padding: 7px 3px;
  }
  .calendar-days button strong {
    font-size: 20px;
  }
  .check-intro-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .check-intro-layout form {
    padding: 25px 18px;
    margin-inline: -5px;
  }
  .check-workspace {
    padding-top: 35px;
  }
  .check-workspace h1 {
    font-size: 46px;
  }
  .question-title {
    font-size: 31px;
  }
  .question-choices label {
    padding: 15px;
    font-size: 18px;
  }
  .question-choices label:has(input:checked) {
    padding: 14px;
  }
  .question-choices label:nth-last-child(-n + 2) {
    font-size: 12px;
  }
  .check-progress {
    font-size: 10px;
    gap: 10px;
  }
  .check-navigation .button {
    padding: 13px 16px;
  }
  .results-page h1 {
    font-size: 46px;
  }
  .result-topic {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .result-topic h2 {
    font-size: 29px;
  }
  .preview-bar {
    font-size: 9px;
    padding: 10px 18px;
    gap: 12px;
  }
  .design-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    gap: 40px;
  }
  .design-swatch {
    aspect-ratio: 1.3;
  }
  .design-swatch > strong {
    font-size: 64px;
  }
  .design-studio .design-swatch > strong {
    font-size: 51px;
  }
  .design-card h2 {
    font-size: 33px;
  }
  .design-card p {
    font-size: 14px;
  }
  [data-theme="studio"] .hero-eyebrow {
    text-align: left;
  }
  [data-theme="studio"] .hero h1 {
    text-align: left;
  }
  [data-theme="studio"] .hero-rule {
    margin-bottom: 35px;
  }
  [data-theme="clarity"] .hero h1 {
    padding-bottom: 30px;
  }
  [data-theme="clarity"] .section-heading h2 {
    padding-top: 20px;
  }
  .form-page,
  .terms-copy {
    padding-bottom: 55px;
  }
  .button {
    font-size: 12px;
    gap: 15px;
  }
  .hero-actions p {
    font-size: 12px;
  }
  .risk-panel {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  [data-theme="studio"] .section-heading h2 {
    text-align: left;
    margin-bottom: 28px;
  }
  [data-theme="studio"] .hero-grid {
    grid-template-columns: 1fr;
  }
  [data-theme="studio"] .hero-prose {
    grid-column: 1;
    grid-row: 1;
  }
  [data-theme="studio"] .math-art {
    grid-column: 1;
    grid-row: 2;
  }
  [data-theme="studio"] .hero-eyebrow h3,
.hero-eyebrow p {
    font-size: 10px;
  }
  [data-theme="studio"] .hero h1 {
    text-align: left;
  }
  .design-swatch > strong {
    font-size: clamp(38px, 12.5vw, 58px);
  }
  .design-studio .design-swatch > strong {
    font-size: clamp(32px, 10vw, 48px);
  }
  .price-comparison {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  }
  [data-theme="clarity"] .price-comparison strong,
  [data-theme="studio"] .price-comparison strong {
    font-size: clamp(43px, 13vw, 61px);
  }
  .price-comparison s {
    font-size: clamp(33px, 10.5vw, 44px);
  }
}
.sample-plan dt {
  font-weight: 600;
  margin-top: 24px;
}
.sample-plan dd {
  margin-top: 6px;
}
@media print {
  .site-header,
  .site-footer,
  .preview-bar,
  .result-actions,
  .link-box,
  .result-offer,
  .clear-device {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 11px;
  }
  .results-page {
    padding: 0;
  }
  .results-page h1 {
    font-size: 28px;
  }
  .result-topic {
    break-inside: avoid;
    padding: 15px 0;
  }
  .result-topic h2 {
    font-size: 20px;
  }
  .result-topic p {
    font-size: 11px;
  }
  .sample-plan .button,
  .sample-plan a {
    display: none;
  }
  .sample-plan {
    padding: 0;
  }
  .page-intro {
    padding: 15px 0;
  }
  .page-intro h1 {
    font-size: 32px;
  }
  .sample-plan h2 {
    font-size: 20px;
    margin: 20px 0 10px;
  }
}
/* Design study cards D–G (each design's own page carries its own stylesheet). */
.design-lecture .design-swatch {
  background: #1e2c2a;
  color: #f2eee5;
  border-color: #1e2c2a;
}
.design-lecture .design-swatch > strong {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
}
.design-lecture .swatch-rule {
  color: #e9d28b;
}
.design-elements .design-swatch {
  background: #f7f2e8;
  color: #151413;
  border-color: #151413;
}
.design-elements .design-swatch > strong {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
}
.design-elements .swatch-rule {
  color: #d63b2f;
}
.design-workbook .design-swatch {
  background-color: #fcfbf7;
  background-image:
    linear-gradient(#dbe2ee 1px, transparent 1px), linear-gradient(90deg, #dbe2ee 1px, transparent 1px);
  background-size: 24px 24px;
  color: #2a2d34;
  border-color: #b5bccb;
}
.design-workbook .design-swatch > strong {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.design-workbook .swatch-rule {
  color: #d0312d;
}
.design-instrument .design-swatch {
  background: #efe8da;
  color: #111a2b;
  border-color: #a8834f;
  outline: 1px solid #a8834f;
  outline-offset: 3px;
}
.design-instrument .design-swatch > strong {
  font-family: "Bodoni Moda", Didot, "Times New Roman", serif;
  font-weight: 400;
}
.design-instrument .swatch-rule {
  color: #a8834f;
}

/* Real profile photos; initials remain for team members without a photo. */
.portrait.portrait-photo{padding-top:0}
.portrait-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.portrait-1.portrait-photo img{object-position:center 35%}
.review footer{display:flex;align-items:center;gap:12px}
.review-photo{display:block;flex-shrink:0;width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:center 30%}
@media(max-width:480px){
  .price-comparison{grid-template-columns:minmax(0,1fr);gap:16px}
  .price-comparison>span{display:none}
}

.result-save-status { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line, #d9dfeb); }
.result-save-status .field { margin: 1.25rem 0; max-width: 32rem; }

/* First 28 days (earlier themes): a simple three-column fallback */
.first28{margin:28px 0}.f28-track{display:none}
.f28-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.f28-step{border:1px solid currentColor;border-radius:8px;padding:20px}.f28-when{display:block;font-weight:700;margin-bottom:6px}
.f28-step ul{padding-left:18px}
@media (max-width:760px){.f28-steps{grid-template-columns:1fr}}
