@font-face {
  font-family: "Gowun Dodum";
  src: url("./assets/fonts/GowunDodum-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("./assets/fonts/ZenMaruGothic-Medium.subset.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./assets/fonts/Nunito_600SemiBold.subset.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #fffaf4;
  --ivory-deep: #f8eee6;
  --rose: #b8405c;
  --coral: #df6a77;
  --rose-soft: #f5d4dc;
  --ink: #4a3833;
  --muted: #7d665f;
  --line: rgba(184, 64, 92, 0.14);
  --shadow-soft: 0 22px 62px rgba(101, 54, 47, 0.11);
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(223, 106, 119, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(245, 212, 220, 0.48), transparent 25rem),
    linear-gradient(155deg, var(--ivory) 0%, #fdf5ed 55%, var(--ivory-deep) 100%);
  color: var(--ink);
  font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.06rem);
  line-height: 1.68;
}

html[lang="ko"] body,
[lang="ko"] {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

html[lang="ja"] body,
[lang="ja"] {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

html[lang="en"] body,
[lang="en"] {
  font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--rose);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.paper-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 88%, rgba(255, 255, 255, 0.38), transparent 21rem),
    radial-gradient(circle at 82% 10%, rgba(223, 106, 119, 0.08), transparent 20rem);
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  transform: translateY(-200%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--rose);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding: 0.85rem clamp(0.75rem, 3vw, 2rem);
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border: 1px solid rgba(184, 64, 92, 0.13);
  border-radius: 50%;
  background: #fff7ef url("./usmori-avatar.jpg") 50% 38% / 155% auto no-repeat;
  box-shadow: 0 1px 5px rgba(64, 48, 45, 0.09);
}

.brand-text {
  overflow-wrap: anywhere;
}

.language-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.28rem;
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.language-button {
  min-height: 2.1rem;
  min-width: 2.9rem;
  padding: 0.25rem 0.58rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.language-button:hover {
  background: var(--rose-soft);
  color: var(--rose);
}

.language-button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff;
  font-weight: 700;
}

.page {
  width: 100%;
  max-width: 71rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.25rem);
}

.landing-page {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 4.7rem);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(620px, 72vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: clamp(24px, 4vw, var(--radius-lg));
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 250, 244, 0.9), rgba(255, 250, 244, 0.55) 38%, transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(48%, 34rem);
  min-width: 0;
  padding: clamp(1.5rem, 3.5vw, 3.2rem);
}

.locale-panel {
  min-width: 0;
}

.locale-panel {
  display: grid;
  gap: 0.95rem;
}

.eyebrow {
  margin: 0;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.display-title {
  max-width: 16ch;
  margin: 0;
  color: #3d2b28;
  font-size: clamp(1.78rem, 6.2vw + 0.54rem, 3.65rem);
  line-height: 1.24;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.intro-body {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  line-height: 1.78;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  width: fit-content;
  margin: 0.1rem 0 0;
  padding: 0.48rem 0.86rem;
  border: 1px solid rgba(184, 64, 92, 0.16);
  border-radius: 999px;
  background: linear-gradient(120deg, #fff6f6, #ffeef1);
  color: var(--rose);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0.24rem rgba(223, 106, 119, 0.14);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  max-width: 100%;
  min-width: 0;
  min-height: 2.35rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid rgba(184, 64, 92, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.9rem;
}

.feature-label {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.feature-dot {
  width: 0.35rem;
  height: 0.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  padding: clamp(1.15rem, 3vw, 1.8rem) clamp(0.75rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.86), rgba(248, 238, 230, 0.96));
}

.footer-panel {
  width: 100%;
  max-width: 71rem;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.1rem 2rem;
}

.footer-group {
  min-width: 0;
}

.small-label {
  margin: 0 0 0.42rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  color: var(--rose);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

.link-list a:hover {
  color: #932f47;
}

.footer-note {
  max-width: 71rem;
  margin: 1rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(184, 64, 92, 0.09);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.legal-page {
  max-width: 53rem;
  padding-top: clamp(1.2rem, 4vw, 2.4rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.legal-card {
  padding: clamp(1.1rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(20px, 3vw, 27px);
  background: rgba(255, 250, 244, 0.92);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0;
  line-height: 1.22;
}

.legal-card h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.17rem;
  line-height: 1.3;
}

.legal-card h3 {
  margin: 1.2rem 0 0.35rem;
  font-size: 1rem;
}

.legal-card p,
.legal-card ul {
  margin: 0.45rem 0 0;
}

.legal-card ul {
  padding-left: 1.3rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
}

.legal-nav a {
  color: var(--rose);
  font-weight: 700;
}

.legal-contact {
  color: var(--rose);
  text-underline-offset: 0.22em;
}

.legal-section {
  padding-top: 0.35rem;
  scroll-margin-top: 5rem;
}

.legal-section + .legal-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 64, 92, 0.1);
}

.legal-muted {
  color: var(--muted);
}

@media (max-width: 780px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .hero::before { display: none; }

  .hero-figure {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
  }

  .hero-figure img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-position: center;
  }

  .hero-copy {
    width: 100%;
    padding: clamp(1.2rem, 4vw, 2rem);
  }

  .landing-page { min-height: auto; }
  .display-title { max-width: 20ch; }
}

@media (max-width: 430px) {
  .site-header {
    display: grid;
    justify-content: stretch;
  }

  .language-group {
    justify-content: flex-start;
  }

  .hero {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 1.25rem 1rem 1.5rem;
  }





  .footer-content {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

html[lang="ko"] .display-title {
  word-break: keep-all;
}

html[lang="ja"] .display-title {
  word-break: keep-all;
  line-height: 1.32;
}
