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

:root {
  --ink: #0b1628;
  --ink-2: #111f35;
  --blue: #1f81e6;
  --blue-light: #5bb5ff;
  --coral: #ff7f50;
  --coral-dark: #ed6535;
  --paper: #f7f8fa;
  --white: #fff;
  --muted: #647086;
  --line: #dfe4eb;
  --shadow: 0 24px 70px rgba(8, 21, 40, .15);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; left: 12px; top: -60px; padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 86px; color: var(--white); transition: background .3s, box-shadow .3s, height .3s; }
.site-header.scrolled, .site-header.menu-active { height: 72px; background: rgba(9, 20, 36, .94); box-shadow: 0 12px 36px rgba(0, 0, 0, .18); backdrop-filter: blur(18px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; height: 28px; transform: skew(-8deg); }
.brand-mark span { display: block; width: 7px; border-radius: 2px; background: var(--coral); box-shadow: 0 0 20px rgba(255, 127, 80, .35); }
.brand-mark span:nth-child(1) { height: 16px; }
.brand-mark span:nth-child(2) { height: 23px; background: var(--blue-light); }
.brand-mark span:nth-child(3) { height: 28px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-family: "Manrope", sans-serif; font-size: 19px; letter-spacing: -.5px; }
.brand-copy small { margin-top: 4px; color: rgba(255, 255, 255, .62); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; color: rgba(255, 255, 255, .8); transition: color .2s; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--coral); transition: right .25s; }
.main-nav > a:not(.nav-cta):hover { color: var(--white); }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; transition: border .2s, background .2s; }
.nav-cta:hover { border-color: var(--coral); background: rgba(255, 127, 80, .12); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--white); transition: transform .25s, opacity .2s; }

