:root {
  --ink: #182128;
  --muted: #5c6873;
  --line: #dde4e7;
  --paper: #f8faf9;
  --white: #ffffff;
  --teal: #0f7d7e;
  --teal-dark: #09595b;
  --lime: #a4c93a;
  --coral: #e96b4c;
  --navy: #102235;
  --shadow: 0 18px 42px rgba(24, 33, 40, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Pretendard",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 228, 231, 0.85);
  backdrop-filter: blur(16px);
}

.nav,
.wrap,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 240px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #31434f;
  font-size: 15px;
  font-weight: 800;
}

.nav-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  padding: 96px 0 76px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(164, 201, 58, 0.2), transparent 32%),
    linear-gradient(120deg, #061d25 0%, #0d4244 50%, #193042 100%);
}

.trade-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 29, 37, 0.94), rgba(5, 47, 53, 0.78) 52%, rgba(20, 49, 63, 0.62)),
    radial-gradient(circle at 78% 26%, rgba(164, 201, 58, 0.2), transparent 30%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 54px),
    linear-gradient(120deg, #061d25 0%, #0d4244 48%, #193042 100%);
}

.trade-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  background:
    linear-gradient(30deg, transparent 0 46%, rgba(255, 255, 255, 0.38) 46% 47%, transparent 47%),
    linear-gradient(150deg, transparent 0 58%, rgba(164, 201, 58, 0.42) 58% 59%, transparent 59%),
    radial-gradient(circle at 78% 38%, transparent 0 44px, rgba(255, 255, 255, 0.2) 45px 46px, transparent 47px),
    radial-gradient(circle at 88% 58%, transparent 0 66px, rgba(255, 255, 255, 0.16) 67px 68px, transparent 69px);
}

.trade-hero::after {
  content: "";
  position: absolute;
  right: max(30px, calc((100vw - 1180px) / 2));
  bottom: 48px;
  width: min(360px, 42vw);
  height: 145px;
  z-index: 0;
  opacity: 0.28;
  background:
    linear-gradient(#a4c93a 0 0) 0 72px / 86px 34px,
    linear-gradient(#ffffff 0 0) 92px 72px / 86px 34px,
    linear-gradient(#e96b4c 0 0) 184px 72px / 86px 34px,
    linear-gradient(#ffffff 0 0) 46px 32px / 86px 34px,
    linear-gradient(#a4c93a 0 0) 138px 32px / 86px 34px;
  background-repeat: no-repeat;
  border-bottom: 4px solid rgba(255, 255, 255, 0.58);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 46px;
  align-items: center;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.82;
}

.hero-panel,
.detail-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat {
  min-height: 118px;
  padding: 20px;
  display: grid;
  align-content: center;
  background: rgba(5, 29, 35, 0.36);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.stat small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.16;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #31434f;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.filter[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

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

.brand-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(164, 201, 58, 0.22), transparent 30%),
    linear-gradient(145deg, #082838, #102235 72%);
  box-shadow: 0 14px 34px rgba(24, 33, 40, 0.14);
}

.brand-card[hidden] {
  display: none;
}

.brand-card.japan {
  background:
    radial-gradient(circle at 78% 18%, rgba(233, 107, 76, 0.2), transparent 30%),
    linear-gradient(145deg, #092632, #173145 72%);
}

.brand-card.korea {
  background:
    radial-gradient(circle at 78% 18%, rgba(15, 125, 126, 0.34), transparent 30%),
    linear-gradient(145deg, #0c333b, #102235 72%);
}

.brand-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: 0;
}

.brand-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 8px 10px;
  border-radius: 8px;
  color: #102323;
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 128px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.button.primary {
  color: #102323;
  background: var(--lime);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.button.dark {
  color: var(--white);
  background: var(--teal-dark);
}

.button.light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.55fr);
  gap: 44px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.info-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.info-item small {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.info-item strong {
  font-size: 20px;
}

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

.category {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  text-align: center;
  font-weight: 900;
}

.site-footer {
  padding: 36px 0;
  color: #5a6972;
  background: #edf2f1;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  word-break: keep-all;
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.footer-logo {
  width: 168px;
  height: auto;
  object-fit: contain;
}

.footer-meta {
  display: grid;
  gap: 8px;
}

.company-info {
  max-width: 980px;
  margin: 0;
  color: #5a6972;
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: #88979d;
  font-size: 13px;
}

.footer-policy-links a,
.footer-policy-links button {
  padding: 0;
  color: #31434f;
  font: inherit;
  font-weight: 800;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.footer-policy-links a:hover,
.footer-policy-links button:hover {
  color: var(--teal);
}

.footer-admin-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0 10px;
  color: #102323 !important;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}


.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 25, 29, 0.58);
  backdrop-filter: blur(8px);
}

.policy-panel[hidden] {
  display: none;
}

.policy-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 33, 40, 0.18);
}

.policy-card h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.16;
}

.policy-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.policy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: #eef5ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.policy-close:hover,
.policy-close:focus-visible {
  background: var(--lime);
}

@media (max-width: 920px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-policy-links {
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .section-head,
  .detail {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav,
  .wrap,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 178px;
    height: auto;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .section {
    padding: 58px 0;
  }

  .brand-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
