:root {
  --green-950: #08251c;
  --green-900: #0f3b2b;
  --green-800: #12613e;
  --green-700: #178047;
  --green-100: #e9f6ee;
  --green-050: #f4fbf7;
  --ink: #18352b;
  --text: #405a50;
  --muted: #6f8178;
  --line: #d8e6dd;
  --surface: #ffffff;
  --warm: #fbfaf6;
  --blue-100: #eef6f8;
  --amber: #c79b46;
  --danger: #8d3f2f;
  --shadow: 0 18px 48px rgba(15, 59, 43, 0.12);
  --max: 1120px;
}

/* Private Nagoya University flyer page */
body.flyer-page {
  --flyer-navy: #06285a;
  --flyer-blue: #0a5ea8;
  --flyer-green: #098f49;
  --flyer-pale: #eef8fb;
  --flyer-mint: #f0fbf4;
  --flyer-line: #dbe8ef;
  margin: 0;
  color: #183b55;
  background: #f6fbfd;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.flyer-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--flyer-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.flyer-header-inner,
.flyer-hero-inner,
.flyer-section-inner,
.flyer-contact-grid,
.flyer-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.flyer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--flyer-navy);
  text-decoration: none;
  font-weight: 900;
}

.flyer-brand img {
  width: 184px;
  max-height: 42px;
}

.flyer-brand span {
  font-size: 0.9rem;
}

.flyer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
}

.flyer-nav a {
  color: var(--flyer-navy);
  text-decoration: none;
}

.flyer-nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--flyer-blue);
  color: #fff !important;
}

.flyer-hero {
  background: #eef8fb;
  border-bottom: 1px solid var(--flyer-line);
}

.flyer-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 42px;
  align-items: center;
  padding: 64px 0 54px;
}

.flyer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--flyer-green);
  font-size: 0.92rem;
  font-weight: 900;
}

.flyer-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--flyer-green);
  box-shadow: 0 0 0 5px rgba(9, 143, 73, 0.12);
}

.flyer-hero h1 {
  margin: 0;
  color: var(--flyer-navy);
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.flyer-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #31566b;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 2;
}

.flyer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.flyer-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(6, 40, 90, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--flyer-navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.flyer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.flyer-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--flyer-green);
  border-radius: 8px;
  background: var(--flyer-green);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.flyer-button-secondary {
  border-color: rgba(10, 94, 168, 0.24);
  background: #fff;
  color: var(--flyer-blue);
}

.flyer-hero-panel {
  padding: 24px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 40, 90, 0.12);
}

.flyer-price-main {
  padding: 24px;
  border-left: 8px solid var(--flyer-green);
  border-radius: 10px;
  background: #f7fff9;
}

.flyer-price-main p {
  margin: 0 0 8px;
  color: var(--flyer-navy);
  font-weight: 900;
}

.flyer-price-main strong {
  display: block;
  color: var(--flyer-green);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
}

.flyer-price-main span,
.flyer-personal-price small {
  display: block;
  margin-top: 8px;
  color: #587383;
  font-weight: 800;
}

.flyer-checks,
.flyer-check-list,
.flyer-icon-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.flyer-checks li,
.flyer-check-list li,
.flyer-icon-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.flyer-checks li::before,
.flyer-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 13px;
  height: 8px;
  border-left: 3px solid var(--flyer-green);
  border-bottom: 3px solid var(--flyer-green);
  transform: rotate(-45deg);
}

.flyer-icon-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.78em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9e6ef;
}

.flyer-personal-price {
  margin-top: 20px;
  padding: 18px;
  border-radius: 10px;
  background: #f2f4f6;
  text-align: center;
}

.flyer-personal-price span {
  color: #737b82;
  font-size: 0.86rem;
  font-weight: 900;
}

.flyer-personal-price strong {
  display: block;
  color: #111;
  font-size: 1.9rem;
  line-height: 1.2;
}

.flyer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: -22px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: var(--flyer-line);
  box-shadow: 0 18px 45px rgba(6, 40, 90, 0.08);
}

.flyer-strip div {
  padding: 22px;
  background: #fff;
  text-align: center;
}

.flyer-strip span {
  display: block;
  color: var(--flyer-green);
  font-weight: 900;
}

.flyer-strip strong {
  color: var(--flyer-navy);
  font-size: 1.05rem;
}

.flyer-section {
  background: #fff;
}

.flyer-section-soft {
  background: #f0f8fb;
}

.flyer-section-inner {
  padding: 58px 0;
}

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

.flyer-card {
  padding: 24px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(6, 40, 90, 0.06);
}

.flyer-card h2,
.flyer-section-head h2,
.flyer-support-flow h2 {
  margin: 0;
  color: var(--flyer-navy);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.35;
}

.flyer-card p {
  color: #31566b;
  font-weight: 700;
}

.flyer-service-card {
  border-top: 5px solid var(--flyer-green);
}

.flyer-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: #e6f7ea;
  color: #0b6f39;
  font-weight: 900;
}

.flyer-support-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: center;
}

.flyer-support-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flyer-support-items article {
  min-height: 154px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.flyer-support-items span,
.flyer-flow span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--flyer-green);
  color: #fff;
  font-weight: 900;
}

.flyer-section-head {
  margin-bottom: 26px;
}

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

.flyer-flow article {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 14px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-weight: 900;
}

.flyer-proof {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(6, 40, 90, 0.06);
}

.flyer-proof-left {
  display: grid;
  gap: 16px;
  align-content: center;
}

.flyer-proof-left span {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--flyer-green);
  color: #fff;
  font-weight: 900;
}

.flyer-proof-left img {
  max-height: 54px;
  object-fit: contain;
}

.flyer-proof-main p {
  margin: 0 0 18px;
  color: var(--flyer-navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.flyer-logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.flyer-logo-row img {
  width: 100%;
  height: 70px;
  padding: 12px;
  border: 1px solid var(--flyer-line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.flyer-preview {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--flyer-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(6, 40, 90, 0.08);
}

.flyer-preview img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.flyer-contact-band {
  background: var(--flyer-navy);
  color: #fff;
}

.flyer-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr) minmax(240px, 0.8fr);
  gap: 28px;
  padding: 34px 0;
}

.flyer-contact-grid p,
.flyer-contact-grid span {
  margin: 0;
  color: #dce9f3;
  font-weight: 900;
}

.flyer-contact-grid a {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.flyer-provider {
  display: grid;
  gap: 10px;
}

.flyer-provider img,
.flyer-sumluck strong {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #fff;
  color: var(--flyer-navy);
  font-size: 2rem;
}

.flyer-sumluck .brand-mark {
  display: inline-block;
  width: 42px;
  height: 42px;
  box-shadow: none;
}

.flyer-footer-note {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  color: #202d36;
  text-align: center;
  font-weight: 900;
}

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

  .flyer-hero-inner,
  .flyer-grid-4,
  .flyer-support-flow,
  .flyer-proof,
  .flyer-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flyer-support-items {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .flyer-header-inner,
  .flyer-hero-inner,
  .flyer-section-inner,
  .flyer-contact-grid,
  .flyer-strip {
    width: min(100% - 28px, 1180px);
  }

  .flyer-header-inner {
    min-height: 64px;
  }

  .flyer-brand {
    gap: 10px;
  }

  .flyer-brand img {
    width: 138px;
  }

  .flyer-brand span {
    font-size: 0.72rem;
  }

  .flyer-hero-inner {
    padding: 40px 0 38px;
  }

  .flyer-hero h1 {
    font-size: 2rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .flyer-lead {
    font-size: 0.98rem;
  }

  .flyer-hero-actions,
  .flyer-pills {
    display: grid;
  }

  .flyer-button {
    width: 100%;
  }

  .flyer-strip {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }

  .flyer-section-inner {
    padding: 42px 0;
  }

  .flyer-card,
  .flyer-hero-panel,
  .flyer-proof,
  .flyer-preview {
    padding: 18px;
  }

  .flyer-price-main strong {
    font-size: 2.45rem;
  }

  .flyer-flow,
  .flyer-logo-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .flyer-provider img,
  .flyer-sumluck strong {
    min-height: 64px;
    font-size: 1.55rem;
  }
}

/* Premium partner LP refinement */
body.agent-plan-page {
  background:
    linear-gradient(180deg, #f7fbff 0, #ffffff 520px),
    #fff;
}

.agent-plan-header {
  border-bottom-color: rgba(6, 42, 76, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.agent-plan-header-inner {
  max-width: 1240px;
}

.agent-plan-hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 247, 255, 0.96) 58%, rgba(232, 248, 239, 0.82) 100%),
    #f4faff;
  border-bottom: 1px solid rgba(6, 42, 76, 0.08);
}

.agent-plan-hero::before,
.agent-plan-hero::after {
  display: none;
}

.agent-plan-hero-inner {
  min-height: 650px;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.82fr);
  gap: 74px;
  padding-top: 72px;
  padding-bottom: 76px;
}

.agent-plan-hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 3.2vw, 3.45rem);
  line-height: 1.08;
}

.agent-plan-lead {
  max-width: 590px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.agent-plan-hero-pills span {
  background: #fff;
  box-shadow: none;
}

.agent-plan-price-badge {
  width: min(100%, 590px);
  border-color: rgba(6, 42, 76, 0.1);
  background: #fff;
  box-shadow: 0 18px 44px rgba(6, 42, 76, 0.1);
}

.agent-plan-visual-board {
  min-height: auto;
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 0;
}

.agent-plan-visual-board::before {
  display: none;
}

.agent-plan-brief-card {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid rgba(6, 42, 76, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(6, 42, 76, 0.12);
}

.agent-plan-brief-head {
  display: grid;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(6, 42, 76, 0.12);
}

.agent-plan-brief-head span,
.agent-plan-brief-metrics span {
  color: var(--agent-blue-800);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-plan-brief-head strong {
  color: var(--agent-blue-950);
  font-size: 1.55rem;
  line-height: 1.3;
}

.agent-plan-brief-list {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.agent-plan-brief-list div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(6, 42, 76, 0.08);
}

.agent-plan-brief-list div:last-child {
  border-bottom: 0;
}

.agent-plan-brief-list dt {
  color: var(--agent-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.agent-plan-brief-list dd {
  margin: 0;
  color: var(--agent-blue-950);
  font-weight: 900;
  line-height: 1.6;
}

.agent-plan-brief-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agent-plan-brief-metrics article {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 18px;
  border: 1px solid rgba(6, 42, 76, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.agent-plan-brief-metrics strong {
  color: var(--agent-blue-950);
  font-size: 1.22rem;
  line-height: 1.24;
}

.agent-plan-brief-metrics small {
  color: var(--agent-muted);
  font-weight: 800;
  line-height: 1.5;
}

.agent-plan-value-strip {
  margin-top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(6, 42, 76, 0.08);
}

.agent-plan-value-strip .agent-plan-section-inner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.agent-plan-value-strip article {
  border-right: 1px solid rgba(6, 42, 76, 0.08);
}

.agent-plan-value-strip article:last-child {
  border-right: 0;
}

.agent-plan-card,
.agent-plan-feature,
.agent-plan-check-panel,
.agent-plan-logo-area,
.agent-plan-faq details {
  box-shadow: none;
}

.agent-plan-card:hover {
  transform: none;
}

.agent-plan-section-blue {
  background: #f4faff;
}

.agent-plan-price-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  overflow: visible;
  border-color: rgba(6, 42, 76, 0.12);
  background: #fff;
  box-shadow: 0 24px 60px rgba(6, 42, 76, 0.1);
}

.agent-plan-price-panel::before {
  display: none;
}

.agent-plan-price-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agent-plan-price-compare article {
  border-color: rgba(6, 42, 76, 0.1);
}

.agent-plan-resale-box {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1fr);
  gap: 18px 28px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(6, 42, 76, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 250, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
}

.agent-plan-resale-box .agent-plan-kicker {
  margin-bottom: 8px;
}

.agent-plan-resale-box h3 {
  font-size: 1.3rem;
  line-height: 1.45;
}

.agent-plan-resale-box p,
.agent-plan-resale-box small {
  margin: 0;
}

.agent-plan-resale-box p {
  color: var(--agent-text);
}

.agent-plan-resale-box small {
  grid-column: 2;
  color: var(--agent-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .agent-plan-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 44px;
  }

  .agent-plan-visual-board {
    max-width: 760px;
    margin: 0;
  }

  .agent-plan-price-panel,
  .agent-plan-resale-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-resale-box small {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .agent-plan-hero-inner {
    padding-top: 54px;
  }

  .agent-plan-hero h1 {
    font-size: 2.05rem;
    line-height: 1.18;
  }

  .agent-plan-brief-card,
  .agent-plan-resale-box {
    padding: 22px 18px;
  }

  .agent-plan-brief-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .agent-plan-brief-metrics,
  .agent-plan-price-compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-value-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 42, 76, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #f8faf7 0, #fbfaf6 520px),
    var(--warm);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

html,
body {
  max-width: 100%;
}

a {
  color: inherit;
}

.mobile-break {
  display: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--green-900);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff url("/assets/logo-icon.png") center / contain no-repeat;
  color: transparent;
  font-weight: 900;
  font-size: 0;
  box-shadow: 0 6px 18px rgba(15, 59, 43, 0.08);
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--green-050);
  color: var(--green-800);
  outline: none;
}

.nav .nav-cta {
  margin-left: 4px;
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 8px 22px rgba(18, 97, 62, 0.18);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: var(--green-700);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-900);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 37, 28, 0.93) 0%, rgba(15, 59, 43, 0.84) 43%, rgba(15, 59, 43, 0.26) 72%, rgba(15, 59, 43, 0.08) 100%),
    url("/assets/hero-consultation.png") center / cover no-repeat;
}

.hero-inner,
.section-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 20px;
}

.hero-grid {
  display: block;
  min-height: 650px;
  padding-top: 96px;
  padding-bottom: 64px;
}

.hero-grid > div:first-child {
  width: min(670px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-800);
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-700);
  box-shadow: 0 0 0 5px var(--green-100);
}

.hero .eyebrow {
  color: #ccebd8;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.38;
  overflow-wrap: anywhere;
  line-break: strict;
}

h1 {
  font-size: 2.58rem;
  max-width: 720px;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.22);
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.18rem;
}

.lead {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--text);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.hero .lead {
  color: #eef8f2;
}

.hero-note,
.notice {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-700);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-size: 0.94rem;
}

