:root {
  --ink: #252334;
  --muted: #686577;
  --paper: #fffdf9;
  --soft: #f7f1ea;
  --coral: #e95858;
  --coral-dark: #c83d48;
  --teal: #1e8b84;
  --indigo: #293064;
  --gold: #d69b3b;
  --line: rgba(37, 35, 52, 0.12);
  --shadow: 0 24px 70px rgba(41, 48, 100, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.15rem;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--coral);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.header-action,
.primary-button,
.secondary-button,
.match-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.primary-button,
.match-panel button {
  color: white;
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(233, 88, 88, 0.26);
}

.secondary-button {
  color: var(--indigo);
  background: white;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(30px, 6vw, 72px);
  min-height: calc(100vh - 75px);
  padding: clamp(42px, 6vw, 84px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.82) 48%, rgba(255, 253, 249, 0.54) 100%),
    url("assets/japan-dating-hero.png") center right / cover no-repeat,
    var(--soft);
}

.hero-copy {
  max-width: 710px;
}

.eyebrow,
.section-title p {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 900;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.match-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.panel-heading span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.panel-heading strong {
  color: var(--coral-dark);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  transform: translateY(-28px);
}

.trust-strip div {
  padding: 24px;
  background: white;
}

.trust-strip strong {
  display: block;
  color: var(--indigo);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.features,
.members,
.plans {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
}

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

.feature-grid article,
.member-card {
  min-height: 230px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid span {
  color: var(--gold);
  font-weight: 900;
}

.feature-grid h3,
.member-card h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
}

.feature-grid p,
.member-card p,
.plans p {
  color: var(--muted);
  line-height: 1.8;
}

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

.member-card {
  display: grid;
  align-content: start;
  gap: 8px;
  box-shadow: 0 18px 42px rgba(37, 35, 52, 0.08);
}

.avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: white;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
}

.avatar-one {
  background: var(--coral);
}

.avatar-two {
  background: var(--teal);
}

.avatar-three {
  background: var(--indigo);
}

.member-card span {
  width: max-content;
  margin-top: 8px;
  padding: 7px 12px;
  color: var(--teal);
  background: rgba(30, 139, 132, 0.1);
  border-radius: 999px;
  font-weight: 900;
}

.plans {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--indigo);
  color: white;
}

.plans div {
  max-width: 720px;
}

.plans p {
  color: rgba(255, 255, 255, 0.78);
}

.plans .eyebrow {
  color: #8ed7d1;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.95) 0%, rgba(255, 253, 249, 0.78) 100%),
      url("assets/japan-dating-hero.png") center / cover no-repeat,
      var(--soft);
  }

  .match-panel {
    max-width: 520px;
  }

  .trust-strip,
  .feature-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    transform: none;
    margin-top: 20px;
  }

  .plans {
    display: grid;
  }
}

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

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero,
  .features,
  .members,
  .plans {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .match-panel {
    padding: 18px;
  }
}
