/* DROSERVE site styles. Palette and shapes follow the Integrity (ig.systems) brand kit. */

@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("/fonts/outfit-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy: #0e0e53;
  --orange: #ff6633;
  --teal: #24baff;
  --ice: #eff4f6;
  --bg: #f8f8f8;
  --white: #ffffff;
  --orange-light: #fff2ed;
  --muted: #0e0e5399;
  --border: #d0d5dd;

  --radius-card: 1.5rem;
  --radius-pill: 6rem;
  --glow-teal: inset 0 2px 16px #ffffff66, 0 0 36px 12px #24baff3d;
  --glow-teal-hover: inset 0 2px 16px #ffffff66, 0 0 36px 12px #24baff6e;
  --glow-orange-soft: 0 0 4rem 1rem #ff66331f;

  --container: 72rem;
  --gutter: 5%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.375rem; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 6rem 0; }
.section--ice { background: var(--ice); }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.hl-teal { color: var(--teal); }
.hl-orange { color: var(--orange); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 40rem; }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head .lead { margin-top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn--primary { background: var(--teal); color: var(--white); box-shadow: var(--glow-teal); }
.btn--primary:hover { box-shadow: var(--glow-teal-hover); }
.btn--ghost { background: var(--white); color: var(--navy); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; padding: 1rem 0; }
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  box-shadow: 0 8px 32px -12px #0e0e5326;
}
.nav__logo img { width: 9.5rem; height: auto; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav__links a:not(.btn):hover { color: var(--teal); }
@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
  .nav__logo img { width: 8rem; }
  .nav__bar .btn { padding: 0.75rem 1.1rem; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(40rem 26rem at 85% 20%, #24baff26, transparent 70%),
    radial-gradient(30rem 20rem at 10% 90%, #ff663314, transparent 70%);
}
.hero .lead { margin-top: 1.5rem; }
.hero h1 { max-width: 52rem; }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted); }
.card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--orange-light);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }

/* Comparison */
.compare .card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.compare .card li { display: flex; gap: 0.6rem; align-items: baseline; }
.compare .card li::before { content: "\2715"; color: var(--muted); font-size: 0.8rem; }
.compare .card--good { background: var(--navy); color: var(--white); box-shadow: var(--glow-orange-soft); }
.compare .card--good p { color: #ffffffb3; }
.compare .card--good li::before { content: "\2713"; color: var(--teal); }

/* CTA band */
.cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 2rem;
  padding: 4rem var(--gutter);
  text-align: center;
  background-image: radial-gradient(30rem 16rem at 50% 0%, #24baff33, transparent 70%);
}
.cta .lead { color: #ffffffb3; margin: 1rem auto 0; }
.cta .btn-row { justify-content: center; }

/* Contact */
.contact-list { display: grid; gap: 0.35rem; margin-top: 1rem; }
.contact-list a { font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--teal); }
address { font-style: normal; margin-top: 1rem; line-height: 1.7; }
.note { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }

/* Prose (privacy) */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.prose a { color: var(--teal); }

/* Footer */
.footer { background: var(--navy); color: var(--white); padding: 4rem 0 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer img { width: 9.5rem; height: auto; }
.footer h4 { margin: 0 0 0.75rem; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.footer p, .footer address, .footer a { color: #ffffffcc; font-size: 0.95rem; }
.footer a { text-decoration: none; display: block; }
.footer a:hover { color: var(--teal); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff26;
  font-size: 0.85rem;
  color: #ffffff99;
}
.footer__bottom a { display: inline; font-size: 0.85rem; }

@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .card { padding: 1.5rem; }
}

/* Centered hero with shield artwork and partner badge (as on ig.systems) */
.hero--center { text-align: center; padding: 3rem 0 4rem; background: url("/img/bg-shield.svg") center top / 1440px auto no-repeat, radial-gradient(40rem 26rem at 50% 30%, #24baff1f, transparent 70%); }
.hero--center h1, .hero--center .lead { margin-left: auto; margin-right: auto; }
.hero--center .btn-row { justify-content: center; }
.badge { width: 6.5rem; height: auto; margin: 0 auto 1.5rem; filter: drop-shadow(0 12px 24px #ff663333); }

/* Customer logo strip */
.logos { padding: 2.5rem 0 1rem; text-align: center; }
.logos p { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.75rem; }

/* Feature cards with orange icons */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }
.card__icon img { width: 1.6rem; height: 1.6rem; }
.card--line { border: 1px solid #0e0e5314; }

/* Cloudflare pillars */
.pillar { display: grid; gap: 2rem 4rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: start; padding: 3rem 0; border-top: 1px solid #0e0e531a; }
.pillar:first-of-type { border-top: 0; padding-top: 0; }
.pillar h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.pillar .lead { margin-top: 1rem; font-size: 1.1rem; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pillar li { background: var(--white); border-radius: 1rem; padding: 1.1rem 1.25rem 1.1rem 3rem; position: relative; color: var(--navy); }
.pillar li::before { content: ""; position: absolute; left: 1.25rem; top: 1.45rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--orange); }

/* Network numbers */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.stat { background: var(--navy); color: var(--white); border-radius: var(--radius-card); padding: 2rem; background-image: radial-gradient(16rem 10rem at 100% 0%, #24baff33, transparent 70%); }
.stat strong { display: block; font-size: 3rem; font-weight: 600; line-height: 1; color: var(--teal); }
.stat strong small { font-size: 1.25rem; margin-left: 0.25rem; }
.stat p { margin-top: 1rem; color: #ffffffb3; }
.source { margin-top: 1.25rem; font-size: 0.85rem; color: var(--muted); }

.center { text-align: center; }
.mt-2 { margin-top: 2.5rem; }

/* Logo carousel: endless scroll with faded edges (CSS version of the ig.systems slider) */
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 25%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), #f8f8f800); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), #f8f8f800); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 6rem; padding-right: 6rem; margin: 0; list-style: none; }
.marquee__group img { width: 8rem; max-height: 2.6rem; height: auto; object-fit: contain; opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .marquee__group { gap: 3rem; padding-right: 3rem; }
  .marquee__group img { width: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Radar section */
.radar-head { text-align: center; max-width: 44rem; margin: 0 auto 2.5rem; }
.radar-head .lead { margin: 1rem auto 0; }

/* Vision */
.vision {
  text-align: center;
  padding: 7rem 0 9rem;
  background: url("/img/vision-bg.svg") 50% 95% / contain no-repeat, linear-gradient(180deg, var(--bg), var(--ice));
}
.vision .eyebrow { color: var(--teal); letter-spacing: 2px; }
.vision p { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.35; max-width: 56rem; margin: 0 auto; }
.vision p strong { font-weight: 600; color: var(--teal); }
.vision .btn-row { justify-content: center; }