.danger-note {
  border-left-color: var(--danger);
}

.hero .hero-note {
  border-color: rgba(255, 255, 255, 0.28);
  border-left-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #f1fbf5;
  backdrop-filter: blur(14px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--green-800);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  box-shadow: 0 12px 28px rgba(18, 97, 62, 0.18);
}

.button:hover,
.button:focus-visible {
  background: var(--green-700);
  outline: none;
}

.hero .button {
  background: #ffffff;
  color: var(--green-900);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero .button:hover,
.hero .button:focus-visible {
  background: #eef8f2;
}

.button-secondary {
  background: #fff;
  color: var(--green-800);
  border-color: var(--green-700);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--green-050);
  color: var(--green-900);
}

.hero .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button-plain {
  background: transparent;
  color: var(--green-800);
  border-color: var(--line);
  box-shadow: none;
}

.hero-visual {
  display: none;
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 640px;
}

.fact {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.fact strong {
  display: block;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.25;
}

.fact span {
  display: block;
  color: #dceee4;
  font-size: 0.86rem;
}

.section {
  background: rgba(255, 255, 255, 0.96);
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(233, 246, 238, 0.74), rgba(248, 252, 249, 0.96)),
    var(--green-050);
}

.section.blue {
  background:
    linear-gradient(180deg, rgba(238, 246, 248, 0.92), rgba(255, 255, 255, 0.95)),
    var(--blue-100);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 650px;
}

.grid {
  display: grid;
  gap: 18px;
}

.hero-grid > *,
.split > *,
.grid > *,
.section-head > *,
.footer-grid > * {
  min-width: 0;
}

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

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

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

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

.card,
.price-card,
.faq-item,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card {
  position: relative;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(15, 59, 43, 0.06);
}

.card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  background: var(--green-700);
  opacity: 0.28;
}

.card p,
.faq-item p {
  margin: 10px 0 0;
}

.card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-800);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.price-card {
  padding: 28px;
  border-color: rgba(18, 97, 62, 0.22);
  box-shadow: 0 24px 70px rgba(15, 59, 43, 0.15);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
  color: var(--green-800);
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.comparison-section .section-head {
  display: block;
  max-width: 900px;
}

.comparison-section .section-head > p {
  max-width: 880px;
}

.comparison-section h2 {
  word-break: normal;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 59, 43, 0.08);
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.comparison-table thead th {
  background: var(--green-900);
  color: #fff;
  font-size: 0.9rem;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th {
  width: 22%;
}

.comparison-table td:nth-child(2) {
  width: 20%;
}

.comparison-table td:nth-child(3),
.comparison-table td:nth-child(4) {
  width: 29%;
}

.comparison-table .highlight-row th,
.comparison-table .highlight-row td {
  background: #f4fbf7;
}

.comparison-option strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.5;
}

.comparison-price {
  display: grid;
  gap: 3px;
  color: var(--green-800);
}

.comparison-price strong {
  font-size: 2.3rem;
  line-height: 1;
}

.comparison-price span {
  color: var(--muted);
  font-weight: 800;
}

.comparison-price em {
  color: var(--green-900);
  font-style: normal;
  font-weight: 900;
}

.comparison-cost {
  margin: 0;
  color: var(--green-800);
  font-weight: 800;
  line-height: 1.6;
}

.comparison-table .check-list,
.comparison-table .plain-list {
  gap: 8px;
  margin-top: 0;
}

.comparison-table li {
  font-size: 0.92rem;
  line-height: 1.65;
}

.positioning-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(18, 97, 62, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 247, 0.96)),
    #fff;
  box-shadow: 0 16px 42px rgba(15, 59, 43, 0.08);
}

.positioning-panel h3 {
  font-size: 1.45rem;
}

.positioning-panel p:not(.eyebrow) {
  margin: 12px 0 0;
}

.positioning-panel .actions {
  justify-content: flex-end;
  margin-top: 0;
}

.medical-cost-benefit-section .section-inner {
  padding-top: 46px;
  padding-bottom: 46px;
}

.medical-cost-benefit-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(18, 97, 62, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 247, 0.98)),
    #fff;
  box-shadow: 0 16px 42px rgba(15, 59, 43, 0.08);
}

.medical-cost-benefit-mark {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px rgba(18, 97, 62, 0.12);
}

.medical-cost-benefit-mark::before,
.medical-cost-benefit-mark::after {
  content: "";
  position: absolute;
}

.medical-cost-benefit-mark::before {
  left: 15px;
  top: 14px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--green-800);
  border-radius: 50%;
}

.medical-cost-benefit-mark::after {
  right: 13px;
  bottom: 14px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--green-800);
  transform: rotate(45deg);
  transform-origin: center;
}

.medical-cost-benefit-card h2 {
  font-size: 1.55rem;
}

.medical-cost-benefit-card p {
  margin: 12px 0 0;
}

.medical-cost-benefit-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.medical-cost-benefit-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.medical-cost-benefit-points span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(18, 97, 62, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.working-holiday-hero {
  background:
    linear-gradient(90deg, rgba(8, 37, 28, 0.98), rgba(18, 97, 62, 0.88) 58%, rgba(48, 123, 95, 0.78)),
    var(--green-900);
}

.working-holiday-hero p:not(.eyebrow) {
  max-width: 760px;
}

.wh-emphasis {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 26px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.wh-emphasis strong {
  font-size: 1.05rem;
}

.wh-emphasis span {
  color: #dff2e6;
}

.working-holiday-country-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.working-holiday-country-card:hover,
.working-holiday-country-card:focus-visible {
  border-color: rgba(18, 97, 62, 0.34);
  box-shadow: 0 18px 42px rgba(15, 59, 43, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.working-holiday-country-card p {
  color: var(--text);
}

.audience-cards .card,
.consultation-scope-cards .card,
.agent-benefit-cards .card {
  min-height: 100%;
}

.insurance-vs-consultation-box .card,
.parent-support-section .card,
.school-support-section .card,
.medical-disclaimer-box {
  box-shadow: 0 14px 38px rgba(15, 59, 43, 0.06);
}

.working-holiday-city-list {
  margin-top: 24px;
}

.education-hero .actions {
  max-width: 900px;
}

.school-disclaimer,
.school-disclaimer-card p.school-disclaimer {
  color: var(--muted);
  font-size: 0.88rem;
}

.region-feature-card p:first-child {
  margin-top: 0;
}

.overseas-education-target-list .country-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.site-conversion-section {
  background:
    linear-gradient(180deg, rgba(248, 252, 249, 0.98), rgba(233, 246, 238, 0.78)),
    var(--green-050);
}

.site-conversion-section .section-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.site-conversion-card {
  min-height: 100%;
}

.site-conversion-card strong {
  color: var(--green-800);
}

.site-conversion-price {
  display: block;
  margin-top: 10px;
  color: var(--green-900);
  font-size: 1.45rem;
  font-weight: 900;
}

.site-conversion-proof-card .partner-list {
  gap: 8px;
  font-size: 0.92rem;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 86px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green-800);
  color: #fff;
  font-weight: 900;
}

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.country-list a,
.country-list span,
.tag {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.country-list span {
  color: var(--green-800);
}

.country-list a:hover,
.country-list a:focus-visible {
  border-color: var(--green-700);
  color: var(--green-800);
  outline: none;
}

.city-list {
  gap: 8px;
}

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

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  display: flex;
  gap: 10px;
  align-items: start;
}

.faq-item h3::before {
  content: "Q";
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.88rem;
}

.faq-accordion .faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
}

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

.faq-accordion summary h3 {
  align-items: center;
  justify-content: space-between;
}

.faq-accordion summary h3::after {
  content: "+";
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border-radius: 8px;
  background: var(--green-050);
  color: var(--green-800);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-accordion details[open] summary h3::after {
  content: "-";
}

.faq-accordion .faq-item p {
  margin: 0;
  padding: 0 22px 22px 60px;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(8, 37, 28, 0.98), rgba(18, 97, 62, 0.92)),
    var(--green-900);
  color: #eaf5ee;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .button-secondary {
  border-color: rgba(255, 255, 255, 0.6);
}

.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--green-800);
  text-decoration: none;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(8, 37, 28, 0.98), rgba(18, 97, 62, 0.86)),
    var(--green-900);
  color: #eaf5ee;
}

.page-hero .hero-inner {
  padding-top: 54px;
  padding-bottom: 58px;
}

.page-hero h1,
.page-hero h2 {
  color: #ffffff;
}

.page-hero .lead {
  color: #eaf5ee;
}

.page-hero .eyebrow {
  color: #ccebd8;
}

.doctor-section {
  scroll-margin-top: 88px;
  background:
    linear-gradient(135deg, rgba(13, 48, 36, 0.08) 0%, rgba(244, 251, 247, 0.94) 42%, rgba(255, 255, 255, 0.98) 100%),
    var(--green-050);
}

.doctor-section .section-inner {
  padding-top: 74px;
  padding-bottom: 74px;
}

.doctor-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid rgba(15, 59, 43, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 72px rgba(15, 59, 43, 0.16);
}

.doctor-card-text {
  grid-template-columns: minmax(0, 1fr);
  border-top: 4px solid var(--green-700);
}

.doctor-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 46px;
}

.doctor-kicker {
  margin: 14px 0 0;
  color: var(--green-900);
  font-size: 1.04rem;
  font-weight: 900;
}

.doctor-summary {
  margin: 14px 0 0;
  max-width: 720px;
  color: var(--text);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 11px 12px;
  border: 1px solid rgba(18, 97, 62, 0.12);
  border-radius: 8px;
  background: #f3faf6;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.credential-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-800);
  font-size: 0.75rem;
}

.credential-list span {
  display: block;
}

.doctor-card .actions {
  margin-top: 20px;
}

.doctor-card .button-secondary {
  width: fit-content;
}

.doctor-card-text > div {
  padding: 42px 46px;
}

.medifellow-section {
  scroll-margin-top: 88px;
  background:
    linear-gradient(180deg, rgba(246, 251, 248, 0.98), rgba(232, 246, 238, 0.88)),
    var(--green-050);
}

.medifellow-panel {
  padding: 32px;
  border: 1px solid rgba(18, 97, 62, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 62px rgba(15, 59, 43, 0.1);
}

.medifellow-head {
  align-items: start;
  margin-bottom: 24px;
}

.medifellow-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid rgba(18, 97, 62, 0.12);
  border-radius: 8px;
  background: rgba(18, 97, 62, 0.12);
}

.medifellow-metrics div {
  padding: 18px;
  background: #fff;
}

.medifellow-metrics strong {
  display: block;
  color: var(--green-900);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.medifellow-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.trust-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(18, 97, 62, 0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 59, 43, 0.06);
}

.trust-card h3 {
  margin-top: 0;
}

.trust-card > p {
  margin: 10px 0 0;
}

.trust-card-accent {
  background:
    linear-gradient(180deg, rgba(242, 250, 245, 0.98), #fff 56%),
    #fff;
}

.trust-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.trust-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(18, 97, 62, 0.13);
  border-radius: 8px;
  background: #f7fcf9;
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 97, 62, 0.12);
}

.trust-details summary {
  cursor: pointer;
  color: var(--green-800);
  font-weight: 900;
}

.trust-details p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 0.9rem;
}

.partner-list {
  margin-top: 14px;
}

.trust-note,
.trust-footnote {
  color: var(--muted);
  font-size: 0.86rem;
}

.trust-footnote {
  margin: 18px 0 0;
}

.form-panel {
  padding: 26px;
}

.legal-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 59, 43, 0.06);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

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

.legal-table th {
  width: 30%;
  background: #f5fbf7;
  color: var(--green-900);
  font-weight: 900;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  outline: 3px solid var(--green-100);
}

.checkbox {
  display: flex;
  align-items: start;
  gap: 10px;
  font-weight: 600;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
  margin-top: 7px;
}

.form-status {
  min-height: 30px;
  color: var(--green-800);
  font-weight: 700;
}

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

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

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  background: #0d3024;
  color: #cfe1d8;
}

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

.site-footer .brand-sub {
  color: #cfe1d8;
}

