/* Self-hosted Google Fonts (no third-party font requests). */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --yk-ink: #13121a;
  --yk-ink-soft: #30303a;
  --yk-cream: #f7f3ee;
  --yk-teal: #1b7f7a;
  --yk-teal-dark: #0f5753;
  --yk-amber: #f1b44c;
  --yk-rose: #d86d62;
  --yk-sand: #ece4da;
  --yk-shadow: 0 20px 60px rgba(15, 20, 25, 0.12);
}

html:has(body.yomikamo-landing) {
  scroll-behavior: smooth;
}

body.yomikamo-landing {
  background: var(--yk-cream);
  color: var(--yk-ink);
  font-family: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.yk-landing {
  position: relative;
  overflow: clip;
}

.yk-landing::before,
.yk-landing::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.25;
  z-index: 0;
}

.yk-landing::before {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle at 30% 30%, var(--yk-amber), transparent 60%);
}

.yk-landing::after {
  width: 640px;
  height: 640px;
  bottom: -220px;
  left: -180px;
  background: radial-gradient(circle at 40% 40%, var(--yk-teal), transparent 60%);
}

.yk-landing__inner {
  position: relative;
  z-index: 1;
}

.yk-landing__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw;
}

.yk-landing__brand {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: inherit;
  text-decoration: none;
}

.yk-landing__nav-links {
  display: flex;
  gap: 18px;
  font-size: 15px;
  align-items: center;
}

.yk-landing__theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--yk-ink);
  font: inherit;
  cursor: pointer;
  user-select: none;
}

.yk-landing__theme-toggle:hover {
  background: rgba(255, 255, 255, 0.82);
}

.yk-landing__theme-toggle:focus-visible {
  outline: 2px solid rgba(27, 127, 122, 0.55);
  outline-offset: 2px;
}

.yk-landing__theme-toggle-icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--yk-amber), var(--yk-teal) 55%, var(--yk-ink) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.yk-landing__theme-toggle-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

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

.yk-landing__nav-links a:hover {
  color: var(--yk-ink);
}

.yk-landing__nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.yk-landing__hero {
  padding: 40px 6vw 64px;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.yk-landing__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(27, 127, 122, 0.12);
  color: var(--yk-teal-dark);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
}

.yk-landing__hero-copy h1 {
  font-family: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 18px;
}

.yk-landing__hero-copy p {
  font-size: 18px;
  color: var(--yk-ink-soft);
  margin: 0 0 22px;
}

.yk-landing__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.yk-landing__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.yk-landing__btn--primary {
  background: var(--yk-teal);
  color: #fff;
  box-shadow: var(--yk-shadow);
}

.yk-landing__btn--primary:hover {
  background: var(--yk-teal-dark);
}

.yk-landing__btn--secondary {
  background: #fff;
  color: var(--yk-ink);
  border-color: rgba(0, 0, 0, 0.12);
}

.yk-landing__preview {
  display: flex;
  justify-content: flex-end;
}

.yk-landing__preview-frame {
  background: #fff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: var(--yk-shadow);
  border: 1px solid rgba(0, 0, 0, 0.07);
  max-width: 560px;
  width: 100%;
}

.yk-landing__preview-stack {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(27, 127, 122, 0.10), rgba(241, 180, 76, 0.16));
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.yk-landing__preview-stack picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.yk-landing__preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 600ms ease;
}

/* Theme-aware preview images: light by default, dark when dark mode is active. */
.yk-landing__preview-img--dark {
  display: none;
}

.yk-landing__preview-img--a {
  animation: yk-landing-preview 15s infinite;
}

.yk-landing__preview-img--b {
  animation: yk-landing-preview 15s infinite;
  animation-delay: 5s;
}

.yk-landing__preview-img--c {
  animation: yk-landing-preview 15s infinite;
  animation-delay: 10s;
}

