:root {
  --brand-blue: #0066ae;
  --brand-blue-dark: #004f88;
  --brand-ink: #404a4c;
  --text: #172124;
  --muted: #5c686b;
  --line: rgba(64, 74, 76, 0.16);
  --panel: rgba(255, 255, 255, 0.9);
  --surface: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 55, 95, 0.14);
  --font-main: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-main);
  background:
    linear-gradient(120deg, rgba(0, 102, 174, 0.12), transparent 36%),
    radial-gradient(circle at 80% 12%, rgba(0, 102, 174, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fa 52%, #ffffff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(0, 102, 174, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 174, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(310px, 52vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--brand-ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.site-footer a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: min(760px, calc(88vh - 78px));
  padding: clamp(42px, 6vw, 78px) 0 clamp(34px, 5vw, 58px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  font-size: 1.755rem;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--brand-ink);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  color: var(--brand-ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--brand-ink);
  font-size: 1.18rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: #344144;
  font-size: clamp(1.14rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--brand-blue);
  border-radius: 6px;
  font-weight: 800;
}

.button-primary {
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: 0 14px 34px rgba(0, 102, 174, 0.28);
}

.button-primary:hover {
  background: var(--brand-blue-dark);
}

.button-secondary {
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 30px;
}

.panel-kicker,
.service-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1.7rem;
  line-height: 1.15;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 22px;
  color: #314044;
  line-height: 1.55;
}

.hero-panel li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--brand-blue);
}

.security-alerts {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.feed-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.feed-heading h2,
.tech-news-widget h2 {
  margin-bottom: 0;
  color: var(--brand-ink);
  font-size: 1.18rem;
  line-height: 1.2;
}

.feed-heading span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.security-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.security-feed p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.security-feed a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.78);
}

.security-feed a:hover {
  background: rgba(255, 255, 255, 0.94);
}

.security-feed strong {
  overflow: hidden;
  color: var(--brand-ink);
  font-size: 0.92rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-feed span {
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-grid,
.split-section,
.contact-section {
  padding: clamp(74px, 9vw, 118px) 0;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.service-card p,
.approach-list p {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(26px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.approach-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.approach-list article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.tech-news-widget {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(0, 55, 95, 0.1);
}

.tech-news-widget .eyebrow {
  margin-bottom: 8px;
}

.it-times-widget {
  margin-top: 18px;
  overflow: hidden;
}

.it-times-widget a {
  color: var(--brand-blue);
  font-weight: 800;
}

.widget-fallback {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.it-times-widget iframe,
.it-times-widget table {
  max-width: 100%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: start;
  gap: clamp(26px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  font-style: normal;
}

.contact-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 34%;
}

.contact-card strong {
  color: var(--brand-ink);
  font-size: 1.28rem;
}

.contact-card a,
.legal-grid a,
.text-link {
  color: var(--brand-blue);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
}

.support-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid var(--brand-blue);
  border-radius: 6px;
  color: var(--white) !important;
  background: var(--brand-blue);
}

.support-download:hover {
  background: var(--brand-blue-dark);
}

.legal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 248, 250, 0.88);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 72px);
  padding-top: 66px;
  padding-bottom: 66px;
}

.legal-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-grid address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.8;
}

.legal-page {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.legal-hero {
  padding: clamp(54px, 8vw, 92px) 0 clamp(28px, 4vw, 42px);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.legal-document {
  padding: clamp(42px, 7vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.legal-document h3 {
  margin-top: 30px;
}

.legal-document p,
.legal-document address,
.legal-document li {
  max-width: 880px;
  color: var(--muted);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.75;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  max-width: 880px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-document a {
  color: var(--brand-blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (min-width: 901px) {
  .hero {
    align-items: start;
  }

  .hero-content {
    display: contents;
  }

  .hero-content .eyebrow,
  .hero-content h1 {
    grid-column: 1 / -1;
  }

  .hero-content h1 {
    margin-bottom: 0;
    font-size: clamp(3.2rem, 6vw, 5.2rem);
    white-space: nowrap;
  }

  .hero-copy,
  .hero-actions {
    grid-column: 1;
  }

  .hero-panel {
    grid-column: 2;
    grid-row: 3 / span 2;
  }

  .security-alerts {
    grid-column: 1 / -1;
  }
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-ink);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.cookie-actions .button {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .hero,
  .split-section,
  .contact-section,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .security-alerts {
    margin-top: 0;
  }

  .security-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 108px;
  }

  .security-feed a {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

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

  .brand {
    width: min(280px, 100%);
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .button {
    width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
  }

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

  .security-feed {
    grid-template-columns: 1fr;
    max-height: 220px;
  }

  .service-card {
    min-height: auto;
  }
}
