:root {
  --brand: #667eea;
  --brand-2: #764ba2;
  --brand-dark: #4b5fd0;
  --navy: #14152a;
  --navy-2: #1d1f3a;
  --text: #1c1e2b;
  --muted: #5b6075;
  --bg: #ffffff;
  --alt: #f5f6fb;
  --border: #e2e5f0;
  --ok: #34c38f;
  --warn: #f2b552;
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(30, 35, 90, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand-dark); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--brand-dark); margin: 0 0 0.75rem; }
.grad { background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.2rem; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; }
.primary ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; }
.primary a { display: inline-block; padding: 0.5rem 0.85rem; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.primary a:hover, .primary a[aria-current='page'] { background: var(--alt); color: var(--brand-dark); }
.primary .btn { color: #fff; margin-left: 0.5rem; }
.primary .btn:hover { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; filter: brightness(1.08); }
.has-sub { position: relative; }
.has-sub.mega { position: static; }
.nav { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 18rem; flex-direction: column; align-items: stretch !important; gap: 0 !important; padding: 0.5rem !important; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 0.7rem; width: 100%; }
.sub .icon { color: var(--brand-dark); flex: none; }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; content: ''; }
.bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }

/* Buttons */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 10px; border: 1px solid transparent; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform 0.12s, filter 0.12s, background 0.12s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--brand-dark); border-color: var(--border); }
.btn-ghost-dark:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Hero */
.hero, .page-hero { background: radial-gradient(60rem 28rem at 85% -20%, rgba(118, 75, 162, 0.55), transparent 70%), radial-gradient(48rem 24rem at 0% 120%, rgba(102, 126, 234, 0.4), transparent 70%), var(--navy); color: #fff; }
.hero { padding: 2.75rem 0 3.5rem; position: relative; overflow: hidden; }
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.net-canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease; }
.net-canvas.on { opacity: 1; }
.hero > .container { position: relative; z-index: 1; }
.hero .eyebrow, .page-hero .eyebrow { color: #aab6ff; }
.hero .lead, .page-hero .lead { color: #c9cde6; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 3rem; align-items: start; }
.hero h1 { margin-bottom: 1.25rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 2rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.chips li { padding: 0.3rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; font-size: 0.82rem; color: #d6d9ef; background: rgba(255, 255, 255, 0.05); }
.page-hero { padding: 4.5rem 0 4rem; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); max-width: 46rem; }

/* Sections */
.section { padding: 5rem 0; }
.section.alt { background: var(--alt); }
.section-head { margin-bottom: 2.5rem; }
.section-head .lead { margin-top: 0.5rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card { display: block; padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: inherit; text-decoration: none; }
.section.alt .card { background: #fff; }
.card p { color: var(--muted); margin-bottom: 0; }
.service-card { display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: inherit; }
.service-card p { flex: 1; margin-bottom: 1.1rem; }
.card-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: 12px; background: linear-gradient(135deg, rgba(102, 126, 234, 0.14), rgba(118, 75, 162, 0.14)); color: var(--brand-dark); }
.more { color: var(--brand-dark); font-weight: 600; font-size: 0.93rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; padding: 0; margin: 0 0 2rem; }
.steps li { padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.steps p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin-bottom: 0.9rem; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; flex: none; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 1.25rem; padding-bottom: 2rem; position: relative; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 1.1rem; top: 2.5rem; bottom: 0.25rem; width: 2px; background: var(--border); }
.timeline p { color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0.7rem 0 0.7rem 2.1rem; border-bottom: 1px solid var(--border); }
.checks li::before { content: ''; position: absolute; left: 0.2rem; top: 1.05rem; width: 0.9rem; height: 0.5rem; border-left: 2.5px solid var(--brand-dark); border-bottom: 2.5px solid var(--brand-dark); transform: rotate(-45deg); }
.faq details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand-dark); }
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin: 0.75rem 0 0; color: var(--muted); }
.more-links { margin-top: 2rem; color: var(--muted); }
.crumbs { display: flex; gap: 0.5rem; padding: 1rem 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: #eceeff; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.note { padding: 1.25rem 1.4rem; background: var(--alt); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; }
.note ol { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.form { padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.form h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: 0.9rem; }
.req { color: #c0392b; margin-left: 0.15rem; }
.form input[type='text'], .form input[type='email'], .form input[type='tel'], .form select, .form textarea { display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.85rem; border: 1px solid #c9cde0; border-radius: 9px; background: #fff; color: var(--text); font: 400 1rem var(--font); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25); }
.form .check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 0.3rem; flex: none; }
.form .invalid { border-color: #c0392b !important; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 1rem 0 0; min-height: 1.5rem; font-weight: 600; }
.form-status.ok { color: #1c7c54; } .form-status.err { color: #c0392b; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Footer */
.site-footer { background: var(--navy); color: #c9cde6; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #c9cde6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.4rem 0; }
.brand-line { font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.foot-title { font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.site-footer .muted { color: #9ea4c6; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-base p { margin: 0; font-size: 0.88rem; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; }
  .primary { position: absolute; top: 4.25rem; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 0.75rem 1.25rem 1.25rem; display: none; }
  .primary.open { display: block; }
  .primary ul { flex-direction: column; align-items: stretch; gap: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 0.75rem !important; min-width: 0; }
  .primary .btn { margin: 0.5rem 0 0; text-align: center; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 560px) {
  .form .row { grid-template-columns: 1fr; }
  .form { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Service groups, grouped menu */
.service-group + .service-group { margin-top: 3rem; }
.group-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin: 0 0 1rem; font-size: 1.25rem; }
.group-title span { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.sub-label { padding: 0.55rem 0.85rem 0.25rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.sub-label:not(:first-child) { margin-top: 0.35rem; border-top: 1px solid var(--border); padding-top: 0.75rem; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem; }
.platforms h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.tags li { padding: 0.4rem 0.85rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
.platforms-sec { border-top: 1px solid var(--border); }
.platforms-sec .tags li { background: var(--alt); }

/* Delivery phases */
.phases { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; padding: 0; margin: 0; }
.phases > li { padding: 1.25rem; background: var(--alt); border: 1px solid var(--border); border-radius: var(--radius); }
.phases h3 { margin-bottom: 0.6rem; }
.phases ul { list-style: none; padding: 0; margin: 0; }
.phases ul li { position: relative; padding: 0.3rem 0 0.3rem 1.2rem; font-size: 0.9rem; color: var(--muted); }
.phases ul li::before { content: ''; position: absolute; left: 0.1rem; top: 0.7rem; width: 0.55rem; height: 0.3rem; border-left: 2px solid var(--brand-dark); border-bottom: 2px solid var(--brand-dark); transform: rotate(-45deg); }

/* Mega menu */
.mega-panel { position: absolute; top: 100%; left: 0; right: 0; min-width: 0; padding: 1.5rem 1.75rem 1rem !important; display: block !important; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; }
.mega-title { display: flex !important; align-items: center; gap: 0.5rem; padding: 0.3rem 0 !important; margin-bottom: 0.25rem; font-weight: 700 !important; color: var(--navy) !important; background: none !important; border-bottom: 1px solid var(--border); border-radius: 0 !important; }
.mega-title .icon { color: var(--brand-dark); }
.mega-col ul { display: block !important; position: static; padding: 0 !important; margin: 0; list-style: none; }
.mega-col li a { display: block; padding: 0.3rem 0 !important; font-size: 0.9rem !important; font-weight: 400 !important; color: var(--muted) !important; background: none !important; }
.mega-col li a:hover { color: var(--brand-dark) !important; }
.mega-foot { margin: 1rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
.mega-foot a { padding: 0 !important; font-weight: 600; color: var(--brand-dark) !important; }
.cat-card h3 a { color: inherit; text-decoration: none; }
.cat-card h3 a:hover { color: var(--brand-dark); }
.cat-links { list-style: none; padding: 0; margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.cat-links a { display: inline-block; padding: 0.2rem 0.65rem; background: var(--alt); border: 1px solid var(--border); border-radius: 999px; font-size: 0.8rem; color: var(--text); text-decoration: none; }
.cat-links a:hover { border-color: var(--brand); color: var(--brand-dark); }
.group-title a { color: inherit; text-decoration: none; }
.group-title a:hover { color: var(--brand-dark); }
.stack-strip { background: var(--navy-2); color: #d6d9ef; border-top: 1px solid rgba(255,255,255,0.08); }
.stack-strip .container { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; flex-wrap: wrap; }
.stack-strip > .container > span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #aab6ff; }
.stack-strip .tags li { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); color: #e4e6f7; font-size: 0.82rem; padding: 0.25rem 0.7rem; }
@media (max-width: 1100px) { .mega-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .has-sub.mega { position: relative; }
  .mega-panel { position: static; padding: 0 0 0 0.5rem !important; border: 0 !important; box-shadow: none !important; }
  .mega-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .mega-foot { display: none; }
}

/* Two-pillar layout */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); }
.mega-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem 3rem !important; }
.mega-panel { max-width: 46rem; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; width: 100%; }
.mega-col li a { padding: 0.35rem 0 !important; font-size: 0.93rem !important; }
@media (max-width: 960px) { .mega-panel { transform: none !important; left: 0 !important; max-width: none; } .mega-grid { grid-template-columns: 1fr !important; } }

/* Whole-card links on home tiles */
.cat-card { position: relative; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.cat-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.cat-card .cat-links a { position: relative; z-index: 1; }
.cat-card:focus-within { border-color: var(--brand); }

/* Service line pages */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); gap: 1.25rem; }
.offer-card { display: flex; flex-direction: column; padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.15s, box-shadow 0.15s; }
.offer-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.offer-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }
.offer-head .card-icon { margin: 0; flex: none; }
.offer-head h3 { margin: 0; font-size: 1.15rem; }
.offer-head h3 a { color: inherit; text-decoration: none; }
.offer-head h3 a:hover { color: var(--brand-dark); }
.offer-card > p { color: var(--muted); margin-bottom: 1rem; }
.offer-list { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.offer-list li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; font-size: 0.93rem; border-top: 1px solid var(--border); }
.offer-list li:first-child { border-top: 0; }
.offer-list li::before { content: ''; position: absolute; left: 0.15rem; top: 0.75rem; width: 0.6rem; height: 0.32rem; border-left: 2px solid var(--brand-dark); border-bottom: 2px solid var(--brand-dark); transform: rotate(-45deg); }
.note .checks { margin-top: 0.5rem; }
.note .checks li { font-size: 0.95rem; }

/* Whole-card links on service line pages */
.offer-card { position: relative; }
.offer-head h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.offer-card:focus-within { border-color: var(--brand); }

/* Customer goals */
.need-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.1rem; }
.need-card { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.need-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); color: inherit; }
.need-card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.need-card p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 0.9rem; }

/* Situations on service pages */
.sign-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; padding: 0; margin: 0; }
.sign-grid li { position: relative; padding: 1.2rem 1.3rem 1.2rem 3.1rem; background: var(--alt); border: 1px solid var(--border); border-radius: var(--radius); font-weight: 500; }
.sign-grid li::before { content: ''; position: absolute; left: 1.2rem; top: 1.45rem; width: 0.85rem; height: 0.5rem; border-left: 2.5px solid var(--brand-dark); border-bottom: 2.5px solid var(--brand-dark); transform: rotate(-45deg); }

/* Actionable help cards */
.help-card { display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s; }
.help-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.help-card p { flex: 1; margin-bottom: 1rem; }

/* Hero tagline */
.tagline { margin: -0.25rem 0 1.75rem; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: linear-gradient(90deg, #aab6ff, #e0c3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Service tiles */
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.1rem; }
.svc-tile { position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: var(--alt); border: 1px solid var(--border); border-radius: 16px; color: inherit; text-decoration: none; overflow: hidden; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s; }
.svc-tile::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.svc-tile:hover { transform: translateY(-4px); background: #fff; border-color: var(--brand); box-shadow: 0 16px 36px rgba(60, 70, 160, 0.16); color: inherit; }
.svc-tile:hover::before { transform: scaleX(1); }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.1rem; height: 3.1rem; margin-bottom: 1rem; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 18px rgba(102, 126, 234, 0.35); }
.svc-tile h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.svc-tile p { flex: 1; margin: 0 0 1.1rem; color: var(--muted); font-size: 0.93rem; }
.svc-more { color: var(--brand-dark); font-weight: 600; font-size: 0.92rem; }
.svc-more span { display: inline-block; transition: transform 0.18s; }
.svc-tile:hover .svc-more span { transform: translateX(4px); }
.cta-line { margin-top: 2.25rem; }

/* Security watch panel (hero) */
.vuln-panel { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 1.15rem 1.2rem 1rem; backdrop-filter: blur(6px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); color: #e8eafc; min-width: 0; }
.vp-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.65rem; margin-bottom: 0.85rem; }
.vp-head h2 { margin: 0; font-size: 1.05rem; letter-spacing: 0; color: #fff; }
.vp-sub { font-size: 0.78rem; color: #aab0d6; }
.vp-live { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #ff6b6b; box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); animation: vp-pulse 2s infinite; flex: none; }
@keyframes vp-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); } }
.vp-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.7rem; }
.vp-tab { padding: 0.28rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: transparent; color: #cfd3f0; font: 600 0.78rem var(--font); cursor: pointer; }
.vp-tab:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.vp-tab[aria-selected='true'] { background: #fff; border-color: #fff; color: var(--navy); }
.vp-tab:focus-visible { outline: 2px solid #aab6ff; outline-offset: 2px; }
.vp-pane { list-style: none; margin: 0; padding: 0; }
.vp-pane li { padding: 0.55rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.vp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.vp-cve { font: 700 0.84rem var(--font); color: #ffb4a8; text-decoration: none; letter-spacing: 0.02em; }
.vp-cve:hover { color: #ffd2c9; text-decoration: underline; }
.vp-date { font-size: 0.74rem; color: #9ea4cc; white-space: nowrap; }
.vp-name { margin: 0.15rem 0 0.15rem; font-size: 0.88rem; line-height: 1.35; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin: 0; font-size: 0.76rem; color: #a8aed4; }
.vp-badge { padding: 0 0.45rem; border-radius: 4px; background: rgba(255, 107, 107, 0.2); color: #ffb4a8; font-weight: 600; }
.vp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-top: 0.7rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.74rem; color: #959bc4; }
.vp-foot a { color: #b9c2ff; }
.vp-recent { font-weight: 600; color: #cfd3f0; }
.vp-cta { display: block; margin-top: 0.65rem; padding: 0.55rem 0.8rem; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.86rem; font-weight: 600; text-decoration: none; text-align: center; }
.vp-cta:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (prefers-reduced-motion: reduce) { .vp-live { animation: none; } }

/* How we work: progress bar and phase cards */
.stepper-sec { padding: 2.5rem 0 1rem; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; counter-reset: s; position: relative; }
.stepper li { position: relative; text-align: center; }
.stepper li:not(:last-child)::after { content: ''; position: absolute; top: 1.4rem; left: calc(50% + 1.8rem); right: calc(-50% + 1.8rem); height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: 0.35; }
.stepper a { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.stepper-n { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: 0 8px 18px rgba(102, 126, 234, 0.35); transition: transform 0.15s; }
.stepper a:hover .stepper-n { transform: scale(1.08); }
.stepper a:hover .stepper-t { color: var(--brand-dark); }
.phases-sec .container { display: grid; gap: 1.5rem; }
.phase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 22px rgba(30, 35, 90, 0.06); }
.phase-side { padding: 2rem; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; }
.phase-n { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-weight: 800; font-size: 1.3rem; }
.phase-kicker { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #aab6ff; }
.phase-side h2 { font-size: 1.7rem; margin-bottom: 0.6rem; color: #fff; }
.phase-side p:last-child { margin: 0; color: #c9cde6; }
.phase-body { padding: 1.75rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; align-content: start; }
.phase-col h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-dark); margin-bottom: 0.6rem; }
.phase-col ul { list-style: none; margin: 0; padding: 0; }
.phase-col li { position: relative; padding: 0.4rem 0 0.4rem 1.4rem; font-size: 0.95rem; border-top: 1px solid var(--border); }
.phase-col li:first-child { border-top: 0; }
.phase-col li::before { content: ''; position: absolute; left: 0.15rem; top: 0.85rem; width: 0.6rem; height: 0.32rem; border-left: 2px solid var(--brand-dark); border-bottom: 2px solid var(--brand-dark); transform: rotate(-45deg); }
.phase-you { grid-column: 1 / -1; margin: 0.25rem 0 0; padding: 0.85rem 1.1rem; background: var(--alt); border-radius: 10px; border-left: 3px solid var(--brand); font-size: 0.93rem; color: var(--muted); }
.phase-you strong { display: block; margin-bottom: 0.15rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
@media (max-width: 900px) {
  .stepper { grid-template-columns: 1fr; gap: 0.75rem; }
  .stepper li:not(:last-child)::after { display: none; }
  .stepper a { flex-direction: row; justify-content: flex-start; gap: 0.9rem; }
  .phase { grid-template-columns: 1fr; }
  .phase-body { grid-template-columns: 1fr; padding: 1.5rem; }
}

[hidden] { display: none !important; }

/* Badges (shared) */
.badge { display: inline-block; padding: 0.08rem 0.5rem; border-radius: 5px; font-size: 0.7rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.vp-badges, .vcard-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; }
.vp-badges .badge.zd { background: rgba(255, 90, 90, 0.25); color: #ffb4a8; }
.vp-badges .badge.zd2 { background: rgba(242, 181, 82, 0.22); color: #ffd58a; }
.vp-badges .badge.rce { background: rgba(170, 130, 255, 0.24); color: #d9c7ff; }
.vp-badges .badge.rw { background: rgba(255, 107, 107, 0.2); color: #ffb4a8; }
.vp-badges .badge.due { background: rgba(255, 255, 255, 0.12); color: #dfe3ff; }
.vp-badges .badge.cv { background: rgba(255, 255, 255, 0.1); color: #cfd3f0; }
.vcard-badges .badge.zd { background: #fde8e8; color: #a31d1d; }
.vcard-badges .badge.zd2 { background: #fff3d6; color: #8a5a00; }
.vcard-badges .badge.rce { background: #efe6ff; color: #5a2db3; }
.vcard-badges .badge.rw { background: #fde8e8; color: #a31d1d; }
.vcard-badges .badge.due { background: #e8ecfb; color: #2f3f9a; }
.vcard-badges .badge.cv { background: #eef0f6; color: #444a63; }

/* Panel additions */
.vp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; align-items: center; }
.vp-all { color: #fff; font-weight: 600; text-decoration: none; }
.vp-all:hover { text-decoration: underline; color: #fff; }
.vp-src { margin: 0.6rem 0 0; font-size: 0.72rem; color: #8f95bd; }
.vp-src a { color: #b9c2ff; }
.sub-compact { margin-top: 0.75rem; }
.sub-row { display: flex; gap: 0.5rem; }
.sub-row input { flex: 1; min-width: 0; padding: 0.55rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; font: 400 0.9rem var(--font); }
.sub-row input::placeholder { color: #aab0d6; }
.sub-row input:focus { outline: 2px solid #aab6ff; outline-offset: 1px; }
.sub-note { margin: 0.45rem 0 0; font-size: 0.72rem; color: #9ea4cc; }
.sub-note a { color: #b9c2ff; }
.sub-status { margin: 0.4rem 0 0; min-height: 1.1rem; font-size: 0.8rem; font-weight: 600; }
.sub-compact .sub-status.ok { color: #7ee2b0; } .sub-compact .sub-status.err { color: #ffb4a8; }
.sub-full .sub-status.ok { color: #1c7c54; } .sub-full .sub-status.err { color: #c0392b; }

/* Security watch page */
.watch-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.wtile { text-decoration: none; display: flex; flex-direction: column; padding: 1.3rem 1.5rem; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 16px; }
.wtile-n { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(90deg, #aab6ff, #e0c3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wtile-l { margin-top: 0.4rem; color: #c9cde6; font-size: 0.95rem; }
.wf-bar { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.wf-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wf-chip { padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text); font: 600 0.88rem var(--font); cursor: pointer; }
.wf-chip:hover { border-color: var(--brand); }
.wf-chip[aria-pressed='true'] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }
.wf-n { display: inline-block; margin-left: 0.25rem; padding: 0 0.4rem; border-radius: 999px; background: rgba(0, 0, 0, 0.08); font-size: 0.75rem; }
.wf-chip[aria-pressed='true'] .wf-n { background: rgba(255, 255, 255, 0.25); }
.wf-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.check-inline { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; font-weight: 500; margin: 0 1rem 0.25rem 0; cursor: pointer; }
.wf-count { margin-left: auto; color: var(--muted); font-size: 0.88rem; }
.vcard-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1rem; }
.vcard { display: flex; flex-direction: column; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.section.alt .vcard { background: #fff; }
.vcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.vcard-cve { font-weight: 800; color: #b3261e; text-decoration: none; letter-spacing: 0.01em; }
.vcard-cve:hover { text-decoration: underline; color: #8f1d17; }
.vcard-date { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.vcard h3 { margin: 0.55rem 0 0.2rem; font-size: 1.02rem; line-height: 1.35; }
.vcard-meta { margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--muted); }
.vcard-sum { margin: 0 0 0.7rem; font-size: 0.9rem; color: var(--text); flex: 1; }
.vcard-adv { font-size: 0.88rem; font-weight: 600; }
.wf-empty, .watch-note { color: var(--muted); font-size: 0.9rem; }
.watch-note { margin-top: 1.5rem; }
.zd-note { margin-bottom: 1.5rem; }
.zd-note p { margin: 0.4rem 0 0; font-size: 0.93rem; }
.fs { border: 0; padding: 0; margin: 0 0 1rem; }
.fs legend { padding: 0; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.15rem 0.75rem; }
.sub-full h3 { font-size: 1.3rem; margin-bottom: 1rem; }
@media (max-width: 560px) { .sub-row { flex-direction: column; } .vcard-list { grid-template-columns: 1fr; } .wf-count { margin-left: 0; } }

/* Typical projects */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.25rem; }
.proj-card { padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); border-top: 4px solid var(--brand); }
.proj-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.proj-card .checks li { font-size: 0.95rem; }

/* Whole cards are links */
.vcard { position: relative; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.vcard:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(30, 35, 90, 0.12); transform: translateY(-2px); }
.vcard:focus-within { border-color: var(--brand); }
.vcard-cve::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.vcard-adv { position: relative; z-index: 2; align-self: flex-start; }
.vcard-new { border-left: 4px solid #d93025; }
a.wtile { color: #fff; transition: transform 0.15s, box-shadow 0.15s; }
a.wtile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 21, 42, 0.35); color: #fff; }
.vp-pane li { position: relative; }
.vp-pane li:hover { background: rgba(255, 255, 255, 0.05); }
.vp-cve::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.badge.ml { background: #efe6ff; color: #5a2db3; }
.vp-badges .badge.ml { background: rgba(170, 130, 255, 0.24); color: #d9c7ff; }
.vcard-badges .badge.sev-critical { background: #fde8e8; color: #a31d1d; }
.vcard-badges .badge.sev-high { background: #fff0e0; color: #9a4a00; }
.vp-badges .badge.sev-critical { background: rgba(255, 90, 90, 0.22); color: #ffb4a8; }
.vp-badges .badge.sev-high { background: rgba(255, 170, 80, 0.2); color: #ffd0a0; }

/* Security watch: tabs on one line */
.wt-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.wt-tab { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.2rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); font: 700 1rem var(--font); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.wt-tab:hover { border-color: var(--brand); }
.wt-tab[aria-selected='true'] { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(20, 21, 42, 0.25); }
.wt-tab[aria-selected='true'] .wf-n { background: rgba(255, 255, 255, 0.22); color: #fff; }
.wt-tab:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wt-panel > .lead { max-width: 52rem; margin-bottom: 1.25rem; }
.vp-tab { padding: 0.25rem 0.6rem; font-size: 0.74rem; }

.wt-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 0.9rem; }
.wt-tab { white-space: nowrap; flex: none; }
@media (max-width: 560px) { .wt-tab { padding: 0.55rem 0.85rem; font-size: 0.9rem; } }

/* Dark header, same navy as the hero */
.site-header { background: rgba(20, 21, 42, 0.94); border-bottom: 1px solid rgba(170, 182, 255, 0.14); }
.site-header .brand { color: #fff; }
.primary a { color: #d6daf5; }
.primary a:hover, .primary a[aria-current='page'] { background: rgba(255, 255, 255, 0.08); color: #fff; }
.site-header .sub { background: #1d1f3a; border-color: rgba(170, 182, 255, 0.2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.site-header .sub .icon, .site-header .mega-title .icon { color: #aab6ff; }
.site-header .mega-title { color: #fff !important; }
.site-header .mega-col li a { color: #c4c9ea !important; }
.site-header .mega-col li a:hover { color: #fff !important; background: none !important; }
.site-header .mega-foot { border-top-color: rgba(170, 182, 255, 0.18); }
.site-header .mega-foot a { color: #aab6ff !important; }
.site-header .menu-btn { background: rgba(255, 255, 255, 0.06); border-color: rgba(170, 182, 255, 0.28); }
.site-header .menu-btn .bars, .site-header .menu-btn .bars::before, .site-header .menu-btn .bars::after { background: #fff; }
@media (max-width: 960px) {
  .site-header .primary { background: #14152a; border-bottom: 1px solid rgba(170, 182, 255, 0.14); }
  .site-header .sub { background: transparent; border: 0; box-shadow: none; }
}
