:root {
  --ink: #3c3437;
  --muted: #786d71;
  --line: #eadfdf;
  --paper: #fffaf8;
  --soft: #fbf3f2;
  --mist: #f7eeee;
  --sage: #8c9b91;
  --rose: #c98f90;
  --charcoal: #3c3437;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(45, 48, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 248, 0.94);
  border-bottom: 1px solid rgba(234, 223, 223, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand img {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover,
.text-link:hover {
  color: var(--ink);
}

.header-cta,
.btn,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--rose);
  font-size: 14px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  padding: clamp(76px, 10vw, 120px) clamp(18px, 7vw, 96px) 56px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #fff7f5;
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: var(--ink);
}

.hero-logo {
  display: block;
  width: auto;
  height: clamp(180px, 25vw, 235px);
  margin-bottom: 24px;
  object-fit: contain;
}

.eyebrow,
.tag {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--rose);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

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

.btn {
  padding: 0 22px;
}

.btn.primary {
  color: var(--white);
  background: var(--rose);
}

.btn.secondary {
  color: var(--ink);
  border-color: #d9c1c1;
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2,
.lead h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p,
.feature-card p,
.topic-card p,
.issue-card p,
.resource-card p,
.clinic-card dd,
.lead p,
.notice,
.site-footer {
  color: var(--muted);
}

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

.feature-card,
.topic-card,
.issue-card,
.resource-card,
.clinic-card,
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card,
.topic-card,
.issue-card,
.resource-card,
.clinic-card {
  padding: 24px;
}

.feature-card span {
  display: block;
  margin-bottom: 38px;
  color: var(--rose);
  font-weight: 800;
}

.feature-card h3,
.topic-card h3,
.issue-card h3,
.resource-card h3,
.clinic-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.projects {
  background: var(--charcoal);
  color: var(--white);
}

.projects .section-heading p,
.topic-card p {
  color: rgba(255, 255, 255, 0.68);
}

.topic-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.topic-card .tag {
  color: #f1d7d5;
}

.row-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.row-heading > div {
  max-width: 780px;
}

.text-link,
.mobile-section-link {
  font-weight: 800;
}

.light-link {
  flex: 0 0 auto;
  color: var(--white);
}

.article-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  color: var(--white);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.article-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.article-card:focus-visible {
  outline: 3px solid #f1d7d5;
  outline-offset: 3px;
}

.article-card h3 {
  margin-top: 24px;
}

.article-card strong {
  margin-top: auto;
  padding-top: 28px;
  color: #f1d7d5;
  font-size: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.article-meta span {
  color: #f1d7d5;
  font-weight: 800;
}

.mobile-section-link {
  display: none;
  margin-top: 24px;
  color: var(--white);
}

.split {
  background: var(--soft);
}

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

.region-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.region-panel.korea {
  background-image:
    linear-gradient(180deg, rgba(25, 28, 32, 0.2), rgba(25, 28, 32, 0.84)),
    url("assets/korea-city.jpg");
}

.region-panel.japan {
  background-image:
    linear-gradient(180deg, rgba(25, 28, 32, 0.18), rgba(25, 28, 32, 0.82)),
    url("assets/japan-city.jpg");
}

.region-panel .tag,
.region-panel p,
.region-panel li {
  color: rgba(255, 255, 255, 0.88);
}

.region-panel h3 {
  color: var(--white);
  font-size: 30px;
}

.region-panel ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.region-panel li {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.clinic-hero-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(25, 28, 32, 0.76), rgba(25, 28, 32, 0.26)),
    url("assets/clinic-list-hero.jpg")
      center / cover;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.clinic-hero-card:hover {
  box-shadow: 0 24px 54px rgba(45, 48, 53, 0.18);
  transform: translateY(-2px);
}

.clinic-hero-card .tag,
.clinic-hero-card p {
  color: rgba(255, 255, 255, 0.86);
}

.clinic-hero-card h3 {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
}

.clinic-hero-card span {
  color: var(--white);
  font-weight: 800;
}

.row-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  color: var(--sage);
  font-weight: 800;
}

.issue-card {
  min-height: 210px;
}

.tools {
  background: var(--mist);
}

.resource-layout {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.8fr));
  gap: 18px;
}

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

.resource-card.featured {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.resource-card.featured.alt {
  background: #52665d;
  border-color: #52665d;
}

.resource-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.resource-card.featured .tag {
  color: #f1d7d5;
}

.resource-card.featured .btn {
  margin-top: 8px;
}

.clinics {
  background: var(--paper);
}

.clinic-card {
  box-shadow: 0 12px 34px rgba(45, 48, 53, 0.08);
}

.linked-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.linked-card:hover {
  border-color: rgba(114, 141, 128, 0.55);
  box-shadow: 0 18px 42px rgba(45, 48, 53, 0.14);
  transform: translateY(-2px);
}

.linked-card p {
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  color: var(--sage);
  font-size: 14px;
  font-weight: 800;
}

.clinic-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--ink);
  background: #f7efed;
  border: 1px solid #ead4d0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.clinic-card dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.clinic-card dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.clinic-card dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.clinic-card dd {
  margin: 0;
}

