:root {
  --ink: #0f172a;
  --muted: #52647a;
  --soft: #f4f7fb;
  --line: #d8e2ed;
  --card: #ffffff;
  --red: #e00034;
  --red-dark: #b9002b;
  --navy: #101a2d;
  --blue: #2864d9;
  --green: #1b9a5a;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 74px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 750;
  color: #42516a;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--red);
}

.nav-cta,
.button {
  border-radius: 8px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}

.nav-cta {
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
}

.nav-cta:hover {
  background: var(--red);
  color: #fff !important;
}

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.68) 68%, rgba(255, 255, 255, 0.86) 100%),
    url("./technology-source.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  padding: 82px 0 96px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: 62px;
  line-height: 1.04;
  font-weight: 900;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 28px 0 0;
  font-size: 22px;
  color: #26384f;
}

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

.button {
  padding: 0 24px;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.button.primary:hover {
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
  color: #42516a;
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

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

.section-grid,
.product-layout,
.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

p {
  font-size: 18px;
}

.text-block p,
.product-layout p,
.contact-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.value-grid,
.work-grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}

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

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

.value-card,
.work-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}

.value-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffe8ee;
  color: var(--red);
  font-weight: 900;
  margin-bottom: 22px;
}

.value-card p,
.work-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.product-section,
.method-section {
  background: var(--navy);
  color: #fff;
}

.projects-intro {
  max-width: 880px;
  margin-bottom: 34px;
}

.projects-intro p:last-child {
  max-width: 760px;
  color: #b9c6d8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 82px;
}

.project-card {
  min-height: 205px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.project-card span {
  display: inline-flex;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 10px;
  color: #dce9fb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  color: #fff;
}

.project-card p {
  margin: 14px 0 0;
  color: #b9c6d8;
}

.product-section .section-label,
.method-section .section-label {
  color: #ff8aa2;
}

.product-layout p,
.method-list span {
  color: #b9c6d8;
}

.sid-summary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.sid-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sid-title strong {
  display: inline-flex;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.sid-title span {
  color: #dbe8f7;
  font-weight: 800;
}

.sid-summary dl {
  margin: 0;
}

.sid-summary dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sid-summary dl div:last-child {
  border-bottom: 0;
}

.sid-summary dt {
  color: #8fa8c8;
  font-weight: 800;
}

.sid-summary dd {
  margin: 0;
  font-weight: 900;
}

.inline-link {
  display: inline-flex;
  margin-top: 10px;
  color: #fff;
  font-weight: 900;
}

.section-heading {
  max-width: 780px;
}

.method-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.method-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.method-list strong {
  color: #fff;
}

.contact-section {
  background: linear-gradient(180deg, #fff, #f6f9fc);
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.contact-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer {
  padding: 68px 0 32px;
  background: #05070b;
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 34px;
  align-items: start;
}

.site-footer h2 {
  margin: 0 0 22px;
  font-size: 30px;
}

.footer-contact {
  padding: 0;
}

.footer-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  color: #ff2b5d;
  font-size: 17px;
}

.footer-contact a,
.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #ff5d82;
}

.footer-links {
  display: grid;
  gap: 12px;
  color: #eef4ff;
  font-size: 17px;
}

.footer-links h2,
.footer-summary h2 {
  margin-bottom: 12px;
}

.footer-summary p {
  margin: 0 0 24px;
  color: #b9c6d8;
}

.footer-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 900;
}

.footer-button:hover {
  background: #ff2355;
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
}

.footer-bottom img {
  display: block;
  width: 170px;
  height: auto;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: #eef4ff;
  font-size: 16px;
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff, #f5f8fc);
  padding: 56px 0;
}

.legal-card {
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 42px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.legal-logo {
  display: inline-flex;
  margin-bottom: 30px;
}

.legal-logo img {
  width: 210px;
}

.legal-card h1 {
  margin: 0 0 24px;
  font-size: 42px;
}

.legal-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--red);
  font-weight: 800;
}

@media (max-width: 980px) {
  .main-nav {
    gap: 14px;
    font-size: 14px;
  }

  .brand img {
    height: 66px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
      url("./technology-source.jpg") center / cover no-repeat;
  }

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

  .section-grid,
  .product-layout,
  .method-layout,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .value-grid,
  .work-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .brand img {
    height: 58px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero-content {
    padding: 56px 0 70px;
  }

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

  .hero-copy {
    font-size: 19px;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: 34px;
  }

  .value-grid,
  .work-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .sid-summary dl div,
  .method-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-card {
    padding: 26px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-contact {
    padding: 0;
  }

  .footer-contact ul,
  .footer-links {
    font-size: 16px;
  }

  .legal-card {
    padding: 26px;
  }

  .legal-card h1 {
    font-size: 34px;
  }
}
