@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #111a22;
  --muted: #5f6d79;
  --line: #dce3e9;
  --paper: #f5f7f9;
  --white: #ffffff;
  --blue: #0757b4;
  --blue-2: #0a71de;
  --navy: #06376f;
  --electric: #46a3ff;
  --radius: 20px;
  --shadow: 0 20px 55px rgba(10, 35, 61, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 3px;
}
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; background: var(--ink); color: white; padding: 10px 16px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.035em; line-height: 1.08; }
h1 { margin: 14px 0 22px; font-size: clamp(2.75rem, 7vw, 5.9rem); }
h2 { margin: 12px 0 18px; font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { margin: 0 0 10px; font-size: 1.25rem; }
p { margin: 0 0 18px; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 670px; }
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.section-head > div:first-child { max-width: 720px; }
.section-head p { color: var(--muted); max-width: 520px; }
.surface { background: var(--paper); }
.dark { background: var(--ink); color: white; }
.dark .lead, .dark .muted { color: #b9c5ce; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 8px; background: var(--blue); color: white; font-size: .9rem; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(7, 87, 180, .2); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { color: white; border-color: var(--ink); background: var(--ink); }
.btn-white { background: white; color: var(--ink); }
.btn-white:hover { background: #dcecff; color: var(--ink); }
.btn-link { color: var(--blue); font-size: .87rem; font-weight: 800; }
.btn-link::after { content: ' →'; transition: margin .2s; }
.btn-link:hover::after { margin-left: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: 78px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,227,233,.8); backdrop-filter: blur(15px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; width: 176px; }
.brand img { width: 100%; height: 55px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links > a, .nav-drop > button { padding: 10px 11px; border: 0; background: none; color: #43505c; font-size: .82rem; font-weight: 700; cursor: pointer; }
.nav-links > a:hover, .nav-links > a.active, .nav-drop > button:hover { color: var(--blue); }
.nav-links > a.btn, .nav-links > a.btn:hover, .nav-links > a.btn.active { color: white; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: '⌄'; margin-left: 4px; }
.drop-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 200px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a { display: block; padding: 9px 11px; border-radius: 7px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.drop-menu a:hover, .drop-menu a.active { background: var(--paper); color: var(--blue); }
.menu-btn { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }
.menu-btn span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--ink); }

/* Home */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-bg { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center; }
.hero-content { position: relative; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 72px 0 68px; color: white; }
.hero-content h1 { max-width: 750px; font-size: clamp(3.2rem, 7.3vw, 6.8rem); }
.hero-content .lead { color: #e4ebf0; max-width: 570px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.55); color: white; }
.hero-actions .btn-outline:hover { background: white; color: var(--ink); }
.hero-meta { display: flex; gap: 38px; margin-top: 70px; }
.hero-meta div { padding-left: 15px; border-left: 2px solid var(--blue-2); }
.hero-meta strong { display: block; font-family: 'Space Grotesk'; font-size: 1.05rem; }
.hero-meta span { color: #b9c5ce; font-size: .78rem; }
.value-strip { background: var(--ink); color: white; border-top: 1px solid #2b3741; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-item { padding: 30px 38px; border-right: 1px solid #2b3741; }
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: 0; }
.value-item strong { display: block; font-family: 'Space Grotesk'; }
.value-item span { color: #9eabb5; font-size: .8rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { min-height: 370px; padding: 34px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: var(--radius); color: white; background: var(--ink); box-shadow: var(--shadow); }
.service-card::before { content: ''; position: absolute; width: 250px; height: 250px; top: -80px; right: -50px; border: 42px solid rgba(70,163,255,.18); border-radius: 50%; }
.service-card::after { content: ''; position: absolute; width: 110px; height: 110px; top: 60px; right: 46px; border: 1px solid rgba(255,255,255,.2); transform: rotate(45deg); }
.service-card:nth-child(2) { background: linear-gradient(145deg, #0757b4, #06376f); }
.service-card:nth-child(3) { background: linear-gradient(145deg, #1f2b35, #0b1116); }
.service-card > * { position: relative; z-index: 1; }
.card-number { position: absolute; top: 26px; left: 30px; color: rgba(255,255,255,.45); font-family: 'Space Grotesk'; font-size: .78rem; letter-spacing: .12em; }
.service-card p { color: #bec9d1; font-size: .9rem; }
.service-card:nth-child(2) p { color: #d5e9ff; }
.service-card a { color: white; }
.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.process-sticky { position: sticky; top: 120px; }
.steps { counter-reset: step; }
.step { position: relative; padding: 0 0 40px 72px; border-left: 1px solid var(--line); }
.step:last-child { padding-bottom: 0; border-color: transparent; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: -23px; top: -4px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: white; border: 1px solid var(--line); color: var(--blue); font: 700 .76rem 'Space Grotesk'; }
.step p { color: var(--muted); font-size: .92rem; }
.cta-band { position: relative; overflow: hidden; padding: 70px; border-radius: 24px; background: linear-gradient(120deg, #0757b4, #06376f); color: white; }
.cta-band::after { content: ''; position: absolute; width: 380px; height: 380px; right: -110px; top: -155px; border: 70px solid rgba(255,255,255,.09); border-radius: 50%; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 680px; }
.cta-band p { color: #d5e9ff; max-width: 600px; }

/* Interior */
.page-hero { padding: 100px 0 78px; position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero::after { content: '3'; position: absolute; right: 3vw; top: -105px; color: white; font: 700 360px/1 'Space Grotesk'; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6rem); }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.breadcrumbs a { color: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-visual { height: 230px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f3f6f8, #dfe6eb); }
.product-visual::before { content: ''; width: 120px; height: 120px; border: 24px solid var(--blue); border-radius: 32% 50% 38% 45%; filter: drop-shadow(18px 22px 17px rgba(7,50,94,.2)); transform: rotate(-18deg); }
.product-card:nth-child(2) .product-visual::before { width: 140px; height: 75px; border-radius: 10px; transform: skew(-15deg); }
.product-card:nth-child(3) .product-visual::before { width: 105px; height: 105px; border-width: 17px; border-style: dashed; border-radius: 50%; }
.product-card:nth-child(4) .product-visual::before { width: 145px; height: 80px; border: 0; border-radius: 8px; background: var(--blue); clip-path: polygon(0 15%, 72% 15%, 100% 50%, 72% 85%, 0 85%, 16% 50%); }
.product-card:nth-child(5) .product-visual::before { width: 105px; height: 135px; border-width: 15px; border-radius: 40% 40% 10% 10%; }
.product-card:nth-child(6) .product-visual::before { width: 145px; height: 120px; border: 0; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--ink) 0 13px, var(--blue) 13px 26px); }
.product-info { padding: 26px; }
.product-info p { color: var(--muted); font-size: .88rem; }
.tag { display: inline-block; margin-bottom: 11px; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.flagship-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.product-feature { align-items: start; }
.product-gallery { min-width: 0; }
.product-main-image, .product-thumbnails figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--paper); }
.product-main-image { box-shadow: var(--shadow); }
.product-main-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.product-thumbnails { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.product-thumbnails figure { border: 1px solid var(--line); border-radius: 12px; }
.product-thumbnails img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.product-thumbnails--details img { object-fit: contain; }
.product-photo-note, .external-note { color: var(--muted); font-size: .75rem; }
.product-photo-note { margin: 12px 2px 0; }
.product-details { padding-top: 20px; }
.product-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.product-points span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: #43505c; font-size: .75rem; font-weight: 700; }
.external-note { margin: 10px 0 0; }
.modular-demo { min-height: 510px; position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(145deg, #eef3f7, #d6e0e8); }
.module { position: absolute; width: 150px; height: 122px; border: 13px solid var(--blue); border-top-width: 5px; border-radius: 10px 10px 22px 22px; background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.2)); box-shadow: 18px 25px 30px rgba(16,48,78,.17); transform: skewY(-7deg); }
.module::after { content: ''; position: absolute; inset: 16px; border: 2px solid rgba(7,87,180,.25); border-radius: 5px 5px 12px 12px; }
.module-one { left: 11%; top: 17%; }
.module-two { left: 43%; top: 27%; width: 180px; height: 145px; background: linear-gradient(160deg, rgba(255,255,255,.8), rgba(70,163,255,.18)); }
.module-three { left: 23%; top: 57%; width: 135px; height: 105px; border-color: var(--ink); }
.visual-caption { position: absolute; right: 22px; bottom: 20px; padding: 10px 13px; border-radius: 7px; background: rgba(255,255,255,.88); color: var(--muted); font-size: .7rem; font-weight: 700; }
.availability-note { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--blue); background: #eef6ff; color: #25425e; font-size: .88rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-panel { min-height: 510px; position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(145deg, #0c1a26, #0757b4); }
.feature-panel::before, .feature-panel::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.18); }
.feature-panel::before { width: 310px; height: 310px; top: 90px; left: 90px; transform: rotate(45deg); }
.feature-panel::after { width: 190px; height: 190px; top: 150px; left: 150px; border: 36px solid rgba(70,163,255,.35); border-radius: 50%; }
.feature-label { position: absolute; inset: auto 28px 28px; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(8,17,25,.6); color: white; backdrop-filter: blur(10px); }
.check-list { list-style: none; padding: 0; margin: 28px 0; }
.check-list li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { padding: 30px; background: white; }
.stat strong { display: block; margin-bottom: 4px; color: var(--blue); font: 700 1.8rem 'Space Grotesk'; }
.stat span { color: var(--muted); font-size: .78rem; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.info-card p { color: var(--muted); font-size: .9rem; }
.info-card .icon { width: 42px; height: 42px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 9px; background: #e8f2ff; color: var(--blue); font-weight: 800; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 110px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.legal-nav strong { display: block; margin-bottom: 12px; font: 700 .9rem 'Space Grotesk'; }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: .8rem; }
.legal-nav a:hover { color: var(--blue); }
.legal-copy { max-width: 770px; }
.legal-copy h2 { margin: 48px 0 14px; font-size: 1.7rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin-top: 25px; font-size: 1.06rem; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: .92rem; }
.legal-copy li { margin-bottom: 8px; }
.notice { padding: 22px 25px; border-left: 4px solid var(--blue); background: #eef6ff; color: #25425e; }
.policy-placeholder { padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.policy-placeholder h2 { margin-top: 0; }
.policy-placeholder .btn { margin-top: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact-list { margin-top: 35px; }
.contact-row { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-row strong { display: block; font-size: .82rem; }
.contact-row span { color: var(--muted); font-size: .88rem; }
.contact-card { padding: 42px; border-radius: 18px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.contact-card p { color: #b9c5ce; }
.email-link { display: block; margin: 20px 0 30px; color: #82beff; font: 600 clamp(1.25rem, 3vw, 2rem) 'Space Grotesk'; overflow-wrap: anywhere; }
.email-link:hover { color: white; }
.brief-list { margin: 28px 0 0; padding: 0; list-style: none; }
.brief-list li { padding: 13px 0; border-top: 1px solid #2c3943; color: #ced7dd; font-size: .87rem; }
.brief-list strong { color: white; }

/* Footer */
.site-footer { padding: 72px 0 25px; background: #0b1218; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-brand img { width: 205px; height: 82px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 340px; color: #9facb6; font-size: .86rem; }
.footer-col strong { display: block; margin-bottom: 17px; font: 700 .82rem 'Space Grotesk'; }
.footer-col a { display: block; margin: 9px 0; color: #9facb6; font-size: .8rem; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid #26313a; color: #75838e; font-size: .72rem; }

@media (max-width: 960px) {
  .site-header { height: 68px; }
  .brand { width: 145px; }
  .brand img { height: 48px; }
  .menu-btn { display: block; }
  .nav-links { position: fixed; inset: 68px 0 auto; min-height: calc(100vh - 68px); padding: 25px 20px 45px; display: none; align-items: stretch; flex-direction: column; background: white; }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-drop > button { width: 100%; padding: 14px 4px; text-align: left; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; text-align: center; }
  .drop-menu { position: static; width: 100%; padding: 0 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-drop > button { display: none; }
  .drop-menu a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .cards-3, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship-grid { grid-template-columns: 1fr; gap: 45px; }
  .product-details { padding-top: 0; }
  .process, .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .process-sticky { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-nav { position: static; display: none; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 74px 0; }
  .section-sm { padding: 55px 0; }
  .section-head { display: block; margin-bottom: 32px; }
  h1 { font-size: 2.8rem; }
  .hero-bg { height: auto; aspect-ratio: auto; object-fit: contain; }
  .hero-content { width: min(calc(100% - 28px), var(--max)); padding: 56px 0 48px; }
  .hero-content h1 { font-size: 3.2rem; }
  .hero-meta { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item, .value-item:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid #2b3741; }
  .cards-3, .product-grid, .info-grid, .stat-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .feature-panel { min-height: 390px; }
  .modular-demo { min-height: 390px; }
  .module { transform: scale(.8) skewY(-7deg); transform-origin: top left; }
  .module-two { left: 40%; }
  .product-thumbnails { gap: 9px; margin-top: 9px; }
  .feature-panel::before { left: 25px; }
  .feature-panel::after { left: 85px; }
  .cta-band { padding: 42px 25px; }
  .page-hero { padding: 70px 0 55px; }
  .page-hero h1 { font-size: 3rem; }
  .page-hero::after { display: none; }
  .contact-card, .policy-placeholder { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
