:root {
  --blue: #1e3c72;
  --turquoise: #40e0d0;
  --white: #ffffff;
  --warm: #f8f9fb;
  --slate: #2b333f;
  --muted: #667085;
  --line: #d9dde3;
  --shadow: 0 20px 60px rgba(30, 60, 114, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--slate);
  background: var(--warm);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--blue);
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); max-width: 860px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 860px; }
h3 { font-size: 1.18rem; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 249, 251, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 221, 227, .75);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--blue);
}
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: .95rem;
}
.site-nav a {
  text-decoration: none;
  color: #344054;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--turquoise);
}
.nav-cta {
  color: var(--blue) !important;
  padding: 8px 12px;
  border: 1px solid rgba(30, 60, 114, .18);
  border-radius: 999px;
  background: rgba(64, 224, 208, .12);
}
.nav-cta:hover {
  border-color: rgba(64, 224, 208, .85);
  background: rgba(64, 224, 208, .2);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 9px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.section, .section-band {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}
.section { background: var(--white); }
.section-tint { background: var(--warm); }
.section-intro {
  max-width: 900px;
  margin-bottom: 42px;
}
.section-intro p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 18px;
}
.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .88rem;
  margin-bottom: 14px;
}
.lead {
  color: #425466;
  max-width: 710px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(30, 60, 114, .22);
}
.button.secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
}
.button.large {
  min-height: 58px;
  padding: 17px 24px;
  font-size: 1.05rem;
}
.market-overview-button {
  font-size: .82rem;
  margin-top: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  min-height: auto;
  padding-block: clamp(60px, 7vw, 96px);
  background:
    linear-gradient(110deg, rgba(255,255,255,.96), rgba(248,249,251,.84)),
    radial-gradient(circle at 85% 25%, rgba(64, 224, 208, .16), transparent 30%);
}
.hero-copy { display: grid; gap: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: end;
}
.portrait {
  width: min(100%, 496px);
  height: clamp(460px, 58vh, 620px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  justify-self: end;
}
.geist-mark {
  position: absolute;
  width: min(42%, 220px);
  left: 18px;
  bottom: 18px;
  border-radius: var(--radius);
  opacity: .18;
  filter: saturate(.9);
}

.challenge-grid, .usecase-grid, .offer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.challenge-grid article, .usecase, .offer, .story-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 220px;
}
.challenge-grid article span {
  display: block;
  color: var(--turquoise);
  font-weight: 900;
  margin-bottom: 22px;
}
.challenge-grid p, .usecase p, .offer p, .story-list p {
  color: var(--muted);
  margin-top: 12px;
}
.usecase {
  text-decoration: none;
  border-color: rgba(30, 60, 114, .18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.usecase:hover {
  transform: translateY(-4px);
  border-color: rgba(64, 224, 208, .8);
  box-shadow: var(--shadow);
}
.usecase span {
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
}
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer { min-height: 360px; }
.offer.featured {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.offer.featured h3, .offer.featured p, .offer.featured li { color: var(--white); }
.offer-kicker {
  color: var(--turquoise) !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .78rem;
}
.medal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.medal::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 2px 6px rgba(255,255,255,.45), 0 8px 18px rgba(30,60,114,.15);
}
.medal.bronze::before { background: linear-gradient(145deg, #b87333, #e0a96d); }
.medal.silver::before { background: linear-gradient(145deg, #aeb6bf, #f2f4f7); }
.medal.gold::before { background: linear-gradient(145deg, #d4a017, #ffd76a); }
.featured .medal::before { box-shadow: inset 0 2px 6px rgba(255,255,255,.5), 0 10px 22px rgba(0,0,0,.18); }
.section-action {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}
.section-action.compact { margin-top: 22px; }
.offer ul {
  padding-left: 20px;
  margin: 22px 0 0;
  color: #475467;
}
.offer li + li { margin-top: 8px; }

.story {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}
.story > div:first-child p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}
.story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--blue);
  color: var(--white);
  padding-block: 0;
}
.trust-item {
  padding: 42px 28px;
  background: rgba(255, 255, 255, .04);
}
.trust-item strong { display: block; font-size: 1.2rem; }
.trust-item span { display: block; color: rgba(255,255,255,.78); margin-top: 8px; }

.contact {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(32px, 6vw, 82px);
}
.contact p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin-top: 18px;
}
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--blue);
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--slate);
  background: var(--white);
}
input:focus, textarea:focus {
  outline: 3px solid rgba(64, 224, 208, .35);
  border-color: var(--turquoise);
}
.form-note { color: var(--muted); font-size: .94rem; }
.linkedin {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 28px;
  background: var(--warm);
}
.linkedin p:not(.eyebrow) { max-width: 720px; color: var(--muted); margin-top: 16px; }
.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #5b6676;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--blue); font-weight: 800; text-decoration: none; }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-note {
  max-width: 880px;
  color: var(--muted);
  font-size: .9rem;
}
.legal-page {
  max-width: 980px;
  min-height: calc(100vh - 150px);
}
.legal-page h1 {
  margin-bottom: 42px;
}
.legal-page h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 34px 0 12px;
}
.legal-page p,
.legal-page address {
  max-width: 620px;
  color: var(--muted);
  font-style: normal;
}
.legal-page a {
  color: var(--blue);
  font-weight: 800;
}

