:root {
  --ink: #07111f;
  --muted: #526071;
  --soft: #eef3f8;
  --line: #d8e0ea;
  --blue: #095dcc;
  --blue-deep: #064aa5;
  --green: #178b3f;
  --green-soft: #e7f6eb;
  --panel: #ffffff;
  --shadow: 0 20px 50px rgba(7, 17, 31, 0.12);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 22px clamp(20px, 3.3vw, 48px);
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(216, 224, 234, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0;
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 20% 50%);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 19px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.48em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: #142034;
  font-size: 15px;
  font-weight: 650;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 12px 24px rgba(9, 93, 204, 0.18);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--blue-deep);
}

.button.secondary:hover {
  background: #f5f9ff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(620px, 1.24fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 94px);
  padding: clamp(46px, 5.8vw, 78px) clamp(20px, 3.3vw, 48px) 34px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, #f8fbfe 100%),
    radial-gradient(circle at 18% 24%, rgba(9, 93, 204, 0.06), transparent 28%),
    #fff;
}

.hero h1,
.section-copy h2,
.split-section h2,
.fit-section h2,
.faq-section h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(52px, 5.5vw, 86px);
}

.hero-copy > p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #263348;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.58;
}

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

.proof-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  color: #1f2b3d;
  list-style: none;
  font-weight: 600;
}

.proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.proof-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.local-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.local-note span {
  color: var(--blue);
}

.workflow {
  min-width: 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.workflow-steps article {
  position: relative;
  text-align: center;
}

.workflow-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(50% + 38px);
  width: calc(100% - 54px);
  border-top: 2px dotted #1d2a3c;
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
}

.step-icon::before {
  font-weight: 900;
  font-size: 21px;
}

.people::before {
  content: "●●";
  letter-spacing: -4px;
}

.message::before {
  content: "▰";
}

.check {
  border-color: var(--green);
  color: var(--green);
}

.check::before {
  content: "✓";
}

.chart::before {
  content: "▥";
}

.workflow-steps strong {
  display: block;
  font-size: 13px;
}

.workflow-steps p {
  margin: 5px auto 0;
  max-width: 170px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.panel {
  position: relative;
  min-height: 330px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 42%;
  right: -20px;
  z-index: 2;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}

.message-panel::after {
  color: var(--green);
}

.panel-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--soft);
}

.panel h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.2;
}

.panel-head span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.panel-head .success {
  color: var(--green);
}

.candidate,
.reply {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 13px;
}

.candidate > span,
.reply > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #edf1f6;
  color: #1f2b3d;
  font-size: 11px;
  font-weight: 800;
}

.reply {
  grid-template-columns: 34px 1fr auto;
}

.reply > span {
  background: var(--green-soft);
  color: var(--green);
}

.candidate p,
.reply p {
  margin: 0;
  min-width: 0;
}

.candidate strong,
.reply strong {
  display: block;
  font-size: 12px;
}

.candidate small,
.reply small,
.reply time {
  color: var(--muted);
  font-size: 10px;
}

.message-card {
  padding: 14px;
  margin-bottom: 14px;
  background: #f6f8fb;
  border: 1px solid #e7edf5;
  border-radius: 8px;
}

.message-card p {
  margin: 0;
  color: #172237;
  font-size: 11px;
  line-height: 1.55;
}

