:root {
  --ink: #18222f;
  --muted: #5b6877;
  --line: #d8e0e8;
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #1767c2;
  --teal: #087f7b;
  --green: #188850;
  --amber: #b26b00;
  --shadow: 0 18px 50px rgba(24, 34, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0) 45%), var(--blue);
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

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

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

.hero,
.page-hero {
  padding: 76px 0 46px;
  background: radial-gradient(circle at 15% 20%, rgba(23, 103, 194, 0.12), transparent 28%), linear-gradient(180deg, #ffffff 0%, #eef6f8 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.98;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

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

.button.secondary {
  background: var(--white);
  border-color: var(--line);
}

.visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screen-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f1f5f8;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d84c4c;
}

.dot:nth-child(2) {
  background: #d99a1d;
}

.dot:nth-child(3) {
  background: #26a65b;
}

.screen {
  padding: 24px;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 18px;
  background: linear-gradient(90deg, rgba(23, 103, 194, 0.08) 1px, transparent 1px), linear-gradient(180deg, rgba(23, 103, 194, 0.08) 1px, transparent 1px), #ffffff;
  background-size: 32px 32px;
}

.mock-window,
.mock-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
}

.mock-window {
  align-self: stretch;
}

.mock-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mock-title {
  width: 74%;
  height: 18px;
  background: var(--blue);
  border-radius: 4px;
}

.mock-line {
  height: 10px;
  border-radius: 4px;
  background: #d6e2ed;
  margin-top: 12px;
}

.mock-line.short {
  width: 64%;
}

.mock-space {
  height: 26px;
}

.mock-block {
  height: 76px;
  background: #e5f1f0;
}

.mock-service {
  min-height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f7fafc;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}

.icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  font-size: 18px;
}

.icon.amber {
  background: var(--amber);
}

.icon.blue {
  background: var(--blue);
}

.icon.green {
  background: var(--green);
}

.section {
  padding: 68px 0;
}

.section.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.section p,
.page-content p {
  color: var(--muted);
}

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

.card,
.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card {
  min-height: 210px;
}

.card h3,
.content-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.card p,
.content-card p {
  margin: 0;
}

.service-list,
.content-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.service-list li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 700;
}

.tick {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel-form {
  grid-template-columns: minmax(230px, 0.85fr) minmax(320px, 1.15fr);
  align-items: stretch;
  gap: 34px;
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

.contact-panel p {
  opacity: 0.78;
  margin-bottom: 0;
}

.contact-eyebrow {
  color: #7de2d9;
}

.contact-intro {
  align-self: center;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.contact-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #7de2d9;
  box-shadow: 0 0 0 4px rgba(125, 226, 217, 0.12);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-form {
  width: 100%;
  display: grid;
  gap: 16px;
  justify-self: end;
  padding: clamp(18px, 3vw, 26px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.contact-form label span {
  line-height: 1.2;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cdd8e2;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fbfd;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(23, 103, 194, 0.14);
}

.contact-form button {
  cursor: pointer;
  width: fit-content;
  min-width: 150px;
  border: 0;
}

.form-message {
  margin: 0;
  border-radius: var(--radius);
  padding: 11px 13px;
  font-weight: 700;
}

.form-message.success {
  color: #103b25;
  background: #c9f4dd;
}

.form-message.error {
  color: #4d1717;
  background: #ffd6d6;
}

.hidden-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.page-content-wrap {
  max-width: 820px;
  padding: 58px 0 72px;
}

.page-cover {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.page-content {
  font-size: 18px;
}

.page-content img {
  max-width: 100%;
  height: auto;
}

.footer {
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid,
  .screen,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .cards,
  .service-list,
  .content-list {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    justify-self: stretch;
  }

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

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .screen {
    padding: 14px;
    min-height: auto;
  }

  .section {
    padding: 48px 0;
  }

  .contact-panel {
    padding: 22px;
  }

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