.subpage-hero {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.subpage-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.subpage-hero .lead { margin-top: 22px; }
.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.detail-panel {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
}
.detail-panel h2, .detail-panel h3 { color: var(--white); }
.detail-panel p { color: rgba(255,255,255,.82); margin-top: 14px; }
.example-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.example-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.example-list article {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.example-list p { color: var(--muted); margin-top: 12px; }
.gain {
  display: block;
  margin-top: auto;
  padding: 12px 14px;
  border-left: 4px solid var(--turquoise);
  border-radius: var(--radius);
  background: rgba(64, 224, 208, .12);
  color: var(--blue);
  font-weight: 800;
}
.example-list article p + .gain {
  margin-top: auto;
}
.example-list article p {
  padding-bottom: 22px;
}
.examples-heading {
  margin-bottom: 24px;
}
.examples-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.note {
  border-left: 4px solid var(--turquoise);
  padding: 20px 24px;
  background: var(--white);
  color: var(--muted);
  max-width: 900px;
}

.guide-page .section,
.guide-page .section-band {
  padding-block: clamp(54px, 7vw, 88px);
}

.guide-page .guide-hero {
  padding-block: clamp(42px, 5vw, 72px) clamp(32px, 4vw, 52px);
  background:
    linear-gradient(110deg, rgba(255,255,255,.97), rgba(248,249,251,.9)),
    radial-gradient(circle at 88% 20%, rgba(64, 224, 208, .18), transparent 32%);
}

.guide-page .guide-intro {
  padding-top: clamp(30px, 3.5vw, 48px);
}

.guide-summary {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.guide-content {
  width: min(100%, 920px);
}

.guide-content > * + * {
  margin-top: 18px;
}

.guide-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.guide-content h2 + p,
.guide-content h2 + ul {
  margin-top: 24px;
}

.guide-content p {
  color: var(--muted);
  font-size: 1.07rem;
}

.guide-intro .guide-content p:first-child {
  color: #425466;
  font-size: 1.16rem;
}

.attention-box {
  max-width: 780px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(30, 60, 114, .14);
  border-left: 6px solid var(--turquoise);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(64, 224, 208, .12), rgba(255, 255, 255, .96));
  box-shadow: 0 14px 36px rgba(30, 60, 114, .08);
}

.attention-box h3 {
  color: var(--blue);
  font-size: 1.12rem;
}

.attention-box ul,
.guide-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.attention-box li,
.guide-checklist li {
  position: relative;
  color: #425466;
}

.attention-box li {
  padding-left: 26px;
}

.attention-box li::before,
.guide-checklist li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(64, 224, 208, .18);
}

.attention-box li::before {
  left: 0;
  top: .62em;
}

.guide-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-checklist li {
  min-height: 92px;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
}

.guide-checklist li::before {
  left: 18px;
  top: 24px;
}

.guide-final-cta {
  background: var(--blue);
  color: var(--white);
}

.guide-final-cta .eyebrow {
  color: var(--turquoise);
}

.guide-final-cta h2,
.guide-final-cta p {
  color: var(--white);
}

.guide-final-cta p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.12rem;
}

