:root {
  --navy: #0f2a4f;
  --navy-2: #0b1f3b;
  --ink: #13233d;
  --muted: #5b6b82;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --blue: #2585c9;
  --teal: #4bc0b0;
  --grad: linear-gradient(90deg, var(--blue), var(--teal));
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 79, .06), 0 8px 24px rgba(15, 42, 79, .06);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { height: 32px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { white-space: nowrap; display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.menu .has-sub { position: relative; }
.menu .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0; }
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub { display: block; }
.menu .sub a { font-weight: 500; }
.menu .sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(37, 133, 201, .28); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(75, 192, 176, .28), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(37, 133, 201, .35), transparent 60%), var(--navy-2); color: #dbe6f5; }
.hero .wrap { padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.2rem; max-width: 60ch; color: #c6d4e8; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 26px; }
.hero-card h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.hero-card li svg { flex: none; margin-top: 3px; }
.page-hero .wrap { padding-top: 72px; padding-bottom: 64px; }
.page-hero h1 { max-width: 22ch; }

/* Sections */
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: #c9d8ea; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(37, 133, 201, .12), rgba(75, 192, 176, .16)); color: var(--blue); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.6 7.3-5.3 5.9a1 1 0 0 1-1.5 0L5.4 10.6a1 1 0 1 1 1.5-1.3l1.7 1.8 4.6-5.1a1 1 0 0 1 1.4 1.3Z'/%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 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.6 7.3-5.3 5.9a1 1 0 0 1-1.5 0L5.4 10.6a1 1 0 1 1 1.5-1.3l1.7 1.8 4.6-5.1a1 1 0 0 1 1.4 1.3Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.checks.cols { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 14px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.step p { color: var(--muted); }

.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line); margin-bottom: 12px; }

.cta-band { background: var(--grad); color: #fff; border-radius: 22px; padding: 52px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line strong { display: block; color: var(--navy); }
.contact-line a { font-weight: 600; text-decoration: none; }
.hs-wrap { min-height: 340px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }

/* Footer */
.site-footer { background: var(--navy-2); color: #a9bad2; padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: #d7e2f1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.foot-brand img { height: 30px; background: #fff; border-radius: 8px; padding: 4px 6px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .menu, .nav-cta .btn-ghost { display: none; }
  .site-header.open .menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-header.open .menu .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; margin: 0; min-width: 0; }
}
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .grid-4, .steps, .foot-grid, .checks.cols { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .nav-cta .btn-primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card { transition: none; }
}

/* HubSpot embedded forms */
.hs-form fieldset { max-width: none !important; }
.hs-form .hs-form-field { margin-bottom: 16px; }
.hs-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) { width: 100% !important; font: inherit; padding: 11px 14px; border: 1px solid #cfd9e6; border-radius: 10px; background: #fff; color: var(--ink); }
.hs-form .hs-input:focus { outline: 2px solid rgba(37, 133, 201, .35); border-color: var(--blue); }
.hs-form textarea.hs-input { min-height: 120px; }
.hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 6px 0 0; color: #c0392b; font-size: .85rem; }
.hs-form .hs-button { font: inherit; font-weight: 700; color: #fff; background: var(--grad); border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer; box-shadow: 0 6px 18px rgba(37, 133, 201, .28); }
.hs-form .legal-consent-container { font-size: .85rem; color: var(--muted); }
.submitted-message { padding: 18px; border-radius: 10px; background: var(--bg-soft); }

/* Support: step-by-step guide */
.guide { list-style: none; counter-reset: guide; margin: 0; padding: 0; display: grid; gap: 28px; }
.guide-step { counter-increment: guide; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.guide-text h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.guide-text h3::before { content: counter(guide); flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; color: #fff; background: var(--grad); }
.guide-text p { color: var(--muted); }
.guide-text .checks { margin-bottom: 1em; }
.guide-shot { margin: 0; }
.guide-shot > img, .guide-wide > img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15, 42, 79, .12); }
.guide-wide { margin: 28px auto 0; max-width: 820px; }
.guide-wide figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 10px; }
.inline-icon { vertical-align: -4px; border-radius: 4px; }
.tray-demo { position: relative; height: 260px; border-radius: 12px; background: linear-gradient(160deg, #3a6ea5, #1c3d66 70%); overflow: hidden; border: 1px solid var(--line); }
.tray-demo .taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: rgba(20, 24, 33, .92); display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 16px; color: #e8edf5; font-size: .85rem; }
.tray-demo .taskbar img { width: 22px; height: 22px; border-radius: 4px; outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 3px; }
.tray-demo .chev { opacity: .8; }
.tray-demo .tray-menu { position: absolute; right: 70px; bottom: 54px; width: 190px; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); padding: 6px; display: grid; font-size: .9rem; color: var(--ink); }
.tray-demo .tray-menu span { padding: 6px 10px; border-radius: 5px; }
.tray-demo .tray-menu span.on { background: #e8f1fb; color: var(--navy); font-weight: 600; }
.tray-demo .tray-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; width: auto; }
@media (max-width: 900px) {
  .guide-step { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
}
@media (max-width: 600px) {
  .guide-step { padding: 18px; }
}
