:root {
  color-scheme: light;
  --ink: #101418;
  --muted: #5b636c;
  --line: #d9dee2;
  --paper: #f7f8f6;
  --white: #ffffff;
  --green: #17a673;
  --blue: #235fba;
  --coral: #eb5e3e;
  --yellow: #f0b72f;
  --shadow: 0 18px 60px rgba(16, 20, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 246, 0.9);
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 18px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.nav a {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--ink);
  color: var(--white);
}

.header-action {
  justify-self: end;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 760;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 74px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 4vw, 56px) 34px;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: #2f363d;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 780;
}

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

.button.secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(16, 20, 24, 0.12);
}

.hero-visual {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.hero-visual img {
  width: min(100%, 760px);
  margin-left: auto;
  filter: drop-shadow(0 30px 44px rgba(16, 20, 24, 0.22));
}

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

.signal-strip div {
  min-height: 122px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  font-size: 25px;
}

.signal-strip span {
  color: var(--muted);
  line-height: 1.4;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  margin-bottom: 38px;
}

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

.approach-grid article,
.product-card,
.contact-form {
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(16, 20, 24, 0.06);
}

.approach-grid article {
  min-height: 310px;
  padding: 28px;
}

.approach-grid article:nth-child(1) {
  border-top: 5px solid var(--green);
}

.approach-grid article:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.approach-grid article:nth-child(3) {
  border-top: 5px solid var(--coral);
}

.card-index {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--muted);
  font-weight: 780;
}

.approach-grid p,
.product-card p,
.timeline-item p,
.contact-band p,
.site-footer {
  color: var(--muted);
  line-height: 1.62;
}

.portfolio-section {
  background: var(--white);
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.portfolio-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
}

.filter {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 8px;
  background: #f7f8f6;
  color: var(--muted);
  font-weight: 720;
  text-align: left;
}

.filter.active,
.filter:hover {
  background: var(--ink);
  color: var(--white);
}

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

.product-card {
  min-height: 276px;
  padding: 22px;
}

.product-card.featured {
  background: #101418;
  color: var(--white);
}

.product-card span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 8px;
  background: #eef2f3;
  color: var(--ink);
  font-weight: 820;
}

.product-card.featured span {
  background: var(--green);
  color: var(--white);
}

.product-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.roadmap-section {
  background: #101418;
  color: var(--white);
}

.roadmap-section .eyebrow {
  color: var(--yellow);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.timeline-item span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 820;
}

.timeline-item p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.faq-section {
  background: var(--white);
}

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

.faq-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 8px;
  background: var(--paper);
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(35, 95, 186, 0.09), transparent 42%),
    var(--paper);
}

.contact-band h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.contact-band p {
  max-width: 640px;
}

.contact-form {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 22px;
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 20, 24, 0.15);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 116px;
  padding: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 166, 115, 0.22);
  border-color: var(--green);
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.form-note a,
.site-footer a {
  color: var(--blue);
  font-weight: 760;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-open .nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: grid;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .hero,
  .contact-band,
  .section-heading,
  .portfolio-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    margin: 0;
  }

  .portfolio-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .signal-strip div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 38px;
    gap: 28px;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-actions {
    align-items: flex-start;
  }

  .hero-actions .button {
    width: auto;
    min-width: min(100%, 190px);
    max-width: 100%;
  }

  .contact-form .button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    max-width: 100%;
    margin: 0;
    filter: drop-shadow(0 18px 24px rgba(16, 20, 24, 0.16));
  }

  .signal-strip,
  .approach-grid,
  .faq-grid,
  .product-grid,
  .portfolio-nav {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
  }

  .approach-grid article,
  .product-card {
    min-height: auto;
  }

  .card-index,
  .product-card span {
    margin-bottom: 28px;
  }

  .site-footer {
    display: grid;
  }
}
