/* =====================================================================
   想象力英语伴学（www.yuanyeai.cn）官网设计样式
   Warm Intellectual Editorial · Royal Blue (#1D4ED8) + Streak Orange (#F97316)
   ===================================================================== */

:root {
  --c-primary: #1D4ED8;
  --c-primary-soft: #2563EB;
  --c-primary-hover: #1E40AF;
  --c-primary-deep: #0E1F44;
  --c-primary-bg: #EEF2FF;
  --c-primary-bd: #C7D2FE;

  --c-orange: #F97316;
  --c-orange-soft: #FB923C;
  --c-orange-bg: #FFF7ED;
  --c-orange-bd: #FED7AA;

  --c-green: #0F9F6E;
  --c-green-strong: #15803D;
  --c-green-bg: #ECFDF5;
  --c-green-bd: #A7F3D0;

  --c-amber: #B45309;
  --c-amber-bg: #FEF6E7;

  --bg-porcelain: #F6F8FC;
  --bg-light: #FFFFFF;
  --bg-cream: #FFFDF8;
  --bg-midnight: #0B1736;
  --bg-midnight-card: rgba(255, 255, 255, 0.055);

  --bd-card: #E2E8F0;
  --bd-subtle: #EDF2F7;

  --text-strong: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-en: "SF Pro Display", "SF Pro Text", "Segoe UI", "Inter", -apple-system, sans-serif;
  --font-ipa: "DejaVu Sans", "Noto Sans", "Charis SIL", "Lucida Sans Unicode", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-md: 0 12px 32px -12px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.04);
  --sh-lg: 0 28px 64px -20px rgba(14, 31, 68, 0.2), 0 4px 14px rgba(14, 31, 68, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  letter-spacing: -0.025em;
  line-height: 1.22;
  text-wrap: balance;
}

p {
  margin: 0;
}

.lead,
.pretty-text,
.faq-answer p,
.legal-prose p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-en { font-family: var(--font-en); }
.font-ipa { font-family: var(--font-ipa); }
.tnum { font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: var(--c-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

:focus-visible {
  outline: 2.5px solid var(--c-primary);
  outline-offset: 2px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-inline-size: 24px;
  min-block-size: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn--sm {
  min-block-size: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.btn--lg {
  min-block-size: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
  min-block-size: 46px;
}

.btn--primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.55);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  box-shadow: 0 14px 28px -10px rgba(29, 78, 216, 0.65);
}

.btn--soft {
  background: var(--c-primary-bg);
  border-color: var(--c-primary-bd);
  color: var(--c-primary);
}

.btn--soft:hover {
  background: #E0E7FF;
  border-color: #A5B4FC;
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-body);
}

.btn--ghost:hover {
  background: #F1F5F9;
  color: var(--text-strong);
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 14px -6px rgba(29, 78, 216, 0.45);
}

.brand-emblem svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: #F1F5F9;
  color: var(--c-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 88px;
  background:
    radial-gradient(680px 440px at 84% 26%, rgba(29, 78, 216, 0.095), transparent 68%),
    radial-gradient(520px 380px at 14% 16%, rgba(249, 115, 22, 0.075), transparent 68%),
    linear-gradient(180deg, #F8FAFF 0%, #F4F6FB 65%, #FFFFFF 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29, 78, 216, 0.085) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 82% 72% at 50% 38%, black 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 50% 38%, black 35%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #DBEAFE;
  color: var(--c-primary);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--sh-sm);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.25rem, 4.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--c-primary);
  padding-inline: 2px;
}

.hero-brush {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -6px;
  width: calc(100% + 4px);
  height: 13px;
  pointer-events: none;
}

