:root {
  --ink: #243128;
  --muted: #667168;
  --forest: #34483a;
  --forest-soft: #e8eee8;
  --cream: #f5f2e9;
  --paper: #fffdf8;
  --line: #ded9cd;
  --gold: #a27f3e;
  --gold-soft: #f5ead1;
  --purple: #814485;
  --purple-soft: #f0e6f2;
  --danger: #9f3f45;
  --shadow: 0 22px 54px rgba(45, 57, 48, 0.1);
  --radius: 28px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(129, 68, 133, 0.1), transparent 28rem),
    var(--cream);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--forest);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(222, 217, 205, 0.88);
  background: rgba(245, 242, 233, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(87, 56, 98, 0.2);
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 11px;
  color: #4c5a50;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--forest);
  background: var(--forest-soft);
  outline: none;
}

.hero {
  padding: 78px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.legal-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--purple);
  font-style: normal;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: #566159;
  font-size: clamp(17px, 2vw, 20px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 24px rgba(52, 72, 58, 0.19);
}

.button-secondary {
  border-color: #cfc8ba;
  background: rgba(255, 253, 248, 0.7);
}

.button-muted {
  color: #6e6960;
  background: #e8e3d8;
  cursor: default;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #59655c;
  font-size: 14px;
  font-weight: 720;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--purple);
  font-weight: 950;
}

.phone-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(129, 68, 133, 0.2), rgba(162, 127, 62, 0.12));
}

.phone {
  position: relative;
  z-index: 1;
  width: min(330px, 78vw);
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 44px;
  background: #222a25;
  box-shadow: 0 34px 70px rgba(32, 43, 35, 0.28);
  transform: rotate(2deg);
}

.phone img {
  width: 100%;
  border-radius: 34px;
}

.phone-badge {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 68px;
  width: 184px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.93);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 850;
}

.phone-badge span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.section {
  padding: 84px 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section h2,
.cta-card h2,
.legal-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(31px, 4.6vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.section-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.contact-card,
.legal-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(55, 66, 57, 0.045);
}

.feature-card {
  min-height: 228px;
  padding: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--forest);
  background: var(--forest-soft);
  font-size: 22px;
  font-weight: 900;
}

.feature-card:nth-child(2n) .feature-icon {
  color: var(--purple);
  background: var(--purple-soft);
}

.feature-card h3 {
  margin: 18px 0 7px;
  font-size: 20px;
}

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

.privacy-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 38px;
  border-radius: 30px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(52, 72, 58, 0.98), rgba(53, 57, 76, 0.98)),
    var(--forest);
  box-shadow: var(--shadow);
}

.privacy-panel h2 {
  margin-top: 8px;
}

.privacy-panel p {
  color: #dce4de;
}

.privacy-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.privacy-item {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 750;
}

.official-card,
.cta-card {
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.official-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border: 1px solid var(--line);
}

.official-card h3,
.official-card p {
  margin: 0;
}

.official-card p {
  margin-top: 7px;
  color: var(--muted);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid var(--line);
}

.cta-card::after {
  content: "HS";
  position: absolute;
  right: 24px;
  bottom: -68px;
  color: rgba(129, 68, 133, 0.08);
  font-size: 220px;
  font-weight: 950;
  line-height: 1;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
}

.footer-meta strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 13px;
  font-weight: 750;
}

.legal-hero {
  padding: 64px 0 36px;
}

.legal-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-meta {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #6b552d;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  padding-bottom: 84px;
}

.legal-toc {
  position: sticky;
  top: 102px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.78);
}

.legal-toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-section {
  padding: 26px;
  scroll-margin-top: 104px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 18px 0 6px;
  color: var(--forest);
  font-size: 16px;
}

.legal-section p,
.legal-section ul {
  margin: 0;
  color: #566159;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 10px;
}

.legal-section ul {
  padding-left: 20px;
}

.data-box,
.notice-box {
  margin-top: 12px;
  padding: 15px 17px;
  border-radius: 14px;
}

.data-box {
  border: 1px solid #d9ded8;
  background: #f6f9f6;
}

.notice-box {
  border: 1px solid #e4d4b6;
  background: #fff7e7;
}

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

.contact-card {
  padding: 26px;
}

.contact-card small {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.13em;
}

.contact-card h2 {
  margin: 8px 0 6px;
  font-size: 24px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
  color: #566159;
}

.steps li::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--forest);
  font-weight: 900;
}

.danger-panel {
  padding: 26px;
  border: 1px solid #e8c9c9;
  border-radius: 22px;
  background: #fff7f6;
}

.danger-panel h2 {
  color: var(--danger);
}

@media (max-width: 860px) {
  .hero-grid,
  .privacy-panel,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .phone-stage {
    min-height: 580px;
  }

  .legal-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand span,
  .nav a:not(:last-child) {
    display: none;
  }

  .nav a {
    padding-inline: 10px;
  }

  .hero {
    padding: 52px 0 58px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone-badge {
    right: 6px;
    bottom: 34px;
  }

  .section {
    padding: 64px 0;
  }

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

  .feature-card {
    min-height: auto;
  }

  .privacy-panel,
  .cta-card {
    padding: 28px 22px;
  }

  .official-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .official-card {
    padding: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 46px;
  }

  .legal-section {
    padding: 21px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
