@font-face {
  font-family: "TripPretendard";
  src: url("/assets/Pretendard-Regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "TripPretendard";
  src: url("/assets/Pretendard-SemiBold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 600 800;
}

:root {
  --ink: #102a43;
  --ink-deep: #061b2d;
  --ink-soft: #2d607e;
  --paper: #f6fafd;
  --paper-warm: #eaf5fc;
  --paper-deep: #d7eaf5;
  --blue: #1f8fdb;
  --blue-deep: #0b6faf;
  --blue-pressed: #075a8d;
  --sun: #f4b740;
  --teal: #2fa6b6;
  --line: rgba(16, 42, 67, 0.12);
  --muted: #526d7e;
  --white: #fbfdff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(189, 233, 241, 0.9) 0 10rem, transparent 30rem),
    radial-gradient(circle at 3% 31%, rgba(244, 183, 64, 0.14) 0 8rem, transparent 25rem),
    var(--paper);
  font-family: "TripPretendard", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 5px;
}

.site-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 114px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 19px;
  box-shadow: 0 12px 25px rgba(31, 143, 219, 0.16);
}

.language-link,
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.language-link {
  color: var(--ink-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
  align-items: center;
  min-height: 630px;
  gap: clamp(42px, 8vw, 122px);
  padding: 62px 0 86px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(244, 183, 64, 0.17);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.route-card strong,
.route-stamp strong {
  letter-spacing: -0.06em;
}

h1 {
  max-width: 620px;
  margin-bottom: 27px;
  font-size: clamp(3rem, 5.65vw, 5.35rem);
  font-weight: 800;
  line-height: 1.04;
}

.lede {
  max-width: 530px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  letter-spacing: -0.035em;
  line-height: 1.82;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.support-link {
  padding-bottom: 5px;
  color: var(--blue-deep);
}

.support-link span,
.language-link span {
  transition: transform 180ms ease;
}

.support-link:hover span,
.language-link:hover span {
  transform: translate(3px, -2px);
}

.route-stage {
  position: relative;
  min-height: 505px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 67, 0.1);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 245, 252, 0.85)),
    var(--paper-warm);
  box-shadow: 0 28px 70px rgba(16, 42, 67, 0.12);
  isolation: isolate;
}

.route-stage::before,
.route-stage::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(31, 143, 219, 0.13);
  border-radius: 50%;
  content: "";
}

.route-stage::before {
  width: 560px;
  height: 560px;
  top: -260px;
  right: -190px;
}

.route-stage::after {
  width: 400px;
  height: 400px;
  bottom: -250px;
  left: -220px;
}

.route-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-line path {
  stroke: var(--blue);
  stroke-width: 3;
  stroke-dasharray: 8 10;
  stroke-linecap: round;
}

.route-line circle:first-of-type {
  fill: var(--sun);
}

.route-line circle:last-of-type {
  fill: var(--teal);
}

.route-card {
  position: absolute;
  display: grid;
  gap: 7px;
  width: min(67%, 275px);
  padding: 24px 25px;
  border: 1px solid rgba(16, 42, 67, 0.09);
  border-radius: 20px;
  background: rgba(251, 253, 255, 0.92);
  box-shadow: 0 18px 36px rgba(16, 42, 67, 0.1);
  backdrop-filter: blur(9px);
}

.route-card--top {
  top: 88px;
  left: 11%;
}

.route-card--bottom {
  right: 8%;
  bottom: 75px;
}

.card-kicker {
  color: var(--blue-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.route-card strong {
  font-size: 1.16rem;
  line-height: 1.25;
}

.route-card span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: -0.025em;
}

.route-orb {
  position: absolute;
  border-radius: 50%;
}

.route-orb--one {
  top: 105px;
  right: 11%;
  width: 42px;
  height: 42px;
  background: var(--sun);
  box-shadow: 0 0 0 11px rgba(244, 183, 64, 0.16);
}

.route-orb--two {
  bottom: 70px;
  left: 13%;
  width: 22px;
  height: 22px;
  background: var(--teal);
  box-shadow: 0 0 0 9px rgba(47, 166, 182, 0.14);
}

.route-stamp {
  position: absolute;
  top: 45%;
  left: 46%;
  display: grid;
  width: 132px;
  height: 132px;
  place-content: center;
  border: 2px solid var(--blue-deep);
  border-radius: 50%;
  color: var(--blue-deep);
  text-align: center;
  transform: rotate(-10deg);
}

.route-stamp span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.route-stamp strong {
  font-size: 1.24rem;
  line-height: 0.94;
}

.route-stamp i {
  width: 35px;
  height: 4px;
  margin: 10px auto 0;
  background: var(--sun);
}

.principles {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(450px, 1.18fr);
  gap: clamp(52px, 10vw, 152px);
  padding: 112px 0 120px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.2vw, 3.45rem);
  font-weight: 800;
  line-height: 1.1;
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 53px 1fr;
  gap: 16px;
  padding: 25px 0 28px;
  border-top: 1px solid var(--line);
}