.hero-lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-body);
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-pillars {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(203, 213, 225, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-pillars li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-pillars svg {
  color: var(--c-primary);
  flex: none;
}

/* ==================== HERO INTERACTIVE STAGE ==================== */
.hero-stage {
  position: relative;
  padding: 50px 10px 66px;
}

.stage-mascot {
  position: absolute;
  top: -6px;
  right: 8px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.mascot-bubble {
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: 12px 12px 2px 12px;
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  box-shadow: var(--sh-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary-deep);
  white-space: nowrap;
}

.owl-svg {
  width: 106px;
  height: 88px;
  filter: drop-shadow(0 10px 16px rgba(14, 31, 68, 0.16));
}

.owl-bob,
.owl-eye {
  transform-box: view-box;
}

.owl-bob { transform-origin: 120px 110px; }
.owl-eye--l { transform-origin: 101px 88px; }
.owl-eye--r { transform-origin: 139px 88px; }

@media (prefers-reduced-motion: no-preference) {
  .owl-bob {
    animation: stage-owl-bob 3.2s ease-in-out infinite;
  }

  .owl-eye {
    animation: stage-owl-blink 4.6s ease-in-out infinite;
  }
}

@keyframes stage-owl-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(1.4deg); }
}

@keyframes stage-owl-blink {
  0%, 84%, 100% { transform: scaleY(1); }
  88% { transform: scaleY(0.08); }
  92% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
  99% { transform: scaleY(1); }
}

.stage-chip {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--bd-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
}

.stage-chip--streak {
  top: 0;
  left: -8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
}

.stage-chip--streak > div strong {
  display: block;
  font-size: 12.5px;
  color: var(--text-strong);
  line-height: 1.25;
}

.stage-chip--streak > div span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.chip-icon--orange {
  background: var(--c-orange-bg);
  color: var(--c-orange);
  border: 1px solid var(--c-orange-bd);
}

.stage-chip--vocab {
  bottom: 0;
  left: -8px;
  width: 236px;
  padding: 11px 14px;
}

.vocab-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 7px;
}

.vocab-mini-head strong {
  color: var(--text-strong);
}

.vocab-mini-head span {
  color: var(--c-green-strong);
  font-weight: 600;
}

.vocab-mini-bar {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 2px;
}

.vocab-mini-bar span {
  height: 100%;
  border-radius: 2px;
}

.vocab-mini-legend {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-muted);
}

.vocab-mini-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vocab-mini-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.demo-card {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid #DDE5F4;
  border-radius: var(--r-xl);
  padding: 22px 22px 24px;
  box-shadow: var(--sh-lg);
}

.demo-card__top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bd-subtle);
}

.demo-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.demo-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-primary);
  background: var(--c-primary-bg);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.demo-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.word-switcher {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.word-pill {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--bd-card);
  background: #F8FAFC;
  color: var(--text-body);
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.word-pill:hover {
  border-color: var(--c-primary-bd);
  color: var(--c-primary);
}

.word-pill.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #FFFFFF;
}

.demo-word-box {
  padding-top: 16px;
}

.demo-word-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-word {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.demo-word mark {
  background: var(--c-orange-bg);
  color: #C2410C;
  border-radius: 5px;
  padding: 0 3px;
}

.demo-ipa {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.demo-zh {
  color: var(--text-body);
  font-weight: 500;
}

.score-pill {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--c-green-bg);
  border: 1px solid var(--c-green-bd);
  color: var(--c-green-strong);
  font-size: 12px;
  font-weight: 700;
}

.tracks {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track {
  display: grid;
  grid-template-columns: 8px 82px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.track--orange {
  background: #FFF7F0;
  border-color: #FBE0CB;
  --bar-c: #FF8A3D;
}

.track--blue {
  background: #F5F8FE;
  border-color: #D6E2FF;
  --bar-c: #1D4ED8;
}

.track--green {
  background: #ECFDF5;
  border-color: #A7F3D0;
  --bar-c: #0F9F6E;
}

.track.is-playing {
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.22);
  border-color: var(--bar-c);
}

.track-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bar-c);
}

.track-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-strong);
}

