:root {
  --ink: #0f222f;
  --muted: #566779;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --pine: #0b2d42;
  --moss: #6d8998;
  --sun: #56a7d1;
  --clay: #2b79a8;
  --line: rgba(15, 34, 47, 0.12);
  --shadow: 0 24px 70px rgba(9, 40, 58, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(86, 167, 209, 0.26), transparent 32rem),
    radial-gradient(circle at 90% 20%, rgba(185, 205, 214, 0.34), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, var(--paper) 46%, #edf4f8 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(11, 45, 66, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 45, 66, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 75%);
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pine);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--panel);
  background: var(--pine);
  box-shadow: 0 10px 24px rgba(9, 40, 58, 0.18);
}


.mobile-menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(10, 36, 52, 0.14);
  border-radius: 999px;
  color: #0a2434;
  background: rgba(255, 255, 255, 0.72);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(10, 36, 52, 0.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-links a,
.nav-links button {
  color: #0a2434;
  text-decoration: none;
}

.nav-dropdown-toggle {
  cursor: pointer;
  color: #0a2434;
  font: inherit;
  text-transform: uppercase;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 34px;
  border: 1px solid rgba(10, 36, 52, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(10, 36, 52, 0.04);
}

.nav-pill:hover {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 36, 52, 0.18);
}

.nav-item {
  position: relative;
}

.has-dropdown > .nav-pill::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.72em;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 10;
  display: grid;
  min-width: 310px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  text-transform: none;
  letter-spacing: 0;
}

.dropdown a {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--pine);
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--pine);
  background: rgba(86, 167, 209, 0.16);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-cta {
  min-height: 64px;
  padding: 0 36px;
  background: #09283a;
  border-color: #09283a;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--pine);
  border-radius: 999px;
  color: var(--panel);
  background: var(--pine);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 40, 58, 0.18);
}

.button.secondary {
  color: var(--pine);
  background: transparent;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 48px;
  align-items: center;
  padding: 74px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--pine);
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 248, 0.88));
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(18, 61, 53, 0.18);
  border-radius: 50%;
}

.orbit.one {
  width: 310px;
  height: 310px;
  right: -48px;
  top: 36px;
}

.orbit.two {
  width: 220px;
  height: 220px;
  left: -38px;
  bottom: -28px;
}

.metric-stack {
  position: relative;
  display: grid;
  gap: 18px;
  z-index: 1;
}

.metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(10px);
}

.metric strong {
  display: block;
  color: var(--pine);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.95rem;
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 14px 38px rgba(18, 61, 53, 0.08);
}

.card p {
  color: var(--muted);
}

.card a {
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.about-value-card {
  position: relative;
  overflow: hidden;
  min-height: 214px;
}

.about-value-card::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -64px;
  width: 154px;
  height: 154px;
  border-radius: 999px;
  background: rgba(86, 167, 209, 0.12);
}

.about-value-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 1px solid rgba(86, 167, 209, 0.42);
  border-radius: 18px;
  color: var(--blue);
  background: rgba(236, 246, 251, 0.78);
  box-shadow: 0 14px 30px rgba(9, 40, 58, 0.08);
}

.about-value-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-value-card h3,
.about-value-card p {
  position: relative;
  z-index: 1;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  border-left: 5px solid var(--sun);
  border-radius: 16px;
  background: rgba(245, 184, 75, 0.12);
}

.cta {
  margin: 64px 0;
  padding: 46px;
  border-radius: 40px;
  color: var(--panel);
  background: linear-gradient(135deg, #09283a 0%, #0b3a55 54%, #315f73 100%);
  box-shadow: var(--shadow);
}

.cta h2 {
  color: var(--panel);
}

.cta p {
  max-width: 720px;
  color: rgba(255, 250, 240, 0.78);
}

.site-shell.cta .button {
  border: 2px solid rgba(255, 255, 255, 0.82);
  color: #09283a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(3, 20, 31, 0.24), 0 0 0 7px rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-shell.cta .button:hover,
.site-shell.cta .button:focus-visible {
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(3, 20, 31, 0.3), 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.footer {
  padding: 44px 0;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--pine);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fffef8;
  font: inherit;
}

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

@media (max-width: 820px) {
  .site-shell {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .nav,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .nav-pill,
  .nav-cta {
    width: 100%;
  }

  .nav-item,
  .has-dropdown {
    width: 100%;
  }

  .dropdown {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .hero,
  .split,
  .grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero-card {
    min-height: 340px;
  }
}


.mini-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-card .eyebrow {
  margin-bottom: 10px;
  color: var(--moss);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 14px 38px rgba(18, 61, 53, 0.08);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-details a {
  color: var(--clay);
  font-weight: 800;
  text-decoration: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
}

.contact-page .contact-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 92px);
  padding-bottom: clamp(58px, 9vw, 110px);
}

.contact-copy h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 7.6vw, 7.4rem);
}

.contact-copy .lede {
  max-width: 680px;
}

.contact-next-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-next-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(43, 121, 168, 0.24);
  border-radius: 999px;
  color: var(--clay);
  background: rgba(255, 255, 255, 0.74);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border-color: rgba(43, 121, 168, 0.18);
  background:
    radial-gradient(circle at top right, rgba(86, 167, 209, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(9, 40, 58, 0.12);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: rgba(43, 121, 168, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(43, 121, 168, 0.72);
  outline: 3px solid rgba(86, 167, 209, 0.22);
  outline-offset: 2px;
}

.contact-form .button {
  justify-content: center;
}

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

.form-status {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(43, 121, 168, 0.28);
  border-radius: 18px;
  background: rgba(225, 240, 248, 0.7);
  color: var(--ink);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-error {
  border-color: rgba(191, 84, 64, 0.38);
  background: rgba(255, 241, 232, 0.86);
}

@media (max-width: 920px) {
  .contact-page .contact-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-page .contact-hero {
    padding-top: 34px;
  }

  .contact-copy h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1;
    max-width: 330px;
  }

  .contact-copy .lede {
    max-width: 330px;
  }

  .contact-next-steps span {
    width: 100%;
    justify-content: center;
  }
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.command-card {
  display: grid;
  gap: 16px;
}

.command-line {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(10px);
}

.command-line span,
.feature-number {
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.command-line strong {
  color: var(--pine);
  font-size: 1.35rem;
  line-height: 1.1;
}

.command-line p {
  margin: 0;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.proof-strip div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.68);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--pine);
  font-size: 1.1rem;
}

.proof-strip span {
  color: var(--muted);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(155deg, rgba(255, 250, 240, 0.92), rgba(234, 240, 223, 0.74));
  box-shadow: 0 18px 50px rgba(18, 61, 53, 0.1);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(86, 167, 209, 0.16);
}

.feature-card h3,
.feature-card p,
.feature-card a,
.feature-card span {
  position: relative;
  z-index: 1;
}

.feature-card p:not(.eyebrow) {
  color: var(--muted);
}

.feature-card a {
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.spotlight {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 250, 240, 0.62);
  box-shadow: var(--shadow);
}

@media (max-width: 820px) {
  .proof-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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


.outcome-grid {
  align-items: stretch;
}

.ops-manage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .ops-manage-grid {
    grid-template-columns: 1fr;
  }
}

.outcome-card {
  border-left: 5px solid var(--moss);
}

.outcome-card h3 {
  font-size: 1.28rem;
}

.outcome-card p {
  margin-bottom: 0;
}


.about-service-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 420px;
  margin: 44px 0 64px;
  padding: 48px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 248, 0.82));
  box-shadow: 0 18px 60px rgba(18, 61, 53, 0.1);
  text-align: center;
}

