/* MSPRenew website */
:root {
  --bg: #0a1724;
  --bg-2: #0d1f30;
  --bg-3: #11283d;
  --line: rgba(120, 190, 220, 0.14);
  --line-strong: rgba(47, 209, 209, 0.35);
  --text: #eaf2f7;
  --muted: #a3b7c7;
  --teal: #18a5ab;
  --teal-bright: #2fd1d1;
  --blue: #1e5fae;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.narrow-wrap { max-width: 860px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  color: var(--teal-bright);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .9em;
}
.lead { font-size: 1.18rem; color: var(--muted); }
.grad {
  background: linear-gradient(90deg, var(--teal-bright), var(--teal) 55%, #3f8fe0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #1fb9bf, #13959b);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(47, 209, 209, .3), 0 8px 30px rgba(24, 165, 171, .35);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(47, 209, 209, .5), 0 10px 36px rgba(24, 165, 171, .55); }
.btn-ghost { color: var(--text); border-color: rgba(234, 242, 247, .35); }
.btn-ghost:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.btn-sm { padding: .55em 1.15em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 23, 36, .78);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 38px; }
.brand-word { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-word span { color: var(--teal); font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .98rem; }
.nav-menu a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 700px;
  background: radial-gradient(closest-side, rgba(24, 165, 171, .22), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero .lead { max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); }
.hero-art { margin: 0; }
.hero-art img, .split-art img, .wide-art img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split-rev { grid-template-columns: 1fr 1.1fr; }
.split-art { margin: 0; }
.split-copy p { color: var(--muted); }

.pain { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.pain li { position: relative; padding-left: 30px; color: var(--muted); }
.pain li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #e0626a; background: radial-gradient(circle, #e0626a 30%, transparent 35%);
}
.pain strong { color: var(--text); }

.wide-art { margin: 48px auto; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar, .card, .benefit, .step, .int-group, .sec {
  background: linear-gradient(180deg, rgba(23, 52, 78, .55), rgba(13, 31, 48, .55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.pillar:hover, .card:hover, .sec:hover, .step:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pillar p, .card p, .step p, .sec p, .int-group p { color: var(--muted); margin: 0; font-size: .98rem; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(24, 165, 171, .14); border: 1px solid rgba(47, 209, 209, .3);
}
.pillar-icon svg, .contact-list svg {
  width: 24px; height: 24px; fill: none; stroke: var(--teal-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Tabs */
.tabs {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 44px 0 36px;
}
.tabs button {
  font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--text);
  padding: .7em 2.1em; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(234, 242, 247, .35);
  transition: all .2s;
}
.tabs button:hover { border-color: var(--teal-bright); }
.tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, #1fb9bf, #13959b); border-color: transparent;
  box-shadow: 0 0 24px rgba(24, 165, 171, .5);
}
.tabs button:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
.tab-panel { animation: fade .35s ease; }
.panel-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.panel-head p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card h4 { color: var(--text); }
.card h4::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--teal-bright), var(--blue));
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Showcase */
.flow { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.flow li { display: flex; gap: 16px; align-items: flex-start; color: var(--muted); }
.flow li > span {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: var(--bg); background: var(--teal-bright);
}
.flow strong { color: var(--text); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.benefit ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.benefit li { position: relative; padding-left: 28px; color: var(--muted); }
.benefit li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal-bright); border-bottom: 2.5px solid var(--teal-bright); transform: rotate(-45deg);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.step-n {
  display: inline-block; font-size: 2.2rem; font-weight: 800; margin-bottom: 8px;
  background: linear-gradient(180deg, var(--teal-bright), rgba(47, 209, 209, .25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.int-group h3 { font-size: 1.05rem; margin-bottom: 16px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: .38em .9em; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(24, 165, 171, .1); border: 1px solid rgba(47, 209, 209, .25);
}
.chips em { color: var(--muted); font-style: normal; font-size: .85em; }
.int-ask { border-style: dashed; border-color: var(--line-strong); }
.link-arrow { display: inline-block; margin-top: 14px; font-weight: 600; }
.link-arrow::after { content: " \2192"; }
.tm { color: #6f8798; font-size: .82rem; margin-top: 24px; text-align: center; }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.sec h3::before {
  content: ""; flex: none; width: 22px; height: 24px;
  background: var(--teal-bright);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.2 3.4 9.4 8 11 4.6-1.6 8-5.8 8-11V5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.2 3.4 9.4 8 11 4.6-1.6 8-5.8 8-11V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; background: rgba(17, 40, 61, .5);
  padding: 0 24px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal-bright); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA banner */
.cta-banner { padding: 24px 0 40px; }
.cta-card {
  position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); background: #0b1a28;
}
.cta-card { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
.cta-card img { width: 100%; aspect-ratio: 2000 / 1116; object-fit: cover; }
.cta-card-body { padding: 40px 48px 40px 16px; }
.cta-card-body p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list svg {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: rgba(24, 165, 171, .14); border: 1px solid rgba(47, 209, 209, .3);
}
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--teal-bright); }
.contact-form {
  background: linear-gradient(180deg, rgba(23, 52, 78, .6), rgba(13, 31, 48, .6));
  border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  background: rgba(8, 18, 29, .7); border: 1px solid rgba(120, 190, 220, .22); border-radius: 10px;
  padding: .75em .9em; transition: border-color .2s, box-shadow .2s;
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form select option { background: var(--bg-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(47, 209, 209, .18);
}
.contact-form .invalid { border-color: #e0626a; }
.contact-form button { justify-self: start; }
.form-note { color: #7d93a4; font-size: .88rem; margin: 0; }
.form-note.error { color: #ff8f96; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #08131e; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-tag { color: var(--muted); margin-top: 12px; }
.site-footer nav, .footer-contact { display: grid; gap: 8px; align-content: start; }
.site-footer nav a, .footer-contact a { color: var(--muted); }
.site-footer nav a:hover, .footer-contact a:hover { color: var(--teal-bright); }
.footer-contact span { color: var(--muted); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: #6f8798; font-size: .88rem; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tab-panel { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .cards, .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
  .int-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 23, 36, .98); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-menu .btn { margin-top: 16px; }
  .hero { padding: 48px 0 72px; }
  .hero-grid, .split, .split-rev, .contact { grid-template-columns: 1fr; gap: 36px; }
  .split-rev .split-art { order: -1; }
  .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card-body { padding: 8px 24px 32px; text-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .cards, .pillars, .steps, .int-grid, .sec-grid, .field-row { grid-template-columns: 1fr; }
  .tabs { gap: 8px; }
  .tabs button { padding: .6em 1.2em; font-size: .98rem; }
  .contact-form { padding: 22px; }
  .contact-form button { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
