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

:root {
  --neon: #b6ff00;
  --neon-strong: #9ff000;
  --ink: #0b0b0b;
  --muted: #626872;
  --line: #e3e6eb;
  --page: #eff1f3;
  --card: #ffffff;
  --footer: #111417;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.site {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #f7f8fa;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mobile-header {
  height: 72px;
  padding: 0 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__image {
  display: block;
  width: 170px;
  height: auto;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.menu-button span {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #0c0c0c;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.site-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.34);
}

.site-menu {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 90;
  width: min(100% - 28px, 452px);
  transform: translateX(-50%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.site-menu__head {
  min-height: 58px;
  padding: 0 16px 0 20px;
  background: #0b0b0b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-menu__head strong {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.site-menu__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.site-menu__links {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.site-menu__link {
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #e0e4ea;
  border-radius: 13px;
  background: #fff;
  display: grid;
  align-content: center;
}

.site-menu__link span,
.site-menu__link small {
  display: block;
}

.site-menu__link span {
  color: #101010;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.site-menu__link small {
  margin-top: 5px;
  color: #68707b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.site-menu__link.is-active {
  border-color: var(--neon-strong);
  background: rgba(182, 255, 0, 0.16);
  box-shadow: inset 0 0 0 1px var(--neon-strong);
}

.site-menu__link--kakao {
  border-color: #fee500;
  background: #fee500;
  box-shadow: 0 8px 18px rgba(254, 229, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-menu__link--kakao small,
.site-menu__kakao-label small {
  margin-top: 2px;
  color: rgba(0, 0, 0, 0.68);
  text-align: left;
}

.site-menu__link--kakao .site-menu__kakao-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  color: #191919;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.site-menu__link--kakao .site-menu__kakao-label i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-menu__link--kakao .site-menu__kakao-label img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.site-menu__link--kakao .site-menu__kakao-label svg {
  width: 22px;
  height: 22px;
  fill: #191919;
  display: block;
}

.site-menu__link--kakao .site-menu__kakao-label b {
  display: block;
  color: #191919;
  font-size: inherit;
  font-weight: 950;
  line-height: 1.05;
  text-align: left;
  white-space: nowrap;
}

.site-menu__link--kakao .site-menu__kakao-label > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.compact-hero {
  position: relative;
  height: 250px;
  overflow: hidden;
  isolation: isolate;
  background: #101010;
  color: #fff;
}

.compact-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.compact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55));
}

.compact-hero > div {
  position: absolute;
  right: 22px;
  bottom: 28px;
  left: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--neon);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.compact-hero h1,
.result-hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.065em;
}

.compact-hero p:last-child,
.result-hero p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.result-hero__sub {
  color: #30343a;
  font-size: 15px !important;
  font-weight: 750 !important;
}

.content-stack {
  padding: 18px 14px 28px;
}

.content-stack.content {
  padding-top: 18px;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.mobile-card {
  margin: 0 0 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.045);
}

.mobile-card h2,
.field-label {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.mobile-card h2 b,
.field-label b {
  color: #ff1515 !important;
  font-weight: 950;
}

.notice-card {
  border-color: rgba(182, 255, 0, 0.7);
  background: linear-gradient(135deg, #fffffb, #f7ffe7);
}

.notice-card p,
.helper-text {
  margin: 0 0 14px;
  color: #30343a;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 580;
}

.support-card {
  border-color: #d8dde5;
  background: linear-gradient(135deg, #fff, #fbfcfd);
}

.support-card h2 {
  font-size: 19px;
}

.support-card a {
  color: #0b0b0b;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.result-hero {
  padding: 44px 22px 28px;
  background: #fff;
  text-align: center;
}

.result-hero--dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 42%),
    #111417;
  color: #fff;
}

.status-mark {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--neon);
  color: #050505;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 950;
}

.code-pill {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.code-pill--left {
  margin: 10px 0 0;
}

.code-pill span {
  color: var(--neon);
  font-size: 13px;
}

.link-box {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #fbfcfd;
}

.link-box strong,
.link-box span {
  display: block;
}

.link-box span {
  margin-top: 6px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfd4dc;
  border-radius: 11px;
  background: #fff;
  padding: 0 14px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  outline: none;
}

.input::placeholder {
  color: #7c838c;
  font-weight: 500;
}

.input:focus {
  border-color: #96d900;
  box-shadow: 0 0 0 4px rgba(182, 255, 0, 0.22);
}

.option-grid,
.size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-grid label,
.size-grid label {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.option-grid input,
.size-grid input,
.print-choice input,
.print-location-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-grid span,
.size-grid span {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d6dbe2;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #161616;
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}

.option-grid--product {
  grid-template-columns: 1fr;
  gap: 10px;
}

.option-grid--product span {
  padding: 0 12px;
  font-size: 15px;
  line-height: 1.25;
  word-break: keep-all;
}

.option-grid input:checked + span,
.size-grid input:checked + span,
.print-choice input:checked ~ b,
.print-choice input:checked ~ .shirt-preview,
.print-location-option input:checked ~ b,
.print-location-option input:checked ~ .print-location-image {
  border-color: #91d700;
  background-color: rgba(182, 255, 0, 0.13);
  box-shadow: inset 0 0 0 1px #91d700;
}

.file-upload-panel {
  margin-top: 14px;
}

.file-upload-panel[hidden] {
  display: none !important;
}

.file-upload-field {
  min-height: 58px;
  padding: 12px;
  border: 1px dashed #cfd5dd;
  border-radius: 12px;
  background: #fbfcfd;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  cursor: pointer;
}

.file-upload-button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.file-upload-name {
  min-width: 0;
  color: #39404a;
  font-size: 13px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-upload-note {
  margin: 9px 0 0;
  color: #68707b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.form-helper {
  margin: 0 0 12px;
  color: #626872;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-grid--single {
  grid-template-columns: 1fr;
}

.metric-grid div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  background: #fbfcfd;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 24px;
  font-weight: 950;
}

.size-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}

.size-summary-grid div {
  min-height: 62px;
  padding: 10px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #fbfcfd;
  display: grid;
  align-content: center;
  gap: 5px;
}

.size-summary-grid span,
.size-summary-grid strong {
  display: block;
  text-align: center;
}

.size-summary-grid span {
  color: #68707b;
  font-size: 13px;
  font-weight: 850;
}

.size-summary-grid strong {
  color: #111;
  font-size: 18px;
  font-weight: 950;
}

.inline-input {
  display: grid;
  grid-template-columns: 92px 1fr 30px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.inline-input label,
.inline-input span {
  font-size: 15px;
  font-weight: 800;
}

.size-quantity-list {
  display: grid;
  gap: 8px;
}

.size-quantity-list .inline-input {
  margin-top: 0;
}

.order-total {
  margin-top: 14px;
  padding: 14px;
  border-radius: 13px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-total span {
  color: var(--neon);
  font-size: 14px;
  font-weight: 900;
}

.order-total strong {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.data-list {
  display: grid;
  gap: 0;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.8fr) 1.2fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecf1;
  font-size: 15px;
}

.data-row:last-child {
  border-bottom: 0;
}

.data-row strong {
  font-weight: 900;
}

.data-row span {
  text-align: right;
  color: #2b3036;
  font-weight: 700;
}

.size-list {
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
}

.size-list .data-row {
  grid-template-columns: 1fr auto;
}

.size-spec-table {
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 12px;
  background: #fff;
}

.size-spec-table > div {
  display: grid;
  grid-template-columns: 0.7fr repeat(4, 1fr);
  min-height: 44px;
  border-bottom: 1px solid #e7ebf0;
}

.size-spec-table > div:last-child {
  border-bottom: 0;
}

.size-spec-table strong,
.size-spec-table b,
.size-spec-table span {
  min-width: 0;
  padding: 12px 6px;
  border-right: 1px solid #e7ebf0;
  color: #161616;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  text-align: center;
}

.size-spec-table strong:last-child,
.size-spec-table b:last-child,
.size-spec-table span:last-child {
  border-right: 0;
}

.size-spec-table strong {
  background: #fbfcfd;
  font-weight: 950;
}

.size-spec-table span {
  color: #626872;
  font-weight: 750;
}

.print-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.print-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px;
}

.print-location-option {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 8px;
  cursor: pointer;
}

.print-location-image {
  overflow: hidden;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #fbfcfd;
  display: block;
}

.print-location-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.print-location-option b {
  min-height: 34px;
  padding: 0 4px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #141414;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.print-location-option b::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid #bcc4ce;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
}

.print-location-option input:checked ~ b::before {
  border-color: #91d700;
  background:
    linear-gradient(135deg, transparent 0 42%, #111 42% 58%, transparent 58%),
    var(--neon);
  box-shadow: inset 0 0 0 2px var(--neon);
}

.logo-change-note {
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 0;
  color: #050607;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-align: center;
}

.logo-change-note span {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  border-radius: 999px;
  background: var(--neon);
  color: #050607;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  vertical-align: 1px;
}

.logo-change-note em {
  font-style: normal;
  text-decoration-line: underline;
  text-decoration-color: var(--neon);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.print-choice {
  display: grid;
  gap: 8px;
  cursor: pointer;
}

.shirt-preview {
  position: relative;
  min-height: 94px;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  background: #fbfcfd;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.shirt-preview img {
  width: 78%;
  max-height: 76px;
  object-fit: contain;
}

.shirt-preview i {
  position: absolute;
  display: block;
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.8);
}

.mark-front i {
  top: 46px;
  left: 50%;
  width: 20px;
  height: 12px;
  transform: translateX(-50%);
}

.mark-left i {
  top: 42px;
  left: 34px;
  width: 14px;
  height: 10px;
}

.mark-back i {
  top: 36px;
  left: 50%;
  width: 30px;
  height: 24px;
  transform: translateX(-50%);
}

.print-choice b {
  min-height: 36px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.shorts-print {
  margin-top: 12px;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  background: #fbfcfd;
  padding: 12px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
}

.shorts-print img {
  width: 90px;
}

.shorts-print p {
  margin: 0;
  color: #2d333a;
  font-size: 14px;
  line-height: 1.5;
}

.file-button {
  margin-top: 12px;
  display: block;
}

.file-button input {
  display: none;
}

.file-button span {
  min-height: 46px;
  border: 1px dashed #b9c1cc;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #31363d;
  font-weight: 850;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #30343a;
  font-size: 15px;
  font-weight: 750;
}

.checkbox-line input {
  width: 24px;
  height: 24px;
  accent-color: var(--neon-strong);
}

.deposit-state {
  text-align: center;
}

.clock {
  display: block;
  color: var(--neon-strong);
  font-size: 46px;
  line-height: 1;
}

.deposit-state strong {
  display: block;
  margin-top: 6px;
  color: #111;
  font-size: 25px;
  font-weight: 950;
}

.deposit-state p {
  margin: 8px 0 0;
  color: #4c535d;
  font-size: 14px;
  font-weight: 650;
}

.price {
  font-size: 20px;
  font-weight: 950;
}

.cta {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(90deg, var(--neon), var(--neon-strong));
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.055em;
  text-align: center;
}

.cta + .cta,
.mobile-card + .cta,
.cta + .mobile-card {
  margin-top: 10px;
}

.cta--outline {
  border: 1.5px solid #111;
  background: #fff;
}

.cta--subtle {
  border: 1px solid #dfe3ea;
  background: #fff;
  color: #1f242b;
}

.cta--small {
  min-height: 46px;
  margin-top: 14px;
  border-radius: 10px;
  font-size: 16px;
}

.footer {
  padding: 28px 18px calc(26px + var(--safe-bottom));
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.09), transparent 40%),
    var(--footer);
  color: #fff;
  text-align: center;
}

.brand--footer {
  width: max-content;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand--footer .brand__image {
  width: 240px;
}

.footer p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.footer .footer-business {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12.5px;
  line-height: 1.85;
  font-weight: 550;
  word-break: keep-all;
}

@media (max-width: 374px) {
  .brand__image {
    width: 150px;
  }

  .brand--footer .brand__image {
    width: 220px;
  }

  .compact-hero {
    height: 230px;
  }

  .compact-hero h1,
  .result-hero h1 {
    font-size: 31px;
  }

  .option-grid,
  .size-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .option-grid--product {
    grid-template-columns: 1fr;
  }

  .print-choice-grid {
    grid-template-columns: 1fr;
  }

  .print-location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .size-list {
    grid-template-columns: 1fr;
  }
}