.about-service-cta::before,
.about-service-cta::after {
  content: "";
  position: absolute;
  border-radius: 44% 56% 47% 53%;
  background: rgba(18, 61, 53, 0.035);
}

.about-service-cta::before {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -240px;
}

.about-service-cta::after {
  width: 170px;
  height: 220px;
  right: 72px;
  top: 110px;
  transform: rotate(30deg);
}

.about-service-cta > div {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.about-service-cta h2 {
  color: #08283a;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  letter-spacing: -0.06em;
}

.about-service-cta p {
  max-width: 820px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.centered-actions {
  justify-content: center;
}

.light-button {
  color: #08283a;
  border-color: rgba(8, 40, 58, 0.55);
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 820px) {
  .about-service-cta {
    min-height: 0;
    padding: 34px 24px;
  }
}


.about-statement h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.about-statement p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}


.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  padding-top: clamp(72px, 9vw, 140px);
}

.about-hero h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 7.6vw, 6.6rem);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.about-lede {
  max-width: 760px;
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
}

.about-statement {
  width: min(860px, 100%);
  margin-top: 0;
  margin-left: auto;
}

@media (max-width: 1100px) {
  .about-hero {
    gap: 28px;
  }

  .about-hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 10vw, 5.8rem);
  }

  .about-statement {
    margin-left: 0;
  }
}


/* Brand header and footer treatment */
.nav {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(9, 40, 58, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(9, 40, 58, 0.08);
  backdrop-filter: blur(14px);
}

.logo-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.logo-brand img {
  display: block;
  width: clamp(138px, 13vw, 172px);
  height: auto;
}

.nav-links {
  margin-inline: auto;
}

.nav-pill {
  min-height: 54px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.58);
}

.nav-cta {
  min-height: 54px;
  padding: 0 30px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: inline-flex;
  flex: 0 0 auto;
  opacity: 0.95;
}

.footer-logo img {
  display: block;
  width: 132px;
  height: auto;
  filter: none;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 12px;
    padding: 18px;
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    margin-inline: 0;
  }

  .nav-pill,
  .nav-cta {
    width: 100%;
  }

  .nav-item,
  .has-dropdown {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .logo-brand img {
    width: 148px;
  }

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

/* Homepage image direction: clean content-first visual */
.hero-visual {
  position: relative;
  min-height: clamp(420px, 42vw, 540px);
}

.hero-visual-frame {
  position: absolute;
  inset: 0 0 56px 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 38px;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.72) 0 7%, transparent 7.5%),
    radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.6) 0 5.5%, transparent 6%),
    linear-gradient(135deg, rgba(43, 121, 168, 0.18), rgba(11, 45, 66, 0.06)),
    linear-gradient(25deg, #d8e7ef, #ffffff 48%, #b7d1de);
  box-shadow: var(--shadow);
}

.hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 18% 11% auto;
  height: 34%;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(11, 45, 66, 0.12) 0 18%, transparent 18% 22%, rgba(43, 121, 168, 0.16) 22% 44%, transparent 44% 48%, rgba(11, 45, 66, 0.12) 48% 70%, transparent 70% 74%, rgba(86, 167, 209, 0.16) 74%),
    linear-gradient(#f6fbfd, #d9e8ef);
  transform: rotate(-1.5deg);
}

.hero-visual-frame::after {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  right: 12%;
  bottom: 14%;
  border-radius: 50%;
  background: rgba(11, 45, 66, 0.09);
  box-shadow: -100px -34px 0 rgba(43, 121, 168, 0.1), -52px 72px 0 rgba(86, 167, 209, 0.13);
}

.visual-chip {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid rgba(43, 121, 168, 0.2);
  border-radius: 999px;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.78);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(330px, 78%);
  padding: 24px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 26px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 54px rgba(9, 40, 58, 0.12);
  backdrop-filter: blur(12px);
}

