:root {
  color-scheme: light;
  --ink: #151922;
  --muted: #606979;
  --line: #dfe4ea;
  --surface: #ffffff;
  --page: #f3f5f7;
  --blue: #315fe9;
  --blue-dark: #2348b8;
  --blue-soft: #eef3ff;
  --teal: #147d76;
  --teal-soft: #eaf8f5;
  --yellow: #9a6500;
  --yellow-soft: #fff8df;
  --red: #c94045;
  --red-soft: #fff1f1;
  --shadow: 0 12px 32px rgba(27, 36, 49, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  word-break: keep-all;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 120ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

.header-partners {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.partner-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.partner-logo-uinus {
  height: 25px;
}

.partner-logo-seedto {
  height: 31px;
}

.partner-divider {
  color: #c5ccd8;
  font-size: 20px;
  line-height: 1;
}

.page-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  min-width: 0;
  margin: 0 auto;
  padding: 52px 0 96px;
}

.guide-nav {
  position: sticky;
  top: 108px;
  align-self: start;
}

.nav-label {
  margin: 0 0 14px;
  color: #9097a4;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-nav nav {
  display: grid;
  border-left: 1px solid var(--line);
}

.guide-nav nav a {
  position: relative;
  padding: 9px 0 9px 18px;
  color: #747d8b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.guide-nav nav a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: transparent;
  content: "";
}

.guide-nav nav a.is-active {
  color: var(--blue);
}

.guide-nav nav a.is-active::before {
  background: var(--blue);
}

.nav-status {
  margin-top: 30px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.nav-status > span,
.nav-status > strong {
  display: block;
}

.nav-status > span {
  color: var(--muted);
  font-size: 11px;
}

.nav-status > strong {
  margin-top: 2px;
  font-size: 18px;
}

.mini-progress {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  background: #e8ebf0;
}

.mini-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 180ms ease;
}

.guide-main {
  width: min(100%, 850px);
  min-width: 0;
}

.intro-section,
.content-section,
.confirmation-section {
  min-width: 0;
  margin-bottom: 72px;
}

.intro-section {
  padding: 12px 0 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.16;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.intro-copy {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.summary-strip div {
  padding: 21px 24px;
}

.summary-strip div + div {
  border-left: 1px solid var(--line);
}

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

.summary-strip span {
  color: var(--muted);
  font-size: 12px;
}

.summary-strip strong {
  margin-top: 4px;
  font-size: 16px;
}

.notice {
  padding: 18px 20px;
  border: 1px solid;
  border-radius: 7px;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.notice p {
  margin: 0;
  font-size: 14px;
}

.notice-blue {
  border-color: #cbd8ff;
  background: var(--blue-soft);
  color: #294a9c;
}

.notice-yellow {
  border-color: #ead187;
  background: var(--yellow-soft);
  color: #6f4b04;
}

.notice-red {
  border-color: #f0c7c9;
  background: var(--red-soft);
  color: #8e3034;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.section-heading p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.caution-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.caution-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 28px;
}

.caution-item + .caution-item {
  border-top: 1px solid var(--line);
}

.item-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.caution-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.caution-item p {
  margin-bottom: 0;
  color: #4f5867;
  font-size: 14px;
}

.caution-item ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #4f5867;
  font-size: 14px;
}

.caution-item li + li {
  margin-top: 5px;
}

.sub-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid #88a5fa;
  background: #f7f9fc;
  color: #5e6673;
  font-size: 13px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafbfc;
}

.timeline div {
  position: relative;
  padding: 13px 12px;
  text-align: center;
}

.timeline div + div {
  border-left: 1px solid var(--line);
}

.timeline b,
.timeline span {
  display: block;
}

.timeline b {
  color: var(--blue);
  font-size: 12px;
}

.timeline span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.caption {
  margin-top: 10px !important;
  color: #7d8592 !important;
  font-size: 12px !important;
}

.exclusion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 15px;
}

.exclusion-grid span {
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fafbfc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.product-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overscroll-behavior-inline: contain;
}

.product-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.app-scope-table {
  min-width: 760px;
}

.product-table th,
.product-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-table th {
  background: #f7f8fa;
  color: var(--muted);
  font-size: 12px;
}

.product-table tr:last-child td {
  border-bottom: 0;
}

.product-table td:first-child {
  width: 92px;
  color: var(--blue);
}

.section-footnote,
.policy-date {
  color: var(--muted);
  font-size: 13px;
}

.section-footnote {
  margin: 14px 2px 0;
}

.policy-date {
  margin: -8px 0 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.feature-grid article {
  min-height: 230px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid article > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.account-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.account-list article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.account-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
}

.account-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.cloudflare {
  background: #fff2e8;
  color: #cf5c16;
}

.aws {
  background: #eef1f5;
  color: #172333;
}

.resend {
  background: #191919;
  color: #fff;
}

.kakao {
  background: #ffe812;
  color: #241f00;
}

.openai {
  background: var(--teal-soft);
  color: var(--teal);
}

.account-top h3,
.account-top p {
  margin: 0;
}

.account-top h3 {
  font-size: 16px;
}

.account-top p {
  color: var(--muted);
  font-size: 11px;
}

.account-top a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #4f5867;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.account-top a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.account-list article > p {
  margin: 15px 0 0 56px;
  color: var(--muted);
  font-size: 13px;
}

.account-tag {
  display: inline-flex;
  margin: 12px 0 0 56px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f0f2f5;
  color: #626b79;
  font-size: 10px;
  font-weight: 700;
}

.confirmation-section {
  margin-bottom: 0;
}

#confirmationForm {
  display: grid;
  gap: 16px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset legend {
  width: 100%;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 800;
}

.check-panel,
.identity-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #edf0f3;
  color: #48515f;
  cursor: pointer;
  font-size: 14px;
}

.check-row:first-of-type {
  border-top: 0;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.app-check {
  display: none;
}

.app-check.is-visible {
  display: grid;
}

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

.form-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: #414956;
  font-size: 12px;
  font-weight: 700;
}

.form-grid label > span b {
  color: var(--red);
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #cfd5dd;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 95, 233, 0.1);
}

.privacy-row,
.final-confirm {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 22px;
  cursor: pointer;
}

.privacy-row {
  padding: 16px;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  background: #f8f9fa;
  color: #626b78;
  font-size: 11px;
}

.privacy-row b {
  display: block;
  margin-bottom: 4px;
  color: #353d49;
  font-size: 12px;
}

.privacy-row a {
  color: var(--blue);
}

.final-confirm {
  padding: 18px;
  border: 1px solid #bfd0ff;
  border-radius: 6px;
  background: var(--blue-soft);
  color: #29437f;
  font-size: 13px;
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.form-error {
  min-height: 23px;
  margin-top: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:hover:not(:disabled) {
  background: var(--blue-dark);
}

.submit-button:disabled {
  background: #d8dce3;
  color: #9098a5;
  cursor: not-allowed;
}

.submit-button.is-loading {
  position: relative;
  color: transparent;
}

.submit-button.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  content: "";
}

.submit-note {
  margin: 9px 0 0;
  color: #8a929d;
  font-size: 11px;
  text-align: center;
}

.site-footer {
  padding: 30px max(20px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #e9edf1;
  color: #66707d;
  font-size: 11px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 5px;
}

.site-footer strong {
  color: #363e49;
}

.site-footer p {
  margin: 0;
}

.success-dialog {
  width: min(420px, calc(100% - 36px));
  padding: 30px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-dialog::backdrop {
  background: rgba(18, 23, 31, 0.64);
  backdrop-filter: blur(2px);
}

.success-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 26px;
  font-weight: 900;
}

.success-dialog h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.success-dialog > p {
  color: var(--muted);
  font-size: 13px;
}

.success-dialog dl {
  margin: 20px 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9fa;
  text-align: left;
}

.success-dialog dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

.success-dialog dl div + div {
  margin-top: 7px;
}

.success-dialog dt,
.success-dialog dd {
  margin: 0;
  font-size: 11px;
}

.success-dialog dt {
  color: var(--muted);
}

.success-dialog dd {
  overflow-wrap: anywhere;
  color: #343c48;
  font-weight: 700;
}

.success-dialog button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 32px));
    padding-top: 36px;
  }

  .guide-nav {
    display: none;
  }

  .guide-main {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 15px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .header-inner {
    width: calc(100% - 28px);
    height: 64px;
  }

  .header-partners {
    gap: 8px;
  }

  .partner-logo-uinus {
    height: 20px;
  }

  .partner-logo-seedto {
    height: 25px;
  }

  .partner-divider {
    font-size: 16px;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding: 28px 16px 64px;
  }

  .intro-section,
  .content-section,
  .confirmation-section {
    margin-bottom: 56px;
  }

  h1 {
    font-size: 38px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .summary-strip {
    grid-template-columns: 1fr;
  }

  .summary-strip div {
    padding: 15px 18px;
  }

  .summary-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-number {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .caution-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 18px;
  }

  .item-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .caution-item h3 {
    font-size: 16px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .timeline div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .exclusion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-list article {
    padding: 18px;
  }

  .account-top {
    grid-template-columns: 40px 1fr auto;
    gap: 9px;
  }

  .account-logo {
    width: 38px;
    height: 38px;
  }

  .account-top a {
    padding: 7px 9px;
  }

  .account-list article > p,
  .account-tag {
    margin-left: 0;
  }

  .check-panel,
  .identity-panel {
    padding: 20px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .privacy-row,
  .final-confirm {
    padding: 14px;
  }

  .site-footer {
    padding: 26px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .reading-progress,
  .site-header,
  .guide-nav,
  .confirmation-section,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding: 0;
  }

  .guide-main {
    width: 100%;
    max-width: none;
  }

  .content-section {
    break-inside: avoid;
  }
}
