/* KokuuSkin Homepage v4
   Editorial brand landing page for the Minecraft skin service.
   All colors and spacing consume kokuu-appearance design tokens. */

body {
  margin: 0;
}
.kokuu-root,
.kokuu-root *,
.kokuu-root *::before,
.kokuu-root *::after {
  box-sizing: border-box;
}

.kokuu-root {
  --home-max: 1240px;
  --home-gutter: clamp(20px, 5vw, 72px);
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background: var(--k-bg, #f7f5f0);
  color: var(--k-text, #241a45);
  font-family: var(
    --k-font-sans,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif
  );
  transition: background var(--k-dur-slow, 0.38s) var(--k-ease, ease),
    color var(--k-dur-slow, 0.38s) var(--k-ease, ease);
}

.kokuu-grid {
  display: none;
}
.kokuu-dust {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}
.kokuu-root > *:not(.kokuu-grid):not(.kokuu-dust) {
  position: relative;
  z-index: 2;
}

.px-dot,
.px-moon,
.px-sun,
.px-grass,
.px-water,
.px-mine {
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  vertical-align: middle;
  border-radius: 3px;
}
.px-dot {
  background: var(--k-brand-rain, #0fa3a3);
}
.px-moon {
  background: var(--k-brand-moon, #c9bcf0);
  border-radius: 50%;
  box-shadow: inset -3px 0 0 var(--k-surface, #fff);
}
.px-sun {
  background: #e5ad4a;
  border-radius: 50%;
}
.px-grass {
  background: #83a96a;
}
.px-water {
  background: #6ba7d1;
}
.px-mine {
  background: var(--k-brand-lilac, #8b7fd4);
}

/* Navigation */
.kokuu-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--k-z-nav, 1000);
  height: var(--k-nav-h, 64px);
  pointer-events: none;
  background: color-mix(in srgb, var(--k-bg, #f7f5f0) 86%, transparent);
  border-bottom: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.kokuu-topbar {
  position: relative;
  z-index: var(--k-z-nav, 1000);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--home-max));
  height: var(--k-nav-h, 64px);
  margin: 0 auto;
  padding: 0 var(--home-gutter);
}
.kokuu-brand {
  color: var(--k-text, #241a45);
  text-decoration: none;
}
.kokuu-brand:hover {
  color: var(--k-text, #241a45);
}
.kokuu-brand-name,
.kokuu-foot-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kokuu-accent {
  color: var(--k-brand-rain, #0fa3a3);
}
.kokuu-topbar-right {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
}
.kokuu-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kokuu-nav a {
  padding: 8px 12px;
  color: var(--k-text-2, #6b6483);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  border-radius: var(--k-r-pill, 999px);
  transition: color 0.18s ease, background 0.18s ease;
}
.kokuu-nav a:hover {
  color: var(--k-text, #241a45);
  background: var(--k-surface-3, #f3f1ec);
}
.kokuu-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--k-text-2, #6b6483);
  background: var(--k-surface, #fff);
  border: 1px solid var(--k-border-2, rgba(43, 31, 82, 0.16));
  border-radius: var(--k-r-pill, 999px);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.kokuu-theme-toggle:hover {
  color: var(--k-text, #241a45);
  border-color: var(--k-border-strong, rgba(43, 31, 82, 0.26));
}
.kokuu-theme-toggle .px-moon,
.kokuu-theme-toggle .px-sun {
  width: 8px;
  height: 8px;
}

/* Full-width scene hero */
.kokuu-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: min(calc(100% - 2 * var(--home-gutter)), var(--home-max));
  min-height: clamp(530px, 65vw, 720px);
  margin: 24px auto 0;
  padding: clamp(30px, 5vw, 68px);
  isolation: isolate;
}
.kokuu-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: var(--k-r-xl, 22px);
  background: #211b36;
}
.kokuu-shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  margin: 0;
  background-color: #211b36;
  background-image: linear-gradient(
      110deg,
      rgba(18, 12, 34, 0.18),
      rgba(18, 12, 34, 0.04)
    ),
    var(--kokuu-hero-image, none);
  background-size: cover;
  background-position: center 48%;
}
.kokuu-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(18, 12, 34, 0.72) 0%,
      rgba(18, 12, 34, 0.5) 38%,
      rgba(18, 12, 34, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(18, 12, 34, 0.38) 0%, transparent 38%);
  transition: background 0.55s ease;
}
.kokuu-align-right .kokuu-shot::after {
  background: linear-gradient(
      270deg,
      rgba(18, 12, 34, 0.7) 0%,
      rgba(18, 12, 34, 0.46) 38%,
      rgba(18, 12, 34, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(18, 12, 34, 0.38) 0%, transparent 38%);
}
.kokuu-shot-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1s cubic-bezier(0.2, 0.65, 0.3, 1), transform 7s linear;
  image-rendering: auto;
}
.kokuu-shot-img.is-on {
  opacity: 1;
  transform: scale(1);
}
.kokuu-shot-single {
  opacity: 1;
  transform: none;
}
.kokuu-shot-cap {
  position: absolute;
  right: clamp(20px, 3vw, 38px);
  bottom: clamp(20px, 3vw, 38px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(15, 12, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--k-r-pill, 999px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 550;
}
.kokuu-shot-cap em {
  padding-left: 9px;
  color: rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.kokuu-bg-dots {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 3vw, 38px);
  bottom: clamp(20px, 3vw, 38px);
  display: flex;
  gap: 8px;
}
.kokuu-bg-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.kokuu-bg-dot.is-on {
  width: 24px;
  border-radius: 99px;
  background: #fff;
}
.kokuu-bg-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.kokuu-bg-progress {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.24);
}
.kokuu-bg-progress.is-run::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(
    90deg,
    var(--k-brand-rain, #0fa3a3),
    var(--k-brand-lilac, #8b7fd4)
  );
  animation: kokuuSlide 5.2s linear forwards;
}
@keyframes kokuuSlide {
  to {
    transform: scaleX(0);
  }
}
.kokuu-hero-text {
  position: relative;
  z-index: 2;
  width: min(58%, 700px);
  max-width: 700px;
  padding-bottom: clamp(16px, 4vw, 50px);
  transition: margin 0.45s ease, transform 0.45s ease;
}
.kokuu-align-left-upper {
  align-items: flex-start;
}
.kokuu-align-left-upper .kokuu-hero-text {
  align-self: flex-start;
  padding-top: clamp(60px, 9vw, 124px);
}
.kokuu-align-left-lower {
  align-items: flex-end;
}
.kokuu-align-left-lower .kokuu-hero-text {
  align-self: flex-end;
}
.kokuu-align-right {
  justify-content: flex-end;
}
.kokuu-align-right .kokuu-hero-text {
  align-self: flex-end;
}
.kokuu-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kokuu-eyebrow .px-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 227, 208, 0.14);
}
.kokuu-title {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.kokuu-tagline {
  max-width: 650px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 560;
  line-height: 1.45;
  text-wrap: pretty;
}
.kokuu-sub {
  max-width: 590px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}
.kokuu-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.kbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 21px;
  color: var(--k-text, #241a45);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--k-r-pill, 999px);
  box-shadow: 0 4px 18px rgba(12, 8, 25, 0.13);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.kbtn:hover {
  color: var(--k-text, #241a45);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 8, 25, 0.2);
}
.kbtn:focus-visible {
  outline: 3px solid var(--k-brand-rain, #0fa3a3);
  outline-offset: 3px;
}
.kbtn.primary {
  color: #fff;
  background: var(--k-brand-ink, #2b1f52);
  border-color: transparent;
}
.kbtn.primary:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--k-brand-ink, #2b1f52) 82%,
    var(--k-brand-lilac, #8b7fd4)
  );
}
.kokuu-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  list-style: none;
}
.kokuu-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.kokuu-badges .px-grass,
.kokuu-badges .px-water,
.kokuu-badges .px-moon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.kokuu-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translateX(-50%);
}
.kokuu-scroll span {
  width: 6px;
  height: 6px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: translateY(-2px) rotate(45deg);
}

.kokuu-pause {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(18, 12, 34, 0.35);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.kokuu-pause:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}
.kokuu-align-left-upper .kokuu-shot::after {
  background: linear-gradient(
    90deg,
    rgba(18, 12, 34, 0.65),
    rgba(18, 12, 34, 0.04) 72%
  );
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-hero {
    min-height: 640px;
    padding-top: 250px;
  }
  .kokuu-root .kokuu-hero-art {
    border-radius: 18px;
  }
  .kokuu-root .kokuu-hero-text {
    width: 100%;
    max-width: 100%;
    align-self: flex-end;
    padding-top: 0;
    padding-bottom: 24px;
  }
  .kokuu-root .kokuu-shot::after {
    background: linear-gradient(
      0deg,
      rgba(18, 12, 34, 0.93),
      rgba(18, 12, 34, 0.65) 42%,
      transparent 78%
    );
  }
  .kokuu-root .kokuu-shot-img {
    object-position: 70% center;
  }
  .kokuu-root .kokuu-align-left-upper .kokuu-shot-img {
    object-position: 36% center;
  }
  .kokuu-root .kokuu-align-right .kokuu-shot-img {
    object-position: 46% center;
  }
  .kokuu-root .kokuu-nav {
    display: flex;
    gap: 0;
  }
  .kokuu-root .kokuu-nav a {
    padding: 6px;
    font-size: 11px;
  }
  .kokuu-root .kokuu-topbar {
    padding: 0 12px;
    gap: 8px;
  }
  .kokuu-root .kokuu-topbar-right {
    gap: 6px;
  }
  .kokuu-root .kokuu-theme-toggle {
    padding: 0 8px;
    min-height: 34px;
  }
  .kokuu-root .kokuu-brand-name {
    font-size: 15px;
  }
}

/* Content sections */
.kokuu-main {
  width: min(calc(100% - 2 * var(--home-gutter)), var(--home-max));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) 0 clamp(60px, 8vw, 96px);
}
.kokuu-block {
  margin-bottom: clamp(70px, 9vw, 112px);
}
.kokuu-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.kokuu-featured-skin {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 142px;
  padding: 14px 18px 14px 12px;
  color: var(--k-text, #241a45);
  background: var(--k-surface, #fff);
  border: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
  border-radius: var(--k-r-lg, 16px);
  box-shadow: var(--k-elev-1, 0 2px 8px rgba(36, 26, 69, 0.06));
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kokuu-featured-skin:hover {
  color: var(--k-text, #241a45);
  transform: translateY(-3px);
  box-shadow: var(--k-elev-2, 0 8px 24px rgba(36, 26, 69, 0.1));
}
.kokuu-featured-art {
  display: grid;
  place-items: center;
  height: 114px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 50% 58%,
    color-mix(in srgb, var(--k-brand-lilac, #8b7fd4) 18%, transparent),
    transparent 69%
  );
  border-radius: var(--k-r-md, 12px);
}
.kokuu-featured-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}
.kokuu-featured-meta {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.kokuu-featured-meta strong {
  overflow: hidden;
  color: var(--k-text, #241a45);
  font-size: 13px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kokuu-featured-meta span {
  color: var(--k-text-2, #6b6483);
  font-size: 11px;
}
.kokuu-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.kokuu-kicker {
  margin: 0 0 9px;
  color: var(--k-brand-rain, #0fa3a3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kokuu-h2 {
  margin: 0;
  color: var(--k-text, #241a45);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.kokuu-section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--k-brand-rain, #0fa3a3);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.kokuu-section-link:hover {
  color: var(--k-brand-ink, #2b1f52);
}
.kokuu-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.kcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: clamp(20px, 2.5vw, 30px);
  color: var(--k-text, #241a45);
  background: var(--k-surface, #fff);
  border: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
  border-radius: var(--k-r-lg, 16px);
  box-shadow: var(--k-elev-1, 0 2px 8px rgba(36, 26, 69, 0.06));
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.kcard:hover {
  color: var(--k-text, #241a45);
  transform: translateY(-3px);
  border-color: var(--k-border-2, rgba(43, 31, 82, 0.16));
  box-shadow: var(--k-elev-2, 0 8px 24px rgba(36, 26, 69, 0.1));
}
.kcard:focus-visible {
  outline: 3px solid var(--k-brand-rain, #0fa3a3);
  outline-offset: 3px;
}
.kcard-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--k-text-3, #9a94ac);
  font-family: var(--k-font-mono, monospace);
  font-size: 11px;
}
.kcard-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 0 24px;
  background: var(--k-surface-3, #f3f1ec);
  border-radius: 14px;
}
.kcard-ico .px-grass,
.kcard-ico .px-water,
.kcard-ico .px-mine {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.kcard h3 {
  margin: 0 0 9px;
  color: var(--k-text, #241a45);
  font-size: 18px;
  font-weight: 700;
}
.kcard p {
  margin: 0 0 22px;
  color: var(--k-text-2, #6b6483);
  font-size: 13px;
  line-height: 1.7;
}
.kmore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--k-brand-rain, #0fa3a3);
  font-size: 13px;
  font-weight: 650;
}
.kokuu-steps {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 8vw, 110px);
  align-items: start;
  padding: clamp(26px, 5vw, 56px);
  background: var(--k-surface-2, #faf9f6);
  border: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
  border-radius: var(--k-r-xl, 22px);
}
.kokuu-steps-copy .kokuu-h2 {
  max-width: 390px;
}
.kokuu-steps-copy > p:last-child {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--k-text-2, #6b6483);
  font-size: 14px;
  line-height: 1.7;
}
.kokuu-step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kokuu-step-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
}
.kokuu-step-list li:first-child {
  padding-top: 0;
}
.kokuu-step-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.kokuu-step-list li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--k-brand-ink, #2b1f52);
  background: color-mix(
    in srgb,
    var(--k-brand-lilac, #8b7fd4) 15%,
    var(--k-surface, #fff)
  );
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.kokuu-step-list strong {
  display: block;
  margin: 1px 0 4px;
  color: var(--k-text, #241a45);
  font-size: 14px;
  font-weight: 680;
}
.kokuu-step-list p {
  margin: 0;
  color: var(--k-text-2, #6b6483);
  font-size: 12px;
  line-height: 1.65;
}

/* Footer */
.kokuu-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 36px;
  align-items: center;
  width: min(calc(100% - 2 * var(--home-gutter)), var(--home-max));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
}
.foot-left p {
  margin: 7px 0 0;
  color: var(--k-text-2, #6b6483);
  font-size: 12px;
}
.foot-right {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
}
.foot-right a {
  color: var(--k-text-2, #6b6483);
  text-decoration: none;
  font-size: 12px;
}
.foot-right a:hover {
  color: var(--k-brand-rain, #0fa3a3);
}
.foot-fine {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--k-border, rgba(43, 31, 82, 0.1));
  color: var(--k-text-3, #9a94ac);
  font-size: 11px;
}

/* Entrance motion stays subtle; content remains readable without JS observers. */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .kokuu-hero {
    min-height: 660px;
  }
  .kokuu-hero-text {
    width: min(70%, 620px);
  }
  .kokuu-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kokuu-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kokuu-featured-skin:last-child {
    display: none;
  }
  .kokuu-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
@media (max-width: 640px) {
  .kokuu-topbar {
    padding: 0 18px;
  }
  .kokuu-nav {
    display: none;
  }
  .kokuu-hero {
    width: calc(100% - 20px);
    min-height: 600px;
    margin-top: 10px;
    padding: 24px 22px 50px;
  }
  .kokuu-hero-art,
  .kokuu-shot {
    border-radius: 18px;
  }
  .kokuu-shot::after {
    background: linear-gradient(
        90deg,
        rgba(13, 10, 28, 0.72),
        rgba(13, 10, 28, 0.18)
      ),
      linear-gradient(0deg, rgba(13, 10, 28, 0.5), transparent 65%);
  }
  .kokuu-hero-text,
  .kokuu-align-right .kokuu-hero-text,
  .kokuu-align-left-upper .kokuu-hero-text {
    width: 100%;
    max-width: 100%;
    align-self: flex-end;
    padding-top: 0;
    padding-bottom: 32px;
  }
  .kokuu-title {
    font-size: clamp(42px, 13vw, 68px);
  }
  .kokuu-tagline {
    font-size: 18px;
  }
  .kokuu-sub {
    font-size: 13px;
  }
  .kokuu-main {
    width: calc(100% - 36px);
    padding-top: 58px;
  }
  .kokuu-section-head {
    display: block;
  }
  .kokuu-section-link {
    margin-top: 16px;
  }
  .kokuu-cards,
  .kokuu-featured-grid {
    grid-template-columns: 1fr;
  }
  .kokuu-featured-skin:last-child {
    display: grid;
  }
  .kokuu-featured-skin {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 118px;
  }
  .kokuu-featured-art {
    height: 94px;
  }
  .kcard {
    min-height: 0;
  }
  .kokuu-steps {
    padding: 24px 20px;
  }
  .kokuu-shot-cap {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: fit-content;
  }
  .kokuu-bg-dots {
    top: 15px;
    right: 14px;
    bottom: auto;
  }
  .kokuu-foot {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }
  .foot-right {
    gap: 10px 18px;
  }
}
.kokuu-root .kokuu-navbar {
  display: none;
}
.kokuu-root .kokuu-topbar {
  position: relative;
  top: 0;
  margin-top: 0;
}
.kokuu-root .kokuu-shot-cap {
  bottom: 22px;
}
.kokuu-root .kokuu-bg-dots {
  bottom: 70px;
  padding: 10px;
}
.kokuu-root .kokuu-bg-dot {
  min-width: 12px;
  min-height: 12px;
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-hero {
    width: calc(100% - 20px);
    min-width: 0;
    padding: 250px 22px 50px;
  }
  .kokuu-root .kokuu-hero-text {
    min-width: 0;
    width: 100%;
  }
  .kokuu-root .kokuu-topbar {
    width: 100%;
    padding: 0 12px;
  }
  .kokuu-root .kokuu-topbar-right {
    min-width: 0;
  }
  .kokuu-root .kokuu-nav a {
    padding: 6px 4px;
  }
  .kokuu-root .kokuu-bg-dots {
    top: 12px;
    bottom: auto;
    right: 78px;
  }
  .kokuu-root .kokuu-title {
    font-size: 46px;
  }
  .kokuu-root .kokuu-tagline {
    font-size: 18px;
  }
  .kokuu-root .kokuu-shot-cap {
    left: 14px;
    bottom: 14px;
  }
}

.kokuu-root .kokuu-hero {
  overflow: hidden;
  border-radius: 22px;
}
.kokuu-root .kokuu-align-left-upper {
  align-items: flex-start;
}
.kokuu-root .kokuu-align-left-upper .kokuu-hero-text {
  width: 34%;
  padding-top: 12px;
  padding-bottom: 0;
}
.kokuu-align-left-upper .kokuu-title {
  font-size: clamp(38px, 4vw, 58px);
}
.kokuu-align-left-upper .kokuu-tagline {
  font-size: 20px;
}
.kokuu-align-right .kokuu-hero-text {
  width: 42%;
  align-self: flex-start;
  padding-top: 40px;
}
.kokuu-align-right .kokuu-title {
  font-size: clamp(40px, 4.5vw, 65px);
}
.kokuu-align-right .kokuu-tagline {
  font-size: 22px;
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-hero {
    width: calc(100% - 20px);
    border-radius: 18px;
  }
  .kokuu-root .kokuu-hero .kokuu-hero-text {
    width: 100%;
    align-self: flex-end;
    padding-top: 0;
  }
  .kokuu-root .kokuu-hero .kokuu-title {
    font-size: 42px;
  }
  .kokuu-root .kokuu-hero .kokuu-tagline {
    font-size: 18px;
  }
  .kokuu-root .kokuu-nav a {
    font-size: 10px;
    padding: 5px 3px;
  }
  .kokuu-root .kokuu-topbar-right {
    gap: 4px;
  }
  .kokuu-root .kokuu-theme-toggle {
    font-size: 10px;
    padding: 0 6px;
  }
}
@media (min-width: 901px) {
  .kokuu-root .kokuu-align-left-upper .kokuu-hero-text {
    width: 29%;
    padding-top: 0;
  }
  .kokuu-root .kokuu-align-left-upper .kokuu-title {
    font-size: 48px;
  }
  .kokuu-root .kokuu-align-left-upper .kokuu-tagline {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-hero-art .kokuu-shot-img {
    object-position: 82% top;
  }
  .kokuu-root .kokuu-align-left-upper .kokuu-shot-img {
    object-position: 34% top;
  }
  .kokuu-root .kokuu-align-right .kokuu-shot-img {
    object-position: 44% top;
  }
  .kokuu-root .kokuu-scroll {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .kokuu-shot-img,
  .kcard,
  .kokuu-shot,
  .kbtn,
  .kokuu-nav a {
    transition: none !important;
  }
  .kokuu-shot-img {
    transform: none;
  }
  .kokuu-bg-progress.is-run::after {
    animation: none;
    transform: scaleX(1);
  }
  html {
    scroll-behavior: auto !important;
  }
}

/* Homepage-only finish. Geometry and all interior pages remain unchanged. */
.kokuu-root {
  --k-bg: #f6f3ed;
  --k-surface: #fffefb;
  --k-surface-2: #f0ece5;
  --k-surface-3: #e9e3da;
  --k-text: #302d39;
  --k-text-2: #66616c;
  --k-text-3: #78717c;
  --k-brand-ink: #42374f;
  --k-brand-rain: #756044;
  --k-brand-lilac: #91809f;
  --k-border: rgba(72, 57, 46, 0.11);
  --k-border-2: rgba(72, 57, 46, 0.18);
  --k-border-strong: rgba(104, 80, 53, 0.32);
  --home-gold: #e7cd9d;
  --home-gold-ink: #30283b;
  background: radial-gradient(
      ellipse at 85% 42%,
      rgba(217, 196, 162, 0.1),
      transparent 54%
    ),
    #f6f3ed;
}
.kokuu-root .kokuu-brand-name {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.kokuu-root .kokuu-brand {
  flex-shrink: 0;
}
.kokuu-root .kokuu-brand .kokuu-accent {
  color: #927248;
}
.kokuu-root .kokuu-foot-brand {
  font-size: 21px;
}
.kokuu-root .kokuu-theme-toggle {
  background: #fffdf7;
  color: #625b6a;
  border-color: #d9d0c1;
  box-shadow: 0 2px 8px rgba(65, 49, 30, 0.04);
}
.kokuu-root .kokuu-eyebrow,
.kokuu-root .kokuu-kicker {
  background: transparent;
}
.kokuu-root .kokuu-hero .kokuu-eyebrow {
  color: #eee1cb;
}
.kokuu-root .kokuu-hero .kokuu-title {
  color: #fffaf0;
  text-shadow: 0 3px 24px rgba(15, 12, 22, 0.16);
}
.kokuu-root .kokuu-hero .kokuu-tagline {
  color: #fff5e5;
}
.kokuu-root .kokuu-hero .kokuu-sub,
.kokuu-root .kokuu-badges {
  color: #e8dfd7;
}
.kokuu-root .kokuu-hero .kbtn.primary {
  color: #30283b;
  background: linear-gradient(145deg, #f2dfb8, #dfc08a);
  border-color: rgba(255, 244, 214, 0.65);
  box-shadow: 0 4px 16px rgba(15, 10, 21, 0.18);
}
.kokuu-root .kokuu-hero .kbtn.primary:hover {
  color: #30283b;
  background: linear-gradient(145deg, #faebce, #e8cd9f);
  box-shadow: 0 7px 22px rgba(15, 10, 21, 0.22);
}
.kokuu-root .kokuu-hero .kbtn:not(.primary) {
  color: #fff4e2;
  background: rgba(41, 34, 47, 0.53);
  border-color: rgba(246, 229, 199, 0.42);
  backdrop-filter: blur(12px);
  box-shadow: none;
}
.kokuu-root .kokuu-hero .kbtn:not(.primary):hover {
  color: #fffaf0;
  background: rgba(70, 56, 70, 0.73);
}
.kokuu-root .kokuu-shot-cap {
  color: #f2e7d6;
  background: rgba(30, 25, 39, 0.66);
  border-color: rgba(236, 212, 172, 0.26);
}
.kokuu-root .kokuu-shot-cap em {
  color: #d3c5b3;
}
.kokuu-root .kokuu-bg-progress.is-run::after {
  background: linear-gradient(90deg, #c5ad88, #c6b6d7);
}
.kokuu-root .kokuu-pause {
  color: #f3e8d8;
  border-color: rgba(236, 212, 172, 0.35);
  background: rgba(30, 25, 39, 0.46);
}
.kokuu-root .kcard,
.kokuu-root .kokuu-featured-skin {
  box-shadow: 0 2px 5px rgba(58, 42, 28, 0.025),
    0 8px 24px rgba(58, 42, 28, 0.035);
}
.kokuu-root .kcard-ico {
  background: #f1eae0;
}
.kokuu-root .kokuu-featured-art {
  background: radial-gradient(
    ellipse at 50% 65%,
    rgba(187, 165, 143, 0.17),
    transparent 72%
  );
}
.kokuu-root .kokuu-step-list li > span {
  background: #e7dfd2;
  color: #645136;
}
.kokuu-root a:focus-visible,
.kokuu-root button:focus-visible {
  outline: 2px solid #b48b53;
  outline-offset: 4px;
}
/* Night composition: blue-slate canvas, elevated plum surfaces, warm readable accents.
   Reset old void.css declarations explicitly, rather than inverting the page. */
.kokuu-root.kokuu-void {
  --k-bg: #151821;
  --k-bg-sub: #191c27;
  --k-surface: #212530;
  --k-surface-2: #1b1f2a;
  --k-surface-3: #2c303d;
  --k-text: #f0eae0;
  --k-text-2: #c1bac6;
  --k-text-3: #a79eaf;
  --k-brand-ink: #d7bfdc;
  --k-brand-rain: #d6bb8e;
  --k-brand-lilac: #b9a5c9;
  --k-brand-moon: #d5c8e6;
  --k-border: rgba(222, 205, 180, 0.12);
  --k-border-2: rgba(222, 205, 180, 0.21);
  --k-border-strong: rgba(228, 201, 155, 0.4);
  --k-elev-1: 0 3px 12px rgba(0, 0, 0, 0.14);
  --k-elev-2: 0 7px 26px rgba(0, 0, 0, 0.23);
  --k-elev-3: 0 16px 40px rgba(0, 0, 0, 0.3);
  --paper: #151821;
  --surface: #212530;
  --surface-2: #2c303d;
  --text: #f0eae0;
  --text-2: #c1bac6;
  --text-3: #a79eaf;
  --sep: rgba(222, 205, 180, 0.12);
  background: radial-gradient(
      ellipse at 82% 48%,
      rgba(119, 92, 133, 0.09),
      transparent 55%
    ),
    linear-gradient(180deg, #171b26 0%, #141720 100%);
  color: #f0eae0;
  color-scheme: dark;
}
.kokuu-root.kokuu-void .kokuu-brand {
  color: #f0eae0;
}
.kokuu-root.kokuu-void .kokuu-brand .kokuu-accent {
  color: #d6bb8e;
}
.kokuu-root.kokuu-void .kokuu-nav a {
  color: #c8c0cf;
}
.kokuu-root.kokuu-void .kokuu-nav a:hover {
  color: #fff3dc;
  background: #292d3a;
}
.kokuu-root.kokuu-void .kokuu-theme-toggle {
  color: #e2d2bc;
  background: #252a37;
  border-color: #474350;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.kokuu-root.kokuu-void .kokuu-theme-toggle:hover {
  color: #fff1d9;
  background: #303341;
}
.kokuu-root.kokuu-void .kokuu-hero {
  box-shadow: 0 0 0 1px rgba(226, 203, 164, 0.13),
    0 20px 42px rgba(0, 0, 0, 0.28);
}
.kokuu-root.kokuu-void .kokuu-shot {
  background: #1b1d29;
}
.kokuu-root.kokuu-void .kokuu-shot-img {
  filter: saturate(0.88) brightness(0.9);
}
.kokuu-root.kokuu-void .kokuu-hero .kokuu-title {
  color: #fff8ed;
  text-shadow: 0 4px 24px rgba(7, 9, 17, 0.22);
}
.kokuu-root.kokuu-void .kokuu-hero .kokuu-tagline {
  color: #f7e7ce;
}
.kokuu-root.kokuu-void .kokuu-hero .kokuu-sub {
  color: #ddd5dc;
}
.kokuu-root.kokuu-void .kokuu-eyebrow {
  background: transparent;
  color: #eee0ca;
}
.kokuu-root.kokuu-void .kokuu-kicker {
  color: #d6bb8e;
  background: transparent;
}
.kokuu-root.kokuu-void .kokuu-featured-skin {
  background: linear-gradient(145deg, #252a37, #20242f);
  border-color: #363946;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.kokuu-root.kokuu-void .kokuu-featured-art {
  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(186, 166, 200, 0.15),
    transparent 72%
  );
}
.kokuu-root.kokuu-void .kokuu-featured-art img {
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.3));
}
.kokuu-root.kokuu-void .kokuu-featured-meta strong {
  color: #eee6dd;
}
.kokuu-root.kokuu-void .kokuu-featured-meta span {
  color: #b7adbf;
}
.kokuu-root.kokuu-void .kcard {
  background: linear-gradient(150deg, #242834, #20242f);
  border-color: #383946;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.kokuu-root.kokuu-void .kcard:hover,
.kokuu-root.kokuu-void .kokuu-featured-skin:hover {
  border-color: #746477;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.kokuu-root.kokuu-void .kcard-ico {
  background: #30303d;
  border: 1px solid rgba(218, 197, 174, 0.12);
}
.kokuu-root.kokuu-void .kcard h3,
.kokuu-root.kokuu-void .kokuu-h2 {
  color: #f0eae0;
}
.kokuu-root.kokuu-void .kcard p {
  color: #c1bac6;
}
.kokuu-root.kokuu-void .kmore,
.kokuu-root.kokuu-void .kokuu-section-link {
  color: #d6bb8e;
}
.kokuu-root.kokuu-void .kokuu-steps {
  background: linear-gradient(120deg, #1d222d, #222430);
  border-color: #3d3947;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.kokuu-root.kokuu-void .kokuu-steps-copy > p:last-child,
.kokuu-root.kokuu-void .kokuu-step-list p {
  color: #c1bac6;
}
.kokuu-root.kokuu-void .kokuu-step-list strong {
  color: #eee5da;
}
.kokuu-root.kokuu-void .kokuu-step-list li > span {
  color: #e0c89f;
  background: #37313c;
  border: 1px solid #544855;
}
.kokuu-root.kokuu-void .kokuu-foot {
  border-color: #3b3845;
}
.kokuu-root.kokuu-void .kokuu-foot-brand {
  color: #eee5da;
}
.kokuu-root.kokuu-void .foot-left p,
.kokuu-root.kokuu-void .foot-right a {
  color: #bbb0c2;
}
.kokuu-root.kokuu-void .foot-fine {
  color: #a79eaf;
  border-color: #3b3845;
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-brand-name {
    font-size: 22px;
  }
  .kokuu-root .kokuu-brand {
    line-height: 1;
  }
}

/* =========================================================
   扁平横向 Banner（2026-11-04）
   原先首屏是 530–720px 的「整块海报」，占满一屏，下方内容要滚动才出现。
   用户要更扁的 banner：改为 16:5 左右的横向画幅，文字块收紧，
   让功能入口在第一屏就能露出来。图片、轮播、按钮位置均不变。
   ========================================================= */
.kokuu-root .kokuu-hero {
  min-height: 0;
  aspect-ratio: 16 / 5;
  max-height: 420px;
  margin-top: 18px;
  padding: clamp(20px, 3vw, 44px);
  align-items: center;
}
.kokuu-root .kokuu-hero .kokuu-title {
  font-size: clamp(30px, 3.6vw, 52px);
}
.kokuu-root .kokuu-hero .kokuu-tagline {
  font-size: clamp(15px, 1.5vw, 20px);
  margin-bottom: 8px;
}
.kokuu-root .kokuu-hero .kokuu-sub {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 46ch;
}
.kokuu-root .kokuu-hero .kokuu-eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
}
.kokuu-root .kokuu-cta {
  margin-bottom: 14px;
  gap: 8px;
}
.kokuu-root .kokuu-hero .kbtn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13.5px;
}
.kokuu-root .kokuu-badges {
  gap: 8px 16px;
  font-size: 11px;
}
.kokuu-root .kokuu-hero-text {
  width: min(54%, 620px);
  padding-bottom: 0;
}
.kokuu-root .kokuu-align-left-upper .kokuu-hero-text {
  width: 40%;
  padding-top: 0;
}
.kokuu-root .kokuu-align-right .kokuu-hero-text {
  width: 46%;
  padding-top: 0;
  align-self: center;
}
.kokuu-root .kokuu-align-left-upper .kokuu-title,
.kokuu-root .kokuu-align-right .kokuu-title {
  font-size: clamp(28px, 3.2vw, 44px);
}
.kokuu-root .kokuu-shot-cap {
  bottom: 14px;
  right: 16px;
}
.kokuu-root .kokuu-bg-dots {
  bottom: 18px;
  right: 18px;
}
.kokuu-root .kokuu-pause {
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  font-size: 11px;
}
@media (max-width: 900px) {
  .kokuu-root .kokuu-hero {
    aspect-ratio: 16 / 7;
    max-height: 360px;
  }
  .kokuu-root .kokuu-hero-text,
  .kokuu-root .kokuu-align-left-upper .kokuu-hero-text,
  .kokuu-root .kokuu-align-right .kokuu-hero-text {
    width: min(64%, 480px);
  }
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-hero {
    aspect-ratio: auto;
    min-height: 430px;
    max-height: none;
    padding: 210px 18px 22px;
    align-items: flex-end;
  }
  .kokuu-root .kokuu-hero .kokuu-hero-text {
    width: 100%;
    padding-bottom: 0;
  }
  .kokuu-root .kokuu-hero .kokuu-title {
    font-size: 34px;
  }
  .kokuu-root .kokuu-hero .kokuu-tagline {
    font-size: 16px;
  }
  .kokuu-root .kokuu-hero .kokuu-sub {
    font-size: 12.5px;
  }
  .kokuu-root .kokuu-badges {
    display: none;
  }
}

/* =========================================================
   右下角控件避让（2026-11-05）
   场景标签（.kokuu-shot-cap）与轮播圆点（.kokuu-bg-dots）
   之前都定位在右下角，直接叠在一起。现在：
     · 场景标签留在右下
     · 圆点移到左下，和暂停按钮分处对角
   三张轮播的文案统一靠左，不再有单独放右侧的第三张。
   ========================================================= */
.kokuu-root .kokuu-shot-cap {
  left: auto;
  right: 18px;
  bottom: 16px;
  max-width: calc(100% - 180px);
}
.kokuu-root .kokuu-bg-dots {
  left: 18px;
  right: auto;
  bottom: 20px;
  padding: 0;
  gap: 6px;
}
.kokuu-root .kokuu-bg-dot {
  min-width: 10px;
  min-height: 10px;
  width: 10px;
  height: 10px;
}
.kokuu-root .kokuu-bg-dot.is-on {
  width: 22px;
}
/* 第三张也靠左后，右侧不再需要反向渐变遮罩 */
.kokuu-align-right .kokuu-shot::after {
  background: linear-gradient(
      90deg,
      rgba(18, 12, 34, 0.72) 0%,
      rgba(18, 12, 34, 0.5) 38%,
      rgba(18, 12, 34, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(18, 12, 34, 0.38) 0%, transparent 38%);
}
@media (max-width: 640px) {
  .kokuu-root .kokuu-shot-cap {
    left: 14px;
    right: auto;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
  .kokuu-root .kokuu-bg-dots {
    left: auto;
    right: 14px;
    bottom: 14px;
  }
}
