:root {
  --ink: #07111f;
  --ink-soft: #152238;
  --muted: #5c6678;
  --line: #dce4ee;
  --paper: #f5f8fb;
  --white: #ffffff;
  --cyan: #1fd3d2;
  --teal: #0d858b;
  --green: #6ee787;
  --red: #ff6b5f;
  --orange: #ff8d2d;
  --shadow: 0 22px 70px rgba(7, 17, 31, 0.18);
}

* { box-sizing: border-box; }
html { font-size: 16px; 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", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.site-header {
  min-height: 6.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: max-content;
}

.brand strong {
  display: block;
  font-size: 1.7rem;
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.26rem;
  transform: rotate(45deg);
}

.brand-mark span {
  border-radius: 999px 999px 999px 0;
  background: linear-gradient(135deg, #16b3b7, #55d5cd);
}

.site-header nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-header nav a,
.header-phone,
.header-cta {
  text-decoration: none;
}

.site-header nav a {
  color: var(--ink-soft);
}

.header-phone {
  color: var(--ink-soft);
  font-weight: 650;
  white-space: nowrap;
}

.header-cta,
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.05rem;
  padding: 0 1.45rem;
  border-radius: 0.45rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.cta-primary {
  color: white;
  background: linear-gradient(135deg, #ff9d3f, var(--orange));
  box-shadow: 0 12px 28px rgba(255, 141, 45, 0.28);
}

.cta-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 6.25rem);
  color: white;
  overflow: hidden;
  background: #08101e;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 10, 19, 0.98) 0%, rgba(4, 10, 19, 0.78) 40%, rgba(4, 10, 19, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 10, 19, 0.64), rgba(4, 10, 19, 0.18)),
    url("assets/synas-hero-control-room.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14rem;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 11, 21, 0.96), rgba(5, 11, 21, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(35rem, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 92rem;
  min-height: calc(100svh - 6.25rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem);
}

.hero-grid > *,
.split-section > *,
.fit-section > *,
.contact > *,
.process-grid > *,
.service-grid > * {
  min-width: 0;
}

.hero-copy {
  max-width: 42rem;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.1rem;
  color: var(--orange);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.1rem, 6.3vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1::after {
  content: ".";
  color: var(--orange);
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.5;
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.proof-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 760;
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
}

.trust-row p { margin: 0; }

.iso-badge {
  flex: 0 0 auto;
  width: 3.9rem;
  height: 3.9rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #f6d782;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  line-height: 1.05;
  text-align: center;
}

.hero-visual {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(151, 190, 217, 0.26);
  border-radius: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(145deg, rgba(7, 18, 32, 0.88), rgba(14, 31, 50, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.monitor-head,
.score-panel,
.table-row,
.insight-top,
.metric-grid {
  display: grid;
  align-items: center;
}

.monitor-head {
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monitor-head i {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.score-panel {
  grid-template-columns: 13rem 1fr;
  gap: 1.2rem;
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid rgba(151, 190, 217, 0.22);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
}

.score-panel p,
.monitor-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.score-panel strong {
  display: block;
  margin: 0.1rem 0;
  color: white;
  font-size: 3rem;
  line-height: 1;
}

.score-panel small {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
}

.up { color: var(--green); font-size: 0.85rem; }

.citation-table {
  margin-top: 1rem;
  overflow: hidden;
  border-top: 1px solid rgba(151, 190, 217, 0.18);
}

.table-row {
  grid-template-columns: minmax(10rem, 1.8fr) repeat(5, minmax(4.2rem, 0.55fr));
  gap: 0.8rem;
  padding: 0.78rem 0.2rem;
  border-bottom: 1px solid rgba(151, 190, 217, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
}

.table-head {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.73rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ok { color: var(--green); }
.miss { color: var(--red); }
.monitor-note { margin-top: 1rem; }

.process-band,
.split-section,
.services,
.fit-section,
.contact {
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 5vw, 4.5rem);
}

.process-band {
  text-align: center;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.process-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2.4rem;
  text-align: left;
}

.process-grid article,
.service-grid article,
.insight-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(7, 17, 31, 0.08);
}

.process-grid article {
  min-height: 13.5rem;
  padding: 1.75rem;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--teal);
  font-weight: 900;
}

.process-grid p,
.split-section p,
.services p,
.fit-section p,
.contact p,
.insight-card li {
  color: var(--muted);
}

.split-section,
.fit-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(23rem, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.text-link {
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.insight-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.insight-top,
.metric-grid {
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.insight-top {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 1.5rem 0;
}

.metric-grid p {
  margin: 0;
  padding: 1rem;
  border-radius: 0.55rem;
  background: #edf7f8;
}

.metric-grid strong {
  display: block;
  color: var(--teal);
  font-size: 1.9rem;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.insight-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.services {
  border-top: 1px solid var(--line);
}

.services > h2 {
  max-width: 54rem;
}

.service-grid article {
  padding: 2rem;
}

.service-grid article > p:first-child {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-grid span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-weight: 850;
}

.fit-section {
  max-width: none;
  background: var(--ink);
  color: white;
}

.fit-section > * {
  max-width: 42rem;
}

.fit-section p {
  color: rgba(255, 255, 255, 0.75);
}

.fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fit-list span {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.75rem 0.9rem;
  background: white;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  min-height: 3rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

footer {
  padding: 2rem clamp(1rem, 5vw, 4.5rem);
  background: white;
  border-top: 1px solid var(--line);
}

.footer-row {
  max-width: 92rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row p { margin: 0.2rem 0; }
.footer-links a { margin-right: 1rem; }

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }
  .header-phone { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .hero-copy { max-width: 48rem; }
  h1 { max-width: 13ch; }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    min-height: auto;
  }
  .site-header nav {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    gap: 1.2rem;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .header-cta { display: none; }
  .hero {
    min-height: auto;
  }
  .hero-grid {
    min-height: auto;
    gap: 1.25rem;
    padding-top: 2.4rem;
    padding-bottom: 3rem;
  }
  h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }
  .hero-lead {
    font-size: 1.12rem;
    margin-bottom: 1.2rem;
  }
  .proof-chips {
    margin-bottom: 1.3rem;
  }
  .hero-actions {
    margin-bottom: 1.25rem;
  }
  .score-panel,
  .split-section,
  .fit-section,
  .contact,
  .process-grid,
  .service-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    padding: 1rem;
  }
  .monitor-head {
    grid-template-columns: 1fr;
  }
  .citation-table {
    overflow: visible;
    padding-bottom: 0;
  }
  .table-row {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 4rem 4rem;
    gap: 0.55rem;
    font-size: 0.78rem;
  }
  .table-row > :nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.9rem 1rem;
  }
  .brand strong { font-size: 1.35rem; }
  .brand small { font-size: 0.66rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .hero-grid,
  .process-band,
  .split-section,
  .services,
  .fit-section,
  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .proof-chips span {
    min-height: 2.3rem;
    font-size: 0.82rem;
  }
  .hero-actions {
    display: grid;
    width: 100%;
  }
  .cta-primary,
  .cta-secondary {
    width: 100%;
  }
  .trust-row {
    align-items: flex-start;
  }
}
