/*
Theme Name: RIN-to Clean LP
Theme URI: https://rin-to.typesinc.com/
Author: RIN-to
Description: RIN-to ライティングスクールのLP専用クリーンテーマ。
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: rinto-clean
*/

:root {
  --ink: #2d2522;
  --muted: #756964;
  --paper: #fffaf4;
  --cream: #f8efe6;
  --rose-bg: #fff1ee;
  --rose: #c76673;
  --rose-dark: #a94d5a;
  --gold: #d7ad82;
  --white: #fff;
  --line: rgba(45, 37, 34, .1);
  --shadow: 0 18px 46px rgba(88, 62, 52, .1);
  --radius: 8px;
  --inner: 1120px;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --serif: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

body.no-scroll,
body.splash-active {
  overflow: hidden;
}

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

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

.inner {
  margin: 0 auto;
  max-width: var(--inner);
  width: min(100% - 48px, var(--inner));
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  gap: 18px;
  justify-content: center;
  min-height: 54px;
  padding: 13px 28px;
  transition: transform .2s ease, background .2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #bd5865, #d47a84);
  box-shadow: 0 16px 34px rgba(189, 88, 101, .24);
  color: var(--white);
}

.section-kicker {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.55;
  margin: 0;
}

.section-lead {
  color: var(--muted);
  line-height: 2;
  margin: 18px 0 0;
}

.site-header {
  background: rgba(255, 250, 244, .92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 78px;
  padding: 0 28px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  line-height: 1;
}

.brand-ja {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.brand-main {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .12em;
}

.brand-sub {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .24em;
  margin-left: 36px;
}

.brand-divider {
  background: var(--ink);
  height: 42px;
  opacity: .42;
  width: 1px;
}

.brand-en {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .22em;
  line-height: 1.65;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a:not(.button) {
  color: var(--muted);
}

.button-small {
  font-size: 13px;
  min-height: 42px;
  padding: 9px 20px;
}

.nav-toggle {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  display: none;
  height: 42px;
  position: relative;
  width: 42px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: 12px;
  position: absolute;
  transition: transform .2s ease;
  width: 18px;
}

.nav-toggle span {
  top: 20px;
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle::after {
  top: 26px;
}

.nav-toggle.is-open span {
  transform: scaleX(0);
}

.nav-toggle.is-open::before {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle.is-open::after {
  top: 20px;
  transform: rotate(-45deg);
}

.splash {
  align-items: center;
  background: linear-gradient(135deg, #fffaf4 0%, #fff 70%);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  position: fixed;
  transition: opacity .8s ease, visibility .8s ease;
  visibility: visible;
  z-index: 9999;
}

.splash.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.splash-stage {
  height: min(260px, 52vw);
  position: relative;
  width: min(360px, 72vw);
}

.splash-plane,
.splash-logo {
  left: 50%;
  position: absolute;
  top: 50%;
}

.splash-plane {
  animation: planeFly 1.65s cubic-bezier(.32, .02, .18, 1) .2s forwards;
  opacity: 0;
  transform-origin: 70% 42%;
  width: min(210px, 44vw);
}

.splash-logo {
  animation: logoReveal 1.15s ease 1.55s forwards;
  opacity: 0;
  transform: translate(-50%, -42%) scale(.94);
  width: min(300px, 62vw);
}

@keyframes planeFly {
  0% { opacity: 0; transform: translate(-90vw, 18vh) rotate(-18deg) scale(.7); }
  18% { opacity: 1; }
  60% { opacity: 1; transform: translate(-50%, -50%) rotate(5deg) scale(1); }
  100% { opacity: 0; transform: translate(42vw, -38vh) rotate(24deg) scale(.42); }
}

@keyframes logoReveal {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hero {
  background: var(--paper);
  height: calc(100svh - 78px);
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: rgba(255, 250, 244, .78);
  border-radius: 0 0 58% 0;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 52%;
  z-index: 1;
}

.hero-photo {
  bottom: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  z-index: 0;
}

.hero-photo::after {
  background: linear-gradient(90deg, rgba(255, 250, 244, .74), transparent 24%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.hero-inner {
  align-items: center;
  display: flex;
  height: 100%;
  padding: 34px 28px 78px 64px;
  position: relative;
  width: 56%;
  z-index: 2;
}

.hero-copy-area {
  max-width: 620px;
}

.hero-kicker {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .28em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.55vw, 50px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.28;
  margin: 0;
}

.hero h1 span {
  color: var(--rose);
}

.hero-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.85vw, 28px);
  letter-spacing: .06em;
  line-height: 1.45;
  margin: 16px 0 0;
}

.hero-description {
  font-family: var(--serif);
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: .06em;
  margin: 10px 0 0;
}

.hero-description span {
  color: var(--rose);
  font-weight: 700;
}

.hero-badges {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 16px;
  width: min(510px, 100%);
}

.hero-badge-item {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(248, 229, 224, .72);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 10px;
  text-align: center;
}

.hero-badge-item p {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.55;
  margin: 8px 0 0;
}

.hero-badge-image {
  height: 76px;
  object-fit: contain;
  width: 86px;
}

.hero-button {
  font-family: var(--serif);
  font-size: clamp(16px, 1.28vw, 19px);
  justify-content: center;
  min-height: 56px;
  padding: 13px 28px 13px 38px;
  position: relative;
  width: min(430px, 100%);
}

.hero-button span {
  position: absolute;
  right: 28px;
}

.hero-note {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 0 44px;
}

.hero-side {
  bottom: 16%;
  position: absolute;
  right: 9%;
  z-index: 2;
}

.script-message {
  color: rgba(201, 101, 114, .82);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.1;
  margin: 0;
  transform: rotate(-4deg);
}

.hero-bottom {
  background: rgba(255, 250, 244, .94);
  border-radius: 55% 0 0 0 / 42% 0 0 0;
  bottom: 0;
  padding: 22px 36px;
  position: absolute;
  right: 0;
  width: 50%;
  z-index: 3;
}

.hero-bottom p {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 22px);
  letter-spacing: .08em;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

.lp-section {
  padding: 74px 0;
}

.problem {
  background: var(--white);
}

.problem-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr);
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
}

.image-frame img {
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  width: 100%;
}

.problem-image {
  aspect-ratio: 1.18 / 1;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.check-list li {
  background: #fff8f2;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(92, 58, 49, .08);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  padding: 15px 18px 15px 44px;
  position: relative;
}

.check-list li::before {
  color: var(--rose);
  content: "✓";
  font-weight: 900;
  left: 20px;
  position: absolute;
}

.future {
  background: linear-gradient(90deg, #fff8f4 0%, #fff8f4 58%, #fff 58%, #fff 100%);
}

.future-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
}

.future-copy {
  text-align: center;
}

.mini-points {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.mini-points span {
  background: rgba(255, 255, 255, .78);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(201, 101, 114, .08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
}

.section-head {
  margin: 0 auto 40px;
  max-width: 760px;
  text-align: center;
}

.section-head-left {
  margin-left: 0;
  text-align: left;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

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

.content-card,
.price-card-clean {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.content-card img {
  aspect-ratio: 1.62 / 1;
  height: auto;
  max-height: 190px;
  object-fit: cover;
  width: 100%;
}

.card-number {
  color: #e2a06e;
  display: block;
  font-family: var(--serif);
  font-size: 30px;
}

.content-card h3,
.month-card h3,
.flow-list h3,
.price-card-clean h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.content-card h3 {
  font-size: 24px;
}

.content-card strong {
  color: var(--rose);
  display: block;
  margin: 6px 0 10px;
}

.content-card p,
.month-card p,
.flow-list p,
.price-card-clean li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.curriculum {
  background: linear-gradient(90deg, #fff 0%, #fff 46%, #fff8f4 46%, #fff8f4 100%);
}

.curriculum-grid {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(320px, .74fr) minmax(0, 1fr);
}

.curriculum-head {
  padding-top: 18px;
}

.curriculum-head .section-kicker {
  text-transform: uppercase;
}

.curriculum-head .section-title {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.75;
}

.curriculum-main img {
  max-height: 460px;
}

.months {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.month-card {
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(92, 58, 49, .08);
  display: grid;
  gap: 16px;
  grid-template-columns: 86px 1fr 118px;
  padding: 14px;
}

.month-card span {
  color: var(--rose);
  font-family: var(--serif);
  font-weight: 700;
}

.month-card img {
  aspect-ratio: 1.5 / 1;
  border-radius: 6px;
  height: 78px;
  object-fit: cover;
  width: 118px;
}

.pricing {
  background:
    linear-gradient(90deg, rgba(255, 248, 244, .9), rgba(255, 248, 244, .94)),
    url("http://rin-to.typesinc.com/wp-content/uploads/2026/04/15_pricing_dried_flowers_background.png") right center / auto 100% no-repeat;
  min-height: 720px;
  padding: 120px 0;
}

.pricing-grid {
  align-items: stretch;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
}

.pricing-image {
  aspect-ratio: 1.12 / 1;
}

.pricing-image img {
  max-height: 520px;
}

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

.price-card-clean {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: visible;
  padding: 64px 38px 48px;
  position: relative;
}

.price-card-clean .price-label {
  margin-bottom: 18px;
  min-height: 24px;
}

.price-card-clean h3 {
  min-height: 86px;
}

.price-label-recommended {
  background: var(--rose);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.4;
  margin: 0 0 18px;
  min-height: 24px;
  padding: 4px 18px;
  position: static;
  text-transform: none;
  width: fit-content;
}

.price {
  align-items: baseline;
  display: flex;
  gap: 6px;
  margin: 20px 0 14px;
}

.price strong {
  font-size: 46px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 13px;
}

.price-card-clean ul {
  margin: 0 0 22px;
  padding: 0;
}

.price-card-clean li {
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.price-card-clean li::before {
  color: var(--rose);
  content: "✓";
  left: 0;
  position: absolute;
}

.price-card-clean a {
  border: 1px solid rgba(201, 101, 114, .35);
  border-radius: 999px;
  color: var(--rose-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  margin-top: auto;
  padding: 12px 18px;
  width: 100%;
}

.flow-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-list article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 12px;
  position: relative;
}

.flow-list article:not(:last-child)::after {
  color: #d8c8bb;
  content: "→";
  font-size: 24px;
  position: absolute;
  right: -18px;
  top: 22px;
}

.flow-list span {
  color: #e2a06e;
  display: block;
  font-family: var(--serif);
  font-size: 24px;
}

.faq-cta {
  background: var(--white);
}

.faq-panel {
  background: #fff8f4;
  margin: 0 auto;
  max-width: none;
  padding: 72px 24px 58px;
}

.faq-panel > .section-kicker,
.faq-panel > .section-title,
.faq-panel > .faq-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.cta-panel {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(190px, .75fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 24px 72px;
}

.cta-panel img {
  aspect-ratio: 1 / 1.1;
  border-radius: var(--radius);
  max-height: 300px;
  object-fit: cover;
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 700;
  justify-content: space-between;
  padding: 18px 20px;
  text-align: left;
  width: 100%;
}

.faq-question::after {
  color: var(--rose);
  content: "+";
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  color: var(--muted);
  display: none;
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.legal-page {
  background: var(--paper);
  padding: 88px 0 110px;
}

.legal-page .inner {
  max-width: 920px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
}

.legal-card h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.5;
  margin: 0 0 28px;
}

.legal-card h2 {
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 34px 0 12px;
  padding-top: 26px;
}

.legal-card p,
.legal-card li,
.legal-table th,
.legal-table td {
  color: var(--muted);
  line-height: 1.9;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.legal-table {
  border-collapse: collapse;
  margin-top: 24px;
  width: 100%;
}

.legal-table th,
.legal-table td {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  font-weight: 700;
  padding-right: 24px;
  width: 32%;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 42px 28px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--inner);
}

.brand-footer .brand-main {
  font-size: 28px;
}

.brand-footer .brand-sub {
  font-size: 12px;
  margin-left: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.copyright {
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: rgba(255, 250, 244, .98);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 8px 28px 28px;
    position: absolute;
    right: 0;
    top: 78px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-top: 1px solid var(--line);
    padding: 14px 0;
  }

  .hero {
    height: auto;
  }

  .hero::before {
    width: 100%;
  }

  .hero-photo {
    height: 360px;
    position: relative;
    width: 100%;
  }

  .hero-inner {
    height: auto;
    padding: 40px 24px 70px;
    width: 100%;
  }

  .hero-bottom {
    position: relative;
    width: 100%;
  }

  .hero-side {
    bottom: 32px;
    right: 8%;
  }

  .problem-grid,
  .future-grid,
  .curriculum-grid,
  .pricing-grid,
  .faq-cta {
    grid-template-columns: 1fr;
  }

  .grid-three,
  .grid-four,
  .price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-section {
    padding: 62px 0;
  }

  .image-frame img {
    max-height: 300px;
  }

  .future-copy {
    text-align: left;
  }

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

  .flow-list article::after {
    display: none;
  }

  .faq-panel {
    padding: 62px 24px 28px;
  }

  .cta-panel {
    grid-template-columns: minmax(180px, 260px) 1fr;
    padding: 34px 24px 62px;
  }
}

@media (max-width: 640px) {
  .inner {
    width: min(100% - 32px, 420px);
  }

  .header-inner {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand-main {
    font-size: 26px;
  }

  .brand-sub {
    font-size: 11px;
    margin-left: 22px;
  }

  .brand-divider,
  .brand-en {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero::before {
    background: rgba(255, 250, 244, .9);
    border-radius: 0 0 72% 0;
    width: 72%;
    z-index: 0;
  }

  .hero-photo {
    height: 330px;
    position: absolute;
    right: -46px;
    top: 72px;
    width: 58%;
    z-index: 1;
  }

  .hero-photo::after {
    display: none;
  }

  .hero-photo img {
    object-position: center top;
  }

  .hero-inner {
    padding: 42px 24px 58px;
    position: relative;
    z-index: 2;
  }

  .hero-kicker,
  .hero h1,
  .hero-lead,
  .hero-description {
    max-width: 76%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-badges {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hero-badge-item {
    padding: 10px 7px;
  }

  .hero-badge-item p {
    font-size: 11px;
  }

  .hero-badge-image {
    height: 58px;
    width: 68px;
  }

  .hero-button,
  .button {
    width: 100%;
  }

  .hero-note {
    margin-left: 0;
    text-align: center;
  }

  .script-message {
    font-size: 34px;
  }

  .section-title {
    font-size: 25px;
  }

  .lp-section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 26px;
    text-align: left;
  }

  .future {
    background: #fff8f4;
  }

  .curriculum {
    background: var(--white);
  }

  .image-frame img {
    max-height: 220px;
  }

  .problem-image img,
  .future-image img,
  .curriculum-main img {
    max-height: 240px;
  }

  .grid-three,
  .grid-four,
  .price-cards,
  .mini-points,
  .flow-list,
  .month-card,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .content-card img {
    max-height: 170px;
  }

  .card-body,
  .price-card-clean {
    padding: 20px;
  }

  .price-card-clean {
    min-height: 460px;
    padding: 42px 24px 32px;
  }

  .month-card {
    align-items: start;
  }

  .month-card img {
    height: 150px;
    width: 100%;
  }

  .pricing-image {
    display: none;
  }

  .flow-list article {
    padding: 16px 18px;
  }

  .faq-panel {
    padding: 48px 16px 18px;
  }

  .cta-panel {
    padding: 24px 16px 48px;
  }

  .cta-panel img {
    max-height: 220px;
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    padding: 56px 0 76px;
  }

  .legal-card {
    padding: 28px 20px;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  .legal-table td {
    border-top: 0;
    padding-top: 0;
  }
}
