:root {
  --bg: #f6f2eb;
  --bg-deep: #ece6de;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-soft: #eeebe4;
  --surface-contrast: #111111;
  --text: #111111;
  --text-soft: #666159;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.18);
  --accent: #111111;
  --accent-strong: #000000;
  --accent-soft: rgba(17, 17, 17, 0.06);
  --shadow: 0 26px 72px rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 14px 34px rgba(17, 17, 17, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  background: linear-gradient(180deg, #f8f4ee 0%, #ede7df 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

body.legal-page {
  background: linear-gradient(180deg, #f5f1ea 0%, #ebe5dd 100%);
}

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

button,
select {
  font: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bg-mesh,
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-mesh {
  z-index: -3;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.82) 0%, transparent 42%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.03) 0%, transparent 28%);
}

.bg-grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 235, 0.82);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-right > a {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-right > a:hover {
  color: var(--text);
}

.nav-store {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--surface-contrast);
  background: var(--surface-contrast);
  color: var(--bg);
}

.lang-wrap select {
  min-height: 42px;
  color: var(--text);
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  padding-top: 72px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.hero-badge,
.feature-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  color: var(--text);
  text-shadow: none;
}

.gradient-text::after {
  content: "";
  display: block;
  width: min(320px, 56%);
  height: 10px;
  margin-top: 10px;
  background: rgba(17, 17, 17, 0.12);
}

.hero-sub {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.16rem);
  color: var(--text-soft);
}

