:root {
  --background: #fafaf9;
  --surface: #ffffff;
  --foreground: #1a1a19;
  --muted: #73726e;
  --border: #eaeae7;
  --primary: #e8912e;
  --primary-soft: #fff1e3;
  --graphite: #1a1a19;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

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

.brand,
.nav-links,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.language-toggle button,
.language-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  min-width: 34px;
  padding: 7px 9px;
}

.language-toggle button.active,
.language-toggle a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.brand-name {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
  border: 1px solid var(--border);
  background: var(--surface);
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--foreground);
}

.hero {
  padding: 86px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 950;
}

h1 {
  margin: 16px 0 0;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-size: 19px;
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] .brand-name,
html[lang="ko"] .intro-band h2,
html[lang="ko"] .section-header h2,
html[lang="ko"] .cta-panel h2,
html[lang="ko"] .legal-header h1 {
  letter-spacing: -0.015em;
  word-break: keep-all;
}

html[lang="ko"] h1,
html[lang="ko"] .legal-header h1 {
  line-height: 1.12;
}

html[lang="ko"] .intro-band h2,
html[lang="ko"] .section-header h2,
html[lang="ko"] .cta-panel h2 {
  line-height: 1.18;
}

html[lang="ko"] p,
html[lang="ko"] li,
html[lang="ko"] figcaption span {
  word-break: keep-all;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 680px;
  font-size: 20px;
}

.hero-card,
.card,
.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.hero-card {
  padding: 30px;
  box-shadow: 0 24px 80px rgba(26, 26, 25, 0.12);
}

.hero-logo {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  margin-bottom: 24px;
  display: block;
  object-fit: cover;
}

.phone-preview {
  justify-self: center;
  width: min(100%, 330px);
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(145deg, #1a1a19, #443726);
  box-shadow: 0 28px 90px rgba(26, 26, 25, 0.22);
}

.phone-preview img {
  display: block;
  width: 100%;
  border-radius: 30px;
}

.intro-band,
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 34px;
  margin-bottom: 72px;
}

.intro-band h2,
.section-header h2,
.cta-panel h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section {
  padding: 18px 0 76px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
}

.step-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 950;
  margin-bottom: 22px;
}

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

.screens-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 12px;
  overflow: hidden;
}

.screens-grid img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

.screens-grid figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 6px 6px;
}

.screens-grid figcaption strong {
  font-size: 18px;
}

.screens-grid figcaption span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.card,
.legal-section {
  padding: 24px;
}

.legal {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-header {
  margin-bottom: 34px;
}

.legal-header h1 {
  font-size: clamp(52px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.legal-section {
  margin-top: 18px;
}

.legal-section ul {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
  padding-left: 22px;
}

.footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
  }

  .intro-band,
  .cta-panel,
  .steps,
  .screens-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .cta-panel {
    padding: 24px;
  }

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