:root {
  --ink: #101419;
  --muted: #5f6974;
  --line: #dce2e8;
  --surface: #ffffff;
  --soft: #f5f7f9;
  --deep: #071014;
  --teal: #1aa7a8;
  --green: #6fbf73;
  --gold: #c99a43;
  --sos-primary-dark: #020518;
  --sos-primary: #092037;
  --sos-secondary: #b6c5ff;
  --sos-secondary-dark: #134679;
  --sos-danger: #cc7777;
  --sos-orange: #f04a1c;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  background: rgb(7 16 20 / 76%);
  backdrop-filter: blur(18px);
}

.light-header {
  position: sticky;
  color: var(--ink);
  border-color: var(--line);
  background: rgb(255 255 255 / 92%);
}

.brand,
.nav-links,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  max-width: 150px;
  padding: 5px 9px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 7px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 10px 24px rgb(0 0 0 / 14%);
}

.brand-logo-box img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 30px;
  object-fit: contain;
}

.ntsdns-small {
  height: 42px;
  max-width: 142px;
  padding: 5px 9px;
  box-shadow: 0 8px 20px rgb(2 5 24 / 22%);
}

.ntsdns-small img {
  width: auto;
  height: 30px;
}

.nav-links {
  gap: 18px;
  font-size: 0.92rem;
}

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

.nav-links a:hover {
  opacity: 1;
}

.nav-action {
  padding: 9px 13px;
  border: 1px solid currentColor;
  border-radius: 7px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 72px;
  color: #fff;
  background: var(--deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(3 10 13 / 92%) 0%, rgb(3 10 13 / 76%) 39%, rgb(3 10 13 / 25%) 73%),
    linear-gradient(0deg, rgb(3 10 13 / 84%) 0%, rgb(3 10 13 / 5%) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero-content h1,
.sos-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-brand-logo {
  display: block;
  width: min(178px, 48vw);
  margin: 0 0 22px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 14px 34px rgb(0 0 0 / 20%);
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.eyebrow {
  margin: 0 0 16px;
  color: #95f0e7;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #087c7e;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #071014;
  background: #96eee5;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 36%);
}

.dark-button {
  background: var(--ink) !important;
  color: #fff !important;
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 88px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  max-width: none;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.intro-strip div {
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  margin-bottom: 5px;
}

.intro-strip span,
.section-copy p,
.service-card p,
.process-list p,
.sos-hero p,
.download-card small {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.section-copy h2,
.cta h2,
.sos-hero h1,
.sos-hero h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p {
  margin: 18px 0 0;
  max-width: 540px;
  font-size: 1.03rem;
}

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

.service-card,
.download-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card:nth-child(2) {
  border-top-color: var(--green);
}

.service-card:nth-child(3) {
  border-top-color: var(--gold);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: #087c7e;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
}

.process-band {
  width: 100%;
  max-width: none;
  padding: 88px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.compact {
  margin-bottom: 34px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list div {
  min-height: 210px;
  padding: 24px;
  background: var(--soft);
}

.process-list span {
  display: block;
  margin-bottom: 44px;
  color: #087c7e;
  font-weight: 900;
}

.process-list p {
  margin: 0;
}

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover {
  color: var(--teal);
}

.footer-logo {
  display: block;
  width: 150px;
  height: auto;
}

.sos-page {
  color: var(--sos-secondary);
  background:
    radial-gradient(circle at 82% 12%, rgb(19 70 121 / 38%), transparent 32rem),
    linear-gradient(180deg, var(--sos-primary-dark), var(--sos-primary) 42%, #071827);
}

.sos-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 88px 0 58px;
}

.sos-header {
  position: sticky;
  color: var(--sos-secondary);
  border-color: rgb(182 197 255 / 30%);
  background: rgb(9 32 55 / 90%);
  box-shadow: 0 18px 48px rgb(2 5 24 / 24%);
}

.sos-header .nav-action {
  border-color: var(--sos-secondary);
  background: rgb(182 197 255 / 8%);
}

.sos-page .eyebrow.dark {
  color: var(--sos-secondary);
}

.sos-page .section-copy h2,
.sos-page .sos-hero h1 {
  color: #fff;
}

.sos-hero-logo {
  display: block;
  width: min(168px, 52vw);
  height: auto;
  margin: 0 0 14px -6px;
  filter: drop-shadow(0 24px 34px rgb(0 0 0 / 42%));
}

.sos-hero p {
  max-width: 670px;
  margin: 20px 0 0;
  color: rgb(216 224 255 / 84%);
  font-size: 1.08rem;
}

.sos-button {
  color: var(--sos-primary) !important;
  background: var(--sos-secondary) !important;
  box-shadow: 0 16px 34px rgb(0 0 0 / 28%);
}

.sos-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid rgb(182 197 255 / 22%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 5%);
}

.sos-utility h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.sos-utility p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgb(216 224 255 / 76%);
}

.downloads {
  padding-top: 34px;
}

.sos-page .downloads {
  padding-top: 44px;
}

.sos-page .section-copy p,
.sos-page .download-card small {
  color: rgb(216 224 255 / 72%);
}

.download-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.sos-page .download-card {
  color: var(--sos-secondary);
  border-color: rgb(182 197 255 / 25%);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 2%) 48%, rgb(19 70 121 / 22%)),
    var(--sos-primary);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
}

.download-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--sos-secondary);
  fill: currentColor;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 28%));
}

.download-card:hover {
  border-color: var(--teal);
  box-shadow: 0 18px 40px rgb(16 20 25 / 9%);
  transform: translateY(-3px);
}

.sos-page .download-card:hover {
  border-color: var(--sos-secondary);
  box-shadow:
    0 22px 44px rgb(0 0 0 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 14%);
}

.download-card span {
  color: #087c7e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sos-page .download-card span {
  color: var(--sos-secondary);
}

.sos-page .download-card strong::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sos-orange), var(--sos-danger), var(--sos-secondary));
}

.sos-footer-logo {
  width: 56px;
}

.sos-page .footer {
  color: rgb(216 224 255 / 74%);
  border-top-color: rgb(182 197 255 / 20%);
}

.sos-page .footer span:first-child {
  color: #fff;
}

.download-card strong {
  margin-top: 0;
  font-size: 1.25rem;
}

.download-card p {
  margin: 12px 0 0;
  color: rgb(216 224 255 / 78%);
}

.download-card small {
  display: inline-flex;
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 800;
}

.two-col {
  max-width: 780px;
}

.sos-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
  padding-top: 44px;
  padding-bottom: 44px;
}

.sos-guide h2 {
  margin: 0;
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.sos-guide ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sos-guide li {
  padding: 15px 17px;
  border: 1px solid rgb(182 197 255 / 20%);
  border-radius: var(--radius);
  color: rgb(216 224 255 / 78%);
  background: rgb(255 255 255 / 4%);
}

.sos-guide strong {
  color: #fff;
}

@media (max-width: 860px) {
  .site-header,
  .sos-hero,
  .sos-utility,
  .cta,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: static;
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

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

  .hero {
    min-height: 760px;
    padding-top: 72px;
  }

  .intro-strip,
  .split,
  .service-grid,
  .sos-guide,
  .process-list,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip div {
    padding: 24px 20px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .hero-content h1,
  .sos-hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.88rem;
  }

  .button,
  .nav-action {
    width: 100%;
  }
}