.cta-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--bg);
  background: var(--surface-contrast);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.1);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.hero-meta {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-card,
.feature-card,
.proof-panel,
.workflow-step,
.wallet,
.support-panel,
.closing-banner,
.hero-note,
.legal-shell,
.legal-nav {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.meta-card {
  padding: 16px;
  border-radius: var(--radius-md);
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.meta-card strong {
  display: block;
  margin-top: 6px;
  font-size: 0.97rem;
  line-height: 1.35;
}

.hero-stage {
  position: relative;
}

.hero-device-stack,
.proof-grid,
.feature-grid,
.screen-gallery,
.workflow-grid,
.support-shell,
.footer-inner {
  display: grid;
}

.hero-device-stack {
  position: relative;
  min-height: 760px;
}

.hero-device {
  position: absolute;
  margin: 0;
}

.device-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 3160;
  filter: drop-shadow(0 26px 54px rgba(17, 17, 17, 0.16));
}

.device-frame,
.device-shot {
  position: absolute;
  display: block;
}

.device-frame {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.device-shot {
  left: 8%;
  top: 3.48%;
  width: 84%;
  height: auto;
  display: block;
}

.hero-device-primary {
  top: 28px;
  right: 72px;
  width: min(500px, 74%);
  z-index: 3;
}

.hero-device-secondary {
  top: 212px;
  left: -8px;
  width: min(320px, 48%);
  transform: rotate(-10deg);
  z-index: 1;
}

.hero-device-tertiary {
  right: 12px;
  bottom: 22px;
  width: min(320px, 48%);
  transform: rotate(10deg);
  z-index: 2;
}

.wallet p,
.wallet code,
.site-footer p {
  margin: 0;
}

.hero-note {
  position: absolute;
  left: 24px;
  bottom: 64px;
  width: 290px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--text);
  z-index: 4;
}

.hero-note span {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-note p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.section {
  padding: 92px 0;
}

.section-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(17, 17, 17, 0.03) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.proof-grid,
.feature-grid,
.workflow-grid {
  margin-top: 30px;
  gap: 16px;
}

.proof-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-panel,
.feature-card,
.workflow-step {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.proof-panel h3,
.feature-card h3,
.workflow-step h3,
.support-panel h3 {
  margin: 14px 0 0;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.proof-panel p,
.feature-card p,
.workflow-step p,
.support-copy p:last-of-type {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.panel-index,
.workflow-step span {
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.feature-card-accent {
  background: var(--surface-contrast);
  border-color: rgba(17, 17, 17, 0.75);
  color: var(--bg);
}

.feature-card-accent h3,
.feature-card-accent .feature-pill {
  color: var(--bg);
}

.feature-card-accent p {
  color: rgba(246, 242, 235, 0.74);
}

.feature-card-accent .feature-pill {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.feature-pill {
  font-size: 0.76rem;
}

.screen-gallery {
  margin-top: 34px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  grid-column: span 4;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.screen-card-large {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.screen-copy {
  padding: 6px 4px 0;
}

.screen-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-card h3 {
  margin: 16px 0 0;
  font-size: 1.28rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.screen-card p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.screen-device {
  margin-top: 20px;
  width: min(100%, 360px);
}

.screen-card-large .screen-device {
  margin-top: 0;
  justify-self: end;
}

.system-layout {
  display: grid;
  gap: 28px;
}

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

.support-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}

.support-copy {
  padding: 10px 0;
}

.support-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.wallet {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.wallet p {
  font-size: 0.84rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wallet code {
  margin-top: 8px;
  display: block;
  font-size: 0.87rem;
  word-break: break-all;
}

.copy-btn {
  margin-top: 12px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--surface-contrast);
  border-radius: 12px;
  background: var(--surface-contrast);
  color: var(--bg);
  font-weight: 700;
  cursor: pointer;
}

.closing-banner {
  padding: 38px;
  border-radius: var(--radius-xl);
  background: var(--surface-contrast);
  border-color: rgba(17, 17, 17, 0.85);
  color: var(--bg);
}

.closing-banner .eyebrow,
.closing-banner h2 {
  color: var(--bg);
}

.closing-banner .eyebrow {
  opacity: 0.7;
}

.closing-banner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.closing-banner .btn-primary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--bg);
  box-shadow: none;
}

.closing-banner .btn-secondary {
  background: transparent;
  color: var(--bg);
  border-color: rgba(255, 255, 255, 0.26);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(246, 242, 235, 0.72);
  backdrop-filter: blur(14px);
}

.footer-inner {
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 104px;
}

.footer-brand {
  font-size: 1.08rem;
  font-weight: 700;
}

.site-footer p:last-child {
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-soft);
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.8);
  background: rgba(17, 17, 17, 0.94);
  color: var(--bg);
  text-align: center;
  font-size: 0.9rem;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-main {
  padding: 72px 0 92px;
}

.legal-nav {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-back {
  color: var(--text);
  font-weight: 700;
}

.legal-shell {
  padding: 36px;
  border-radius: var(--radius-xl);
}

.legal-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-meta {
  margin-top: 12px;
  color: var(--text-soft);
}

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

.legal-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.legal-card h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.legal-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.legal-divider {
  margin: 28px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.22), transparent);
}

.legal-footer {
  margin-top: 28px;
  color: var(--text-soft);
}

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

  .hero-stage {
    margin-top: 20px;
  }

  .proof-grid,
  .feature-grid,
  .screen-gallery,
  .workflow-grid,
  .hero-meta,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-card,
  .screen-card-large {
    grid-column: span 2;
  }

  .screen-card-large {
    grid-template-columns: 1fr;
  }

  .screen-card-large .screen-device {
    justify-self: start;
  }

  .support-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav {
    min-height: 68px;
  }

  .nav-right > a:not(.nav-store) {
    display: none;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 40px;
    gap: 30px;
  }

  .hero-device-stack {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .hero-device,
  .hero-note {
    position: static;
    width: 100%;
    transform: none;
  }

  .hero-device-primary,
  .hero-device-secondary,
  .hero-device-tertiary {
    width: min(100%, 360px);
  }

  .proof-grid,
  .feature-grid,
  .screen-gallery,
  .workflow-grid,
  .hero-meta,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .screen-card,
  .screen-card-large {
    grid-column: span 1;
  }

  .footer-inner,
  .legal-nav {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .closing-banner,
  .legal-shell {
    padding: 24px;
  }

  .gradient-text::after {
    width: 200px;
  }
}
