:root {
  color-scheme: light;
  --control-radius: 1.18rem;
  --ink: #152033;
  --ink-rgb: 21, 32, 51;
  --muted: #64748b;
  --muted-rgb: 100, 116, 139;
  --neutral-rgb: 148, 163, 184;
  --focus-rgb: 20, 184, 166;
  --paper: #fffefa;
  --paper-rgb: 255, 254, 250;
  --paper-top: #ffffff;
  --paper-alt: #f7f2df;
  --paper-dot: rgba(var(--ink-rgb), 0.08);
  --surface-rgb: 255, 255, 255;
  --surface: rgba(var(--surface-rgb), 0.82);
  --surface-strong: rgba(var(--surface-rgb), 0.95);
  --line: rgba(var(--ink-rgb), 0.14);
  --shadow-rgb: 15, 23, 42;
  --shadow: rgba(var(--shadow-rgb), 0.14);
  --body-text: rgba(var(--ink-rgb), 0.72);
  --body-text-strong: #334155;
  --button-ink: #172033;
  --image-placeholder: #f5f1e7;
  --logo-filter: none;
  --feature-icon-filter: drop-shadow(0 0.34rem 0 rgba(var(--ink-rgb), 0.16));
  --feature-logo-filter: drop-shadow(0 0.34rem 0 rgba(var(--ink-rgb), 0.16));
  --hero-logo-filter: drop-shadow(0 20px 24px rgba(var(--shadow-rgb), 0.13));
  --hero-fade: rgba(var(--paper-rgb), 0.96);
  --teal: #0f766e;
  --teal-strong: #115e59;
  --yellow: #ffd84f;
  --blue: #169ff5;
  --green: #4fd33c;
  --pink: #ff6cad;
}

:root[data-resolved-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f7fb;
  --ink-rgb: 243, 247, 251;
  --muted: #a7b4c6;
  --muted-rgb: 167, 180, 198;
  --neutral-rgb: 125, 143, 166;
  --paper: #0d131d;
  --paper-rgb: 13, 19, 29;
  --paper-top: #111a27;
  --paper-alt: #101723;
  --paper-dot: rgba(var(--ink-rgb), 0.09);
  --surface-rgb: 22, 31, 45;
  --surface: rgba(var(--surface-rgb), 0.84);
  --surface-strong: rgba(30, 42, 60, 0.96);
  --line: rgba(var(--ink-rgb), 0.15);
  --shadow-rgb: 0, 0, 0;
  --shadow: rgba(var(--shadow-rgb), 0.38);
  --body-text: rgba(var(--ink-rgb), 0.74);
  --body-text-strong: #cbd5e1;
  --button-ink: #f6f8fb;
  --image-placeholder: #151f2e;
  --logo-filter: invert(1);
  --feature-icon-filter: drop-shadow(0 0.34rem 0 rgba(var(--shadow-rgb), 0.35));
  --feature-logo-filter: invert(1) drop-shadow(0 0.34rem 0 rgba(var(--shadow-rgb), 0.35));
  --hero-logo-filter: invert(1) drop-shadow(0 20px 26px rgba(var(--shadow-rgb), 0.4));
  --hero-fade: rgba(var(--paper-rgb), 0.95);
  --teal: #2dd4bf;
  --teal-strong: #5eead4;
  --blue: #38bdf8;
  --green: #86efac;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-resolved-theme="light"]) {
    color-scheme: dark;
    --ink: #f3f7fb;
    --ink-rgb: 243, 247, 251;
    --muted: #a7b4c6;
    --muted-rgb: 167, 180, 198;
    --neutral-rgb: 125, 143, 166;
    --paper: #0d131d;
    --paper-rgb: 13, 19, 29;
    --paper-top: #111a27;
    --paper-alt: #101723;
    --paper-dot: rgba(var(--ink-rgb), 0.09);
    --surface-rgb: 22, 31, 45;
    --surface: rgba(var(--surface-rgb), 0.84);
    --surface-strong: rgba(30, 42, 60, 0.96);
    --line: rgba(var(--ink-rgb), 0.15);
    --shadow-rgb: 0, 0, 0;
    --shadow: rgba(var(--shadow-rgb), 0.38);
    --body-text: rgba(var(--ink-rgb), 0.74);
    --body-text-strong: #cbd5e1;
    --button-ink: #f6f8fb;
    --image-placeholder: #151f2e;
    --logo-filter: invert(1);
    --feature-icon-filter: drop-shadow(0 0.34rem 0 rgba(var(--shadow-rgb), 0.35));
    --feature-logo-filter: invert(1) drop-shadow(0 0.34rem 0 rgba(var(--shadow-rgb), 0.35));
    --hero-logo-filter: invert(1) drop-shadow(0 20px 26px rgba(var(--shadow-rgb), 0.4));
    --hero-fade: rgba(var(--paper-rgb), 0.95);
    --teal: #2dd4bf;
    --teal-strong: #5eead4;
    --blue: #38bdf8;
    --green: #86efac;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "SN Pro Variable",
    "SN Pro",
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
}

