:root {
  color-scheme: light;
  --ink: #092326;
  --ink-2: #0f3438;
  --charcoal: #182321;
  --muted: #586764;
  --paper: #f6f3ea;
  --paper-2: #ebe7dc;
  --white: #fffdfa;
  --line: rgba(9, 35, 38, 0.14);
  --gold: #c89b52;
  --copper: #9f5f44;
  --shadow: 0 24px 80px rgba(9, 35, 38, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

body::selection {
  background: rgba(200, 155, 82, 0.32);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    padding 200ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  width: 138px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.logo-dark,
.site-header.is-scrolled .logo-light,
.footer-brand .logo-dark {
  display: none;
}

.site-header.is-scrolled .logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 0.9rem;
  font-weight: 620;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0 16px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  background: #071f22;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9, 35, 38, 0.18), rgba(9, 35, 38, 0.02)),
    url("assets/charm-hero-sensor-band.png?v=shift-trace-time-1") center center / cover no-repeat;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(9, 35, 38, 0.8) 0%, rgba(9, 35, 38, 0.42) 48%, rgba(9, 35, 38, 0.08) 78%),
    linear-gradient(180deg, rgba(9, 35, 38, 0.14), rgba(9, 35, 38, 0.02) 62%, var(--paper) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(132px, 17vh, 190px) clamp(20px, 4vw, 56px) clamp(44px, 7vh, 84px);
  color: var(--white);
  text-shadow: 0 2px 22px rgba(2, 16, 18, 0.42);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 14px rgba(2, 16, 18, 0.58);
  text-transform: uppercase;
}

.eyebrow-acronym {
  color: var(--white);
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.7vw, 4.4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 253, 250, 0.94);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 540;
  text-shadow: 0 2px 18px rgba(2, 16, 18, 0.52);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-bottom: clamp(42px, 8vh, 78px);
}

.button,
.text-link {
  min-height: 48px;
  align-items: center;
  font-weight: 740;
}

.button {
  display: inline-flex;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 14px 38px rgba(200, 155, 82, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d3aa66;
}

.button:disabled,
.pilot-form input:disabled,
.pilot-form textarea:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.text-link {
  display: inline-flex;
  color: rgba(255, 253, 250, 0.86);
}

.proof-strip {
  display: grid;
  max-width: 840px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(255, 253, 250, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 253, 250, 0.16);
}

.proof-strip div {
  min-height: 96px;
  padding: 20px;
  background: rgba(9, 35, 38, 0.46);
}

.proof-strip dt {
  margin-bottom: 6px;
  color: var(--white);
  font-weight: 760;
}

.proof-strip dd {
  margin: 0;
  color: rgba(255, 253, 250, 0.68);
  font-size: 0.92rem;
}

.section {
  padding: clamp(72px, 11vw, 132px) clamp(20px, 4vw, 56px);
}

section[id] {
  scroll-margin-top: 84px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.problem-section {
  background: var(--paper);
}

.problem-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-card,
.audience-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.problem-card {
  min-height: 250px;
  padding: 28px;
}

.problem-card p,
.audience-card p,
.approach-copy p,
.why-item p,
.pilot-copy p {
  color: var(--muted);
}

.card-index {
  display: block;
  margin-bottom: 44px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 780;
}

.approach-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 35, 38, 0.98), rgba(15, 52, 56, 0.96)),
    var(--ink);
}

.approach-section .section-heading,
.approach-section .approach-copy {
  color: var(--white);
}

.approach-section h2,
.approach-section h3 {
  color: var(--white);
}

.approach-copy {
  font-size: 1.08rem;
}

.approach-copy p {
  color: rgba(255, 253, 250, 0.72);
}

.approach-copy .emphasis {
  margin-top: 26px;
  color: var(--white);
  font-size: 1.22rem;
  font-weight: 720;
}