.wave-bars {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.wave-bars i {
  width: 3.5px;
  flex: none;
  height: var(--h, 50%);
  border-radius: 99px;
  background: var(--bar-c);
  opacity: 0.52;
  transform-origin: center;
  transition: opacity 0.2s ease;
}

.track.is-playing .wave-bars i {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .track.is-playing .wave-bars i {
    animation: wave-dance 0.65s ease-in-out infinite alternate;
  }

  .track.is-playing .wave-bars i:nth-child(odd) {
    animation-delay: 0.14s;
  }

  .track.is-playing .wave-bars i:nth-child(3n) {
    animation-delay: 0.28s;
  }
}

@keyframes wave-dance {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1.12); }
}

.track-time {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: right;
  font-weight: 600;
}

.teacher-note {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--bg-cream);
  border: 1px solid #FDE68A;
}

.teacher-note__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}

.teacher-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-green);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.teacher-note__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-strong);
  margin-right: auto;
}

.demo-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid #C7D2FE;
  background: #FFFFFF;
  color: var(--c-primary);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.demo-play-btn:hover {
  background: var(--c-primary-bg);
}

.teacher-note p {
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-body);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 88px 0;
}

.section--light {
  background: var(--bg-light);
}

.section--porcelain {
  background: var(--bg-porcelain);
}

.section--midnight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(640px 440px at 14% 12%, rgba(37, 99, 235, 0.28), transparent 68%),
    radial-gradient(560px 420px at 88% 82%, rgba(249, 115, 22, 0.16), transparent 68%),
    linear-gradient(162deg, #09132B 0%, #0E1F44 52%, #142B61 100%);
  color: #E2E8F0;
}

.section--midnight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.section--midnight > .container {
  position: relative;
  z-index: 1;
}

.section-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-kicker--light {
  color: #93C5FD;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  font-weight: 800;
  line-height: 1.24;
}

.section--midnight .section-head h2 {
  color: #FFFFFF;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-desc {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-desc--light {
  color: rgba(226, 232, 240, 0.82);
}

/* ==================== 3-STEP LOOP CARDS ==================== */
.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.loop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-porcelain);
  border: 1px solid var(--bd-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.loop-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--sh-md);
}

.loop-card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: rgba(29, 78, 216, 0.11);
  letter-spacing: -0.04em;
  user-select: none;
}

.loop-card__tag {
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1px solid var(--bd-card);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 600;
}

.loop-card h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
}

.loop-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
}

.loop-visual {
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--r-md);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.lv-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.lv-row + .lv-row {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed #E2E8F0;
}

.lv-word {
  font-weight: 700;
  color: var(--text-strong);
}

.lv-ipa {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-right: auto;
}

.lv-pill {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
}

.lv-pill--blue {
  background: var(--c-primary-bg);
  color: var(--c-primary);
}

.lv-pill--orange {
  background: var(--c-orange-bg);
  color: #C2410C;
}

.lv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lv-chip {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.lv-chip--ok {
  background: var(--c-green-bg);
  color: var(--c-green-strong);
}

.lv-chip--warn {
  background: var(--c-amber-bg);
  color: var(--c-amber);
}

.lv-voice {
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--c-green-bg);
  color: #065F46;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lv-voice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
}

.lv-paper {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-cream);
  border: 1px solid #FDE68A;
}

.lv-paper-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 5px;
}

.lv-paper-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  color: var(--text-body);
}

.lv-paper-lines mark {
  background: #DBEAFE;
  color: var(--c-primary-deep);
  border-radius: 3px;
  padding: 0 3px;
}

/* ==================== MIDNIGHT CRAFT BENTO ==================== */
.craft-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.craft-card {
  padding: 30px;
  border-radius: var(--r-xl);
  background: var(--bg-midnight-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.craft-card--wide { grid-column: span 7; }
.craft-card--side { grid-column: span 5; }
.craft-card--full { grid-column: span 12; }

.craft-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(147, 197, 253, 0.14);
  border: 1px solid rgba(147, 197, 253, 0.25);
  color: #BFDBFE;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.craft-card h3 {
  color: #FFFFFF;
  font-size: 21px;
  font-weight: 700;
}

.craft-card p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.72;
}

