:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --ink: #0b1220;
  --ink-2: #44506a;
  --ink-3: #6b7690;
  --line: #e3e8f1;
  --dark: #0b1220;
  --accent: #3b82f6;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px rgba(11, 18, 32, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; border-radius: 10px; padding: .7em 1.2em; font-size: .95rem; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; border: 1px solid transparent; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px -6px var(--accent); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-lg { padding: .9em 1.5em; font-size: 1rem; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 800; }
.brand-mark { display: block; flex: none; width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #c6cfe0; font-size: .93rem; font-weight: 500; }
.nav a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 120px 0 110px; }
.hero-bg { position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero-inner { position: relative; max-width: 860px; margin-left: max(0px, calc((100% - 1160px) / 2)); }
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; margin-bottom: .4em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b8c2d6; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .2); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pills li { display: inline-flex; align-items: center; gap: .5em; padding: .45em .95em; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #d5dcea; }
.hero-pills .icon { width: 16px; height: 16px; color: var(--accent); }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .9em; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-intro { color: var(--ink-2); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--ink-2); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); margin-bottom: 22px; }
.card-icon .icon { width: 26px; height: 26px; }
.ticks li { display: flex; align-items: flex-start; gap: .6em; color: var(--ink); font-size: .95rem; padding: .25em 0; }
.tick { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

/* Clients */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 140px; justify-content: center; transition: border-color .2s, box-shadow .2s; }
.logo-tile:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.logo-box { height: 56px; display: flex; align-items: center; justify-content: center; width: 100%; }
.logo-box img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-tile:hover img, .partner:hover img { filter: none; opacity: 1; }
.logo-box img.logo-light, .logo-tile:hover img.logo-light { filter: grayscale(1) brightness(.3); opacity: .85; }
.logo-tile:hover img.logo-light { filter: brightness(.45) saturate(1.4); opacity: 1; }
.wordmark { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: #2a3550; text-align: center; }
.sector { font-size: .78rem; color: var(--ink-3); text-align: center; }
.fineprint { margin-top: 28px; font-size: .8rem; color: var(--ink-3); }

/* Products */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; background: var(--dark); color: #fff; border-radius: 24px; padding: 56px; overflow: hidden; position: relative; }
.product + .product { margin-top: 24px; }
.product h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; }
.product p { color: #b8c2d6; }
.product .ticks li { color: #e3e8f1; }
.product .ticks { margin-bottom: 28px; }
.product-tag { color: color-mix(in srgb, var(--accent) 70%, #fff) !important; font-weight: 600; font-size: .9rem; margin-bottom: .6em; }
.product .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.product .btn-ghost:hover { border-color: var(--accent); color: #fff; background: color-mix(in srgb, var(--accent) 20%, transparent); }
.mock { background: #131c30; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: rotate(-2deg); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mock-cal span { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.mock-cal .c1 { background: color-mix(in srgb, var(--accent) 70%, transparent); }
.mock-cal .c3 { background: rgba(255, 255, 255, .12); }

.product-visual { display: block; }
.product-shot { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s; }
.product-visual:hover .product-shot { transform: translateY(-4px); }

/* Partners */
.partner { display: flex; flex-direction: column; }
.partner > a:not(.link) { display: flex; flex-direction: column; height: 100%; }
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.partner-logo { height: 52px; display: flex; align-items: center; }
.partner-logo img { height: 52px; width: 52px; object-fit: contain; border-radius: 12px; }
.monogram { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.5rem; }
.partner .link { align-self: flex-start; }
.partner-tag { font-size: .75rem; font-weight: 600; padding: .3em .8em; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.partner p { flex: 1; }
.partner-cta { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, #fff), #fff); border-style: dashed; }
.link { display: inline-flex; align-items: center; gap: .4em; color: var(--accent); font-weight: 600; margin-top: auto; }
.link .icon { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }

/* Contact */
.contact { background: var(--dark); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-intro { color: #b8c2d6; margin: 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner > div { max-width: 600px; }

/* Footer */
.footer { background: #070c17; color: #8e99b3; padding: 40px 0; font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 10px; font-size: 1.05rem; }
.footer .brand-mark { width: 28px; height: 28px; }
.footer p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .product { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); padding: 8px 24px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero { padding: 80px 0 72px; }
  .section { padding: 72px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .product { padding: 28px; border-radius: 18px; }
  .wrap { padding: 0 16px; }
  .btn-lg { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
