:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #eef5f3;
  --ink: #14212b;
  --muted: #5b6770;
  --line: #dfe5e2;
  --navy: #162f45;
  --teal: #207c78;
  --teal-dark: #155d5a;
  --gold: #c6923b;
  --shadow: 0 18px 40px rgba(20, 33, 43, 0.09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 239, 0.94);
  border-bottom: 1px solid rgba(223, 229, 226, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: #30404b;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: var(--teal-dark);
}

.btn.secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--line);
}

.btn.secondary:hover,
.btn.secondary:focus {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn.gold {
  background: var(--gold);
  color: #1e1a13;
}

.hero {
  padding: 72px 0 44px;
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.94) 38%, rgba(247, 244, 239, 0.2) 72%),
    url("../images/bit-hero-business-workflows.png") center right / cover no-repeat;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.68fr);
  gap: 2rem;
  align-items: end;
}

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

.eyebrow {
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  max-width: 860px;
}

.subhead {
  max-width: 680px;
  color: #39464f;
  font-size: 1.16rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(223, 229, 226, 0.92);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.mini-dashboard {
  display: grid;
  gap: 0.75rem;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.metric-row strong {
  color: var(--navy);
}

.metric-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--teal);
}

section {
  padding: 72px 0;
}

.section-muted {
  background: #fff;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 730px;
}

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

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card,
.step,
.article-card,
.service-card,
.example-card,
.problem-card,
.case-card,
.demo-card,
.fit-card,
.offer-card,
.before-after {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 24px rgba(20, 33, 43, 0.04);
}

.card h3,
.step h3,
.article-card h3,
.service-card h3,
.example-card h3,
.problem-card h3,
.case-card h3,
.demo-card h3,
.fit-card h3,
.offer-card h3,
.before-after h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.card p,
.step p,
.article-card p,
.service-card p,
.example-card p,
.problem-card p,
.case-card p,
.demo-card p,
.fit-card p,
.offer-card p,
.before-after p {
  color: var(--muted);
  margin: 0;
}

.example-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.problem-card,
.demo-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.problem-card .btn,
.demo-card .btn,
.service-card .btn {
  width: fit-content;
  margin-top: 0.25rem;
}

.case-card {
  display: grid;
  gap: 0.95rem;
}

.case-point strong,
.demo-detail strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.case-point p,
.demo-detail p {
  margin: 0;
  color: var(--muted);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.before-after > div {
  border-left: 3px solid var(--line);
  padding-left: 1rem;
}

.before-after > div:last-child {
  border-color: var(--teal);
}

.offer-card {
  background: #fffaf0;
  border-color: rgba(198, 146, 59, 0.35);
}

.trust-line {
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 800;
}

.checkbox-group {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1px solid #cfd8d4;
  border-radius: var(--radius);
  background: #fff;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  color: #33424c;
}

.checkbox-group input {
  width: auto;
  min-height: auto;
  margin-top: 0.25rem;
}

.form-section-title {
  margin: 0.5rem 0 0;
  color: var(--navy);
  font-size: 0.95rem;
}

[data-form-status]:not(:empty) {
  padding: 0.85rem;
  border-radius: var(--radius);
  background: #e5f3f1;
  color: var(--teal-dark);
  font-weight: 800;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: #e5f3f1;
  color: var(--teal-dark);
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: #33424c;
  font-weight: 700;
  font-size: 0.93rem;
}

.steps {
  counter-reset: step;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
}

.visual-board {
  min-height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(32, 124, 120, 0.12), rgba(198, 146, 59, 0.12)),
    #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.workflow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.workflow-card strong {
  display: block;
  color: var(--navy);
}

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

.connector {
  width: 3px;
  height: 34px;
  margin: -0.3rem 0 0.55rem 1.4rem;
  background: var(--teal);
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, #fff 0%, #eef5f3 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 760px;
  color: #39464f;
  font-size: 1.12rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #33424c;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 700px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd8d4;
  border-radius: var(--radius);
  padding: 0.78rem 0.85rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(32, 124, 120, 0.28);
  outline-offset: 2px;
}

.site-footer {
  background: #101b24;
  color: #fff;
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 0.6fr));
  gap: 2rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-note,
.copyright {
  color: rgba(255, 255, 255, 0.66);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 76px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: auto;
    padding-top: 56px;
    background:
      linear-gradient(180deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.86) 50%, rgba(247, 244, 239, 0.4) 100%),
      url("../images/bit-hero-business-workflows.png") center / cover no-repeat;
  }

  .hero-inner,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.two,
  .grid.four,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand-text small {
    display: none;
  }

  section {
    padding: 52px 0;
  }

  .section-heading {
    display: block;
  }

  .grid.three,
  .grid.two,
  .grid.four,
  .steps {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }
}
