:root {
  --color-navy: #121e29;
  --color-blue: #2a445e;
  --color-blue-soft: #5a87b5;
  --color-gold: #f3aa20;
  --color-gold-dark: #e5a110;
  --color-ink: #121e29;
  --color-muted: #717580;
  --color-line: #c5cfda;
  --color-panel: #edf2f7;
  --color-white: #ffffff;
  --font-heading: "Sora", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1280px;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(18, 30, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-muted);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
}

body.copy-protected main,
body.copy-protected .site-header,
body.copy-protected .site-footer {
  -webkit-user-select: none;
  user-select: none;
}

body.copy-protected input,
body.copy-protected textarea,
body.copy-protected select {
  -webkit-user-select: text;
  user-select: text;
}

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

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

a:hover {
  color: var(--color-gold-dark);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
}

h2 {
  font-size: 40px;
  line-height: 1.2;
}

h3 {
  font-size: 32px;
  line-height: 1.3;
}

h4 {
  font-size: 24px;
  line-height: 1.3;
}

h5,
.card-title {
  font-size: 18px;
  line-height: 1.5;
}

.eyebrow {
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: uppercase;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.section--dark {
  color: var(--color-line);
  background: var(--color-navy);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--color-white);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header p {
  max-width: 620px;
}

.stack {
  display: grid;
  gap: 16px;
}

.site-topbar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.site-topbar .container {
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--color-white);
  background: rgba(18, 30, 41, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 150px;
  line-height: 0;
}

.brand-logo img {
  width: calc(150px * 140 / 470);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.brand-logo-label {
  margin-left: calc(150px * 10 / 470);
  color: var(--color-white);
  font-family: Helvetica, Arial, sans-serif;
  font-size: calc(150px * 86 / 470);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  position: relative;
  padding: 10px 0;
}

.nav-link[aria-current="page"],
.nav-link:hover {
  color: var(--color-white);
}

.nav-link[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--color-gold);
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-blue) 100%);
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.button:hover,
.button:focus {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-gold) 100%);
}

.button--ghost {
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(255, 255, 255, 0.1);
}

.button--dark {
  color: var(--color-navy);
  background: var(--color-white);
}

.button--dark:hover,
.button--dark:focus {
  color: var(--color-navy);
  background: var(--color-panel);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(180deg, rgba(18, 30, 41, 0.18), rgba(18, 30, 41, 0.88)),
    url("../img/hero-bg.webp") center top / cover no-repeat;
}

.hero .container {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 78px 0 64px;
}

.hero h1 {
  max-width: 860px;
  color: var(--color-white);
  font-size: 61px;
  font-weight: 700;
  line-height: 1.1;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 36px;
}

.proof-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.proof-item strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.2;
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.screen-collage {
  display: grid;
  gap: 16px;
}

.screen-panel {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.screen-panel img {
  width: 100%;
  object-fit: cover;
}

.screen-panel--dashboard {
  padding: 0;
}

.screen-panel--dashboard img {
  max-width: 340px;
  margin: 0 auto;
}

.mini-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-screens .screen-panel {
  padding: 0;
}

.mini-screens img {
  max-height: 220px;
  object-fit: contain;
}

.service-grid,
.industry-grid,
.team-grid,
.pricing-grid,
.demo-grid,
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.price-card,
.demo-card,
.industry-card,
.role-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(197, 207, 218, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18, 30, 41, 0.06);
}

.card,
.price-card,
.role-card {
  padding: 24px;
}

.card {
  display: grid;
  gap: 12px;
}

.card-marker {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
}

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

.card li,
.check-list li {
  position: relative;
  padding-left: 22px;
}

.card li::before,
.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  content: "";
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 42px;
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 16px;
}

.image-stack img,
.feature-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-image {
  aspect-ratio: 16 / 10;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.55fr);
  gap: 42px;
  align-items: start;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.metric {
  padding: 22px;
  background: var(--color-white);
  border: 1px solid rgba(197, 207, 218, 0.75);
  border-radius: var(--radius);
}

.metric strong {
  display: block;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 4px;
}

.industry-card img,
.demo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.demo-card--screen img {
  object-fit: contain;
  padding: 18px;
  background: transparent;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.demo-label {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  color: var(--color-navy);
  background: rgba(243, 170, 32, 0.16);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

.price-card {
  display: grid;
  gap: 16px;
}

.price {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.price small {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
}

.price-card--featured {
  color: rgba(255, 255, 255, 0.78);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.price-card--featured h3,
.price-card--featured .price {
  color: var(--color-white);
}

.price-card--featured .check-list li::before {
  background: var(--color-gold);
}

.cta {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(18, 30, 41, 0.94), rgba(42, 68, 94, 0.9)),
    url("../img/team-room.webp") center / cover no-repeat;
}

.cta .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 32px;
  align-items: center;
}

.cta h2 {
  color: var(--color-white);
}

.cta p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 720px;
}

.page-hero {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(18, 30, 41, 0.92), rgba(42, 68, 94, 0.86)),
    url("../img/hero-bg.webp") center / cover no-repeat;
}

.page-hero .container {
  display: grid;
  gap: 18px;
  min-height: 360px;
  align-content: center;
  padding: 74px 0;
}

.page-hero h1 {
  max-width: 920px;
  color: var(--color-white);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid rgba(197, 207, 218, 0.72);
  border-radius: var(--radius);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(360px, 0.55fr);
  gap: 40px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  background: var(--color-white);
  border: 1px solid rgba(197, 207, 218, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}

.form-status--success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.form-status--error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--color-muted);
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--color-navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(160px, 0.45fr));
  gap: 28px;
  padding: 64px 0 42px;
}

.footer-brand .brand-logo {
  width: 154px;
  margin-bottom: 18px;
}

.footer-brand .brand-logo img {
  width: calc(154px * 140 / 470);
}

.footer-brand .brand-logo-label {
  margin-left: calc(154px * 10 / 470);
  font-size: calc(154px * 86 / 470);
}

.footer-title {
  margin-bottom: 14px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.note {
  padding: 18px;
  color: var(--color-muted);
  background: rgba(243, 170, 32, 0.12);
  border: 1px solid rgba(243, 170, 32, 0.28);
  border-radius: var(--radius);
}

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

@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 20px;
  }

  .hero .container,
  .image-band,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .service-grid,
  .industry-grid,
  .team-grid,
  .pricing-grid,
  .demo-grid,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--color-navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    padding: 12px 0;
  }

  .nav-actions .button {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header,
  .cta .container {
    grid-template-columns: 1fr;
  }

  .hero .container {
    min-height: auto;
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-proof,
  .mini-screens,
  .service-grid,
  .industry-grid,
  .team-grid,
  .pricing-grid,
  .demo-grid,
  .model-grid,
  .process,
  .metric-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero .container {
    min-height: 280px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
