:root {
  --primary: #0f2747;
  --primary-2: #173d72;
  --accent: #ff6438;
  --accent-2: #ff7e59;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #182438;
  --muted: #67758c;
  --line: #dde5ef;
  --success-bg: #eaf7ee;
  --success-line: #c0e3cb;
  --success-text: #1a5c33;
  --shadow-lg: 0 24px 50px rgba(18, 40, 72, 0.12);
  --shadow-md: 0 12px 26px rgba(18, 40, 72, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  background:
    linear-gradient(180deg, #f7fafe 0%, #eff4fa 100%);
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(221,229,239,0.9);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15,39,71,0.18);
}

.brand-text strong {
  display: block;
  color: var(--primary);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

.hero {
  padding: 56px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy {
  padding: 38px 8px 38px 0;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--primary-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.hero p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-pills {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(18, 40, 72, 0.05);
}

.request-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(221,229,239,0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.card-head strong {
  display: block;
  color: var(--primary);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.card-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef7f0;
  color: #246540;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.field {
  margin-top: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
}

.required {
  color: #d93025;
}

input,
select,
textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: 0.18s ease;
}

textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #8fb6ea;
  box-shadow: 0 0 0 5px rgba(23,61,114,0.08);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.choice-card.active {
  border-color: #8fb6ea;
  background: #f4f8ff;
  box-shadow: 0 0 0 4px rgba(23,61,114,0.06);
}

.choice-card input {
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.action-stack {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.submit-btn {
  min-height: 60px;
  font-size: 1.04rem;
}

.sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.success-box {
  display: none;
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--success-bg);
  border: 1px solid var(--success-line);
  color: var(--success-text);
  font-weight: 700;
}

.guide-section {
  padding: 0 0 50px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 18px 18px;
}

.guide-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 1rem;
}

.guide-card span {
  color: var(--muted);
  font-size: 0.93rem;
}

.footer {
  padding: 24px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 72px;
  }

  .field-row,
  .choice-grid,
  .sub-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 38px 0 34px;
  }

  .request-card {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .brand-text span {
    display: none;
  }
}