.site-footer p a {
  color: #ecf7f1;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 20px 98px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: #ecf7f1;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer-workingholiday-links,
.footer-education-links,
.footer-country-links {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(207, 225, 216, 0.18);
}

.footer-heading {
  margin: 0 0 14px;
  color: #ffffff;
  font-weight: 800;
}

.country-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.country-footer-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(207, 225, 216, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ecf7f1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.country-footer-nav a:hover,
.country-footer-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.footer-meta {
  margin-top: 24px;
  color: #aac1b6;
  font-size: 0.9rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(15, 59, 43, 0.08);
}

.redirect-box {
  max-width: 720px;
  margin: 80px auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 63px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 59, 43, 0.12);
  }

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

  .nav a {
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav .nav-cta {
    justify-content: center;
    margin: 14px 0 0;
    border-radius: 8px;
  }

  .hero-grid,
  .split,
  .doctor-card,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .doctor-card {
    background: linear-gradient(180deg, var(--green-900) 0, var(--green-900) 168px, #fff 168px);
  }

  .doctor-card-text {
    background: #fff;
  }

  .doctor-card > div {
    padding: 34px 32px 36px;
  }

  .doctor-card-text > div {
    padding: 34px 32px 36px;
  }

  .hero-visual {
    max-width: 560px;
  }

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

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

  .positioning-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .positioning-panel .actions {
    justify-content: flex-start;
  }

  .medical-cost-benefit-points {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .mobile-break {
    display: block;
  }

  body {
    font-size: 15px;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(8, 37, 28, 0.95) 0%, rgba(15, 59, 43, 0.84) 62%, rgba(15, 59, 43, 0.7) 100%),
      url("/assets/hero-consultation.png") 62% center / cover no-repeat;
  }

  .header-inner {
    padding: 10px 14px;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .hero-inner,
  .section-inner {
    padding: 48px 16px;
    max-width: 100%;
  }

  .doctor-section {
    scroll-margin-top: 72px;
  }

  .doctor-section .section-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .doctor-card {
    box-shadow: 0 18px 46px rgba(15, 59, 43, 0.13);
  }

  .doctor-card > div {
    padding: 22px 18px 24px;
  }

  .doctor-card-text > div {
    padding: 24px 20px;
  }

  .doctor-card h2 {
    font-size: 1.34rem;
    word-break: normal;
  }

  .doctor-kicker {
    font-size: 0.96rem;
  }

  .doctor-card .button-secondary {
    width: 100%;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .page-hero .hero-inner {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 1.78rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-break: anywhere;
  }

  h2 {
    font-size: 1.56rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-break: anywhere;
  }

  .lead {
    font-size: 1rem;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-break: anywhere;
  }

  .hero h1,
  .hero .lead,
  .hero-note,
  .facts,
  .actions {
    max-width: calc(100vw - 32px);
  }

  p,
  li,
  .hero-note,
  .notice {
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .button {
    width: 100%;
    justify-content: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .doctor-card p,
  .doctor-card li {
    word-break: normal;
  }

  .actions {
    flex-direction: column;
  }

  .hero .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero .button {
    width: auto;
    min-height: 54px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .hero .hero-note {
    margin-top: 16px;
    padding: 12px 14px;
    font-size: 0;
  }

  .hero .hero-note::before {
    content: "診断・処方は行いません。緊急時は現地救急を優先してください。";
    font-size: 0.9rem;
  }

  .facts,
  .grid-3,
  .grid-4,
  .grid-5,
  .form-row {
    grid-template-columns: 1fr;
  }

  .medifellow-panel {
    padding: 20px;
  }

  .medifellow-metrics {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: 18px;
  }

  .faq-accordion summary {
    padding: 18px;
  }

  .faq-accordion .faq-item p {
    padding: 0 18px 18px;
  }

  .comparison-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }

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

  .comparison-table {
    display: block;
    min-width: 0;
  }

  .comparison-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .comparison-table tbody {
    display: grid;
    gap: 14px;
  }

  .comparison-table tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 59, 43, 0.06);
  }

  .comparison-table .highlight-row {
    border-color: rgba(18, 97, 62, 0.26);
    box-shadow: 0 18px 46px rgba(15, 59, 43, 0.12);
  }

  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100% !important;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table th::before,
  .comparison-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 8px;
    color: var(--green-800);
    font-size: 0.78rem;
    font-weight: 900;
  }

  .comparison-table tr > *:last-child {
    border-bottom: 0;
  }

  .comparison-price strong {
    font-size: 2.1rem;
  }

  .positioning-panel {
    padding: 22px 18px;
  }

  .positioning-panel .actions {
    margin-top: 18px;
  }

  .medical-cost-benefit-section .section-inner {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .medical-cost-benefit-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 22px 18px;
  }

  .medical-cost-benefit-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .medical-cost-benefit-mark::before {
    left: 13px;
    top: 12px;
    width: 19px;
    height: 19px;
  }

  .medical-cost-benefit-mark::after {
    right: 11px;
    bottom: 12px;
    width: 16px;
  }

  .medical-cost-benefit-card h2 {
    font-size: 1.32rem;
  }

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

  .fact {
    padding: 10px;
  }

  .fact strong {
    font-size: 1.05rem;
  }

  .fact span {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

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

  .hero-visual {
    display: none;
  }

  .step {
    padding: 74px 22px 22px;
  }

  .step::before {
    left: 22px;
    top: 22px;
  }

  .sticky-cta {
    display: block;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 80;
    width: auto;
    max-width: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    pointer-events: none;
  }

  .sticky-cta .button-secondary {
    display: none;
  }

  .sticky-cta .button {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 1rem;
    box-shadow: 0 16px 34px rgba(18, 97, 62, 0.28);
    pointer-events: auto;
  }
}

@media (max-width: 480px) {
  .doctor-card .credential-list {
    grid-template-columns: 1fr;
  }
}

/* Medifellow study-abroad partner LP */
body.agent-plan-page {
  --agent-blue-950: #062a4c;
  --agent-blue-900: #083761;
  --agent-blue-800: #0d5fa8;
  --agent-blue-700: #1574c4;
  --agent-blue-100: #e8f4ff;
  --agent-blue-050: #f5fbff;
  --agent-green: #21a66b;
  --agent-green-soft: #e8f8ef;
  --agent-yellow: #fff4c7;
  --agent-line: #d7e8f5;
  --agent-text: #315064;
  --agent-muted: #637d8d;
  color: var(--agent-text);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 244, 199, 0.72) 0, rgba(255, 244, 199, 0) 310px),
    radial-gradient(circle at 92% 14%, rgba(211, 240, 255, 0.86) 0, rgba(211, 240, 255, 0) 360px),
    linear-gradient(180deg, #f8fcff 0, #ffffff 540px, #f6fbff 100%);
}

.agent-plan-page h1,
.agent-plan-page h2,
.agent-plan-page h3 {
  color: var(--agent-blue-950);
  letter-spacing: 0;
  word-break: normal;
}

.agent-plan-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(215, 232, 245, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.agent-plan-header-inner,
.agent-plan-section-inner,
.agent-plan-hero-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.agent-plan-header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.agent-plan-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--agent-blue-950);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.agent-plan-brand-logo {
  display: block;
  width: 175px;
  height: 32px;
  flex: 0 0 175px;
  background: var(--agent-blue-950);
  -webkit-mask: url("/assets/medifellow-logo.svg") center / contain no-repeat;
  mask: url("/assets/medifellow-logo.svg") center / contain no-repeat;
}

.agent-plan-brand-sub {
  display: block;
  color: var(--agent-muted);
  font-size: 0.73rem;
  font-weight: 800;
}

.agent-plan-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.agent-plan-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--agent-blue-900);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.agent-plan-nav a:hover,
.agent-plan-nav a:focus-visible {
  background: var(--agent-blue-100);
  outline: none;
}

.agent-plan-nav .agent-plan-nav-cta {
  margin-left: 6px;
  background: var(--agent-blue-800);
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 95, 168, 0.2);
}

.agent-plan-nav .agent-plan-nav-cta:hover,
.agent-plan-nav .agent-plan-nav-cta:focus-visible {
  background: var(--agent-blue-700);
}

.agent-plan-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 251, 255, 0.98) 0%, rgba(232, 244, 255, 0.92) 55%, rgba(232, 248, 239, 0.9) 100%),
    #f5fbff;
}

.agent-plan-hero::before,
.agent-plan-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.agent-plan-hero::before {
  right: -96px;
  top: -94px;
  width: 320px;
  height: 320px;
  background: rgba(33, 166, 107, 0.13);
}

.agent-plan-hero::after {
  left: -84px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  background: rgba(255, 244, 199, 0.62);
}

.agent-plan-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.72fr);
  gap: 52px;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 76px;
}

.agent-plan-hero-inner > *,
.agent-plan-grid > *,
.agent-plan-split > *,
.agent-plan-price-panel > *,
.agent-plan-flow > *,
.agent-plan-trust-grid > * {
  min-width: 0;
}

.agent-plan-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--agent-blue-800);
  font-size: 0.84rem;
  font-weight: 900;
}

.agent-plan-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--agent-green);
  box-shadow: 0 0 0 5px var(--agent-green-soft);
}

.agent-plan-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  line-height: 1.18;
}

.agent-plan-h1-desktop {
  display: block;
}

.agent-plan-h1-mobile {
  display: none;
}

.agent-plan-lead,
.agent-plan-section-head p,
.agent-plan-split p {
  color: var(--agent-text);
}

.agent-plan-lead {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.1rem;
}

.agent-plan-lead span {
  display: block;
}

.agent-plan-price-badge {
  display: grid;
  gap: 6px;
  width: min(100%, 520px);
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(21, 116, 196, 0.16);
  border-left: 6px solid var(--agent-green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 52px rgba(8, 55, 97, 0.1);
}

.agent-plan-price-badge span {
  color: var(--agent-blue-800);
  font-size: 0.86rem;
  font-weight: 900;
}

.agent-plan-price-badge strong {
  color: var(--agent-blue-950);
  font-size: clamp(1.72rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.agent-plan-price-badge small {
  color: var(--agent-muted);
  font-weight: 800;
}

.agent-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.agent-plan-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--agent-blue-800);
  border-radius: 8px;
  background: var(--agent-blue-800);
  color: #fff;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(13, 95, 168, 0.22);
}

.agent-plan-button:hover,
.agent-plan-button:focus-visible {
  background: var(--agent-blue-700);
  outline: none;
}

.agent-plan-button-secondary {
  background: #fff;
  color: var(--agent-blue-800);
  box-shadow: none;
}

.agent-plan-button-secondary:hover,
.agent-plan-button-secondary:focus-visible {
  background: var(--agent-blue-100);
}

.agent-plan-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: center;
}

.agent-plan-visual::before {
  content: "";
  position: absolute;
  inset: 48px 10px 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at 16% 22%, rgba(255, 244, 199, 0.9), rgba(255, 244, 199, 0) 130px),
    radial-gradient(circle at 84% 18%, rgba(21, 116, 196, 0.18), rgba(21, 116, 196, 0) 150px);
  box-shadow: 0 28px 80px rgba(8, 55, 97, 0.14);
}

.agent-plan-visual-card,
.agent-plan-visual-grid {
  position: relative;
  z-index: 1;
}

.agent-plan-visual-card {
  margin: 0 auto;
  width: min(92%, 360px);
  padding: 26px;
  border: 1px solid rgba(215, 232, 245, 0.98);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(8, 55, 97, 0.14);
}

.agent-plan-visual-card span {
  color: var(--agent-blue-800);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-plan-visual-card strong {
  display: block;
  margin-top: 8px;
  color: var(--agent-blue-950);
  font-size: 1.42rem;
  line-height: 1.35;
}

.agent-plan-visual-card p {
  margin: 10px 0 0;
}

.agent-plan-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(88%, 330px);
  margin: 14px auto 0;
}

.agent-plan-visual-grid div {
  min-height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33, 166, 107, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--agent-blue-900);
  font-weight: 900;
}

.agent-plan-section {
  background: #fff;
}

.agent-plan-section-soft {
  background:
    linear-gradient(180deg, rgba(245, 251, 255, 0.96), rgba(255, 255, 255, 0.96)),
    var(--agent-blue-050);
}

.agent-plan-section-blue {
  background:
    linear-gradient(180deg, rgba(232, 244, 255, 0.82), rgba(247, 252, 255, 0.96)),
    var(--agent-blue-100);
}

.agent-plan-section-inner {
  padding-top: 74px;
  padding-bottom: 74px;
}

.agent-plan-section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.agent-plan-section-head-wide {
  max-width: 900px;
}

.agent-plan-section-head h2,
.agent-plan-split h2,
.agent-plan-price-main h2,
.agent-plan-final-cta h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.35;
}

.agent-plan-section-head p {
  margin: 14px 0 0;
}

.agent-plan-grid {
  display: grid;
  gap: 16px;
}

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

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

.agent-plan-card,
.agent-plan-feature {
  min-width: 0;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 55, 97, 0.06);
}

