﻿:root {
  --ink: #172033;
  --muted: #627086;
  --line: #d9e2ef;
  --soft: #edf3f8;
  --teal: #1f8f8a;
  --teal-dark: #166d69;
  --blue: #2f75b5;
  --amber: #f5b23e;
  --red: #c44f4f;
  --page: #f6f8fb;
  --white: #ffffff;
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page);
  color: var(--ink);
  margin: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  left: 0;
  padding: 14px 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.hero-actions,
.site-header nav,
.panel-top,
.demo-row,
.signal-band,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--amber);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand strong {
  display: block;
  line-height: 1.1;
}

.brand small,
.site-header nav a,
.eyebrow,
.product-tab span,
.feature-grid span,
.workflow-grid p,
.stack-copy p,
.contact-copy p,
.site-footer span {
  color: var(--muted);
}

.site-header nav {
  gap: 20px;
}

.site-header nav a,
.header-action {
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.primary-action,
.secondary-action {
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
}

.header-action,
.primary-action {
  background: var(--teal);
  color: var(--white);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(12, 20, 34, 0.92), rgba(12, 20, 34, 0.68) 46%, rgba(12, 20, 34, 0.18));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  padding: 168px 32px 120px;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  margin-top: 12px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 24px;
  max-width: 650px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.scroll-cue {
  background: var(--white);
  border-radius: 6px 6px 0 0;
  bottom: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  left: 32px;
  padding: 12px 18px;
  position: absolute;
  z-index: 2;
}

.signal-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-band div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding: 22px 32px;
}

.signal-band strong {
  font-size: 28px;
}

.signal-band span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 78px 32px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 780px;
}

.section-heading.compact {
  max-width: 680px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.product-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.product-nav,
.product-panel,
.workflow-grid article,
.stack-section,
.contact-section,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
}

.product-nav {
  display: grid;
  gap: 8px;
  padding: 12px;
  position: sticky;
  top: 92px;
}

.product-tab {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 14px;
  text-align: left;
}

.product-tab.active {
  background: #e8f5f4;
  color: var(--teal-dark);
}

.product-panel {
  display: none;
  min-height: 420px;
  padding: 28px;
}

.product-panel.active {
  display: grid;
  gap: 28px;
}

.panel-top {
  gap: 18px;
  justify-content: space-between;
}

.panel-top h3 {
  font-size: 30px;
  margin: 8px 0 10px;
}

.panel-top p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
}

.status-pill {
  background: #fff6df;
  border-radius: 999px;
  color: #8b5a0c;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 11px;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid div {
  border-left: 4px solid var(--blue);
  display: grid;
  gap: 8px;
  padding: 14px 16px;
}

.feature-grid div:nth-child(2) {
  border-left-color: var(--teal);
}

.feature-grid div:nth-child(3) {
  border-left-color: var(--amber);
}

.feature-grid div:nth-child(4) {
  border-left-color: var(--red);
}

.feature-grid span,
.workflow-grid p {
  line-height: 1.5;
}

.reference-section {
  padding-top: 64px;
}

.reference-grid,
.mobile-reference-grid {
  display: grid;
  gap: 18px;
}

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

.mobile-reference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.reference-card,
.mobile-reference-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 14px;
}

.reference-card img,
.mobile-reference-card img {
  aspect-ratio: 16 / 9;
  border: 1px solid #edf1f7;
  border-radius: 7px;
  display: block;
  height: auto;
  max-height: 138px;
  object-fit: cover;
  width: 100%;
}

.reference-card h3,
.mobile-reference-card h3 {
  font-size: 22px;
  margin-top: 6px;
}

.reference-card p,
.mobile-reference-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}

.reference-kicker {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-link {
  background: #e8f5f4;
  border-radius: 6px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 14px;
  min-height: 38px;
  padding: 10px 12px;
}

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

.workflow-grid article {
  box-shadow: none;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.workflow-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.workflow-grid h3 {
  font-size: 20px;
}

.stack-section,
.contact-section {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.stack-copy,
.contact-copy {
  display: grid;
  gap: 14px;
}

.stack-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.55;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-list span {
  background: var(--soft);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 13px;
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.contact-phone-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-phone-grid a,
.contact-info address {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.06);
  padding: 12px;
}

.contact-phone-grid a {
  display: grid;
  gap: 5px;
}

.contact-phone-grid strong,
.contact-info address strong {
  color: var(--ink);
}

.contact-phone-grid span,
.contact-info address {
  color: var(--muted);
  line-height: 1.45;
}

.contact-info address {
  display: grid;
  font-style: normal;
  gap: 6px;
}

.brochure-download {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  width: fit-content;
}

.brochure-download:hover {
  background: #0f766e;
  color: var(--white);
}

.contact-form {
  box-shadow: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

label {
  color: #44546a;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

input,
select,
textarea {
  background: #fbfdff;
  border: 1px solid #cbd6e5;
  border-radius: 6px;
  color: var(--ink);
  min-height: 42px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 143, 138, 0.14);
}

.wide,
.form-status {
  grid-column: 1 / -1;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  width: fit-content;
}

.form-status {
  color: var(--teal-dark);
  font-weight: 700;
  min-height: 20px;
}

.form-status.error {
  color: #b33a3a;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.admin-main {
  padding-top: 86px;
}

.admin-section {
  max-width: 1380px;
}

.admin-section h1 {
  color: #172033;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.admin-toolbar {
  align-items: end;
  background: #ffffff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 420px) auto minmax(180px, 1fr);
  margin-bottom: 18px;
  padding: 18px;
}

.admin-table-wrap {
  background: #ffffff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 1080px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #d9e2ef;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  gap: 14px;
  justify-content: space-between;
  padding: 24px 32px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 960px) {
  .site-header,
  .product-layout,
  .reference-grid,
  .mobile-reference-grid,
  .stack-section,
  .contact-section,
  .workflow-grid,
  .signal-band {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero-content {
    padding-top: 76px;
  }

  .product-nav {
    position: static;
  }

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

@media (max-width: 680px) {
  .site-header,
  .section,
  .hero-content,
  .signal-band div,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-action {
    width: 100%;
  }

  .feature-grid,
  .workflow-grid,
  .contact-phone-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding-top: 0;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .panel-top,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-panel {
    min-height: auto;
    padding: 20px;
  }

  .scroll-cue {
    left: 18px;
  }
}
