/* Cloudspace site styles. Light theme built on the logo blue (#00AEEF) and navy. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --blue: #00aeef;
  --blue-600: #0090c9;
  --blue-700: #00709e;
  --blue-50: #e8f7fe;
  --blue-100: #cfeefc;
  --navy: #0b1f3a;
  --navy-700: #16304f;
  --text: #36465a;
  --muted: #5d6c80;
  --line: #dce5ee;
  --soft: #f4f8fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 8px 24px rgba(11, 31, 58, .06);
  --shadow-lg: 0 2px 4px rgba(11, 31, 58, .04), 0 18px 48px rgba(11, 31, 58, .10);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 14px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text); max-width: 46em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn .i-arrow { transition: transform .15s; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--navy); }
.btn-primary:hover { background: #2bc0f7; color: var(--navy); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: #c5d2df; }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; font: inherit; font-size: .97rem; font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; border-radius: 8px; }
.nav-link:hover, .nav-link[aria-current] { color: var(--blue-700); }
.nav-link .i-chev { width: 16px; height: 16px; transition: transform .15s; }
.has-mega.open .i-chev { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .97rem; white-space: nowrap; }
.nav-phone .icon { color: var(--blue-600); width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(11, 31, 58, .08); }
.has-mega.open .mega { display: block; }
.mega-inner { max-width: 1200px; margin: 0 auto; padding: 28px 24px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 32px; }
.mega-industries .mega-inner { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 32px; }
.mega-title { font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; padding: 0 10px; }
.mega-link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .98rem; text-decoration: none; }
.mega-link .icon { color: var(--blue-600); width: 20px; height: 20px; }
.mega-link:hover { background: var(--blue-50); color: var(--navy); }
.mega-all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 14px 10px 0; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.mega-industries .mega-all { display: flex; }

/* Hero */
.hero { position: relative; padding: 76px 0 88px; background:
  radial-gradient(900px 480px at 88% -10%, rgba(0, 174, 239, .16), transparent 62%),
  radial-gradient(700px 400px at -10% 110%, rgba(0, 174, 239, .08), transparent 60%),
  linear-gradient(#fff, #f7fbfe); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 31, 58, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 75%); pointer-events: none; }
.hero-row { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }

.page-hero { padding: 36px 0 64px; background: radial-gradient(800px 380px at 92% -20%, rgba(0, 174, 239, .14), transparent 62%), linear-gradient(#fff, #f7fbfe); border-bottom: 1px solid var(--line); }
.page-hero-row { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-hero h1 { max-width: 18em; }
.hero-mark { width: 168px; height: 168px; border-radius: 36px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; place-items: center; color: var(--blue); }
.hero-mark .icon { width: 76px; height: 76px; stroke-width: 1.4; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 36px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Platform stack diagram */
.stack { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); }
.stack-head > span:first-child { white-space: nowrap; }
.stack-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 14px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stack-tags { display: flex; gap: 6px; }
.stack-tags i { font-style: normal; font-size: .7rem; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; background: var(--blue-50); color: var(--blue-700); }
.stack-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; text-decoration: none; color: var(--navy); border: 1px solid transparent; transition: transform .15s, border-color .15s, box-shadow .15s; }
.stack-row + .stack-row { margin-top: 8px; }
.stack-row:hover { transform: translateX(4px); border-color: var(--blue); color: var(--navy); }
.stack-0 { background: #e9f8fe; }
.stack-1 { background: #d9f2fd; }
.stack-2 { background: #c6ebfb; }
.stack-3 { background: #b0e3fa; }
.stack-4 { background: var(--navy); color: #fff; }
.stack-4:hover { color: #fff; }
.stack-4 small { color: #b8c7d9; }
.stack-row .chip { background: var(--white); }
.stack-4 .chip { background: var(--blue); color: var(--navy); }
.stack-text { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.stack-text strong { font-weight: 700; font-size: 1.02rem; }
.stack-text small { font-size: .88rem; color: var(--muted); }
.stack-row .i-go { opacity: .45; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0 88px; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:last-child { font-size: 1.08rem; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-wide { grid-template-columns: 1.1fr .9fr; align-items: center; }
.prose p { max-width: 42em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--text); text-decoration: none; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .98rem; line-height: 1.6; }
.card .chip { margin-bottom: 18px; }
.card-link { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-cta { background: var(--navy); border-color: var(--navy); color: #c9d5e3; display: flex; flex-direction: column; justify-content: center; }
.card-cta h3 { color: #fff; font-size: 1.3rem; }
.card-cta .more { color: var(--blue); }
.card-cta:hover { color: #c9d5e3; }
.card-link:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card-compact { padding: 22px; }
.card-compact p { font-size: .92rem; color: var(--muted); }
.card-flat { background: transparent; border: 0; border-top: 3px solid var(--blue); border-radius: 0; padding: 22px 0 0; }
.card-row { display: flex; gap: 18px; align-items: flex-start; }
.card-row .chip { margin: 0; }
.chip { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); flex: none; }
.chip .icon { width: 22px; height: 22px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .95rem; color: var(--blue-700); text-decoration: none; }
.more .icon { width: 16px; height: 16px; transition: transform .15s; }
.card-link:hover .more .icon, a.more:hover .icon { transform: translateX(3px); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.35rem; }
.panel p:last-child { margin-bottom: 0; }
.panel-plain { box-shadow: none; background: var(--soft); }
.panel-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 7px 14px; border-radius: 99px; background: var(--blue-50); color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.tags a:hover { background: var(--blue-100); }
.tags-lg a { padding: 10px 18px; font-size: .98rem; background: var(--white); border: 1px solid var(--line); }
.tags-lg a:hover { border-color: var(--blue); background: var(--white); }

.ticks li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ticks li:first-child { padding-top: 0; }
.ticks li:last-child { border-bottom: 0; }
.ticks .icon { margin-top: 3px; padding: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--navy); stroke-width: 3; }
.ticks strong { color: var(--navy); font-size: 1.05rem; }
.ticks p { margin: 2px 0 0; font-size: .98rem; }
.ticks-plain p { margin: 0; color: var(--navy); font-weight: 500; font-size: 1.02rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps p { margin: 0; font-size: .97rem; }

.faqs details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faqs summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs .i-plus { color: var(--blue-600); transition: transform .15s; }
.faqs details[open] .i-plus { transform: rotate(45deg); }
.faqs details p { padding: 0 22px 22px; margin: 0; }

/* Call to action band */
.cta-band { background: var(--navy); color: #c9d5e3; padding: 72px 0; background-image: radial-gradient(700px 300px at 90% 0%, rgba(0, 174, 239, .28), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 34em; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-row .btn-row { margin-top: 0; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 18px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; font: inherit; font-size: 1rem; font-weight: 400; color: var(--navy); background: var(--white); border: 1.5px solid #c5d2df; border-radius: 10px; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 174, 239, .18); }
.form.was-validated :invalid { border-color: #c2410c; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; min-width: 220px; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.success { background: #e7f7ee; color: #14532d; }
.form-status.error { background: #fdeee6; color: #8a2c0d; }
.form-status.info { background: var(--blue-50); color: var(--navy); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-side { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; padding-bottom: 0; }
.contact-list .icon { color: var(--blue-600); margin-top: 4px; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list div { color: var(--navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #081729; color: #a9b8ca; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 48px; }
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; }
.footer-contact { line-height: 1.9; }
.site-footer a { color: #d5dfea; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-title { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 73px); height: calc(100dvh - 73px); background: var(--white); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px 24px 32px; overflow-y: auto; }
  .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }
  .site-nav > ul { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.08rem; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-inner { grid-template-columns: 1fr 1fr; padding: 0 0 16px; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-title { padding: 0; margin-top: 10px; }
  .mega-link { padding: 9px 0; }
  .mega-all { padding-left: 0; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .nav-cta .btn { justify-content: center; padding: 14px; }
  .nav-phone { display: inline-flex; justify-content: center; }
  .hero { padding: 48px 0 64px; }
  .hero-row, .split, .split-wide, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero-mark { display: none; }
  .page-hero-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .steps, .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .mega-inner, .mega-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form { padding: 22px; }
  .logo img { width: 150px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .stack-tags { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
