*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a1f5e;
  --blue: #3a6fd8;
  --blue-mid: #2755c8;
  --blue-light: #5b9cf6;
  --blue-pale: #e8f0fe;
  --blue-pale2: #f0f5ff;
  --text: #0f1340;
  --text-mid: #323762;
  --text-muted: #4d557f;
  --border: #dde3f5;
  --bg: #f7f9ff;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 82px;
  padding: 0 clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  height: 100%;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.nav-links a {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--navy);
  padding: 13px 28px;
  border-radius: 6px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 14px 20px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 249, 255, .98);
  box-shadow: 0 18px 40px rgba(26,31,94,.08);
}

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

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.mobile-menu a:active {
  background: var(--blue-pale);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 132px clamp(24px, 4vw, 64px) 54px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #fbfdff 0%, #f5f8ff 44%, #eef5ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .54;
  filter: saturate(1.04) contrast(1.04);
  pointer-events: none;
  transition: opacity 260ms ease;
}

.hero-video.is-fading {
  opacity: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 46% 40% at 82% 20%, rgba(58,111,216,.06), transparent 70%),
    linear-gradient(90deg, rgba(251,253,255,.97) 0%, rgba(251,253,255,.84) 38%, rgba(251,253,255,.46) 68%, rgba(251,253,255,.56) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1540px);
  display: grid;
  grid-template-columns: minmax(560px, .95fr) minmax(620px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 4vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: block;
  padding: 0;
  margin-bottom: 36px;
  background: transparent;
  color: #2f66c9;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 24px;
  color: #080f33;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(42px, 3.45vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
  word-break: keep-all;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-break {
  display: none;
}

.aeo-conclusion .desktop-copy {
  display: block;
}

.aeo-conclusion .mobile-copy {
  display: none;
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 30px;
  color: #3f4868;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-mobile-price {
  display: none;
}

.hero-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-price-grid article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 18px 18px;
  border: 1px solid #d8e0f1;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 38px rgba(27, 50, 99, .05);
}

.price-icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
}

.price-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hero-price-grid p {
  color: #48506c;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-price-grid strong {
  color: #1e5dd8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 580px);
  margin-bottom: 34px;
}

.btn-primary,
.btn-secondary,
.btn-blue,
.btn-white,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: transform .2s, background .2s, border-color .2s;
}

.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 34px rgba(15, 42, 119, .18);
}

.btn-secondary {
  color: var(--navy);
  border: 1px solid var(--border);
  background: var(--white);
}

.btn-primary span {
  margin-left: 12px;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-blue:hover,
.btn-white:hover,
.btn-outline-white:hover {
  transform: translateY(-1px);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 580px);
  color: #68708a;
  font-size: 13px;
  line-height: 1.45;
}

.hero-points p {
  min-width: 0;
}

