:root {
  color-scheme: light;
  --ink: #191919;
  --muted: #66615d;
  --line: #ded8d2;
  --paper: #fffaf4;
  --warm-band: #fff1e8;
  --panel: #f2eee8;
  --orange: #ff6633;
  --orange-dark: #c6421e;
  --coffee: #ffd51f;
  --coffee-hover: #ffe05c;
  --teal: #007f73;
  --leaf: #7db343;
  --soft-line: rgba(25, 25, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  padding-top: 70px;
}

a {
  color: inherit;
}

a,
button,
.button,
.page-nav a,
.language-switch a {
  cursor: url("/assets/cat-face-cursor.svg?v=4") 16 16, pointer;
}

.paw-trail {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  pointer-events: none;
  background: url("/assets/paw-cursor.svg") center / contain no-repeat;
  opacity: 0.28;
  transform: translate(-50%, -50%) rotate(var(--paw-rotation)) scale(0.72);
  animation: paw-fade 900ms ease-out forwards;
}

@keyframes paw-fade {
  0% {
    opacity: 0.28;
    transform: translate(-50%, -50%) rotate(var(--paw-rotation)) scale(0.72);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--paw-rotation)) scale(1);
  }
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
  padding: 14px clamp(20px, 4vw, 54px);
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid rgba(25, 25, 25, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 30px;
  padding: 2px;
  color: var(--muted);
  background: rgba(255, 102, 51, 0.12);
  border: 1px solid rgba(255, 102, 51, 0.24);
  border-radius: 8px;
  white-space: nowrap;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 1px 3px rgba(25, 25, 25, 0.16);
}

.language-switch span {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(92svh - 70px);
  padding: 42px clamp(20px, 7vw, 88px) 64px;
  overflow: hidden;
  background: var(--paper);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.hero-image {
  display: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: transparent;
}

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

.eyebrow,
.section-kicker {
  margin: clamp(10px, 1.4vw, 18px) 0 clamp(8px, 1vw, 14px);
  color: var(--orange);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 148px);
  line-height: 0.82;
  letter-spacing: 0.018em;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  font-size: 1.12em;
}

.hero h1 span:last-child {
  margin-top: 0.08em;
  font-size: 0.92em;
  letter-spacing: 0.012em;
}

.hero-copy {
  max-width: 640px;
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 760;
}

:lang(ja) .hero-copy {
  max-width: 720px;
  font-size: clamp(22px, 2.65vw, 32px);
  margin-top: clamp(10px, 1.4vw, 16px);
  line-height: 1.22;
}

:lang(ja) .eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: clamp(17px, 1.65vw, 23px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 30px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  color: #171717;
  background: var(--orange);
}

.button.secondary {
  color: #171717;
  background: var(--coffee);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button.disabled {
  color: rgba(23, 23, 23, 0.58);
  background: #ddd6cf;
  cursor: not-allowed;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--coffee-hover);
}

.x-buzz {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.85;
}

.x-buzz:hover,
.x-buzz:focus-visible {
  opacity: 1;
}

.notice,
.section,
.split {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 7vw, 88px);
  border-top: 0;
}

.notice-inline {
  margin: clamp(24px, 3vw, 40px) auto 0;
  max-width: 760px;
  padding: 20px 24px;
  background: #f2eee8;
  border-left: 3px solid var(--orange);
  border-radius: 6px;
}

#notice {
  display: block;
  background: var(--warm-band);
  border-top: 0;
  border-bottom: 0;
  color: var(--ink);
  text-align: center;
}

#how-it-works {
  border-top: 0;
}

.coming-soon {
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
  border-top: 0;
  border-bottom: 0;
  background: var(--paper);
  text-align: center;
}

#how-it-works {
  background: var(--warm-band);
}

.coming-soon .section-kicker {
  font-size: clamp(24px, 3.4vw, 48px);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.coming-soon h2 {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.22;
  font-weight: 700;
}

#notice .section-kicker {
  margin-bottom: clamp(10px, 1.4vw, 18px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px) scale(0.88);
}

.section-kicker.is-visible {
  animation: notice-pop 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.notice-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 0.52em;
  letter-spacing: 0.08em;
}

@keyframes notice-pop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
  }

  55% {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section h2,
.split h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

#notice .section-kicker,
#how-it-works .section-kicker,
#privacy .section-kicker,
#support .section-kicker {
  font-size: clamp(24px, 3.4vw, 48px);
  letter-spacing: 0.06em;
  margin-bottom: clamp(20px, 2.2vw, 30px);
}