.signal-panel {
  width: min(calc(100% - 40px), var(--max));
  margin: clamp(40px, 8vw, 86px) auto 0;
  border: 1px solid rgba(255, 253, 250, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.06), rgba(255, 253, 250, 0.02)),
    rgba(2, 16, 18, 0.32);
}

.signal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  color: rgba(255, 253, 250, 0.72);
  font-size: 0.9rem;
}

.signal-header strong {
  color: var(--gold);
}

.shift-trace {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 78px;
  gap: 12px;
  align-items: end;
  padding: 26px 0 18px;
  border-top: 1px solid rgba(255, 253, 250, 0.12);
  border-bottom: 1px solid rgba(255, 253, 250, 0.12);
}

.trace-pin {
  display: grid;
  gap: 6px;
  align-self: stretch;
  min-height: 132px;
  align-content: end;
  color: rgba(255, 253, 250, 0.72);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.trace-pin::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--deep);
  box-shadow: 0 0 0 5px rgba(200, 155, 82, 0.12);
}

.trace-pin-end {
  justify-items: end;
  text-align: right;
}

.trace-pin span {
  color: var(--white);
  font-weight: 720;
}

.trace-pin strong {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 740;
}

.trace-track {
  position: relative;
  display: flex;
  min-width: 0;
  height: 132px;
  gap: 4px;
  align-items: end;
  padding: 24px 0 23px;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.1), rgba(255, 253, 250, 0.1)) left calc(100% - 23px) / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255, 253, 250, 0.04), rgba(255, 253, 250, 0));
}

.trace-markers {
  position: absolute;
  inset: 0 0 23px;
  pointer-events: none;
}

.trace-markers span {
  position: absolute;
  top: 0;
  left: var(--at);
  display: grid;
  min-width: 38px;
  transform: translateX(-50%);
  color: rgba(255, 253, 250, 0.52);
  font-size: 0.68rem;
  font-weight: 680;
  line-height: 1;
  text-align: center;
}

.trace-markers span:first-child {
  transform: none;
  text-align: left;
}

.trace-markers span:last-child {
  transform: translateX(-100%);
  text-align: right;
}

.trace-markers span::after {
  content: "";
  width: 1px;
  height: 80px;
  margin: 7px auto 0;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.16), rgba(255, 253, 250, 0));
}

.trace-markers span:first-child::after {
  margin-left: 0;
}

.trace-markers span:last-child::after {
  margin-right: 0;
}

.trace-segment {
  position: relative;
  flex: var(--span) 1 0;
  min-width: 0;
  height: var(--intensity);
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, rgba(226, 176, 103, 0.98), rgba(200, 155, 82, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 253, 250, 0.2);
}

.trace-segment::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 253, 250, 0.16), rgba(255, 253, 250, 0));
}

.trace-segment em {
  position: absolute;
  right: 4px;
  bottom: -22px;
  left: 4px;
  overflow: hidden;
  color: rgba(255, 253, 250, 0.74);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 680;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trace-idle {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.52), rgba(255, 253, 250, 0.12));
}

.trace-scrub {
  background: linear-gradient(180deg, rgba(52, 188, 237, 0.92), rgba(52, 188, 237, 0.2));
}

.trace-vacuum {
  background: linear-gradient(180deg, rgba(226, 176, 103, 0.96), rgba(52, 188, 237, 0.16));
}

.trace-note {
  margin: 16px 0 0;
  color: rgba(255, 253, 250, 0.62);
  font-size: 0.84rem;
}

.audience-section {
  background: var(--white);
}

.audience-card {
  padding: 30px;
}

.icon-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 780;
}

.how-section {
  background:
    linear-gradient(180deg, var(--white), var(--paper));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: space-between;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
}

.step::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -20px;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.step:last-child::after {
  display: none;
}

.step-number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 780;
}

.why-section {
  background: var(--paper);
}

.why-stack {
  display: grid;
  gap: 14px;
}

.why-item {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
}