.hero-visual-note span {
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-visual-note strong {
  display: block;
  margin: 8px 0;
  color: var(--pine);
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-visual-note p {
  margin: 0;
}

@media (max-width: 820px) {
  .hero-visual {
    min-height: 430px;
    margin-top: 20px;
  }

  .hero-visual-frame {
    inset: 0 0 72px 0;
    border-radius: 30px;
  }

  .hero-visual-note {
    width: min(330px, 88%);
  }
}

.has-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

@media (max-width: 920px) {
  .has-dropdown::before {
    display: none;
  }
}

/* Service page visuals: clean, supportive, content-first */
.service-visual {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding-top: 170px;
}

.service-visual h2,
.service-visual p {
  position: relative;
  z-index: 2;
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: 28px 28px auto;
  height: 116px;
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 40px rgba(9, 40, 58, 0.08);
}

.service-visual::after {
  content: "";
  position: absolute;
  top: 58px;
  left: 58px;
  right: 58px;
  height: 12px;
  border-radius: 999px;
  background: rgba(86, 103, 121, 0.18);
  box-shadow:
    0 28px 0 rgba(86, 103, 121, 0.14),
    0 56px 0 rgba(43, 121, 168, 0.16);
}

.agent-service-visual::before {
  border-radius: 28px 28px 28px 8px;
  background:
    linear-gradient(135deg, rgba(11, 45, 66, 0.08), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.7);
}

.agent-service-visual::after {
  left: 78px;
  right: 38px;
  background: rgba(43, 121, 168, 0.22);
  box-shadow:
    -34px 28px 0 rgba(86, 167, 209, 0.18),
    0 56px 0 rgba(11, 45, 66, 0.12);
}

.workflow-service-visual::before {
  background:
    linear-gradient(90deg, rgba(43, 121, 168, 0.16) 0 22%, transparent 22% 28%, rgba(86, 167, 209, 0.14) 28% 52%, transparent 52% 58%, rgba(11, 45, 66, 0.1) 58%),
    rgba(255, 255, 255, 0.74);
}

.workflow-service-visual::after {
  left: 46px;
  right: 46px;
  height: 10px;
  background: rgba(11, 45, 66, 0.14);
  box-shadow:
    0 28px 0 rgba(43, 121, 168, 0.18),
    0 56px 0 rgba(86, 103, 121, 0.14);
}

.app-service-visual::before {
  height: 126px;
  background:
    linear-gradient(90deg, rgba(11, 45, 66, 0.08) 0 32%, transparent 32% 36%, rgba(86, 167, 209, 0.14) 36% 68%, transparent 68% 72%, rgba(43, 121, 168, 0.16) 72%),
    rgba(255, 255, 255, 0.74);
}

.app-service-visual::after {
  top: 48px;
  left: 48px;
  right: auto;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--sky), var(--clay));
  box-shadow:
    104px 0 0 rgba(11, 45, 66, 0.12),
    208px 0 0 rgba(43, 121, 168, 0.14);
}

@media (max-width: 820px) {
  .service-visual {
    min-height: 340px;
    padding-top: 150px;
  }

  .service-visual::before {
    inset: 22px 22px auto;
  }

  .service-visual::after {
    left: 44px;
    right: 44px;
  }
}

/* Layering and spacing fixes */
.nav {
  position: relative;
  z-index: 1000;
}

.dropdown {
  z-index: 1001;
}

.service-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(56px, 7vw, 92px);
  align-items: start;
}

.service-hero h1 {
  max-width: 720px;
  font-size: clamp(3.5rem, 6.8vw, 6.1rem);
  letter-spacing: -0.065em;
  line-height: 1;
}

.service-hero .lede {
  max-width: 620px;
}

.service-hero .service-visual {
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .service-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-hero h1 {
    max-width: 900px;
    font-size: clamp(3.4rem, 11vw, 6rem);
  }

  .service-hero .service-visual {
    margin-top: 0;
  }
}

/* About page image direction: calm human/business support */
.about-image-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.about-human-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.7) 0 7%, transparent 7.5%),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.58) 0 6%, transparent 6.5%),
    radial-gradient(circle at 48% 66%, rgba(255, 255, 255, 0.64) 0 7%, transparent 7.5%),
    linear-gradient(135deg, rgba(43, 121, 168, 0.2), rgba(11, 45, 66, 0.06)),
    linear-gradient(25deg, #d8e7ef, #ffffff 48%, #b7d1de);
  box-shadow: var(--shadow);
}

.about-human-visual::before {
  content: "";
  position: absolute;
  inset: 18% 10% auto;
  height: 36%;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(11, 45, 66, 0.12) 0 18%, transparent 18% 22%, rgba(43, 121, 168, 0.16) 22% 44%, transparent 44% 48%, rgba(11, 45, 66, 0.12) 48% 70%, transparent 70% 74%, rgba(86, 167, 209, 0.16) 74%),
    linear-gradient(#f6fbfd, #d9e8ef);
  transform: rotate(-1.5deg);
}

.about-human-visual::after {
  content: "";
  position: absolute;
  width: 40%;
  aspect-ratio: 1;
  right: 12%;
  bottom: 12%;
  border-radius: 50%;
  background: rgba(11, 45, 66, 0.09);
  box-shadow: -92px -26px 0 rgba(43, 121, 168, 0.11), -48px 66px 0 rgba(86, 167, 209, 0.13);
}

.about-image-copy h2 {
  max-width: 680px;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
}

.about-image-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.7;
}

@media (max-width: 820px) {
  .about-image-band {
    grid-template-columns: 1fr;
  }

  .about-human-visual {
    min-height: 320px;
  }
}

/* Services overview visual system */
.service-map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.service-map-copy h2 {
  max-width: 680px;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
}

.service-map-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.7;
}

.service-map-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(86, 167, 209, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 248, 0.78));
  box-shadow: var(--shadow);
}

.service-map-visual::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 2px;
  background: rgba(43, 121, 168, 0.2);
}

.map-node {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(9, 40, 58, 0.08);
}

.map-node span {
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.map-node strong {
  display: block;
  margin: 20px 0 8px;
  color: var(--pine);
  font-size: 1.45rem;
  line-height: 1.05;
}

.map-node p {
  margin: 0;
  color: var(--muted);
}

/* Contact page visual accent */
.contact-trust-card {
  overflow: hidden;
}

.contact-trust-visual {
  position: relative;
  height: 92px;
  margin-bottom: 20px;
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(43, 121, 168, 0.14) 0 28%, transparent 28% 34%, rgba(86, 167, 209, 0.14) 34% 64%, transparent 64% 70%, rgba(11, 45, 66, 0.1) 70%),
    rgba(255, 255, 255, 0.76);
}

.contact-trust-visual::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 24px;
  height: 9px;
  border-radius: 999px;
  background: rgba(86, 103, 121, 0.18);
  box-shadow: 0 24px 0 rgba(43, 121, 168, 0.16);
}

@media (max-width: 920px) {
  .service-map-section,
  .service-map-visual {
    grid-template-columns: 1fr;
  }

  .service-map-visual::before {
    display: none;
  }

  .map-node {
    min-height: 0;
  }
}

/* Small service card visuals */
.visual-card {
  overflow: hidden;
}

