@import url("./site-navigation.css");

/*
 * Rongtong Cloud product storytelling system.
 * Layouts vary by product; color, type, spacing and interaction stay site-wide.
 */
:root {
  --ink: #102b2a;
  --ink-2: #29413f;
  --muted: #697773;
  --paper: #f3f0e7;
  --paper-2: #e8e4d9;
  --white: #fffef9;
  --line: rgba(16, 43, 42, .14);
  --accent: #1d665b;
  --accent-2: #2e7b6f;
  --accent-soft: #dce9e4;
  --warm: #bc9651;
  --warn: #a86f2c;
  --shadow: 0 28px 72px rgba(18, 42, 38, .11);
  --shell: 1240px;
}

body[data-product="meow"] { --accent: #1d665b; --accent-2: #2e7b6f; --accent-soft: #dce9e4; }
body[data-product="classhub"] { --accent: #315f58; --accent-2: #46766e; --accent-soft: #e0e9e5; }
body[data-product="minxtax"] { --accent: #285f63; --accent-2: #3f7579; --accent-soft: #dfeaec; }
body[data-product="petplus"] { --accent: #52694d; --accent-2: #6d8265; --accent-soft: #e4eadf; }
body[data-product="jlpt"] { --accent: #245f68; --accent-2: #397781; --accent-soft: #dce9eb; }
body[data-product="speaknative"] { --accent: #365f64; --accent-2: #4c767b; --accent-soft: #e0e9e9; }
body[data-product="witme"] { --accent: #486657; --accent-2: #627d6c; --accent-soft: #e2e9e3; }
body[data-product="aistudy"] { --accent: #405f64; --accent-2: #58777c; --accent-soft: #e0e8e9; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 730;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { border-color: var(--accent); background: var(--accent); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.26); }
.button-ghost:hover { border-color: var(--ink); }

.site-header {
  position: relative;
  z-index: 30;
  height: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(243,240,231,.92);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; height: 100%; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo { display: block; width: 92px; height: 70px; object-fit: contain; }
.product-lockup { display: flex; align-items: center; gap: 12px; }
.product-lockup::before { width: 1px; height: 24px; content: ""; background: var(--line); }
.product-lockup strong { font-size: 15px; letter-spacing: -.02em; }
.product-lockup small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; padding: 28px 0; font-size: 13px; font-weight: 650; }
.main-nav a::after { position: absolute; right: 0; bottom: 21px; left: 0; height: 1px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 42px; padding-inline: 18px; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-button span, .menu-button::before, .menu-button::after { display: block; width: 16px; height: 1px; margin: 4px auto; content: ""; background: var(--ink); }

@media (max-width: 1120px) {
  .site-header { height: 68px; }
  .brand-logo { width: 78px; height: 60px; }
  .product-lockup small { display: none; }
  .main-nav { position: fixed; inset: 68px 0 auto; display: none; width: 100%; max-height: calc(100dvh - 68px); padding: 18px 16px 24px; border-bottom: 1px solid var(--line); overflow-y: auto; background: var(--paper); }
  .main-nav.is-open { display: grid; }
  .main-nav > a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav > a::after { display: none; }
  .site-language-links--desktop, .header-cta { display: none; }
  .main-nav .site-language-links--mobile { display: flex; min-height: 54px; justify-content: center; gap: 15px; margin-top: 8px; border-top: 1px solid var(--line); }
  .main-nav .site-language-links--mobile a { min-height: 44px; align-items: center; border: 0; font-size: 13px !important; }
  .menu-button { display: block; margin-left: auto; }
}

.story-hero { padding: 86px 0 88px; overflow: hidden; }
.story-hero-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(560px,1.22fr); align-items: center; gap: 72px; }
.story-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: .08em; }
.story-kicker::before { width: 28px; height: 1px; content: ""; background: currentColor; }
.story-copy h1 { max-width: 680px; margin: 0; font-family: ui-serif, "Songti SC", STSong, serif; font-size: clamp(48px,5.1vw,70px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.story-copy h1 em { color: var(--accent); font-style: normal; }
.story-copy > p:not(.story-kicker) { max-width: 650px; margin: 28px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.86; text-wrap: pretty; }
.story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.story-proofline { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; color: var(--muted); font-size: 12px; }
.story-proofline span { display: inline-flex; align-items: center; gap: 7px; }
.story-proofline i { width: 5px; height: 5px; border-radius: 50%; background: var(--warm); }

.visual-shell { position: relative; min-height: 590px; border: 1px solid var(--line); border-radius: 34px; background: color-mix(in srgb,var(--white),var(--accent-soft) 15%); box-shadow: var(--shadow); overflow: hidden; }
.visual-shell::before { position: absolute; inset: 0; content: ""; opacity: .55; background-image: linear-gradient(rgba(16,43,42,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(16,43,42,.035) 1px,transparent 1px); background-size: 40px 40px; }
.visual-label { position: absolute; top: 24px; left: 26px; z-index: 3; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 760; letter-spacing: .13em; }
.visual-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ui-window { position: absolute; z-index: 2; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 48px rgba(16,43,42,.13); overflow: hidden; }
.ui-topbar { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.ui-topbar b { font-size: 11px; }
.ui-topbar small { color: var(--muted); font-size: 8px; }
.ui-chip { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 7px; font-weight: 760; }
.ui-chip.warn { color: #7a5724; background: #f2e3ba; }
.ui-side { color: rgba(255,255,255,.62); background: var(--ink); }
.ui-side b { color: var(--white); }
.ui-side span { display: block; border-radius: 8px; }
.ui-side span.active { color: var(--ink); background: var(--accent-soft); font-weight: 750; }
.ui-muted { color: var(--muted); }

.story-intro { border-block: 1px solid var(--line); background: var(--white); }
.story-intro-inner { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 260px; align-items: center; gap: 72px; }
.story-intro h2 { margin: 0; font-family: ui-serif,"Songti SC",STSong,serif; font-size: clamp(30px,3.25vw,46px); font-weight: 500; line-height: 1.38; letter-spacing: -.035em; }
.story-intro p { margin: 0; padding-left: 28px; border-left: 1px solid var(--warm); color: var(--muted); font-size: 15px; line-height: 1.9; }

.story-section { padding: 120px 0; }
.story-section.alt { background: var(--white); }
.story-section.dark { color: var(--white); background: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 70px; }
.section-heading small { display: block; margin-bottom: 17px; color: var(--accent); font-size: 11px; font-weight: 760; letter-spacing: .13em; }
.dark .section-heading small { color: #d6bd87; }
.section-heading h2 { margin: 0; font-family: ui-serif,"Songti SC",STSong,serif; font-size: clamp(38px,4.8vw,60px); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.dark .section-heading > p { color: rgba(255,255,255,.58); }
.demo-note { color: var(--muted); font-size: 10px; }

.role-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 62px; border-block: 1px solid var(--line); }
.role-strip article { min-height: 190px; padding: 30px 30px 32px 0; }
.role-strip article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.role-strip span { color: var(--warm); font-size: 11px; font-weight: 760; }
.role-strip h3 { margin: 28px 0 10px; font-size: 18px; }
.role-strip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.final-cta { padding: 108px 0; }
.cta-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 52px; border-radius: 28px; color: var(--white); background: var(--ink); }
.cta-card h2 { margin: 0; font-family: ui-serif,"Songti SC",STSong,serif; font-size: clamp(31px,4vw,50px); font-weight: 500; line-height: 1.25; }
.cta-card p { max-width: 720px; margin: 16px 0 0; color: rgba(255,255,255,.58); line-height: 1.8; }
.cta-card .button { color: var(--ink); border-color: var(--warm); background: var(--warm); }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease,transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Meow: schedule conflict -> operating cockpit. */
.meow-board { inset: 68px 24px 28px; display: grid; grid-template-columns: 118px 1fr; }
.meow-board .ui-side { padding: 20px 10px; }
.meow-board .ui-side b { display: block; margin: 0 9px 16px; font-size: 11px; }
.meow-board .ui-side span { margin-top: 4px; padding: 8px 9px; font-size: 8px; }
.meow-main { padding: 18px; }
.meow-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 12px; }
.meow-kpis div { padding: 10px; border-radius: 11px; background: var(--paper); }
.meow-kpis small,.meow-kpis b { display: block; }
.meow-kpis small { color: var(--muted); font-size: 7px; }
.meow-kpis b { margin-top: 5px; font-size: 15px; }
.schedule-canvas { display: grid; grid-template-columns: 72px repeat(4,1fr); margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.schedule-canvas span { min-height: 46px; padding: 7px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 7px; }
.schedule-canvas span.course { margin: 4px; min-height: 38px; border: 0; border-radius: 7px; color: var(--accent); background: var(--accent-soft); font-weight: 740; }
.schedule-canvas span.conflict { color: #7a5724; background: #f2e3ba; }
.meow-alert { right: 10px; bottom: 12px; width: 235px; padding: 14px; transform: rotate(-2deg); }
.meow-alert strong { display: block; font-size: 10px; }
.meow-alert p { margin: 7px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.meow-chain { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; margin-top: 64px; }
.chain-map { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); }
.chain-map h3,.ops-cockpit h3 { margin: 0; font-size: 22px; }
.chain-map > p,.ops-cockpit > p { margin: 12px 0 0; color: var(--muted); line-height: 1.8; }
.chain-nodes { display: grid; grid-template-columns: repeat(6,1fr); align-items: center; margin-top: 34px; }
.chain-nodes span { padding: 13px 6px; border-radius: 10px; background: var(--paper); font-size: 9px; text-align: center; }
.chain-nodes i { color: var(--warm); font-style: normal; text-align: center; }
.ops-cockpit { padding: 34px; border-radius: 26px; color: var(--white); background: var(--ink); }
.ops-cockpit > p { color: rgba(255,255,255,.56); }
.ops-list { margin-top: 26px; }
.ops-list div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ops-list b { color: #d8bd84; font-size: 12px; }
.ops-list span { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.6; }
.meow-analysis { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; margin-top: 58px; }
.risk-queue,.teacher-score { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.risk-queue h3,.teacher-score h3 { margin: 0 0 20px; font-size: 18px; }
.risk-item { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.risk-item i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-style: normal; }
.risk-item b,.risk-item small { display: block; }
.risk-item b { font-size: 11px; }
.risk-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.risk-item em { color: var(--warn); font-size: 9px; font-style: normal; }
.score-head,.score-row { display: grid; grid-template-columns: 1fr repeat(4,70px); gap: 8px; align-items: center; }
.score-head { color: var(--muted); font-size: 8px; }
.score-row { padding: 14px 0; border-top: 1px solid var(--line); font-size: 10px; }
.score-row strong { font-size: 11px; }
.score-row span { text-align: center; }

/* ClassHub: content, sale, entitlement and API. */
.classhub-stack { position: absolute; inset: 70px 22px 24px; z-index: 2; }
.content-builder { inset: 0 105px 115px 0; display: grid; grid-template-columns: 135px 1fr; }
.content-builder .ui-side { padding: 17px 10px; }
.content-builder .ui-side b { display: block; margin: 0 8px 14px; font-size: 11px; }
.content-builder .ui-side span { padding: 7px 8px; font-size: 8px; }
.builder-main { padding: 16px; }
.content-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.content-types span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; font-size: 7px; }
.content-types span.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.lesson-tree { margin-top: 12px; }
.lesson-tree div { display: grid; grid-template-columns: 24px 1fr auto; gap: 7px; padding: 9px; border-top: 1px solid var(--line); font-size: 8px; }
.lesson-tree i { color: var(--accent); font-style: normal; }
.lesson-tree em { color: var(--muted); font-size: 7px; font-style: normal; }
.entitlement-card { right: 0; bottom: 0; width: 280px; padding: 18px; transform: rotate(2deg); }
.entitlement-card h3 { margin: 0; font-size: 13px; }
.entitlement-flow { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.entitlement-flow span { flex: 1; padding: 9px 5px; border-radius: 8px; background: var(--paper); font-size: 7px; text-align: center; }
.entitlement-flow i { color: var(--warm); font-style: normal; }
.creator-loop { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 62px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); overflow: hidden; }
.creator-loop article { min-height: 235px; padding: 28px; }
.creator-loop article + article { border-left: 1px solid var(--line); }
.creator-loop span { color: var(--warm); font-size: 11px; }
.creator-loop h3 { margin: 42px 0 10px; font-size: 17px; }
.creator-loop p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.classhub-evidence { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 58px; }
.learner-journey,.api-delivery { padding: 32px; border-radius: 26px; }
.learner-journey { border: 1px solid var(--line); background: var(--paper); }
.api-delivery { color: var(--white); background: var(--ink); }
.learner-journey h3,.api-delivery h3 { margin: 0; font-size: 21px; }
.journey-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; }
.journey-grid div { padding: 16px; border-radius: 14px; background: var(--white); }
.journey-grid b,.journey-grid small { display: block; }
.journey-grid b { font-size: 11px; }
.journey-grid small { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.api-list { margin-top: 24px; }
.api-list div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.api-list b { color: #d8bd84; font-size: 11px; }
.api-list span { color: rgba(255,255,255,.62); font-size: 10px; text-align: right; }

/* MinTax: business evidence chain and cash clarity. */
.finance-desk { inset: 68px 24px 28px; padding: 18px; }
.finance-source { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.finance-source div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.finance-source div.active { border-color: var(--accent); background: var(--accent-soft); }
.finance-source small,.finance-source b,.finance-source span { display: block; }
.finance-source small { color: var(--muted); font-size: 7px; }
.finance-source b { margin-top: 5px; font-size: 9px; }
.finance-source span { margin-top: 4px; color: var(--accent); font-size: 8px; }
.match-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bank-line,.voucher-result { padding: 14px; border-radius: 13px; background: var(--paper); }
.bank-line b,.voucher-result b { display: block; font-size: 10px; }
.bank-line p,.voucher-result p { margin: 7px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.match-reasons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.match-reasons span { padding: 5px 7px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 7px; }
.finance-trace { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; margin-top: 62px; }
.finance-trace article { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.finance-trace > i { align-self: center; color: var(--warm); font-style: normal; text-align: center; }
.finance-trace small { color: var(--accent); font-size: 10px; font-weight: 760; }
.finance-trace h3 { margin: 40px 0 10px; font-size: 17px; }
.finance-trace p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.cash-story { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; margin-top: 60px; }
.cash-summary,.cash-plan { padding: 32px; border-radius: 26px; }
.cash-summary { color: var(--white); background: var(--ink); }
.cash-plan { border: 1px solid var(--line); background: var(--paper); }
.cash-summary h3,.cash-plan h3 { margin: 0; font-size: 21px; }
.cash-summary strong { display: block; margin: 32px 0 6px; color: #d8bd84; font-family: ui-serif,serif; font-size: 44px; font-weight: 500; }
.cash-summary p { margin: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.8; }
.cash-timeline { margin-top: 23px; }
.cash-timeline div { display: grid; grid-template-columns: 72px 1fr 80px; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 11px; }
.cash-timeline span { color: var(--muted); }
.cash-timeline em { color: var(--accent); font-style: normal; text-align: right; }

/* PetPlus: owner-pet identity, appointment, fulfillment, repurchase. */
.pet-desk { inset: 68px 22px 26px; display: grid; grid-template-columns: 155px 1fr; }
.pet-profile-rail { padding: 18px 14px; color: var(--white); background: var(--ink); }
.pet-profile-rail > small { color: rgba(255,255,255,.45); font-size: 7px; }
.pet-owner { margin-top: 14px; padding: 13px; border-radius: 13px; color: var(--ink); background: var(--accent-soft); }
.pet-owner b,.pet-owner small { display: block; }
.pet-owner b { font-size: 10px; }
.pet-owner small { margin-top: 4px; font-size: 7px; }
.pet-card { margin-top: 9px; padding: 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.pet-card b,.pet-card span { display: block; }
.pet-card b { font-size: 9px; }
.pet-card span { margin-top: 4px; color: rgba(255,255,255,.52); font-size: 7px; line-height: 1.55; }
.booking-board { padding: 18px; }
.booking-slots { margin-top: 14px; }
.booking-slot { display: grid; grid-template-columns: 44px 1fr 88px 52px; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.booking-slot time { color: var(--accent); font-size: 9px; font-weight: 760; }
.booking-slot b,.booking-slot small { display: block; }
.booking-slot b { font-size: 9px; }
.booking-slot small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.booking-slot span { padding: 5px 7px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 7px; text-align: center; }
.pet-service-path { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 62px; }
.service-day,.member-return { padding: 32px; border-radius: 26px; }
.service-day { border: 1px solid var(--line); background: var(--white); }
.member-return { color: var(--white); background: var(--ink); }
.service-day h3,.member-return h3 { margin: 0; font-size: 21px; }
.service-status { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 26px; }
.service-status div { min-height: 105px; padding: 14px; border-radius: 13px; background: var(--paper); }
.service-status div.active { color: var(--white); background: var(--accent); }
.service-status small,.service-status b { display: block; }
.service-status small { opacity: .68; font-size: 8px; }
.service-status b { margin-top: 22px; font-size: 11px; }
.return-list { margin-top: 22px; }
.return-list div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.return-list b { display: block; color: #d8bd84; font-size: 11px; }
.return-list span { display: block; margin-top: 5px; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.55; }
.pet-business-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 56px; }
.pet-business-types article { min-height: 245px; padding: 28px; border-top: 1px solid var(--line); }
.pet-business-types small { color: var(--accent); font-weight: 760; }
.pet-business-types h3 { margin: 42px 0 11px; font-size: 18px; }
.pet-business-types p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* JLPT: past papers first, then explanation and review. */
.jlpt-library { inset: 68px 22px 26px; display: grid; grid-template-columns: 140px 1fr; }
.level-rail { padding: 18px 12px; color: rgba(255,255,255,.58); background: var(--ink); }
.level-rail b { display: block; margin: 0 8px 15px; color: var(--white); font-size: 11px; }
.level-rail span { display: flex; justify-content: space-between; margin-top: 5px; padding: 8px 9px; border-radius: 8px; font-size: 8px; }
.level-rail span.active { color: var(--ink); background: var(--accent-soft); font-weight: 760; }
.exam-library { padding: 18px; }
.exam-years { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.exam-year { padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.exam-year.active { border-color: var(--accent); background: var(--accent-soft); }
.exam-year small,.exam-year b,.exam-year span { display: block; }
.exam-year small { color: var(--muted); font-size: 7px; }
.exam-year b { margin-top: 6px; font-size: 10px; }
.exam-year span { margin-top: 8px; color: var(--accent); font-size: 7px; }
.exam-mode { display: flex; gap: 7px; margin-top: 14px; }
.exam-mode span { padding: 7px 9px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 7px; }
.jlpt-core { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; margin-top: 62px; }
.exam-player,.answer-explain { padding: 30px; border-radius: 26px; }
.exam-player { color: var(--white); background: var(--ink); }
.answer-explain { border: 1px solid var(--line); background: var(--white); }
.exam-player h3,.answer-explain h3 { margin: 0; font-size: 21px; }
.question-card { margin-top: 25px; padding: 22px; border-radius: 18px; color: var(--ink); background: var(--white); }
.question-card small { color: var(--muted); }
.question-card p { font-family: ui-serif,"Yu Mincho",serif; font-size: 17px; line-height: 1.65; }
.question-options span { display: block; margin-top: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; }
.question-options span.selected { border-color: var(--accent); background: var(--accent-soft); }
.explain-tabs { display: flex; gap: 7px; margin-top: 23px; }
.explain-tabs span { padding: 7px 10px; border-radius: 999px; background: var(--paper); font-size: 8px; }
.explain-tabs span.active { color: var(--white); background: var(--accent); }
.answer-explain > p { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.listening-loop { margin-top: 24px; padding: 17px; border-radius: 15px; background: var(--paper); }
.wave { display: flex; height: 42px; align-items: center; gap: 3px; }
.wave i { width: 3px; height: var(--h); border-radius: 4px; background: var(--accent); }
.listening-loop b,.listening-loop small { display: block; }
.listening-loop b { font-size: 11px; }
.listening-loop small { margin-top: 7px; color: var(--muted); font-size: 9px; }
.review-plan { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 54px; }
.review-plan article { min-height: 205px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.review-plan small { color: var(--accent); font-size: 9px; font-weight: 760; }
.review-plan h3 { margin: 34px 0 9px; font-size: 16px; }
.review-plan p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }

/* SpeakNative: scenario, dialogue, pronunciation and free expression. */
.speak-scene { inset: 68px 22px 26px; display: grid; grid-template-columns: 145px 1fr; }
.scene-rail { padding: 18px 10px; color: rgba(255,255,255,.58); background: var(--ink); }
.scene-rail b { display: block; margin: 0 8px 14px; color: var(--white); font-size: 11px; }
.scene-rail span { display: block; margin-top: 4px; padding: 8px; border-radius: 8px; font-size: 8px; }
.scene-rail span.active { color: var(--ink); background: var(--accent-soft); font-weight: 750; }
.dialogue-board { padding: 18px; }
.dialogue-turn { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); }
.dialogue-turn i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 8px; font-style: normal; }
.dialogue-turn.user i { color: var(--white); background: var(--accent); }
.dialogue-turn b,.dialogue-turn small { display: block; }
.dialogue-turn b { font-size: 10px; }
.dialogue-turn small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.dialogue-turn span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 999px; font-size: 7px; }
.speak-practice { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; margin-top: 62px; }
.sentence-lab,.pronunciation-lab { padding: 32px; border-radius: 26px; }
.sentence-lab { border: 1px solid var(--line); background: var(--white); }
.pronunciation-lab { color: var(--white); background: var(--ink); }
.sentence-lab h3,.pronunciation-lab h3 { margin: 0; font-size: 21px; }
.jp-sentence { margin-top: 28px; font-family: ui-serif,"Yu Mincho",serif; font-size: 25px; line-height: 1.55; }
.sentence-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.sentence-notes div { padding: 14px; border-radius: 12px; background: var(--paper); }
.sentence-notes b,.sentence-notes span { display: block; }
.sentence-notes b { font-size: 10px; }
.sentence-notes span { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.score-ring { display: grid; width: 108px; height: 108px; margin: 28px auto; place-items: center; border: 9px solid rgba(255,255,255,.12); border-top-color: #d8bd84; border-right-color: #d8bd84; border-radius: 50%; }
.score-ring strong { font-family: ui-serif,serif; font-size: 31px; font-weight: 500; }
.score-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.score-details div { padding: 10px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; }
.score-details small,.score-details b { display: block; }
.score-details small { color: rgba(255,255,255,.48); font-size: 8px; }
.score-details b { margin-top: 5px; font-size: 11px; }
.free-talk { margin-top: 54px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); }
.free-talk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.free-talk h3 { margin: 0; font-size: 21px; }
.free-talk-head p { max-width: 550px; margin: 0; color: var(--muted); line-height: 1.75; }
.free-talk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.speech-input,.grammar-feedback { padding: 20px; border-radius: 17px; background: var(--white); }
.speech-input small,.grammar-feedback small { color: var(--accent); font-size: 9px; font-weight: 760; }
.speech-input p,.grammar-feedback p { margin: 13px 0 0; line-height: 1.8; }
.grammar-feedback p { color: var(--muted); font-size: 12px; }

/* WitMe: goal contract, action, evidence and witness. */
.witme-phone { position: absolute; top: 64px; left: 50%; z-index: 3; width: 260px; min-height: 482px; padding: 18px; border: 7px solid var(--ink); border-radius: 40px; background: var(--white); box-shadow: 0 24px 58px rgba(16,43,42,.2); transform: translateX(-50%); }
.witme-phone::before { display: block; width: 58px; height: 5px; margin: -4px auto 20px; border-radius: 10px; content: ""; background: var(--ink); }
.witme-phone small,.witme-phone b { display: block; }
.witme-phone > small { color: var(--muted); font-size: 8px; }
.witme-phone > b { margin-top: 6px; font-size: 16px; }
.goal-progress { display: flex; gap: 5px; margin: 18px 0; }
.goal-progress i { flex: 1; height: 6px; border-radius: 8px; background: var(--paper-2); }
.goal-progress i.done { background: var(--accent); }
.today-action { padding: 16px; border-radius: 15px; color: var(--white); background: var(--ink); }
.today-action small { color: rgba(255,255,255,.48); }
.today-action b { margin-top: 7px; font-size: 13px; }
.today-action span { display: block; margin-top: 8px; color: #d8bd84; font-size: 9px; }
.evidence-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 12px; }
.evidence-methods span { padding: 9px 3px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 7px; text-align: center; }
.evidence-methods span.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.goal-card-float { top: 108px; left: 18px; width: 200px; padding: 16px; transform: rotate(-3deg); }
.goal-card-float strong,.witness-card-float strong { display: block; font-size: 10px; }
.goal-card-float p,.witness-card-float p { margin: 7px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.witness-card-float { right: 18px; bottom: 54px; width: 205px; padding: 16px; transform: rotate(3deg); }
.witme-lifecycle { display: grid; grid-template-columns: repeat(7,1fr); align-items: center; margin-top: 62px; }
.witme-lifecycle article { min-height: 205px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.witme-lifecycle > i { color: var(--warm); font-style: normal; text-align: center; }
.witme-lifecycle small { color: var(--accent); font-size: 9px; font-weight: 760; }
.witme-lifecycle h3 { margin: 34px 0 10px; font-size: 16px; }
.witme-lifecycle p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.witme-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 58px; }
.evidence-log,.milestone-report { padding: 32px; border-radius: 26px; }
.evidence-log { border: 1px solid var(--line); background: var(--paper); }
.milestone-report { color: var(--white); background: var(--ink); }
.evidence-log h3,.milestone-report h3 { margin: 0; font-size: 21px; }
.log-item { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; padding: 15px 0; border-top: 1px solid var(--line); }
.log-item:first-of-type { margin-top: 20px; }
.log-item i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--white); background: var(--accent); font-size: 9px; font-style: normal; }
.log-item b,.log-item small { display: block; }
.log-item b { font-size: 11px; }
.log-item small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.log-item em { color: var(--accent); font-size: 9px; font-style: normal; }
.report-number { display: block; margin: 32px 0 6px; color: #d8bd84; font-family: ui-serif,serif; font-size: 48px; font-weight: 500; }
.milestone-report p { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.8; }
.report-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 24px; }
.report-points span { padding: 12px 5px; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; color: rgba(255,255,255,.72); font-size: 9px; text-align: center; }

/* AIStudy: complete product delivery path. */
.course-map { inset: 68px 22px 26px; display: grid; grid-template-columns: 150px 1fr; }
.chapter-rail { padding: 18px 10px; color: rgba(255,255,255,.58); background: var(--ink); }
.chapter-rail b { display: block; margin: 0 8px 14px; color: var(--white); font-size: 11px; }
.chapter-rail span { display: block; margin-top: 4px; padding: 8px; border-radius: 8px; font-size: 8px; }
.chapter-rail span.active { color: var(--ink); background: var(--accent-soft); font-weight: 760; }
.project-board { padding: 18px; }
.product-architecture { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; margin-top: 18px; }
.product-architecture div { padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; }
.product-architecture div.active { border-color: var(--accent); background: var(--accent-soft); }
.product-architecture small,.product-architecture b,.product-architecture span { display: block; }
.product-architecture small { color: var(--muted); font-size: 7px; }
.product-architecture b { margin-top: 6px; font-size: 9px; }
.product-architecture span { margin-top: 5px; color: var(--muted); font-size: 7px; line-height: 1.5; }
.product-architecture > i { align-self: center; color: var(--warm); font-size: 8px; font-style: normal; }
.acceptance-box { margin-top: 13px; padding: 13px; border-left: 3px solid var(--accent); background: var(--paper); }
.acceptance-box b,.acceptance-box span { display: block; }
.acceptance-box b { font-size: 9px; }
.acceptance-box span { margin-top: 5px; color: var(--muted); font-size: 8px; }
.ai-workflow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; margin-top: 62px; }
.ai-method,.build-loop { padding: 32px; border-radius: 26px; }
.ai-method { color: var(--white); background: var(--ink); }
.build-loop { border: 1px solid var(--line); background: var(--white); }
.ai-method h3,.build-loop h3 { margin: 0; font-size: 21px; }
.method-list { margin-top: 24px; }
.method-list div { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); }
.method-list b { display: block; color: #d8bd84; font-size: 11px; }
.method-list span { display: block; margin-top: 5px; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.6; }
.loop-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-top: 25px; }
.loop-steps div { min-height: 120px; padding: 14px; border-radius: 13px; background: var(--paper); }
.loop-steps small,.loop-steps b { display: block; }
.loop-steps small { color: var(--accent); font-size: 8px; font-weight: 760; }
.loop-steps b { margin-top: 30px; font-size: 10px; }
.shipping-map { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 54px; }
.shipping-map article { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.shipping-map small { color: var(--accent); font-size: 9px; font-weight: 760; }
.shipping-map h3 { margin: 38px 0 10px; font-size: 17px; }
.shipping-map p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

@media (max-width: 1080px) {
  .story-hero-grid { grid-template-columns: 1fr; }
  .visual-shell { min-height: 580px; }
  .creator-loop { grid-template-columns: repeat(3,1fr); }
  .creator-loop article:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .creator-loop article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .finance-trace { grid-template-columns: 1fr; gap: 10px; }
  .finance-trace > i { transform: rotate(90deg); }
  .finance-trace article { min-height: 170px; }
  .witme-lifecycle { grid-template-columns: 1fr; gap: 9px; }
  .witme-lifecycle > i { transform: rotate(90deg); }
  .witme-lifecycle article { min-height: 160px; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 32px),var(--shell)); }
  .site-header { height: 68px; }
  .brand-logo { width: 78px; height: 60px; }
  .product-lockup small { display: none; }
  .main-nav { position: fixed; inset: 68px 0 auto; display: none; width: 100%; padding: 18px 16px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav a::after { display: none; }
  .header-cta { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .story-hero { padding: 66px 0 58px; }
  .story-copy h1 { font-size: clamp(42px,11vw,58px); }
  .story-intro-inner,.section-heading { grid-template-columns: 1fr; gap: 28px; }
  .story-intro-inner { padding: 58px 0; }
  .story-section { padding: 88px 0; }
  .role-strip { grid-template-columns: 1fr; }
  .role-strip article { min-height: auto; padding: 28px 0; }
  .role-strip article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .meow-chain,.meow-analysis,.classhub-evidence,.cash-story,.pet-service-path,.jlpt-core,.speak-practice,.witme-proof,.ai-workflow { grid-template-columns: 1fr; }
  .creator-loop { grid-template-columns: repeat(2,1fr); }
  .creator-loop article:nth-child(odd) { border-left: 0; }
  .creator-loop article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .review-plan,.shipping-map { grid-template-columns: repeat(2,1fr); }
  .pet-business-types { grid-template-columns: 1fr; }
  .pet-business-types article { min-height: auto; }
  .cta-card { grid-template-columns: 1fr; padding: 38px 28px; }
  .cta-card .button { justify-self: start; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 24px),var(--shell)); }
  .product-lockup strong { font-size: 13px; }
  .story-hero { padding: 48px 0 52px; }
  .story-hero-grid { gap: 32px; }
  .story-kicker { margin-bottom: 15px; }
  .story-copy h1 { font-size: 39px; line-height: 1.1; }
  html[lang="ja"] .story-copy h1 { font-size: 34px; line-height: 1.15; }
  .story-copy > p:not(.story-kicker) { margin-top: 20px; font-size: 15px; line-height: 1.78; }
  .story-actions { display: grid; }
  .story-actions { margin-top: 25px; }
  .story-proofline { margin-top: 22px; }
  .button { width: 100%; }
  .visual-shell { min-height: 560px; border-radius: 26px; }
  .visual-label { top: 18px; left: 18px; }
  .story-intro p { padding-left: 18px; }
  .section-heading h2 { font-size: 39px; }
  .meow-board,.pet-desk,.jlpt-library,.speak-scene,.course-map { inset: 54px 7px 16px; grid-template-columns: 1fr; }
  .meow-board .ui-side,.pet-profile-rail,.level-rail,.scene-rail,.chapter-rail { display: none; }
  .meow-main,.booking-board,.exam-library,.dialogue-board,.project-board { padding: 13px 10px; }
  .meow-kpis { grid-template-columns: repeat(2,1fr); }
  .schedule-canvas { grid-template-columns: 52px repeat(3,1fr); }
  .schedule-canvas span:nth-child(5n) { display: none; }
  .meow-alert { right: -4px; bottom: 8px; width: 190px; }
  .chain-nodes { grid-template-columns: repeat(3,1fr); gap: 7px; }
  .chain-nodes i { display: none; }
  .score-head,.score-row { grid-template-columns: 1fr repeat(2,55px); }
  .score-head span:nth-child(n+4),.score-row span:nth-child(n+4) { display: none; }
  .content-builder { inset: 0 0 120px; grid-template-columns: 1fr; }
  .content-builder .ui-side { display: none; }
  .entitlement-card { right: -3px; width: 245px; }
  .creator-loop { grid-template-columns: 1fr; }
  .creator-loop article,.creator-loop article:nth-child(4) { min-height: 180px; border-top: 1px solid var(--line); border-left: 0; }
  .creator-loop article:first-child { border-top: 0; }
  .creator-loop h3 { margin-top: 24px; }
  .journey-grid { grid-template-columns: 1fr; }
  .finance-desk { inset: 54px 7px 16px; padding: 12px 9px; }
  .finance-source { grid-template-columns: 1fr; }
  .finance-source div:not(.active) { display: none; }
  .match-panel { grid-template-columns: 1fr; }
  .booking-slot { grid-template-columns: 38px 1fr 50px; }
  .booking-slot > span { display: none; }
  .service-status { grid-template-columns: repeat(2,1fr); }
  .exam-years { grid-template-columns: repeat(2,1fr); }
  .exam-year:nth-child(n+5) { display: none; }
  .review-plan,.shipping-map { grid-template-columns: 1fr; }
  .sentence-notes,.free-talk-grid { grid-template-columns: 1fr; }
  .free-talk-head { align-items: flex-start; flex-direction: column; }
  .witme-phone { top: 62px; width: 226px; min-height: 460px; }
  .goal-card-float { top: 105px; left: -5px; width: 150px; }
  .witness-card-float { right: -5px; bottom: 25px; width: 158px; }
  .goal-card-float p,.witness-card-float p { font-size: 7px; }
  .product-architecture { grid-template-columns: 1fr; }
  .product-architecture > i { display: none; }
  .loop-steps { grid-template-columns: repeat(2,1fr); }
  .loop-steps div:last-child { grid-column: span 2; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Meow v4 — abstracted from the current production UI structure. */
.meow-real-hero {
  position: absolute;
  inset: 62px 20px 22px;
  z-index: 2;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16,43,42,.13);
  overflow: hidden;
}
.meow-real-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meow-real-toolbar h3 { margin: 0; font-size: 13px; }
.meow-real-selects { display: flex; gap: 6px; }
.meow-real-selects span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fff; font-size: 7px; }
.meow-real-summary { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; margin-top: 11px; }
.meow-real-summary div { padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.meow-real-summary small,.meow-real-summary b { display: block; }
.meow-real-summary small { color: var(--muted); font-size: 6px; }
.meow-real-summary b { margin-top: 3px; font-size: 13px; }
.meow-real-summary div:nth-child(2) b,.meow-real-summary div:last-child b { color: var(--warn); }
.meow-real-summary div:nth-child(3) b { color: var(--accent); }
.meow-real-actions { display: flex; gap: 5px; margin-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.meow-real-actions span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 6px; white-space: nowrap; }
.meow-real-actions span:last-child { margin-left: auto; color: var(--white); border-color: var(--accent); background: var(--accent); }
.meow-real-planner { display: grid; grid-template-columns: 105px 1fr; min-height: 290px; margin-top: 9px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.meow-real-classes { padding: 10px 8px; border-right: 1px solid var(--line); background: #faf9f4; }
.meow-real-classes > b { display: block; margin-bottom: 8px; font-size: 8px; }
.meow-real-classes > small { display: block; margin-bottom: 8px; color: var(--muted); font-size: 6px; line-height: 1.45; }
.meow-real-class { margin-top: 5px; padding: 7px; border-radius: 7px; color: var(--muted); font-size: 7px; }
.meow-real-class.active { color: var(--ink); background: var(--accent-soft); font-weight: 760; }
.meow-real-class em { display: block; margin-top: 2px; color: var(--muted); font-size: 5px; font-style: normal; font-weight: 400; }
.meow-real-tasks { min-width: 0; padding: 10px; }
.meow-real-task-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.meow-real-task-head b { font-size: 9px; }
.meow-real-task-head span { padding: 5px 7px; border-radius: 7px; color: var(--white); background: var(--accent); font-size: 6px; }
.meow-real-draft { margin-top: 7px; padding: 6px 8px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); font-size: 6px; }
.meow-real-table { margin-top: 7px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.meow-real-row { display: grid; grid-template-columns: 1.2fr 1fr .58fr .58fr .55fr .72fr; align-items: center; min-height: 31px; border-top: 1px solid var(--line); }
.meow-real-row:first-child { border-top: 0; color: var(--muted); background: var(--paper); font-size: 5px; font-weight: 700; }
.meow-real-row > span { min-width: 0; padding: 5px 6px; border-left: 1px solid var(--line); font-size: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meow-real-row > span:first-child { border-left: 0; }
.meow-real-row .state { color: var(--accent); font-weight: 760; }

.product-figure { margin: 0; }
.product-figure figcaption { margin-top: 13px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.product-figure figcaption strong { color: var(--ink); font-weight: 700; }
.real-ui-frame { position: relative; border: 1px solid var(--line); border-radius: 25px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.real-ui-label { display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #faf9f4; }
.real-ui-label b { font-size: 11px; }
.real-ui-label span { color: var(--muted); font-size: 8px; }

.meow-proof-stack { display: grid; gap: 58px; margin-top: 62px; }
.meow-proof-row { display: grid; grid-template-columns: .68fr 1.32fr; align-items: center; gap: 54px; }
.meow-proof-row.reverse { grid-template-columns: 1.32fr .68fr; }
.meow-proof-copy small { color: var(--accent); font-size: 10px; font-weight: 760; letter-spacing: .08em; }
.meow-proof-copy h3 { margin: 18px 0 12px; font-family: ui-serif,"Songti SC",STSong,serif; font-size: 33px; font-weight: 500; line-height: 1.28; }
.meow-proof-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.precheck-body { display: grid; grid-template-columns: 1fr .8fr; gap: 12px; padding: 16px; background: var(--paper); }
.precheck-card { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.precheck-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.precheck-card-head b { font-size: 11px; }
.precheck-card-head span { padding: 6px 8px; border-radius: 7px; color: var(--white); background: var(--accent); font-size: 7px; }
.precheck-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-top: 12px; }
.precheck-stats div { padding: 9px; border-radius: 9px; background: var(--paper); }
.precheck-stats small,.precheck-stats b { display: block; }
.precheck-stats small { color: var(--muted); font-size: 6px; }
.precheck-stats b { margin-top: 4px; font-size: 12px; }
.blocking-list { margin-top: 12px; }
.blocking-list > b { display: block; margin-bottom: 6px; color: var(--warn); font-size: 9px; }
.blocking-item { display: grid; grid-template-columns: 48px 1fr; gap: 8px; margin-top: 5px; padding: 8px; border-radius: 8px; background: #fff8ec; }
.blocking-item span { color: #8b5c20; font-size: 6px; font-weight: 760; }
.blocking-item p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.5; }
.run-schedule-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
.run-schedule-panel > p { margin: 12px 0 0; color: var(--muted); font-size: 8px; line-height: 1.65; }
.run-buttons { display: grid; gap: 7px; margin-top: 16px; }
.run-buttons span { padding: 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 8px; text-align: center; }
.run-buttons span:first-child { color: var(--white); border-color: var(--accent); background: var(--accent); }
.run-result { margin-top: 13px; padding: 11px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 8px; text-align: center; }

.master-table-wrap { padding: 15px; background: var(--paper); }
.weekday-tabs { display: flex; gap: 5px; margin-bottom: 11px; }
.weekday-tabs span { padding: 6px 11px; border: 1px solid var(--line); background: #fff; font-size: 7px; }
.weekday-tabs span:first-child { color: var(--white); border-color: var(--accent); background: var(--accent); }
.master-table { display: grid; grid-template-columns: 74px repeat(4,1fr); border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.master-table > div { min-height: 70px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.master-table > div:nth-child(5n) { border-right: 0; }
.master-table .head { min-height: 44px; color: var(--muted); background: #faf9f4; font-size: 7px; font-weight: 700; }
.master-table .time { color: var(--muted); background: #fbfaf6; font-size: 7px; }
.master-table .course { margin: 4px; min-height: 57px; border-left: 3px solid var(--accent); border-radius: 8px; background: var(--accent-soft); }
.master-table .course b,.master-table .course small { display: block; }
.master-table .course b { font-size: 8px; }
.master-table .course small { margin-top: 5px; color: var(--muted); font-size: 6px; }

.change-request-body { padding: 15px; background: var(--paper); }
.request-filters { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 10px; }
.request-filters span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fff; font-size: 7px; }
.request-table { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.request-row { display: grid; grid-template-columns: .8fr 1.2fr 1fr .8fr .55fr .55fr; align-items: center; min-height: 46px; border-top: 1px solid var(--line); }
.request-row:first-child { min-height: 35px; border-top: 0; color: var(--muted); background: #faf9f4; font-weight: 700; }
.request-row > span { min-width: 0; padding: 8px; font-size: 7px; line-height: 1.45; }
.request-row .pending { color: var(--warn); }
.request-row .action { color: var(--accent); font-weight: 760; }
.change-dialog { position: absolute; right: 22px; bottom: 20px; width: 295px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 45px rgba(16,43,42,.18); }
.change-dialog h4 { margin: 0 0 12px; font-size: 11px; }
.change-form-row { display: grid; grid-template-columns: 60px 1fr; gap: 8px; align-items: center; margin-top: 7px; }
.change-form-row small { color: var(--muted); font-size: 7px; }
.change-form-row span { padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 7px; }
.change-dialog .confirm { display: block; margin-top: 11px; padding: 8px; border-radius: 8px; color: #fff; background: var(--accent); font-size: 7px; text-align: center; }

.ops-real-body { padding: 16px; background: #f5f5f2; }
.ops-primary { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10px; }
.ops-title-card { padding: 18px; border-radius: 15px; color: #fff; background: var(--ink); }
.ops-title-card small,.ops-title-card b,.ops-title-card span { display: block; }
.ops-title-card small { color: rgba(255,255,255,.55); font-size: 7px; }
.ops-title-card b { margin-top: 16px; font-size: 16px; }
.ops-title-card span { margin-top: 8px; color: rgba(255,255,255,.6); font-size: 7px; }
.ops-metrics-real { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.ops-metrics-real div { padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.ops-metrics-real small,.ops-metrics-real b,.ops-metrics-real em { display: block; }
.ops-metrics-real small { color: var(--muted); font-size: 6px; }
.ops-metrics-real b { margin-top: 15px; font-size: 14px; }
.ops-metrics-real em { margin-top: 8px; color: var(--accent); font-size: 6px; font-style: normal; }
.ops-chart-real { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9px; margin-top: 10px; }
.trend-real,.funnel-real { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.trend-real > b,.funnel-real > b { font-size: 9px; }
.line-chart { position: relative; height: 92px; margin-top: 11px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom,transparent 0 22px,rgba(16,43,42,.07) 23px); }
.line-chart svg { width: 100%; height: 100%; }
.funnel-bars { display: grid; gap: 6px; margin-top: 13px; }
.funnel-bars div { display: flex; align-items: center; justify-content: space-between; height: 20px; padding: 0 8px; border-radius: 5px; color: #fff; background: var(--accent); font-size: 6px; }
.funnel-bars div:nth-child(2) { margin-inline: 8%; opacity: .88; }
.funnel-bars div:nth-child(3) { margin-inline: 17%; opacity: .76; }
.funnel-bars div:nth-child(4) { margin-inline: 26%; opacity: .65; }
.ops-domains { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 9px; }
.ops-domains div { padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.ops-domains b,.ops-domains small { display: block; }
.ops-domains b { font-size: 8px; }
.ops-domains small { margin-top: 6px; color: var(--muted); font-size: 6px; line-height: 1.5; }

.renewal-real-body { padding: 16px; background: var(--paper); }
.renewal-buckets-real { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.renewal-buckets-real div { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.renewal-buckets-real small,.renewal-buckets-real b,.renewal-buckets-real span { display: block; }
.renewal-buckets-real small { color: var(--muted); font-size: 7px; }
.renewal-buckets-real b { margin-top: 8px; color: var(--warn); font-size: 17px; }
.renewal-buckets-real span { margin-top: 3px; color: var(--muted); font-size: 6px; }
.renewal-table { margin-top: 11px; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; }
.renewal-row { display: grid; grid-template-columns: .8fr .9fr 1.1fr .6fr .7fr .7fr; align-items: center; min-height: 36px; border-top: 1px solid var(--line); }
.renewal-row:first-child { border-top: 0; color: var(--muted); background: #faf9f4; font-weight: 700; }
.renewal-row span { min-width: 0; padding: 7px; font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.renewal-row .risk { color: var(--warn); font-weight: 760; }

.business-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 58px; }
.business-proof-grid .real-ui-frame { min-height: 360px; }
.list-ui-body { padding: 13px; background: var(--paper); }
.list-filter-real { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.list-filter-real span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font-size: 6px; }
.list-filter-real span:last-child { color: #fff; border-color: var(--accent); background: var(--accent); }
.simple-table-real { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.simple-row-real { display: grid; grid-template-columns: 1fr 1fr .8fr .8fr .8fr; align-items: center; min-height: 38px; border-top: 1px solid var(--line); }
.simple-row-real:first-child { border-top: 0; color: var(--muted); background: #faf9f4; font-weight: 700; }
.simple-row-real span { min-width: 0; padding: 7px; font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.simple-row-real .status { color: var(--accent); font-weight: 760; }

@media (max-width: 900px) {
  .meow-proof-row,.meow-proof-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .meow-proof-row.reverse .meow-proof-copy { order: -1; }
  .business-proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .meow-real-hero { inset: 54px 6px 14px; padding: 10px; }
  .meow-real-toolbar { align-items: flex-start; }
  .meow-real-selects span:last-child { display: none; }
  .meow-real-summary { grid-template-columns: repeat(3,1fr); }
  .meow-real-summary div:nth-child(n+4) { display: none; }
  .meow-real-actions span:nth-child(2),.meow-real-actions span:nth-child(3),.meow-real-actions span:nth-child(4) { display: none; }
  .meow-real-planner { grid-template-columns: 78px 1fr; min-height: 300px; }
  .meow-real-class:not(.active):nth-of-type(n+4) { display: none; }
  .meow-real-row { grid-template-columns: 1.2fr 1fr .65fr; }
  .meow-real-row > span:nth-child(4),.meow-real-row > span:nth-child(5),.meow-real-row > span:nth-child(6) { display: none; }
  .meow-proof-stack { gap: 46px; margin-top: 48px; }
  .meow-proof-copy h3 { font-size: 28px; }
  .precheck-body { grid-template-columns: 1fr; padding: 10px; }
  .precheck-stats { grid-template-columns: repeat(2,1fr); }
  .run-schedule-panel { min-height: auto; }
  .blocking-item:nth-child(n+3) { display: none; }
  .master-table { grid-template-columns: 62px repeat(2,1fr); }
  .master-table > div:nth-child(5n) { border-right: 1px solid var(--line); }
  .master-table > div:nth-child(5n-1),.master-table > div:nth-child(5n) { display: none; }
  .master-table > div:nth-child(3n) { border-right: 0; }
  .request-row { grid-template-columns: 1fr 1.2fr .65fr; }
  .request-row > span:nth-child(3),.request-row > span:nth-child(4),.request-row > span:nth-child(6) { display: none; }
  .change-dialog { position: relative; right: auto; bottom: auto; width: auto; margin: 12px 0 0; }
  .ops-primary,.ops-chart-real { grid-template-columns: 1fr; }
  .ops-metrics-real { grid-template-columns: repeat(2,1fr); }
  .ops-domains { grid-template-columns: repeat(2,1fr); }
  .renewal-buckets-real { grid-template-columns: repeat(2,1fr); }
  .renewal-row { grid-template-columns: 1fr 1fr .75fr; }
  .renewal-row span:nth-child(3),.renewal-row span:nth-child(5),.renewal-row span:nth-child(6) { display: none; }
  .simple-row-real { grid-template-columns: 1fr 1fr .8fr; }
  .simple-row-real span:nth-child(3),.simple-row-real span:nth-child(4) { display: none; }
}