.trust-line {
  width: min(100%, var(--max));
  margin: clamp(46px, 7vw, 86px) auto 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.pilot-section {
  color: var(--white);
  background: var(--ink);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.pilot-copy h2 {
  color: var(--white);
}

.pilot-copy p {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255, 253, 250, 0.72);
  font-size: 1.08rem;
}

.pilot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid rgba(255, 253, 250, 0.18);
  border-radius: 8px;
  padding: clamp(20px, 3.2vw, 30px);
  background: rgba(255, 253, 250, 0.06);
}

.pilot-form label {
  display: grid;
  gap: 8px;
}

.pilot-form span {
  color: rgba(255, 253, 250, 0.78);
  font-size: 0.84rem;
  font-weight: 680;
}

.pilot-form em {
  color: rgba(255, 253, 250, 0.48);
  font-style: normal;
  font-weight: 520;
}

.pilot-form input,
.pilot-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 253, 250, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(2, 16, 18, 0.22);
  font: inherit;
}

.pilot-form input:focus,
.pilot-form textarea:focus {
  outline: 2px solid rgba(200, 155, 82, 0.72);
  outline-offset: 2px;
}

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

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 253, 250, 0.58);
  font-size: 0.86rem;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 44px clamp(20px, 4vw, 56px);
  color: rgba(255, 253, 250, 0.68);
  background: #061819;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 720px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--gold);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(9, 35, 38, 0.84) 0%, rgba(9, 35, 38, 0.62) 62%, rgba(9, 35, 38, 0.26) 100%),
      linear-gradient(180deg, rgba(9, 35, 38, 0.16), rgba(9, 35, 38, 0.08) 66%, var(--paper) 100%);
  }

  .proof-strip,
  .problem-grid,
  .audience-grid,
  .steps,
  .split,
  .pilot-layout {
    grid-template-columns: 1fr;
  }

  .step::after {
    top: auto;
    right: auto;
    bottom: -20px;
    left: 52px;
    width: 1px;
    height: 22px;
  }

  .problem-card,
  .step {
    min-height: auto;
  }

  .card-index,
  .icon-mark,
  .step-number {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-cta {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.15rem);
  }

  .hero-content {
    padding-top: 118px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(9, 35, 38, 0.86), rgba(9, 35, 38, 0.58)),
      linear-gradient(180deg, rgba(9, 35, 38, 0.14), rgba(9, 35, 38, 0.04) 66%, var(--paper) 100%);
  }

  .hero-copy {
    max-width: 32ch;
  }

  .signal-panel {
    width: min(calc(100% - 24px), var(--max));
    padding: 18px 14px;
  }

  .signal-header {
    margin-bottom: 18px;
    font-size: 0.78rem;
  }

  .shift-trace {
    grid-template-columns: 48px minmax(0, 1fr) 56px;
    gap: 8px;
    padding-top: 20px;
  }

  .trace-pin {
    min-height: 108px;
    font-size: 0.68rem;
  }

  .trace-pin strong {
    font-size: 0.64rem;
  }

  .trace-track {
    height: 108px;
    gap: 3px;
    padding-bottom: 20px;
  }

  .trace-markers {
    bottom: 20px;
  }

  .trace-markers span {
    min-width: 30px;
    font-size: 0.58rem;
  }

  .trace-markers span::after {
    height: 64px;
  }

  .trace-markers span:nth-child(2),
  .trace-markers span:nth-child(4) {
    opacity: 0;
  }

  .trace-segment {
    border-radius: 5px 5px 2px 2px;
  }

  .trace-segment em {
    right: 3px;
    bottom: -19px;
    left: 3px;
    font-size: 0.62rem;
  }

  .trace-idle em,
  .trace-transit em {
    opacity: 0;
  }

  .trace-note {
    font-size: 0.76rem;
  }

  .proof-strip,
  .pilot-form {
    grid-template-columns: 1fr;
  }

  .pilot-form .full {
    grid-column: auto;
  }
}