.site-header {
  --header-control-radius: var(--control-radius);
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  z-index: 40;
  display: flex;
  min-height: 3.25rem;
  width: min(calc(100vw - 2rem), 54rem);
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.42rem;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: calc(var(--header-control-radius) + 0.48rem);
  background: rgba(var(--surface-rgb), 0.74);
  box-shadow:
    0 20px 48px -30px rgba(var(--shadow-rgb), 0.38),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.88);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-logo {
  display: flex;
  width: 0;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  padding: 0.46rem 0.72rem;
  transform: translateX(-0.65rem) rotate(-2deg);
  transition:
    width 240ms ease,
    opacity 170ms ease,
    transform 240ms ease;
}

.header-logo img {
  width: auto;
  min-width: 0;
  height: 100%;
  filter: var(--logo-filter);
}

.header-logo-wide {
  display: none;
}

.site-header.has-logo {
  justify-content: space-between;
}

.site-header.has-logo .header-logo {
  width: 3.05rem;
  opacity: 1;
  transform: translateX(0) rotate(-2deg);
}

.site-header.is-full-logo .header-logo {
  width: 4.35rem;
  transform: translateX(0);
}

.site-header.is-full-logo .header-logo-compact {
  display: none;
}

.site-header.is-full-logo .header-logo-wide {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.header-link {
  position: relative;
  z-index: 24;
  display: inline-flex;
  min-height: 2.35rem;
  min-width: 4.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--header-control-radius);
  color: rgba(var(--ink-rgb), 0.74);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: rgba(var(--neutral-rgb), 0.28);
  background: rgba(var(--surface-rgb), 0.82);
  box-shadow:
    0 9px 24px -20px rgba(var(--shadow-rgb), 0.38),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.9);
  color: var(--ink);
  outline: none;
}

.app-button {
  --button-radius: var(--control-radius);
  position: relative;
  z-index: 24;
  display: inline-flex;
  min-height: 2.85rem;
  min-width: 7.6rem;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1.15rem;
  border: 1px solid rgba(var(--neutral-rgb), 0.38);
  border-radius: var(--button-radius);
  background: rgba(var(--surface-rgb), 0.9);
  color: var(--button-ink);
  box-shadow:
    0 9px 24px -18px rgba(var(--shadow-rgb), 0.5),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.9);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.app-button:hover,
.app-button:focus-visible {
  border-color: rgba(var(--muted-rgb), 0.55);
  background: var(--surface-strong);
  box-shadow:
    0 13px 28px -20px rgba(var(--shadow-rgb), 0.55),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.94);
  outline: none;
}

.app-button:focus-visible {
  box-shadow:
    0 0 0 4px rgba(var(--focus-rgb), 0.18),
    0 13px 28px -20px rgba(var(--shadow-rgb), 0.55),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.94);
}

.app-button-small {
  --button-radius: var(--header-control-radius);
  min-height: 2.35rem;
  min-width: 6.4rem;
  padding: 0.62rem 0.95rem;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 1px 1px, var(--paper-dot) 1.2px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--paper-top) 0%, var(--paper) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 14rem;
  background: linear-gradient(180deg, rgba(var(--paper-rgb), 0), var(--hero-fade));
  content: "";
  pointer-events: none;
}

