body.medpixel-page {
  --med-pink: #ef2d7a;
  --med-hot: #f8175f;
  --med-red: #dc2626;
  --med-coral: #ff6b7f;
  --med-navy: #111827;
  --med-ink: #172033;
  --med-muted: #667085;
  --med-soft: #fff5f8;
  --med-soft-2: #fffafb;
  --med-line: #f8cdda;
  --med-card: #ffffff;
  --med-shadow: 0 18px 46px rgba(190, 18, 60, 0.11);
  --med-shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
  color: var(--med-ink);
  background: #ffffff;
}

body.medpixel-page::before {
  background:
    linear-gradient(rgba(239, 45, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.medpixel-page .med-header {
  border-bottom-color: rgba(248, 205, 218, 0.82);
  background: rgba(255, 255, 255, 0.9);
}

.medpixel-page .med-navbar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.med-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--med-navy);
  font-weight: 800;
}

.med-brand img {
  width: auto;
  max-width: 86px;
  height: 58px;
  object-fit: contain;
}

.med-logo-mark {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff5c9a 0%, var(--med-hot) 48%, var(--med-red) 100%);
  box-shadow: 0 12px 24px rgba(239, 45, 122, 0.22);
}

.med-logo-mark::before {
  content: "MP";
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
}

.med-logo-mark::after {
  position: absolute;
  top: 8px;
  right: 7px;
  width: 14px;
  height: 14px;
  content: "";
  background:
    linear-gradient(#ffffff, #ffffff) center / 100% 5px no-repeat,
    linear-gradient(#ffffff, #ffffff) center / 5px 100% no-repeat;
}

.med-logo-mark span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.78);
}

.med-logo-mark span:nth-child(1) {
  left: -12px;
  bottom: 12px;
}

.med-logo-mark span:nth-child(2) {
  left: -5px;
  bottom: -2px;
  width: 10px;
  height: 10px;
}

.med-logo-mark span:nth-child(3) {
  left: 9px;
  bottom: -8px;
}

.med-logo-mark span:nth-child(4) {
  left: -16px;
  bottom: -7px;
}

.med-logo-word {
  font-size: 1.12rem;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--med-hot), #b91c1c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.medpixel-page .med-nav-menu {
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  color: #3f4b5d;
}

.mobile-menu-login {
  display: none;
}

.med-nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.medpixel-page .med-nav-menu a:hover {
  color: var(--med-hot);
}

.medpixel-page .med-nav-cta {
  background: linear-gradient(135deg, var(--med-hot), var(--med-red));
  box-shadow: 0 12px 26px rgba(239, 45, 122, 0.22);
}

.medpixel-page .med-nav-cta:hover {
  background: linear-gradient(135deg, #d91657, #b91c1c);
}

.med-login-link {
  min-height: 42px;
  padding: 0 16px;
}

.mobile-menu-cta {
  display: none;
}

.med-hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  background:
    linear-gradient(135deg, rgba(255, 245, 248, 0.96), rgba(255, 255, 255, 0.96) 52%, rgba(255, 248, 250, 0.92)),
    linear-gradient(180deg, #ffffff, #fff7fa);
}

.med-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: 58px;
}

.med-kicker,
.med-heading span,
.final-med-panel span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c21854;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.med-pixel-icon {
  width: 24px;
  height: 24px;
  background:
    linear-gradient(var(--med-hot), var(--med-hot)) 0 8px / 8px 8px no-repeat,
    linear-gradient(var(--med-red), var(--med-red)) 10px 0 / 8px 8px no-repeat,
    linear-gradient(var(--med-coral), var(--med-coral)) 14px 14px / 10px 10px no-repeat;
}

.med-tagline {
  margin: 18px 0 0;
  color: var(--med-hot);
  font-weight: 800;
}