.card-visual {
  position: relative;
  height: 92px;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.card-visual::before,
.card-visual::after {
  content: "";
  position: absolute;
}

.card-visual::before {
  left: 18px;
  right: 18px;
  top: 24px;
  height: 9px;
  border-radius: 999px;
  background: rgba(86, 103, 121, 0.16);
  box-shadow: 0 24px 0 rgba(43, 121, 168, 0.14);
}

.agent-card .card-visual {
  background:
    radial-gradient(circle at 22% 34%, rgba(86, 167, 209, 0.22) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 248, 0.74));
}

.agent-card .card-visual::after {
  right: 18px;
  bottom: 18px;
  width: 86px;
  height: 30px;
  border-radius: 999px 999px 999px 8px;
  background: rgba(11, 45, 66, 0.12);
}

.workflow-card .card-visual {
  background:
    linear-gradient(90deg, rgba(43, 121, 168, 0.16) 0 28%, transparent 28% 34%, rgba(86, 167, 209, 0.14) 34% 64%, transparent 64% 70%, rgba(11, 45, 66, 0.1) 70%),
    rgba(255, 255, 255, 0.74);
}

.workflow-card .card-visual::after {
  left: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--clay));
  box-shadow: 72px 0 0 rgba(11, 45, 66, 0.1), 144px 0 0 rgba(43, 121, 168, 0.12);
}

.app-card .card-visual {
  background:
    repeating-linear-gradient(90deg, rgba(11, 45, 66, 0.07) 0 1px, transparent 1px 42px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 248, 0.78));
}

.app-card .card-visual::after {
  right: 18px;
  top: 18px;
  width: 74px;
  height: 56px;
  border-radius: 18px;
  background: rgba(43, 121, 168, 0.14);
  box-shadow: -94px 16px 0 rgba(86, 167, 209, 0.14);
}

/* Business App Builder sample application showcase */
.app-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-demo-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(9, 40, 58, 0.08);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-demo-card:hover {
  border-color: rgba(43, 121, 168, 0.28);
  box-shadow: 0 22px 54px rgba(9, 40, 58, 0.12);
  transform: translateY(-3px);
}

.app-demo-card h3 {
  margin-top: 10px;
}

.app-demo-card p:not(.eyebrow) {
  color: var(--muted);
}

.app-demo-card strong {
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.app-demo-preview {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 12px;
  height: 164px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 248, 0.82));
  overflow: hidden;
}

.app-demo-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  background: rgba(11, 45, 66, 0.08);
}

.app-demo-preview span {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 14px;
  background: rgba(43, 121, 168, 0.14);
}

.app-demo-preview span:first-child {
  grid-row: span 3;
  background: rgba(11, 45, 66, 0.12);
}

.app-demo-preview span:nth-child(2) {
  margin-top: 38px;
}

.ledger-demo .app-demo-preview span:nth-child(3) {
  background: rgba(43, 121, 168, 0.2);
}

.ops-demo .app-demo-preview {
  grid-template-columns: 1fr;
}

.ops-demo .app-demo-preview span:first-child {
  grid-row: auto;
  margin-top: 34px;
}

.sketch-demo .app-demo-preview {
  background:
    radial-gradient(circle at 28% 32%, rgba(86, 167, 209, 0.2), transparent 7rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 248, 0.82));
}

.sketch-demo .app-demo-preview span {
  border-radius: 999px 999px 999px 16px;
}

.app-demo-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.demo-browser-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  background: var(--pine);
}

.demo-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
}

.demo-app-layout {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 18px;
  min-height: 390px;
  padding: 24px;
}

.demo-sidebar,
.demo-main,
.demo-kpi-row span,
.demo-table span {
  border-radius: 20px;
  background: rgba(43, 121, 168, 0.12);
}

.demo-main {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: rgba(237, 244, 248, 0.8);
}

.demo-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.demo-table {
  display: grid;
  gap: 12px;
}

.demo-table span {
  min-height: 42px;
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 920px) {
  .app-demo-grid,
  .app-demo-hero,
  .demo-app-layout {
    grid-template-columns: 1fr;
  }
}

/* Services hero: separated path cards */
.services-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.78fr);
  gap: clamp(72px, 8vw, 120px);
  align-items: start;
}

.services-title-list {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.services-title-list div {
  padding: 22px 24px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(9, 40, 58, 0.08);
}

.services-title-list strong {
  display: block;
  color: var(--pine);
  font-size: clamp(2.1rem, 3.6vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.services-hero .panel {
  margin-top: clamp(22px, 3vw, 44px);
}

@media (max-width: 1100px) {
  .services-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services-hero .panel {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .services-title-list {
    gap: 12px;
  }

  .services-title-list div {
    padding: 18px 20px;
  }

  .services-title-list strong {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }
}


/* Preview photography pass: externally hosted images for direction only */
.hero-visual-frame {
  background:
    linear-gradient(135deg, rgba(9, 40, 58, 0.18), rgba(255, 255, 255, 0.12)),
    url("https://images.pexels.com/photos/7710147/pexels-photo-7710147.jpeg?auto=compress&cs=tinysrgb&w=1200") center / cover;
}

.hero-visual-frame::before,
.hero-visual-frame::after {
  opacity: 0.42;
}

.hero-home .hero-visual-frame::before {
  display: none;
}

.hero-home .hero-visual-frame::after {
  opacity: 0.16;
  right: 6%;
  bottom: 2%;
}

.about-human-visual {
  background:
    linear-gradient(135deg, rgba(9, 40, 58, 0.14), rgba(255, 255, 255, 0.16)),
    url("https://images.pexels.com/photos/3184292/pexels-photo-3184292.jpeg?auto=compress&cs=tinysrgb&w=1200") center / cover;
}

.about-human-visual::before,
.about-human-visual::after {
  opacity: 0.34;
}

.contact-privacy-note {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.95rem;
}

/* Keep CTA blocks inside the page shell at narrow widths/zoom levels */
.site-shell.cta {
  width: min(1120px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 820px) {
  .cta {
    padding: 32px 24px;
    border-radius: 28px;
  }
}

@media (max-width: 420px) {
  .site-shell,
  .site-shell.cta {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .cta {
    padding: 28px 20px;
  }
}

/* Expanded service image pass */
.service-image-feature,
.services-human-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.service-image-feature h2,
.services-human-band h2 {
  max-width: 680px;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
}

.service-image-feature p:not(.eyebrow),
.services-human-band p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.7;
}

.agent-interface-preview,
.workflow-board-preview,
.services-human-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.agent-chat-preview {
  display: grid;
  gap: 14px;
  min-height: 360px;
  padding: 24px;
  background:
    radial-gradient(circle at 85% 18%, rgba(86, 167, 209, 0.18), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 248, 0.82));
}

.chat-message {
  max-width: 76%;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(9, 40, 58, 0.07);
}

.chat-message.reply {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  color: #fff;
  background: var(--pine);
}

.workflow-board-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 360px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(86, 167, 209, 0.16), transparent 11rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 248, 0.78));
}

.workflow-column {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.workflow-column strong {
  color: var(--pine);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.workflow-column span {
  min-height: 54px;
  border-radius: 16px;
  background: rgba(43, 121, 168, 0.13);
}

.workflow-column:nth-child(2) span {
  background: rgba(86, 167, 209, 0.16);
}

.workflow-column:nth-child(3) span {
  background: rgba(11, 45, 66, 0.1);
}

.services-human-photo {
  position: relative;
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(9, 40, 58, 0.12), rgba(255, 255, 255, 0.18)),
    url("https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1200") center / cover;
}

/* Stronger placeholder app screenshots */
.app-demo-preview,
.app-demo-shell {
  background:
    radial-gradient(circle at 86% 18%, rgba(86, 167, 209, 0.16), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 244, 248, 0.82));
}

.ledger-demo .app-demo-preview::after,
.ops-demo .app-demo-preview::after,
.sketch-demo .app-demo-preview::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 34px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 -48px 0 rgba(255, 255, 255, 0.66), 0 -96px 0 rgba(255, 255, 255, 0.54);
}