@keyframes yk-landing-preview {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.yomikamo-landing) {
    scroll-behavior: auto;
  }

  .yk-landing__preview-img--a,
  .yk-landing__preview-img--b,
  .yk-landing__preview-img--c {
    animation: none;
  }
  .yk-landing__preview-img--a { opacity: 1; }
}

.yk-landing__preview-caption {
  padding-top: 12px;
  font-size: 13px;
  color: var(--yk-ink-soft);
}

.yk-landing__proof {
  padding: 0 6vw 44px;
}

.yk-landing__proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.yk-landing__proof-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 14px 30px rgba(15, 20, 25, 0.06);
}

.yk-landing__proof-number {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.05;
}

.yk-landing__proof-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--yk-ink-soft);
  letter-spacing: 0.2px;
}

.yk-landing__flow {
  padding: 48px 6vw;
}

.yk-landing__flow h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 30px;
  margin-bottom: 20px;
}

.yk-landing__section-lede {
  margin: -6px 0 22px;
  color: var(--yk-ink-soft);
  max-width: 72ch;
}

.yk-landing__pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.yk-landing__pipe-node {
  flex: 1;
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--yk-landing-card, #fff);
  border: 1px solid var(--yk-landing-border, rgba(0,0,0,0.06));
  border-radius: 1rem;
  position: relative;
  z-index: 1;
}

.yk-landing__pipe-node span {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yk-rose);
}

.yk-landing__pipe-node strong {
  display: block;
  font-size: 16px;
  margin-top: 6px;
}

.yk-landing__pipe-node em {
  display: block;
  font-style: normal;
  margin-top: 6px;
  font-size: 13px;
  color: var(--yk-ink-soft);
}

.yk-landing__pipe-arrow {
  font-size: 22px;
  color: rgba(19, 18, 26, 0.55);
  position: relative;
  z-index: 0;
}
.yk-landing__pipe-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -0.5rem;
  right: -0.5rem;
  height: 2px;
  background: var(--yk-landing-teal, #1b7f7a);
  opacity: 0.2;
}

.yk-landing__flow-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.yk-landing__flow-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.yk-landing__flow-card span {
  display: block;
  font-family: var(--yk-landing-serif, 'Fraunces', serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yk-landing-teal, #1b7f7a);
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.yk-landing__flow-card h3 {
  margin: 10px 0 8px;
}

.yk-landing__features {
  padding: 20px 6vw 60px;
}

.yk-landing__features h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 30px;
  margin-bottom: 22px;
}

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

@media (max-width: 800px) {
  .yk-landing__feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .yk-landing__feature-grid { grid-template-columns: 1fr; }
}

.yk-landing__feature {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  overflow: hidden;
}

/* Mouse-tracked glow overlay */
.yk-landing__feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--feat-glow, rgba(27, 127, 122, 0.06)),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.yk-landing__feature > * { position: relative; z-index: 1; }