.med-hero-copy h1 {
  max-width: 640px;
  margin: 12px 0 18px;
  color: var(--med-navy);
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.med-lede {
  max-width: 660px;
  margin: 0;
  color: var(--med-muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.med-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.med-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.med-button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--med-hot), var(--med-red));
  box-shadow: 0 16px 32px rgba(239, 45, 122, 0.24);
}

.med-button.secondary {
  color: var(--med-navy);
  border-color: var(--med-line);
  background: rgba(255, 255, 255, 0.94);
}

.med-button.secondary.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.med-button.light-on-dark {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.med-button:hover,
.med-nav-cta:hover {
  transform: translateY(-1px);
}

.med-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 575px;
  display: grid;
  align-items: center;
}

.med-dashboard {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(248, 205, 218, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--med-shadow);
}

.med-dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid #fce0e8;
  background: linear-gradient(90deg, #ffffff, #fff1f5);
}

.med-dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f9a8bd;
}

.med-dashboard-topbar strong {
  margin-left: 8px;
  color: var(--med-navy);
  font-size: 0.88rem;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 0;
}

.dashboard-head small {
  display: block;
  color: var(--med-muted);
  font-weight: 800;
}

.dashboard-head strong {
  display: block;
  margin-top: 4px;
  color: var(--med-navy);
  font-size: 1.42rem;
  line-height: 1.18;
}

.dashboard-head > span {
  display: inline-flex;
  min-width: 92px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--med-hot), var(--med-red));
  font-weight: 900;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 28px 18px;
}

.dashboard-metrics article {
  min-height: 128px;
  padding: 16px;
  border: 1px solid #fce0e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(239, 45, 122, 0.08);
}

.dashboard-metrics i {
  color: var(--med-hot);
}

.dashboard-metrics strong,
.dashboard-metrics span {
  display: block;
}

.dashboard-metrics strong {
  margin-top: 12px;
  color: var(--med-navy);
  font-size: 0.93rem;
  line-height: 1.25;
}

.dashboard-metrics span {
  margin-top: 6px;
  color: var(--med-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-progress {
  margin: 0 28px 28px;
  padding: 20px;
  border: 1px solid #fce0e8;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fff6f8);
}

.dashboard-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--med-navy);
  font-weight: 900;
}

.dashboard-progress > div:first-child span {
  color: var(--med-hot);
}

.progress-track {
  height: 10px;
  margin: 15px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffe2ea;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--med-hot), var(--med-red));
}

.mini-chart {
  display: flex;
  align-items: end;
  height: 112px;
  gap: 12px;
}

.mini-chart span {
  flex: 1;
  min-width: 12px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ff8ca7, var(--med-hot));
}

.med-pixel-cloud {
  position: absolute;
  top: 72px;
  right: -40px;
  z-index: 1;
  width: 86px;
  height: 70px;
  opacity: 0.34;
  pointer-events: none;
}

.med-pixel-cloud span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ff8ba8, var(--med-hot));
  box-shadow: 0 10px 18px rgba(239, 45, 122, 0.14);
}

.med-pixel-cloud span:nth-child(1) {
  left: 0;
  top: 24px;
}

.med-pixel-cloud span:nth-child(2) {
  left: 24px;
  top: 6px;
  width: 24px;
  height: 24px;
}

.med-pixel-cloud span:nth-child(3) {
  left: 56px;
  top: 28px;
}

.med-pixel-cloud span:nth-child(4) {
  left: 28px;
  top: 48px;
  width: 12px;
  height: 12px;
}

.med-pixel-cloud span:nth-child(5) {
  left: 6px;
  top: 56px;
  width: 10px;
  height: 10px;
}

.med-section {
  background: #ffffff;
}

.med-problem,
.coming-section,
.pricing-section {
  background: var(--med-soft-2);
}

