:root {
  --ink: #14181d;
  --soft: #5a6570;
  --line: #e2e6ea;
  --sand: #eef1f4;
  --paper: #f4f6f8;
  --navy: #162433;
  --copper: #b87333;
  --copper-deep: #8f5a28;
  --white: #fff;
  --wrap: 1080px;
  --bar: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.skip {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem .75rem; z-index: 99;
}
.skip:focus { left: .5rem; top: .5rem; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar);
  background: rgba(244, 246, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.topbar-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  text-decoration: none;
  font-family: Syne, "Noto Sans KR", sans-serif;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em;
  color: var(--navy);
}
.menu-btn {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: .35rem .8rem; font: inherit; font-weight: 600;
}
.menu { display: flex; align-items: center; gap: .2rem 1rem; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--soft); font-size: .9rem; font-weight: 500; }
.menu a:hover { color: var(--navy); }
.menu-accent {
  background: var(--navy); color: #fff !important;
  padding: .4rem .85rem; border-radius: 999px; font-weight: 700 !important;
}
.menu-call {
  border: 1px solid rgba(184, 115, 51, .45); color: var(--copper-deep) !important;
  padding: .35rem .8rem; border-radius: 999px; font-weight: 700 !important;
}

.hero {
  position: relative; min-height: min(88vh, 720px);
  display: grid; align-items: center; overflow: hidden; color: #f6f3ec;
}
.hero-plane {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(184, 115, 51, 0.28), transparent 55%),
    linear-gradient(145deg, #101820 0%, #1a2a3a 45%, #24384c 100%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-plane::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.55) 0%, transparent 55%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.02) 22px 23px
    );
}
.hero-body {
  position: relative; z-index: 1;
  padding: 5.5rem 0 3.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  animation: up .8s ease both;
}
.hero-copy { min-width: 0; }
.hero-brand {
  margin: 0 0 .7rem;
  font-family: Syne, "Noto Sans KR", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.04em;
}
.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.35rem, 3.1vw, 2.05rem);
  line-height: 1.4; font-weight: 700; max-width: 18em;
}
.hero h1 .h1-sub {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78em;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(246, 243, 236, 0.9);
}
.hero-points {
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
  max-width: 36rem;
  display: grid;
  gap: 0.45rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.92rem;
  line-height: 1.5;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--copper);
}
.hero-points em {
  font-style: normal;
  color: #e2b887;
  font-size: 0.95em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }

/* 대문 우측 비주얼 — 경계선 없이 배경에 녹임 */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: min(100%, 34rem);
  min-height: min(52vh, 420px);
  justify-self: end;
  aspect-ratio: 3 / 4;
  max-height: min(68vh, 560px);
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 45%, #000 62%, rgba(0,0,0,.9) 78%, transparent 96%);
  mask-image: radial-gradient(ellipse 92% 88% at 50% 45%, #000 62%, rgba(0,0,0,.9) 78%, transparent 96%);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  filter: blur(1.2px) saturate(0.92);
  transform: scale(1.02);
  transition:
    opacity 1.15s ease,
    filter 1.15s ease,
    transform 1.15s ease,
    visibility 0s linear 1.15s;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  filter: blur(0) saturate(1);
  transform: scale(1);
  z-index: 1;
  transition:
    opacity 1.15s ease,
    filter 1.15s ease,
    transform 1.15s ease,
    visibility 0s;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  box-shadow: none;
}

/* 양식 겹침 (실제 V 체크 · 사각 기표칸) */
.paper-stack {
  position: relative;
  width: min(92%, 22rem);
  height: min(88%, 28rem);
}
.paper {
  position: absolute;
  width: 78%;
  background:
    linear-gradient(180deg, #f7f4ee 0%, #efe8dc 100%);
  color: #1a2430;
  padding: 1rem 1rem 1.1rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
  border: 0;
}
.paper h3 {
  margin: 0 0 .75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #122033;
  border-bottom: 2px solid rgba(184, 115, 51, 0.55);
  padding-bottom: .35rem;
}
.paper-rows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
}
.paper .cell {
  aspect-ratio: 1;
  border: 1.5px solid #4a5563;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  color: transparent;
  border-radius: 2px;
}
.paper .cell.checked {
  color: #1d4f9c;
  font-family: "Noto Sans KR", sans-serif;
}
.paper.p-survey { left: 4%; top: 18%; transform: rotate(-7deg); z-index: 1; }
.paper.p-ballot { left: 14%; top: 10%; transform: rotate(3deg); z-index: 2; }
.paper.p-written { left: 22%; top: 2%; transform: rotate(-1.5deg); z-index: 3; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 1px solid transparent;
  border-radius: 999px; padding: .85rem 1.2rem;
  font-weight: 700; font-size: .95rem;
}
.btn.solid { background: var(--copper); color: #111; }
.btn.solid:hover { background: #c9843d; }
.btn.line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn.line:hover { background: rgba(255,255,255,.08); }
.btn.full { width: 100%; }

.strip {
  background: var(--navy); color: rgba(246, 243, 236, 0.88);
  border-bottom: 3px solid var(--copper);
}
.strip-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .75rem; padding: 1rem 0; font-size: .92rem; font-weight: 600;
}

.block { padding: 4.2rem 0; }
.block.muted { background: var(--sand); }
.block-head { max-width: 34rem; margin-bottom: 1.8rem; }
.kicker {
  margin: 0 0 .45rem;
  font-family: Syne, sans-serif;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper-deep); font-weight: 700;
}
.kicker.on-dark { color: #e2b887; }
.block-head h2, .quote-intro h2, .online-panel h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.3; color: var(--navy);
}
.block-head p, .quote-intro > p { margin: 0; color: var(--soft); }

