@font-face {
  font-family: "Paperlogy";
  src: url("/fonts/paperlogy-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/fonts/paperlogy-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/fonts/paperlogy-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/fonts/paperlogy-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --coral: #f48778;
  --coral-strong: #b94a3d;
  --coral-soft: #fde8e4;
  --coral-faint: #fff4f1;
  --purple: #6756c7;
  --purple-soft: #f3f0ff;
  --ink: #302d3d;
  --muted: #5f5b69;
  --subtle: #706c7c;
  --line: #e9e6ed;
  --surface: #ffffff;
  --surface-soft: #f8f7fa;
  --success: #287d68;
  --shadow: 0 24px 70px rgba(48, 45, 61, 0.1);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: "Paperlogy", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  touch-action: manipulation;
}

img,
svg {
  display: block;
}

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

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

:focus-visible {
  outline: 3px solid rgba(120, 104, 217, 0.55);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(233, 230, 237, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
}

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

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-cta {
  color: #fff;
  background: var(--coral-strong);
}

.nav-cta:hover {
  color: #fff;
  background: var(--coral-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 104px;
  background:
    radial-gradient(circle at 15% 12%, rgba(244, 135, 120, 0.2), transparent 31%),
    radial-gradient(circle at 83% 68%, rgba(120, 104, 217, 0.14), transparent 30%),
    linear-gradient(180deg, #fffaf9 0%, #fff 70%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -180px;
  top: 30px;
  border: 1px solid rgba(244, 135, 120, 0.2);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--coral-strong);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.13;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 strong {
  color: var(--coral-strong);
  font-weight: 700;
}

.hero-copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--coral-strong);
  box-shadow: 0 12px 28px rgba(244, 135, 120, 0.26);
}

.button-primary:hover {
  background: var(--coral-strong);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  border-color: #cbc6d2;
  background: #fff;
}

.button svg,
.inline-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.hero-note {
  margin-top: 18px;
  color: var(--subtle);
  font-size: 13px;
}

.phone-shell {
  position: relative;
  width: min(100%, 350px);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(48, 45, 61, 0.1);
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 560px;
  overflow: hidden;
  padding: 28px 20px 24px;
  border-radius: 24px;
  background: #fff;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.phone-title {
  font-size: 22px;
  font-weight: 700;
}

.phone-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--coral-strong);
  border-radius: 12px;
  background: var(--coral-faint);
  font-size: 14px;
  font-weight: 700;
}

.journey-card {
  padding: 20px;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f48778 0%, #e97788 55%, #8a74dd 140%);
  box-shadow: 0 18px 38px rgba(244, 135, 120, 0.22);
}

.journey-label {
  margin: 0;
  font-size: 12px;
  opacity: 0.86;
}

.journey-title {
  margin: 6px 0 18px;
  font-size: 20px;
  font-weight: 700;
}

.journey-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
}

.journey-progress span {
  display: block;
  width: 64%;
  height: 100%;
  background: #fff;
}

.schedule-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-date {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.schedule-date strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
}

.schedule-copy strong {
  display: block;
  font-size: 14px;
}

.schedule-copy span,
.schedule-time {
  color: var(--subtle);
  font-size: 11px;
}

.phone-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: 22px;
  padding-top: 18px;
  color: var(--subtle);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.phone-tabs strong {
  color: var(--coral-strong);
}

.section {
  padding: 108px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 54px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
}

.section h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

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

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

.feature-card {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  background: var(--coral-faint);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--purple);
  border-radius: 14px;
  background: var(--purple-soft);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 72px;
}

.trust-copy {
  position: sticky;
  top: 118px;
}

.trust-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.trust-number {
  color: var(--coral-strong);
  font-size: 15px;
  font-weight: 700;
}

.trust-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  padding: 32px 0 108px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 58px;
  color: #fff;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.cta-panel p {
  max-width: 630px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-panel .button-primary {
  flex: 0 0 auto;
}

.site-footer {
  padding: 42px 0 48px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-copy {
  margin-top: 14px;
  color: var(--subtle);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal-hero {
  padding: 74px 0 54px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--coral-faint), #fff);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

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

.legal-main {
  padding: 64px 0 104px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  gap: 64px;
}

.legal-aside {
  position: sticky;
  top: 112px;
  align-self: start;
}

.legal-aside a {
  display: flex;
  min-height: 42px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.legal-aside a:hover {
  color: var(--coral-strong);
}

.legal-content {
  min-width: 0;
}

.legal-section {
  padding: 0 0 42px;
}

.legal-section + .legal-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 26px 0 10px;
  font-size: 17px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-note {
  padding: 20px 22px;
  border-left: 3px solid var(--coral);
  background: var(--coral-faint);
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.contact-email {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--coral-strong);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: var(--coral);
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--coral-strong);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 0 22px;
  color: var(--muted);
}

.inline-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--coral-strong);
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-link:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 72px 0 86px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy-block {
    text-align: center;
  }

  .hero h1,
  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow,
  .hero-actions {
    justify-content: center;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .trust-copy,
  .legal-aside {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    font-size: 19px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 12px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .phone-shell {
    width: 320px;
    max-width: 100%;
  }

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

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

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

  .feature-icon {
    margin-bottom: 22px;
  }

  .cta-section {
    padding: 18px 0 78px;
  }

  .cta-panel {
    padding: 34px 24px;
    border-radius: 18px;
  }

  .footer-grid {
    flex-direction: column;
  }

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

  .legal-hero {
    padding: 52px 0 40px;
  }

  .legal-main {
    padding: 48px 0 78px;
  }

  .legal-aside {
    display: none;
  }

  .contact-card {
    padding: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
