/* PulseDesk site. Deep petrol navy, teal and the cyan of the pulse. */
:root {
  color-scheme: light;
  --bg: #f3f7f8;
  --surface: #ffffff;
  --ink: #0f2a3a;
  --muted: #4f6b7c;
  --line: #d6e3e8;
  --primary: #13566f;
  --primary-ink: #ffffff;
  --teal: #16809e;
  --pulse: #22e3f2;
  --navy: #0d2a38;
  --navy-2: #0f3550;
  --soft: #e2f7fa;
  --radius: 16px;
  --shadow: 0 10px 30px rgb(15 42 58 / 8%);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a2230;
    --surface: #0f2c3c;
    --ink: #e6f2f6;
    --muted: #9fbccb;
    --line: #244757;
    --primary: #2fd5e6;
    --primary-ink: #082030;
    --teal: #6eeaf4;
    --soft: #0f3a46;
    --shadow: 0 10px 30px rgb(0 0 0 / 25%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--pulse); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 34px; width: auto; }
.brand .on-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .on-light { display: none; } .brand .on-dark { display: block; } }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-pulse { background: var(--pulse); color: #082030; box-shadow: 0 0 24px rgb(34 227 242 / 35%); }
.btn-ghost { border-color: rgb(255 255 255 / 30%); color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
@media (max-width: 760px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 40%, rgb(34 227 242 / 16%), transparent 55%), var(--navy); color: #fff; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 88px 96px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--pulse); text-shadow: 0 0 24px rgb(34 227 242 / 40%); }
.hero p.lead { margin: 0 0 30px; max-width: 34rem; color: #c5d8e1; font-size: 19px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(320px, 70vw); filter: drop-shadow(0 0 40px rgb(34 227 242 / 35%)); }
.wave { position: absolute; inset: auto 0 0 0; height: 140px; width: 100%; opacity: .5; pointer-events: none; }
.wave path { fill: none; stroke: var(--pulse); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .wave path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 6s ease-in-out infinite; }
}
@keyframes draw { 0% { stroke-dashoffset: 2600; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -2600; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 88px; }
  .hero-art { order: -1; }
  .hero-art img { width: 160px; }
}

/* Sections */
section { padding-block: 80px; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.025em; }
.sub { margin: 0 0 40px; max-width: 42rem; color: var(--muted); font-size: 18px; }

.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.channel strong { display: block; margin-bottom: 4px; font-size: 17px; }
.channel span { color: var(--muted); font-size: 15px; }
.dot { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--soft); color: var(--teal); }
.dot svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .channels { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.band { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--pulse); font-weight: 800; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 10px var(--pulse); }
@media (max-width: 700px) { .trust { grid-template-columns: 1fr; } }

.cta { background: radial-gradient(ellipse at 20% 0%, rgb(34 227 242 / 18%), transparent 60%), var(--navy-2); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #c5d8e1; }
@media (max-width: 600px) { .cta { padding: 32px 24px; } }

/* Footer */
footer { padding-block: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }

/* Legal documents */
.doc { padding-block: 48px 72px; }
.doc .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.doc .tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 550; }
.doc .tabs a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.doc article { max-width: 780px; padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.025em; line-height: 1.15; }
.doc h2 { margin: 32px 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .updated { margin-top: 32px; color: var(--muted); font-size: 14px; }
.doc .note { padding: 14px 16px; border-radius: 12px; background: var(--soft); }
