:root {
  --bg: #0a0a09;
  --surface: #11110f;
  --surface-raised: #171612;
  --line: #2a2822;
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f3f1ec;
  --muted: #9c9991;
  --muted-bright: #c3c0b8;
  --accent: #f59a2c;
  --accent-bright: #ffad45;
  --accent-soft: rgba(245, 154, 44, 0.12);
  --success: #8fcf87;
  --content: 1240px;
  --radius: 2px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 17%, rgba(245, 154, 44, 0.075), transparent 28rem),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 40px 40px, 40px 40px, auto;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

.site-header,
.hero,
.capabilities,
.closing-cta,
footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line-soft);
}

.wordmark {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.wordmark > span:last-child > span {
  color: var(--accent);
}

.wordmark-mark {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  transform: rotate(-45deg);
}

.wordmark-mark span {
  position: absolute;
  width: 12px;
  height: 5px;
  border: 2px solid var(--accent);
}

.wordmark-mark span:first-child {
  top: 3px;
  left: 1px;
  border-right: 0;
}

.wordmark-mark span:last-child {
  right: 1px;
  bottom: 3px;
  border-left: 0;
}

.beta-status,
.eyebrow,
.panel-label,
.panel-index,
.event-log,
.capability-grid article > span {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.beta-status {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted-bright);
  font-size: 11px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.83fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding-block: 76px 88px;
}

.hero-copy {
  align-self: start;
  padding-top: clamp(36px, 5.5vh, 64px);
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 27px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.neutral-contact-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
}

.eyebrow-copy {
  min-width: 0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  font-weight: 390;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted-bright);
  font-size: clamp(1rem, 1.3vw, 1.17rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-bottom: 41px;
}

.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.button-primary {
  color: #140d05;
  background: var(--accent);
}

.button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}

.button:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

.button:hover svg {
  transform: translateX(3px);
}

.form-note {
  max-width: 215px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.form-note a,
footer a,
.text-link {
  color: var(--muted-bright);
  text-underline-offset: 3px;
}

.form-note a:hover,
footer a:hover,
.text-link:hover {
  color: var(--text);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted-bright);
  font-size: 11px;
}

.trust-line i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.trust-line strong {
  flex-basis: 100%;
  color: var(--text);
  font-weight: 580;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(12, 12, 10, 0.9);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.35);
}

.hero-visual::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(245, 154, 44, 0.18), transparent 38%);
  filter: blur(22px);
}

.cohort-panel,
.sync-panel {
  padding: 25px 27px;
}

.cohort-panel {
  border-bottom: 1px solid var(--line);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 23px;
}

.panel-label {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 600;
}

.panel-date {
  margin: 0;
  color: var(--muted-bright);
  font-size: 12px;
}

.panel-index {
  color: #5d5a53;
  font-size: 9px;
  white-space: nowrap;
}