.hero { position: relative; min-height: 760px; height: 100svh; max-height: 940px; display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; animation: heroZoom 16s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-shade { background: linear-gradient(90deg, rgba(4, 12, 25, .96) 0%, rgba(4, 12, 25, .86) 42%, rgba(4, 12, 25, .34) 72%, rgba(4, 12, 25, .45) 100%), linear-gradient(0deg, rgba(4, 12, 25, .52), transparent 45%); }
.hero-grid { opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, black, transparent 72%); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 720px) 310px; justify-content: space-between; align-items: end; gap: 60px; padding-top: 80px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 29px; height: 3px; background: var(--coral); }
.eyebrow-dark { color: var(--muted); }
.hero h1, h2 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.045em; line-height: 1.03; }
.hero h1 { max-width: 700px; font-size: clamp(54px, 6.7vw, 92px); font-weight: 700; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 660px; margin: 27px 0 0; color: rgba(255,255,255,.78); font-size: 19px; line-height: 1.72; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, border .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--coral); box-shadow: 0 14px 34px rgba(255, 127, 80, .24); }
.button-primary:hover { background: var(--coral-dark); box-shadow: 0 18px 40px rgba(255, 127, 80, .34); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 35px; color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 4px rgba(91,181,255,.13); }
.hero-card { margin-bottom: 20px; padding: 25px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius); background: rgba(10, 23, 40, .64); box-shadow: var(--shadow); backdrop-filter: blur(15px); }
.live-label { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.live-label i { width: 7px; height: 7px; border-radius: 50%; background: #63df9b; box-shadow: 0 0 0 5px rgba(99,223,155,.12); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(99,223,155,0); } }
.screen-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; height: 67px; margin-bottom: 20px; padding: 6px; border-radius: 9px; background: #030a13; transform: perspective(250px) rotateX(-3deg); }
.screen-mini span { border-radius: 3px; background: linear-gradient(160deg, #16599a, #fa754c 55%, #ffba55); }
.screen-mini .screen-two { background: linear-gradient(160deg, #183458, #2da7f0 50%, #d9f7ff); }
.screen-mini .screen-three { background: linear-gradient(160deg, #f16645, #ffac3e 50%, #401a15); }
.hero-card strong { display: block; font-family: "Manrope", sans-serif; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.hero-card p { margin: 13px 0 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; border-radius: 3px; background: var(--white); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 15px); } }

.signal-bar { position: relative; z-index: 4; color: var(--white); background: var(--blue); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid div { position: relative; display: grid; padding: 27px 28px; }
.signal-grid div:not(:last-child)::after { content: ""; position: absolute; top: 25%; right: 0; bottom: 25%; width: 1px; background: rgba(255,255,255,.25); }
.signal-grid strong { font-family: "Manrope", sans-serif; font-size: 18px; }
.signal-grid span { color: rgba(255,255,255,.7); font-size: 12px; }

.section { padding: 120px 0; }
.section-light { background: var(--paper); }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 90px; }
.split-heading h2, .gallery-heading h2, .center-heading h2 { font-size: clamp(40px, 5vw, 65px); }
.split-heading > p, .gallery-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 65px; }
.benefit-card { position: relative; min-height: 320px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s, border .3s; }
.benefit-card:hover { transform: translateY(-9px); border-color: transparent; box-shadow: var(--shadow); }
.card-number { color: var(--blue); font: 700 13px "Manrope", sans-serif; letter-spacing: .1em; }
.benefit-card h3 { margin: 70px 0 13px; font: 700 26px "Manrope", sans-serif; letter-spacing: -.03em; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-line { position: absolute; right: 32px; bottom: 32px; left: 32px; height: 3px; background: var(--line); }
.card-line::after { content: ""; display: block; width: 24%; height: 100%; background: var(--coral); transition: width .35s; }
.benefit-card:hover .card-line::after { width: 100%; }

.section-dark { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.feature-glow { position: absolute; width: 580px; height: 580px; left: -250px; bottom: -320px; border-radius: 50%; background: rgba(31,129,230,.2); filter: blur(40px); }
.feature-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 90px; }
.feature-photo { position: relative; }
.feature-photo::before { content: ""; position: absolute; z-index: 0; inset: -20px 35% 30% -25px; border: 1px solid rgba(91,181,255,.35); border-radius: var(--radius); }
.feature-photo img { position: relative; z-index: 1; min-height: 590px; width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.photo-note { position: absolute; z-index: 2; right: -35px; bottom: 35px; min-width: 230px; padding: 19px 22px; border-left: 4px solid var(--coral); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.photo-note span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.photo-note strong { font: 700 16px "Manrope", sans-serif; }
.feature-copy h2 { font-size: clamp(39px, 4vw, 57px); }
.feature-list { margin-top: 45px; }
.feature-list article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.13); }
.feature-list article > span { color: var(--blue-light); font: 700 12px "Manrope", sans-serif; }
.feature-list h3 { margin: 0 0 5px; font: 700 18px "Manrope", sans-serif; }
.feature-list p { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }

.section-gallery { background: var(--white); }
.gallery-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 90px; margin-bottom: 55px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-item { position: relative; min-height: 350px; padding: 0; border: 0; border-radius: 18px; background: var(--ink); overflow: hidden; cursor: zoom-in; text-align: left; }
.gallery-wide { grid-column: 1 / -1; min-height: 540px; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s, opacity .4s; }
.gallery-item::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(4,12,25,.9)); }
.gallery-item:hover img { transform: scale(1.045); opacity: .88; }
.gallery-item > span { position: absolute; z-index: 2; left: 28px; bottom: 25px; color: var(--white); }
.gallery-item strong, .gallery-item small { display: block; }
.gallery-item strong { font: 700 20px "Manrope", sans-serif; }
.gallery-item small { margin-top: 4px; color: rgba(255,255,255,.7); }

.section-use-cases { padding-top: 10px; background: var(--white); }
.center-heading { text-align: center; }
.center-heading .eyebrow { justify-content: center; }
.use-case-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 42px; }
.use-case-row span { padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--paper); font-size: 14px; font-weight: 600; transition: color .2s, border .2s, transform .2s; }
.use-case-row span:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-3px); }

.process { color: var(--white); background: var(--ink-2); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.process-intro { position: sticky; top: 120px; align-self: start; }
.process-intro h2 { font-size: clamp(42px, 4.5vw, 62px); }
.process-intro > p:not(.eyebrow) { max-width: 480px; margin: 25px 0 0; color: rgba(255,255,255,.62); font-size: 16px; }
.text-link { display: inline-flex; gap: 14px; margin-top: 30px; padding-bottom: 6px; border-bottom: 2px solid var(--coral); font-weight: 700; }
.process-steps { margin: 0; padding: 0; list-style: none; }
.process-steps li { display: grid; grid-template-columns: 65px 1fr; gap: 25px; padding: 30px 0 35px; border-top: 1px solid rgba(255,255,255,.14); }
.process-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.process-steps li > span { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--coral); font: 700 15px "Manrope", sans-serif; }
.process-steps h3 { margin: 3px 0 7px; font: 700 25px "Manrope", sans-serif; }
.process-steps p { margin: 0; color: rgba(255,255,255,.6); }

.cta-section { position: relative; min-height: 610px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.cta-photo, .cta-overlay { position: absolute; inset: 0; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { background: linear-gradient(90deg, rgba(4,12,25,.95), rgba(4,12,25,.6) 65%, rgba(4,12,25,.3)); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { max-width: 750px; font-size: clamp(48px, 6vw, 78px); }
.cta-content > p:not(.eyebrow) { max-width: 620px; margin: 23px 0 0; color: rgba(255,255,255,.72); font-size: 18px; }

.site-footer { padding: 70px 0 25px; color: rgba(255,255,255,.65); background: #07101e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 70px; padding-bottom: 50px; }
.footer-brand { display: flex; align-items: flex-start; gap: 17px; }
.footer-brand strong { color: var(--white); font: 700 22px "Manrope", sans-serif; }
.footer-brand p { max-width: 330px; margin: 8px 0 0; }
.footer-grid h3 { margin: 0 0 15px; color: var(--white); font: 700 13px "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a, .footer-grid > div > p { display: block; margin: 7px 0; }
.footer-grid a:hover { color: var(--coral); }
.kernel-logo { width: 205px; height: auto; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.95); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.footer-bottom a:hover { color: var(--white); }

.lightbox { width: min(1120px, calc(100% - 35px)); max-width: none; padding: 0; border: 0; border-radius: 16px; color: var(--white); background: #07101e; box-shadow: 0 30px 100px rgba(0,0,0,.6); overflow: hidden; }
.lightbox::backdrop { background: rgba(2,7,14,.88); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 75vh; object-fit: contain; background: #03070d; }
.lightbox p { margin: 0; padding: 17px 22px; color: rgba(255,255,255,.75); }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--white); background: rgba(3,8,16,.7); font-size: 28px; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.benefit-card:nth-child(2), .gallery-item:nth-child(2), .process-steps li:nth-child(2) { transition-delay: .1s; }
.benefit-card:nth-child(3), .gallery-item:nth-child(3), .process-steps li:nth-child(3) { transition-delay: .2s; }
.process-steps li:nth-child(4) { transition-delay: .3s; }

@media (max-width: 980px) {
  .main-nav { gap: 18px; }
  .main-nav > a:not(.nav-cta) { display: none; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .split-heading, .gallery-heading { grid-template-columns: 1fr; gap: 28px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 250px; }
  .benefit-card h3 { margin-top: 45px; }
  .feature-layout { grid-template-columns: 1fr; gap: 70px; }
  .feature-photo img { min-height: 480px; }
  .process-layout { grid-template-columns: 1fr; gap: 70px; }
  .process-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 17px; }
  .site-header { height: 72px; }
  .brand-copy small { display: none; }
  .main-nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 12px 20px 25px; background: rgba(9,20,36,.98); transform: translateY(-125%); opacity: 0; transition: transform .3s, opacity .3s; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav > a:not(.nav-cta) { display: block; padding: 15px 7px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav > a::after { display: none; }
  .nav-cta { margin-top: 15px; text-align: center; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 720px; height: auto; max-height: none; padding: 125px 0 90px; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,12,25,.94), rgba(4,12,25,.63)), linear-gradient(0deg, rgba(4,12,25,.8), transparent 60%); }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: clamp(47px, 15vw, 68px); }
  .hero-lead { font-size: 16px; line-height: 1.65; }
  .button { width: 100%; }
  .hero-trust { display: grid; }
  .scroll-cue { display: none; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid div { padding: 20px 18px; }
  .signal-grid div:nth-child(2)::after { display: none; }
  .signal-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .section { padding: 85px 0; }
  .split-heading h2, .gallery-heading h2, .center-heading h2 { font-size: 42px; }
  .benefit-grid { margin-top: 40px; }
  .feature-photo img { min-height: 380px; }
  .photo-note { right: 12px; bottom: 12px; min-width: 210px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .gallery-item, .gallery-wide { min-height: 330px; }
  .section-use-cases { padding-top: 0; }
  .process-steps li { grid-template-columns: 48px 1fr; gap: 15px; }
  .process-steps li > span { width: 44px; height: 44px; }
  .cta-section { min-height: 650px; }
  .cta-content h2 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