.ledger-shell .demo-sidebar {
  background: linear-gradient(180deg, rgba(11,45,66,0.16), rgba(43,121,168,0.1));
}

.ops-shell .demo-main {
  background:
    repeating-linear-gradient(0deg, rgba(11, 45, 66, 0.06) 0 1px, transparent 1px 54px),
    rgba(237, 244, 248, 0.8);
}

.sketch-shell .demo-main {
  background:
    radial-gradient(circle at 24% 26%, rgba(86, 167, 209, 0.18), transparent 5rem),
    radial-gradient(circle at 78% 36%, rgba(43, 121, 168, 0.16), transparent 5rem),
    rgba(237, 244, 248, 0.8);
}

@media (max-width: 920px) {
  .service-image-feature,
  .services-human-band,
  .workflow-board-preview {
    grid-template-columns: 1fr;
  }

  .services-human-photo {
    min-height: 320px;
  }
}

/* Actual preview-image panels for app demos */
.app-demo-image-panel {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(9, 40, 58, 0.16), rgba(255, 255, 255, 0.08));
}

.app-demo-image-panel span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.84);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ledger-image,
.ledger-demo .app-demo-preview {
  background:
    linear-gradient(135deg, rgba(9, 40, 58, 0.2), rgba(255, 255, 255, 0.1)),
    url("https://images.pexels.com/photos/669615/pexels-photo-669615.jpeg?auto=compress&cs=tinysrgb&w=1000") center / cover;
}

.ops-image,
.ops-demo .app-demo-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 40, 58, 0.06)),
    url("/assets/images/81-ops-hero-dashboard.png") center / cover;
}

.sketch-image,
.sketch-demo .app-demo-preview {
  background:
    linear-gradient(135deg, rgba(9, 40, 58, 0.18), rgba(255, 255, 255, 0.1)),
    url("https://images.pexels.com/photos/6476589/pexels-photo-6476589.jpeg?auto=compress&cs=tinysrgb&w=1000") center / cover;
}

.app-demo-card .app-demo-preview span,
.app-demo-card .app-demo-preview::after {
  opacity: 0.24;
}

.app-demo-hero {
  align-items: start;
}

.app-demo-hero .app-demo-image-panel {
  margin-top: 12px;
}

.ops-hero-image {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background-color: rgba(255, 255, 255, 0.9);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
}

.ops-hero-image span {
  display: none;
}

.ops-page .ops-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  padding-top: clamp(54px, 7vw, 96px);
}

.ops-hero-copy .lede {
  max-width: 680px;
}

.ops-preview-stack {
  padding: 20px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(237, 244, 248, 0.64));
  box-shadow: 0 24px 70px rgba(9, 40, 58, 0.1);
}

.ops-preview-stack .ops-hero-image {
  margin-top: 0;
  border-radius: 26px;
}

.ops-preview-actions {
  justify-content: center;
  margin-top: 18px;
}

.ops-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
}

.ops-snapshot-grid .card {
  min-height: 210px;
  background:
    radial-gradient(circle at 90% 12%, rgba(86, 167, 209, 0.1), transparent 7rem),
    rgba(255, 255, 255, 0.84);
}

.ops-workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.ops-workflow-section h2 {
  max-width: 720px;
  font-size: clamp(2.5rem, 4.7vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.ops-workflow-section p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.ops-action-panel {
  padding: clamp(24px, 4vw, 38px);
}

.ops-demo-strip,
.ops-approach-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) auto;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(9, 40, 58, 0.08);
}

.ops-demo-strip h2,
.ops-approach-strip h2 {
  max-width: 780px;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ops-demo-strip p:not(.eyebrow),
.ops-approach-strip p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.ops-approach-strip {
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
}

@media (max-width: 920px) {
  .app-demo-image-panel {
    min-height: 220px;
  }

  .ops-page .ops-hero,
  .ops-snapshot-grid,
  .ops-workflow-section,
  .ops-demo-strip,
  .ops-approach-strip {
    grid-template-columns: 1fr;
  }

  .ops-preview-stack {
    padding: 14px;
    border-radius: 28px;
  }
}

/* Main-site photography sections: supportive, not oversized */
.image-story-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
}

.image-story-section .section-head {
  max-width: 720px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
}

.photo-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.photo-card {
  position: relative;
  min-width: 0;
  min-height: clamp(180px, 18vw, 260px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: clamp(20px, 2.2vw, 30px);
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(9, 40, 58, 0.1);
  isolation: isolate;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 52%, rgba(9, 40, 58, 0.64));
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.01);
  transform: scale(1.01);
}

.photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 40, 58, 0.72);
  backdrop-filter: blur(10px);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-photo-section {
  padding-top: clamp(28px, 4vw, 52px);
}

@media (max-width: 900px) {
  .photo-grid,
  .photo-grid.two-up {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .photo-card {
    min-height: 230px;
  }
}

@media (max-width: 520px) {
  .image-story-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .photo-card {
    min-height: 190px;
    border-radius: 22px;
  }

  .photo-card figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

/* Service-specific image refinements */
.compact-single-photo .section-head {
  margin-bottom: 18px;
}

.workshop-photo-card {
  max-width: 760px;
  min-height: clamp(220px, 24vw, 310px);
}

.agent-shift-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.agent-shift-copy h2 {
  max-width: 620px;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
}

.agent-shift-copy p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.agent-shift-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.agent-state-card {
  min-height: 280px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(9, 40, 58, 0.1);
}

.agent-state-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-state-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.agent-state-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.question-stack,
.mini-agent-screen {
  margin-top: 22px;
}

.question-stack {
  display: grid;
  gap: 10px;
}

.question-stack i {
  display: block;
  height: 38px;
  border-radius: 14px;
  background: rgba(43, 121, 168, 0.12);
}

.question-stack i:nth-child(2) {
  width: 86%;
}

.question-stack i:nth-child(3) {
  width: 68%;
}

.mini-agent-screen {
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(237, 244, 248, 0.92), rgba(255, 255, 255, 0.88));
}

.mini-agent-screen b {
  display: block;
  height: 36px;
  border-radius: 14px;
  background: rgba(11, 45, 66, 0.12);
}

.mini-agent-screen b:nth-child(2) {
  width: 78%;
  margin-left: auto;
  background: rgba(43, 121, 168, 0.18);
}

.mini-agent-screen b:nth-child(3) {
  width: 66%;
}

.focused-state {
  background:
    radial-gradient(circle at 86% 18%, rgba(86, 167, 209, 0.18), transparent 8rem),
    rgba(255, 255, 255, 0.88);
}

.agent-page .panel,
.agent-page .card,
.agent-page .spotlight {
  border-color: rgba(43, 121, 168, 0.18);
  background:
    radial-gradient(circle at 92% 12%, rgba(86, 167, 209, 0.1), transparent 8rem),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(9, 40, 58, 0.09);
}

.agent-page .service-visual {
  background:
    radial-gradient(circle at 88% 14%, rgba(86, 167, 209, 0.14), transparent 9rem),
    rgba(255, 255, 255, 0.86);
}

.agent-page .service-visual::before {
  border-color: rgba(43, 121, 168, 0.16);
  background:
    linear-gradient(135deg, rgba(237, 244, 248, 0.92), rgba(255, 255, 255, 0.86));
}

.agent-page .service-visual::after {
  background: rgba(43, 121, 168, 0.18);
  box-shadow:
    -34px 28px 0 rgba(86, 167, 209, 0.16),
    0 56px 0 rgba(11, 45, 66, 0.1);
}

.agent-page .check-list li {
  border-left-color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(43, 121, 168, 0.12);
}

.agent-page .outcome-card {
  border-left-color: var(--blue);
}

.agent-page .agent-state-card {
  border-color: rgba(43, 121, 168, 0.18);
}

@media (max-width: 920px) {
  .agent-shift-section,
  .agent-shift-visual {
    grid-template-columns: 1fr;
  }

  .agent-state-card {
    min-height: auto;
  }
}

/* Homepage principles replace the photo strip */
.home-principles-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.principle-strip article {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 18%, rgba(86, 167, 209, 0.14), transparent 7rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(9, 40, 58, 0.07);
}

.principle-strip span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.principle-strip h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.principle-strip p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .principle-strip {
    grid-template-columns: 1fr;
  }
}


/* About page selected image */
.about-human-visual {
  background:
    linear-gradient(135deg, rgba(9, 40, 58, 0.16), rgba(255, 255, 255, 0.1)),
    url("/assets/images/about-whiteboard-session.avif") center / cover;
}

/* 81 Sketch real estate preview image */
.sketch-demo .app-demo-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(9, 40, 58, 0.08)),
    url("/assets/images/81-sketch-real-estate.png") center / cover;
}

.sketch-demo .app-demo-preview span,
.sketch-demo .app-demo-preview::before,
.sketch-demo .app-demo-preview::after {
  opacity: 0;
}

/* Services principles replace unnecessary photo strip */
.services-principles-section {
  padding-top: clamp(36px, 5vw, 66px);
  padding-bottom: clamp(34px, 5vw, 60px);
}

.service-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-principle-grid article {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 18%, rgba(86, 167, 209, 0.12), transparent 7rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(9, 40, 58, 0.07);
}

.service-principle-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--clay);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-principle-grid h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.service-principle-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .service-principle-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage hero title: strong, but not oversized */
.hero-home h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.1vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-home .lede {
  max-width: 680px;
}

@media (max-width: 920px) {
  .hero-home h1 {
    max-width: 820px;
    font-size: clamp(3rem, 12vw, 5rem);
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .eyebrow {
    max-width: 34ch;
    line-height: 1.45;
    letter-spacing: 0.12em;
    overflow-wrap: break-word;
  }

  .lede,
  .panel p,
  .panel li,
  .card p,
  .hero-visual-note p,
  .section-head p {
    max-width: 340px;
    overflow-wrap: break-word;
  }

  .hero-home h1 {
    max-width: 350px;
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    letter-spacing: -0.045em;
  }

  .hero-home .lede {
    max-width: 340px;
  }

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

  .hero-visual-note {
    left: 18px;
    right: 18px;
    width: auto;
    max-width: calc(100% - 36px);
    padding: 18px;
  }

  .hero-visual-note strong {
    font-size: 1.08rem;
  }
}

/* Business app demo screenshots */
.ledger-demo .app-demo-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 40, 58, 0.08)),
    url("/assets/images/81-ledger-preview.png") center / cover;
}

.sketch-image,
.sketch-demo .app-demo-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 40, 58, 0.06)),
    url("/assets/images/81-sketch-preview.png") center / cover;
}

.sketch-image {
  aspect-ratio: 2848 / 1540;
  min-height: 0;
  background-color: rgba(255, 255, 255, 0.92);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, contain;
}