/* Per-card color accents (warm palette) */
.yk-landing__feature[data-color="teal"]   { --feat-glow: rgba(27, 127, 122, 0.08);  --feat-accent: #1b7f7a; }
.yk-landing__feature[data-color="amber"]  { --feat-glow: rgba(241, 180, 76, 0.10);  --feat-accent: #d4940a; }
.yk-landing__feature[data-color="rose"]   { --feat-glow: rgba(216, 109, 98, 0.08);  --feat-accent: #c05a50; }
.yk-landing__feature[data-color="indigo"] { --feat-glow: rgba(99, 102, 241, 0.08);  --feat-accent: #5b5bd6; }
.yk-landing__feature[data-color="sage"]   { --feat-glow: rgba(52, 168, 83, 0.08);   --feat-accent: #2d8a4e; }
.yk-landing__feature[data-color="plum"]   { --feat-glow: rgba(139, 92, 246, 0.08);  --feat-accent: #7c3aed; }

.yk-landing__feature:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 48px rgba(15, 20, 25, 0.10), 0 0 24px var(--feat-glow, rgba(27, 127, 122, 0.06));
}
.yk-landing__feature:hover::before { opacity: 1; }

.yk-landing__feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(27, 127, 122, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--feat-accent, var(--yk-landing-teal, #1b7f7a));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease;
}
.yk-landing__feature-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: var(--feat-accent, var(--yk-landing-teal, #1b7f7a));
  transition: transform 0.25s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.yk-landing__feature:hover .yk-landing__feature-icon svg {
  opacity: 1;
}

/* Per-card icon hover animations */
.yk-landing__feature[data-anim="pulse"]:hover .yk-landing__feature-icon  { animation: yk-feat-pulse 1.5s ease infinite; }
.yk-landing__feature[data-anim="rotate"]:hover .yk-landing__feature-icon { animation: yk-feat-rotate 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.yk-landing__feature[data-anim="bounce"]:hover .yk-landing__feature-icon { animation: yk-feat-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.yk-landing__feature[data-anim="shake"]:hover .yk-landing__feature-icon  { animation: yk-feat-shake 0.5s ease; }
.yk-landing__feature[data-anim="flip"]:hover .yk-landing__feature-icon   { animation: yk-feat-flip 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.yk-landing__feature[data-anim="swing"]:hover .yk-landing__feature-icon  { animation: yk-feat-swing 0.7s ease; }

/* Hover: title picks up accent color */
.yk-landing__feature h3 { transition: color 0.3s ease; }
.yk-landing__feature:hover h3 { color: var(--feat-accent, var(--yk-landing-teal, #1b7f7a)); }

@keyframes yk-feat-pulse  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes yk-feat-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes yk-feat-bounce { 0% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-3px); } 80% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
@keyframes yk-feat-shake  { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-5px); } 30% { transform: translateX(4px); } 45% { transform: translateX(-3px); } 60% { transform: translateX(2px); } 75% { transform: translateX(-1px); } }
@keyframes yk-feat-flip   { 0% { transform: perspective(200px) rotateY(0deg); } 100% { transform: perspective(200px) rotateY(360deg); } }
@keyframes yk-feat-swing  { 0% { transform: rotate(0deg); } 20% { transform: rotate(12deg); } 40% { transform: rotate(-8deg); } 60% { transform: rotate(4deg); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0deg); } }

@media (prefers-reduced-motion: reduce) {
  .yk-landing__feature[data-anim]:hover .yk-landing__feature-icon { animation: none; }
  .yk-landing__feature:hover { transform: none; }
}

.yk-landing__pricing {
  padding: 12px 6vw 40px;
  text-align: center;
}

.yk-landing__pricing h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 30px;
  margin-bottom: 18px;
}

.yk-landing__pricing-card {
  display: inline-block;
  text-align: left;
  background: #fff;
  border: 2px solid var(--yk-landing-teal, #1b7f7a);
  border-radius: 1.25rem;
  padding: 2.5rem 2.25rem;
  max-width: 25rem;
  width: 100%;
  box-shadow: var(--yk-shadow);
}

.yk-landing__pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 1.25rem;
  background: rgba(27, 127, 122, 0.1);
  color: var(--yk-teal-dark, #0f5753);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.yk-landing__pricing-title {
  font-family: var(--yk-landing-serif, 'Fraunces', serif);
  font-size: 3rem;
  font-weight: 700;
}

.yk-landing__pricing-sub {
  color: var(--yk-ink-soft);
  margin-top: 6px;
}

.yk-landing__pricing-list {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--yk-ink-soft);
}
.yk-landing__pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.yk-landing__pricing-list li svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--yk-landing-teal, #1b7f7a);
  flex-shrink: 0;
}

.yk-landing main {
  padding: 24px 6vw 64px;
}

.yk-legal {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--yk-shadow);
}

.yk-legal h1 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 16px;
}

.yk-legal h2 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.yk-legal p,
.yk-legal li {
  color: var(--yk-ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.yk-legal ul {
  padding-left: 20px;
}

.yk-contact {
  min-height: auto;
}

.yk-landing__cta-block {
  margin: 0 6vw 70px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(27, 127, 122, 0.12), rgba(241, 180, 76, 0.18));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.yk-landing__cta-block h3 {
  margin: 0;
  font-size: 22px;
}

.yk-landing__footer {
  padding: 30px 6vw 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--yk-ink-soft);
}

/* ---------------------------
   Inline links and section footnotes
   --------------------------- */

.yk-landing__inline-link {
  color: var(--yk-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yk-landing__inline-link:hover {
  opacity: 0.8;
}

.yk-landing__section-footnote {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--yk-ink-soft);
}

/* ---------------------------
   Kanji sample grid (Landing)
   --------------------------- */

.yk-landing__kanji-sample {
  padding: 60px 6vw;
  text-align: center;
}

.yk-landing__kanji-sample h2 {
  margin: 0 0 8px;
}

.yk-landing__kanji-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 16px;
}

.yk-landing__kanji-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--yk-ink);
  transition: background 0.2s;
}

.yk-landing__kanji-chip:hover {
  background: rgba(27, 127, 122, 0.08);
}

.yk-landing__kanji-char {
  font-size: 1.5rem;
}

.yk-landing__kanji-meaning {
  font-size: 0.65rem;
  color: var(--yk-ink-soft);
  margin-top: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}

.yk-landing__kanji-chip:hover .yk-landing__kanji-meaning {
  opacity: 1;
}

/* ---------------------------
   FAQ section (Landing)
   --------------------------- */

.yk-landing__faq {
  padding: 20px 6vw 60px;
}

.yk-landing__faq h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 30px;
  margin-bottom: 22px;
}

.yk-landing__faq-list {
  margin: 0;
  padding: 0;
  max-width: 760px;
}

.yk-landing__faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 18px 0;
}

.yk-landing__faq-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.yk-landing__faq-q {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--yk-ink);
}

.yk-landing__faq-a {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yk-ink-soft);
}

/* ---------------------------
   Dark theme (Landing)
   --------------------------- */

@media (prefers-color-scheme: dark) {
  html:not(.yk-theme-light):not(.yk-theme-dark) {
    --yk-ink: #c0caf5;
    --yk-ink-soft: rgba(192, 202, 245, 0.72);
    --yk-cream: #0d1017;
    --yk-sand: #151921;
    --yk-teal: #7aa2f7;
    --yk-teal-dark: #4b6bbf;
    --yk-rose: #f7768e;
    --yk-shadow: 0 20px 60px rgba(0, 0, 0, 0.52);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) body.yomikamo-landing {
    background: var(--yk-cream);
    color: var(--yk-ink);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing::before,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing::after {
    opacity: 0.16;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__nav-links a {
    color: var(--yk-ink-soft);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__nav-cta {
    background: rgba(192, 202, 245, 0.08);
    border-color: rgba(192, 202, 245, 0.14);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__theme-toggle {
    background: rgba(192, 202, 245, 0.08);
    border-color: rgba(192, 202, 245, 0.14);
    color: var(--yk-ink);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__theme-toggle:hover {
    background: rgba(192, 202, 245, 0.12);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__theme-toggle-icon {
    border-color: rgba(192, 202, 245, 0.18);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__kicker {
    background: rgba(122, 162, 247, 0.18);
    color: rgba(192, 202, 245, 0.92);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__btn--primary {
    background: var(--yk-teal-dark);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__btn--secondary {
    background: rgba(192, 202, 245, 0.08);
    color: var(--yk-ink);
    border-color: rgba(192, 202, 245, 0.18);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__preview-frame,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__proof-card,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__pipe-node,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__flow-card,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__pricing-card,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-legal {
    background: rgba(21, 25, 33, 0.92);
    border-color: rgba(192, 202, 245, 0.12);
    box-shadow: var(--yk-shadow);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature[data-color="teal"]   { --feat-accent: #73daca; --feat-glow: rgba(115, 218, 202, 0.08); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature[data-color="amber"]  { --feat-accent: #e0af68; --feat-glow: rgba(224, 175, 104, 0.08); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature[data-color="rose"]   { --feat-accent: #f7768e; --feat-glow: rgba(247, 118, 142, 0.08); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature[data-color="indigo"] { --feat-accent: #7aa2f7; --feat-glow: rgba(122, 162, 247, 0.08); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature[data-color="sage"]   { --feat-accent: #9ece6a; --feat-glow: rgba(158, 206, 106, 0.08); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature[data-color="plum"]   { --feat-accent: #bb9af7; --feat-glow: rgba(187, 154, 247, 0.08); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature-icon { background: rgba(192, 202, 245, 0.06); }
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature-icon svg { opacity: 0.8; }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__preview-stack,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__preview-frame,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__pipe-node,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__flow-card,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__feature,
  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__pricing-card {
    border-color: rgba(192, 202, 245, 0.12);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__preview-stack {
    background: linear-gradient(160deg, rgba(122, 162, 247, 0.12), rgba(187, 154, 247, 0.14));
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__pipe-arrow {
    color: rgba(192, 202, 245, 0.55);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__footer {
    border-top-color: rgba(192, 202, 245, 0.12);
    color: rgba(192, 202, 245, 0.72);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__faq-item {
    border-color: rgba(192, 202, 245, 0.12);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__kanji-chip {
    border-color: rgba(192, 202, 245, 0.12);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__kanji-chip:hover {
    background: rgba(192, 202, 245, 0.08);
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__preview-img--light {
    display: none;
  }

  html:not(.yk-theme-light):not(.yk-theme-dark) .yk-landing__preview-img--dark {
    display: block;
  }
}

html.yk-theme-dark {
  --yk-ink: #c0caf5;
  --yk-ink-soft: rgba(192, 202, 245, 0.72);
  --yk-cream: #0d1017;
  --yk-sand: #151921;
  --yk-teal: #7aa2f7;
  --yk-teal-dark: #4b6bbf;
  --yk-rose: #f7768e;
  --yk-shadow: 0 20px 60px rgba(0, 0, 0, 0.52);
}

html.yk-theme-dark body.yomikamo-landing {
  background: var(--yk-cream);
  color: var(--yk-ink);
}

html.yk-theme-dark .yk-landing::before,
html.yk-theme-dark .yk-landing::after {
  opacity: 0.16;
}

html.yk-theme-dark .yk-landing__nav-links a {
  color: var(--yk-ink-soft);
}

html.yk-theme-dark .yk-landing__nav-cta {
  background: rgba(192, 202, 245, 0.08);
  border-color: rgba(192, 202, 245, 0.14);
}

html.yk-theme-dark .yk-landing__theme-toggle {
  background: rgba(192, 202, 245, 0.08);
  border-color: rgba(192, 202, 245, 0.14);
  color: var(--yk-ink);
}

html.yk-theme-dark .yk-landing__theme-toggle:hover {
  background: rgba(192, 202, 245, 0.12);
}

html.yk-theme-dark .yk-landing__theme-toggle-icon {
  border-color: rgba(192, 202, 245, 0.18);
}

html.yk-theme-dark .yk-landing__kicker {
  background: rgba(122, 162, 247, 0.18);
  color: rgba(192, 202, 245, 0.92);
}

html.yk-theme-dark .yk-landing__btn--primary {
  background: var(--yk-teal-dark);
}

html.yk-theme-dark .yk-landing__btn--secondary {
  background: rgba(192, 202, 245, 0.08);
  color: var(--yk-ink);
  border-color: rgba(192, 202, 245, 0.18);
}

html.yk-theme-dark .yk-landing__preview-frame,
html.yk-theme-dark .yk-landing__proof-card,
html.yk-theme-dark .yk-landing__pipe-node,
html.yk-theme-dark .yk-landing__flow-card,
html.yk-theme-dark .yk-landing__feature,
html.yk-theme-dark .yk-landing__pricing-card,
html.yk-theme-dark .yk-legal {
  background: rgba(21, 25, 33, 0.92);
  border-color: rgba(192, 202, 245, 0.12);
  box-shadow: var(--yk-shadow);
}

html.yk-theme-dark .yk-landing__feature[data-color="teal"]   { --feat-accent: #73daca; --feat-glow: rgba(115, 218, 202, 0.08); }
html.yk-theme-dark .yk-landing__feature[data-color="amber"]  { --feat-accent: #e0af68; --feat-glow: rgba(224, 175, 104, 0.08); }
html.yk-theme-dark .yk-landing__feature[data-color="rose"]   { --feat-accent: #f7768e; --feat-glow: rgba(247, 118, 142, 0.08); }
html.yk-theme-dark .yk-landing__feature[data-color="indigo"] { --feat-accent: #7aa2f7; --feat-glow: rgba(122, 162, 247, 0.08); }
html.yk-theme-dark .yk-landing__feature[data-color="sage"]   { --feat-accent: #9ece6a; --feat-glow: rgba(158, 206, 106, 0.08); }
html.yk-theme-dark .yk-landing__feature[data-color="plum"]   { --feat-accent: #bb9af7; --feat-glow: rgba(187, 154, 247, 0.08); }
html.yk-theme-dark .yk-landing__feature-icon { background: rgba(192, 202, 245, 0.06); }
html.yk-theme-dark .yk-landing__feature-icon svg { opacity: 0.8; }

html.yk-theme-dark .yk-landing__preview-stack {
  background: linear-gradient(160deg, rgba(122, 162, 247, 0.12), rgba(187, 154, 247, 0.14));
  border-color: rgba(192, 202, 245, 0.12);
}

html.yk-theme-dark .yk-landing__pipe-arrow {
  color: rgba(192, 202, 245, 0.55);
}

html.yk-theme-dark .yk-landing__footer {
  border-top-color: rgba(192, 202, 245, 0.12);
  color: rgba(192, 202, 245, 0.72);
}

html.yk-theme-dark .yk-landing__faq-item {
  border-color: rgba(192, 202, 245, 0.12);
}

html.yk-theme-dark .yk-landing__kanji-chip {
  border-color: rgba(192, 202, 245, 0.12);
}

html.yk-theme-dark .yk-landing__kanji-chip:hover {
  background: rgba(192, 202, 245, 0.08);
}

html.yk-theme-dark .yk-landing__preview-img--light {
  display: none;
}

html.yk-theme-dark .yk-landing__preview-img--dark {
  display: block;
}

/* Explicit light override — force light images even when system prefers dark. */
html.yk-theme-light .yk-landing__preview-img--light {
  display: block;
}

html.yk-theme-light .yk-landing__preview-img--dark {
  display: none;
}

.yk-landing__footer a {
  color: inherit;
  text-decoration: none;
}

.yk-landing__footer a:hover {
  color: var(--yk-ink);
}

.yk-landing__footer-disclaimer {
  flex-basis: 100%;
  font-size: 11px;
  opacity: 0.6;
  line-height: 1.5;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .yk-landing__nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .yk-landing__theme-toggle-label {
    display: none;
  }

  .yk-landing__nav-links {
    flex-wrap: wrap;
  }

  .yk-landing__pipeline {
    grid-template-columns: 1fr;
  }

  .yk-landing__pipe-arrow {
    display: none;
  }

  .yk-legal {
    padding: 24px 20px;
  }

  .yk-legal h1 {
    margin-bottom: 12px;
  }

  .yk-legal h2 {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .yk-legal p,
  .yk-legal li {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* ---- Scroll reveal ---- */

.yk-rp__reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.yk-rp__reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .yk-rp__reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
