:root {
  --ink: #081321;
  --ink-soft: #173252;
  --paper: #f5f8fc;
  --white: #ffffff;
  --line: #d8e2ee;
  --blue: #1f6feb;
  --blue-deep: #123a65;
  --blue-soft: #e8f1ff;
  --cyan: #28c2d1;
  --green: #78c86c;
  --green-deep: #347a43;
  --orange: #ea613e;
  --gold: #f3b84a;
  --muted: #667169;
  --shadow: 0 18px 45px rgba(8, 19, 33, 0.14);
}

* {
  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(8, 19, 33, 0.94);
  border-bottom: 1px solid rgba(246, 248, 242, 0.12);
  backdrop-filter: blur(14px);
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(246, 248, 242, 0.84);
}

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

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

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

.nav-product:hover {
  background: #5bd7e2;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding: 76px 40px 64px;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(8, 19, 33, 0.96) 0%, rgba(8, 19, 33, 0.88) 44%, rgba(8, 19, 33, 0.36) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

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

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

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

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

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

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

h1 {
  margin: 0;
  font-size: 64px;
  line-height: 0.95;
  font-weight: 900;
}

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: 630px;
  margin: 24px 0 0;
  color: rgba(246, 248, 242, 0.88);
  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: #5bd7e2;
}

.button-secondary {
  color: var(--paper);
  background: transparent;
  border-color: rgba(246, 248, 242, 0.45);
}

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

.section {
  padding: 86px 40px;
}

.band-light {
  background: var(--paper);
}

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

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

.intro {
  padding: 42px 40px;
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.roadmap-grid,
.contact-grid,
.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.intro p {
  margin: 0;
}

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

.section-heading p,
.roadmap-grid p,
.contact-grid p {
  color: var(--muted);
}

.band-dark .section-heading p,
.contact-section p {
  color: rgba(246, 248, 242, 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-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(31, 111, 235, 0.24);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

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

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 22px;
  background: rgba(246, 248, 242, 0.06);
  border: 1px solid rgba(246, 248, 242, 0.14);
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.timeline-item:nth-child(2) {
  border-left-color: var(--gold);
}

.timeline-item:nth-child(3) {
  border-left-color: var(--blue);
}

.timeline-item:nth-child(4) {
  border-left-color: var(--orange);
}

.timeline-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.timeline-item p {
  margin: 0;
  color: rgba(246, 248, 242, 0.82);
}

.topic-list {
  display: grid;
  gap: 12px;
}

.topic-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.topic-row span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.topic-row p {
  margin: 0;
  color: var(--muted);
}

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

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

.compliance-box p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  background: rgba(246, 248, 242, 0.07);
  border: 1px solid rgba(246, 248, 242, 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(246, 248, 242, 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(17, 23, 20, 0.84);
  border: 1px solid rgba(246, 248, 242, 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(40, 194, 209, 0.32);
  border-color: var(--cyan);
}

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

.site-footer {
  padding: 26px 40px;
  color: rgba(246, 248, 242, 0.72);
  background: #050c14;
  border-top: 1px solid rgba(246, 248, 242, 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(246, 248, 242, 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;
}

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

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

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

.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(246, 248, 242, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.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(8, 19, 33, 0.96);
  border: 1px solid rgba(246, 248, 242, 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(246, 248, 242, 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: 860px) {
  .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,
  .intro,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  h1 {
    max-width: 8ch;
    font-size: 42px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

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

  .intro-grid,
  .roadmap-grid,
  .contact-grid,
  .split-layout,
  .compliance-box {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .topic-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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

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

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

  .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;
  }
}

@media (max-width: 470px) {
  .nav-links {
    font-size: 13px;
  }

  h1 {
    max-width: 8ch;
    font-size: 36px;
    line-height: 1.02;
  }

  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%;
  }
}