.hero-points span {
  display: block;
  margin-bottom: 2px;
  color: #222d4e;
  font-size: 15px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.hero-visual img {
  position: absolute;
  left: -6px;
  top: 50%;
  width: min(52vw, 900px);
  max-width: none;
  height: auto;
  transform: translateY(-54%);
  filter: drop-shadow(0 28px 54px rgba(31, 55, 112, .16));
  user-select: none;
  pointer-events: none;
}

@media (min-width: 901px) {
  .hero-price-grid,
  .hero-actions,
  .hero-points,
  .hero-visual {
    display: none;
  }

  .hero-copy {
    max-width: 720px;
  }
}

@media (max-width: 1360px) and (min-width: 901px) {
  .site-nav {
    height: 70px;
    padding: 0 32px;
  }

  .brand img {
    width: 122px;
  }

  .nav-links {
    gap: 22px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-cta {
    padding: 10px 20px;
    font-size: 13px !important;
  }

  .hero {
    min-height: 720px;
    padding: 104px 36px 40px 56px;
  }

  .hero-inner {
    grid-template-columns: minmax(460px, .96fr) minmax(340px, .84fr);
    gap: 24px;
  }

  .hero-eyebrow {
    margin-bottom: 24px;
    padding: 7px 14px;
    font-size: 12px;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(35px, 4.4vw, 46px);
    line-height: 1.18;
  }

  .hero-sub {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero-price-grid {
    max-width: 510px;
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-price-grid article {
    min-height: 78px;
    grid-template-columns: 30px 1fr;
    column-gap: 6px;
    padding: 14px 12px;
  }

  .price-icon {
    width: 34px;
    height: 34px;
  }

  .price-icon img {
    width: 30px;
    height: 30px;
  }

  .hero-price-grid p {
    font-size: 12px;
  }

  .hero-price-grid strong {
    font-size: 15px;
  }

  .hero-actions {
    width: min(100%, 510px);
    gap: 10px;
    margin-bottom: 26px;
  }

  .hero-actions a {
    min-height: 52px;
    padding: 0 26px;
    font-size: 14px;
  }

  .hero-points {
    width: min(100%, 510px);
    gap: 10px;
    font-size: 11px;
  }

  .hero-points p {
    min-width: 0;
  }

  .hero-points span {
    font-size: 13px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual img {
    left: 0;
    width: min(45vw, 520px);
    transform: translateY(-52%);
  }
}

.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.section-title {
  margin-bottom: 16px;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.34;
}

.section-desc {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.section-eyebrow,
.section-title,
.section-desc {
  text-align: center;
}

.section-desc {
  margin-left: auto;
  margin-right: auto;
}

.aeo-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 43%, rgba(65, 115, 246, .08) 0 1px, transparent 1.5px) 0 0 / 14px 14px,
    radial-gradient(circle at 89% 48%, rgba(20, 166, 153, .1) 0 1px, transparent 1.5px) 0 0 / 14px 14px,
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: start;
}

.aeo-heading .section-title {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.34;
}

.aeo-heading .section-title::first-line {
  font-size: .74em;
}

.aeo-heading .desktop-line {
  display: inline-block;
}

.aeo-heading .desktop-break {
  display: block;
}

.aeo-heading .section-desc {
  max-width: 680px;
  color: #60709b;
  font-size: 18px;
  font-weight: 500;
}

.aeo-compare {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 74px;
  width: min(100%, 1040px);
  margin: 6px auto 0;
}

.aeo-compare-card {
  position: relative;
  min-height: 502px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px 34px 30px;
  border: 1px solid rgba(185, 205, 255, .9);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(246,249,255,.96) 100%);
  box-shadow: 0 24px 64px rgba(42, 89, 188, .08);
  overflow: visible;
}

.aeo-human-card {
  border-color: rgba(171, 224, 218, .95);
  background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(244, 253, 251, .96) 100%);
}

.compare-icon {
  position: absolute;
  left: 42px;
  top: 22px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.compare-icon::before {
  display: none;
}

.compare-icon::after {
  display: none;
}

.compare-icon img {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(53, 102, 222, .12));
}

.compare-label {
  margin: 12px 0 2px 80px;
  color: var(--blue);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-align: left;
}

.aeo-human-card .compare-label {
  color: #088f86;
}

.aeo-compare-card h3 {
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

.aeo-compare-card h3 + p {
  max-width: 380px;
  margin: 0 auto 10px;
  color: var(--text-mid);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.68;
  text-align: center;
  word-break: keep-all;
}

.aeo-card-image {
  align-self: end;
  width: min(100%, 360px);
  height: auto;
  display: block;
  margin: 10px auto 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(50, 87, 163, .12));
}

.aeo-bridge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -18%);
}

.aeo-bridge::before,
.aeo-bridge::after {
  display: none;
}

.aeo-bridge img {
  width: 86px;
  height: 86px;
  display: block;
  object-fit: contain;
}

.aeo-conclusion {
  display: grid;
  grid-template-columns: 90px auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 1040px);
  margin: 28px auto 0;
  padding: 22px 42px;
  border: 1px solid rgba(181, 222, 227, .95);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(255,255,255,.98), rgba(239, 253, 251, .92));
  box-shadow: 0 18px 42px rgba(36, 94, 152, .06);
  color: var(--navy);
  text-align: left;
}

