:root {
  color-scheme: dark;
  --navy: #07152f;
  --navy-2: #0c2147;
  --blue: #58a6ff;
  --cyan: #62d9ff;
  --text: #edf5ff;
  --muted: #a8bad2;
  --line: rgba(147, 181, 220, 0.2);
  --card: rgba(15, 36, 73, 0.72);
  --light: #f3f7fc;
  --ink: #10223e;
  --ink-muted: #52647d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
.section-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  width: min(1160px, calc(100% - 40px));
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.identity { display: flex; align-items: center; gap: 12px; font-weight: 750; text-decoration: none; }
.monogram {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(98,217,255,.62);
  border-radius: 11px;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: .08em;
}
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 80px;
  padding-block: 88px 100px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -100px;
  top: 28px;
  background: radial-gradient(circle, rgba(29,111,191,.22), transparent 68%);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(3.1rem, 5.6vw, 5.8rem); }
h2 { max-width: 820px; margin-bottom: 50px; font-size: clamp(2.25rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }
.intro { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.18rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}
.button.primary { border-color: #4a9fff; background: #2383e2; color: #fff; }
.button.primary:hover { background: #3594ef; }
.button.secondary:hover { border-color: rgba(98,217,255,.55); }

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(123,171,224,.34);
  border-radius: 18px;
  background: #0b1b38;
  box-shadow: 0 34px 80px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,.018);
  transform: rotate(1.5deg);
}
.browser-bar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #4b678d; }
.browser-bar span { margin-left: 10px; color: #8299b8; font-size: 11px; }
.browser-content { min-height: 390px; padding: 50px 42px; background: linear-gradient(145deg, #0e2851, #07152f 60%); }
.wire-heading { width: 79%; height: 34px; border-radius: 6px; background: linear-gradient(90deg, #56a9ff, #62d9ff); }
.wire-copy { width: 91%; height: 10px; margin-top: 27px; border-radius: 8px; background: #4e6e98; }
.wire-copy.short { width: 68%; margin-top: 11px; }
.wire-button { width: 122px; height: 38px; margin-top: 32px; border: 1px solid #54b9f4; border-radius: 8px; background: rgba(73,166,231,.18); }
.wire-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 50px; }
.wire-grid b { height: 92px; border: 1px solid rgba(120,165,216,.25); border-radius: 9px; background: rgba(26,57,103,.5); }

.section { padding-block: 110px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.service-grid article { min-height: 270px; padding: 32px; background: var(--navy); }
.service-grid article:hover { background: var(--navy-2); }
.number { display: block; margin-bottom: 46px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.service-grid h3 { margin-bottom: 14px; }
.service-grid p { margin: 0; color: var(--muted); font-size: 15px; }

.work-section { background: var(--light); color: var(--ink); }
.work-section .eyebrow { color: #1769b0; }
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-list article { display: flex; min-height: 330px; flex-direction: column; padding: 34px; border: 1px solid #d6e0ec; border-radius: 17px; background: #fff; box-shadow: 0 12px 28px rgba(22,50,85,.06); }
.work-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 46px; color: #63768f; font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.work-list h3 { margin-bottom: 15px; font-size: 1.65rem; }
.work-list p { margin: 0 0 28px; color: var(--ink-muted); font-size: 15px; }
.work-list a { margin-top: auto; color: #1268b4; font-weight: 750; text-decoration: none; }
.work-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.approach { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 100px; }
.approach h2 { margin-bottom: 0; }
.approach > p { margin: 38px 0 0; color: var(--muted); font-size: 1.08rem; }
.contact { margin-bottom: 90px; padding: 70px; border: 1px solid rgba(103,179,246,.36); border-radius: 22px; background: linear-gradient(135deg, #0e2b57, #091a36); }
.contact h2 { margin-bottom: 18px; }
.contact p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.contact-link { display: inline-block; margin-top: 18px; color: var(--cyan); font-size: clamp(1.35rem, 3vw, 2.2rem); font-weight: 800; text-decoration: none; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 6px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 30px 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 64px; }
  .browser-frame { width: min(640px, 100%); transform: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .approach { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section-shell, .site-header { width: min(100% - 28px, 1160px); }
  .site-header { min-height: 72px; }
  nav { gap: 15px; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding-block: 72px 82px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  h2 { margin-bottom: 36px; font-size: 2.45rem; }
  .browser-content { min-height: 280px; padding: 34px 26px; }
  .wire-grid b { height: 62px; }
  .section { padding-block: 78px; }
  .service-grid, .work-list { grid-template-columns: 1fr; }
  .service-grid article { min-height: 230px; padding: 28px; }
  .number { margin-bottom: 32px; }
  .work-list article { min-height: 300px; padding: 28px; }
  .work-meta { margin-bottom: 35px; }
  .contact { width: calc(100% - 28px); margin-bottom: 55px; padding: 42px 26px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
