/*
Theme Name: Chanivo Child
Theme URI: https://chanivo.com
Description: Custom Kadence child theme for CHANIVO — The Channel Operating System.
Author: CHANIVO
Template: kadence
Version: 1.0.1
Text Domain: chanivo-child
*/

:root {
  --cv-ink: #101418;
  --cv-deep: #151a1e;
  --cv-deep-2: #171d21;
  --cv-panel: #1a2126;
  --cv-cream: #141a1e;
  --cv-paper: #171d21;
  --cv-white: #ffffff;
  --cv-text: #f4f7f3;
  --cv-muted: #aebbb5;
  --cv-dark-text: #f4f7f3;
  --cv-dark-muted: #aebbb5;
  --cv-accent: #d8f400;
  --cv-accent-2: #e4fb5a;
  --cv-lime: #d8f400;
  --cv-line: rgba(216, 244, 0, 0.18);
  --cv-line-dark: rgba(244, 247, 243, 0.14);
  --cv-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  --cv-radius-sm: 14px;
  --cv-radius: 24px;
  --cv-radius-lg: 34px;
  --cv-shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.chanivo-home {
  margin: 0;
  background: var(--cv-ink);
  color: var(--cv-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.chanivo-home a {
  color: inherit;
  text-decoration: none;
}

.chanivo-home img,
.chanivo-home svg {
  display: block;
  max-width: 100%;
}

.chanivo-home button,
.chanivo-home input,
.chanivo-home select {
  font: inherit;
}

.cv-skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 99999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cv-white);
  color: var(--cv-ink);
}

.cv-skip-link:focus {
  top: 14px;
}

.cv-shell {
  width: min(calc(100% - 40px), var(--cv-shell));
  margin-inline: auto;
}

.cv-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 20, 24, 0.88);
  backdrop-filter: blur(18px);
}

.admin-bar .cv-site-header {
  top: 32px;
}

.cv-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.cv-brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 244, 0, 0.35);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(216, 244, 0, 0.28), rgba(216, 244, 0, 0.06)),
    var(--cv-deep);
  color: var(--cv-accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 20px rgba(216, 244, 0, 0.08);
}

.cv-brand-copy {
  display: grid;
  gap: 1px;
}

.cv-brand-name {
  color: var(--cv-white);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.cv-brand-tag {
  color: var(--cv-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.cv-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.cv-nav a {
  color: #aebbb5;
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease;
}

.cv-nav a:hover {
  color: var(--cv-white);
}

.cv-button,
.cv-nav .cv-nav-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cv-accent);
  color: #101418;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(216, 244, 0, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cv-button:hover,
.cv-nav .cv-nav-cta:hover {
  transform: translateY(-2px);
  background: var(--cv-accent-2);
  color: #101418;
  box-shadow: 0 16px 42px rgba(216, 244, 0, 0.3);
}

.cv-button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cv-white);
  box-shadow: none;
}

.cv-button-secondary:hover {
  border-color: rgba(216, 244, 0, 0.55);
  background: rgba(216, 244, 0, 0.08);
  color: var(--cv-white);
  box-shadow: none;
}

.cv-mobile-menu {
  display: none;
}

.cv-hero {
  position: relative;
  overflow: hidden;
  padding: 98px 0 92px;
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 244, 0, 0.17), transparent 34%),
    radial-gradient(circle at 8% 72%, rgba(168, 190, 40, 0.22), transparent 38%),
    linear-gradient(180deg, #101418 0%, #121619 100%);
}

.cv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.cv-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: 68px;
}

.cv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--cv-accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cv-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.cv-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--cv-white);
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.cv-hero h1 em {
  color: var(--cv-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.cv-hero-copy > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #aebbb5;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

.cv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.cv-proof-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 34px;
  color: #8fa098;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-proof-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cv-proof-line span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cv-accent);
  box-shadow: 0 0 14px var(--cv-accent);
}

.cv-product-visual {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
}

.cv-orbit {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(216, 244, 0, 0.14);
  border-radius: 50%;
}

.cv-orbit::before,
.cv-orbit::after {
  content: "";
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(216, 244, 0, 0.1);
  border-radius: 50%;
}

.cv-orbit::after {
  inset: 116px;
}

.cv-mockup {
  position: relative;
  z-index: 2;
  width: min(100%, 485px);
  overflow: hidden;
  border: 1px solid rgba(228, 251, 90, 0.2);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(26, 33, 38, 0.96), rgba(20, 26, 30, 0.98));
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}

.cv-mock-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--cv-line);
}

.cv-mock-dots {
  display: flex;
  gap: 6px;
}