.hero-center {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.35rem);
  padding: 6rem 1rem 5rem;
}

.hero-tagline {
  position: relative;
  z-index: 6;
  display: grid;
  justify-items: center;
  max-width: min(58rem, calc(100vw - 2rem));
  margin: 0;
  color: rgba(var(--ink-rgb), 0.7);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.hero-tagline span {
  display: block;
  white-space: nowrap;
}

.hero-tagline-title {
  margin-bottom: clamp(0.3rem, 0.8vw, 0.55rem);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-tagline-copy {
  font-weight: 500;
}

@media (max-width: 760px) {
  .hero-tagline span {
    white-space: normal;
  }
}

.hero-center .app-button {
  margin-top: 0.25rem;
  border-color: rgba(var(--ink-rgb), 0.12);
  background: rgba(var(--surface-rgb), 0.74);
  box-shadow:
    0 18px 40px -28px rgba(var(--shadow-rgb), 0.32),
    0 10px 22px -20px rgba(var(--shadow-rgb), 0.18),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.72);
  backdrop-filter: blur(18px);
}

.hero-center .app-button:hover,
.hero-center .app-button:focus-visible {
  border-color: rgba(var(--ink-rgb), 0.16);
  background: rgba(var(--surface-rgb), 0.82);
  box-shadow:
    0 18px 40px -28px rgba(var(--shadow-rgb), 0.36),
    0 10px 22px -20px rgba(var(--shadow-rgb), 0.22),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.78);
}

.hero-center .app-button:focus-visible {
  box-shadow:
    0 0 0 4px rgba(var(--focus-rgb), 0.18),
    0 18px 40px -28px rgba(var(--shadow-rgb), 0.36),
    0 10px 22px -20px rgba(var(--shadow-rgb), 0.22),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.78);
}

.hero-logo {
  position: relative;
  z-index: 16;
  width: clamp(12.5rem, 26vw, 21rem);
  height: auto;
  filter: var(--hero-logo-filter);
}

.hero-quote {
  position: absolute;
  bottom: max(5.35rem, calc(env(safe-area-inset-bottom) + 5.1rem));
  left: 50%;
  z-index: 24;
  display: flex;
  width: fit-content;
  max-width: min(calc(100vw - 2rem), 33rem);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  margin: 0;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(var(--ink-rgb), 0.13);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.92), rgba(var(--surface-rgb), 0.74));
  box-shadow:
    0 18px 40px -26px rgba(var(--shadow-rgb), 0.38),
    0 10px 22px -18px rgba(var(--shadow-rgb), 0.2),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.72);
  color: var(--ink);
  overflow: hidden;
  text-align: center;
  transform: translateX(-50%);
  transition:
    width 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(14px);
}

.hero-quote.is-measuring {
  transition: none;
  visibility: hidden;
}

.hero-quote blockquote {
  display: grid;
  min-height: 1.25em;
  margin: 0;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
}

.hero-quote blockquote span {
  display: block;
  grid-area: 1 / 1;
  max-width: 100%;
}

.hero-quote blockquote span.is-leaving {
  animation: hero-quote-slide-away 320ms ease-in forwards;
}