.aeo-conclusion span {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.aeo-conclusion span::before {
  display: none;
}

.aeo-conclusion span::after {
  display: none;
}

.aeo-conclusion span img {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: contain;
}

.aeo-conclusion strong {
  font-size: clamp(22px, 2.45vw, 31px);
  font-weight: 900;
  line-height: 1.46;
  letter-spacing: 0;
  word-break: keep-all;
}

.aeo-conclusion strong::first-line {
  color: #2f66e9;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 58px;
}

.portfolio-header .section-desc,
.pricing-cta-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.why-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(63, 113, 242, .08), transparent 34%),
    radial-gradient(circle at 86% 72%, rgba(16, 159, 150, .08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-bottom: 1px solid var(--border);
}

.why-section .section-desc {
  max-width: 660px;
  margin-top: 14px;
  color: #58688f;
  font-size: 17px;
  font-weight: 500;
}

.why-main-title {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.34;
}

.why-subtitle {
  margin: 0 auto;
  color: #4c5c83;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.why-list {
  counter-reset: why-item;
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(100%, 880px);
  max-width: 880px;
  margin: 0 auto;
  overflow: visible;
}

.why-list::before {
  display: none;
}

.why-list::after {
  display: none;
}

@keyframes why-line-flow {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  16%,
  72% {
    opacity: 1;
  }

  100% {
    transform: translateY(330px);
    opacity: 0;
  }
}

.why-list article {
  position: relative;
  z-index: 1;
  min-height: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 22px;
  align-items: center;
  padding: 28px 18px 28px 42px;
  border-bottom: 1px solid rgba(198, 214, 248, .86);
  background: transparent;
  box-shadow: none;
  counter-increment: why-item;
  overflow: visible;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.why-list article:nth-child(even) {
  background: transparent;
}

.why-list article:first-child,
.why-list article:last-child {
  min-height: 122px;
  border-color: rgba(198, 214, 248, .86);
  background: transparent;
}

.why-list article:nth-child(2) {
  width: 100%;
  margin-left: 0;
}

.why-list article:hover {
  transform: translateX(4px);
  border-color: rgba(93, 133, 236, .42);
  box-shadow: none;
}

body.reveal-ready .why-list article,
body.reveal-ready .operation-steps article,
body.reveal-ready .operation-summary,
body.reveal-ready .portfolio-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 820ms ease, transform 820ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.reveal-ready .why-list article.is-visible,
body.reveal-ready .operation-steps article.is-visible,
body.reveal-ready .operation-summary.is-visible,
body.reveal-ready .portfolio-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-ready .why-list article.is-visible:hover {
  transform: translateX(4px);
}

.why-list article:nth-child(2),
.operation-steps article:nth-child(2),
.portfolio-card:nth-child(2) {
  --reveal-delay: 100ms;
}

.why-list article:nth-child(3),
.operation-steps article:nth-child(3),
.portfolio-card:nth-child(3) {
  --reveal-delay: 200ms;
}

.why-list article:nth-child(4),
.operation-steps article:nth-child(4),
.portfolio-card:nth-child(4) {
  --reveal-delay: 300ms;
}

.operation-summary {
  --reveal-delay: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  .why-list::after {
    animation: none;
    opacity: 0;
  }

  body.reveal-ready .why-list article,
  body.reveal-ready .operation-steps article,
  body.reveal-ready .operation-summary,
  body.reveal-ready .portfolio-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.why-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.why-copy em {
  width: fit-content;
  max-width: 100%;
  margin-left: 82px;
  padding: 7px 12px;
  border: 1px solid rgba(203, 216, 248, .84);
  border-radius: 999px;
  background: rgba(246, 249, 255, .92);
  color: #4b62a0;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  word-break: keep-all;
}

.why-list b {
  position: relative;
  display: block;
  padding-left: 82px;
  color: #2f5fc7;
  font-size: clamp(25px, 2.35vw, 34px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
  word-break: keep-all;
}

.why-list b::before {
  content: counter(why-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef4ff 58%, #dfeaff 100%);
  box-shadow: 0 0 0 9px rgba(235, 242, 255, .78), 0 0 28px rgba(64, 113, 238, .2);
  color: #2f66e9;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  z-index: 2;
}

.why-list article > span,
.why-copy > span {
  display: block;
  padding-left: 82px;
  color: var(--text-mid);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  word-break: keep-all;
}

.why-list b .why-keyword {
  display: inline;
  color: #3d72f1;
  font-size: 1.24em;
  font-weight: 900;
  line-height: 1.04;
  background: linear-gradient(transparent 62%, rgba(255, 229, 122, .58) 62%);
}

.why-list article:last-child {
  grid-column: auto;
}

.why-illustration {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 136px);
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(49, 88, 171, .08));
  pointer-events: none;
}

.operations-section {
  padding-top: 92px;
  padding-bottom: 92px;
  background: #f7f9ff;
}

.operations-panel {
  position: relative;
  max-width: 1180px;
  min-height: 840px;
  padding: 78px 64px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, #f7f9ff 0%, rgba(247,249,255,.96) 42%, rgba(247,249,255,.58) 62%, rgba(247,249,255,0) 86%);
  box-shadow: none;
}

.operations-panel::before {
  content: "";
  position: absolute;
  inset: -58px -220px -58px 260px;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/medira-why/care-back-desktop.png") right center / auto 100% no-repeat;
  opacity: .92;
  filter: none;
  transform: scale(1.04);
  -webkit-mask-image: radial-gradient(ellipse 76% 66% at 72% 52%, #000 34%, rgba(0,0,0,.72) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 76% 66% at 72% 52%, #000 34%, rgba(0,0,0,.72) 58%, transparent 82%);
}

.operations-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f7f9ff 0%, rgba(247,249,255,.98) 38%, rgba(247,249,255,.82) 50%, rgba(247,249,255,.18) 66%, transparent 82%),
    linear-gradient(180deg, rgba(247,249,255,.92) 0%, rgba(247,249,255,.4) 24%, rgba(247,249,255,.08) 52%);
}

.operations-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
}

.operations-copy .section-eyebrow,
.operations-copy .section-title,
.operations-copy .operations-lead {
  text-align: left;
}

.operations-copy .section-title {
  margin-bottom: 26px;
  color: var(--navy);
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.28;
}

.operations-copy .section-title span {
  color: #2f66e9;
}

.operations-lead {
  max-width: 560px;
  margin: 0 0 52px;
  color: var(--text-mid);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}

.operation-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 520px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(88, 129, 233, .42);
  border-bottom: 0;
}

