:root {
  --ink: #05070a;
  --ink-deep: #020306;
  --ink-soft: #080b11;
  --paper: #dfe5ee;
  --text-inverse: #f5f7fa;
  --text-soft: #c5ceda;
  --text-muted: #9da8b7;
  --text-quiet: #6f7b8b;
  --cobalt-300: #9bc1ff;
  --cobalt-400: #76a8ff;
  --cobalt-500: #357dff;
  --cobalt-700: #1448a8;
  --rule: rgba(255, 255, 255, .22);
  --rule-quiet: rgba(255, 255, 255, .12);
  --surface-glass: rgba(8, 13, 22, .78);
  --error: #ff8585;
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-body: "Manrope", "Noto Sans KR", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Noto Sans KR", monospace;
  --type-page: clamp(3.25rem, 8vw, 7.5rem);
  --type-section: clamp(1.35rem, 2.4vw, 2rem);
  --type-body: 1rem;
  --type-label: .6875rem;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --gutter: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(53, 125, 255, .14), transparent 68%),
    linear-gradient(180deg, var(--ink-deep), var(--ink) 24%, var(--ink-soft));
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.82;
  text-rendering: optimizeLegibility;
}

body * { transition-property: opacity, transform, filter !important; }

a { color: var(--cobalt-300); }
::selection { background: var(--cobalt-400); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cobalt-300); outline-offset: 4px; }

.bg-aurora, .bg-grid { display: none !important; }

.container { margin-inline: auto; }
header .container, footer .container { width: min(1180px, calc(100% - (var(--gutter) * 2))); }
main .container { width: min(820px, calc(100% - (var(--gutter) * 2))); }

header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 0;
  border-bottom: 1px solid var(--rule-quiet);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-inverse);
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cobalt-400);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(155, 193, 255, .36), rgba(5, 7, 10, .2) 42%, var(--ink) 70%);
  box-shadow: inset 0 0 0 4px rgba(118, 168, 255, .08), 0 0 24px rgba(53, 125, 255, .2);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 400;
}

.logo-text {
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.lang-toggle {
  display: flex;
  gap: 0;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
}

.lang-btn {
  min-width: 48px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-quiet);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .12em;
  transition: color 220ms ease-out, background 220ms ease-out;
}

.lang-btn:hover { color: var(--text-inverse); }
.lang-btn.active { background: var(--paper); color: var(--ink); box-shadow: none; }

main {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 10vw, 120px) 0 var(--space-20);
}

.page-header {
  position: relative;
  min-height: clamp(260px, 40vw, 380px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 0 clamp(72px, 10vw, 120px);
  padding: 0 0 var(--space-10);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  isolation: isolate;
  overflow: clip;
}

.page-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  width: fit-content;
  margin: 0 0 var(--space-5);
  color: var(--cobalt-400);
  font-family: var(--font-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-label::before {
  width: var(--space-8);
  height: 1px;
  content: '';
  background: var(--cobalt-400);
}

.page-title {
  position: relative;
  z-index: 2;
  max-width: 10ch;
  margin: 0 0 var(--space-5);
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: var(--type-page);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .86;
  text-align: left;
  text-wrap: balance;
  word-break: keep-all;
}

html[lang="ko"] .page-title {
  max-width: 100%;
  font-size: clamp(3.25rem, 5.8vw, 5.5rem);
}

.page-meta, .page-desc {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  line-height: 1.7;
  text-align: left;
  word-break: keep-all;
}

.optical-mark {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: -5%;
  width: clamp(180px, 34vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(155, 193, 255, .42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(155, 193, 255, .24), transparent 18%),
    radial-gradient(circle at center, transparent 0 35%, rgba(20, 72, 168, .18) 36% 51%, transparent 52%),
    radial-gradient(circle at center, rgba(3, 8, 17, .2), var(--ink) 68%);
  box-shadow: inset 0 0 0 10px rgba(118, 168, 255, .035), inset 18px -16px 42px rgba(53, 125, 255, .18), 0 0 56px rgba(53, 125, 255, .12);
  opacity: .82;
}

.optical-mark::before,
.optical-mark::after,
.optical-mark span {
  position: absolute;
  content: '';
}

.optical-mark::before {
  inset: 25%;
  border: 1px solid rgba(223, 229, 238, .55);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(53, 125, 255, .32);
}

.optical-mark::after {
  top: 50%;
  right: -18%;
  left: -38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--paper) 32% 58%, var(--cobalt-400) 72%, transparent);
  box-shadow: 0 0 16px var(--cobalt-500);
}

.content-section, .info-card, .form-wrap, .contact-info, .faq-section {
  margin: 0 0 var(--space-12);
}

.content-section {
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule-quiet);
}