.hero-quote blockquote span.is-entering {
  animation: hero-quote-slide-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-quote figcaption {
  color: rgba(var(--ink-rgb), 0.56);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-quote figcaption::before {
  content: "- ";
}

.scroll-cue {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 24;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  opacity: 0.62;
  transform: translateX(-50%);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.scroll-cue::before,
.scroll-cue::after {
  position: absolute;
  left: 50%;
  content: "";
}

.scroll-cue::before {
  top: 0.56rem;
  width: 1.5px;
  height: 1.72rem;
  background: rgba(var(--ink-rgb), 0.52);
  transform: translateX(-50%);
}

.scroll-cue::after {
  top: 1.78rem;
  width: 0.94rem;
  height: 0.94rem;
  border-right: 1.5px solid rgba(var(--ink-rgb), 0.52);
  border-bottom: 1.5px solid rgba(var(--ink-rgb), 0.52);
  transform: translateX(-50%) rotate(45deg);
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  opacity: 0.78;
  outline: none;
  transform: translate(-50%, 2px);
}

.scroll-cue.is-pulsing::before {
  animation: scroll-cue-line-pulse 620ms ease-out both;
}

.scroll-cue.is-pulsing {
  animation: scroll-cue-scale-pulse 620ms ease-out both;
}

.scroll-cue.is-pulsing::after {
  animation: scroll-cue-head-pulse 620ms ease-out both;
}

.touch-hint {
  display: none;
}

.placed-stickers,
.sticker-bursts,
.cursor-sticker {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.sticker-bursts {
  z-index: 19;
}

.cursor-sticker {
  position: fixed;
  inset: auto;
  z-index: 18;
  width: var(--cursor-size, 8.25rem);
  height: var(--cursor-size, 8.25rem);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--cursor-rotate, -6deg)) scale(0.94);
  transition:
    opacity 110ms ease,
    transform 110ms ease;
  will-change: left, top, transform;
}

.hero.is-hovering .cursor-sticker {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--cursor-rotate, -6deg)) scale(1);
}

.hero.is-over-action .cursor-sticker {
  opacity: 0;
}

.placed-sticker {
  position: absolute;
  display: grid;
  width: var(--sticker-size, 8rem);
  height: var(--sticker-size, 8rem);
  opacity: 0.5;
  place-items: center;
  transform: translate(-50%, -50%) rotate(var(--sticker-rotate, 0deg)) scale(var(--sticker-scale, 1));
  transform-origin: 50% 50%;
  animation: sticker-pop 210ms cubic-bezier(0.2, 1.45, 0.38, 1) both;
}

.placed-sticker.is-removing {
  animation: sticker-pop-out 210ms cubic-bezier(0.5, 0, 0.8, 0.2) both;
}

.sticker-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  object-fit: contain;
  filter: drop-shadow(0 0.34rem 0 rgba(var(--ink-rgb), 0.18));
}

.sticker-burst {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sticker-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--particle-size, 0.56rem);
  height: var(--particle-size, 0.56rem);
  background: var(--particle-color, var(--yellow));
  clip-path: polygon(
    50% 0,
    61% 34%,
    98% 35%,
    68% 56%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 56%,
    2% 35%,
    39% 34%
  );
  filter: drop-shadow(0 0.08rem 0 rgba(var(--ink-rgb), 0.24));
  opacity: 0;
  transform:
    translate(
      calc(-50% + var(--particle-start-x, 0px)),
      calc(-50% + var(--particle-start-y, 0px))
    )
    rotate(var(--particle-rotate, 0deg))
    scale(0.7);
  animation: particle-burst 980ms cubic-bezier(0.15, 0.85, 0.32, 1) forwards;
}

@keyframes sticker-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--sticker-rotate, 0deg)) scale(0.48);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) rotate(var(--sticker-rotate, 0deg)) scale(var(--sticker-scale, 1));
  }
}

@keyframes sticker-pop-out {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) rotate(var(--sticker-rotate, 0deg)) scale(var(--sticker-scale, 1));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--sticker-rotate, 0deg)) scale(0.48);
  }
}

@keyframes scroll-cue-line-pulse {
  0% {
    background: rgba(var(--ink-rgb), 0.52);
  }
  22% {
    background: rgba(var(--ink-rgb), 0.92);
  }
  100% {
    background: rgba(var(--ink-rgb), 0.52);
  }
}

@keyframes scroll-cue-scale-pulse {
  0% {
    transform: translateX(-50%) scale(1);
  }
  22% {
    transform: translateX(-50%) scale(1.18);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

@keyframes scroll-cue-head-pulse {
  0% {
    border-color: rgba(var(--ink-rgb), 0.52);
  }
  22% {
    border-color: rgba(var(--ink-rgb), 0.92);
  }
  100% {
    border-color: rgba(var(--ink-rgb), 0.52);
  }
}

@keyframes hero-quote-slide-away {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-120%);
  }
}

