.secondary-main {
  min-height: 70vh;
}

.secondary-hero {
  min-height: 34rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(4.5rem, 8vw, 7.5rem) var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 40%, rgba(100, 201, 238, 0.08), transparent 28rem),
    linear-gradient(90deg, transparent 0 68%, rgba(100, 201, 238, 0.04) 68% 68.1%, transparent 68.1%);
}

.secondary-hero-copy {
  max-width: 49rem;
}

.secondary-hero h1 {
  max-width: 14ch;
  margin: 0 0 1.7rem;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.secondary-lede {
  max-width: 42rem;
  margin: 0;
  color: #b8bfbd;
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.control-map {
  position: relative;
  display: grid;
  gap: 0;
}

.control-map-line {
  position: absolute;
  top: 2.25rem;
  bottom: 2.25rem;
  left: 1.35rem;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(100, 201, 238, 0.12));
}

.control-map a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 4.6rem;
  border-bottom: 1px solid var(--line);
  color: #d2d7d5;
  transition: color 160ms ease, transform 160ms ease;
}

.control-map a:first-of-type {
  border-top: 1px solid var(--line);
}

.control-map a:hover {
  color: var(--amber);
  transform: translateX(0.3rem);
}

.control-map-icon,
.trust-section-mark {
  display: grid;
  place-items: center;
}

.control-map-icon {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(100, 201, 238, 0.34);
  border-radius: 50%;
  background: var(--ground);
  color: var(--cyan);
}

.control-map svg,
.trust-section-mark svg,
.demo-agenda svg,
.demo-note svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.control-map a > span:last-child {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.control-map small,
.section-label,
.trust-index > p,
.trust-index a span,
.trust-facts dt,
.field > span,
.session-preview p span {
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.control-map small {
  color: #7f8b89;
}

.trust-body {
  display: grid;
  grid-template-columns: minmax(10rem, 0.28fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  padding: clamp(4rem, 7vw, 7rem) var(--page-gutter);
}

.trust-index {
  align-self: start;
  position: sticky;
  top: 7rem;
}

.trust-index > p {
  margin-bottom: 1.4rem;
}

.trust-index nav {
  display: grid;
  border-top: 1px solid var(--paper-line);
}

.trust-index a {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--paper-line);
  color: #717876;
  font-size: 0.9rem;
  transition: color 160ms ease, padding-left 160ms ease;
}

.trust-index a:hover,
.trust-index a[aria-current="true"] {
  padding-left: 0.35rem;
  color: var(--paper-ink);
}

.trust-index a[aria-current="true"] span {
  color: #8a6119;
}

.trust-sections {
  border-top: 1px solid var(--paper-line);
}

.trust-section {
  scroll-margin-top: 6rem;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) minmax(13rem, 0.42fr);
  gap: clamp(1.5rem, 3vw, 3.2rem);
  padding: clamp(3rem, 5vw, 5.5rem) 0;
  border-bottom: 1px solid var(--paper-line);
}

.trust-section-mark {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--paper-line);
  color: #8a6119;
}

.trust-section-mark svg {
  width: 1.4rem;
}

.trust-section h2,
.demo-context h2,
.demo-form-heading h2,
.secondary-cta h2 {
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.trust-section > div:nth-child(2) > p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--paper-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.trust-facts {
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--paper-line);
}

.trust-facts div {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--paper-line);
}

.trust-facts dt,
.trust-facts dd {
  margin: 0;
}

.trust-facts dd {
  color: #39403e;
  font-size: 0.8rem;
}

.trust-facts a {
  border-bottom: 1px solid var(--paper-line);
}

.secondary-cta {
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4rem, 7vw, 6.5rem) var(--page-gutter);
  background:
    radial-gradient(circle at 82% 45%, rgba(100, 201, 238, 0.08), transparent 23rem),
    var(--surface);
}

.secondary-cta h2 {
  max-width: 19ch;
}

.secondary-cta > p:not(.eyebrow) {
  max-width: 38rem;
  color: #aab2af;
  font-size: 1.05rem;
}

.secondary-cta-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.2rem;
}

.session-preview {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(0rem, 2vw, 2rem);
}

.session-preview p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line-strong);
}