.med-solution,
.how-section {
  background: linear-gradient(180deg, #ffffff, #fff6f9);
}

.med-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.med-heading.left {
  margin-left: 0;
  text-align: left;
}

.med-heading h2,
.final-med-panel h2 {
  margin: 10px 0 12px;
  color: var(--med-navy);
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.med-heading p,
.final-med-panel p {
  margin: 0;
  color: var(--med-muted);
  font-size: 1rem;
}

.problem-grid,
.benefit-grid,
.feature-grid,
.tryout-grid,
.coming-grid,
.med-pricing-grid {
  display: grid;
  gap: 18px;
}

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

.med-card,
.coming-card,
.price-box,
.faq-list-med details {
  border: 1px solid rgba(248, 205, 218, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--med-shadow-soft);
}

.med-card {
  padding: 24px;
}

.problem-card {
  min-height: 214px;
}

.problem-card i,
.benefit-card i,
.feature-icon i {
  color: var(--med-hot);
}

.med-card h3,
.price-box h3 {
  margin: 14px 0 8px;
  color: var(--med-navy);
  font-size: 1.08rem;
  line-height: 1.24;
}

.med-card p {
  margin: 0;
  color: var(--med-muted);
  font-size: 0.94rem;
}

.med-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: 42px;
}

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

.benefit-card {
  min-height: 214px;
}

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

.feature-item {
  min-height: 260px;
}

.feature-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff0f5;
}

.osce-highlight {
  background: #ffffff;
}

.osce-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
  overflow: hidden;
  padding: 38px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #111827, #4c1025 58%, #b91c1c),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  box-shadow: var(--med-shadow);
}

.osce-panel .med-heading {
  margin-bottom: 0;
}

.osce-panel .med-heading span,
.osce-panel .med-heading h2,
.osce-panel .med-heading p {
  color: #ffffff;
}

.osce-panel .med-heading p {
  opacity: 0.86;
}

.osce-panel .med-button {
  margin-top: 24px;
}

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

.osce-list span {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 750;
}

.osce-list i {
  color: #ff9fb4;
}

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

.tryout-card {
  min-height: 360px;
}

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

.early-badge,
.coming-card span,
.recommend-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #c21854;
  background: #fff0f5;
  font-size: 0.78rem;
  font-weight: 900;
}

.tryout-card ul,
.price-box ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #344054;
}

.tryout-card li,
.price-box li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 650;
}

.tryout-card li i,
.price-box li i {
  color: var(--med-hot);
}

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

.coming-card {
  min-height: 144px;
  padding: 20px;
}

.coming-card strong {
  display: block;
  margin-top: 18px;
  color: var(--med-navy);
  font-size: 1.02rem;
  line-height: 1.25;
}

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

.steps-list li {
  min-height: 156px;
  padding: 18px;
  border: 1px solid rgba(248, 205, 218, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--med-shadow-soft);
}

.steps-list span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--med-hot), var(--med-red));
  font-weight: 900;
}

.steps-list strong {
  display: block;
  margin-top: 16px;
  color: var(--med-navy);
  font-size: 0.95rem;
  line-height: 1.28;
}

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

.price-box {
  position: relative;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 26px;
}