@keyframes hero-quote-slide-in {
  0% {
    opacity: 0;
    transform: translateY(120%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes particle-burst {
  0% {
    opacity: 1;
    transform:
      translate(
        calc(-50% + var(--particle-start-x, 0px)),
        calc(-50% + var(--particle-start-y, 0px))
      )
      rotate(var(--particle-rotate, 0deg))
      scale(0.7);
  }
  48% {
    opacity: 1;
    transform:
      translate(
        calc(-50% + var(--particle-mid-x, 0px)),
        calc(-50% + var(--particle-mid-y, 0px))
      )
      rotate(calc(var(--particle-rotate, 0deg) + 90deg))
      scale(1.15);
  }
  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--particle-x, 0px)),
        calc(-50% + var(--particle-y, 0px))
      )
      rotate(calc(var(--particle-rotate, 0deg) + 170deg))
      scale(0.18);
  }
}

.feature-overview {
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(var(--ink-rgb), 0.06) 1.2px, transparent 0) 0 0 / 22px 22px,
    var(--paper);
  padding: clamp(4.5rem, 8vw, 7rem) 1rem;
}

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

.legal-shell h1 {
  max-width: 44rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  line-height: 1.02;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 0;
}

.feature-panel {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--control-radius) + 0.48rem);
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow:
    0 20px 44px -34px rgba(var(--shadow-rgb), 0.42),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.82);
}

.feature-panel h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  font-weight: 850;
  line-height: 1.08;
}

.feature-panel p {
  margin: 0;
  color: rgba(var(--ink-rgb), 0.76);
  font-size: 0.96rem;
  line-height: 1.65;
}

.feature-panel p + p {
  margin-top: 1rem;
}

.feature-panel a {
  color: var(--teal-strong);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.feature-panel a:hover,
.feature-panel a:focus-visible {
  color: var(--ink);
  outline: none;
}

.feature-icon {
  display: flex;
  min-height: 6rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.feature-icon img {
  width: 5.4rem;
  height: 5.4rem;
  object-fit: contain;
  filter: var(--feature-icon-filter);
}

.feature-icon-row {
  gap: clamp(0.35rem, 1vw, 0.75rem);
}

.feature-icon-row img {
  width: clamp(3.05rem, 5vw, 4rem);
  height: clamp(3.05rem, 5vw, 4rem);
}

.feature-icon .feature-icon-ya {
  filter: var(--feature-logo-filter);
  transform: rotate(-4deg);
}

.feature-icon-heart {
  transform: rotate(7deg);
}

.feature-icon-yomitan {
  border-radius: 0.72rem;
  transform: rotate(1deg);
}

.product-carousel {
  width: min(100%, 66rem);
  margin: clamp(1.45rem, 3vw, 2.5rem) auto 0;
}

.carousel-viewport {
  position: relative;
  aspect-ratio: 2956 / 2500;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: calc(var(--control-radius) + 0.48rem);
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow:
    0 24px 54px -38px rgba(var(--shadow-rgb), 0.42),
    0 0.34rem 0 rgba(var(--ink-rgb), 0.06),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.82);
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  height: 100%;
  transform: translateX(0);
  transition: transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  place-items: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  background: var(--image-placeholder);
  object-fit: cover;
}

.carousel-slide img:not([src]) {
  visibility: hidden;
}

.carousel-image-button {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-grid;
  width: clamp(2.65rem, 4vw, 3.35rem);
  height: clamp(2.65rem, 4vw, 3.35rem);
  padding: 0;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  border-radius: var(--control-radius);
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow:
    0 16px 34px -22px rgba(var(--shadow-rgb), 0.46),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.9);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 750;
  line-height: 1;
  opacity: 1;
  place-items: center;
  transform: translateY(-50%) scale(1);
  backdrop-filter: blur(18px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.carousel-image-button span {
  display: block;
  width: 0.72rem;
  height: 0.72rem;
  border: solid currentColor;
  border-width: 0 0.25rem 0.25rem 0;
  font-size: 0;
  line-height: 0;
}

.carousel-image-button-prev span {
  transform: translateX(0.1rem) rotate(135deg);
}

.carousel-image-button-next span {
  transform: translateX(-0.1rem) rotate(-45deg);
}

.carousel-image-button-prev {
  left: clamp(0.7rem, 2vw, 1.2rem);
}

.carousel-image-button-next {
  right: clamp(0.7rem, 2vw, 1.2rem);
}

.carousel-image-button:hover,
.carousel-image-button:focus-visible {
  border-color: rgba(var(--ink-rgb), 0.2);
  background: rgba(var(--surface-rgb), 0.9);
  box-shadow:
    0 18px 36px -22px rgba(var(--shadow-rgb), 0.5),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.94);
  outline: none;
}

.carousel-dot {
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  background: rgba(var(--surface-rgb), 0.74);
  box-shadow:
    0 14px 30px -24px rgba(var(--shadow-rgb), 0.42),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.88);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.carousel-dots {
  position: absolute;
  bottom: clamp(0.65rem, 1.6vw, 1rem);
  left: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--control-radius);
  background: rgba(var(--surface-rgb), 0.68);
  box-shadow:
    0 16px 34px -24px rgba(var(--shadow-rgb), 0.5),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.88);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.carousel-dot {
  --dot-color: var(--blue);
  position: relative;
  overflow: hidden;
  width: 0.64rem;
  height: 0.64rem;
  padding: 0;
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.68);
  opacity: 1;
}

