
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

@font-face {
  font-family: "Galmuri11";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Galmuri11.woff2") format("woff2");
}

@font-face {
  font-family: "Galmuri11";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Galmuri11-Bold.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #000000;
  --foreground: #ffffff;
  --muted-foreground: rgba(255, 255, 255, 0.46);
  --border: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Galmuri11", monospace;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
}

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

.direpx-page {
  --model-frame-height: clamp(420px, 58vw, 620px);
  --model-frame-half: clamp(210px, 29vw, 310px);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100svh;
  min-height: 360px;
  padding-top: clamp(12px, 2svh, 24px);
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

.landing-screen::before {
  content: none;
}

.landing-screen .brand-stage {
  flex: 1 1 0;
  min-height: 0;
  padding-bottom: 0;
  justify-content: center;
}

.landing-screen .canvas-shell {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  max-height: 620px;
}

.landing-screen .wordmark,
.landing-screen .stores,
.landing-screen .landing-links {
  flex-shrink: 0;
}

.business-section {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px 0 calc(78px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
}

.business-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.business-details p { margin: 0; }

.site-footer.landing-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px));
  font-size: 11px;
  font-family: "Galmuri11", monospace;
  font-weight: 400;
  line-height: 1.5;
  user-select: none;
  -webkit-user-select: none;
}

.landing-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
}

.landing-footer a {
  color: inherit;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.landing-footer .footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-block: -12px;
  margin-right: -11px;
  color: inherit;
  text-decoration: none;
}

.footer-instagram:hover { opacity: 0.65; }

.brand-stage {
  display: flex;
  width: min(900px, 100%);
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
  -webkit-user-select: none;
  user-select: none;
}

.canvas-shell {
  position: relative;
  width: 100%;
  height: var(--model-frame-height);
  touch-action: pan-y;
}

.model-stage {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
}

.model-stage canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.model-stage.is-ready canvas {
  opacity: 1;
  transform: scale(1);
}

.pointer-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 96px at var(--pointer-x) var(--pointer-y), rgba(183, 177, 255, 0.12), transparent 72%);
  transition: opacity 180ms ease;
}

.model-stage:hover .pointer-aura {
  opacity: 1;
}

.loading-state,
.error-state {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 170px;
  transform: translate(-50%, -50%);
  color: var(--muted-foreground);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.loading-track {
  height: 1px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.loading-track i {
  display: block;
  height: 100%;
  background: #ffffff;
  transition: width 180ms ease;
}

.wordmark {
  display: block;
  width: clamp(188px, 31vw, 300px);
  height: auto;
  margin-top: 0;
  image-rendering: auto;
  outline: none;
  user-select: none;
}

.wordmark-x {
  cursor: pointer;
  pointer-events: all;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wordmark.is-x-active .wordmark-x,
.wordmark:focus-visible .wordmark-x {
  transform: rotate(12deg);
}

.wordmark:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 6px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.store-link {
  display: inline-flex;
  min-width: 146px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--foreground);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.store-link:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 4px;
}

.contact-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--foreground);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.contact-link:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 4px;
}

.landing-links {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  column-gap: 24px;
  margin-top: 24px;
}

.landing-links .contact-link { margin-top: 0; }
.landing-links > :first-child { text-align: right; }

.site-footer {
  display: block;
  flex: 0 0 auto;
  width: 100vw;
  min-height: 72px;
  margin-top: auto;
  padding: 20px 24px 22px;
  background: #28d1ff;
  color: #000000;
  font-size: 9px;
  letter-spacing: 0.035em;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.footer-business-summary {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  gap: 6px 0;
  color: #000000;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
}

.footer-business-summary > * {
  position: relative;
  flex: 0 0 auto;
  margin-right: 10px;
  padding-right: 12px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.footer-business-summary > :not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 2px;
  height: 7px;
  background: rgba(0, 0, 0, 0.62);
  content: "";
  transform: translateY(-50%);
}

.footer-business-summary a {
  margin-right: 0;
  padding-right: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
  white-space: nowrap;
}

.footer-meta a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  background: #000000;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-document {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 9vw, 100px) 0 96px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.team-kicker {
  margin: 0 0 24px;
  color: #28d1ff;
  font-family: "Galmuri11", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.team-document h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.team-intro, .team-work p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.9;
}

.team-intro { margin: 28px 0 0; }
.team-collaboration {
  margin: -20px 0 48px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.9;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 28px 0;
  margin: 48px 0;
  border-block: 1px solid var(--border);
}

