:root {
  color-scheme: light;
  --paper: #f0eee8;
  --paper-deep: #e7e2d8;
  --ink: #171916;
  --muted: #666962;
  --line: rgba(23, 25, 22, 0.16);
  --white: #fcfbf7;
  --yellow: #ecd96e;
  --yellow-soft: #f4eaa7;
  --blue: #b9dcef;
  --blue-soft: #d8eaf3;
  --navy: #17324f;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 0;
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

[hidden] { display: none !important; }

.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;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.section-frame,
.header-inner {
  width: min(calc(100% - 3rem), 1320px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 238, 232, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  gap: 0.72rem;
  align-items: center;
  justify-self: start;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.brand-symbol {
  width: 35px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.brand-symbol-fill { fill: currentColor; }

.primary-nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  justify-self: center;
  padding: 0.25rem;
  background: rgba(252, 251, 247, 0.72);
  border: 1px solid rgba(23, 25, 22, 0.1);
  border-radius: 999px;
}

.primary-nav a {
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.primary-nav a:hover { color: var(--white); background: var(--ink); }

.preview-badge {
  justify-self: end;
  margin: 0;
  padding: 0.47rem 0.7rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(380px, 0.93fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding-block: clamp(5rem, 10vh, 8rem);
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.section-number,
.panel-step,
.card-kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.eyebrow {
  margin-bottom: 1.7rem;
  font-size: 0.68rem;
}

.hero h1,
.error-main h1 {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.99;
}

.hero h1 span,
.error-main h1 span { display: block; }

.hero-intro {
  max-width: 600px;
  margin: 2.2rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  letter-spacing: -0.02em;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { background: transparent; }
.button-light:hover { color: var(--white); background: var(--ink); }

.visual-stage {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 620px);
  justify-self: end;
  overflow: hidden;
  overflow: clip;
  border-radius: 48% 52% 46% 54%;
  isolation: isolate;
}

.visual-stage::after {
  position: absolute;
  inset: 12%;
  z-index: -1;
  background: rgba(252, 251, 247, 0.64);
  border: 1px solid rgba(23, 25, 22, 0.08);
  border-radius: 50%;
  content: "";
}

.visual-blob {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(1px);
}

.visual-blob-yellow {
  top: 4%;
  right: -7%;
  width: 61%;
  height: 61%;
  background: var(--yellow-soft);
}

.visual-blob-blue {
  bottom: -6%;
  left: 1%;
  width: 58%;
  height: 58%;
  background: var(--blue-soft);
}

.connection-art { display: block; width: 100%; height: 100%; }

.orbit circle {
  fill: none;
  stroke: rgba(23, 25, 22, 0.14);
  stroke-width: 1.2;
  stroke-dasharray: 5 10;
}

.orbit-two circle { stroke-dasharray: none; }

.connection-lines path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  animation: line-flow 9s linear infinite;
}

.art-nodes circle {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 2;
}

.art-nodes circle:nth-child(1) { fill: var(--yellow); }
.art-nodes circle:nth-child(3) { fill: var(--blue); }

.art-nodes .node-core {
  fill: var(--ink);
  stroke: none;
}

.art-type {
  fill: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.art-type path { fill: none; stroke: var(--white); stroke-width: 1; }

.visual-note {
  position: absolute;
  right: 8%;
  bottom: 10%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding-block: clamp(7rem, 14vw, 12rem);
  border-top: 1px solid var(--line);
}

.section-number {
  color: var(--navy);
  font-size: 0.68rem;
}

.section-heading h2,
.principle-heading h2,
.launch h2 {
  margin: 1.35rem 0 0;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.about-lead {
  max-width: 760px;
  margin: 0;
  color: #40433e;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.6;
}

.concept-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.concept-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-radius: 26px;
}

.concept-card-dark { color: var(--white); background: var(--ink); }
.concept-card-blue { color: var(--navy); background: var(--blue); }

.card-kicker { font-size: 0.6rem; opacity: 0.7; }

.concept-card h3 {
  margin: auto 0 0.7rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.concept-card p:not(.card-kicker) {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.principle {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background: var(--paper-deep);
  isolation: isolate;
}

.principle-blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.principle-blob-yellow {
  top: 8%;
  left: -12%;
  width: 36vw;
  height: 36vw;
  background: rgba(244, 234, 167, 0.72);
}

.principle-blob-blue {
  right: -10%;
  bottom: -13%;
  width: 42vw;
  height: 42vw;
  background: rgba(185, 220, 239, 0.72);
}

.principle-inner { padding-block: clamp(7rem, 13vw, 11rem); }

.principle-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: end;
}

.principle-heading > p {
  max-width: 520px;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.principle-draft-note {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.principle-tabs {
  position: relative;
  z-index: 2;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: 0.8rem;
  background: rgba(252, 251, 247, 0.9);
  border: 1px solid rgba(23, 25, 22, 0.08);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(42, 39, 31, 0.08);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.35rem;
  background: var(--paper);
  border-radius: 999px;
}

.tab-button {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.65rem 1rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.tab-button span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.tab-button[aria-selected="true"] { color: var(--white); background: var(--navy); }

.tab-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: 460px;
  padding: clamp(2rem, 5vw, 5rem);
}

.panel-step { color: var(--navy); font-size: 0.64rem; }

.panel-copy h3 {
  max-width: 550px;
  margin: 1.2rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.panel-copy > p:not(.panel-step) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.panel-diagram {
  display: block;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.diagram-field {
  fill: rgba(185, 220, 239, 0.44);
  stroke: var(--navy);
  stroke-width: 1.3;
  stroke-dasharray: 5 8;
}

.diagram-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
}

.diagram-line-curved { stroke-dasharray: 6 7; }
.diagram-line-strong { stroke-width: 4; }

.diagram-node {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 2;
}

.diagram-node-active { fill: var(--yellow); }
.diagram-target { fill: var(--navy); }
.diagram-cross { stroke: var(--white); stroke-width: 2; }

.launch { padding-block: clamp(6rem, 12vw, 10rem); }

.launch-panel {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: clamp(3rem, 10vw, 10rem);
  padding: clamp(2.2rem, 7vw, 6rem);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(185, 220, 239, 0.15), transparent 22rem),
    var(--ink);
  border-radius: 36px;
}

.section-number-light { color: var(--yellow); }

.launch-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.launch-detail > p {
  margin: 0;
  color: rgba(252, 251, 247, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

.domain-block { margin-top: 4rem; }

.domain-label {
  margin: 0 0 0.6rem;
  color: rgba(252, 251, 247, 0.54);
  font-size: 0.7rem;
}

.copy-domain {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem 0.8rem 1.25rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.copy-domain:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.copy-domain > span:first-child {
  min-width: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.copy-action {
  display: inline-flex;
  flex: none;
  gap: 0.4rem;
  align-items: center;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
}

.copy-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.copy-feedback {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  color: var(--yellow);
  font-size: 0.72rem;
}

.copy-helper {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 110px;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer p { margin: 0; }
.site-footer p:last-child { justify-self: end; font-family: Arial, Helvetica, sans-serif; }
.footer-brand { color: var(--ink); }

.error-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
}

.error-header { position: relative; }

.error-main {
  align-self: center;
  padding-block: 5rem;
}

.error-main h1 { font-size: clamp(3rem, 7vw, 6rem); }

.error-main > p:not(.eyebrow) {
  margin: 2rem 0;
  color: var(--muted);
  line-height: 1.8;
}

@keyframes line-flow { to { stroke-dashoffset: -120; } }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6.5rem;
  }

  .hero-copy { max-width: 800px; }
  .visual-stage { width: min(78vw, 570px); justify-self: end; margin-top: -2rem; }

  .about {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .section-heading br { display: none; }

  .principle-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tab-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .panel-diagram { max-width: 480px; justify-self: center; }

  .launch-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .launch-detail { max-width: 650px; }
}

@media (max-width: 760px) {
  .section-frame, .header-inner { width: min(calc(100% - 2rem), 1320px); }

  .header-inner {
    display: flex;
    justify-content: space-between;
    min-height: 68px;
  }

  .preview-badge { display: none; }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }

  .nav-toggle > span[aria-hidden="true"] {
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    display: none;
    width: min(230px, 78vw);
    padding: 0.55rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(23, 25, 22, 0.14);
  }

  .primary-nav.is-open { display: grid; }

  .primary-nav a {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
  }

  .hero { padding-block: 5rem 4rem; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4.2rem); }
  .visual-stage { width: min(94vw, 500px); margin-top: -1rem; }

  .about { padding-block: 6rem; }

  .concept-notes { grid-template-columns: 1fr; }
  .concept-card { min-height: 280px; }

  .principle-inner { padding-block: 6rem; }
  .principle-tabs { padding: 0.55rem; border-radius: 24px; }
  .tab-panel { min-height: 0; padding: 2.2rem 1.4rem 1.2rem; }

  .launch { padding-block: 5rem; }
  .launch-panel { padding: 2.2rem 1.4rem; border-radius: 26px; }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 130px;
  }

  .site-footer > p:first-of-type { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.3rem, 11.7vw, 3.5rem); }
  .hero-intro { font-size: 0.92rem; }
  .visual-stage { width: 100%; }

  .section-heading h2,
  .principle-heading h2,
  .launch h2 { font-size: clamp(2.25rem, 11vw, 3.2rem); }

  .about-lead { font-size: 1.12rem; }

  .tab-list { gap: 0.2rem; padding: 0.25rem; }
  .tab-button {
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    min-height: 54px;
    padding: 0.5rem 0.2rem;
    font-size: 0.76rem;
  }

  .panel-copy h3 { font-size: 2rem; }
  .panel-diagram { margin-top: -0.6rem; }

  .domain-block { margin-top: 2.5rem; }
  .copy-domain { gap: 0.45rem; padding-inline: 0.85rem; }
  .copy-domain > span:first-child { font-size: 0.82rem; }
  .copy-action { gap: 0.25rem; font-size: 0.64rem; }
  .copy-action svg { width: 15px; height: 15px; }

  .site-footer { grid-template-columns: 1fr; gap: 0.7rem; }
  .site-footer > p:first-of-type { grid-column: auto; grid-row: auto; }
  .site-footer p:last-child { justify-self: start; }
}

@media (max-width: 340px) {
  .brand { gap: 0.5rem; font-size: 0.69rem; letter-spacing: 0.1em; }
  .brand-symbol { width: 30px; }
  .hero h1 { font-size: 2.15rem; }
  .button { min-height: 44px; padding-inline: 1rem; font-size: 0.76rem; }
  .concept-card { padding: 1.3rem; }
  .tab-panel { padding-inline: 1rem; }
  .launch-panel { padding-inline: 1rem; }
  .copy-domain { padding-inline: 0.7rem; }
  .copy-domain > span:first-child { font-size: 0.76rem; }
  .copy-action { font-size: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
