:root {
  --color-bg: #fde8ef;
  --color-bg-soft: #fff6f8;
  --color-surface: #ffffff;
  --color-petal: #f7b4c9;
  --color-petal-strong: #ef6b9d;
  --color-ink: #202026;
  --color-muted: #706b72;
  --color-line: rgba(32, 32, 38, 0.12);
  --color-success: #2f7a58;
  --color-error: #b3263d;
  --shadow-soft: 0 24px 70px rgba(168, 75, 111, 0.16);
  --shadow-lift: 0 18px 36px rgba(168, 75, 111, 0.18);
  --font-display: "Montserrat", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --container: min(1120px, calc(100% - 32px));
  --radius: 8px;
  --space-section: clamp(72px, 9vw, 128px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--color-bg) 0%, #fff5f7 48%, var(--color-bg) 100%);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

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

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--color-surface);
  background: var(--color-ink);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--container);
  margin: 16px auto 0;
  padding: 12px 14px 12px 12px;
  background: rgba(255, 246, 248, 0.82);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(168, 75, 111, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.header-nav,
.header-action,
.button,
.sticky-cta {
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  background: var(--color-petal-strong);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(168, 75, 111, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.header-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--color-petal-strong);
}

.header-action {
  padding: 10px 16px;
  color: var(--color-surface);
  background: var(--color-ink);
  border-radius: 999px;
}

.section-shell {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding-block: var(--space-section);
  scroll-margin-top: 112px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.about.section-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}

.hero > *,
.section-grid > *,
.lead > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-petal-strong);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 5.75vw, 5.2rem);
  overflow-wrap: break-word;
  text-transform: uppercase;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  column-gap: clamp(24px, 5vw, 70px);
  row-gap: 22px;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-top: clamp(48px, 6vw, 92px);
  overflow-x: clip;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #3b3840;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: var(--color-surface);
  background: var(--color-petal-strong);
  box-shadow: var(--shadow-lift);
}

.button-secondary {
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--color-line);
}

.hero-stats {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
  margin: 0;
}

.hero-stats div {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  display: grid;
  width: min(430px, 100%);
  min-height: 560px;
  place-items: center;
}

.photo-frame {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 0.74;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 199, 216, 0.52)),
    var(--color-petal);
  border: 1px solid rgba(32, 32, 38, 0.1);
  border-radius: 8px 120px 8px 120px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.photo-frame::before {
  position: absolute;
  inset: 18px;
  z-index: 1;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px 100px 8px 100px;
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.photo-frame figcaption,
.photo-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-line);
  box-shadow: 0 14px 34px rgba(168, 75, 111, 0.14);
}