.operation-steps::before {
  display: none;
}

.operation-steps article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  column-gap: 22px;
  min-height: 104px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(199, 215, 248, .72);
  text-align: left;
}

.operation-steps article::after {
  display: none;
}

.operation-steps img {
  width: 55px;
  height: 55px;
  justify-self: center;
  object-fit: contain;
}

.operation-steps strong {
  color: var(--navy);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
}

.operation-summary {
  max-width: 620px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 44px 0 0;
  padding: 28px 36px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(100deg, #2f77ff, #6f8df8);
  color: #ffffff;
  box-shadow: 0 22px 58px rgba(47, 102, 233, .18);
}

.operation-summary img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.operation-summary p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
}

.operation-summary strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(17px, 1.48vw, 21px);
  font-weight: 900;
}

.portfolio-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 30px;
  max-width: 1040px;
  margin: 0 auto;
}

.portfolio-note {
  max-width: 820px;
  margin: 34px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: #2f5fc7;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  word-break: keep-all;
}

.portfolio-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26,31,94,.04);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: rgba(58, 111, 216, .38);
  transform: translateY(-8px);
  box-shadow: 0 22px 58px rgba(26,31,94,.14);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  background: var(--blue-pale2);
  overflow: hidden;
}

.portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26,31,94,0) 34%, rgba(26,31,94,.32) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}

.portfolio-thumb::after {
  content: "사이트 보기";
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.94);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}

.portfolio-card:hover .portfolio-thumb img,
.portfolio-card:focus-visible .portfolio-thumb img {
  transform: scale(1.06);
}

.portfolio-card:hover .portfolio-thumb::before,
.portfolio-card:focus-visible .portfolio-thumb::before,
.portfolio-card:hover .portfolio-thumb::after,
.portfolio-card:focus-visible .portfolio-thumb::after {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 26px 32px;
}

.portfolio-name {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
}

.portfolio-type {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
}

.portfolio-info span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--blue-mid);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s ease, color .25s ease;
}

.portfolio-info span::after {
  content: "→";
  margin-left: 5px;
}

.portfolio-card:hover .portfolio-info span,
.portfolio-card:focus-visible .portfolio-info span {
  color: var(--blue);
  transform: translateX(2px);
}

.pricing-cta-section {
  text-align: center;
  background: var(--navy);
  padding-top: 124px;
  padding-bottom: 132px;
}