.craft-tracks {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-item {
  display: grid;
  grid-template-columns: 52px 112px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-badge {
  text-align: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.ct-item--orange .ct-badge { background: rgba(249, 115, 22, 0.22); color: #FDBA74; }
.ct-item--blue .ct-badge { background: rgba(59, 130, 246, 0.25); color: #93C5FD; }
.ct-item--green .ct-badge { background: rgba(16, 185, 129, 0.22); color: #6EE7B7; }

.ct-item strong {
  color: #FFFFFF;
  font-size: 14px;
}

.ct-item span:last-child {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.78);
}

.spectrum-panel {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(10, 20, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spectrum-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 3px;
}

.spectrum-bar span {
  height: 100%;
  border-radius: 3px;
}

.spectrum-legend {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}

.spectrum-legend li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #E2E8F0;
}

.spectrum-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}

.spectrum-legend em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  color: #94A3B8;
}

.paper-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.paper-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: #CBD5E1;
}

.paper-points li {
  position: relative;
  padding-left: 18px;
}

.paper-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-orange);
}

.paper-sheet {
  border-radius: 16px;
  background: var(--bg-cream);
  color: var(--text-strong);
  border: 1px solid #FDE68A;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.paper-sheet__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FEF9EC;
  border-bottom: 1px solid #F5E6C4;
  font-size: 12px;
}

.paper-sheet__brand {
  font-weight: 700;
  color: var(--c-primary-deep);
}

.paper-sheet__tag {
  color: #92400E;
  font-weight: 600;
}

.paper-sheet__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 152px;
  gap: 18px;
  padding: 20px;
}

.paper-sheet__article h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
}

.paper-sheet__article p {
  color: #334155;
  font-size: 13.5px;
  line-height: 1.72;
  margin: 0;
}

.paper-sheet__article mark {
  background: #DBEAFE;
  color: #1E3A8A;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

.paper-sheet__q {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  color: #1E293B;
}

.paper-sheet__opt {
  color: #64748B;
}

.paper-sheet__vocab {
  padding-left: 16px;
  border-left: 1px solid #EDE0C2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.psv-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #92400E;
}

.psv-word {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12px;
}

.psv-word strong {
  color: #0F172A;
  font-size: 13px;
}

.psv-word span {
  color: #64748B;
  font-size: 11px;
}

.psv-word em {
  font-style: normal;
  color: #334155;
  font-size: 11.5px;
}

/* ==================== STAGE TABS (MODERN-WEB-GUIDANCE: TABS) ==================== */
.stage-tabs {
  max-width: 1020px;
  margin-inline: auto;
}

.tablist-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.tablist {
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--bd-card);
  box-shadow: var(--sh-sm);
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tablist [role="tab"] {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 22px 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.tablist [role="tab"]:hover {
  background: #F8FAFC;
  color: var(--text-strong);
}

.tablist [role="tab"][aria-selected="true"] {
  background: var(--c-primary-bg);
  color: var(--c-primary);
}

/* Non-color active indicator using border (WCAG 1.4.1 + forced-colors safe) */
.tablist [role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 18px 4px;
  border-block-end: 3px solid currentColor;
  border-radius: 99px;
}

.tab-title {
  font-size: 15px;
  font-weight: 700;
}

.tab-sub {
  font-size: 11.5px;
  opacity: 0.85;
}

/* All tabpanels share 1 grid cell so hidden="until-found" adds zero layout gap */
.tabpanels {
  display: grid;
}

.tabpanels > [role="tabpanel"] {
  grid-area: 1 / 1;
}

/* Styling placed strictly on inner wrapper (never on panel itself) */
.stage-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  padding: 34px;
  border-radius: var(--r-xl);
  background: #FFFFFF;
  border: 1px solid var(--bd-card);
  box-shadow: var(--sh-md);
}

.stage-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--c-orange-bg);
  border: 1px solid var(--c-orange-bd);
  color: #C2410C;
  font-size: 12px;
  font-weight: 700;
}

.stage-info h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 800;
}

.stage-info p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.78;
}