.agent-plan-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  margin-bottom: 14px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--agent-blue-100);
  color: var(--agent-blue-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.agent-plan-card h3,
.agent-plan-feature h3 {
  font-size: 1.05rem;
}

.agent-plan-card p {
  margin: 10px 0 0;
}

.agent-plan-card-blue {
  background:
    linear-gradient(180deg, #fff, rgba(245, 251, 255, 0.96)),
    #fff;
}

.agent-plan-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 36px;
  align-items: start;
}

.agent-plan-check-panel {
  padding: 26px;
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(8, 55, 97, 0.08);
}

.agent-plan-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-plan-check-list li {
  position: relative;
  padding-left: 28px;
}

.agent-plan-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--agent-green);
  border-bottom: 2px solid var(--agent-green);
  transform: rotate(-45deg);
}

.agent-plan-feature {
  position: relative;
  padding-left: 56px;
}

.agent-plan-feature::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--agent-green);
  box-shadow: 0 0 0 7px var(--agent-green-soft);
}

.agent-plan-notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(141, 63, 47, 0.18);
  border-left: 5px solid var(--danger);
  border-radius: 8px;
  background: #fff;
  color: var(--agent-text);
}

.agent-plan-notice p {
  margin: 0;
}

.agent-plan-notice p + p {
  margin-top: 8px;
}

.agent-plan-price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 26px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(21, 116, 196, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.95)),
    #fff;
  box-shadow: 0 22px 62px rgba(8, 55, 97, 0.1);
}

.agent-plan-price-large {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  color: var(--agent-blue-950);
}

.agent-plan-price-large span {
  color: var(--agent-blue-800);
  font-weight: 900;
}

.agent-plan-price-large strong {
  font-size: clamp(2.55rem, 6vw, 4.4rem);
  line-height: 1;
}

.agent-plan-price-large small {
  color: var(--agent-muted);
  font-size: 1rem;
  font-weight: 900;
}

.agent-plan-price-compare {
  display: grid;
  gap: 14px;
}

.agent-plan-price-compare article {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 22px;
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background: #fff;
}

.agent-plan-price-compare article.is-primary {
  border-color: rgba(33, 166, 107, 0.38);
  background:
    linear-gradient(180deg, #fff, rgba(232, 248, 239, 0.74)),
    #fff;
  box-shadow: 0 16px 40px rgba(33, 166, 107, 0.1);
}

.agent-plan-price-compare span {
  color: var(--agent-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.agent-plan-price-compare h3 {
  margin-top: 4px;
}

.agent-plan-price-compare p {
  margin: 8px 0 0;
  color: var(--agent-blue-900);
  font-weight: 900;
}

.agent-plan-price-compare small {
  color: var(--agent-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
}

.agent-plan-price-note {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(13, 95, 168, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--agent-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.agent-plan-scene-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.agent-plan-scene-row article {
  min-height: 136px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 255, 0.76)),
    #fff;
  color: var(--agent-blue-950);
  font-weight: 900;
  scroll-snap-align: start;
}

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

.agent-plan-flow article {
  position: relative;
  min-height: 100%;
  padding: 22px 18px;
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background: #fff;
}

.agent-plan-flow span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--agent-blue-800);
  color: #fff;
  font-weight: 900;
}

.agent-plan-flow p {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.agent-plan-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(21, 116, 196, 0.16);
  border-radius: 8px;
  background: rgba(21, 116, 196, 0.16);
}

.agent-plan-trust-grid article {
  padding: 22px;
  background: #fff;
}

.agent-plan-trust-grid strong {
  display: block;
  color: var(--agent-blue-950);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.18;
}

.agent-plan-trust-grid span {
  display: block;
  margin-top: 6px;
  color: var(--agent-muted);
  font-weight: 900;
}

.agent-plan-logo-area {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.agent-plan-logo-area h3 {
  font-size: 1.24rem;
}

.agent-plan-logo-area p {
  margin: 8px 0 0;
  color: var(--agent-muted);
}

.agent-plan-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.agent-plan-logo-slot {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed #c5d7e3;
  border-radius: 8px;
  background: #f7fafc;
}

.agent-plan-logo-slot span {
  color: var(--agent-muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.agent-plan-faq {
  display: grid;
  gap: 12px;
}

.agent-plan-faq details {
  border: 1px solid var(--agent-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 55, 97, 0.05);
}

.agent-plan-faq summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--agent-blue-950);
  font-weight: 900;
  list-style: none;
}

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

.agent-plan-faq summary::after {
  content: "+";
  float: right;
  color: var(--agent-blue-800);
  font-size: 1.2rem;
}

.agent-plan-faq details[open] summary::after {
  content: "-";
}

.agent-plan-faq p {
  margin: 0;
  padding: 0 22px 20px;
}

.agent-plan-final-cta {
  background:
    radial-gradient(circle at 88% 8%, rgba(33, 166, 107, 0.18), rgba(33, 166, 107, 0) 280px),
    linear-gradient(135deg, #062a4c, #0d5fa8);
  color: #eaf6ff;
}

.agent-plan-final-cta h2 {
  color: #fff;
}

.agent-plan-final-cta .agent-plan-kicker {
  color: #ccecff;
}

.agent-plan-final-cta .agent-plan-kicker::before {
  background: #fff4c7;
  box-shadow: 0 0 0 5px rgba(255, 244, 199, 0.18);
}

.agent-plan-final-cta .agent-plan-button {
  background: #fff;
  color: var(--agent-blue-950);
  border-color: #fff;
}

.agent-plan-contact-box {
  display: inline-grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.agent-plan-contact-box p {
  margin: 0;
}

.agent-plan-notice-dark {
  border-color: rgba(255, 255, 255, 0.24);
  border-left-color: #fff4c7;
  background: rgba(255, 255, 255, 0.1);
  color: #f4fbff;
}

.agent-plan-footer {
  background: #061f38;
  color: #cfe7f8;
}

.agent-plan-footer .agent-plan-section-inner {
  padding-top: 28px;
  padding-bottom: 92px;
}

.agent-plan-footer p {
  margin: 0;
}

.agent-plan-footer p + p {
  margin-top: 6px;
  color: #a9cadf;
  font-size: 0.9rem;
}

.agent-plan-fixed-cta {
  display: none;
}

@media (max-width: 960px) {
  .agent-plan-header-inner {
    min-height: 64px;
  }

  .agent-plan-nav a:not(.agent-plan-nav-cta) {
    display: none;
  }

  .agent-plan-hero-inner,
  .agent-plan-split,
  .agent-plan-price-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-visual {
    min-height: 300px;
  }

  .agent-plan-grid-4,
  .agent-plan-grid-3,
  .agent-plan-flow,
  .agent-plan-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .agent-plan-header-inner,
  .agent-plan-section-inner,
  .agent-plan-hero-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .agent-plan-header-inner {
    gap: 10px;
  }

  .agent-plan-brand {
    gap: 8px;
    font-size: 0.98rem;
  }

  .agent-plan-brand-logo {
    width: 132px;
    height: 24px;
    flex-basis: 132px;
  }

  .agent-plan-brand-sub {
    font-size: 0.64rem;
  }

  .agent-plan-nav .agent-plan-nav-cta {
    margin-left: 0;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .agent-plan-hero-inner {
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 46px;
  }

  .agent-plan-hero h1 {
    font-size: 2.02rem;
    line-height: 1.22;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .agent-plan-lead {
    font-size: 1rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .agent-plan-price-badge {
    padding: 18px;
  }

  .agent-plan-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-button {
    width: 100%;
  }

  .agent-plan-visual {
    min-height: 250px;
  }

  .agent-plan-visual::before {
    inset: 18px 0;
    border-radius: 8px;
  }

  .agent-plan-section-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .agent-plan-section-head {
    margin-bottom: 24px;
  }

  .agent-plan-section-head h2,
  .agent-plan-split h2,
  .agent-plan-price-main h2,
  .agent-plan-final-cta h2 {
    font-size: 1.58rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .agent-plan-grid-4,
  .agent-plan-grid-3,
  .agent-plan-flow,
  .agent-plan-trust-grid,
  .agent-plan-logo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-card,
  .agent-plan-feature,
  .agent-plan-check-panel {
    padding: 20px 18px;
  }

  .agent-plan-feature {
    padding-left: 52px;
  }

  .agent-plan-price-panel {
    padding: 20px 18px;
  }

  .agent-plan-price-large strong {
    font-size: 3rem;
  }

  .agent-plan-scene-row {
    grid-auto-columns: minmax(245px, 84vw);
    margin-right: -16px;
    padding-right: 16px;
  }

  .agent-plan-flow article,
  .agent-plan-trust-grid article {
    padding: 20px 18px;
  }

  .agent-plan-logo-area {
    padding: 20px 18px;
  }

  .agent-plan-faq summary {
    padding: 18px;
  }

  .agent-plan-faq p {
    padding-right: 18px;
    padding-left: 18px;
  }

  .agent-plan-footer .agent-plan-section-inner {
    padding-bottom: 108px;
  }

  .agent-plan-fixed-cta {
    display: none;
  }
}

@media (max-width: 560px) {
  .agent-plan-lead {
    word-break: break-all;
    line-break: anywhere;
  }

  .agent-plan-h1-desktop {
    display: none;
  }

  .agent-plan-h1-mobile {
    display: block;
  }

  .agent-plan-hero .agent-plan-button-secondary {
    display: none;
  }

  .agent-plan-visual-card {
    width: calc(100% - 32px);
  }

  .agent-plan-visual-grid {
    width: calc(100% - 64px);
  }

  .agent-plan-fixed-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 90;
    display: block;
  }

  .agent-plan-fixed-cta a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--agent-blue-800);
    color: #fff;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(13, 95, 168, 0.28);
  }
}

/* Richer Medifellow partner LP refresh */
.agent-plan-hero {
  background:
    linear-gradient(115deg, rgba(247, 252, 255, 0.98) 0%, rgba(233, 246, 255, 0.98) 48%, rgba(224, 247, 238, 0.92) 100%),
    var(--agent-blue-050);
}

.agent-plan-hero::before {
  right: -110px;
  top: -150px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(circle, rgba(33, 166, 107, 0.17) 0, rgba(33, 166, 107, 0.1) 48%, rgba(33, 166, 107, 0) 70%);
}

.agent-plan-hero::after {
  left: auto;
  right: 5%;
  bottom: 28px;
  width: 520px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 244, 199, 0.42);
  filter: blur(12px);
}

.agent-plan-hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.82fr);
  gap: 58px;
  min-height: calc(100svh - 70px);
  padding-top: 68px;
  padding-bottom: 58px;
}

.agent-plan-hero-copy {
  padding-top: 10px;
}

.agent-plan-hero h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 3vw, 3.15rem);
  letter-spacing: 0;
  line-height: 1.12;
}

.agent-plan-lead {
  max-width: 620px;
  color: #24485f;
  font-size: 1.04rem;
  line-height: 1.95;
}

.agent-plan-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 630px;
  margin-top: 22px;
}

.agent-plan-hero-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(21, 116, 196, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--agent-blue-900);
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(8, 55, 97, 0.06);
}

.agent-plan-price-badge {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: min(100%, 620px);
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(21, 116, 196, 0.14);
  border-left: 0;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 62%, rgba(232, 248, 239, 0.98) 100%),
    #fff;
  box-shadow: 0 26px 70px rgba(8, 55, 97, 0.14);
}

.agent-plan-price-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--agent-green), var(--agent-blue-700));
}

.agent-plan-price-badge strong {
  font-size: clamp(2rem, 2.75vw, 2.55rem);
}

.agent-plan-price-badge small {
  justify-self: start;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--agent-yellow);
  color: #685618;
  white-space: nowrap;
}

.agent-plan-visual {
  min-height: 560px;
  align-content: center;
}

.agent-plan-visual::before {
  inset: 20px 0 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
    repeating-linear-gradient(90deg, rgba(13, 95, 168, 0.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(13, 95, 168, 0.05) 0 1px, transparent 1px 56px);
  box-shadow: 0 30px 90px rgba(8, 55, 97, 0.17);
}

.agent-plan-boarding-card,
.agent-plan-floating-card {
  position: relative;
  z-index: 2;
}

.agent-plan-boarding-card {
  width: min(92%, 420px);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.94)),
    #fff;
  box-shadow: 0 26px 70px rgba(8, 55, 97, 0.18);
}

.agent-plan-boarding-head {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #c4d9e8;
}

.agent-plan-boarding-head span {
  color: var(--agent-blue-800);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.agent-plan-boarding-head strong {
  color: var(--agent-blue-950);
  font-size: 1.45rem;
  line-height: 1.12;
}

.agent-plan-route {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: var(--agent-blue-900);
  font-weight: 900;
}

.agent-plan-route i {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--agent-green), var(--agent-blue-700));
}

.agent-plan-route i::before,
.agent-plan-route i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--agent-green);
  transform: translateY(-50%);
}

.agent-plan-route i::before {
  left: 0;
}

.agent-plan-route i::after {
  right: 0;
  background: var(--agent-blue-700);
}

.agent-plan-chat-card {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(33, 166, 107, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, rgba(232, 248, 239, 0.8)),
    #fff;
}

.agent-plan-chat-card span,
.agent-plan-floating-card span {
  display: block;
  color: var(--agent-blue-800);
  font-size: 0.76rem;
  font-weight: 900;
}

.agent-plan-chat-card strong {
  display: block;
  margin-top: 5px;
  color: var(--agent-blue-950);
  font-size: 1.1rem;
  line-height: 1.45;
}

