:root {
  --landing-ink: #13284b;
  --landing-sub: #465e82;
  --landing-line: rgba(21, 60, 120, 0.16);
  --landing-glass: rgba(255, 255, 255, 0.82);
  --landing-card: rgba(255, 255, 255, 0.94);
  --landing-primary: #1e66f5;
  --landing-primary-strong: #1547ba;
  --landing-accent: #0aa57f;
  --landing-shadow: 0 18px 40px rgba(19, 40, 75, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.public-landing {
  margin: 0;
  color: var(--landing-ink) !important;
  background:
    radial-gradient(1200px 620px at -8% -12%, rgba(63, 137, 255, 0.22) 0%, rgba(63, 137, 255, 0) 72%),
    radial-gradient(960px 480px at 105% -4%, rgba(10, 165, 127, 0.2) 0%, rgba(10, 165, 127, 0) 70%),
    linear-gradient(180deg, #f4f8ff 0%, #edf3ff 44%, #f7fafd 100%) !important;
  font-family: "SUIT Variable", "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.55;
  position: relative;
}

body.public-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(30, 102, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 102, 245, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.landing-top,
.landing-main,
.landing-foot {
  position: relative;
  z-index: 1;
}

.landing-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: calc(16px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) 14px calc(18px + env(safe-area-inset-left));
  border-bottom: 1px solid rgba(29, 74, 148, 0.14);
  backdrop-filter: blur(14px) saturate(125%);
  background: rgba(247, 251, 255, 0.74);
}

.brand-wrap {
  min-width: 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(30, 102, 245, 0.34);
  background: rgba(30, 102, 245, 0.12);
  color: #1547ba;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-title {
  margin-top: 9px;
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f2d5b;
}

.brand-sub {
  margin: 6px 0 0;
  max-width: 700px;
  color: var(--landing-sub);
  font-size: 14px;
}

.top-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 67, 140, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: #163a70;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(20, 56, 120, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.action-btn.primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--landing-primary), var(--landing-primary-strong));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(30, 102, 245, 0.3);
}

.action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 67, 140, 0.35);
}

.action-btn:focus-visible {
  outline: 3px solid rgba(30, 102, 245, 0.35);
  outline-offset: 2px;
}

.landing-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px calc(42px + env(safe-area-inset-bottom));
  display: grid;
  gap: 16px;
}

.surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 24px;
  padding: clamp(18px, 2.7vw, 30px);
  background: var(--landing-glass);
  box-shadow: var(--landing-shadow);
}

.surface::after {
  content: "";
  position: absolute;
  right: -96px;
  bottom: -140px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 102, 245, 0.2) 0%, rgba(30, 102, 245, 0) 72%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.hero::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -80px;
  width: 360px;
  height: 260px;
  border-radius: 60% 40% 70% 30%;
  background: radial-gradient(circle, rgba(10, 165, 127, 0.22) 0%, rgba(10, 165, 127, 0) 72%);
  pointer-events: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 2px 0 10px;
  color: #0f56b8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.13;
  letter-spacing: -0.03em;
  color: #0f2b54 !important;
}

.hero-desc {
  margin: 14px 0 0;
  max-width: 650px;
  color: #2c4b74;
  font-size: clamp(15px, 1.8vw, 18px);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-panel {
  display: grid;
  gap: 10px;
}

.hero-stat {
  border: 1px solid rgba(28, 74, 148, 0.17);
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--landing-card);
  box-shadow: 0 10px 24px rgba(18, 52, 112, 0.12);
}

.hero-stat h3 {
  margin: 0;
  color: #113869 !important;
  font-size: 15px;
}

.hero-stat p {
  margin: 6px 0 0;
  color: #345780;
  font-size: 13px;
}

.section-head {
  position: relative;
  z-index: 1;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.18;
  color: #0f2b54 !important;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--landing-sub);
  font-size: 15px;
}

.split-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(28, 74, 148, 0.16);
  border-radius: 18px;
  padding: 16px;
  background: var(--landing-card);
}

.info-card h3 {
  margin: 0;
  color: #113869 !important;
  font-size: 16px;
}

.bullet-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: #27476f;
  font-size: 14px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--landing-primary), var(--landing-accent));
}

.contact-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(30, 102, 245, 0.2);
  background: rgba(233, 242, 255, 0.55);
}