#notice h2,
#how-it-works h2,
#privacy h2,
#support h2,
#cats-title {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.22;
}

#notice p {
  margin: 0;
}

#notice h2 + p,
#notice .notice-summary + p {
  margin-top: 20px;
}

#notice p + p {
  margin-top: 4px;
}

#notice h2 {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.22;
  letter-spacing: 0;
}

.notice-summary {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.22;
}

#notice p:last-child {
  max-width: 900px;
  margin: clamp(14px, 1.6vw, 22px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.58;
}

#notice,
#new-cats,
#how-it-works,
#privacy,
#support {
  scroll-margin-top: 124px;
}

.page-nav {
  position: sticky;
  z-index: 8;
  top: 70px;
  display: flex;
  gap: 10px;
  padding: 12px clamp(20px, 7vw, 88px);
  overflow-x: auto;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 0;
  backdrop-filter: blur(12px);
}

.page-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: #f2eee8;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--ink);
  background: #ffe2d4;
}

.section-heading {
  max-width: 860px;
}

.section .section-heading {
  margin: 0 auto;
  text-align: center;
}

.section .section-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

#how-title {
  line-height: 1.32;
}

:lang(ja) #how-title {
  line-height: 1.42;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1280px);
  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
}

.steps article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 300px;
  padding: 32px 24px 48px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fffdf8;
  text-align: center;
}

.steps span {
  display: block;
  color: #fffdf8;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1;
  font-weight: 900;
}

.steps h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.steps p,
.copy-block p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.steps p {
  color: rgba(255, 253, 248, 0.82);
}

.steps small {
  display: block;
  margin-top: 6px;
  font-size: 0.78em;
  line-height: 1.36;
}

.section-body {
  margin: clamp(12px, 1.4vw, 20px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.6;
}

.section-heading a {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 850;
  text-underline-offset: 3px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-action .section-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 76px;
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange-dark);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.split {
  display: block;
  background: var(--paper);
  text-align: center;
}

.compact {
  background: var(--warm-band);
}

.split > div {
  max-width: 860px;
  margin: 0 auto;
}

.split h2 {
  margin-left: auto;
  margin-right: auto;
}

.copy-block {
  padding-top: clamp(16px, 2vw, 28px);
}

.copy-block a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 850;
}

.compact {
  padding-top: clamp(70px, 8vw, 104px);
  padding-bottom: clamp(96px, 9vw, 128px);
  background: var(--warm-band);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 880px);
  margin-top: 36px;
  margin-left: auto;
  margin-right: auto;
}

.link-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.link-grid a:nth-child(2) {
  background: var(--orange-dark);
}

.link-grid a:nth-child(3) {
  background: #222;
}

.link-grid a:nth-child(4) {
  background: var(--leaf);
}

.support-grid {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.support-grid a {
  background: var(--leaf);
}

.support-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  text-align: center;
}

.support-note a {
  display: inline-block;
  margin-top: 6px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 7vw, 88px) 32px;
  color: var(--muted);
  background: #fffaf4;
  border-top: 1px solid var(--soft-line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

.legal-page {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 7vw, 88px) clamp(76px, 10vw, 128px);
}

.legal-hero {
  max-width: 880px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-hero p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-hero .section-kicker {
  opacity: 1;
  transform: none;
}

.legal-table {
  width: min(100%, 920px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.legal-table dl {
  margin: 0;
}

.legal-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.legal-table dt {
  color: var(--ink);
  font-weight: 850;
}

.legal-table dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-table a {
  color: var(--teal);
  font-weight: 800;
  text-underline-offset: 3px;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  opacity: 0.7;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
}

.social-links img {
  display: block;
  max-width: 17px;
  max-height: 17px;
}

@media (max-width: 780px) {
  body {
    padding-top: 104px;
  }

  .site-header {
    display: block;
    height: 104px;
    padding: 14px 20px;
  }

  .header-brand {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
  }

  nav {
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .site-header nav {
    font-size: 13px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 28px 20px 0;
  }

  .hero-content {
    order: 1;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-copy {
    font-size: clamp(20px, 7vw, 28px);
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    min-height: 44px;
    padding: 0 16px;
  }

  .page-nav {
    top: 104px;
  }

  .hero-video {
    display: none;
  }

  .hero-image {
    display: block;
    position: relative;
    order: 2;
    align-self: stretch;
    width: calc(100% + 40px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 18px -20px 0;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-shade {
    display: none;
  }

  .notice,
  .split,
  .steps,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: 210px;
  }

  .steps h3 {
    margin-top: 16px;
  }

  .legal-table div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}