.price-box.recommended {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(145deg, #111827, #4c1025 52%, var(--med-red));
  box-shadow: 0 22px 52px rgba(190, 18, 60, 0.2);
}

.price-box h3 {
  margin-top: 18px;
  font-size: 1.24rem;
}

.price-box > strong {
  display: block;
  margin: 4px 0 18px;
  color: var(--med-hot);
  font-size: 1.86rem;
  line-height: 1.1;
}

.price-box.recommended h3,
.price-box.recommended > strong,
.price-box.recommended li {
  color: #ffffff;
}

.price-box.recommended li i {
  color: #ffb0c0;
}

.price-box .med-button {
  width: 100%;
  margin-top: auto;
}

.recommend-badge {
  width: fit-content;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 42px;
}

.faq-list-med {
  display: grid;
  gap: 12px;
}

.faq-list-med details {
  padding: 18px 20px;
}

.faq-list-med summary {
  color: var(--med-navy);
  font-weight: 850;
  cursor: pointer;
}

.faq-list-med p {
  margin: 10px 0 0;
  color: var(--med-muted);
}

.final-med-cta {
  background: linear-gradient(180deg, #fffafb, #ffffff);
}

.final-med-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #111827, #57152d 55%, var(--med-red)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  box-shadow: var(--med-shadow);
}

.final-med-panel span,
.final-med-panel h2,
.final-med-panel p {
  color: #ffffff;
}

.final-med-panel p {
  max-width: 760px;
  opacity: 0.86;
}

.med-footer {
  padding: 54px 0;
  border-top: 1px solid rgba(248, 205, 218, 0.3);
  background: #111827;
  color: #e5e7eb;
}

.med-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.med-footer .footer-brand {
  color: #ffffff;
}

.med-footer .med-logo-word {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.med-footer p {
  max-width: 360px;
  margin: 14px 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.med-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.96rem;
}

.med-footer a:not(.med-brand) {
  display: block;
  margin: 8px 0;
  color: #dbe4ef;
  font-size: 0.92rem;
}

.med-footer a:hover {
  color: #ff9fb4;
}

@media (max-width: 1120px) {
  .problem-grid,
  .coming-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1040px) {
  .med-hero-grid,
  .med-split,
  .osce-panel,
  .faq-grid,
  .final-med-panel {
    grid-template-columns: 1fr;
  }

  .med-hero-grid {
    gap: 38px;
  }

  .med-hero-visual {
    min-height: auto;
  }

  .feature-grid,
  .med-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .medpixel-page .med-navbar {
    grid-template-columns: auto auto;
    gap: 16px;
  }

  .medpixel-page .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--med-hot), var(--med-red));
  }

  .mobile-menu-login {
    display: block;
  }

  .med-nav-actions {
    display: none;
  }

  .medpixel-page .nav-menu a:hover {
    background: #fff0f5;
  }

  .problem-grid,
  .benefit-grid,
  .tryout-grid,
  .coming-grid {
    grid-template-columns: 1fr;
  }

  .osce-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .medpixel-page .container {
    width: min(100% - 22px, 1120px);
  }

  .medpixel-page .section-pad {
    padding: 44px 0;
  }

  .medpixel-page .navbar {
    min-height: 64px;
  }

  .med-brand img {
    width: auto;
    max-width: 68px;
    height: 44px;
  }

  .med-hero {
    padding-top: 42px;
  }

  .med-hero-grid {
    gap: 24px;
  }

  .med-kicker,
  .med-heading span,
  .final-med-panel span {
    font-size: 0.68rem;
  }

  .med-tagline {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .med-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: 2rem;
    line-height: 1.12;
  }

  .med-heading h2,
  .final-med-panel h2 {
    margin: 7px 0 8px;
    font-size: 1.58rem;
    line-height: 1.14;
  }

  .med-heading {
    margin-bottom: 20px;
  }

  .med-heading.left {
    margin-bottom: 18px;
  }

  .med-heading p,
  .final-med-panel p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .med-lede {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .med-actions,
  .final-med-panel .med-button {
    width: 100%;
  }

  .med-button {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .med-hero-visual {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .med-dashboard-topbar {
    min-height: 42px;
    padding: 0 12px;
  }

  .med-dashboard-topbar span {
    width: 8px;
    height: 8px;
  }

  .med-dashboard-topbar strong {
    font-size: 0.78rem;
  }

  .dashboard-head {
    align-items: center;
    flex-direction: row;
    padding: 16px 14px 0;
  }

  .dashboard-head small {
    font-size: 0.7rem;
  }

  .dashboard-head strong {
    font-size: 1rem;
  }

  .dashboard-head > span {
    min-width: 68px;
    min-height: 32px;
    font-size: 0.82rem;
  }

  .dashboard-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
  }

  .dashboard-metrics article {
    min-height: 92px;
    padding: 10px;
  }

  .dashboard-metrics i {
    width: 16px;
    height: 16px;
  }

  .dashboard-metrics strong {
    margin-top: 8px;
    font-size: 0.68rem;
    line-height: 1.18;
  }

  .dashboard-metrics span {
    margin-top: 5px;
    font-size: 0.62rem;
  }

  .dashboard-progress {
    margin: 0 14px 14px;
    padding: 12px;
  }

  .dashboard-progress > div:first-child {
    font-size: 0.86rem;
  }

  .progress-track {
    height: 8px;
    margin: 10px 0 12px;
  }

  .mini-chart {
    height: 64px;
    gap: 8px;
  }

  .med-pixel-cloud {
    display: none;
  }

  .problem-grid,
  .benefit-grid,
  .feature-grid,
  .coming-grid,
  .steps-list,
  .osce-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .problem-grid > .problem-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }

  .tryout-grid,
  .med-pricing-grid,
  .faq-grid,
  .med-footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .med-split,
  .osce-panel,
  .final-med-panel {
    gap: 18px;
  }

  .med-card {
    padding: 14px;
  }

  .problem-card,
  .benefit-card,
  .feature-item,
  .tryout-card {
    min-height: 0;
  }

  .problem-card i,
  .benefit-card i {
    width: 17px;
    height: 17px;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .feature-icon i {
    width: 16px;
    height: 16px;
  }

  .med-card h3,
  .price-box h3 {
    margin: 10px 0 6px;
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .med-card p {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .problem-card p,
  .benefit-card p,
  .feature-item p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .osce-panel,
  .final-med-panel {
    padding: 20px;
  }

  .osce-panel .med-button {
    margin-top: 16px;
  }

  .osce-list span {
    min-height: 42px;
    gap: 7px;
    padding: 8px 10px;
    font-size: 0.75rem;
    line-height: 1.22;
  }

  .osce-list i {
    width: 15px;
    height: 15px;
  }

  .tryout-card ul,
  .price-box ul {
    gap: 7px;
    margin-top: 12px;
    font-size: 0.78rem;
  }

  .tryout-card li,
  .price-box li {
    gap: 7px;
    line-height: 1.35;
  }

  .early-badge,
  .coming-card span,
  .recommend-badge {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .coming-card {
    min-height: 92px;
    padding: 12px;
  }

  .coming-card strong {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .steps-list li {
    min-height: 106px;
    padding: 12px;
  }

  .steps-list span {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .steps-list strong {
    margin-top: 10px;
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .price-box {
    min-height: 0;
    padding: 18px;
  }

  .price-box > strong {
    margin-bottom: 12px;
    font-size: 1.35rem;
  }

  .faq-list-med {
    gap: 8px;
  }

  .faq-list-med details {
    padding: 13px 14px;
  }

  .faq-list-med summary {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .faq-list-med p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .med-footer {
    padding: 34px 0;
  }

  .med-footer p,
  .med-footer a:not(.med-brand) {
    font-size: 0.82rem;
  }

  .med-footer h3 {
    margin-bottom: 8px;
    font-size: 0.88rem;
  }
}

@media (max-width: 390px) {
  .med-hero-copy h1 {
    font-size: 1.82rem;
  }

  .med-logo-word {
    font-size: 1rem;
  }

  .med-logo-mark {
    width: 40px;
    height: 40px;
  }

  .dashboard-progress > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .problem-grid,
  .benefit-grid,
  .feature-grid,
  .coming-grid,
  .steps-list,
  .osce-list {
    gap: 8px;
  }

  .med-card {
    padding: 12px;
  }

  .med-card h3 {
    font-size: 0.8rem;
  }

  .med-card p {
    font-size: 0.72rem;
  }

  .dashboard-metrics {
    gap: 6px;
    padding: 12px;
  }

  .dashboard-metrics article {
    padding: 8px;
  }

  .dashboard-metrics strong {
    font-size: 0.62rem;
  }
}
