@charset "UTF-8";

:root {
  --paper: #faf8f5;
  --card: #ffffff;
  --ink: #1f1e1c;
  --muted: #6b6862;
  --thread: #1e6b54;
  --thread-hover: #16523f;
  --gold: #c98a2d;
  --line: #ded9d2;
  --line-soft: #ebe7e1;
  --shadow: 0 18px 52px rgba(54, 47, 38, 0.07);
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: var(--card);
  background: var(--thread);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(107, 104, 98, 0.16);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 9px 17px;
  font-size: 0.86rem;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.button-quiet:hover {
  color: var(--thread);
  border-color: var(--thread);
  background: var(--card);
}

.button-primary {
  min-height: 54px;
  padding-inline: 25px;
  color: var(--card);
  background: var(--thread);
  box-shadow: 0 10px 24px rgba(30, 107, 84, 0.18);
}

.button-primary:hover {
  background: var(--thread-hover);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(42px, 7vw, 108px);
  padding-block: 54px 66px;
}

.thread-motif {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.thread-motif::before {
  position: absolute;
  width: 276px;
  height: 276px;
  border: 1px solid rgba(201, 138, 45, 0.2);
  border-radius: 50%;
  content: "";
}

.thread-art {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  height: auto;
  color: var(--thread);
}

.thread-line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  animation: draw-thread 1.05s ease-out both;
}

.thread-line-long {
  stroke-dasharray: 1340;
  stroke-dashoffset: 1340;
}

.thread-line-short {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation-delay: 430ms;
}

.thread-end {
  fill: var(--gold);
  opacity: 0;
  animation: thread-end 280ms ease-out 950ms both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  color: var(--thread);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.beta-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.beta-note > span {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 138, 45, 0.12);
}

.features {
  padding-block: clamp(72px, 9vw, 112px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--thread);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 278px;
  padding: clamp(28px, 3vw, 38px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.feature-number {
  margin-bottom: 44px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-card h3 {
  margin-bottom: 13px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.trust-strip {
  color: var(--card);
  background: var(--thread-hover);
}

.trust-list {
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.trust-list p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0;
  padding-inline: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.trust-list p + p {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-list span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-inner p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--thread);
}

.legal-main {
  padding-block: 38px 96px;
}

.legal-shell {
  max-width: 920px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb a:hover {
  color: var(--thread);
}

.legal-card {
  padding: clamp(34px, 7vw, 72px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.legal-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 5vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.legal-version {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.draft-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-block: 30px 10px;
  padding: 18px 20px;
  background: rgba(201, 138, 45, 0.09);
  border: 1px solid rgba(201, 138, 45, 0.26);
  border-radius: 12px;
  color: #5d461f;
}

.draft-notice strong {
  color: #6d4b16;
}

.draft-notice p {
  margin: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 26px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-meta p {
  margin: 0;
}

.legal-meta strong {
  margin-right: 7px;
  color: var(--ink);
}

.legal-card section + section {
  margin-top: 46px;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.legal-card section p,
.legal-card li {
  color: #45423e;
}

.legal-card section p:last-child,
.legal-card li:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-card li + li {
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
  margin-block: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #f5f2ed;
  font-weight: 700;
}

td {
  color: #45423e;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.legal-links {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-links a:hover {
  color: var(--thread);
}

@keyframes draw-thread {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes thread-end {
  to {
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2px;
    padding-block: 34px 58px;
  }

  .thread-motif {
    justify-content: start;
    height: 166px;
  }

  .thread-motif::before {
    width: 148px;
    height: 148px;
  }

  .thread-art {
    width: 178px;
    transform: translate(-8px, -6px);
  }

  .hero h1 {
    max-width: 690px;
    font-size: clamp(2.4rem, 8.6vw, 4rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 28px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 68px;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero-grid {
    padding-block: 24px 48px;
  }

  .thread-motif {
    height: 140px;
  }

  .thread-motif::before {
    width: 128px;
    height: 128px;
  }

  .thread-art {
    width: 154px;
  }

  .eyebrow {
    margin-bottom: 17px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.24rem, 10.8vw, 3.15rem);
  }

  .hero h1 br {
    display: none;
  }

  .hero-description {
    margin-bottom: 27px;
    font-size: 1rem;
  }

  .hero-description br {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .button-primary {
    width: 100%;
  }

  .features {
    padding-block: 68px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-card {
    padding: 28px;
  }

  .trust-list {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }

  .trust-list p {
    min-height: 52px;
    justify-content: flex-start;
    padding-inline: 10px;
    text-align: left;
  }

  .trust-list p + p {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }

  .legal-main {
    padding-block: 24px 68px;
  }

  .legal-card {
    padding: 30px 22px 38px;
    border-radius: 16px;
  }

  .legal-header {
    padding-bottom: 28px;
  }

  .draft-notice {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .legal-meta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .legal-card section + section {
    margin-top: 38px;
  }

  .legal-links {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .thread-line {
    stroke-dashoffset: 0;
  }

  .thread-end {
    opacity: 1;
  }
}