.sketch-image span,
.ledger-demo .app-demo-preview span,
.ledger-demo .app-demo-preview::before,
.ledger-demo .app-demo-preview::after,
.sketch-demo .app-demo-preview span,
.sketch-demo .app-demo-preview::before,
.sketch-demo .app-demo-preview::after {
  opacity: 0;
}


/* 81 Ops demo screenshot */
.ops-demo .app-demo-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 40, 58, 0.06)),
    url("/assets/images/81-ops-hero-dashboard.png") center / cover;
}

.ops-demo .app-demo-preview span,
.ops-demo .app-demo-preview::before,
.ops-demo .app-demo-preview::after {
  opacity: 0;
}


/* About belief band redesign */
.about-belief-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  margin-top: -18px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(15, 34, 47, 0.09);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 12%, rgba(86, 167, 209, 0.14), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 249, 251, 0.72));
  box-shadow: 0 18px 52px rgba(9, 40, 58, 0.08);
}

.about-belief-heading h2 {
  max-width: 560px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.about-belief-copy {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.about-belief-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
  line-height: 1.72;
}

@media (max-width: 820px) {
  .about-belief-band {
    grid-template-columns: 1fr;
    margin-top: -10px;
    padding: 28px 22px;
    border-radius: 28px;
  }
}


/* Workflow assessment selected image */
.workshop-photo-card {
  max-width: 680px;
  min-height: clamp(190px, 21vw, 270px);
}


/* Workflow assessment compact strategy section */
.workflow-strategy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
}

.workflow-strategy-copy h2 {
  max-width: 620px;
  font-size: clamp(2.35rem, 4.3vw, 4.4rem);
}

.workflow-strategy-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.workflow-strategy-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.workflow-strategy-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(9, 40, 58, 0.1);
}

.workflow-strategy-card::after {
  display: none;
}

.workflow-strategy-card figcaption {
  margin-top: 18px;
}

.workflow-strategy-card figcaption .button {
  width: 100%;
  justify-content: center;
}

.workflow-strategy-copy .mini-list {
  max-width: 620px;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .workflow-strategy-section {
    grid-template-columns: 1fr;
  }

  .workflow-strategy-card img {
    aspect-ratio: 16 / 9;
  }
}


@media (max-width: 860px) {
  .nav {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0 16px;
  }

  .nav .brand {
    justify-self: start;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.is-menu-open .nav-links {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 8px;
  }

  .nav.is-menu-open .nav-cta {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
  }

  .nav.is-menu-open .nav-pill,
  .nav.is-menu-open .nav-links .nav-item,
  .nav.is-menu-open .nav-links a,
  .nav.is-menu-open .nav-links button {
    width: 100%;
  }

  .nav.is-menu-open .nav-pill {
    min-height: 50px;
    padding: 0 18px;
  }

  .nav.is-menu-open .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    opacity: 0;
    pointer-events: none;
    transform: none;
    box-shadow: 0 14px 36px rgba(9, 40, 58, 0.1);
  }

  .nav.is-menu-open .has-dropdown.is-open .dropdown,
  .nav.is-menu-open .has-dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
  }
}


/* Mobile nav hard override: keep the header compact and prevent desktop dropdown spacing. */
@media (max-width: 920px) {
  .nav {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: min(1120px, calc(100% - 20px));
    margin-top: 10px;
    padding: 10px 12px !important;
    border-radius: 22px;
  }

  .nav .logo-brand {
    justify-self: start;
  }

  .logo-brand img {
    width: 126px;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 40px;
    padding: 0 16px;
  }

  .nav:not(.is-menu-open) .nav-links,
  .nav:not(.is-menu-open) .nav-cta {
    display: none !important;
  }

  .nav.is-menu-open .nav-links {
    grid-column: 1 / -1;
    display: grid !important;
    width: 100%;
    gap: 8px;
    margin-top: 8px;
  }

  .nav.is-menu-open .nav-cta {
    grid-column: 1 / -1;
    display: inline-flex !important;
    width: 100%;
    min-height: 48px;
    margin-top: 0;
  }

  .nav.is-menu-open .nav-pill,
  .nav.is-menu-open .nav-item,
  .nav.is-menu-open .has-dropdown,
  .nav.is-menu-open .nav-links a,
  .nav.is-menu-open .nav-links button {
    width: 100%;
  }

  .nav.is-menu-open .nav-pill {
    min-height: 46px;
    padding: 0 16px;
  }

  .nav.is-menu-open .dropdown {
    position: static !important;
    display: grid;
    min-width: 0 !important;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    border-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: none !important;
    box-shadow: none;
  }

  .nav.is-menu-open .has-dropdown.is-open .dropdown {
    max-height: 260px;
    margin-top: 8px;
    padding: 8px;
    border-width: 1px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav.is-menu-open .dropdown a {
    padding: 10px 12px;
    white-space: normal;
  }
}

/* Business App Builder: remove the abstract app placeholder from the intro card. */
.app-service-visual {
  min-height: 0;
  padding-top: clamp(30px, 4vw, 46px);
}

.app-service-visual::before,
.app-service-visual::after {
  display: none;
}

/* FAQ cleanup: content-first, no stock-photo band. */
.faq-hero .panel h2 {
  margin-top: 4px;
}

.faq-section {
  padding-top: clamp(34px, 5vw, 70px);
}

.faq-section .section-head {
  align-items: end;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  min-height: 100%;
}

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

.privacy-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: center;
}

.privacy-hero h1 {
  max-width: 760px;
  font-size: clamp(3.7rem, 6.8vw, 6.7rem);
  letter-spacing: -0.07em;
}

.privacy-hero .lede {
  max-width: 700px;
}

.privacy-hero .panel {
  align-self: center;
  padding: clamp(28px, 4vw, 44px);
}

.privacy-hero .panel h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  letter-spacing: -0.055em;
}

.privacy-content .panel:first-child {
  background:
    radial-gradient(circle at 90% 12%, rgba(86, 167, 209, 0.12), transparent 7rem),
    rgba(255, 255, 255, 0.84);
}

.privacy-content .panel h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -0.04em;
}

.privacy-content .panel p:last-child,
.privacy-content .check-list {
  margin-bottom: 0;
}

.privacy-content .panel:last-child {
  grid-column: 1 / -1;
}

.privacy-content .panel:last-child p {
  max-width: 820px;
}

