/* Home refresh — compact square hero, unified live section, refund guarantee. */
.brand-first-paint {
  height: 88px;
  border-bottom: 1px solid #e7edf5;
  background: #fff;
}

.brand-first-paint > .wrap {
  display: flex;
  height: 100%;
  align-items: center;
}

.brand-first-paint img {
  display: block;
  width: 132px;
  height: 29px;
}

.site-head:has(+ .home),
.home .home-section-nav {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.site-head:has(+ .home) .header-actions #account-link {
  font-size: 14px !important;
}

.home .home-section-nav a {
  font-size: 14.5px;
}

.home .mogoo-safety-hero {
  height: 168px !important;
  min-height: 168px;
  margin-top: 12px;
  border: 0;
  border-radius: 20px !important;
  box-shadow: none;
}

.home .mogoo-safety-hero .safety-single {
  display: flex;
  padding: 0 38px;
  align-items: center;
}

.home .mogoo-safety-hero .safety-single h1,
.home .mogoo-safety-hero .safety-single:first-child h1 {
  max-width: 680px;
  margin: 0;
  font-family:
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    Pretendard,
    sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.home .mogoo-safety-hero .safety-single p,
.home .mogoo-safety-hero .safety-single:first-child p {
  max-width: 620px;
  margin-top: 10px;
  font-family:
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    Pretendard,
    sans-serif;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.home .mogoo-safety-hero .safety-status {
  right: 20px;
  bottom: 18px;
}

.home .home-live-ranking {
  margin-top: 68px;
  background: #fff;
}

@media (max-width: 800px) {
  .brand-first-paint img {
    width: 111px;
    height: 24px;
  }
}

.home .home-live-ranking .ranking-preview {
  margin-top: 0;
}

.home .home-live-ranking .ranking-preview .ranking-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "title score"
    "service score";
  column-gap: 12px;
  row-gap: 0;
  align-items: center;
}

.home .home-live-ranking .ranking-preview .ranking-content h3 {
  grid-area: title;
  margin-top: 0;
  margin-bottom: 0;
}

.home .home-live-ranking .ranking-preview .ranking-service-name {
  grid-area: service;
  display: block;
  margin-top: 4px;
  color: #929dab;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.home .home-live-ranking .ranking-preview .ranking-score {
  grid-area: score;
}

.home .home-live-ranking .ranking-trailer-section {
  margin-top: 31px;
  padding-top: 30px;
  border-top: 1px solid #e4edf7;
  background: #fff;
}

.home .home-live-ranking .ranking-trailer-section .trailer-rail,
.home .home-live-ranking .ranking-trailer-section .trailer-card {
  background: #fff;
}

.home .home-live-ranking .ranking-trailer-section .trailer-card > img {
  display: block;
}

.home .home-live-ranking .ranking-heading h2,
.home .home-live-ranking .ranking-trailer-section .section-head h2 {
  color: #1778db;
}

.home-refund-guarantee {
  display: grid;
  margin: 66px 0 18px;
  padding: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 44px;
  align-items: center;
  border: 1px solid #cce7ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(51, 156, 255, .2), transparent 34%),
    linear-gradient(135deg, #f8fcff 0%, #edf7ff 100%);
  box-shadow: none;
}

.home-refund-copy > span {
  color: #1683df;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
}

.home-refund-copy h2 {
  margin: 10px 0 14px;
  color: #152234;
  font-size: clamp(33px, 3vw, 45px);
  line-height: 1.18;
  letter-spacing: -.055em;
}

.home-refund-copy h2 b {
  color: #1689e8;
}

.home-refund-copy p {
  max-width: 650px;
  margin: 0;
  color: #647386;
  font-size: 14.5px;
  line-height: 1.72;
}

.home-refund-copy > a {
  display: inline-flex;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 17px;
  align-items: center;
  gap: 9px;
  border-radius: 11px;
  background: #339cff;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.home-refund-copy > a i {
  font-style: normal;
}

.home-refund-points {
  display: grid;
  gap: 10px;
}

.home-refund-points article {
  display: grid;
  min-width: 0;
  padding: 15px 16px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border: 1px solid #d7eafa;
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
}

.home-refund-points article > i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 13px;
  background: #e8f5ff;
  color: #1689e8;
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
}

.home-refund-points article > i.refund-shield svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-refund-points b,
.home-refund-points span {
  display: block;
}

.home-refund-points b {
  color: #243246;
  font-size: 14px;
}

.home-refund-points span {
  margin-top: 3px;
  color: #788596;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .home .mogoo-safety-hero {
    height: 112px !important;
    min-height: 112px;
    margin-top: 0;
    border-radius: 18px !important;
  }

  .home .mogoo-safety-hero .safety-single {
    padding: 0 18px;
  }

  .home .mogoo-safety-hero .safety-single h1,
  .home .mogoo-safety-hero .safety-single:first-child h1 {
    max-width: 330px;
    margin: 0;
    font-size: clamp(17px, 4.6vw, 19px);
    font-weight: 760;
    line-height: 1.13;
  }

  .home .mogoo-safety-hero .safety-single p,
  .home .mogoo-safety-hero .safety-single:first-child p {
    display: block;
    max-width: 340px;
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.42;
  }

  .home-section-nav a {
    min-width: 0;
    padding: 0 6px;
    flex: 1 1 0;
    font-size: 13px;
  }

  .home-section-nav a::after {
    right: 9px;
    left: 9px;
  }

  .home .home-live-ranking {
    margin-top: 44px;
  }

  .home .home-live-ranking .ranking-preview.ranking-surface {
    width: calc(100% - 12px);
    margin-right: 6px !important;
    margin-left: 6px !important;
  }

  .home .home-live-ranking .ranking-trailer-section {
    margin-top: 25px;
    padding-top: 24px;
  }

  .home-refund-guarantee {
    margin: 40px 6px 16px;
    padding: 24px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    border-radius: 18px;
  }

  .home-refund-copy h2 {
    margin-top: 8px;
    font-size: 27px;
  }

  .home-refund-copy p {
    font-size: 12.5px;
    line-height: 1.62;
  }

  .home-refund-copy > a {
    width: 100%;
    justify-content: center;
  }

  .home-refund-points article {
    padding: 12px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    border-radius: 12px;
  }

  .home-refund-points article > i {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    font-size: 14px;
  }

  .home-refund-points article > i.refund-shield svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 370px) {
  .home .mogoo-safety-hero {
    height: 108px !important;
    min-height: 108px;
  }

  .home .mogoo-safety-hero .safety-single h1,
  .home .mogoo-safety-hero .safety-single:first-child h1 {
    font-size: 17px;
  }

  .home .mogoo-safety-hero .safety-single p,
  .home .mogoo-safety-hero .safety-single:first-child p {
    font-size: 10px;
  }

  .home-section-nav a {
    font-size: 12px;
  }
}