.pricing-cta-section .section-eyebrow {
  color: var(--blue-light);
}

.pricing-cta-section .section-title {
  color: var(--white);
}

.pricing-cta-section .section-desc {
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.55;
  max-width: 660px;
  margin-bottom: 54px;
}

.btn-white {
  color: var(--navy);
  background: var(--white);
}

.btn-blue {
  color: var(--white);
  background: #2f66e9;
  box-shadow: 0 16px 34px rgba(47, 102, 233, .28);
}

.btn-outline-white {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.32);
  background: transparent;
}

.pricing-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-section {
  padding: 100px 24px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1px;
  width: min(100%, 640px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
  box-shadow: 0 18px 44px rgba(26, 31, 94, 0.08);
}

.contact-list a {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 26px 28px;
  background: var(--white);
  transition: background .2s;
}

.contact-list a:hover {
  background: var(--blue-pale2);
}

.contact-list span {
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-list strong {
  color: var(--navy);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.footer {
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-logo {
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.footer p {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 300;
}

@media (max-width: 900px) {
  .hero-video {
    display: none;
  }

  .site-nav {
    padding: 0 22px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section {
    padding: 78px 20px;
  }

  .hero {
    min-height: auto;
    padding: 130px 22px 78px;
    text-align: center;
  }

  .hero-inner {
    display: block;
    width: 100%;
  }

  .hero-copy {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-sub {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-price-grid {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-points {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    display: none;
  }

  .intro-grid,
  .why-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .why-grid {
    gap: 34px;
  }

  .aeo-heading .section-title {
    font-size: clamp(28px, 4vw, 42px);
  }

  .aeo-heading .desktop-line {
    display: inline;
  }

  .aeo-heading .desktop-break {
    display: none;
  }

  .aeo-compare {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
  }

  .aeo-bridge {
    display: none;
  }

  .aeo-compare-card {
    min-height: auto;
  }

  .aeo-conclusion .desktop-copy {
    display: none;
  }

  .aeo-conclusion .mobile-copy {
    display: block;
  }

  .aeo-card-image {
    width: min(100%, 380px);
  }

  .operations-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .operations-panel {
    min-height: auto;
    padding: 82px 0 0;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(247,249,255,.38) 0%, rgba(247,249,255,.82) 38%, #f7f9ff 68%);
    box-shadow: none;
  }

  .operations-panel::before {
    height: 330px;
    inset: 4px -128px auto -36px;
    background-image: url("/assets/medira-why/care-back.png");
    background-position: 64% bottom;
    background-size: 640px auto;
    opacity: .74;
    filter: blur(1px);
    transform: scale(1.02);
    -webkit-mask-image: radial-gradient(ellipse 66% 48% at 64% 44%, #000 30%, rgba(0,0,0,.68) 52%, transparent 78%);
    mask-image: radial-gradient(ellipse 66% 48% at 64% 44%, #000 30%, rgba(0,0,0,.68) 52%, transparent 78%);
  }

  .operations-panel::after {
    display: block;
    height: 350px;
    inset: 0 0 auto;
    background:
      linear-gradient(90deg, rgba(247,249,255,.9) 0%, rgba(247,249,255,.58) 30%, rgba(247,249,255,.2) 58%, rgba(247,249,255,.72) 100%),
      linear-gradient(180deg, rgba(247,249,255,.7) 0%, rgba(247,249,255,.18) 34%, #f7f9ff 88%);
  }

  .operations-copy {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .operations-copy .section-eyebrow,
  .operations-copy .section-title,
  .operations-copy .operations-lead {
    text-align: center;
  }

  .operations-copy .section-title {
    font-size: 34px;
    line-height: 1.34;
  }

  .operations-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .why-list {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .why-list article:nth-child(2),
  .why-list article:nth-child(4) {
    width: 100%;
    margin-left: 0;
  }

  .operation-steps {
    max-width: 560px;
    gap: 24px;
    padding: 30px 0;
  }

  .why-list::before {
    left: 68px;
  }

  .why-list::after {
    left: 67px;
  }

  .why-list article,
  .why-list article:last-child {
    grid-column: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .site-nav {
    height: 72px;
    padding: 0 18px;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    height: 38px;
    flex: 0 0 auto;
    padding: 0 14px;
  }

  .mobile-menu {
    top: 72px;
  }

  .hero {
    padding: 112px 20px 62px;
  }

  .brand img {
    width: 116px;
  }

  .hero-title {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 34px;
    line-height: 1.24;
  }

  .mobile-break {
    display: inline;
  }

  .hero-eyebrow {
    margin-bottom: 26px;
  }

  .hero-sub {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero-mobile-price {
    display: block;
    margin: -6px auto 22px;
    color: #1f57d6;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
  }

  .hero-price-grid {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-actions a {
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    font-size: 16px;
  }

  .hero-points {
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-points p {
    min-width: 132px;
    font-size: 12px;
  }

  .hero-points p:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 132px;
    text-align: center;
  }

  .aeo-compare-card {
    min-height: auto;
    gap: 10px;
    padding: 26px 16px 20px;
  }

  .aeo-heading .section-desc {
    font-size: 15.5px;
  }

  .compare-icon {
    left: 18px;
    top: 20px;
    width: 58px;
    height: 58px;
  }

  .compare-icon::before {
    display: none;
  }

  .compare-icon img {
    width: 58px;
    height: 58px;
  }

  .compare-label {
    margin: 10px 0 2px 60px;
    font-size: 17px;
  }

  .aeo-compare-card h3 {
    margin-top: 12px;
    font-size: 21px;
  }

  .aeo-compare-card h3 + p {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .aeo-card-image {
    width: min(100%, 340px);
    margin-top: 8px;
  }

  .aeo-conclusion {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 22px 18px;
    text-align: center;
  }

  .aeo-conclusion span {
    justify-self: center;
    width: 58px;
    height: 58px;
    transform: translateX(-6px);
  }

  .aeo-conclusion strong {
    font-size: 20px;
    line-height: 1.5;
  }

  .section-title {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 28px;
    line-height: 1.44;
    word-break: keep-all;
  }

  .why-main-title {
    font-size: 28px;
    line-height: 1.44;
  }

  .why-subtitle {
    font-size: 17px;
  }

  .why-list article {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 20px 24px;
  }

  .why-list::before {
    left: 47px;
    top: 38px;
    bottom: 38px;
  }

  .why-list::after {
    left: 46px;
  }

  .why-copy {
    gap: 0;
  }

  .why-copy em {
    margin-left: 62px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.35;
    border-radius: 8px;
  }

  .operation-steps {
    gap: 0;
    max-width: 100%;
    padding: 22px 0 0;
  }

  .operation-steps article {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 14px;
    min-height: auto;
    padding: 22px 0;
  }

  .operation-steps img {
    width: 44px;
    height: 44px;
  }

  .operation-steps strong {
    font-size: 20px;
    line-height: 1.35;
  }

  .operation-summary {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 28px;
    padding: 24px 20px;
    text-align: center;
  }

  .operation-summary img {
    width: 58px;
    height: 58px;
  }

  .operation-summary p {
    font-size: 15px;
  }

  .operation-summary strong {
    font-size: 18px;
  }

  .why-list b {
    padding-left: 62px;
    font-size: 20px;
    line-height: 1.38;
  }

  .why-list b::before {
    top: 50%;
    width: 42px;
    height: 42px;
    font-size: 11px;
  }

  .why-list article > span,
  .why-copy > span {
    padding-left: 62px;
    font-size: 15.5px;
    line-height: 1.65;
  }

  .why-list b .why-keyword {
    font-size: 1.14em;
  }

  .why-illustration {
    width: min(76%, 176px);
    height: 92px;
    justify-self: end;
    margin-right: 4px;
  }

  .portfolio-info {
    min-height: auto;
    padding: 22px 22px;
  }

  .portfolio-name {
    font-size: 20px;
  }

  .portfolio-type,
  .portfolio-info span {
    font-size: 13px;
  }

  .pricing-cta-actions {
    display: grid;
  }

  .contact-section {
    padding: 78px 20px;
  }

  .contact-list a {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 22px;
  }

  .contact-list span {
    font-size: 15px;
  }

  .contact-list strong {
    font-size: 18px;
  }

  .pricing-cta-section .section-desc {
    max-width: 310px;
    line-height: 1.9;
  }
  .portfolio-info,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