.cv-mock-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cv-mock-title {
  color: var(--cv-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-mock-status {
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(216, 244, 0, 0.12);
  color: var(--cv-accent-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-mock-body {
  display: grid;
  grid-template-columns: 108px 1fr;
  min-height: 360px;
}

.cv-mock-sidebar {
  padding: 20px 12px;
  border-right: 1px solid var(--cv-line);
}

.cv-mock-sidebar span {
  display: block;
  margin-bottom: 9px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #8fa098;
  font-size: 9px;
  font-weight: 700;
}

.cv-mock-sidebar span.is-active {
  background: rgba(216, 244, 0, 0.11);
  color: var(--cv-accent-2);
}

.cv-mock-main {
  padding: 22px;
}

.cv-mock-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.cv-mock-heading strong {
  display: block;
  color: var(--cv-white);
  font-size: 17px;
}

.cv-mock-heading small {
  color: #8fa098;
  font-size: 10px;
}

.cv-mock-heading b {
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--cv-accent);
  color: #101418;
  font-size: 9px;
}

.cv-stage-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 18px;
}

.cv-stage-row span {
  padding: 9px 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #8fa098;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.cv-stage-row span.is-active {
  border-color: rgba(216, 244, 0, 0.3);
  background: rgba(216, 244, 0, 0.1);
  color: var(--cv-accent-2);
}

.cv-content-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.cv-video-tile {
  position: relative;
  min-height: 105px;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 60% 30%, #2b3a17, #14181c 70%);
}

.cv-video-tile::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #101418;
  font-size: 9px;
  transform: translate(-50%, -50%);
}

.cv-card-lines {
  padding-top: 5px;
}

.cv-card-lines i {
  display: block;
  height: 7px;
  margin-bottom: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.cv-card-lines i:nth-child(1) { width: 82%; background: rgba(216, 244, 0, 0.28); }
.cv-card-lines i:nth-child(2) { width: 96%; }
.cv-card-lines i:nth-child(3) { width: 68%; }

.cv-card-tags {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.cv-card-tags span {
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(216, 244, 0, 0.09);
  color: #d8f400;
  font-size: 7px;
  font-weight: 700;
}

.cv-section {
  padding: 104px 0;
}

.cv-section-light {
  background: var(--cv-cream);
  color: var(--cv-dark-text);
}

.cv-section-paper {
  background: var(--cv-paper);
  color: var(--cv-dark-text);
}

.cv-section-dark {
  background: var(--cv-ink);
}

.cv-section-deep {
  background: var(--cv-deep);
}

.cv-section-header {
  max-width: 760px;
  margin-bottom: 50px;
}

.cv-section-header.cv-center {
  margin-inline: auto;
  text-align: center;
}

.cv-section-header.cv-center .cv-eyebrow {
  justify-content: center;
}

.cv-section h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cv-section h2 em {
  color: #d8f400;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.cv-section-dark h2,
.cv-section-deep h2 {
  color: var(--cv-white);
}

.cv-section-header > p {
  margin: 20px 0 0;
  color: var(--cv-dark-muted);
  font-size: 19px;
}

.cv-section-dark .cv-section-header > p,
.cv-section-deep .cv-section-header > p {
  color: var(--cv-muted);
}

.cv-outcome-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.cv-problem-copy h2 {
  max-width: 620px;
}

.cv-problem-copy > p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--cv-dark-muted);
  font-size: 19px;
}

.cv-shift-list {
  display: grid;
  gap: 12px;
}

.cv-shift-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--cv-line-dark);
  border-radius: var(--cv-radius-sm);
  background: rgba(255, 255, 255, 0.58);
}

.cv-shift-item span {
  color: #8fa098;
}

.cv-shift-item b {
  color: #101418;
}

.cv-shift-arrow {
  color: #d8f400;
  font-weight: 800;
}

.cv-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cv-stage-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.cv-stage-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(216, 244, 0, 0.1);
  border-radius: 50%;
}

.cv-stage-number {
  display: inline-flex;
  margin-bottom: 74px;
  color: var(--cv-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.cv-stage-card h3 {
  margin: 0 0 14px;
  color: var(--cv-white);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.cv-stage-card p {
  margin: 0;
  color: #aebbb5;
  font-size: 15px;
}

.cv-studio-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: center;
}

.cv-feature-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.cv-feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
}

.cv-feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(216, 244, 0, 0.11);
  color: #d8f400;
  font-size: 14px;
  font-weight: 900;
}

.cv-feature-item h3 {
  margin: 0 0 3px;
  font-size: 18px;
}

.cv-feature-item p {
  margin: 0;
  color: var(--cv-dark-muted);
  font-size: 15px;
}

.cv-board {
  padding: 25px;
  border: 1px solid var(--cv-line-dark);
  border-radius: var(--cv-radius-lg);
  background: var(--cv-white);
  box-shadow: var(--cv-shadow);
}

.cv-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.cv-board-title strong {
  display: block;
  color: var(--cv-dark-text);
  font-size: 18px;
}

.cv-board-title small {
  color: #8fa098;
}