.agent-plan-chat-card p {
  margin: 8px 0 0;
  color: var(--agent-text);
  font-size: 0.92rem;
}

.agent-plan-floating-card {
  position: absolute;
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid rgba(215, 232, 245, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(8, 55, 97, 0.15);
}

.agent-plan-floating-card strong {
  color: var(--agent-blue-950);
  font-size: 1.35rem;
  line-height: 1.1;
}

.agent-plan-floating-card small {
  color: var(--agent-muted);
  font-weight: 800;
}

.agent-plan-floating-card-price {
  right: 0;
  top: 66px;
}

.agent-plan-floating-card-trust {
  left: 6px;
  bottom: 78px;
}

.agent-plan-value-strip {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  background: transparent;
}

.agent-plan-value-strip .agent-plan-section-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border: 1px solid rgba(21, 116, 196, 0.13);
  border-radius: 8px;
  background: rgba(21, 116, 196, 0.12);
  box-shadow: 0 20px 52px rgba(8, 55, 97, 0.1);
}

.agent-plan-value-strip article {
  min-height: 122px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  background: #fff;
}

.agent-plan-value-strip span {
  color: var(--agent-green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-plan-value-strip strong {
  color: var(--agent-blue-950);
  font-size: 1rem;
  line-height: 1.45;
}

.agent-plan-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.agent-plan-card:hover {
  border-color: rgba(21, 116, 196, 0.26);
  box-shadow: 0 22px 50px rgba(8, 55, 97, 0.1);
  transform: translateY(-2px);
}

.agent-plan-section:nth-of-type(3) .agent-plan-card:nth-child(1),
.agent-plan-section:nth-of-type(3) .agent-plan-card:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(232, 248, 239, 0.92), #fff 60%),
    #fff;
}

.agent-plan-price-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(13, 95, 168, 0.2);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 244, 199, 0.7), rgba(255, 244, 199, 0) 230px),
    linear-gradient(135deg, #fff, rgba(245, 251, 255, 0.95)),
    #fff;
}

.agent-plan-price-panel::before {
  content: "PARTNER PLAN";
  position: absolute;
  right: 24px;
  top: 22px;
  color: rgba(13, 95, 168, 0.1);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  pointer-events: none;
}

.agent-plan-price-main,
.agent-plan-price-compare,
.agent-plan-price-note {
  position: relative;
  z-index: 1;
}

.agent-plan-trust-grid {
  box-shadow: 0 18px 46px rgba(8, 55, 97, 0.08);
}

.agent-plan-trust-grid article:first-child {
  background:
    linear-gradient(180deg, rgba(232, 248, 239, 0.94), #fff 68%),
    #fff;
}

.agent-plan-logo-slot {
  background:
    linear-gradient(180deg, #fff, #f5f8fb),
    #f7fafc;
}

@media (max-width: 960px) {
  .agent-plan-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .agent-plan-hero h1 {
    max-width: 820px;
    font-size: clamp(2.3rem, 5vw, 3rem);
  }

  .agent-plan-lead {
    max-width: 720px;
  }

  .agent-plan-price-badge {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-price-badge small {
    justify-self: start;
  }

  .agent-plan-value-strip .agent-plan-section-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-plan-visual {
    max-width: 620px;
    margin: 10px auto 0;
  }

  .agent-plan-floating-card-price {
    right: 6px;
    top: 42px;
  }
}

@media (max-width: 720px) {
  .agent-plan-hero-inner {
    padding-top: 48px;
  }

  .agent-plan-hero h1 {
    font-size: 2.15rem;
  }

  .agent-plan-visual {
    min-height: 360px;
  }

  .agent-plan-visual::before {
    inset: 4px 0 0;
  }

  .agent-plan-boarding-card {
    width: 100%;
    padding: 22px 18px;
  }

  .agent-plan-floating-card {
    position: relative;
  }

  .agent-plan-floating-card-price,
  .agent-plan-floating-card-trust {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(50% - 6px);
  }

  .agent-plan-floating-card-price {
    float: left;
    margin: 12px 6px 0 0;
  }

  .agent-plan-floating-card-trust {
    float: right;
    margin: 12px 0 0 6px;
  }

  .agent-plan-value-strip {
    margin-top: 0;
  }

  .agent-plan-value-strip .agent-plan-section-inner {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  body.agent-plan-page {
    overflow-x: hidden;
  }

  .agent-plan-header-inner,
  .agent-plan-section-inner,
  .agent-plan-hero-inner {
    max-width: 100%;
    padding-right: 24px;
    padding-left: 16px;
  }

  .agent-plan-hero-inner,
  .agent-plan-hero-copy,
  .agent-plan-visual {
    width: 100%;
    min-width: 0;
  }

  .agent-plan-hero-inner,
  .agent-plan-visual {
    overflow: hidden;
  }

  .agent-plan-hero h1 {
    font-size: 1.94rem;
    line-height: 1.22;
  }

  .agent-plan-lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .agent-plan-lead span {
    display: block;
    overflow-wrap: anywhere;
  }

  .agent-plan-hero-pills {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .agent-plan-hero-pills span {
    min-width: 0;
    min-height: 32px;
    justify-content: center;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.78rem;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .agent-plan-price-badge {
    width: 100%;
    max-width: 100%;
    padding: 20px 18px;
  }

  .agent-plan-price-badge strong {
    display: block;
    min-width: 0;
    font-size: 1.62rem;
    line-height: 1.18;
    word-break: break-all;
    line-break: anywhere;
  }

  .agent-plan-price-badge small {
    white-space: normal;
  }

  .agent-plan-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .agent-plan-boarding-card {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    margin-right: 16px;
    margin-left: 0;
    overflow: hidden;
  }

  .agent-plan-boarding-card *,
  .agent-plan-floating-card * {
    min-width: 0;
  }

  .agent-plan-boarding-head {
    display: grid;
    gap: 4px;
  }

  .agent-plan-boarding-head strong {
    font-size: 1.18rem;
  }

  .agent-plan-route {
    grid-template-columns: auto 150px auto;
    width: max-content;
    max-width: 100%;
    gap: 9px;
    font-size: 0.84rem;
  }

  .agent-plan-route i {
    width: 150px;
  }

  .agent-plan-route span {
    overflow-wrap: anywhere;
  }

  .agent-plan-chat-card strong {
    font-size: 1rem;
  }

  .agent-plan-chat-card p {
    word-break: break-all;
    line-break: anywhere;
  }

  .agent-plan-value-strip .agent-plan-section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-value-strip article {
    min-height: auto;
    padding: 18px 16px;
  }

  .agent-plan-floating-card-price,
  .agent-plan-floating-card-trust {
    width: 100%;
    float: none;
    margin: 10px 0 0;
  }
}

/* Final premium overrides for the Medifellow partner page */
body.agent-plan-page {
  background:
    linear-gradient(180deg, #f7fbff 0, #ffffff 520px),
    #fff;
}

.agent-plan-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 247, 255, 0.96) 58%, rgba(232, 248, 239, 0.82) 100%),
    #f4faff;
  border-bottom: 1px solid rgba(6, 42, 76, 0.08);
}

.agent-plan-hero::before,
.agent-plan-hero::after,
.agent-plan-visual-board::before,
.agent-plan-price-panel::before {
  display: none;
}

.agent-plan-hero-inner {
  min-height: 650px;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.82fr);
  gap: 74px;
  padding-top: 72px;
  padding-bottom: 76px;
}

.agent-plan-hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 3.2vw, 3.45rem);
  line-height: 1.08;
}

.agent-plan-visual-board {
  min-height: auto;
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 0;
}

.agent-plan-price-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  overflow: visible;
  border-color: rgba(6, 42, 76, 0.12);
  background: #fff;
  box-shadow: 0 24px 60px rgba(6, 42, 76, 0.1);
}

.agent-plan-price-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .agent-plan-hero-inner,
  .agent-plan-price-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-hero-inner {
    min-height: auto;
    gap: 44px;
  }
}

@media (max-width: 720px) {
  .agent-plan-hero h1 {
    font-size: 2.05rem;
    line-height: 1.18;
  }

  .agent-plan-price-compare {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Study-abroad brochure direction */
body.agent-plan-page {
  --agent-navy: #092d4e;
  --agent-teal: #0f9a83;
  --agent-sky: #dff3ff;
  --agent-cream: #fff7dd;
  --agent-mint: #eaf8ee;
  color: #21445c;
  background: #fff;
}

.agent-plan-page * {
  letter-spacing: 0;
}

.agent-plan-header {
  border-bottom: 1px solid rgba(9, 45, 78, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.agent-plan-hero {
  background:
    linear-gradient(90deg, #ffffff 0%, #f4fbff 52%, #e6f7f2 100%),
    #f7fbff;
}

.agent-plan-hero-inner {
  min-height: 720px;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.86fr);
  gap: 74px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 80px;
}

.agent-plan-hero h1 {
  max-width: 740px;
  color: var(--agent-navy);
  font-size: clamp(2.5rem, 3.2vw, 3.35rem);
  line-height: 1.08;
}

.agent-plan-lead {
  max-width: 620px;
  color: #31566e;
  font-size: 1.08rem;
}

.agent-plan-kicker {
  color: #116c93;
}

.agent-plan-kicker::before {
  background: var(--agent-teal);
  box-shadow: 0 0 0 5px rgba(15, 154, 131, 0.12);
}

.agent-plan-hero-pills {
  gap: 10px;
}

.agent-plan-hero-pills span {
  border: 1px solid rgba(9, 45, 78, 0.12);
  background: #fff;
  color: var(--agent-navy);
  box-shadow: 0 8px 22px rgba(9, 45, 78, 0.06);
}

.agent-plan-price-badge {
  max-width: 620px;
  border: 1px solid rgba(9, 45, 78, 0.12);
  border-left: 6px solid var(--agent-teal);
  background:
    linear-gradient(90deg, #ffffff, #f2fbf8),
    #fff;
  box-shadow: 0 22px 54px rgba(9, 45, 78, 0.12);
}

.agent-plan-price-badge strong {
  color: var(--agent-navy);
}

.agent-plan-price-badge small {
  background: var(--agent-cream);
  color: #705b14;
}

.agent-plan-button {
  border-color: #0a66ad;
  background: #0a66ad;
  box-shadow: 0 16px 34px rgba(10, 102, 173, 0.22);
}

.agent-plan-button:hover,
.agent-plan-button:focus-visible {
  background: #075795;
}

.agent-plan-button-secondary {
  background: #fff;
  color: #0a66ad;
  box-shadow: none;
}

.agent-plan-photo-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  align-content: center;
  padding: 0;
  overflow: visible;
}

.agent-plan-photo-visual::before {
  display: none;
}

.agent-plan-hero-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #dff3ff, #eaf8ee),
    #eef7fb;
  box-shadow: 0 30px 80px rgba(9, 45, 78, 0.18);
}

.agent-plan-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 45, 78, 0.03), rgba(9, 45, 78, 0.2));
}

.agent-plan-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.agent-plan-photo-price,
.agent-plan-photo-note {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: 300px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(9, 45, 78, 0.16);
}

.agent-plan-photo-price {
  right: -18px;
  bottom: 42px;
}

.agent-plan-photo-note {
  left: -22px;
  top: 48px;
}

.agent-plan-photo-price span,
.agent-plan-photo-note span {
  color: #0a66ad;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-plan-photo-price strong {
  color: var(--agent-navy);
  font-size: 1.72rem;
  line-height: 1.18;
}

.agent-plan-photo-note strong {
  color: var(--agent-navy);
  font-size: 1.05rem;
  line-height: 1.45;
}

.agent-plan-photo-price small {
  color: #5e7686;
  font-weight: 800;
}

.agent-plan-value-strip {
  background: var(--agent-navy);
  border: 0;
}

.agent-plan-value-strip .agent-plan-section-inner {
  max-width: 1240px;
  border: 0;
  background: transparent;
}