.message-card span {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.metric {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 5px 12px;
  align-items: end;
  padding: 8px 0;
  border-bottom: 1px solid var(--soft);
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.metric strong {
  font-size: 18px;
}

.spark {
  display: block;
  grid-column: 2;
  width: 70px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.spark.blue {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 22 L14 21 L25 17 L36 19 L47 12 L58 14 L70 7 L78 6' fill='none' stroke='%23095dcc' stroke-width='2.5'/%3E%3C/svg%3E");
}

.spark.green {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 23 L13 22 L24 18 L35 19 L46 15 L56 8 L67 15 L78 10' fill='none' stroke='%23178b3f' stroke-width='2.5'/%3E%3C/svg%3E");
}

.dashboard-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #142034;
  font-size: 12px;
  font-weight: 800;
}

.pilot-section,
.split-section,
.fit-section,
.faq-section,
.contact-section {
  padding: clamp(54px, 6vw, 86px) clamp(20px, 3.3vw, 48px);
  border-bottom: 1px solid var(--line);
}

.section-copy h2,
.split-section h2,
.fit-section h2,
.faq-section h2,
.contact-section h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.section-copy p,
.fit-section p,
.contact-copy p {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.pilot-grid article {
  min-height: 180px;
  padding: 24px;
  border-left: 2px solid var(--blue);
  background: linear-gradient(180deg, #fff, #f8fbfe);
}

.pilot-grid span {
  color: var(--blue);
  font-weight: 900;
}

.pilot-grid h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.pilot-grid p,
.split-section p,
.faq-list p,
.footer p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.split-section article {
  padding: clamp(54px, 6vw, 86px) clamp(20px, 5vw, 72px);
}

.split-section article + article {
  border-left: 1px solid var(--line);
}

.shield,
.tag {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  background-repeat: no-repeat;
  background-size: contain;
}

.shield {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 4l15 6v12c0 10-6.5 17-15 22C15.5 39 9 32 9 22V10l15-6z' fill='none' stroke='%23178b3f' stroke-width='2.5'/%3E%3Cpath d='M16 24l5 5 11-13' fill='none' stroke='%23178b3f' stroke-width='2.5'/%3E%3C/svg%3E");
}

.tag {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 23L23 6h16v16L22 39 6 23z' fill='none' stroke='%23095dcc' stroke-width='2.5'/%3E%3Ccircle cx='33' cy='14' r='2.5' fill='%23095dcc'/%3E%3C/svg%3E");
}

.pricing strong {
  color: var(--ink);
  font-size: 21px;
}

.fit-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  background: #f8fbfe;
}

.fit-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fit-section li {
  padding: 18px 18px 18px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.fit-section li::before {
  content: "✓";
  position: absolute;
  margin-left: -24px;
  color: var(--green);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(30px, 8vw, 110px);
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--blue);
}

details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 820px;
  margin: -8px 0 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 8vw, 110px);
  background: #fff;
}

.contact-copy a {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #1f2b3d;
  font-size: 13px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd6e3;
  border-radius: 6px;
  padding: 14px;
  color: var(--ink);
  font: 500 16px var(--sans);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(9, 93, 204, 0.11);
}

textarea {
  resize: vertical;
}

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

.contact-form button {
  justify-self: start;
  margin-top: 8px;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 3.3vw, 48px);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 25% 15%, rgba(9, 93, 204, 0.08), transparent 28%),
    #f8fbfe;
}

.thanks-wrap {
  width: min(760px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.thanks-card {
  margin-top: clamp(72px, 15vh, 150px);
  padding: clamp(34px, 7vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 9vw, 82px);
  line-height: 0.96;
}

.thanks-card p {
  max-width: 560px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: fixed;
    top: 83px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .menu-toggle {
    display: block;
  }

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

  .workflow-board {
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .panel {
    min-width: 220px;
  }
}

@media (max-width: 820px) {
  .site-header {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .workflow-steps article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0 14px;
    text-align: left;
  }

  .workflow-steps article:not(:last-child)::after {
    display: none;
  }

  .step-icon {
    grid-row: span 2;
    margin: 0;
  }

  .workflow-steps p {
    max-width: none;
    margin-left: 0;
  }

  .workflow-board {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .panel {
    min-width: 0;
  }

  .panel:not(:last-child)::after {
    display: none;
  }

  .pilot-grid,
  .fit-section ul {
    grid-template-columns: 1fr;
  }

  .split-section,
  .fit-section,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-section article {
    padding-right: 20px;
    padding-left: 20px;
  }

  .split-section article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer {
    flex-direction: column;
  }
}

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

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