.stage-facts {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--bd-subtle);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stage-facts dt {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stage-facts dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-strong);
}

.stage-sample {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--bg-cream);
  border: 1px solid #FDE68A;
}

.stage-sample__cap {
  font-size: 11.5px;
  font-weight: 700;
  color: #92400E;
  letter-spacing: 0.04em;
}

.stage-sample blockquote {
  margin: 14px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-strong);
}

.stage-sample mark {
  background: #DBEAFE;
  color: var(--c-primary-deep);
  border-radius: 5px;
  padding: 0 5px;
}

.stage-sample__words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-sample__words span {
  padding: 5px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #F5E6C4;
  font-size: 12px;
  color: var(--text-body);
}

.stage-sample__words em {
  font-style: normal;
  color: var(--text-muted);
  margin-inline: 3px;
}

.stage-sample__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E5D5B0;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==================== FAQ ACCORDION (MODERN-WEB-GUIDANCE: ACCORDION) ==================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 96px;
}

.faq-intro h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 800;
}

.faq-intro p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion details {
  border-radius: var(--r-md);
  background: var(--bg-porcelain);
  border: 1px solid var(--bd-card);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.accordion details[open] {
  background: #FFFFFF;
  border-color: #BFDBFE;
  box-shadow: var(--sh-sm);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-strong);
  cursor: pointer;
}

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

.accordion summary::before {
  content: "";
  inline-size: 18px;
  block-size: 18px;
  flex: none;
  background-color: var(--c-primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }

  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 20px 18px 50px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.78;
}

.faq-answer a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==================== CONTACT & COPY BUTTON ==================== */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(460px 300px at 95% 10%, rgba(249, 115, 22, 0.08), transparent 70%),
    linear-gradient(155deg, #FFFFFF 0%, #F7FAFF 100%);
  border: 1px solid #DBEAFE;
  box-shadow: var(--sh-md);
}

.contact-card h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
}

.contact-card__copy p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.78;
}

.contact-ops-hint {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
}

.contact-ops-hint a {
  color: var(--c-primary);
  font-weight: 600;
}

.contact-ops-hint a:hover {
  text-decoration: underline;
}

.contact-box {
  padding: 26px;
  border-radius: var(--r-lg);
  background: #FFFFFF;
  border: 1px solid var(--bd-card);
  box-shadow: var(--sh-sm);
}

.contact-box__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-email-row,
.dialog-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px 10px 14px;
  border-radius: 12px;
  background: var(--bg-porcelain);
  border: 1px solid var(--bd-card);
}

.contact-email {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.copy-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.copy-button .icon-check {
  display: none;
}

.copy-button[data-copied] {
  background: var(--c-green-bg);
  border-color: var(--c-green-bd);
  color: var(--c-green-strong);
}

.copy-button[data-copied] .icon-copy {
  display: none;
}

.copy-button[data-copied] .icon-check {
  display: inline-block;
}

.copy-button[data-failed] {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}

/* Live region stays in accessibility tree: visibility controlled via opacity only */
.copy-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--text-strong);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.copy-button[data-copied] + .copy-tip,
.copy-button[data-failed] + .copy-tip {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .copy-tip {
    transform: none;
    transition: opacity 0.12s ease;
  }
}

.contact-box__actions {
  margin-top: 14px;
}

.contact-box__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #F8FAFC;
  border-top: 1px solid var(--bd-card);
  padding: 42px 0 36px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bd-subtle);
}

.footer-brand strong {
  display: block;
  font-size: 15px;
  color: var(--text-strong);
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13px;
  color: var(--text-body);
}

.footer-links a:hover {
  color: var(--c-primary);
}