.session-preview p span {
  color: #89928f;
}

.session-preview p strong {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-preview ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-preview li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  color: #cbd1ce;
}

.session-preview li span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.demo-body {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(32rem, 1fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: start;
  padding: clamp(4.5rem, 8vw, 8rem) var(--page-gutter);
}

.demo-context {
  position: sticky;
  top: 7rem;
  max-width: 35rem;
}

.demo-context > p:not(.section-label) {
  max-width: 31rem;
  color: var(--paper-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.demo-agenda {
  display: grid;
  gap: 0;
  margin: 2.5rem 0;
  padding: 0;
  border-top: 1px solid var(--paper-line);
  list-style: none;
}

.demo-agenda li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--paper-line);
  color: #303634;
}

.demo-agenda svg {
  width: 1rem;
  margin-top: 0.25rem;
  color: #8a6119;
  stroke-width: 2;
}

.demo-note {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.9rem;
  max-width: 29rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--paper-line);
  color: #626966;
}

.demo-note svg {
  width: 1.25rem;
  color: #8a6119;
}

.demo-note p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.demo-form-panel {
  padding-left: clamp(0rem, 3vw, 3.5rem);
  border-left: 1px solid var(--paper-line);
  /* The in-page CTA jumps to #demo-request; clear the 4rem sticky header. */
  scroll-margin-top: 6rem;
}

/* Matches the 1100px header breakpoint in altira.css, not the content
   breakpoints below: at that width the primary nav collapses into the
   mobile-nav row, and an opened menu grows the sticky header to ~8.9rem. */
@media (max-width: 1100px) {
  .demo-form-panel {
    scroll-margin-top: 10rem;
  }
}

.demo-form-heading {
  max-width: 37rem;
  margin-bottom: 2.5rem;
}

.demo-form-heading h2 {
  margin-bottom: 0.9rem;
}

.demo-form-heading > p:last-child {
  color: var(--paper-muted);
}

.demo-form {
  display: grid;
  gap: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field > span {
  color: #4d5552;
}

.field > span small {
  color: #8a918e;
  font: inherit;
  letter-spacing: inherit;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(18, 21, 22, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.3);
  color: var(--paper-ink);
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5c6461 50%),
    linear-gradient(135deg, #5c6461 50%, transparent 50%);
  background-position:
    calc(100% - 1.05rem) 1.35rem,
    calc(100% - 0.75rem) 1.35rem;
  background-size: 0.32rem 0.32rem;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #858c89;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(18, 21, 22, 0.42);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #8a6119;
  outline: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(242, 184, 75, 0.17);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.4rem;
}

.form-submit p {
  margin: 0;
  color: #6b726f;
  font-size: 0.8rem;
}

.form-submit a {
  border-bottom: 1px solid var(--paper-line);
  color: var(--paper-ink);
}

.demo-form button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

#form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.86rem;
}

#form-status.is-success {
  color: #176b47;
}

#form-status.is-error {
  color: #9c2f2f;
}

.motion-ready [data-secondary-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-ready [data-secondary-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .secondary-hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .secondary-hero-copy {
    max-width: 44rem;
  }

  .control-map,
  .session-preview {
    width: min(100%, 38rem);
    padding-inline: 0;
  }

  .trust-section {
    grid-template-columns: 3.4rem minmax(0, 1fr);
  }

  .trust-facts {
    grid-column: 2;
    width: min(100%, 29rem);
    margin-top: 0.5rem;
  }

  .demo-body {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .demo-context {
    position: static;
  }

  .demo-form-panel {
    max-width: 48rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--paper-line);
    padding-top: 3.5rem;
  }
}

@media (max-width: 720px) {
  .secondary-hero {
    min-height: auto;
    padding-block: 3.5rem;
  }

  .secondary-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .trust-body {
    grid-template-columns: 1fr;
  }

  .trust-index {
    position: static;
  }

  .trust-index nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-index a:nth-child(odd) {
    border-right: 1px solid var(--paper-line);
  }

  .trust-section {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 1.1rem;
  }

  .trust-section-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .trust-facts {
    grid-column: 1 / -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit,
  .secondary-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-secondary-reveal] {
    opacity: 1;
    transform: none;
  }
}
