:root {
  color-scheme: dark;
  --bg: #120818;
  --bg-2: #1b0d28;
  --panel: #251033;
  --panel-soft: #fff8ef;
  --ink: #fff8ef;
  --ink-dark: #1d1320;
  --muted: #d8c8e8;
  --muted-dark: #66586d;
  --rose: #efa2b6;
  --rose-strong: #c96d76;
  --gold: #d7aa63;
  --line: rgba(255, 248, 239, 0.18);
  --line-dark: rgba(43, 27, 51, 0.18);
  --shadow: 0 24px 60px rgba(8, 3, 15, 0.32);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.site-header.is-static {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 248, 239, 0.92);
  font-size: 0.98rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--rose);
}

.store-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.store-button {
  border: 1px solid rgba(239, 162, 182, 0.75);
  background: rgba(22, 9, 30, 0.72);
  color: var(--ink);
}

.primary-button {
  border: 1px solid rgba(255, 248, 239, 0.08);
  background: linear-gradient(135deg, #d6818f, #a64f63);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(166, 79, 99, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 248, 239, 0.22);
  background: rgba(255, 248, 239, 0.06);
  color: var(--ink);
}

.hero {
  min-height: 820px;
  background-image:
    linear-gradient(180deg, rgba(18, 8, 24, 0.1) 0%, rgba(18, 8, 24, 0.2) 54%, #1b0d28 100%),
    url("/assets/kizuna-hero.png");
  background-position: center top;
  background-size: cover;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 88px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 11vw, 9rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero-subtitle {
  margin: 20px 0 0;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
}

.hero-tagline {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-next {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  transform: translateX(-50%);
  place-items: center;
  border: 1px solid rgba(239, 162, 182, 0.65);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}

.band {
  background: var(--bg-2);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section.compact {
  padding: 52px 0;
}

.section-title {
  max-width: 760px;
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
}

.section-copy {
  max-width: 720px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  min-height: 188px;
  border-left: 1px solid rgba(255, 248, 239, 0.18);
  padding: 4px 18px 0 28px;
}

.step:first-child {
  border-left: 0;
  padding-left: 0;
}

.icon-ring {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.28);
  border-radius: 50%;
  color: var(--rose);
}

.step h3,
.format h3,
.audience h3,
.promise-item h3,
.plan h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
}

.step p,
.format p,
.audience p,
.promise-item p,
.plan p {
  margin: 0;
  color: var(--muted);
}

.light {
  background: #fff8ef;
  color: var(--ink-dark);
}

.light .section-title,
.light h2,
.light h3 {
  color: var(--ink-dark);
}

.light .section-copy,
.light p,
.light li {
  color: var(--muted-dark);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

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

.card {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 26px;
}

.dark-card {
  border-color: rgba(255, 248, 239, 0.14);
  background: #21102f;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  color: var(--rose-strong);
  font-weight: 800;
}

.formats {
  display: grid;
  gap: 14px;
}

.format {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}

.format-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: #21102f;
  color: var(--rose);
}

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

.audience {
  border-top: 1px solid rgba(255, 248, 239, 0.18);
  padding-top: 22px;
}

.meaning {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.meaning-mark {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px solid rgba(215, 170, 99, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 162, 182, 0.14), transparent 45%),
    #21102f;
}

.meaning-symbol {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
}

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

.plan {
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 248, 239, 0.04);
}

.plan strong {
  color: var(--rose);
}

.legal-main {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 76px;
}

.legal-main h1 {
  margin: 6px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
}

.legal-main h2 {
  margin: 38px 0 12px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-panel {
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: 8px;
  background: rgba(255, 248, 239, 0.05);
  padding: 20px;
  margin: 28px 0;
}

.legal-panel h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.updated {
  margin: 0;
  color: var(--rose);
  font-weight: 700;
}

.site-footer {
  background: #15091f;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-title {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: 1;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--rose);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--ink-dark);
  padding: 10px 12px;
}

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

svg {
  flex: 0 0 auto;
}

@media (max-width: 920px) {
  .site-header {
    position: relative;
    width: auto;
    margin: 0;
    padding: 18px 20px;
    background: #120818;
  }

  .site-header.is-overlay {
    position: absolute;
    background: transparent;
  }

  .nav {
    gap: 16px;
  }

  .nav .store-button {
    display: none;
  }

  .hero {
    min-height: 720px;
    background-position: 30% top;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .steps,
  .audiences,
  .grid-3,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .meaning {
    grid-template-columns: 1fr;
  }

  .step:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header.is-overlay {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    background: #120818;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.94rem;
  }

  .hero {
    min-height: 720px;
    background-position: 28% top;
  }

  .hero-inner {
    padding: 58px 0 76px;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(4.8rem, 24vw, 7rem);
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section {
    padding: 56px 0;
  }

  .steps,
  .audiences,
  .grid-3,
  .plans,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .step {
    border-left: 0;
    border-top: 1px solid rgba(255, 248, 239, 0.18);
    padding: 22px 0 0;
  }

  .step:first-child {
    border-top: 0;
  }

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