.cv-board-pill {
  padding: 7px 10px;
  border-radius: 99px;
  background: #1c241a;
  color: #d8f400;
  font-size: 10px;
  font-weight: 800;
}

.cv-board-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cv-board-column {
  min-height: 278px;
  padding: 12px;
  border-radius: 13px;
  background: #161c1a;
}

.cv-board-column > strong {
  display: block;
  margin-bottom: 10px;
  color: #8fa098;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-board-card {
  margin-bottom: 9px;
  padding: 11px;
  border: 1px solid #2a322d;
  border-radius: 10px;
  background: var(--cv-white);
}

.cv-board-card b {
  display: block;
  margin-bottom: 8px;
  color: #f4f7f3;
  font-size: 11px;
  line-height: 1.35;
}

.cv-board-card span {
  display: inline-flex;
  padding: 4px 6px;
  border-radius: 5px;
  background: #1c241a;
  color: #d8f400;
  font-size: 8px;
  font-weight: 700;
}

.cv-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cv-how-card {
  padding: 31px;
  border: 1px solid var(--cv-line-dark);
  border-radius: var(--cv-radius);
  background: rgba(255, 255, 255, 0.62);
}

.cv-how-card .cv-step {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  border-radius: 50%;
  background: var(--cv-deep);
  color: var(--cv-accent-2);
  font-size: 12px;
  font-weight: 850;
}

.cv-how-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.cv-how-card p {
  margin: 0;
  color: var(--cv-dark-muted);
  font-size: 15px;
}

.cv-foundation {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 54px;
  border: 1px solid rgba(216, 244, 0, 0.18);
  border-radius: var(--cv-radius-lg);
  background:
    radial-gradient(circle at 90% 20%, rgba(216, 244, 0, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.025);
}

.cv-foundation h2 {
  color: var(--cv-white);
  font-size: clamp(34px, 4vw, 50px);
}

.cv-foundation-copy p {
  margin: 0 0 18px;
  color: #aebbb5;
}

.cv-foundation-copy p:last-child {
  margin-bottom: 0;
}

.cv-boundary {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid rgba(216, 244, 0, 0.2);
  border-radius: 10px;
  color: var(--cv-accent-2);
  font-size: 12px;
  font-weight: 750;
}

.cv-early-access {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 244, 0, 0.18), transparent 28%),
    linear-gradient(135deg, #161c20, #101418 72%);
}

.cv-early-access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.cv-early-access h2 {
  margin: 0;
  color: var(--cv-white);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cv-early-access-copy > p {
  max-width: 540px;
  margin: 22px 0 0;
  color: #aebbb5;
  font-size: 18px;
}

.cv-form-wrap {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--cv-radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.cv-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cv-field {
  display: grid;
  gap: 7px;
}

.cv-field-full {
  grid-column: 1 / -1;
}

.cv-field label {
  color: #f4f7f3;
  font-size: 12px;
  font-weight: 750;
}

.cv-field input,
.cv-field select {
  width: 100%;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  outline: none;
  background: rgba(14, 18, 22, 0.5);
  color: var(--cv-white);
}

.cv-field input::placeholder {
  color: #8fa098;
}

.cv-field input:focus,
.cv-field select:focus {
  border-color: var(--cv-accent);
  box-shadow: 0 0 0 3px rgba(216, 244, 0, 0.12);
}

.cv-field select option {
  background: var(--cv-deep);
}

.cv-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aebbb5;
  font-size: 12px;
}

.cv-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--cv-accent);
}

.cv-form-submit {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
}

.cv-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #8fa098;
  font-size: 11px;
  text-align: center;
}

.cv-form-success,
.cv-form-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.cv-form-success {
  border: 1px solid rgba(216, 244, 0, 0.3);
  background: rgba(216, 244, 0, 0.1);
  color: #eef7d2;
}

.cv-form-error {
  border: 1px solid rgba(255, 138, 138, 0.3);
  background: rgba(255, 138, 138, 0.09);
  color: #ffd0d0;
}

.cv-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cv-site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0f12;
}

.cv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cv-footer-copy {
  color: #8fa098;
  font-size: 12px;
}

.cv-footer-links {
  display: flex;
  gap: 20px;
  color: #aebbb5;
  font-size: 12px;
}

.cv-footer-links a:hover {
  color: var(--cv-white);
}

