*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --yellow: #ffd400;
  --yellow-soft: #fff3a3;
  --ink: #101014;
  --ink-2: #2c2c36;
  --muted: #66636f;
  --pink: #ff3f9d;
  --mint: #73e2c3;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: #17171f;
  --shadow: 0 18px 0 rgba(16, 16, 20, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100svh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--line);
  border-radius: 8px;
}

.brand span {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 22px);
  font-size: 0.9rem;
  font-weight: 900;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--pink);
}

.download-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 0 var(--pink);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: clamp(54px, 8vw, 100px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background-color: var(--yellow);
  border-bottom: 3px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 212, 0, 0.96) 0%, rgba(255, 212, 0, 0.86) 42%, rgba(255, 212, 0, 0.12) 72%),
    url("hero-cat.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 5px 10px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.1rem, 12vw, 7.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--white);
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 850;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 3px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--line);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: var(--mint);
}

.button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--line);
}

.mini-proof {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  width: min(430px, 100%);
  margin-top: 26px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 3px solid var(--line);
  border-radius: 8px;
}

.mini-proof img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 2px solid var(--line);
}

.mini-proof p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section.yellow {
  background: var(--yellow);
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
}

.dark .section-copy {
  color: #d8d3c8;
}

.mode-grid,
.feature-grid,
.faq-grid,
.policy-grid {
  display: grid;
  gap: 18px;
}

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

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel.pink {
  background: #ffe4f1;
}

.panel.mint {
  background: #dbfff5;
}

.panel.yellow {
  background: var(--yellow-soft);
}

.panel h3,
.panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.7vw, 1.8rem);
  font-weight: 950;
  line-height: 1.2;
}

.panel p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 750;
}

.panel-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border: 3px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.feature-grid .panel {
  box-shadow: none;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 950;
}

.art-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 390px);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
}

.art-frame {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.art-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.art-frame.wide img {
  aspect-ratio: 4 / 3;
}

.art-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 180px;
  padding: 26px 22px 22px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--line);
  border-radius: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--white);
  border-radius: 8px;
  font-weight: 950;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.step p {
  margin: 0;
  color: #e9e4db;
  font-weight: 720;
}

.page-hero {
  padding: clamp(46px, 7vw, 82px) clamp(20px, 5vw, 72px);
  background: var(--yellow);
  border-bottom: 3px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 390px);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 820;
}

.content-flow {
  width: min(920px, 100%);
  margin: 0 auto;
}

.content-flow .panel + .panel,
.content-flow .policy-note {
  margin-top: 18px;
}

.policy-note {
  padding: 18px 20px;
  color: var(--ink-2);
  background: var(--yellow-soft);
  border: 3px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.site-footer {
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-top: 3px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 900;
}

.footer-links a {
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.mail-link {
  color: var(--ink);
  font-weight: 950;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: calc(100svh - 230px);
    align-items: end;
    padding-top: 180px;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(255, 212, 0, 0.1) 0%, rgba(255, 212, 0, 0.96) 38%, var(--yellow) 62%),
      url("hero-cat.webp");
    background-position: center, 62% top;
    background-size: cover, auto 38%;
  }

  .section-head,
  .art-band,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .mode-grid,
  .feature-grid,
  .faq-grid,
  .policy-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-nav {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .download-link {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .button-row {
    flex-direction: column;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: auto;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 0.88rem;
  }

  .button-row .button {
    width: 100%;
  }

  .hero h1 span {
    -webkit-text-stroke: 1px var(--ink);
    text-shadow: 3px 3px 0 var(--white);
  }

  .mini-proof {
    display: none;
  }
}