.contact-list li span {
  color: #214267;
  font-weight: 700;
  font-size: 14px;
}

.contact-list li strong {
  color: #0e2f5e;
  font-size: 13px;
  text-align: right;
}

.inline-note {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 4px solid var(--landing-primary);
  border-radius: 12px;
  background: rgba(224, 236, 255, 0.62);
  color: #29486f;
  font-size: 13px;
}

.feed-surface {
  padding-top: 22px;
}

.feed-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.feed-head h2 {
  margin: 0;
  font-size: 24px;
  color: #0f2b54 !important;
}

.feed-msg {
  min-height: 18px;
  margin: 0 0 10px;
  color: #1e66f5;
  font-size: 12px;
}

.feed-msg.err {
  color: #c23a55;
}

.feed-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.feed-empty {
  padding: 10px 2px;
  color: var(--landing-sub);
  font-size: 13px;
}

.feed-card {
  border: 1px solid rgba(28, 74, 148, 0.16);
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: var(--landing-card);
  box-shadow: 0 8px 18px rgba(18, 52, 112, 0.1);
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: #54739b;
  font-size: 12px;
}

.pin-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(30, 102, 245, 0.38);
  background: rgba(30, 102, 245, 0.14);
  color: #1247a5;
  font-size: 11px;
  font-weight: 900;
}

.feed-title {
  margin: 8px 0 6px;
  color: #102f5f !important;
  font-size: 17px;
  line-height: 1.3;
}

.feed-body {
  margin: 0;
  white-space: pre-wrap;
  color: #24476f;
  font-size: 14px;
  line-height: 1.6;
}

.faq-entry {
  border: 1px solid rgba(28, 74, 148, 0.16);
  border-radius: 16px;
  background: var(--landing-card);
}

.faq-entry summary {
  cursor: pointer;
  list-style: none;
  padding: 14px;
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.faq-question {
  color: #143663;
  font-size: 15px;
  font-weight: 800;
}

.faq-toggle {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #476894;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(35, 90, 177, 0.24);
  background: rgba(235, 243, 255, 0.75);
}

.faq-entry[open] .faq-toggle {
  color: #0f4dc5;
  border-color: rgba(30, 102, 245, 0.4);
  background: rgba(30, 102, 245, 0.13);
}

.faq-answer {
  margin: 0;
  padding: 0 14px 14px;
  white-space: pre-wrap;
  color: #26466f;
  font-size: 14px;
  line-height: 1.6;
}

.landing-foot {
  margin-top: 10px;
  border-top: 1px solid rgba(29, 74, 148, 0.14);
  background: rgba(248, 252, 255, 0.8);
}

.foot-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.foot-text {
  margin: 0;
  color: var(--landing-sub);
  font-size: 13px;
}

.foot-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@supports not ((backdrop-filter: blur(2px))) {
  .landing-top {
    background: rgba(247, 251, 255, 0.95);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .surface {
    animation: rise-in 0.7s ease both;
  }

  .surface:nth-of-type(2) {
    animation-delay: 0.08s;
  }

  .surface:nth-of-type(3) {
    animation-delay: 0.16s;
  }

  .surface:nth-of-type(4) {
    animation-delay: 0.24s;
  }

  .surface:nth-of-type(5) {
    animation-delay: 0.3s;
  }

  .hero-stat {
    animation: rise-in 0.6s ease both;
  }

  .hero-stat:nth-child(2) {
    animation-delay: 0.1s;
  }

  .hero-stat:nth-child(3) {
    animation-delay: 0.2s;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-title {
    max-width: 880px;
  }
}

@media (max-width: 760px) {
  body.public-landing::before {
    background-size: 32px 32px;
  }

  .landing-top {
    position: static;
    padding: calc(14px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 12px calc(14px + env(safe-area-inset-left));
  }

  .brand-title {
    font-size: 30px;
  }

  .brand-sub {
    font-size: 13px;
  }

  .landing-main {
    padding: 14px 12px calc(36px + env(safe-area-inset-bottom));
    gap: 12px;
  }

  .surface {
    border-radius: 18px;
    padding: 16px;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 38px);
  }

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

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-list li strong {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .top-actions .action-btn,
  .hero-actions .action-btn,
  .foot-actions .action-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .feed-head h2 {
    font-size: 22px;
  }
}

