/* CoreHold Production Stylesheet: Pocket Cadence */
:root {
  --bg: #0b0d10;
  --surface: #13171d;
  --surface-raised: #1a2028;
  --ink: #f2f4f7;
  --muted: #96a0ae;
  --border: #27303d;
  --teal: #16b8a6;
  --indigo: #6c5ce7;
  --ink-dark: #071012;
  --radius: 4px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 "Inter", system-ui, sans-serif;
}

.cd-wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.cd-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.cd-header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.cd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font: 700 18px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.cd-brand img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.cd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.cd-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease-out;
}

.cd-nav a.is-active {
  color: var(--teal);
}

@media (hover: hover) { .cd-nav a:hover { color: var(--ink); } }

.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--ink-dark);
  font: 600 14px/1.1 "Space Grotesk", sans-serif;
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

@media (hover: hover) { .cd-btn:hover { background: #26ccb9; border-color: #26ccb9; transform: translateY(-1px); } }

.cd-btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

@media (hover: hover) { .cd-btn--ghost:hover { background: var(--surface-raised); border-color: var(--muted); transform: none; } }

/* Hero */
.cd-hero {
  padding-block: clamp(44px, 7vw, 84px);
  border-bottom: 1px solid var(--border);
}

.cd-hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .cd-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.cd-kicker {
  font: 500 12px/1.3 "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.cd-h1 {
  margin-top: 14px;
  font: 700 clamp(2.25rem, 1.5rem + 3vw, 3.6rem)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cd-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 54ch;
}

.cd-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Interactive Cadence Meter */
.cd-sim {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cd-sim__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.cd-sim__phase {
  font: 700 1.15rem/1.2 "Space Grotesk", sans-serif;
  color: var(--ink);
}

.cd-sim[data-phase="squeeze"] .cd-sim__phase { color: var(--indigo); }
.cd-sim[data-phase="hold"] .cd-sim__phase { color: var(--teal); }
.cd-sim[data-phase="relax"] .cd-sim__phase { color: var(--ink); }

.cd-sim__sec {
  font: 600 1.45rem/1 "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
  color: var(--teal);
}

.cd-sim__bar {
  margin-top: 14px;
  height: 6px;
  background: var(--surface-raised);
  border-radius: 2px;
  overflow: hidden;
}

.cd-sim__fill {
  height: 100%;
  width: 100%;
  background: var(--teal);
  transform-origin: left center;
  transform: scaleX(0);
}

.cd-sim[data-phase="squeeze"] .cd-sim__fill { background: var(--indigo); }

.cd-sim__cue {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--ink);
}

.cd-sim__haptic {
  margin-top: 6px;
  font: 400 12px/1.4 "JetBrains Mono", monospace;
  color: var(--muted);
}

.cd-sim__btn {
  margin-top: 14px;
}

/* Phone visual frame */
.cd-phone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.cd-phone-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cd-caption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Sections */
.cd-band {
  padding-block: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
}

.cd-band--alt {
  background: var(--surface);
}

.cd-h2 {
  font: 700 clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem)/1.12 "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
}

.cd-sub {
  margin-top: 10px;
  color: var(--muted);
  max-width: 60ch;
}

/* 5 Voice Audition */
.cd-voices-bar {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font: 400 13px/1.4 "JetBrains Mono", monospace;
  color: var(--teal);
}

.cd-voice-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.cd-voice-btn {
  text-align: left;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: grid;
  gap: 6px;
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

@media (hover: hover) { .cd-voice-btn:hover { border-color: var(--teal); background: var(--surface-raised); } }

.cd-voice-btn[aria-pressed="true"] {
  border-color: var(--teal);
  background: #0f2526;
}

.cd-voice-btn__name {
  font: 700 1rem/1.2 "Space Grotesk", sans-serif;
  color: var(--ink);
}

.cd-voice-btn__meta {
  font-size: 0.86rem;
  color: var(--muted);
}

.cd-voice-btn__cta {
  margin-top: 6px;
  font: 500 12px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  color: var(--teal);
}

/* Silent mode video + haptic mapping */
.cd-split {
  margin-top: 26px;
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 860px) {
  .cd-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.cd-video-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
}

.cd-video-box video {
  width: 100%;
  height: auto;
}

.cd-cues {
  display: grid;
  gap: 12px;
}

.cd-cue-row {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cd-cue-row__tag {
  font: 500 12px/1.2 "JetBrains Mono", monospace;
  color: var(--teal);
  text-transform: uppercase;
}

.cd-cue-row h3 {
  margin-top: 6px;
  font: 700 1.05rem/1.3 "Space Grotesk", sans-serif;
}

.cd-cue-row p {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Pricing asymmetric 2 columns */
.cd-pricing {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

@media (min-width: 820px) {
  .cd-pricing {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.cd-tier {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.cd-tier--pro {
  border-color: var(--teal);
  background: #0e191c;
}

.cd-tier h3 {
  font: 700 1.3rem/1.2 "Space Grotesk", sans-serif;
}

.cd-tier__lead {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cd-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--ink);
}

.cd-list li::before {
  content: "+ ";
  color: var(--teal);
  font-family: "JetBrains Mono", monospace;
}

.cd-prices {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.cd-price-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cd-price-item strong {
  font: 600 0.98rem/1.3 "Space Grotesk", sans-serif;
}

.cd-price-item span {
  font: 500 0.92rem/1.3 "JetBrains Mono", monospace;
  color: var(--teal);
}

.cd-launch-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.cd-launch-note a {
  color: var(--teal);
}

/* Legal & Support sub-pages */
.cd-legal {
  padding-block: clamp(40px, 6vw, 68px);
  border-bottom: 1px solid var(--border);
}

.cd-legal__panel {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
}

.cd-legal__meta {
  margin-top: 8px;
  font: 400 13px/1.4 "JetBrains Mono", monospace;
  color: var(--muted);
}

.cd-legal__panel h2 {
  margin-top: 28px;
  font: 700 1.2rem/1.3 "Space Grotesk", sans-serif;
  color: var(--teal);
}

.cd-legal__panel p {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.98rem;
}

.cd-legal__panel a {
  color: var(--teal);
}

/* Footer */
.cd-footer {
  padding-block: 36px;
}

.cd-footer__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.cd-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cd-footer__links a {
  color: var(--ink);
  text-decoration: none;
  transition: color 160ms ease-out;
}

@media (hover: hover) { .cd-footer__links a:hover { color: var(--teal); } }