.cohort-title {
  max-width: 430px;
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 430;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.cohort-note {
  margin: 0;
  padding: 12px 13px;
  border-left: 1px solid var(--accent);
  color: var(--muted);
  background: rgba(245, 154, 44, 0.045);
  font-size: 9px;
  line-height: 1.5;
}

.sync-heading {
  margin-bottom: 19px;
}

.architecture {
  margin-bottom: 20px;
}

.architecture-node,
.provider-card {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.architecture-node {
  gap: 11px;
  width: 68%;
  min-height: 48px;
  margin-inline: auto;
  padding: 10px 13px;
}

.architecture-core {
  width: 78%;
  border-color: rgba(245, 154, 44, 0.45);
  background: linear-gradient(90deg, var(--accent-soft), var(--surface) 55%);
}

.architecture-icon {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.architecture-icon-saas {
  border: 1px solid #77736a;
  color: var(--muted-bright);
  background: rgba(255, 255, 255, 0.035);
}

.architecture-icon-core {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.architecture-copy {
  min-width: 0;
}

.node-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.architecture-copy strong,
.provider-card strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.architecture-copy small,
.provider-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.architecture-core .architecture-copy small {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.architecture-link {
  position: relative;
  width: 60px;
  height: 42px;
  margin-inline: auto;
}

.architecture-link svg,
.branch-link svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #5f5b52;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.flow-dot {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(245, 154, 44, 0.75);
}

.flow-dot-down {
  left: 20.5px;
  animation: flow-down 2.8s ease-in-out infinite;
}

.flow-dot-up {
  left: 34.5px;
  animation: flow-up 2.8s ease-in-out 1.1s infinite;
}

@keyframes flow-down {
  0%, 12% { top: 4px; opacity: 0; }
  24% { opacity: 1; }
  76% { opacity: 1; }
  88%, 100% { top: 32px; opacity: 0; }
}

@keyframes flow-up {
  0%, 12% { top: 32px; opacity: 0; }
  24% { opacity: 1; }
  76% { opacity: 1; }
  88%, 100% { top: 4px; opacity: 0; }
}

.branch-link {
  position: relative;
  width: 80%;
  height: 48px;
  margin-inline: auto;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.provider-card {
  position: relative;
  gap: 9px;
  min-height: 75px;
  padding: 12px 10px 25px;
}

.provider-card > div {
  min-width: 0;
}

.provider-icon {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
}

.provider-number {
  border: 1px solid #4a4740;
  color: var(--muted-bright);
  background: rgba(255, 255, 255, 0.035);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
}

.provider-card b {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: var(--success);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.provider-hubspot b {
  color: var(--accent);
}

.connector-roadmap {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin: 12px 0 0;
  padding: 9px 10px;
  border-left: 1px solid var(--accent);
  color: var(--muted);
  background: rgba(245, 154, 44, 0.045);
  font-size: 8px;
  line-height: 1.45;
}

.connector-roadmap span {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-log {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
  text-transform: none;
  letter-spacing: 0;
}

.event-log li {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr auto;
  gap: 12px;
  align-items: center;
  min-height: 35px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.event-log li:last-child {
  border-bottom: 0;
}

.event-log code {
  color: var(--muted-bright);
  font-family: inherit;
}

.event-log span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-log b {
  color: var(--success);
  font-size: 7px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.capabilities {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 130px);
  padding-block: 112px;
  border-top: 1px solid var(--line-soft);
}

.section-intro h2,
.closing-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 205px;
  padding: 25px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 15, 13, 0.7);
}

.capability-grid article > span {
  display: inline-block;
  margin-bottom: 39px;
  color: var(--accent);
  font-size: 10px;
}

.capability-grid h3 {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.closing-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  padding: 69px 72px;
  overflow: hidden;
  border: 1px solid rgba(245, 154, 44, 0.3);
  background: linear-gradient(125deg, rgba(245, 154, 44, 0.14), rgba(17, 17, 15, 0.88) 50%);
}

.closing-cta::after {
  position: absolute;
  right: -100px;
  bottom: -240px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(245, 154, 44, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 60px rgba(245, 154, 44, 0.025), 0 0 0 120px rgba(245, 154, 44, 0.02);
}

.closing-cta > * {
  position: relative;
  z-index: 1;
}

.closing-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.closing-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  min-width: 280px;
}

.closing-actions .button {
  width: 100%;
}

.text-link {
  font-size: 11px;
  line-height: 1.45;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
}

.roadmap-note {
  max-width: 275px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.onboarding-note {
  max-width: 280px;
  margin: -7px 0 0;
  color: var(--muted-bright);
  font-size: 10px;
  line-height: 1.5;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  min-height: 145px;
  color: var(--muted);
  font-size: 11px;
}

.wordmark-small {
  font-size: 14px;
}

.wordmark-small .wordmark-mark {
  width: 19px;
  height: 19px;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > div {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.trademark-note {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: -24px auto 28px;
  color: #6f6c65;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    align-self: auto;
    max-width: 800px;
    padding-top: 0;
  }

  .hero-visual {
    width: min(100%, 680px);
  }

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

  .section-intro {
    max-width: 700px;
  }

  .closing-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .capabilities,
  .closing-cta,
  footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    min-height: 77px;
  }

  .beta-status span:nth-of-type(n+3) {
    display: none;
  }

  .hero {
    gap: 55px;
    padding-block: 58px 70px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-note {
    max-width: 100%;
  }

  .cohort-panel,
  .sync-panel {
    padding: 22px 18px;
  }

  .event-log li {
    grid-template-columns: 1fr auto;
  }

  .event-log span {
    display: none;
  }

  .capabilities {
    gap: 50px;
    padding-block: 86px;
  }

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

  .capability-grid article {
    min-height: 180px;
  }

  .closing-cta {
    gap: 38px;
    padding: 45px 24px;
  }

  .closing-actions {
    min-width: 0;
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
    padding-block: 39px;
  }

  footer p {
    text-align: left;
  }

  footer > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .trademark-note {
    margin: 4px 0 0;
    text-align: left;
  }
}

@media (max-width: 400px) {
  .architecture-node {
    width: 82%;
  }

  .architecture-core,
  .branch-link {
    width: 92%;
  }

  .provider-grid {
    gap: 7px;
  }

  .provider-card {
    align-items: flex-start;
    gap: 7px;
    min-height: 89px;
    padding-inline: 8px;
  }

  .provider-card strong {
    font-size: 9px;
    white-space: normal;
  }

  .provider-card small {
    line-height: 1.35;
  }

  .connector-roadmap {
    align-items: flex-start;
    font-size: 7px;
  }

  .button {
    width: 100%;
  }
}

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

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