:root {
  --text: #202124;
  --muted: #757575;
  --subtle: #f6f6f4;
  --line: #e8e6e2;
  --dark: #181818;
  --accent: #ff4b3f;
  --blue: #2365c8;
  --frame: min(1180px, calc(100vw - 48px));
  --shadow: 0 18px 45px rgba(22, 22, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #fff;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.frame {
  width: var(--frame);
  margin-inline: auto;
}

.section {
  padding-block: 82px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.topbar {
  height: 96px;
  display: grid;
  grid-template-columns: 180px minmax(280px, 420px) 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--text);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.008em;
}

.brand em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.search {
  height: 46px;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  background: #f3f3f1;
  border-radius: 999px;
  overflow: hidden;
}

.search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 0 0 24px;
  background: transparent;
  color: var(--text);
}

.search button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.utility {
  justify-self: end;
  display: flex;
  gap: 20px;
}

.utility a {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #606060;
  font-size: 12px;
  line-height: 1.35;
}

.utility a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: #f3f3f1;
  border-radius: 12px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.category-nav {
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.category-inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(9, auto) 1fr repeat(3, auto);
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
}

.category-inner a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
}

.hero-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 30vw);
  gap: 10px;
  transform: translateX(var(--hero-offset, 0));
  transition: transform 0.55s ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  height: 464px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.54));
}

.hero-copy {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 46px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

.hero-copy span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.008em;
}

.hero-copy p {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.72;
}

.hero-controls {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.hero-controls button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: #f1f1ef;
  font-size: 27px;
  line-height: 1;
}

.hero-controls strong {
  color: #555;
  font-size: 15px;
}

.hero-progress {
  width: min(360px, 34vw);
  height: 2px;
  overflow: hidden;
  background: #d8d8d5;
}

.hero-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--text);
  transition: transform 0.55s ease;
}

.quick-panel {
  position: fixed;
  right: 24px;
  top: 48%;
  z-index: 15;
  width: 82px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.quick-panel a {
  display: grid;
  place-items: center;
  min-height: 70px;
  color: #454545;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  box-shadow: inset 0 -1px 0 var(--line);
}

.quick-panel b {
  color: var(--accent);
}

.compare-bar {
  position: sticky;
  top: 151px;
  z-index: 12;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.compare-bar.is-hidden {
  display: none;
}

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

.compare-inner strong {
  font-size: 18px;
}

.compare-inner p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.compare-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-actions button,
.banner a,
.contact-actions a {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  background: #f2f2ef;
  color: var(--text);
  font-weight: 800;
}

.compare-actions .solid {
  color: #fff;
  background: var(--text);
}

.close-compare {
  min-width: 42px;
  padding: 0 !important;
  font-size: 30px;
  font-weight: 300 !important;
  background: transparent !important;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading.left {
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.006em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.section-heading a {
  color: #777;
  font-weight: 800;
}

.product-grid {
  display: grid;
  gap: 20px;
}

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

.product-card {
  min-width: 0;
  background: #fff;
}

.product-card img {
  height: 184px;
}

.product-card .timer {
  margin-top: 12px;
  padding: 12px 14px;
  color: var(--accent);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.product-card h3 {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.42;
  letter-spacing: -0.004em;
}

.product-card p {
  margin: 6px 0 0;
  min-height: 50px;
  color: #747474;
  font-size: 14px;
  line-height: 1.74;
}

.product-card strong {
  display: block;
  margin-top: 10px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.006em;
}

.product-card.simple img {
  height: 210px;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}

.rank-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
}

.rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.7));
}

.rank-card b {
  position: absolute;
  top: 0;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  background: var(--accent);
  font-size: 17px;
}

.rank-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}

.rank-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.rank-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.banner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px clamp(26px, 6vw, 80px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(100deg, #2267c9, #1b54ad);
}

.banner span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  opacity: 0.82;
}

.banner strong {
  display: block;
  font-size: 30px;
  line-height: 1.28;
}

.banner p {
  margin: 5px 0 0;
  opacity: 0.84;
}

