@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #0e0e1a;
  --ink-soft: #242437;
  --text: #3b3b4d;
  --muted: #68687d;
  --surface: #ffffff;
  --surface-soft: #f7f7fb;
  --surface-tint: #eef9fb;
  --line: #e7e7f0;
  --line-strong: #d7d7e4;
  --violet: #2563eb;
  --violet-dark: #1d4ed8;
  --violet-light: #3b82f6;
  --magenta: #0f766e;
  --blue: #1667d0;
  --green: #197a4d;
  --danger: #b42318;
  --shadow-sm: 0 10px 30px rgba(28, 23, 52, 0.07);
  --shadow-lg: 0 30px 80px rgba(15, 73, 112, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fbfbfd;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(22, 103, 208, 0.48);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 700;
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(251, 251, 253, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 14, 26, 0.04);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: 188px;
  height: auto;
}

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

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--violet);
}

.nav-toggle {
  display: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, var(--violet), #0369a1 62%, var(--magenta));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.25);
}

.button:active {
  transform: translateY(0);
}

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

.button-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.88rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--violet-dark);
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 96px 0 76px;
  background:
    radial-gradient(circle at 88% 5%, rgba(20, 184, 166, 0.13), transparent 31%),
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.09), transparent 27%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 72%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
  content: "";
}

.hero-glow {
  position: absolute;
  top: 22%;
  right: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.07);
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.038em;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3rem, 5.25vw, 5.3rem);
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 780;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hero-lede {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.14rem, 1.55vw, 1.32rem);
  line-height: 1.55;
}

.hero-support {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.trust-note {
  display: flex;
  margin: 24px 0 0;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.trust-mark {
  width: 23px;
  height: 23px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
  border-radius: 50%;
  color: var(--green);
  background: #eaf8f1;
  font-weight: 800;
}

.hero-evidence {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(205, 201, 220, 0.8);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: perspective(1500px) rotateY(-2deg) rotateX(1deg);
  transform-origin: center left;
}

.evidence-toolbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfd;
}

.evidence-toolbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d8e2;
}

.evidence-toolbar small {
  margin-left: auto;
  color: #5f5d70;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.hero-evidence picture,
.hero-evidence img {
  width: 100%;
}

.evidence-caption {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 0.72rem;
}

.evidence-caption span:first-child {
  font-weight: 650;
}

.evidence-caption a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.journey-strip {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  margin-top: 66px;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.journey-strip span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(32, 27, 50, 0.04);
  text-align: center;
}

.journey-strip i {
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), rgba(13, 148, 136, 0.66));
}

.section {
  padding: 112px 0;
}

.section-soft {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-heading {
  max-width: 730px;
}

.section-heading > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 800px;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 90px;
}

.problem-heading {
  max-width: 620px;
}

.section-conclusion {
  padding-left: 18px;
  border-left: 3px solid var(--violet-light);
  color: var(--ink-soft) !important;
  font-weight: 700;
}

.question-list {
  border-top: 1px solid var(--line-strong);
}

.question-list p {
  display: grid;
  grid-template-columns: 42px 1fr;
  margin: 0;
  align-items: center;
  gap: 14px;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-weight: 680;
}

.question-list span {
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.convergence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(250px, 0.72fr);
  margin-top: 72px;
  align-items: center;
  gap: 28px;
}

.source-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-items span {
  padding: 10px 14px;
  border: 1px dashed #c9c8d5;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 650;
}

.convergence-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, #c5c4d0, var(--violet));
}

.convergence-line::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--violet);
  border-right: 2px solid var(--violet);
  content: "";
  transform: rotate(45deg);
}

.client-record {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #edfaff);
  box-shadow: var(--shadow-sm);
}

.client-record small {
  color: var(--violet);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-record strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.18rem;
}

.client-record span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 68px;
  gap: 0;
  list-style: none;
}

.process::before {
  position: absolute;
  top: 29px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, #bfdbfe, #67e8f9 50%, #99f6e4);
  content: "";
}

.process li {
  position: relative;
  padding: 0 18px;
}

.process-number {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  color: var(--violet-dark);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 73, 112, 0.09);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process h3 {
  min-height: 52px;
  font-size: 1.05rem;
}

.process p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.availability-note {
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.section-ink {
  position: relative;
  overflow: hidden;
  color: #d3d1dc;
  background:
    radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.22), transparent 30%),
    #11111d;
}