.team-members h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.team-members span { font-size: 14px; color: #28d1ff; }
.team-work h2 { font-size: 20px; font-weight: 600; margin: 0 0 20px; }
.team-work p { margin: 0 0 16px; }
.team-technology { margin-top: 48px; }
.team-purpose-emphasis { color: #28d1ff; font-weight: 700; }
.team-page .landing-footer { font-size: 11px; font-family: "Galmuri11", monospace; }

@media (max-width: 380px) {
  .team-members { grid-template-columns: 1fr; }
}

.legal-header {
  display: flex;
  width: min(1080px, calc(100% - 48px));
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-brand {
  display: block;
  width: 138px;
}

.legal-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-nav {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.legal-nav a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
}

.legal-nav a.is-current {
  color: #ffffff;
}

.legal-document {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 128px;
}

.legal-kicker {
  margin: 0 0 20px;
  color: #28d1ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.legal-document h1,
.contact-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.legal-intro {
  max-width: 670px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.9;
  word-break: keep-all;
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 64px 0 72px;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-summary div {
  min-height: 118px;
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-summary div:first-child {
  padding-left: 0;
}

.privacy-summary div:last-child {
  border-right: 0;
}

.privacy-summary strong,
.privacy-summary span {
  display: block;
}

.privacy-summary strong {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.privacy-summary span {
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
}

.legal-document section {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-document section h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.legal-document section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.9;
  word-break: keep-all;
}

.legal-document section p + p {
  margin-top: 12px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.inline-links a,
.contact-list a,
.contact-note a {
  color: #28d1ff;
  text-underline-offset: 4px;
}

.contact-list {
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  padding: 9px 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.contact-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.contact-panel {
  display: flex;
  width: min(900px, calc(100% - 48px));
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 96px 0 128px;
}

.contact-panel > p:not(.legal-kicker):not(.contact-note) {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.8;
}

.email-cta {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

.email-cta span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-cta strong {
  font-size: clamp(17px, 3.5vw, 31px);
  letter-spacing: -0.035em;
}

.email-cta i {
  color: #28d1ff;
  font-size: 24px;
  font-style: normal;
}

.contact-note {
  max-width: 590px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1.7;
}

.privacy-policy {
  width: min(820px, calc(100% - 48px));
  padding-top: 88px;
  padding-bottom: 112px;
}

.privacy-policy .legal-intro {
  max-width: 760px;
}

.policy-scope {
  margin: 32px 0 0;
  padding: 22px 24px;
  border-left: 3px solid #28d1ff;
  background: rgba(40, 209, 255, 0.07);
}

.policy-scope strong,
.policy-scope p {
  display: block;
}

.policy-scope strong {
  color: #28d1ff;
  font-size: 14px;
  line-height: 1.5;
}

.policy-scope p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.privacy-policy .policy-section {
  padding: 42px 0;
}

.privacy-policy .policy-section h2 {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.65;
  word-break: keep-all;
}

.privacy-policy .policy-section h3 {
  margin: 28px 0 12px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
}

.privacy-policy .policy-section p,
.privacy-policy .policy-section li,
.privacy-policy .policy-contact dd {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.9;
  word-break: keep-all;
}

.privacy-policy .policy-section strong {
  color: rgba(255, 255, 255, 0.92);
}

.policy-list,
.policy-fields {
  margin: 18px 0 0;
  padding-left: 24px;
}

.policy-list > li,
.policy-fields > li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.policy-list > li:last-child,
.policy-fields > li:last-child {
  margin-bottom: 0;
}

.privacy-policy .policy-list li p {
  margin-top: 4px;
}

.policy-fields {
  list-style: square;
}

.policy-subsection {
  margin-top: 30px;
  padding: 22px 24px 24px;
  border-left: 3px solid #28d1ff;
  background: rgba(255, 255, 255, 0.035);
}

.policy-subsection h3 {
  margin-top: 0 !important;
}

.policy-contact {
  margin: 16px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.policy-contact > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-contact dt {
  color: #28d1ff;
  font-size: 14px;
  line-height: 1.9;
}

.policy-contact dd {
  margin: 0;
}

.policy-links a,
.policy-note a {
  color: #28d1ff;
  text-underline-offset: 4px;
}

.privacy-policy .policy-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .store-link:hover {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(-1px);
  }

  .contact-link:hover {
    color: #28d1ff;
  }

}

@media (max-width: 520px) {
  .direpx-page {
    --model-frame-height: 430px;
    --model-frame-half: 215px;
    padding-inline: 14px;
  }

  .canvas-shell {
    height: var(--model-frame-height);
  }

  .wordmark {
    margin-top: 0;
  }

  .stores {
    margin-top: 22px;
  }

  .store-link {
    min-width: 138px;
  }

  .site-footer {
    min-height: 96px;
    padding: 18px 14px 20px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
  }

  .footer-business-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
  }

  .footer-business-summary > * {
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .footer-business-summary > :not(:last-child)::after {
    display: none;
  }

  .footer-business-summary > :nth-child(odd) {
    padding-right: 14px;
  }

  .footer-business-summary > :nth-child(odd)::after {
    display: block;
  }

  .footer-meta {
    align-self: end;
    justify-self: end;
    font-size: 8px;
    line-height: 1.45;
  }

  .legal-header {
    width: calc(100% - 28px);
    min-height: 84px;
  }

  .legal-brand {
    width: 112px;
  }

  .legal-nav {
    gap: 14px;
    font-size: 9px;
  }

  .legal-document,
  .contact-panel {
    width: calc(100% - 28px);
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .privacy-policy {
    width: calc(100% - 28px);
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .privacy-policy .policy-section {
    padding: 34px 0;
  }

  .privacy-policy .policy-section h2 {
    font-size: 17px;
  }

  .policy-subsection {
    padding: 18px 16px 20px;
  }

  .policy-scope {
    padding: 18px 16px;
  }

  .policy-contact > div {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .legal-intro {
    margin-top: 28px;
    font-size: 15px;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
    margin: 48px 0 60px;
  }

  .privacy-summary div,
  .privacy-summary div:first-child {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .privacy-summary div:last-child {
    border-bottom: 0;
  }

  .privacy-summary strong {
    margin-bottom: 8px;
  }

  .email-cta {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .email-cta span {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-stage canvas,
  .pointer-aura,
  .contact-link,
  .store-link,
  .wordmark-x {
    transition: none;
  }

}