.content-section h2,
.info-card h3,
.form-title,
.section-title {
  margin: 0 0 var(--space-5);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: var(--type-section);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.18;
  text-align: left;
  word-break: keep-all;
}

.content-section p,
.content-section li,
.info-card p,
.info-card li,
.page-desc,
.notice {
  color: var(--text-soft);
  font-size: var(--type-body);
  line-height: 1.82;
  word-break: keep-all;
}

.content-section p { margin: 0 0 var(--space-4); }
.content-section ul, .info-card ul { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
.content-section li, .info-card li { margin-bottom: var(--space-2); }
.content-section strong, .info-card strong { color: var(--text-inverse); }

.highlight-box,
.info-card,
.form-wrap,
.contact-info,
.notice {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--rule);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(118, 168, 255, .07), rgba(8, 13, 22, .36) 48%, rgba(255, 255, 255, .025));
  box-shadow: none;
}

.highlight-box { margin: var(--space-6) 0; }
.highlight-box p:last-child { margin-bottom: 0; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: var(--space-12);
  background: var(--rule-quiet);
}

.app-card {
  min-height: 160px;
  padding: var(--space-6);
  border: 0;
  border-radius: 0;
  background: var(--ink-soft);
  box-shadow: none;
}

.app-card h3 { color: var(--text-inverse); font-family: var(--font-body); }
.app-card p { color: var(--text-muted); }

.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); background: transparent; }
.faq-q {
  min-height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border: 0;
  background: transparent;
  color: var(--text-inverse);
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}
.faq-title { color: var(--text-inverse); font-size: .9375rem; font-weight: 600; word-break: keep-all; }
.faq-a { color: var(--text-muted); }

.form-group { margin-bottom: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-label {
  display: block;
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.form-input, .form-select {
  min-height: 52px;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: 0;
  background: rgba(2, 3, 6, .64);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: .9375rem;
  transition: border-color 220ms ease-out, background 220ms ease-out;
}

textarea.form-input { min-height: 132px; resize: vertical; }
.form-input:hover, .form-select:hover { border-color: var(--cobalt-400); }
.form-input:focus, .form-select:focus { border-color: var(--cobalt-300); background: var(--ink); }

.form-submit {
  min-height: 52px;
  width: 100%;
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--paper);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  transition: transform 120ms ease-out, color 220ms ease-out, background 220ms ease-out;
}

.form-submit:hover { transform: translateY(-2px); background: var(--cobalt-400); box-shadow: none; }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.data-table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.data-table thead, .data-table tbody { min-width: 620px; display: table; width: 100%; table-layout: fixed; }
.data-table th, .data-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule-quiet); text-align: left; }
.data-table th { color: var(--text-muted); font-family: var(--font-mono); font-size: .6875rem; }
.data-table td { color: var(--text-soft); font-size: .875rem; }

.badge-delete, .badge-keep {
  display: inline-block;
  padding: 2px var(--space-2);
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--cobalt-300);
  font-family: var(--font-mono);
  font-size: .6875rem;
}

footer {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--rule-quiet);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-copy { color: var(--text-quiet); font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  color: var(--text-muted);
  font-size: .6875rem;
  text-decoration: none;
  transition: color 220ms ease-out;
}
.footer-links a:hover { background: transparent; color: var(--text-inverse); }

@media (max-width: 720px) {
  .header-inner { min-height: 66px; }
  main { padding-top: var(--space-16); }
  .page-header { min-height: 250px; margin-bottom: var(--space-16); padding-bottom: var(--space-8); }
  .optical-mark { top: 0; right: -26%; opacity: .6; }
  .page-title { font-size: clamp(3.1rem, 14vw, 5rem); }
  .app-grid, .form-row { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .logo-text { font-size: .8125rem; }
  .page-header { min-height: 230px; }
  html[lang="ko"] .page-title { max-width: 100%; font-size: clamp(2.7rem, 11.6vw, 4rem); }
  .footer-links { gap: 0 var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
