:root {
  --ink: #071626;
  --ink-soft: #173252;
  --paper: #f5f9fc;
  --white: #ffffff;
  --line: #d6e3ee;
  --blue: #1f6feb;
  --blue-deep: #123a65;
  --blue-soft: #e6f1ff;
  --cyan: #2bbfd3;
  --green: #69b86e;
  --gold: #f3b84a;
  --orange: #e85e3f;
  --muted: #607080;
  --shadow: 0 18px 45px rgba(7, 22, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 40px;
  color: var(--paper);
  background: rgba(7, 22, 38, 0.94);
  border-bottom: 1px solid rgba(245, 249, 252, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(245, 249, 252, 0.84);
}

.nav-links a {
  padding: 8px 0;
}

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

.nav-pill {
  min-height: 38px;
  padding: 9px 13px !important;
  color: var(--ink) !important;
  background: var(--cyan);
  border-radius: 8px;
}

.nav-pill:hover {
  background: #65d7e5;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 122px);
  padding: 72px 40px 62px;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.9) 43%, rgba(7, 22, 38, 0.34) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-content,
.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-content {
  max-width: 760px;
  margin-left: max(0px, calc((100vw - 1160px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--blue);
}

.section-kicker.light {
  color: var(--cyan);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: 62px;
  line-height: 0.98;
  font-weight: 950;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

p {
  font-size: 17px;
  line-height: 1.58;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(245, 249, 252, 0.86);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.button-primary {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.button-primary:hover {
  background: #65d7e5;
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-secondary {
  color: var(--paper);
  background: transparent;
  border-color: rgba(245, 249, 252, 0.46);
}

.button-secondary:hover {
  border-color: var(--cyan);
}

.summary-band {
  padding: 24px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-strip div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 0;
}

.metric-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.metric-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
}

.section {
  padding: 86px 40px;
}

.band-white {
  background: var(--white);
}

.band-sky {
  background: #eef7fb;
}

.band-dark,
.contact-section {
  color: var(--paper);
  background: var(--ink);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.compact-heading {
  margin-bottom: 0;
}

.section-heading p,
.centers-layout p,
.role-content p,
.compliance-box p {
  color: var(--muted);
}

.band-dark .section-heading p,
.contact-section p {
  color: rgba(245, 249, 252, 0.78);
}

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

.feature-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.accent-gold {
  border-top-color: var(--gold);
}

.accent-cyan {
  border-top-color: var(--cyan);
}

.accent-orange {
  border-top-color: var(--orange);
}

.accent-navy {
  border-top-color: var(--blue-deep);
}

.feature-code {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.teams-layout,
.workflow-layout,
.centers-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: start;
}

.role-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.role-tab {
  min-height: 50px;
  padding: 12px 10px;
  color: var(--ink-soft);
  background: #f7fbff;
  border: 0;
  border-right: 1px solid var(--line);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.role-tab:last-child {
  border-right: 0;
}

.role-tab.is-active {
  color: var(--ink);
  background: var(--cyan);
}

.role-content {
  padding: 28px;
}

.role-content p {
  margin: 14px 0 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "";
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
}

.workflow-list,
.center-list {
  display: grid;
  gap: 12px;
}

.workflow-row,
.center-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 249, 252, 0.16);
}

.center-row {
  border-bottom-color: var(--line);
}

.workflow-row span,
.center-row span {
  font-size: 15px;
  font-weight: 900;
}

.workflow-row span {
  color: var(--cyan);
}

.center-row span {
  color: var(--ink);
}

.workflow-row p,
.center-row p {
  margin: 0;
}

.workflow-row p {
  color: rgba(245, 249, 252, 0.78);
}

.compliance {
  padding-top: 62px;
  padding-bottom: 62px;
}

.compliance-box {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  padding: 28px;
  background: #f8fbf5;
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
}

.compliance-box p {
  margin: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  background: rgba(245, 249, 252, 0.07);
  border: 1px solid rgba(245, 249, 252, 0.14);
  border-radius: 8px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(245, 249, 252, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(9, 18, 30, 0.86);
  border: 1px solid rgba(245, 249, 252, 0.28);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(43, 191, 211, 0.32);
  border-color: var(--cyan);
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.consent span {
  color: rgba(245, 249, 252, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.contact-note,
.form-status {
  font-size: 14px;
}

.form-status[data-state="success"] {
  color: #a8f0c6;
}

.form-status[data-state="error"] {
  color: #ffd1d1;
}

.form-status[data-state="pending"] {
  color: #d9f6fb;
}

.site-footer {
  padding: 26px 40px;
  color: rgba(245, 249, 252, 0.72);
  background: #030a12;
  border-top: 1px solid rgba(245, 249, 252, 0.12);
}

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

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

.footer-links a,
.footer-button {
  color: rgba(245, 249, 252, 0.76);
}

.footer-links a:hover,
.footer-button:hover {
  color: var(--cyan);
}

.footer-button {
  padding: 0;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.legal-page h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 48px;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

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

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 44px));
  padding: 18px;
  color: var(--paper);
  background: rgba(7, 22, 38, 0.96);
  border: 1px solid rgba(245, 249, 252, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-title {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-banner p {
  margin: 0;
  color: rgba(245, 249, 252, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--cyan);
  font-weight: 900;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 22px;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .hero,
  .section,
  .summary-band,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 52px;
    background-image:
      linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.94) 60%, rgba(7, 22, 38, 0.78) 100%),
      url("assets/bugbyte-hero.png");
    background-position: 72% center;
  }

  h1 {
    max-width: 18ch;
    font-size: 44px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: 42ch;
    font-size: 18px;
  }

  .feature-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .teams-layout,
  .workflow-layout,
  .centers-layout,
  .contact-grid,
  .compliance-box {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    font-size: 13px;
  }

  h1 {
    max-width: 18ch;
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
    overflow-wrap: break-word;
  }

  p,
  .hero-copy {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .metric-strip div,
  .workflow-row,
  .center-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .role-tabs {
    grid-template-columns: 1fr;
  }

  .role-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-tab:last-child {
    border-bottom: 0;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .cookie-actions .button {
    width: auto;
    flex: 1;
  }
}