.photo-frame figcaption {
  left: 20px;
  bottom: 20px;
  z-index: 2;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.photo-chip {
  font-family: var(--font-display);
  font-weight: 800;
  z-index: 3;
}

.photo-chip-c1 {
  left: 0;
  top: 74px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
}

.photo-chip-online {
  right: 0;
  top: 148px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
}

.portrait-note {
  position: absolute;
  right: 0;
  bottom: 96px;
  width: min(240px, 70%);
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.portrait-note span,
.portrait-note strong {
  display: block;
}

.portrait-note span {
  margin-bottom: 5px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.portrait-note strong {
  font-family: var(--font-display);
  line-height: 1.15;
}

.flower {
  position: absolute;
  z-index: -1;
  width: 132px;
  height: 132px;
  opacity: 0.8;
  background: var(--color-petal);
  clip-path: polygon(
    50% 0%,
    62% 26%,
    91% 18%,
    74% 45%,
    100% 62%,
    69% 66%,
    72% 98%,
    50% 76%,
    28% 98%,
    31% 66%,
    0% 62%,
    26% 45%,
    9% 18%,
    38% 26%
  );
}

.flower-hero-a {
  top: 18%;
  right: 28%;
  transform: rotate(18deg);
}

.flower-hero-b {
  left: -42px;
  bottom: 12%;
  width: 220px;
  height: 220px;
  opacity: 0.32;
  transform: rotate(-10deg);
}

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

.about-intro {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 30px);
  align-items: center;
}

.about-photo {
  position: relative;
  width: min(230px, 100%);
  aspect-ratio: 0.88;
  margin: 0;
  background: var(--color-petal);
  border: 1px solid var(--color-line);
  border-radius: 50% 50% 8px 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-photo::before {
  position: absolute;
  inset: 12px;
  z-index: 1;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50% 50% 8px 8px;
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.about .section-heading h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.05rem);
}

.section-heading p:not(.eyebrow),
.method-panel p,
.lead-copy p {
  color: #45414a;
  font-size: clamp(1.02rem, 1.65vw, 1.24rem);
}

.fact-stack,
.method-list {
  display: grid;
  gap: 14px;
}

.fact-card,
.method-list article,
.price-card,
.subscription-card,
.lead-form,
blockquote {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(168, 75, 111, 0.08);
}

.fact-card {
  position: relative;
  min-height: 148px;
  padding: 24px 24px 22px 68px;
}

.card-flower {
  position: absolute;
  left: 24px;
  top: 28px;
  width: 28px;
  height: 28px;
  background: var(--color-petal-strong);
  clip-path: polygon(
    50% 0%,
    62% 26%,
    91% 18%,
    74% 45%,
    100% 62%,
    69% 66%,
    72% 98%,
    50% 76%,
    28% 98%,
    31% 66%,
    0% 62%,
    26% 45%,
    9% 18%,
    38% 26%
  );
}

.audience {
  padding-top: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.audience-grid span {
  display: flex;
  min-height: 104px;
  align-items: flex-end;
  padding: 16px;
  color: var(--color-ink);
  font-weight: 800;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.audience-grid span:nth-child(2n) {
  background: #ffc7d8;
}

.audience-grid span:nth-child(3n) {
  background: #f4d8df;
}

.method-panel {
  position: sticky;
  top: 108px;
  padding: 36px;
  color: var(--color-surface);
  background: var(--color-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.method-title {
  display: grid;
  gap: 0.04em;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 3.35vw, 3.15rem);
  line-height: 0.98;
  overflow-wrap: normal;
}

.method-title span {
  display: block;
}

.method-panel .eyebrow,
.method-panel p {
  color: #ffd9e4;
}

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

.method-list article {
  min-height: 220px;
  padding: 26px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.process-list li {
  min-height: 260px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #ffd7e3 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.process-list span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--color-petal-strong);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

blockquote {
  margin: 0;
  padding: 26px;
}

blockquote p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

cite {
  color: var(--color-muted);
  font-style: normal;
  font-weight: 800;
}

.review-gallery {
  display: grid;
  grid-auto-columns: minmax(220px, 300px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  margin-top: 18px;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
}

.review-shot {
  overflow: hidden;
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  scroll-snap-align: start;
}

.review-shot img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

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

.price-card,
.subscription-card {
  padding: clamp(22px, 4vw, 38px);
}

.price-card {
  background: #ffc1d2;
}

.price-card-accent {
  background: #facadb;
}

.price-card dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.price-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.price-card dt,
.price-card dd {
  margin: 0;
}

.price-card dd {
  font-weight: 800;
}

.subscription-card {
  grid-column: 1 / -1;
  max-width: 520px;
  justify-self: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.52);
  border: 2px solid var(--color-petal);
}

.subscription-card p {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  overflow-x: clip;
}

.flower-form {
  top: 18%;
  left: 18%;
  width: 300px;
  height: 300px;
  opacity: 0.24;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.84);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--color-muted);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--color-ink);
  background: var(--color-bg-soft);
  border: 1px solid rgba(32, 32, 38, 0.16);
  border-radius: var(--radius);
}

.lead-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
  border: 0;
}

.form-status {
  min-height: 28px;
  margin: 0;
  font-weight: 800;
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: var(--color-error);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--container);
  margin: 0 auto 92px;
  padding: 28px 0;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
}

.site-footer p {
  margin: 0;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  color: var(--color-surface);
  background: var(--color-ink);
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
}

.review-dialog {
  width: min(680px, calc(100% - 24px));
  padding: 0;
  background: transparent;
  border: 0;
}

.review-dialog::backdrop {
  background: rgba(32, 32, 38, 0.66);
  backdrop-filter: blur(8px);
}

.review-dialog img {
  width: 100%;
  max-height: 86svh;
  object-fit: contain;
  background: var(--color-surface);
  border-radius: var(--radius);
}

.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--color-surface);
  background: var(--color-ink);
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  place-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .header-nav {
    display: none;
  }

  .hero,
  .section-grid,
  .lead {
    grid-template-columns: 1fr;
  }

  .about.section-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    width: min(460px, 100%);
    min-height: 460px;
  }

  .portrait-note {
    bottom: 34px;
  }

  .method-panel {
    position: relative;
    top: auto;
  }

  .about-intro {
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  }

  .audience-grid,
  .process-list,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  :root {
    --container: min(100% - 24px, 1120px);
    --space-section: 64px;
  }

  html {
    scroll-padding-top: 18px;
  }

  .site-header {
    position: relative;
    top: 8px;
    margin-top: 10px;
    padding: 10px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 42px;
    gap: 18px;
  }

  .hero-copy,
  .hero-lead {
    width: 100%;
    max-width: calc(100vw - 22px);
  }

  .hero-lead {
    overflow-wrap: normal;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 9.1vw, 2.45rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.85rem, 9.5vw, 2.75rem);
  }

  .hero-actions,
  .hero-stats,
  .price-layout,
  .audience-grid,
  .method-list,
  .process-list,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-column: auto;
    gap: 10px;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 10px;
    padding: 14px 16px;
  }

  .hero-stats dd {
    margin: 0;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
    min-height: 0;
    margin-top: 4px;
  }

  .photo-frame {
    width: 100%;
    aspect-ratio: 1.08;
    border-radius: var(--radius);
  }

  .photo-frame::before {
    inset: 10px;
    border-radius: var(--radius);
  }

  .photo-frame img {
    object-position: 50% 20%;
  }

  .photo-frame figcaption {
    left: 12px;
    bottom: 12px;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .photo-chip-c1,
  .photo-chip-online,
  .portrait-note {
    display: none;
  }

  .method-title {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-photo {
    width: min(260px, 76vw);
  }

  .method-panel,
  .method-list article,
  .price-card,
  .subscription-card,
  .lead-form,
  blockquote,
  .fact-card {
    box-shadow: 0 10px 26px rgba(168, 75, 111, 0.08);
  }

  .method-panel {
    padding: 28px 24px;
  }

  .flower-hero-a,
  .flower-hero-b,
  .flower-form {
    display: none;
  }

  .fact-card {
    padding-left: 58px;
  }

  .audience-grid span,
  .method-list article,
  .process-list li {
    min-height: auto;
  }

  .site-footer {
    display: grid;
    margin-bottom: 24px;
  }

  .sticky-cta {
    display: none;
  }
}

/* Student review carousel */
.reviews .section-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.reviews .section-heading .eyebrow {
  justify-content: center;
}

.student-reviews {
  margin-top: clamp(36px, 6vw, 76px);
}

.reviews-note {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  text-align: center;
}

.reviews-viewport {
  overflow: hidden;
  padding: 8px 4px 24px;
  outline: none;
  touch-action: pan-y;
}

.reviews-viewport:focus-visible {
  border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(239, 107, 157, 0.24);
}

.reviews-track {
  display: flex;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.reviews-page {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.student-review-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 156, 180, 0.62);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(128, 56, 84, 0.09);
}

.student-review-card::after {
  position: absolute;
  right: 18px;
  bottom: -28px;
  color: rgba(239, 107, 157, 0.08);
  content: "\201D";
  font-family: Georgia, serif;
  font-size: 11rem;
  line-height: 1;
  pointer-events: none;
}

.review-card-top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--color-surface);
  background: var(--color-petal-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 900;
  place-items: center;
}