.guide-final-cta .hero-actions {
  margin-top: 28px;
}

.guide-final-cta .button.primary {
  background: var(--turquoise);
  color: var(--blue);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.guide-final-cta .button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}

@media (max-width: 1120px) {
  .challenge-grid, .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-list, .example-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 71px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; }
  .nav-toggle { display: block; }
}
@media (max-width: 820px) {
  .hero, .story, .contact, .subpage-hero {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-media { min-height: 420px; }
  .portrait { justify-self: start; width: min(100%, 420px); height: auto; }
  .geist-mark { display: none; }
  .offer-grid, .story-list, .example-list, .guide-checklist { grid-template-columns: 1fr; }
  .linkedin { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 580px) {
  .brand span { display: none; }
  .section, .section-band { padding-inline: 18px; }
  .challenge-grid, .usecase-grid, .trust { grid-template-columns: 1fr; }
  .hero-actions, .button, .section-action { width: 100%; }
  .hero-media { min-height: 360px; }
  .site-footer, .footer-main, .footer-links { align-items: flex-start; flex-direction: column; }
  .example-list.two-col { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

button:focus-visible,
textarea:focus-visible,
.chatbot-panel a:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

.chatbot-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 42px rgba(30, 60, 114, .22);
  cursor: pointer;
  font-weight: 800;
}

.chatbot-launcher:hover {
  background: #172f59;
}

.chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(560px, calc(100vw - 32px));
  max-height: min(780px, calc(100vh - 112px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(30, 60, 114, .2);
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: var(--blue);
}

.chatbot-header h2 {
  color: var(--white);
  font-size: 1.35rem;
}

.chatbot-header p {
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}

.icon-button {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  scroll-behavior: smooth;
}

.chatbot-notice,
.input-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .92rem;
}

.start-questions {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.start-question {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--slate);
  background: rgba(64, 224, 208, .12);
  text-align: left;
  cursor: pointer;
}

.start-question:hover {
  border-color: rgba(30, 60, 114, .35);
  background: rgba(64, 224, 208, .18);
}

.message-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.message {
  max-width: 88%;
  border-radius: var(--radius);
  padding: 12px 14px;
}

.message p {
  margin: 4px 0 0;
  white-space: pre-wrap;
}

.message-user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.message-assistant {
  justify-self: start;
  border: 1px solid var(--line);
  background: var(--white);
}

.message-label {
  display: block;
  font-size: .76rem;
  font-weight: 800;
}

.loading {
  color: var(--muted);
}

.chatbot-form {
  display: grid;
  gap: 10px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
}

.chatbot-form textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--slate);
  background: var(--white);
}

.primary-button,
.secondary-button,
.calendly-link {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.primary-button,
.calendly-link {
  color: var(--white);
  background: var(--blue);
}

.primary-button:hover,
.calendly-link:hover {
  background: #172f59;
}

.secondary-button {
  margin: 0 20px 18px;
  color: var(--blue);
  background: rgba(30, 60, 114, .08);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .65;
}

.calendly-link {
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 560px) {
  .chatbot-launcher {
    right: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
  }

  .chatbot-panel {
    inset: auto 12px 76px 12px;
    width: auto;
    max-height: calc(100vh - 92px);
  }
}