.banner a {
  display: inline-grid;
  place-items: center;
  color: #133d7d;
  background: #fff;
  border-radius: 999px;
  white-space: nowrap;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tabs button {
  min-height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #696969;
  background: #f3f3f1;
  font-weight: 800;
}

.tabs button.active {
  color: #fff;
  background: var(--text);
}

.shorts {
  color: #fff;
  background: var(--dark);
}

.section-heading.dark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

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

.short-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 7px;
  background: #2c2c2c;
}

.short-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
}

.short-card span {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.short-card button {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 62px;
  height: 62px;
  margin: auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.short-card button::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 19px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--text);
}

.short-card div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  min-height: 68px;
  padding: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.short-card b,
.short-card strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.short-card strong {
  margin-top: 5px;
  font-size: 19px;
}

.reviews .section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
}

.review-grid article {
  display: grid;
  grid-template-columns: minmax(180px, 270px) 1fr;
  gap: 22px;
  align-items: center;
}

.review-grid img {
  height: 160px;
  border-radius: 7px;
}

.review-grid span {
  color: var(--muted);
  font-size: 14px;
}

.review-grid h3 {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.4;
}

.review-grid p {
  margin: 10px 0 0;
  color: #6d6d6d;
  line-height: 1.76;
}

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

.benefit-card {
  min-height: 190px;
  padding: 30px;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.benefit-card h3 {
  margin: 0;
  max-width: 10ch;
  font-size: 25px;
  line-height: 1.34;
}

.benefit-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.74;
}

.purple {
  background: #b43fc7;
}

.blue {
  background: #5e7fd8;
}

.indigo {
  background: #5150b9;
}

.red {
  background: #e8422d;
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 170px;
  gap: 24px;
  margin-bottom: 76px;
  padding: 36px 52px;
  background: #f8f8f6;
}

.contact span {
  color: #555;
  font-weight: 800;
}

.contact strong {
  display: block;
  margin-top: 10px;
  font-size: 29px;
  line-height: 1.2;
}

.contact p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions a {
  display: grid;
  place-items: center;
  background: #fff;
}

.site-footer {
  color: #666;
  background: #f7f7f5;
  box-shadow: inset 0 1px 0 var(--line);
}

.footer-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: #333;
}

.footer-info {
  padding: 30px 0 48px;
  box-shadow: inset 0 1px 0 var(--line);
  font-size: 13px;
  line-height: 1.8;
}

.footer-info p {
  margin: 6px 0 0;
}

@media (max-width: 1080px) {
  :root {
    --frame: min(100vw - 32px, 920px);
  }

  .topbar {
    grid-template-columns: 170px 1fr auto;
  }

  .utility {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .category-inner {
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    overflow-x: auto;
    padding-block: 14px;
  }

  .category-inner span {
    display: none;
  }

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

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

  .quick-panel {
    display: none;
  }

  .compare-bar {
    top: 151px;
  }

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

@media (max-width: 720px) {
  :root {
    --frame: min(100vw - 28px, 640px);
  }

  .section {
    padding-block: 58px;
  }

  .site-header {
    position: relative;
  }

  .topbar {
    height: auto;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-block: 16px;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 19px;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .category-nav {
    display: none;
  }

  .category-nav.is-open {
    display: block;
  }

  .category-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    white-space: normal;
    gap: 12px 18px;
    padding-block: 18px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-track {
    grid-auto-columns: 84vw;
  }

  .hero-slide {
    height: 430px;
    border-radius: 0;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 30px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-controls {
    justify-content: center;
  }

  .compare-bar {
    position: static;
  }

  .compare-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .compare-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 42px;
  }

  .compare-actions button {
    padding: 0 12px;
  }

  .product-grid.four,
  .rank-grid,
  .shorts-grid,
  .benefit-grid,
  .review-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .product-card.simple img {
    height: 230px;
  }

  .rank-card {
    min-height: 245px;
  }

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

  .short-card {
    min-height: 430px;
  }

  .review-grid article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-grid img {
    height: 210px;
  }

  .reviews .section-heading,
  .section-heading.dark {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .contact {
    padding: 26px;
  }
}