.clinic-details {
  background: var(--paper);
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.clinic-detail {
  scroll-margin-top: 96px;
}

.clinic-table {
  display: grid;
  gap: 12px;
}

.clinic-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) 0.7fr 1.3fr 0.9fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(45, 48, 53, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.clinic-row:hover {
  border-color: rgba(114, 141, 128, 0.55);
  box-shadow: 0 18px 42px rgba(45, 48, 53, 0.12);
  transform: translateY(-2px);
}

.clinic-row span {
  color: var(--muted);
}

.clinic-row .clinic-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.clinic-row strong {
  color: var(--sage);
  white-space: nowrap;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #f7efed;
}

.notice {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #ead4d0;
  border-radius: 8px;
  font-size: 14px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.lead-form textarea {
  min-height: 98px;
  padding-top: 11px;
  resize: vertical;
}

.lead-form button {
  width: 100%;
  color: var(--white);
  background: var(--charcoal);
  font: inherit;
}

.lead-form button:disabled {
  cursor: default;
  opacity: 0.72;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 80px);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: clamp(96px, 14vw, 160px) clamp(18px, 6vw, 80px) 54px;
  color: var(--white);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(20, 23, 27, 0.76), rgba(20, 23, 27, 0.3));
}

.page-hero > div {
  position: relative;
  max-width: 760px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

.pack-hero {
  color: var(--ink);
  background-image: url("assets/resource-pack-hero.png");
  background-position: center;
}

.pack-hero::before {
  background: linear-gradient(
    90deg,
    rgba(255, 250, 248, 0.98) 0%,
    rgba(255, 250, 248, 0.92) 42%,
    rgba(255, 250, 248, 0.48) 68%,
    rgba(255, 250, 248, 0.08) 100%
  );
}

.pack-hero p {
  color: var(--muted);
}

.pack-hero .eyebrow {
  color: var(--rose);
}

.pack-hero .btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(201, 143, 144, 0.42);
}

.clinic-hero {
  background-image: url("assets/clinic-consultation-hero.jpg");
}

.checklist-grid,
.pricing-grid,
.process-grid,
.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.check-card,
.price-card,
.process-card,
.field-grid article,
.question-list {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-card span,
.process-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--rose);
  font-weight: 800;
}

.check-card h3,
.price-card h3,
.process-card h3,
.field-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.check-card p,
.price-card li,
.process-card p,
.field-grid p,
.question-list li {
  color: var(--muted);
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.highlighted {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.price-card.highlighted .tag,
.price-card.highlighted li {
  color: rgba(255, 255, 255, 0.78);
}

.price {
  margin: 4px 0 18px;
  color: var(--rose);
  font-size: 30px;
  font-weight: 800;
}

.price-card.highlighted .price {
  color: #f1d7d5;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.question-list ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
}

.article-plan {
  background: var(--paper);
}

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

.article-list article {
  min-height: 220px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--sage);
  background: var(--soft);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.article-list h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.article-list p {
  color: var(--muted);
}

.knowledge-hero {
  min-height: 470px;
  background-image: url("assets/knowledge-hero.jpg");
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(110px, 14vw, 160px) 24px 90px;
}

.legal-page h1 {
  margin-bottom: 18px;
}

.legal-page h2 {
  margin: 42px 0 14px;
  font-size: 26px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.9;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: inherit;
}

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

.form-unavailable {
  margin: 0 0 14px;
  padding: 12px 14px;
  color: #76575a;
  background: #fff1ef;
  border: 1px solid #ead0d0;
  border-radius: 8px;
  font-size: 13px;
}

.lead-form :disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

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

.knowledge-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 120px;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease;
}

.knowledge-row:hover h3 {
  color: var(--sage);
}

.knowledge-row .tag {
  color: var(--sage);
}

.knowledge-row h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.35;
}

.knowledge-row p,
.knowledge-row time {
  color: var(--muted);
}

.knowledge-row strong {
  text-align: right;
}

.article-header {
  padding: clamp(112px, 14vw, 170px) clamp(18px, 8vw, 110px) 64px;
  color: var(--white);
  background: var(--charcoal);
}

.article-header > div,
.article-body {
  max-width: 820px;
  margin: 0 auto;
}

.article-header h1 {
  max-width: 780px;
  margin: 16px 0 20px;
}

.article-header .article-meta {
  justify-content: flex-start;
}

.article-intro {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 21px);
}

.article-body {
  padding: 68px 24px 84px;
}

.article-body h2 {
  margin: 48px 0 16px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.article-body p,
.article-body li {
  color: #50565d;
  font-size: 17px;
  line-height: 1.9;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.article-note {
  margin: 38px 0;
  padding: 22px 24px;
  color: var(--muted);
  background: var(--soft);
  border-left: 4px solid var(--sage);
}

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

.article-cta article {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-cta p {
  font-size: 15px;
  line-height: 1.7;
}

.article-cta .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 1080px) {
  .nav {
    gap: 14px;
  }

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .feature-grid,
  .topic-grid,
  .issue-grid,
  .clinic-grid,
  .region-layout,
  .resource-layout,
  .lead,
  .checklist-grid,
  .pricing-grid,
  .process-grid,
  .field-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .clinic-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .knowledge-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .knowledge-row strong {
    text-align: left;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    min-height: 660px;
    padding-top: 96px;
  }

  .hero-logo {
    height: 180px;
  }

  .pack-hero {
    background-position: 62% center;
  }

  .pack-hero::before {
    background: rgba(255, 250, 248, 0.86);
  }

  h1 {
    font-size: 38px;
  }

  .row-heading {
    display: block;
  }

  .row-heading .light-link {
    display: none;
  }

  .mobile-section-link {
    display: inline-flex;
  }

  .region-panel {
    min-height: 390px;
    padding: 24px;
  }

  .clinic-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    display: grid;
  }
}