.agent-plan-value-strip article {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.agent-plan-value-strip span {
  color: #9fe4d2;
}

.agent-plan-value-strip strong {
  color: #fff;
}

.agent-plan-section:nth-of-type(3) {
  background: #fff;
}

.agent-plan-audience-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-plan-audience-panels article {
  overflow: hidden;
  border: 1px solid rgba(9, 45, 78, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(9, 45, 78, 0.08);
}

.agent-plan-audience-photo {
  min-height: 170px;
  background-size: cover;
  background-position: center;
}

.agent-plan-audience-photo.is-agent {
  background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=680&q=78");
}

.agent-plan-audience-photo.is-school {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=680&q=78");
}

.agent-plan-audience-photo.is-family {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=680&q=78");
}

.agent-plan-audience-panels span,
.agent-plan-audience-panels h3,
.agent-plan-audience-panels p {
  margin-right: 22px;
  margin-left: 22px;
}

.agent-plan-audience-panels span {
  display: inline-flex;
  margin-top: 20px;
  color: var(--agent-teal);
  font-weight: 900;
}

.agent-plan-audience-panels h3 {
  margin-top: 8px;
  font-size: 1.18rem;
}

.agent-plan-audience-panels p {
  margin-top: 10px;
  margin-bottom: 24px;
}

.agent-plan-story-band {
  background:
    linear-gradient(90deg, #fff8df, #f4fbff),
    var(--agent-cream);
}

.agent-plan-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 44px;
  align-items: start;
}

.agent-plan-story-copy {
  position: sticky;
  top: 92px;
}

.agent-plan-story-line {
  display: grid;
  gap: 14px;
}

.agent-plan-story-line article {
  position: relative;
  padding: 22px 22px 22px 76px;
  border: 1px solid rgba(9, 45, 78, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.agent-plan-story-line article::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 24px;
  height: 24px;
  border: 6px solid rgba(15, 154, 131, 0.18);
  border-radius: 999px;
  background: var(--agent-teal);
}

.agent-plan-story-line span,
.agent-plan-benefit-focus span,
.agent-plan-scene-gallery span {
  color: #0a66ad;
  font-size: 0.78rem;
  font-weight: 900;
}

.agent-plan-story-line strong {
  display: block;
  color: var(--agent-navy);
  font-size: 1.18rem;
}

.agent-plan-story-line p {
  margin: 6px 0 0;
}

.agent-plan-benefit-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-plan-benefit-focus article {
  padding: 28px;
  border-radius: 8px;
  background: var(--agent-navy);
  color: #dcecf7;
}

.agent-plan-benefit-focus article:nth-child(2) {
  background: #0b6f91;
}

.agent-plan-benefit-focus article:nth-child(3) {
  background: #0d806d;
}

.agent-plan-benefit-focus h3 {
  margin-top: 10px;
  color: #fff;
  font-size: 1.3rem;
}

.agent-plan-benefit-focus p {
  margin: 10px 0 0;
}

.agent-plan-service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 38px;
  align-items: center;
}

.agent-plan-service-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(9, 45, 78, 0.08);
}

.agent-plan-service-bubbles span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f4fbff;
  color: var(--agent-navy);
  font-weight: 900;
}

.agent-plan-price-panel {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  padding: 34px;
  border: 0;
  background:
    linear-gradient(135deg, #092d4e 0%, #0b6f91 100%),
    var(--agent-navy);
  box-shadow: 0 28px 70px rgba(9, 45, 78, 0.18);
}

.agent-plan-price-main h2,
.agent-plan-price-main .agent-plan-kicker,
.agent-plan-price-main .agent-plan-price-large,
.agent-plan-price-main .agent-plan-check-list li {
  color: #fff;
}

.agent-plan-price-main .agent-plan-kicker::before {
  background: #fff7dd;
  box-shadow: 0 0 0 5px rgba(255, 247, 221, 0.18);
}

.agent-plan-price-large strong {
  font-size: clamp(3rem, 6vw, 5rem);
}

.agent-plan-price-main .agent-plan-check-list li::before {
  border-color: #9fe4d2;
}

.agent-plan-price-compare article {
  border: 0;
  background: rgba(255, 255, 255, 0.95);
}

.agent-plan-price-compare article.is-primary {
  background: #fff7dd;
  box-shadow: none;
}

.agent-plan-price-note {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #e7f4fb;
}

.agent-plan-resale-box {
  border: 0;
  background: #f4fbff;
  box-shadow: none;
}

.agent-plan-scene-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.agent-plan-scene-gallery article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 45, 78, 0.08), rgba(9, 45, 78, 0.78)),
    #dff3ff;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.agent-plan-scene-gallery .is-arrival {
  background-image: linear-gradient(180deg, rgba(9, 45, 78, 0.08), rgba(9, 45, 78, 0.78)), url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=560&q=76");
}

.agent-plan-scene-gallery .is-pharmacy {
  background-image: linear-gradient(180deg, rgba(9, 45, 78, 0.08), rgba(9, 45, 78, 0.78)), url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=560&q=76");
}

.agent-plan-scene-gallery .is-clinic {
  background-image: linear-gradient(180deg, rgba(9, 45, 78, 0.08), rgba(9, 45, 78, 0.78)), url("https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=560&q=76");
}

.agent-plan-scene-gallery .is-family {
  background-image: linear-gradient(180deg, rgba(9, 45, 78, 0.08), rgba(9, 45, 78, 0.78)), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=560&q=76");
}

.agent-plan-scene-gallery span {
  color: #9fe4d2;
}

.agent-plan-scene-gallery strong {
  margin-top: 6px;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.45;
}

.agent-plan-flow-line {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.agent-plan-flow-line article {
  border: 0;
  border-top: 3px solid #cfe3ef;
  background: transparent;
}

.agent-plan-flow-line span {
  margin-top: -42px;
  background: var(--agent-teal);
}

.agent-plan-logo-showcase {
  border: 0;
  background: #fff;
  box-shadow: 0 20px 54px rgba(9, 45, 78, 0.09);
}

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

.agent-plan-logo-slot {
  min-height: 92px;
  border: 1px solid #e0e8ee;
  border-radius: 8px;
  background: #fff;
}

.agent-plan-final-cta {
  background:
    linear-gradient(90deg, rgba(9, 45, 78, 0.96), rgba(10, 102, 173, 0.9)),
    var(--agent-navy);
}

.agent-plan-final-cta .agent-plan-section-inner {
  padding-top: 88px;
  padding-bottom: 88px;
}

@media (max-width: 960px) {
  .agent-plan-hero-inner,
  .agent-plan-story-layout,
  .agent-plan-service-split,
  .agent-plan-price-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-photo-visual {
    max-width: 720px;
  }

  .agent-plan-audience-panels,
  .agent-plan-benefit-focus {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-story-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .agent-plan-hero-inner {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .agent-plan-hero h1 {
    font-size: 2.08rem;
  }

  .agent-plan-photo-visual,
  .agent-plan-hero-photo {
    min-height: 390px;
  }

  .agent-plan-hero-photo img {
    min-height: 390px;
  }

  .agent-plan-photo-price,
  .agent-plan-photo-note {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 10px;
  }

  .agent-plan-value-strip .agent-plan-section-inner,
  .agent-plan-logo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-story-line article {
    padding-left: 64px;
  }

  .agent-plan-service-bubbles,
  .agent-plan-price-panel {
    padding: 22px 18px;
  }

  .agent-plan-scene-gallery {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 84vw);
    grid-template-columns: none;
    margin-right: -16px;
    padding-right: 16px;
  }

  .agent-plan-flow-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-plan-flow-line article {
    border-top: 0;
    border-left: 3px solid #cfe3ef;
    padding-left: 26px;
  }

  .agent-plan-flow-line span {
    margin-top: 0;
    margin-left: -46px;
  }
}

/* Solid-color pass for the Medifellow private partner LP. */
body.agent-plan-page {
  background: #fff;
}

body.agent-plan-page .agent-plan-hero {
  background: #f4faf8;
}

body.agent-plan-page .agent-plan-hero::before,
body.agent-plan-page .agent-plan-hero::after,
body.agent-plan-page .agent-plan-price-panel::before {
  display: none;
}

body.agent-plan-page .agent-plan-price-badge {
  background: #fff;
  border-color: #d7e7ea;
}

body.agent-plan-page .agent-plan-hero-photo {
  background: #e8f1f4;
}

body.agent-plan-page .agent-plan-hero-photo::after {
  background: rgba(9, 45, 78, 0.14);
}

body.agent-plan-page .agent-plan-story-band {
  background: #fff7df;
}

body.agent-plan-page .agent-plan-section-blue {
  background: #f3f9fc;
}

body.agent-plan-page .agent-plan-value-strip {
  background: #092d4e;
}

body.agent-plan-page .agent-plan-value-strip span {
  color: #b7efe1;
}

body.agent-plan-page .agent-plan-value-strip strong {
  color: #fff;
}

body.agent-plan-page .agent-plan-benefit-focus article {
  background: #092d4e;
  color: #f4fbff;
}

body.agent-plan-page .agent-plan-benefit-focus article:nth-child(2) {
  background: #0a5576;
}

body.agent-plan-page .agent-plan-benefit-focus article:nth-child(3) {
  background: #08705f;
}

body.agent-plan-page .agent-plan-benefit-focus span {
  color: #b7efe1;
}

body.agent-plan-page .agent-plan-benefit-focus h3 {
  color: #fff;
}

body.agent-plan-page .agent-plan-benefit-focus p {
  color: #eef9ff;
}

body.agent-plan-page .agent-plan-price-panel {
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
  padding: 40px;
  background: #092d4e;
  color: #fff;
}

body.agent-plan-page .agent-plan-price-main {
  min-width: 0;
}

body.agent-plan-page .agent-plan-price-large {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 6px;
}

body.agent-plan-page .agent-plan-price-main h2,
body.agent-plan-page .agent-plan-price-main .agent-plan-kicker,
body.agent-plan-page .agent-plan-price-main .agent-plan-price-large,
body.agent-plan-page .agent-plan-price-main .agent-plan-price-large span,
body.agent-plan-page .agent-plan-price-main .agent-plan-price-large small,
body.agent-plan-page .agent-plan-price-main .agent-plan-check-list li {
  color: #fff;
}

body.agent-plan-page .agent-plan-price-main .agent-plan-kicker::before {
  background: #b7efe1;
  box-shadow: 0 0 0 5px rgba(183, 239, 225, 0.18);
}

body.agent-plan-page .agent-plan-price-large strong {
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(3.25rem, 4.2vw, 4.35rem);
  line-height: 0.96;
}

body.agent-plan-page .agent-plan-price-large span {
  flex-basis: 100%;
}

body.agent-plan-page .agent-plan-price-large small {
  padding-bottom: 0.42rem;
}

body.agent-plan-page .agent-plan-price-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.agent-plan-page .agent-plan-price-compare article {
  min-height: 156px;
  padding: 22px 20px;
}

body.agent-plan-page .agent-plan-price-note {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  color: #f4fbff;
}

body.agent-plan-page .agent-plan-resale-box {
  background: #f4fbff;
}

body.agent-plan-page .agent-plan-scene-gallery article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #092d4e;
  color: #fff;
}

body.agent-plan-page .agent-plan-scene-gallery article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 45, 78, 0.68);
}

body.agent-plan-page .agent-plan-scene-gallery article > * {
  position: relative;
  z-index: 1;
}

body.agent-plan-page .agent-plan-scene-gallery .is-arrival {
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=560&q=76");
}

body.agent-plan-page .agent-plan-scene-gallery .is-pharmacy {
  background-image: url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=560&q=76");
}

body.agent-plan-page .agent-plan-scene-gallery .is-clinic {
  background-image: url("https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=560&q=76");
}

body.agent-plan-page .agent-plan-scene-gallery .is-family {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=560&q=76");
}

body.agent-plan-page .agent-plan-scene-gallery span {
  color: #b7efe1;
}

body.agent-plan-page .agent-plan-scene-gallery strong {
  color: #fff;
}

body.agent-plan-page .agent-plan-final-cta {
  background: #092d4e;
  color: #f4fbff;
}

body.agent-plan-page .agent-plan-final-cta h2,
body.agent-plan-page .agent-plan-final-cta .agent-plan-kicker,
body.agent-plan-page .agent-plan-final-cta p,
body.agent-plan-page .agent-plan-final-cta .agent-plan-contact-box,
body.agent-plan-page .agent-plan-notice-dark p {
  color: #f4fbff;
}

body.agent-plan-page .agent-plan-final-cta .agent-plan-kicker::before {
  background: #b7efe1;
  box-shadow: 0 0 0 5px rgba(183, 239, 225, 0.18);
}

@media (max-width: 960px) {
  body.agent-plan-page .agent-plan-price-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 22px;
  }

  body.agent-plan-page .agent-plan-price-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.agent-plan-page .agent-plan-price-compare {
    grid-template-columns: minmax(0, 1fr);
  }

  body.agent-plan-page .agent-plan-price-large strong {
    font-size: clamp(2.8rem, 14vw, 3.55rem);
  }
}

/* Brighter study-abroad direction: open, light, and less medical-heavy. */
body.agent-plan-page {
  --agent-navy: #08365a;
  --agent-blue-700: #0877c9;
  --agent-green: #16b889;
  --agent-teal: #10a995;
  --agent-soft-sky: #edfaff;
  --agent-soft-mint: #eefbf5;
  --agent-soft-cream: #fff8e6;
  color: #23495f;
  background: #fff;
}

body.agent-plan-page .agent-plan-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(8, 54, 90, 0.08);
}

body.agent-plan-page .agent-plan-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 236, 163, 0.32), rgba(255, 236, 163, 0) 260px),
    linear-gradient(180deg, #eaf9ff 0%, #f7fdff 58%, #ffffff 100%);
}

body.agent-plan-page .agent-plan-hero::before {
  display: block;
  content: "";
  position: absolute;
  inset: 72px 0 auto 0;
  height: 260px;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 20% 64%, rgba(255, 255, 255, 0.95) 0 34px, rgba(255, 255, 255, 0) 35px),
    radial-gradient(circle at 29% 50%, rgba(255, 255, 255, 0.8) 0 48px, rgba(255, 255, 255, 0) 49px),
    radial-gradient(circle at 76% 56%, rgba(255, 255, 255, 0.85) 0 42px, rgba(255, 255, 255, 0) 43px);
}

