/* Patch Nexus website - design "C · Fleet". Fonts are served from this site (no Google Fonts request). */
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #ffffff; --soft: #eef5fb; --ink: #091a33; --muted: #52607a; --line: #d9e3ef;
  --accent: #0756de; --sky: #3aa8df; --deep: #052a5c; --ok: #0a7a4b; --danger: #9f1239;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; padding: 14px 40px; }
.nav .brand img { height: 30px; width: auto; }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav .links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: 600 15px var(--body); text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; white-space: nowrap; }
.btn.pri { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: no-preference) { .btn.pri { transition: transform .15s ease, box-shadow .15s ease; } .btn.pri:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(5,42,92,.25); } }

/* ---------- hero ---------- */
.hero { margin: 8px 24px 0; border-radius: 28px; padding: 64px 48px 0; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(58,168,223,.35), transparent 60%), linear-gradient(160deg, #052a5c, #0756de 70%, #3aa8df); }
.hexes { position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17z' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 56px 64px; }
.hero-in { position: relative; display: grid; gap: 22px; max-width: 780px; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: 13px; width: fit-content; }
h1.big { font: 800 clamp(38px, 5.6vw, 72px)/1 var(--display); letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.lede { font-size: 19px; color: rgba(255,255,255,.88); max-width: 56ch; margin: 0; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; }
.hero .btn.pri { background: #fff; color: var(--deep); border-color: #fff; }
.hero .shot { position: relative; margin-top: 44px; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -10px 60px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.3); border-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0 24px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 28px 28px; }
.stats div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 800 22px var(--display); color: var(--deep); }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 88px 48px; }
.section.tight { padding-top: 0; }
h2 { font: 800 clamp(30px, 3.8vw, 46px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; max-width: 22ch; }
.sub { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0; }
.eyebrow { font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }

/* tour */
.tour { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 28px; margin-top: 36px; align-items: start; }
.tour .list { display: grid; gap: 8px; }
.tour [role="tab"] { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font: 15px var(--body); color: var(--ink); cursor: pointer; }
.tour [role="tab"] b { display: block; font-weight: 700; margin-bottom: 2px; }
.tour [role="tab"] span { color: var(--muted); font-size: 14px; }
.tour [role="tab"][aria-selected="true"] { background: var(--soft); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tour figure { margin: 0; }
.tour .frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(5,42,92,.12); background: #f3f5f9; cursor: zoom-in; display: block; padding: 0; width: 100%; }
.tour figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
.tag-gold { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7a5200; background: #fff1cc; border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }

/* features */
.feat { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.feat > div { background: var(--soft); border-radius: 18px; padding: 22px; }
.feat svg { width: 30px; height: 30px; color: var(--accent); }
.feat h3 { font: 700 17px var(--display); margin: 10px 0 6px; }
.feat p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* how it works */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 46px; margin-bottom: 14px; font: 800 18px var(--display); color: #fff; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.steps h3 { font: 700 19px var(--display); margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* security band */
.secure { margin: 0 24px 24px; border-radius: 28px; background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.secure .hexes { opacity: .07; }
.secure .sub { color: rgba(255,255,255,.8); }
.secure .eyebrow { color: var(--sky); }
.checks { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.checks li { padding-left: 26px; position: relative; color: rgba(255,255,255,.88); font-size: 15px; }
.checks li b { color: #fff; display: block; }
.checks li::before, .plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 16px; background: var(--sky); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* pricing */
.pricing { background: var(--soft); border-radius: 28px; margin: 0 24px; }
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-top: 18px; }
.toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font: 600 14px var(--body); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 26px; max-width: 980px; }
.plan { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.plan.gold { background: var(--deep); color: #fff; border-color: var(--deep); }
.plan.gold .muted, .plan.gold li { color: rgba(255,255,255,.86); }
.plan h3 { font: 800 24px var(--display); margin: 0; display: flex; align-items: center; gap: 10px; }
.badge { font: 700 12px var(--body); background: var(--sky); color: #04223f; border-radius: 999px; padding: 3px 10px; letter-spacing: .02em; }
.price { font: 800 48px/1 var(--display); font-variant-numeric: tabular-nums; }
.price small { font: 500 15px var(--body); opacity: .75; }
.muted { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { top: 4px; }
.plan .btn { justify-self: start; margin-top: 6px; }
.plan.gold .btn { background: #fff; color: var(--deep); border-color: #fff; }
.feebar { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.feebar span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.feebar strong { color: var(--ok); }

/* faq */
.faq { margin-top: 30px; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font: 700 17px var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 26px var(--body); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* demo form */
.demo { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.demo .points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--muted); }
.demo .points li { padding-left: 26px; position: relative; }
.demo .points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 16px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
form.card { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 20px 50px rgba(5,42,92,.08); }
form.card label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
form.card label .opt { font-weight: 400; color: var(--muted); }
form.card .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #c7d3e3; border-radius: 10px; padding: 11px 12px; font: 16px var(--body); color: var(--ink); background: #fff; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.legal { font-size: 12px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; border-radius: 10px; padding: 12px 14px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: #e3f4eb; color: #075c38; }
.form-msg.err { display: block; background: #fbe7ed; color: var(--danger); }
.grecaptcha-badge { visibility: hidden !important; }

/* footer */
.foot { margin-top: 40px; border-top: 1px solid var(--line); }
.foot .wrap { padding: 28px 48px; display: flex; gap: 18px 26px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }
.foot img { height: 24px; width: auto; }
.foot a { color: var(--muted); }
.foot .sp { margin-left: auto; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(4,14,30,.88); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 10px; font-size: 22px; width: 42px; height: 42px; cursor: pointer; }

/* cookie notice */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 16px; display: none; gap: 14px; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.3); font-size: 14px; }
.cookie.on { display: flex; }
.cookie a { color: #9fd3f1; }
.cookie .btn { padding: 8px 16px; margin-left: auto; }

/* legal pages */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 24px 24px; }
.doc h1 { font: 800 clamp(32px, 4vw, 44px)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.doc h2 { font-size: 22px; max-width: none; margin: 34px 0 8px; }
.doc p, .doc li { color: #2b3a55; }
.doc .updated { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .nav .links { display: none; }
  .nav .wrap { padding: 12px 20px; justify-content: space-between; }
  .section { padding: 64px 20px; }
  .hero { padding: 44px 22px 0; margin: 4px 12px 0; }
  .stats, .pricing { margin: 0 12px; } .secure { margin: 0 12px 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tour, .demo { grid-template-columns: minmax(0,1fr); }
  .tour .list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feat { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps, .checks, .plans { grid-template-columns: minmax(0,1fr); }
  .foot .wrap { padding: 24px 20px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .nav .brand img { height: 26px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
  .lede { font-size: 17px; }
  .hero .shot { margin-top: 32px; }
  .tour .list { grid-template-columns: minmax(0,1fr); }
  .feat { grid-template-columns: minmax(0,1fr); }
  form.card { grid-template-columns: minmax(0,1fr); padding: 20px; }
  .price { font-size: 40px; }
  .foot .sp { margin-left: 0; }
}

/* ---------- accessibility menu (assets/a11y.js) - right side, outside every effect it applies ---------- */
.a11y { position: fixed; right: 16px; top: 96px; z-index: 90; font: 15px/1.4 "Figtree", Arial, sans-serif; color: #091a33; }
.a11y-toggle { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: #0756de; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(5,42,92,.35); }
.a11y-toggle svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.a11y-toggle svg circle { fill: currentColor; stroke: none; }
.a11y-toggle:focus-visible { outline: 3px solid #ffbf00; outline-offset: 3px; }
.a11y-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a11y-panel { position: absolute; right: 0; top: 62px; width: 340px; max-width: calc(100vw - 32px); max-height: calc(100vh - 180px); overflow: auto; background: #fff; border: 1px solid #c7d3e3; border-radius: 16px; box-shadow: 0 20px 60px rgba(5,42,92,.3); padding: 16px; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.a11y-head h2 { font: 800 20px "Bricolage Grotesque", Arial, sans-serif; margin: 0; max-width: none; letter-spacing: 0; }
.a11y-close { border: 0; background: #eef5fb; border-radius: 10px; width: 36px; height: 36px; font-size: 22px; cursor: pointer; color: #091a33; }
.a11y-size { display: flex; align-items: center; gap: 8px; background: #eef5fb; border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; }
.a11y-size span { margin-right: auto; font-weight: 600; }
.a11y-size button { width: 44px; height: 36px; border-radius: 9px; border: 1px solid #c7d3e3; background: #fff; font-weight: 700; cursor: pointer; color: #091a33; }
.a11y-size button:disabled { opacity: .4; cursor: default; }
.a11y-size output { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { display: grid; justify-items: center; gap: 6px; padding: 12px 8px; border-radius: 12px; border: 1px solid #c7d3e3; background: #fff; cursor: pointer; font: 600 13.5px/1.25 "Figtree", Arial, sans-serif; color: #091a33; text-align: center; }
.a11y-grid svg { width: 24px; height: 24px; fill: none; stroke: #0756de; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a11y-grid button[aria-pressed="true"] { background: #0756de; border-color: #0756de; color: #fff; }
.a11y-grid button[aria-pressed="true"] svg { stroke: #fff; }
.a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid #ffbf00; outline-offset: 2px; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
.a11y-reset { border: 1px solid #c7d3e3; background: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 600; cursor: pointer; color: #091a33; }
.a11y-foot a { color: #0756de; font-weight: 600; }
@media (max-width: 600px) { .a11y { top: auto; bottom: 16px; right: 12px; } .a11y-panel { top: auto; bottom: 62px; max-height: calc(100vh - 120px); } .a11y-toggle { width: 48px; height: 48px; } }
.cookie { padding-right: 76px; }
@media (max-width: 600px) { .cookie { right: 72px; padding-right: 16px; } }

/* effects - applied to the page, never to the menu itself */
html.a11y-size-1 body > :not(.a11y) { zoom: 1.15; }
html.a11y-size-2 body > :not(.a11y) { zoom: 1.3; }
html.a11y-size-3 body > :not(.a11y) { zoom: 1.45; }
html.a11y-size-4 body > :not(.a11y) { zoom: 1.6; }
html.a11y-gray body > :not(.a11y) { filter: grayscale(1); }
html.a11y-dark body { background: #000; }
html.a11y-dark body > :not(.a11y) { filter: invert(1) hue-rotate(180deg); }
html.a11y-dark body > :not(.a11y) img { filter: invert(1) hue-rotate(180deg); }
html.a11y-dark.a11y-gray body > :not(.a11y) { filter: invert(1) hue-rotate(180deg) grayscale(1); }
html.a11y-contrast body, html.a11y-contrast body > :not(.a11y) *:not(img):not(svg):not(path):not(rect):not(circle) { background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast body > :not(.a11y) .hexes { display: none; }
html.a11y-contrast body > :not(.a11y) a, html.a11y-contrast body > :not(.a11y) a * { color: #ffe14d !important; }
html.a11y-contrast body > :not(.a11y) .btn { border: 2px solid #ffe14d !important; }
html.a11y-light body, html.a11y-light body > :not(.a11y) *:not(img):not(svg):not(path):not(rect):not(circle) { background: #fff !important; color: #000 !important; box-shadow: none !important; }
html.a11y-light body > :not(.a11y) .hexes { display: none; }
html.a11y-light body > :not(.a11y) a { color: #0033aa !important; }
html.a11y-light body > :not(.a11y) .btn, html.a11y-light body > :not(.a11y) .plan, html.a11y-light body > :not(.a11y) .feat > div { border: 2px solid #000 !important; }
html.a11y-links body > :not(.a11y) a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid #ffbf00; outline-offset: 2px; background: #fff3c4 !important; color: #001a66 !important; }
html.a11y-headings body > :not(.a11y) :is(h1, h2, h3, summary) { outline: 3px dashed #ffbf00; outline-offset: 4px; }
html.a11y-font body > :not(.a11y), html.a11y-font body > :not(.a11y) * { font-family: Arial, Verdana, Helvetica, sans-serif !important; letter-spacing: normal !important; }
html.a11y-spacing body > :not(.a11y) :is(p, li, a, span, label, summary, h1, h2, h3, b, small, div) { letter-spacing: .12em !important; word-spacing: .16em !important; line-height: 1.8 !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8-6.5 2L9.5 19z' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-focus *:focus { outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #001a66 !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.a11y-alt { display: block; margin: 6px 0; padding: 6px 10px; background: #fff3c4; color: #001a66; border-left: 4px solid #ffbf00; font: 14px/1.4 Arial, sans-serif; border-radius: 4px; }