@media (max-width: 820px) {
  .faq-section .section-head {
    align-items: flex-start;
  }

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

  .privacy-content {
    grid-template-columns: 1fr;
  }

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

  .privacy-hero h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }
}


.ledger-image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 40, 58, 0.08)),
    url("/assets/images/81-ledger-preview.png") center / cover;
}

.ledger-hero-image span {
  color: #ffffff;
  background: rgba(9, 40, 58, 0.82);
}

.ledger-hero-image {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background-image: url("/assets/images/81-ledger-preview.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.ledger-preview-stack {
  display: grid;
  gap: 18px;
  align-self: start;
}

.app-demo-visual-stack {
  display: grid;
  gap: 18px;
  align-self: start;
  min-width: 0;
}

.app-demo-visual-stack .app-demo-image-panel {
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
}

@media (max-width: 820px) {
  .app-demo-hero {
    gap: 32px;
  }

  .app-demo-hero > div,
  .app-demo-visual-stack {
    min-width: 0;
    max-width: 100%;
  }

  .app-demo-hero .lede {
    max-width: 100%;
  }

  .ops-hero-image {
    background-size: contain, cover;
  }
}

@media (max-width: 640px) {
  .app-demo-hero > div,
  .app-demo-visual-stack {
    width: min(calc(100vw - 24px), 340px);
    justify-self: start;
  }
}

.sketch-page .sketch-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  padding-top: clamp(54px, 7vw, 96px);
}

.sketch-hero-copy .lede {
  max-width: 700px;
}

.sketch-preview-stack {
  padding: 20px;
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(237, 244, 248, 0.64));
  box-shadow: 0 24px 70px rgba(9, 40, 58, 0.1);
}

.sketch-preview-stack .sketch-image {
  margin-top: 0;
  border-radius: 26px;
}

.sketch-preview-actions {
  justify-content: center;
  margin-top: 18px;
}

.sketch-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
}

.sketch-snapshot-grid .card {
  min-height: 210px;
  background:
    radial-gradient(circle at 90% 12%, rgba(86, 167, 209, 0.1), transparent 7rem),
    rgba(255, 255, 255, 0.84);
}

.sketch-approach-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(9, 40, 58, 0.08);
}

.sketch-approach-strip h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.sketch-approach-strip p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.demo-launch-button {
  width: min(100%, 360px);
  justify-self: center;
}

.demo-host-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 54px 0 30px;
}

.demo-host-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.demo-frame-shell {
  width: min(1680px, calc(100% - 32px));
  padding: 20px 0 64px;
}

.demo-context-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 28px;
}

.demo-context-band article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 14px 38px rgba(18, 61, 53, 0.08);
}

.demo-context-band h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  letter-spacing: -0.04em;
}

.demo-context-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.demo-app-frame {
  display: block;
  width: 100%;
  height: 1180px;
  border: 1px solid rgba(15, 34, 47, 0.14);
  border-radius: 28px;
  background: #070b16;
  box-shadow: var(--shadow);
}

@media (min-width: 1500px) {
  .demo-frame-shell {
    width: min(1840px, calc(100% - 48px));
  }
}

@media (max-width: 920px) {
  .sketch-page .sketch-hero,
  .sketch-snapshot-grid,
  .sketch-approach-strip {
    grid-template-columns: 1fr;
  }

  .sketch-preview-stack {
    padding: 14px;
    border-radius: 28px;
  }

  .demo-host-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .demo-host-hero .hero-actions {
    width: 100%;
  }

  .demo-context-band {
    grid-template-columns: 1fr;
  }

  .demo-app-frame {
    height: 1320px;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .demo-frame-shell {
    width: min(100% - 20px, 1680px);
    padding-top: 12px;
  }

  .demo-app-frame {
    height: 1580px;
    border-radius: 18px;
  }
}

/* 81 Ledger page design pass */
.ledger-page .ledger-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  padding-top: clamp(54px, 7vw, 96px);
}

.ledger-hero-copy .lede {
  max-width: 620px;
}

.ledger-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.ledger-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(43, 121, 168, 0.24);
  border-radius: 999px;
  color: var(--clay);
  background: rgba(255, 255, 255, 0.72);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ledger-page .ledger-preview-stack {
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(237, 244, 248, 0.62));
  box-shadow: 0 24px 70px rgba(9, 40, 58, 0.12);
}

.ledger-preview-actions {
  justify-content: center;
  margin-top: 18px;
}

.ledger-page .ledger-hero-image {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background-size: cover;
  background-position: center top;
}

.ledger-page .ledger-hero-image span {
  left: 16px;
  bottom: 16px;
  font-size: 0.72rem;
}

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

.ledger-snapshot-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

.ledger-snapshot-card::after {
  content: "";
  position: absolute;
  right: -62px;
  top: -66px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(86, 167, 209, 0.12);
}

.ledger-snapshot-card h3,
.ledger-snapshot-card p {
  position: relative;
  z-index: 1;
}

.ledger-workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.ledger-workflow-section h2 {
  max-width: 680px;
  font-size: clamp(2.5rem, 4.7vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.ledger-workflow-section p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.ledger-action-panel {
  padding: clamp(24px, 4vw, 38px);
}

.ledger-proof-section .section-head {
  align-items: end;
}

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

.ledger-proof-grid .panel {
  min-height: 100%;
}

.ledger-proof-grid h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.ledger-approach-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(15, 34, 47, 0.1);
  border-radius: 34px;
  background: rgba(255, 250, 240, 0.66);
  box-shadow: 0 18px 44px rgba(9, 40, 58, 0.08);
}

.ledger-approach-strip h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ledger-approach-strip p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.ledger-cta {
  margin-top: 24px;
}

@media (max-width: 920px) {
  .ledger-page .ledger-hero,
  .ledger-workflow-section,
  .ledger-proof-grid,
  .ledger-snapshot-grid,
  .ledger-approach-strip {
    grid-template-columns: 1fr;
  }

  .ledger-page .ledger-preview-stack {
    padding: 14px;
    border-radius: 28px;
  }

  .ledger-proof-section .section-head {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .ledger-hero-points {
    gap: 8px;
  }

  .ledger-hero-points span {
    width: 100%;
    justify-content: center;
  }

  .ledger-page .ledger-hero-image span {
    display: none;
  }
}
