:root {
  --bg: #e9edf2;
  --paper: #f7f9fc;
  --ink: #111318;
  --muted: #626975;
  --line: #d2d9e2;
  --accent: #3e8ed6;
  --dark: #111318;
  --dark-2: #1a1d24;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(233,237,242,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,19,24,.08);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark, .footer-brand {
  font-weight: 900;
  letter-spacing: -.055em;
  font-size: 24px;
}
.brand-sub { color: var(--muted); font-size: 13px; letter-spacing: .08em; }
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--accent); }

.hero {
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}
.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 7vw, 94px);
  line-height: .96;
  letter-spacing: -.065em;
}
.lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
}
.actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  border: 1px solid var(--ink);
}
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }
.button.secondary:hover { background: #f7f9fc; }

.hero-panel { position: relative; }
.hero-panel::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -120px;
  top: -100px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(0);
  opacity: .09;
}
.code-window {
  position: relative;
  background: var(--dark);
  color: #f4f6f8;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 35px 90px rgba(17,19,24,.22);
  transform: rotate(1.5deg);
}
.window-dots { display: flex; gap: 6px; padding: 2px 0 16px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #555b66; }
.code-lines { border-top: 1px solid #2d323c; padding-top: 14px; }
.code-lines span {
  display: block;
  padding: 13px 8px;
  color: #d9dde4;
  font: 500 14px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  border-bottom: 1px solid #252932;
}
.code-lines b { display: inline-block; width: 36px; color: var(--accent); font-weight: 500; }

.section { padding: 105px 0; }
.section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  min-height: 260px;
  padding: 32px;
  background: rgba(247,249,252,.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card .number { color: var(--accent); font: 650 12px ui-monospace, monospace; }
.card h3 { margin: 52px 0 12px; font-size: 22px; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); }
.accent-card { background: var(--accent); color: #fff; }
.accent-card .number, .accent-card p { color: #fff; }

.section-dark { background: var(--dark); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy { color: #b8bec8; font-size: 18px; }
.about-copy p { margin: 0 0 25px; }
.about-copy strong { color: #fff; }

.principles { background: var(--paper); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 34px;
}
.principles-grid h3 { margin: 0 0 10px; font-size: 27px; }
.principles-grid p { margin: 0; color: var(--muted); max-width: 320px; }

.contact { padding-top: 120px; }
.contact-box {
  background: var(--dark);
  color: #fff;
  padding: 65px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 70px;
  align-items: center;
  border-radius: 18px;
}
.contact-box h2 { font-size: clamp(38px, 5vw, 60px); }
.contact-box p:not(.eyebrow) { color: #b8bec8; max-width: 680px; }
.domain-card {
  padding: 28px;
  background: var(--dark-2);
  border: 1px solid #333844;
  border-radius: 12px;
}
.domain-card span { display: block; color: #8f96a2; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.domain-card strong { display: block; margin-top: 12px; font-size: 27px; }
.domain-card a { display: inline-block; margin-top: 5px; color: var(--accent); font-size: 14px; }

.legal { padding: 35px 0 85px; }
.legal-inner {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
}
.legal h2 { margin: 0; font-size: 18px; }
.legal p { margin: 0; color: var(--muted); font-size: 14px; max-width: 850px; }

footer { padding: 30px 0; background: #dde4ec; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; font-size: 12px; color: var(--muted); }
.footer-inner > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.footer-brand { color: var(--ink); font-size: 18px; }
.footer-right { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.footer-right a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .split, .contact-box { grid-template-columns: 1fr; }
  .hero-panel { max-width: 580px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { gap: 35px; }
  .domain-card { max-width: 460px; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 68px; }
  nav { gap: 15px; }
  nav a:nth-child(2) { display: none; }
  .brand-sub { display: none; }
  .hero { padding: 68px 0 78px; }
  h1 { font-size: 54px; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .card { min-height: 220px; }
  .principles-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-box { padding: 36px 26px; border-radius: 12px; }
  .legal-inner { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-right { justify-content: flex-start; flex-direction: column; gap: 8px; }
}


.email-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 20px !important;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px !important;
  transition: transform .15s ease, filter .15s ease;
}
.email-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.legal-copy {
  display: grid;
  gap: 22px;
}
.legal-copy p {
  max-width: 850px;
}
.legal-copy strong {
  color: var(--ink);
}
.legal-copy a {
  color: var(--accent);
}


/* Final visual refinement */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(62,142,214,.07), transparent 28%),
    linear-gradient(180deg, #edf1f5 0%, var(--bg) 38%, #e7ecf2 100%);
}

.site-header {
  box-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.brand-mark,
.footer-brand {
  letter-spacing: -.065em;
}

.hero {
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,19,24,.12), transparent);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero .lead {
  max-width: 650px;
}

.button {
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  box-shadow: 0 10px 28px rgba(17,19,24,.13);
}
.button.primary:hover {
  box-shadow: 0 12px 30px rgba(62,142,214,.22);
}

.code-window {
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 28px 70px rgba(17,19,24,.20), 0 1px 0 rgba(255,255,255,.06) inset;
}
.code-lines span {
  transition: background .18s ease, padding-left .18s ease;
}
.code-lines span:hover {
  background: rgba(255,255,255,.025);
  padding-left: 12px;
}

.section > .container > .eyebrow,
.section .split .eyebrow {
  margin-bottom: 16px;
}

.services-grid {
  box-shadow: 0 20px 55px rgba(17,19,24,.045);
}
.card {
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 34px rgba(17,19,24,.06);
  position: relative;
  z-index: 2;
}
.accent-card:hover {
  background: #347fC3;
}

.section-dark {
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -210px;
  border-radius: 50%;
  background: rgba(62,142,214,.11);
  filter: blur(10px);
}
.section-dark .container {
  position: relative;
  z-index: 1;
}

.principles-grid > div {
  padding-top: 18px;
  border-top: 2px solid rgba(62,142,214,.28);
}
.principles-grid h3 {
  letter-spacing: -.035em;
}

.contact-box {
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 65px rgba(17,19,24,.18);
}
.contact-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(62,142,214,.14);
}
.contact-box > * {
  position: relative;
  z-index: 1;
}
.domain-card {
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.email-button {
  box-shadow: 0 10px 24px rgba(62,142,214,.24);
}
.email-button:hover {
  box-shadow: 0 13px 28px rgba(62,142,214,.32);
}

.legal {
  background: rgba(255,255,255,.18);
}
.legal-copy a:hover,
.footer-right a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  box-shadow: 0 -1px 0 rgba(255,255,255,.55) inset;
}

@media (max-width: 620px) {
  .hero::after { display: none; }
  .services-grid { box-shadow: none; }
  .card:hover { transform: none; box-shadow: none; }
  .contact-box { box-shadow: 0 20px 45px rgba(17,19,24,.15); }
}