body.agent-plan-page .agent-plan-hero::after {
  display: block;
  content: "";
  position: absolute;
  right: 10%;
  top: 128px;
  width: min(430px, 36vw);
  height: 150px;
  pointer-events: none;
  opacity: 0.22;
  border-top: 2px dashed #0d93c7;
  border-radius: 50%;
  transform: rotate(-8deg);
}

body.agent-plan-page .agent-plan-hero-inner {
  position: relative;
  z-index: 1;
}

body.agent-plan-page .agent-plan-hero h1 {
  color: #062f50;
}

body.agent-plan-page .agent-plan-lead {
  color: #2f5c73;
}

body.agent-plan-page .agent-plan-kicker {
  color: #0877a7;
}

body.agent-plan-page .agent-plan-kicker::before {
  background: var(--agent-green);
  box-shadow: 0 0 0 5px rgba(22, 184, 137, 0.13);
}

body.agent-plan-page .agent-plan-button,
body.agent-plan-page .agent-plan-fixed-cta a {
  border-color: #12a57f;
  background: #12a57f;
  color: #fff;
  box-shadow: 0 16px 34px rgba(18, 165, 127, 0.24);
}

body.agent-plan-page .agent-plan-button:hover,
body.agent-plan-page .agent-plan-button:focus-visible,
body.agent-plan-page .agent-plan-fixed-cta a:hover,
body.agent-plan-page .agent-plan-fixed-cta a:focus-visible {
  border-color: #0c8f6d;
  background: #0c8f6d;
}

body.agent-plan-page .agent-plan-button-secondary {
  border-color: rgba(8, 119, 201, 0.36);
  background: #fff;
  color: #0877c9;
  box-shadow: none;
}

body.agent-plan-page .agent-plan-price-badge {
  background: #fff;
  border-color: rgba(22, 184, 137, 0.22);
  border-left-color: var(--agent-green);
  box-shadow: 0 22px 54px rgba(8, 119, 201, 0.11);
}

body.agent-plan-page .agent-plan-price-badge strong,
body.agent-plan-page .agent-plan-photo-price strong {
  color: #062f50;
}

body.agent-plan-page .agent-plan-price-badge small,
body.agent-plan-page .agent-plan-photo-price small {
  background: #fff4cd;
  color: #6f5813;
}

body.agent-plan-page .agent-plan-hero-photo {
  background: #e8f8ff;
  box-shadow: 0 30px 80px rgba(8, 119, 201, 0.13);
}

body.agent-plan-page .agent-plan-hero-photo::after {
  background: rgba(255, 255, 255, 0.06);
}

body.agent-plan-page .agent-plan-hero-photo img {
  filter: saturate(1.08) brightness(1.1);
}

body.agent-plan-page .agent-plan-photo-price,
body.agent-plan-page .agent-plan-photo-note {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(8, 119, 201, 0.16);
}

body.agent-plan-page .agent-plan-photo-price span,
body.agent-plan-page .agent-plan-photo-note span {
  color: #0877c9;
}

body.agent-plan-page .agent-plan-photo-note strong {
  color: #062f50;
}

body.agent-plan-page .agent-plan-value-strip {
  background: #f4fcff;
  border-top: 1px solid rgba(8, 119, 201, 0.08);
  border-bottom: 1px solid rgba(8, 119, 201, 0.08);
}

body.agent-plan-page .agent-plan-value-strip .agent-plan-section-inner {
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

body.agent-plan-page .agent-plan-value-strip article {
  border: 1px solid rgba(8, 119, 201, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(8, 119, 201, 0.06);
}

body.agent-plan-page .agent-plan-value-strip span {
  color: #109f83;
}

body.agent-plan-page .agent-plan-value-strip strong {
  color: #08365a;
}

body.agent-plan-page .agent-plan-audience-photo.is-agent {
  background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=760&q=82");
}

body.agent-plan-page .agent-plan-audience-photo.is-school {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=760&q=82");
}

body.agent-plan-page .agent-plan-audience-photo.is-family {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=760&q=82");
}

body.agent-plan-page .agent-plan-audience-panels article {
  border-color: rgba(8, 119, 201, 0.12);
  box-shadow: 0 18px 44px rgba(8, 119, 201, 0.08);
}

body.agent-plan-page .agent-plan-story-band {
  background: #fff8e6;
}

body.agent-plan-page .agent-plan-story-line article {
  border-color: rgba(22, 184, 137, 0.13);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(144, 119, 42, 0.07);
}

body.agent-plan-page .agent-plan-story-line article::before {
  border-color: rgba(22, 184, 137, 0.16);
  background: var(--agent-green);
}

body.agent-plan-page .agent-plan-benefit-focus article,
body.agent-plan-page .agent-plan-benefit-focus article:nth-child(2),
body.agent-plan-page .agent-plan-benefit-focus article:nth-child(3) {
  border: 1px solid rgba(8, 119, 201, 0.12);
  border-top: 5px solid #12a57f;
  background: #fff;
  color: #345a70;
  box-shadow: 0 18px 42px rgba(8, 119, 201, 0.08);
}

body.agent-plan-page .agent-plan-benefit-focus article:nth-child(2) {
  border-top-color: #19a7df;
  background: #f4fbff;
}

body.agent-plan-page .agent-plan-benefit-focus article:nth-child(3) {
  border-top-color: #f0c44f;
  background: #fffaf0;
}

body.agent-plan-page .agent-plan-benefit-focus span {
  color: #0877c9;
}

body.agent-plan-page .agent-plan-benefit-focus h3 {
  color: #08365a;
}

body.agent-plan-page .agent-plan-benefit-focus p {
  color: #345a70;
}

body.agent-plan-page .agent-plan-section-blue {
  background: #eef9ff;
}

body.agent-plan-page .agent-plan-price-panel {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  border: 1px solid rgba(22, 184, 137, 0.2);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 226, 128, 0.24), rgba(255, 226, 128, 0) 240px),
    linear-gradient(180deg, #f3fff9 0%, #f4fbff 100%);
  color: #08365a;
  box-shadow: 0 28px 70px rgba(8, 119, 201, 0.12);
}

body.agent-plan-page .agent-plan-price-main {
  padding: 30px;
  border: 1px solid rgba(22, 184, 137, 0.2);
  border-left: 7px solid var(--agent-green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(22, 184, 137, 0.11);
}

body.agent-plan-page .agent-plan-price-main h2,
body.agent-plan-page .agent-plan-price-main .agent-plan-kicker,
body.agent-plan-page .agent-plan-price-main .agent-plan-price-large,
body.agent-plan-page .agent-plan-price-main .agent-plan-price-large span,
body.agent-plan-page .agent-plan-price-main .agent-plan-price-large small,
body.agent-plan-page .agent-plan-price-main .agent-plan-check-list li {
  color: #08365a;
}

body.agent-plan-page .agent-plan-price-large strong {
  color: #06385b;
}

body.agent-plan-page .agent-plan-price-large small {
  color: #356179;
}

body.agent-plan-page .agent-plan-price-main .agent-plan-check-list li::before {
  border-color: #12a57f;
}

body.agent-plan-page .agent-plan-price-compare article {
  border: 1px solid rgba(8, 119, 201, 0.12);
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 119, 201, 0.06);
}

body.agent-plan-page .agent-plan-price-compare article.is-primary {
  border-color: rgba(22, 184, 137, 0.28);
  background: #fff8dd;
}

body.agent-plan-page .agent-plan-price-note {
  background: #fff;
  border-color: rgba(8, 119, 201, 0.12);
  color: #466579;
}

body.agent-plan-page .agent-plan-resale-box {
  border: 1px solid rgba(22, 184, 137, 0.15);
  background: #f2fff8;
}

body.agent-plan-page .agent-plan-section-soft {
  background: #fbfdff;
}

body.agent-plan-page .agent-plan-scene-gallery article {
  background-color: #dff6ff;
  box-shadow: 0 18px 40px rgba(8, 119, 201, 0.11);
}

body.agent-plan-page .agent-plan-scene-gallery article::before {
  background: rgba(5, 52, 76, 0.28);
}

body.agent-plan-page .agent-plan-scene-gallery .is-arrival {
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=680&q=82");
}

body.agent-plan-page .agent-plan-scene-gallery .is-pharmacy {
  background-image: url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=680&q=82");
}

body.agent-plan-page .agent-plan-scene-gallery .is-clinic {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=680&q=82");
}

body.agent-plan-page .agent-plan-scene-gallery .is-family {
  background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=680&q=82");
}

body.agent-plan-page .agent-plan-scene-gallery span {
  color: #ccfff1;
}

body.agent-plan-page .agent-plan-scene-gallery strong {
  color: #fff;
  text-shadow: 0 2px 12px rgba(4, 40, 61, 0.28);
}

body.agent-plan-page .agent-plan-logo-showcase {
  padding: 34px;
  border: 1px solid rgba(8, 119, 201, 0.1);
}

body.agent-plan-page .agent-plan-logo-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

body.agent-plan-page .agent-plan-logo-slot {
  min-height: 112px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(8, 119, 201, 0.12);
  box-shadow: 0 10px 24px rgba(8, 61, 94, 0.05);
}

body.agent-plan-page .agent-plan-logo-slot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

body.agent-plan-page .agent-plan-logo-slot img[src*="mofa"],
body.agent-plan-page .agent-plan-logo-slot img[src*="hs-sonpo"],
body.agent-plan-page .agent-plan-logo-slot img[src*="topre"],
body.agent-plan-page .agent-plan-logo-slot img[src*="io-data"] {
  max-height: 58px;
}

body.agent-plan-page .agent-plan-final-cta {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 231, 140, 0.32), rgba(255, 231, 140, 0) 250px),
    linear-gradient(135deg, #e8f9ff 0%, #f0fff7 100%);
  color: #08365a;
}

body.agent-plan-page .agent-plan-final-cta h2,
body.agent-plan-page .agent-plan-final-cta .agent-plan-kicker,
body.agent-plan-page .agent-plan-final-cta p,
body.agent-plan-page .agent-plan-final-cta .agent-plan-contact-box,
body.agent-plan-page .agent-plan-notice-dark p {
  color: #08365a;
}