.cv-button:focus-visible,
.cv-nav a:focus-visible,
.cv-mobile-menu summary:focus-visible,
.cv-field input:focus-visible,
.cv-field select:focus-visible,
.cv-consent input:focus-visible {
  outline: 3px solid rgba(216, 244, 0, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .cv-nav {
    gap: 18px;
  }

  .cv-nav a:not(.cv-nav-cta) {
    display: none;
  }

  .cv-hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .cv-hero-copy {
    max-width: 760px;
  }

  .cv-product-visual {
    min-height: 470px;
  }

  .cv-outcome-grid,
  .cv-studio-grid,
  .cv-foundation,
  .cv-early-access-grid {
    grid-template-columns: 1fr;
  }

  .cv-stage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 782px) {
  .admin-bar .cv-site-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  body.chanivo-home {
    font-size: 16px;
  }

  .cv-shell {
    width: min(calc(100% - 28px), var(--cv-shell));
  }

  .cv-header-inner {
    min-height: 70px;
  }

  .cv-brand-tag,
  .cv-nav {
    display: none;
  }

  .cv-mobile-menu {
    position: relative;
    display: block;
  }

  .cv-mobile-menu summary {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    list-style: none;
    cursor: pointer;
  }

  .cv-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .cv-menu-icon,
  .cv-menu-icon::before,
  .cv-menu-icon::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: var(--cv-white);
  }

  .cv-menu-icon {
    position: relative;
  }

  .cv-menu-icon::before,
  .cv-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .cv-menu-icon::before { top: -6px; }
  .cv-menu-icon::after { top: 6px; }

  .cv-mobile-menu nav {
    position: absolute;
    top: 52px;
    right: 0;
    width: min(280px, calc(100vw - 28px));
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #151a1e;
    box-shadow: var(--cv-shadow);
  }

  .cv-mobile-menu nav a {
    padding: 11px 12px;
    border-radius: 9px;
    color: #f4f7f3;
    font-size: 14px;
    font-weight: 700;
  }

  .cv-mobile-menu nav a:last-child {
    margin-top: 4px;
    background: var(--cv-accent);
    color: #101418;
    text-align: center;
  }

  .cv-hero {
    padding: 72px 0 64px;
  }

  .cv-hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .cv-hero-actions {
    display: grid;
  }

  .cv-hero-actions .cv-button {
    width: 100%;
  }

  .cv-product-visual {
    min-height: 390px;
  }

  .cv-orbit {
    width: 340px;
    height: 340px;
  }

  .cv-mockup {
    transform: none;
  }

  .cv-mock-body {
    grid-template-columns: 82px 1fr;
    min-height: 310px;
  }

  .cv-mock-sidebar {
    padding-inline: 8px;
  }

  .cv-mock-main {
    padding: 15px;
  }

  .cv-stage-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cv-section {
    padding: 76px 0;
  }

  .cv-stage-grid,
  .cv-how-grid,
  .cv-form-grid {
    grid-template-columns: 1fr;
  }

  .cv-stage-card {
    min-height: 260px;
  }

  .cv-stage-number {
    margin-bottom: 50px;
  }

  .cv-shift-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cv-shift-arrow {
    transform: rotate(90deg);
  }

  .cv-board {
    padding: 15px;
  }

  .cv-board-columns {
    grid-template-columns: 1fr;
  }

  .cv-board-column {
    min-height: auto;
  }

  .cv-foundation {
    gap: 34px;
    padding: 32px 24px;
  }

  .cv-form-wrap {
    padding: 22px;
  }

  .cv-field-full,
  .cv-consent,
  .cv-form-submit,
  .cv-form-note {
    grid-column: auto;
  }

  .cv-footer-inner {
    display: grid;
    text-align: center;
  }

  .cv-footer-links {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* --- Dark-mode corrections for formerly-light sections (đồng bộ tông đen SYSTEM_LOTUS) --- */
.cv-section-light, .cv-section-paper { color: var(--cv-text); }
.cv-section-light h2, .cv-section-paper h2,
.cv-section-light h3, .cv-section-paper h3,
.cv-section-paper .cv-feature-item h3, .cv-section-light .cv-how-card h3,
.cv-section-paper .cv-board strong, .cv-section-paper .cv-board-card b,
.cv-section-light .cv-shift-item b { color: var(--cv-white); }
.cv-section-light h2 em, .cv-section-paper h2 em { color: var(--cv-accent); }
.cv-section-light .cv-shift-item,
.cv-section-paper .cv-feature-icon,
.cv-section-paper .cv-board,
.cv-section-paper .cv-board-card,
.cv-section-paper .cv-board-pill,
.cv-section-light .cv-how-card,
.cv-section-light .cv-step {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
}
.cv-section-paper .cv-feature-icon, .cv-section-light .cv-step { color: var(--cv-accent); background: rgba(216, 244, 0, 0.10); }
.cv-section-light .cv-how-card p, .cv-section-paper .cv-feature-item p,
.cv-section-light .cv-shift-item span, .cv-section-paper .cv-board-card span { color: var(--cv-muted); }


/* --- Nút chính (nền vàng-chanh) luôn chữ đen để tương phản rõ --- */
.chanivo-home .cv-button { color: var(--cv-ink); }
.chanivo-home .cv-button-secondary { color: var(--cv-white); }