.paths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.path {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 100%;
}
.path-visual {
  position: relative; min-height: 180px;
  display: grid; align-content: end; padding: 1rem;
  color: #fff;
}
.v-field { background: linear-gradient(160deg, #2a3d52, #172533); }
.v-app { background: linear-gradient(160deg, #3a4f3d, #1d2a22); }
.v-online { background: linear-gradient(160deg, #4a3a2e, #2a211c); }
.path-visual.has-image {
  background-size: cover; background-position: center;
}
.path-visual.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 18, 0.72));
}
.path-no, .path-visual-label { position: relative; z-index: 1; margin: 0; }
.path-no {
  font-family: Syne, sans-serif; font-size: 2rem; font-weight: 800; line-height: 1;
  opacity: .9;
}
.path-visual-label { margin-top: .35rem; font-size: .85rem; opacity: .85; }
.path h3 { margin: 1rem 1rem .4rem; font-size: 1.08rem; color: var(--navy); }
.path > p { margin: 0 1rem 1rem; color: var(--soft); font-size: .92rem; flex: 1; }
.path > a {
  margin: 0 1rem 1.1rem; color: var(--copper-deep);
  font-weight: 700; text-decoration: none; font-size: .92rem;
}

.edge-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start;
}
.edge-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .85rem;
}
.edge-list li {
  display: grid; gap: .2rem;
  padding-left: .9rem; border-left: 3px solid var(--copper);
}
.edge-list strong { color: var(--navy); font-size: 1rem; }
.edge-list span { color: var(--soft); font-size: .92rem; }

.online-panel {
  display: grid; gap: 1.2rem;
  padding: 1.6rem; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
}
.online-two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.online-two > div {
  padding: 1rem 1.05rem;
  background: var(--sand); border-radius: 12px;
}
.online-two h3 { margin: 0 0 .35rem; font-size: 1rem; color: var(--navy); }
.online-two p { margin: 0; color: var(--soft); font-size: .9rem; }

.proof {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.proof figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.proof img {
  width: 100%; height: 210px; object-fit: cover; object-position: top center;
  background: #e8e4dc;
}
.proof figcaption {
  padding: .7rem .8rem; font-size: .85rem; font-weight: 700; color: var(--navy);
}

.quote-block {
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(184, 115, 51, 0.18), transparent 60%),
    linear-gradient(160deg, #121a22, #1c2b3a);
  color: #f6f3ec;
}
.quote-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: start;
}
.quote-intro h2 { color: #fff; }
.quote-intro > p { color: rgba(246, 243, 236, 0.8); }
.phone-pill {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem;
  text-decoration: none; font-weight: 800; font-size: 1.15rem;
  color: #111; background: var(--copper);
  padding: .7rem 1.05rem; border-radius: 999px;
}
.phone-ico { font-size: 1.05rem; line-height: 1; }
.quote-hints {
  margin: 1.1rem 0; padding-left: 1.1rem; color: rgba(246, 243, 236, 0.78); font-size: .9rem;
}
.text-link {
  color: #e2b887; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(226, 184, 135, .45);
}

.quote-form {
  background: #fff; color: var(--ink);
  border-radius: 18px; padding: 1.25rem 1.15rem 1.35rem;
  display: grid; gap: .75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.quote-form label { display: grid; gap: .3rem; font-size: .86rem; color: var(--soft); }
.quote-form span { font-weight: 600; color: var(--navy); }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: .7rem .8rem; font: inherit; color: var(--ink); background: #fff;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(184, 115, 51, .35); border-color: var(--copper);
}
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.check {
  display: grid !important; grid-template-columns: auto 1fr; gap: .55rem; align-items: start;
  font-size: .82rem !important;
}
.check input { width: auto; margin-top: .2rem; }
.form-note { margin: 0; text-align: center; color: var(--soft); font-size: .78rem; }
.form-status {
  margin: 0; padding: .7rem .85rem; border-radius: 10px; font-size: .86rem; line-height: 1.45; font-weight: 600;
}
.form-status.pending { background: #f3f0ea; color: var(--navy); }
.form-status.ok { background: #e8f5ea; color: #1b5e20; }
.form-status.err { background: #fdecea; color: #8a1c1c; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.foot {
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 1.4rem 0 5rem; color: var(--soft); font-size: .86rem;
}
.foot-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.foot strong { color: var(--navy); }
.foot p { margin: .2rem 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; }
.foot-links a { text-decoration: none; font-weight: 600; color: var(--navy); }

.site-foot {
  background: linear-gradient(180deg, #121a22 0%, #0e151c 100%);
  color: rgba(246, 243, 236, 0.88);
  padding: 0 0 4.8rem;
}
.site-foot-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  padding: 2.4rem 0 2rem;
}
.foot-about h2,
.foot-contact h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: #fff;
}
.foot-about p {
  margin: 0;
  max-width: 38rem;
  line-height: 1.75;
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.95rem;
}
.foot-contact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 184, 135, 0.28);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.1rem;
}
.foot-contact dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.foot-contact dl > div {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.6rem;
  align-items: start;
}
.foot-contact dt {
  margin: 0;
  color: rgba(246, 243, 236, 0.5);
  font-size: 0.84rem;
}
.foot-contact dd {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.foot-contact a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 184, 135, 0.4);
}
.foot-keywords {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 243, 236, 0.55);
  font-size: 0.78rem;
  line-height: 1.55;
}
.site-foot-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}
.site-foot-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.95rem 0;
  font-size: 0.78rem;
  color: rgba(246, 243, 236, 0.55);
}
.site-foot-bar-inner > p { margin: 0; }
.foot-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}
.foot-bar-right > p { margin: 0; }
.dot { opacity: 0.5; }
.linkish {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--copper-deep);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.linkish.light { color: #e2b887; }

.privacy-dialog {
  border: 0;
  padding: 0;
  max-width: min(720px, calc(100vw - 1.5rem));
  max-height: min(86vh, 900px);
  border-radius: 16px;
  background: transparent;
}
.privacy-dialog::backdrop {
  background: rgba(10, 14, 18, 0.62);
}
.privacy-sheet {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(86vh, 900px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.privacy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #f7f9fb;
}
.privacy-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.privacy-close {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}
.privacy-body {
  padding: 1.1rem 1.2rem 1.4rem;
  overflow: auto;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--soft);
}
.privacy-body h3 {
  margin: 1.15rem 0 0.4rem;
  font-size: 0.98rem;
  color: var(--navy);
}
.privacy-body p { margin: 0.35rem 0; }
.privacy-body ul {
  margin: 0.35rem 0 0.55rem;
  padding-left: 1.15rem;
}
.privacy-body li { margin: 0.2rem 0; }

.fab-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  filter: drop-shadow(0 10px 22px rgba(20, 24, 29, 0.28));
}
.fab-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #f5c518;
  color: #111;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(20, 24, 29, 0.18);
}
.fab-icon {
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5c518;
  color: #111;
  box-shadow: 0 8px 20px rgba(20, 24, 29, 0.22);
  transition: transform 0.18s ease;
}
.fab-call:hover .fab-icon {
  transform: translateY(-2px) scale(1.03);
}
.fab-icon svg {
  display: block;
  transform: rotate(-18deg);
}

@keyframes up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.07) translate(-1%, -1%); }
}

@media (max-width: 920px) {
  .paths, .proof { grid-template-columns: 1fr 1fr; }
  .edge-grid, .quote-layout, .online-two, .strip-row, .site-foot-main { grid-template-columns: 1fr; }
  .strip-row { gap: .45rem; }
}

@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--bar);
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .8rem 1rem 1rem; flex-direction: column; align-items: stretch;
  }
  .menu.open { display: flex; }
  .menu a { padding: .55rem .2rem; }
  .menu-accent, .menu-call { text-align: center; }
  .paths, .proof, .form-2 { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-body {
    padding: 4.6rem 0 2.5rem;
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-height: 280px;
    max-width: 20rem;
    justify-self: center;
    margin-bottom: .4rem;
  }
  .site-foot-bar-inner { flex-direction: column; align-items: flex-start; }
  .fab-call { right: 0.85rem; bottom: 0.85rem; }
  .fab-icon { width: 3.35rem; height: 3.35rem; }
}