body.agent-plan-page .agent-plan-final-cta .agent-plan-contact-box,
body.agent-plan-page .agent-plan-final-cta .agent-plan-notice {
  border-color: rgba(8, 119, 201, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

body.agent-plan-page .agent-plan-final-cta .agent-plan-button {
  border-color: #12a57f;
  background: #12a57f;
  color: #fff;
}

body.agent-plan-page .agent-plan-footer {
  background: #f7fcff;
  color: #345a70;
}

@media (max-width: 960px) {
  body.agent-plan-page .agent-plan-price-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body.agent-plan-page .agent-plan-hero {
    background:
      radial-gradient(circle at 80% 8%, rgba(255, 236, 163, 0.25), rgba(255, 236, 163, 0) 180px),
      linear-gradient(180deg, #edfaff 0%, #ffffff 100%);
  }

  body.agent-plan-page .agent-plan-hero::after {
    display: none;
  }

  body.agent-plan-page .agent-plan-value-strip article {
    padding: 18px;
  }

  body.agent-plan-page .agent-plan-price-main {
    padding: 24px 18px;
  }
}

/* Bright global refresh for public pages */
body:not(.agent-plan-page) {
  --green-950: #063a56;
  --green-900: #07536a;
  --green-800: #0d796b;
  --green-700: #14a57f;
  --green-100: #e3f8ef;
  --green-050: #f2fcf8;
  --ink: #08324d;
  --text: #345a70;
  --muted: #6d8290;
  --line: #d6eaf2;
  --warm: #fffdf5;
  --blue-100: #edf9ff;
  --amber: #e6b84d;
  --shadow: 0 20px 52px rgba(8, 61, 94, 0.1);
  color: var(--text);
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 230, 132, 0.26), rgba(255, 230, 132, 0) 300px),
    radial-gradient(circle at 8% 12%, rgba(28, 167, 223, 0.16), rgba(28, 167, 223, 0) 320px),
    linear-gradient(180deg, #f1fbff 0, #ffffff 520px, #f8fcff 100%);
}

body:not(.agent-plan-page) .site-header {
  border-bottom-color: rgba(8, 119, 201, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(8, 61, 94, 0.05);
}

body:not(.agent-plan-page) .brand {
  color: #08324d;
}

body:not(.agent-plan-page) .brand-sub {
  color: #5f7788;
}

body:not(.agent-plan-page) .brand-mark {
  box-shadow: 0 8px 22px rgba(20, 165, 127, 0.12);
}

body:not(.agent-plan-page) .nav a {
  color: #173d58;
}

body:not(.agent-plan-page) .nav a:hover,
body:not(.agent-plan-page) .nav a:focus-visible {
  background: #edf9ff;
  color: #0877a8;
}

body:not(.agent-plan-page) .nav .nav-cta,
body:not(.agent-plan-page) .button {
  border-color: #14a57f;
  background: #14a57f;
  color: #fff;
  box-shadow: 0 14px 30px rgba(20, 165, 127, 0.18);
}

body:not(.agent-plan-page) .nav .nav-cta:hover,
body:not(.agent-plan-page) .nav .nav-cta:focus-visible,
body:not(.agent-plan-page) .button:hover,
body:not(.agent-plan-page) .button:focus-visible {
  background: #0d9372;
  color: #fff;
}

body:not(.agent-plan-page) .button-secondary,
body:not(.agent-plan-page) .button-plain {
  border-color: rgba(8, 119, 201, 0.24);
  background: #fff;
  color: #0877a8;
  box-shadow: none;
}

body:not(.agent-plan-page) .button-secondary:hover,
body:not(.agent-plan-page) .button-secondary:focus-visible,
body:not(.agent-plan-page) .button-plain:hover,
body:not(.agent-plan-page) .button-plain:focus-visible {
  background: #edf9ff;
  color: #07536a;
}

body:not(.agent-plan-page) .hero,
body:not(.agent-plan-page) .working-holiday-hero,
body:not(.agent-plan-page) .page-hero {
  color: #08324d;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 230, 132, 0.34), rgba(255, 230, 132, 0) 270px),
    radial-gradient(circle at 74% 78%, rgba(20, 165, 127, 0.18), rgba(20, 165, 127, 0) 330px),
    linear-gradient(135deg, #eaf8ff 0%, #ffffff 48%, #effcf6 100%);
  border-bottom: 1px solid rgba(8, 119, 201, 0.1);
}

body:not(.agent-plan-page) .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
  gap: 52px;
  align-items: center;
  min-height: 620px;
}

body:not(.agent-plan-page) .hero-grid > div:first-child {
  width: auto;
}

body:not(.agent-plan-page) .hero-visual {
  display: block;
  align-self: center;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(8, 119, 201, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 252, 248, 0.9)),
    #fff;
  box-shadow: 0 26px 70px rgba(8, 61, 94, 0.12);
}

body:not(.agent-plan-page) .hero-visual img {
  border-radius: 12px;
  box-shadow: none;
}

body:not(.agent-plan-page) .hero h1,
body:not(.agent-plan-page) .page-hero h1,
body:not(.agent-plan-page) .page-hero h2,
body:not(.agent-plan-page) .cta-band h2 {
  color: #08324d;
  text-shadow: none;
}

body:not(.agent-plan-page) .hero .lead,
body:not(.agent-plan-page) .page-hero .lead {
  color: #345a70;
}

body:not(.agent-plan-page) .hero .eyebrow,
body:not(.agent-plan-page) .page-hero .eyebrow {
  color: #0877a8;
}

body:not(.agent-plan-page) .eyebrow::before,
body:not(.agent-plan-page) .step::before {
  background: #14a57f;
  box-shadow: 0 0 0 5px rgba(20, 165, 127, 0.14);
}

body:not(.agent-plan-page) .hero .button {
  border-color: #14a57f;
  background: #14a57f;
  color: #fff;
  box-shadow: 0 16px 36px rgba(20, 165, 127, 0.2);
}

body:not(.agent-plan-page) .hero .button-secondary {
  border-color: rgba(8, 119, 201, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: #0877a8;
}

body:not(.agent-plan-page) .hero .hero-note,
body:not(.agent-plan-page) .hero-note,
body:not(.agent-plan-page) .notice {
  border-color: rgba(8, 119, 201, 0.14);
  border-left-color: #14a57f;
  background: rgba(255, 255, 255, 0.9);
  color: #345a70;
  backdrop-filter: none;
}

body:not(.agent-plan-page) .facts {
  gap: 14px;
}

body:not(.agent-plan-page) .fact {
  border-color: rgba(8, 119, 201, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(8, 61, 94, 0.08);
  backdrop-filter: none;
}

body:not(.agent-plan-page) .fact strong {
  color: #07536a;
}

body:not(.agent-plan-page) .fact span {
  color: #557386;
}

body:not(.agent-plan-page) .section {
  background: rgba(255, 255, 255, 0.98);
}

body:not(.agent-plan-page) .section.alt,
body:not(.agent-plan-page) .section.blue,
body:not(.agent-plan-page) .site-conversion-section,
body:not(.agent-plan-page) .medifellow-section,
body:not(.agent-plan-page) .doctor-section {
  background:
    linear-gradient(180deg, rgba(241, 251, 255, 0.92), rgba(255, 255, 255, 0.96)),
    #f7fcff;
}

body:not(.agent-plan-page) .section.blue {
  background:
    linear-gradient(135deg, rgba(239, 252, 246, 0.96), rgba(255, 253, 242, 0.9)),
    #f2fcf8;
}

body:not(.agent-plan-page) .card,
body:not(.agent-plan-page) .price-card,
body:not(.agent-plan-page) .faq-item,
body:not(.agent-plan-page) .form-panel,
body:not(.agent-plan-page) .medifellow-panel,
body:not(.agent-plan-page) .trust-card,
body:not(.agent-plan-page) .medical-cost-benefit-card,
body:not(.agent-plan-page) .positioning-panel,
body:not(.agent-plan-page) .legal-table-wrap {
  border-color: rgba(8, 119, 201, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(8, 61, 94, 0.08);
}

body:not(.agent-plan-page) .card::after {
  background: linear-gradient(90deg, #14a57f, #27a7df);
  opacity: 0.5;
}

body:not(.agent-plan-page) .card-label,
body:not(.agent-plan-page) .text-link,
body:not(.agent-plan-page) .comparison-price,
body:not(.agent-plan-page) .comparison-cost,
body:not(.agent-plan-page) .site-conversion-card strong,
body:not(.agent-plan-page) .site-conversion-price {
  color: #0877a8;
}

body:not(.agent-plan-page) .check-list li::before {
  border-color: #14a57f;
}

body:not(.agent-plan-page) .plain-list li::before {
  background: #e6b84d;
}

body:not(.agent-plan-page) .price-card {
  border-left: 6px solid #14a57f;
  background:
    radial-gradient(circle at 96% 10%, rgba(255, 230, 132, 0.22), rgba(255, 230, 132, 0) 180px),
    #fff;
}

body:not(.agent-plan-page) .price,
body:not(.agent-plan-page) .price strong {
  color: #07536a;
}

body:not(.agent-plan-page) .comparison-table-wrap {
  border-color: rgba(8, 119, 201, 0.12);
  box-shadow: 0 18px 46px rgba(8, 61, 94, 0.08);
}

body:not(.agent-plan-page) .comparison-table thead th {
  background: #e8f8ff;
  color: #08324d;
  border-bottom-color: rgba(8, 119, 201, 0.14);
}

body:not(.agent-plan-page) .comparison-table .highlight-row th,
body:not(.agent-plan-page) .comparison-table .highlight-row td {
  background: #f1fff8;
}

body:not(.agent-plan-page) .comparison-price strong,
body:not(.agent-plan-page) .comparison-price em {
  color: #07536a;
}

body:not(.agent-plan-page) .medical-cost-benefit-mark {
  background: #e5f8ff;
}

body:not(.agent-plan-page) .medical-cost-benefit-mark::before {
  border-color: #0877a8;
}

body:not(.agent-plan-page) .medical-cost-benefit-mark::after {
  background: #0877a8;
}

body:not(.agent-plan-page) .medical-cost-benefit-points span,
body:not(.agent-plan-page) .country-list a,
body:not(.agent-plan-page) .country-list span,
body:not(.agent-plan-page) .tag,
body:not(.agent-plan-page) .trust-chip-list span {
  border-color: rgba(8, 119, 201, 0.12);
  background: #fff;
  color: #08324d;
}

body:not(.agent-plan-page) .country-list a:hover,
body:not(.agent-plan-page) .country-list a:focus-visible {
  border-color: #14a57f;
  color: #0d796b;
  background: #f1fff8;
}

body:not(.agent-plan-page) .wh-emphasis {
  border-color: rgba(8, 119, 201, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #08324d;
}

body:not(.agent-plan-page) .wh-emphasis span {
  color: #557386;
}

body:not(.agent-plan-page) .cta-band {
  color: #345a70;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 230, 132, 0.26), rgba(255, 230, 132, 0) 220px),
    linear-gradient(135deg, #e8f8ff 0%, #f1fff8 100%);
  border-top: 1px solid rgba(8, 119, 201, 0.1);
  border-bottom: 1px solid rgba(8, 119, 201, 0.1);
}

body:not(.agent-plan-page) .cta-band .button-secondary {
  border-color: rgba(8, 119, 201, 0.24);
  background: #fff;
  color: #0877a8;
}

body:not(.agent-plan-page) .faq-item h3::before,
body:not(.agent-plan-page) .faq-accordion summary h3::after {
  background: #e8f8ff;
  color: #0877a8;
}

body:not(.agent-plan-page) .legal-table th {
  background: #eef9ff;
  color: #08324d;
}

body:not(.agent-plan-page) .site-footer {
  border-top: 1px solid rgba(8, 119, 201, 0.1);
  background:
    linear-gradient(180deg, #f7fcff 0%, #ffffff 100%);
  color: #345a70;
}

body:not(.agent-plan-page) .site-footer .brand,
body:not(.agent-plan-page) .site-footer .footer-heading {
  color: #08324d;
}

body:not(.agent-plan-page) .site-footer .brand-sub,
body:not(.agent-plan-page) .site-footer p {
  color: #5f7788;
}

body:not(.agent-plan-page) .site-footer p a,
body:not(.agent-plan-page) .footer-links a,
body:not(.agent-plan-page) .footer-country-links a,
body:not(.agent-plan-page) .footer-workingholiday-links a,
body:not(.agent-plan-page) .footer-education-links a {
  color: #0877a8;
}

body:not(.agent-plan-page) .footer-workingholiday-links,
body:not(.agent-plan-page) .footer-education-links,
body:not(.agent-plan-page) .footer-country-links {
  border-top-color: rgba(8, 119, 201, 0.12);
}

body:not(.agent-plan-page) .sticky-cta {
  border-top-color: rgba(8, 119, 201, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -14px 36px rgba(8, 61, 94, 0.1);
}

@media (max-width: 960px) {
  body:not(.agent-plan-page) .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body:not(.agent-plan-page) .doctor-card {
    background: #fff;
  }
}

@media (max-width: 720px) {
  body:not(.agent-plan-page) .hero,
  body:not(.agent-plan-page) .working-holiday-hero,
  body:not(.agent-plan-page) .page-hero {
    background:
      radial-gradient(circle at 86% 0%, rgba(255, 230, 132, 0.28), rgba(255, 230, 132, 0) 190px),
      linear-gradient(180deg, #edfaff 0%, #ffffff 100%);
  }

  body:not(.agent-plan-page) .hero-grid {
    min-height: auto;
  }

  body:not(.agent-plan-page) .page-hero h1,
  body:not(.agent-plan-page) .page-hero h2 {
    font-size: 1.6rem;
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: strict;
    text-wrap: balance;
  }

  body:not(.agent-plan-page) .section-inner,
  body:not(.agent-plan-page) .hero-inner,
  body:not(.agent-plan-page) .grid,
  body:not(.agent-plan-page) .split,
  body:not(.agent-plan-page) .card,
  body:not(.agent-plan-page) .price-card,
  body:not(.agent-plan-page) .faq-item,
  body:not(.agent-plan-page) .notice {
    min-width: 0;
    max-width: 100%;
  }

  body:not(.agent-plan-page) .card,
  body:not(.agent-plan-page) .price-card,
  body:not(.agent-plan-page) .faq-item,
  body:not(.agent-plan-page) .notice,
  body:not(.agent-plan-page) .medical-cost-benefit-card {
    width: min(100%, calc(100vw - 32px));
    box-sizing: border-box;
  }

  body:not(.agent-plan-page) .grid,
  body:not(.agent-plan-page) .split {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:not(.agent-plan-page) .section-head h2 {
    font-size: 1.46rem;
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: strict;
    text-wrap: balance;
  }

  body:not(.agent-plan-page) h1,
  body:not(.agent-plan-page) h2,
  body:not(.agent-plan-page) h3,
  body:not(.agent-plan-page) p,
  body:not(.agent-plan-page) li,
  body:not(.agent-plan-page) .lead,
  body:not(.agent-plan-page) .notice,
  body:not(.agent-plan-page) .hero-note {
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: strict;
  }

  body:not(.agent-plan-page) .card h3,
  body:not(.agent-plan-page) .faq-item h3,
  body:not(.agent-plan-page) .trust-card h3 {
    display: block;
    width: calc(100vw - 80px);
    max-width: calc(100vw - 72px);
    font-size: 1.08rem;
    line-height: 1.55;
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  body:not(.agent-plan-page) .card p,
  body:not(.agent-plan-page) .card li {
    width: calc(100vw - 80px);
    max-width: calc(100vw - 72px);
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  body:not(.agent-plan-page) .hero-visual {
    display: none;
  }

  body:not(.agent-plan-page) .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.agent-plan-page) .hero .actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.agent-plan-page) .hero .button {
    width: 100%;
  }

  body:not(.agent-plan-page) .hero .hero-note {
    color: transparent;
  }

  body:not(.agent-plan-page) .hero .hero-note::before {
    display: block;
    color: #345a70;
    line-height: 1.65;
    white-space: normal;
  }

  body:not(.agent-plan-page) .comparison-table tr {
    border-color: rgba(8, 119, 201, 0.12);
    box-shadow: 0 14px 34px rgba(8, 61, 94, 0.08);
  }

  body:not(.agent-plan-page) .comparison-table .highlight-row {
    border-color: rgba(20, 165, 127, 0.28);
  }
}