.principle-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-list li > span {
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.principle-list h3 {
  margin-bottom: 6px;
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1.25;
}

.principle-list p {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: -0.025em;
}

.account-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 126px;
  padding: clamp(28px, 4vw, 47px);
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
}

.note-mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
  background: var(--sun);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
}

.account-note .eyebrow {
  color: var(--sun);
}

.account-note .eyebrow span {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(47, 166, 182, 0.17);
}

.account-note h2 {
  margin-bottom: 13px;
  font-size: clamp(1.65rem, 2.25vw, 2.3rem);
}

.account-note p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: #d7eaf5;
  font-size: 0.97rem;
  letter-spacing: -0.02em;
}

.site-footer {
  gap: 40px;
  padding: 40px 0 55px;
  border-top: 1px solid var(--line);
}

.brand--footer {
  margin-bottom: 11px;
  font-size: 1.18rem;
}

.brand--footer img {
  border-radius: 14px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: -0.025em;
}

.footer-links {
  max-width: 385px;
  text-align: right;
}

.footer-links a {
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links p {
  margin: 9px 0 10px;
}

.footer-links small {
  color: var(--muted);
  font-size: 0.72rem;
}

.holding-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.holding-shell {
  width: min(760px, calc(100% - 48px));
  padding: 56px clamp(28px, 8vw, 84px);
  border: 1px solid rgba(16, 42, 67, 0.11);
  border-radius: 34px;
  background: rgba(251, 253, 255, 0.84);
  box-shadow: 0 35px 90px rgba(16, 42, 67, 0.14);
}

.holding-copy {
  margin: 78px 0 55px;
}

.holding-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.holding-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  letter-spacing: -0.035em;
}

.holding-shell > small {
  display: block;
  margin-top: 58px;
  color: var(--muted);
  font-size: 0.72rem;
}

.invite-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.invite-shell {
  width: min(680px, calc(100% - 48px));
  padding: 52px clamp(28px, 8vw, 78px);
  border: 1px solid rgba(16, 42, 67, 0.11);
  border-radius: 34px;
  background: rgba(251, 253, 255, 0.88);
  box-shadow: 0 35px 90px rgba(16, 42, 67, 0.14);
}

.invite-card {
  margin: 68px 0 0;
}

.invite-card h1 {
  max-width: 550px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 4.4rem);
}

.invite-actions {
  display: grid;
  gap: 17px;
  margin: 34px 0;
}

.invite-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 15px;
  background: var(--blue-deep);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.invite-action:hover {
  background: var(--blue-pressed);
}

.invite-actions p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: -0.025em;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 36px, 620px);
  }

  .site-header {
    min-height: 90px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 46px;
    padding: 48px 0 78px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.1rem);
  }

  .route-stage {
    min-height: 440px;
    border-radius: 29px;
  }

  .route-card {
    width: min(74%, 274px);
    padding: 20px;
  }

  .route-card--top {
    top: 57px;
    left: 8%;
  }

  .route-card--bottom {
    right: 6%;
    bottom: 48px;
  }

  .route-stamp {
    top: 42%;
    left: 39%;
    width: 110px;
    height: 110px;
  }

  .principles {
    display: block;
    padding: 82px 0 88px;
  }

  .principle-list {
    margin-top: 48px;
  }

  .account-note {
    display: block;
    margin-bottom: 82px;
    border-radius: 24px;
  }

  .note-mark {
    margin-bottom: 27px;
  }

  .site-footer {
    display: block;
    padding-bottom: 42px;
  }

  .footer-links {
    margin-top: 34px;
    text-align: left;
  }

  .holding-shell {
    width: min(100% - 36px, 620px);
    padding: 40px 27px;
    border-radius: 27px;
  }

  .holding-copy {
    margin: 62px 0 46px;
  }

  .invite-shell {
    width: min(100% - 36px, 620px);
    padding: 40px 27px;
    border-radius: 27px;
  }

  .invite-card {
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .route-stage,
  .principles,
  .account-note {
    animation: settle 640ms both cubic-bezier(0.22, 0.8, 0.26, 1);
  }

  .route-stage {
    animation-delay: 90ms;
  }

  .principles {
    animation-delay: 150ms;
  }

  .account-note {
    animation-delay: 220ms;
  }

  .route-stamp {
    animation: drift 5s ease-in-out infinite alternate;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

@keyframes drift {
  from {
    transform: rotate(-10deg) translateY(0);
  }

  to {
    transform: rotate(-7deg) translateY(-6px);
  }
}