.carousel-dot::before {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: inherit;
  background: var(--dot-color);
  content: "";
  opacity: 0.42;
  transition:
    opacity 160ms ease,
    width 160ms ease;
}

.carousel-dot:nth-child(2) {
  --dot-color: var(--pink);
}

.carousel-dot:nth-child(3) {
  --dot-color: var(--green);
}

.carousel-dot:nth-child(4) {
  --dot-color: var(--yellow);
}

.carousel-dot.is-active {
  width: 2.7rem;
}

.carousel-dot.is-active::before {
  opacity: 0.92;
}

.product-carousel.is-autoplaying .carousel-dot.is-active::before {
  width: 0;
  animation: carousel-dot-progress var(--carousel-interval, 6000ms) linear forwards;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  border-color: rgba(var(--ink-rgb), 0.18);
  outline: none;
}

.carousel-dot.is-active:hover,
.carousel-dot.is-active:focus-visible,
.carousel-dot:hover::before,
.carousel-dot:focus-visible::before {
  opacity: 1;
}

@keyframes carousel-dot-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.faq-section {
  padding: clamp(4rem, 7vw, 6.5rem) 1rem;
  border-top: 1px solid rgba(var(--ink-rgb), 0.08);
  background:
    radial-gradient(circle at 1px 1px, rgba(var(--ink-rgb), 0.055) 1.2px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.faq-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 850;
  line-height: 1;
}

.faq-heading p {
  max-width: 21rem;
  margin: 1rem 0 0;
  color: rgba(var(--ink-rgb), 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 0.82rem;
}

.faq-item {
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: calc(var(--control-radius) + 0.24rem);
  background: rgba(var(--surface-rgb), 0.72);
  box-shadow:
    0 18px 38px -32px rgba(var(--shadow-rgb), 0.38),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.82);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 1.05rem 3.25rem 1.05rem 1.2rem;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 760;
  line-height: 1.25;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 0.62rem;
  height: 0.62rem;
  border: solid currentColor;
  border-width: 0 0.14rem 0.14rem 0;
  content: "";
  opacity: 0.62;
  transform: translateY(-62%) rotate(45deg);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.faq-item[open] summary::after {
  opacity: 0.88;
  transform: translateY(-38%) rotate(-135deg);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  background: rgba(var(--surface-rgb), 0.72);
  outline: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.18rem;
  color: rgba(var(--ink-rgb), 0.72);
  font-size: 0.98rem;
  line-height: 1.68;
}

.site-footer {
  border-top: 1px solid rgba(var(--ink-rgb), 0.1);
  background:
    radial-gradient(circle at 1px 1px, rgba(var(--ink-rgb), 0.07) 1.2px, transparent 0) 0 0 / 22px 22px,
    var(--paper-alt);
  color: rgba(var(--ink-rgb), 0.72);
}

.footer-inner {
  display: flex;
  width: min(100%, 72rem);
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 1.2rem 1rem;
}

.footer-inner span {
  font-weight: 800;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.2rem;
}

.footer-inner a {
  color: rgba(var(--ink-rgb), 0.68);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle-label {
  color: rgba(var(--ink-rgb), 0.56);
  font-size: 0.82rem;
  font-weight: 800;
}

.theme-toggle-options {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--control-radius);
  background: rgba(var(--surface-rgb), 0.58);
  box-shadow:
    0 14px 28px -24px rgba(var(--shadow-rgb), 0.45),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.78);
}

.theme-option {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.64rem;
  border: 1px solid transparent;
  border-radius: calc(var(--control-radius) - 0.28rem);
  background: transparent;
  color: rgba(var(--ink-rgb), 0.62);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.theme-option:hover,
.theme-option:focus-visible {
  color: var(--ink);
  outline: none;
}

.theme-option.is-active,
.theme-option[aria-pressed="true"] {
  border-color: rgba(var(--ink-rgb), 0.12);
  background: rgba(var(--surface-rgb), 0.84);
  box-shadow:
    0 8px 20px -18px rgba(var(--shadow-rgb), 0.48),
    inset 0 1px 0 rgba(var(--surface-rgb), 0.86);
  color: var(--ink);
}

.legal-page {
  background:
    radial-gradient(circle at 1px 1px, rgba(var(--ink-rgb), 0.06) 1.2px, transparent 0) 0 0 / 22px 22px,
    var(--paper);
}

.legal-header {
  display: flex;
  width: min(calc(100% - 2rem), 72rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem auto 0;
  padding: 0.5rem 0;
}

.legal-logo img {
  width: 6.4rem;
  height: auto;
  filter: var(--logo-filter);
}

.legal-shell {
  width: min(calc(100% - 2rem), 52rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.legal-shell h1 {
  margin-bottom: 2rem;
}

.legal-shell h2 {
  margin: 2.25rem 0 0.7rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.legal-shell p {
  margin: 0 0 1rem;
  color: var(--body-text-strong);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-shell ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--body-text-strong);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-shell li {
  margin: 0 0 0.75rem;
}

@media (max-width: 760px) {
  .site-header {
    top: max(0.7rem, env(safe-area-inset-top));
    width: min(calc(100vw - 2rem), 54rem);
    gap: 0.55rem;
  }

  .header-actions {
    gap: 0.32rem;
  }

  .header-link {
    padding-inline: 0.62rem;
  }

  .hero {
    cursor: auto;
  }

  .cursor-sticker {
    display: none;
  }

  .touch-hint {
    position: absolute;
    right: 1.2rem;
    bottom: max(3.4rem, calc(env(safe-area-inset-bottom) + 3.2rem));
    z-index: 25;
    display: block;
    margin: 0;
    color: rgba(var(--ink-rgb), 0.36);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1;
    pointer-events: none;
  }

  .hero.has-placed-sticker .touch-hint {
    display: none;
  }

  .hero-quote {
    bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4.8rem));
    gap: 0.2rem;
    max-width: min(calc(100vw - 1.5rem), 24rem);
    padding: 0.68rem 0.9rem;
    border-radius: 1.15rem;
  }

  .hero-quote blockquote {
    font-size: 0.82rem;
  }

  .hero-quote figcaption {
    font-size: 0.72rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    min-height: 13rem;
  }

  .product-carousel {
    margin-top: 1.15rem;
  }

  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-heading p {
    max-width: 34rem;
  }

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

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .hero-center {
    gap: 0.75rem;
    padding: 4rem 1rem 9rem;
  }

  .hero-logo {
    width: 16rem;
  }

  .hero-tagline-title {
    margin-bottom: 0.28rem;
    font-size: 1.65rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