.footer-legal {
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-legal a {
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.footer-legal .sep {
  margin-inline: 8px;
  color: #CBD5E1;
}

/* ==================== NATIVE DIALOG (MODERN-WEB-GUIDANCE: DIALOG) ==================== */
dialog.consult-dialog {
  width: min(490px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--bd-card);
  border-radius: var(--r-xl);
  background: #FFFFFF;
  color: var(--text-body);
  box-shadow: 0 32px 72px -18px rgba(15, 23, 42, 0.32);
}

dialog.consult-dialog:modal {
  overscroll-behavior: contain;
}

dialog.consult-dialog::backdrop {
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--bd-subtle);
}

.dialog-head h1 {
  font-size: 18px;
  font-weight: 800;
}

.dialog-close {
  width: 34px;
  height: 34px;
  border-radius: 99px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dialog-close:hover {
  background: #F1F5F9;
  color: var(--text-strong);
}

.dialog-body {
  padding: 20px 22px 24px;
}

.dialog-intro {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
}

.dialog-email-card {
  margin-top: 16px;
}

.dialog-email-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.dialog-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==================== SCROLL REVEAL (PROGRESSIVE ENHANCEMENT) ==================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes xop-card-rise {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal {
      animation: xop-card-rise linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 36%;
    }
  }
}

/* ==================== LEGAL PAGES ==================== */
.legal-main {
  padding: 56px 0 84px;
  background: var(--bg-porcelain);
  min-height: calc(100vh - 180px);
}

.legal-card {
  max-width: 820px;
  margin-inline: auto;
  padding: 40px 44px;
  border-radius: var(--r-xl);
  background: #FFFFFF;
  border: 1px solid var(--bd-card);
  box-shadow: var(--sh-sm);
}

.legal-card h1 {
  font-size: 28px;
  font-weight: 800;
}

.legal-updated {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-prose {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14.5px;
  line-height: 1.82;
}

.legal-prose h2 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
}

.legal-prose ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-grid,
  .section-head--split,
  .paper-spread,
  .stage-panel__inner,
  .faq-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .craft-card--wide,
  .craft-card--side,
  .craft-card--full {
    grid-column: span 12;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .brand-emblem {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 14.5px;
  }

  .brand-sub {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .site-nav,
  .header-ops-link {
    display: none;
  }

  .hero {
    padding: 28px 0 56px;
  }

  .hero-title {
    margin-top: 16px;
    font-size: clamp(1.68rem, 7vw, 2.15rem);
    line-height: 1.24;
  }

  .hero-lead {
    font-size: 14.5px;
    margin-top: 16px;
  }

  .hero-cta {
    margin-top: 22px;
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-pillars {
    margin-top: 24px;
    padding-top: 16px;
    gap: 10px 16px;
    font-size: 12.5px;
  }

  .hero-stage {
    padding: 58px 0 84px;
  }

  .stage-mascot {
    right: 0;
    top: 2px;
  }

  .mascot-bubble {
    display: none;
  }

  .owl-svg {
    width: 80px;
    height: 66px;
  }

  .stage-chip--streak {
    top: 4px;
    left: 0;
    padding: 7px 10px;
  }

  .stage-chip--vocab {
    left: 0;
    right: 0;
    width: auto;
    bottom: 0;
  }

  .demo-card {
    padding: 16px;
  }

  .demo-word {
    font-size: 21px;
  }

  .track {
    grid-template-columns: 7px 66px minmax(0, 1fr) 28px;
    gap: 7px;
    padding: 8px 9px;
  }

  .track-name {
    font-size: 11px;
  }

  .wave-bars i:nth-child(n + 19) {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .craft-card {
    padding: 22px 18px;
  }

  .ct-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ct-item span:last-child {
    grid-column: 1 / -1;
  }

  .paper-sheet__body {
    grid-template-columns: 1fr;
  }

  .paper-sheet__vocab {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid #EDE0C2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .psv-title {
    width: 100%;
  }

  .tablist-wrap {
    justify-content: flex-start;
  }

  .tablist {
    width: 100%;
  }

  .tablist [role="tab"] {
    padding: 10px 14px 12px;
  }

  .stage-panel__inner {
    padding: 22px 18px;
  }

  .stage-facts {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .contact-email {
    font-size: 15px;
  }

  .legal-card {
    padding: 24px 18px;
  }
}