.section-ink::before {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.light-heading h2,
.section-ink h3 {
  color: #fff;
}

.light-heading > p:not(.eyebrow) {
  color: #aaa8b7;
}

.section-ink .eyebrow {
  color: #67e8f9;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.sector-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.sector-list article:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.sector-list article > span {
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.sector-list p {
  margin: 10px 0 0;
  color: #aaa8b7;
  font-size: 0.87rem;
}

.honest-fit {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  margin-top: 58px;
  align-items: start;
  gap: 28px 60px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.honest-fit .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.honest-fit h3 {
  font-size: 1.55rem;
}

.honest-fit p:last-child {
  margin: 0;
  color: #aaa8b7;
  font-size: 0.93rem;
}

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 100px;
}

.sticky-heading {
  position: sticky;
  top: 120px;
}

.sticky-heading .text-link {
  margin-top: 24px;
}

.capability-list {
  border-top: 1px solid var(--line-strong);
}

.capability-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}

.capability-list article > span {
  padding-top: 3px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.capability-list p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.section-panama {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
}

.panama-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 100px;
}

.panama-mark {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0 38%, transparent 39%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(13, 148, 136, 0.07) 23px 24px);
}

.panama-mark::before,
.panama-mark::after {
  position: absolute;
  background: rgba(14, 165, 233, 0.18);
  content: "";
}

.panama-mark::before {
  width: 1px;
  height: 112%;
}

.panama-mark::after {
  width: 112%;
  height: 1px;
}

.panama-mark span {
  position: relative;
  z-index: 1;
  color: var(--violet);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.panama-mark i {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 3px;
  margin: 18px 0;
  background: linear-gradient(90deg, var(--violet), var(--magenta));
}

.panama-mark small {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inline-links {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 90px;
}

.approval-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.approval-flow li {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-right: 0;
  background: #fff;
}

.approval-flow li:first-child {
  border-radius: 14px 0 0 14px;
}

.approval-flow li:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 14px 14px 0;
}

.approval-flow li::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid #aaa4b7;
  border-right: 1.5px solid #aaa4b7;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.approval-flow li:last-child::after {
  display: none;
}

.approval-flow .human-step {
  border-color: rgba(37, 99, 235, 0.38);
  background: linear-gradient(145deg, #edfaff, #fff);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
}

.approval-flow span {
  color: var(--violet);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.approval-flow strong {
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.4;
}

.demo-section {
  position: relative;
  background:
    radial-gradient(circle at 5% 15%, rgba(14, 165, 233, 0.08), transparent 27%),
    #fff;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: 90px;
}

.demo-copy {
  position: sticky;
  top: 120px;
}

.demo-copy h2 {
  max-width: 560px;
}

.demo-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.demo-expectations {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.demo-expectations li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.demo-expectations li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--violet);
  border-radius: 50%;
  content: "";
}

.demo-alternative {
  font-size: 0.82rem !important;
}

.demo-alternative a {
  color: var(--blue);
  font-weight: 700;
}

.form-shell {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 19px;
}

.field label {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8d7e1;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input,
.field select {
  padding: 0 14px;
}

.field textarea {
  min-height: 116px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9897a7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--violet-light);
  outline: none;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  margin-top: 7px;
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 650;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--violet);
}

.consent-error {
  display: block;
  margin: 7px 0 0 30px;
}

.turnstile-wrap {
  min-height: 66px;
  margin-top: 20px;
}