.review-card-top div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.review-card-top strong,
.review-card-top div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card-top strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.review-card-top div span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.review-number {
  color: rgba(32, 32, 38, 0.34);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 900;
}

.review-stars {
  margin-top: 22px;
  color: var(--color-petal-strong);
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.review-text {
  position: relative;
  z-index: 1;
  margin: 17px 0 24px;
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.58;
}

.student-review-card footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-review-card footer span {
  display: grid;
  width: 20px;
  height: 20px;
  color: var(--color-surface);
  background: var(--color-petal-strong);
  border-radius: 50%;
  font-size: 0.68rem;
  place-items: center;
}

.reviews-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.reviews-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.reviews-proof strong {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.reviews-proof span::before {
  margin-right: 8px;
  color: var(--color-petal-strong);
  content: "\2022";
}

.reviews-navigation {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  align-items: center;
}

.reviews-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.reviews-arrow:hover {
  color: var(--color-surface);
  background: var(--color-ink);
  transform: translateY(-2px);
}

.reviews-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.reviews-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(32, 32, 38, 0.22);
  border: 0;
  border-radius: 50%;
  transition: width 180ms ease, background-color 180ms ease;
}

.reviews-dot.is-active {
  width: 22px;
  background: var(--color-petal-strong);
  border-radius: 999px;
}

@media (max-width: 920px) {
  .student-review-card {
    min-height: 430px;
    padding: 20px;
  }

  .review-text {
    font-size: 0.94rem;
  }
}

@media (max-width: 760px) {
  .student-reviews {
    margin-top: 32px;
  }

  .reviews-note {
    margin-bottom: 14px;
    font-size: 0.88rem;
  }

  .reviews-page {
    grid-template-columns: 1fr;
  }

  .student-review-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .review-text {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .reviews-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-proof {
    justify-content: center;
  }

  .reviews-navigation {
    justify-content: space-between;
  }

  .reviews-dots {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track,
  .reviews-arrow,
  .reviews-dot {
    transition: none;
  }
}

@media (min-width: 761px) {
  .reviews-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .reviews-proof {
    grid-column: 1;
  }

  .reviews-navigation {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .reviews-proof span {
    display: none;
  }

  .reviews-navigation {
    padding-inline: 4px;
  }
}

/* Interactive learning platform */
.process + .learning-platform {
  padding-top: 0;
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  color: var(--color-surface);
  background: var(--color-ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(64, 29, 43, 0.2);
}

.platform-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.platform-eyebrow {
  margin: 0 0 18px;
  color: var(--color-petal);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-intro h2 {
  max-width: 560px;
  margin: 0;
  color: var(--color-surface);
  font-size: 3.15rem;
  line-height: 1.02;
}

.platform-intro > p:not(.platform-eyebrow) {
  max-width: 520px;
  margin: 28px 0 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.platform-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
  color: var(--color-petal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.platform-meta span + span::before {
  margin-right: 18px;
  color: var(--color-petal-strong);
  content: "\2022";
}

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

.platform-features article {
  position: relative;
  min-height: 220px;
  padding: 34px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.platform-features article:nth-child(2n) {
  border-right: 0;
}

.platform-features article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.platform-index {
  display: block;
  margin-bottom: 42px;
  color: var(--color-petal-strong);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
}

.platform-features h3 {
  max-width: 260px;
  margin: 0 0 10px;
  color: var(--color-surface);
  font-size: 1.15rem;
}

.platform-features p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .platform-panel {
    grid-template-columns: 1fr;
  }

  .platform-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 660px) {
  .platform-intro {
    padding: 30px 24px;
  }

  .platform-intro h2 {
    font-size: 2.15rem;
  }

  .platform-intro > p:not(.platform-eyebrow) {
    margin: 22px 0 28px;
  }

  .platform-meta {
    display: grid;
    gap: 6px;
  }

  .platform-meta span + span::before {
    margin-right: 9px;
  }

  .platform-features {
    grid-template-columns: 1fr;
  }

  .platform-features article {
    min-height: 0;
    padding: 26px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .platform-features article:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .platform-index {
    margin-bottom: 20px;
  }
}

.platform-meta span {
  white-space: nowrap;
}

