:root {
  --navy: #0B1F3A;
  --blue: #1F6FEB;
  --blue-dark: #1A5FD0;
  --teal: #14B8A6;
  --ink: #152033;
  --muted: #566275;
  --line: #E2E8F0;
  --soft: #F3F6FB;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ja: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  --font-ko: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

html:lang(ja) body {
  font-family: var(--font-ja);
  line-break: strict;
}

html:lang(ko) body {
  font-family: var(--font-ko);
  word-break: keep-all;
}

html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3 {
  word-break: auto-phrase;
}

[lang="ja"] {
  font-family: var(--font-ja);
}

[lang="ko"] {
  font-family: var(--font-ko);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-name {
  font-family: var(--font);
  font-weight: 400;
}

.brand-name b {
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn:hover {
  border-color: #C9D3E1;
}

.lang-btn svg,
.nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.lang-menu button:hover {
  background: var(--soft);
}

.lang-menu button[aria-checked="true"] {
  color: var(--blue);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 960px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 16px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    margin-left: auto;
  }

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

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

.btn-ghost:hover {
  border-color: #C9D3E1;
}

/* Hero */

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(1100px 560px at 90% -10%, rgba(31, 111, 235, 0.13), transparent 60%),
    radial-gradient(760px 480px at -10% 110%, rgba(20, 184, 166, 0.11), transparent 60%),
    var(--soft);
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

.brand-lg {
  gap: 0.35em;
  font-size: clamp(36px, 5.6vw, 64px);
  letter-spacing: -0.02em;
}

.brand-lg .brand-mark {
  width: 1.4em;
  height: 1.4em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.1);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

html:lang(ja) h1,
html:lang(ko) h1 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(11, 31, 58, 0.18);
}

.hero-badge {
  position: absolute;
  left: -20px;
  bottom: -24px;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-badge strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
}

.hero-badge span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .hero {
    padding: 48px 0 72px;
  }

  .hero-logo {
    margin-bottom: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-badge {
    left: 16px;
    bottom: -20px;
  }
}

/* Stats */

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}

.stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    padding: 32px 0;
  }
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html:lang(ja) .kicker,
html:lang(ko) .kicker {
  letter-spacing: 0.06em;
}

h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

html:lang(ja) h2,
html:lang(ko) h2 {
  line-height: 1.4;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }
}

/* About */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.split-text p {
  color: var(--muted);
  font-size: 17px;
}

.split-text .kicker {
  color: var(--blue);
  font-size: 13px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Icons */

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(20, 184, 166, 0.14));
  color: var(--blue);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Services */

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

.card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Japan & Korea */

.markets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.market {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.market img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.market-body {
  padding: 24px 28px 28px;
}

.market-body p {
  margin: 0;
  color: var(--muted);
}

.market-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.market-jp .market-tag {
  background: #FDECEE;
  color: #BC002D;
}

.market-kr .market-tag {
  background: #E8EEFB;
  color: #0F3D91;
}

@media (max-width: 760px) {
  .markets {
    grid-template-columns: 1fr;
  }
}

/* Why us */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 68px;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
}

.step::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 60px;
  right: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(31, 111, 235, 0.1));
}

.step:last-child::after {
  display: none;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .step::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  padding: 56px 0 28px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 380px;
  margin: 14px 0 0;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 28px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}