.form-message {
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid #f4c7c3;
  border-radius: 8px;
  color: #8f1d15;
  background: #fff5f4;
  font-size: 0.78rem;
  font-weight: 650;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.privacy-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.privacy-note a {
  color: var(--blue);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.success-panel {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.success-panel[hidden] {
  display: none;
}

.success-mark {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: #e8f7ef;
  font-size: 1.4rem;
  font-weight: 800;
}

.success-panel h3 {
  margin-top: 20px;
  font-size: 1.5rem;
}

.success-panel p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 100px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 19px 52px 19px 2px;
  color: var(--ink);
  font-weight: 720;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 14px;
  height: 1.5px;
  background: var(--violet);
  content: "";
  transition: transform 160ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 46px 24px 2px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  color: #d8d5e2;
  background:
    radial-gradient(circle at 75% 0%, rgba(20, 184, 166, 0.3), transparent 38%),
    linear-gradient(135deg, #0b1220, #0d2942 75%, #0b3b43);
}

.closing::before {
  position: absolute;
  top: -220px;
  left: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.closing-inner {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.closing .eyebrow {
  color: #99f6e4;
}

.closing h2 {
  color: #fff;
}

.closing p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px auto 0;
  color: #b8b4c5;
  font-size: 1.02rem;
}

.closing-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.light-link {
  color: #fff;
}

.site-footer {
  padding: 54px 0 24px;
  background: #fbfbfd;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}

.footer-brand img {
  width: 180px;
  height: auto;
}

.footer-brand p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand a {
  color: var(--blue);
  font-weight: 650;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-main nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 680;
  text-decoration: none;
}

.footer-main nav a:hover {
  color: var(--violet);
}

.footer-bottom {
  display: flex;
  margin-top: 38px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.not-found img {
  width: 200px;
  height: auto;
  margin-bottom: 54px;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.not-found > p:not(.eyebrow) {
  margin: 20px 0 28px;
  color: var(--muted);
}

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

  .primary-nav a {
    font-size: 0.8rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: 42px;
  }

  .capabilities-layout,
  .faq-grid {
    gap: 64px;
  }

  .demo-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
    gap: 56px;
  }

  .ai-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: 168px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle > span:not(.sr-only) {
    width: 19px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 251, 253, 0.98);
    box-shadow: 0 18px 40px rgba(15, 14, 26, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 0.96rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 72px 0 62px;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .hero-evidence {
    transform: none;
  }

  .journey-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .journey-strip i {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .problem-grid,
  .capabilities-layout,
  .panama-grid,
  .demo-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .sticky-heading,
  .demo-copy {
    position: static;
  }

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

  .convergence-line {
    width: 1px;
    height: 46px;
    margin-left: 50%;
    background: linear-gradient(180deg, #c5c4d0, var(--violet));
  }

  .convergence-line::after {
    top: auto;
    right: -4px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .client-record {
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }

  .process {
    grid-template-columns: 1fr;
    max-width: 700px;
    gap: 0;
  }

  .process::before {
    top: 16px;
    right: auto;
    bottom: 16px;
    left: 29px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, #bfdbfe, #99f6e4);
  }

  .process li {
    min-height: 150px;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    padding: 0;
  }

  .process-number {
    grid-row: 1 / 3;
  }

  .process h3 {
    min-height: 0;
    align-self: end;
  }

  .process p {
    align-self: start;
  }

  .panama-mark {
    width: min(440px, 86vw);
    margin-inline: auto;
  }

  .demo-grid {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.55rem, 13.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link,
  .closing-actions .button,
  .closing-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .evidence-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .journey-strip {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .journey-strip span {
    position: relative;
    justify-content: flex-start;
    border-radius: 10px;
  }

  .journey-strip span:not(:last-child)::after {
    position: absolute;
    right: 18px;
    color: var(--violet);
    content: "↓";
  }

  .section {
    padding: 76px 0;
  }

  .problem-grid,
  .capabilities-layout,
  .panama-grid,
  .demo-grid,
  .faq-grid {
    gap: 44px;
  }

  .convergence {
    margin-top: 52px;
  }

  .source-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-items span {
    text-align: center;
  }

  .sector-list {
    grid-template-columns: 1fr;
  }

  .sector-list article,
  .sector-list article:nth-child(even) {
    grid-template-columns: 42px 1fr;
    padding: 24px 0;
    border-left: 0;
  }

  .honest-fit {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .honest-fit .eyebrow {
    margin-bottom: 0;
  }

  .approval-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .approval-flow li {
    min-height: 88px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 10px !important;
  }

  .approval-flow li::after {
    top: auto;
    right: 50%;
    bottom: -5px;
    transform: rotate(135deg);
  }

  .form-shell {
    padding: 24px 18px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .turnstile-wrap {
    overflow: hidden;
  }

  .faq-answer {
    padding-right: 16px;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .footer-bottom {
    gap: 12px;
  }
}

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

@media print {
  .site-header,
  .hero-actions,
  .closing,
  .site-footer,
  .turnstile-wrap,
  .form-submit {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .hero {
    padding: 32px 0;
  }
}
