/* XLIT one-page site — hand-written CSS, no build step.
   Design language modelled on the n4t.au layout, re-skinned in XLIT teal. */
:root {
  --teal: #00aaaa;          /* logo teal (decorative / large shapes) */
  --teal-dark: #007c82;     /* text + buttons on white (>= 5:1) */
  --teal-deep: #00666d;     /* button gradient end */
  --cyan: #5eead4;          /* accent on dark backgrounds */
  --ink: #081627;
  --navy: #0f172a;
  --slate: #475569;
  --muted: #e6f6f6;
  --soft: #f5fbfb;
  --white: #ffffff;
  --line: rgba(15, 23, 42, .11);
  --shadow: 0 24px 70px rgba(2, 8, 23, .14);
  --radius: 24px;
  --max: 1180px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: break-word; }

:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .ai-section :focus-visible, footer :focus-visible, .cta-box :focus-visible { outline-color: var(--cyan); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 170, 170, .32);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(0, 170, 170, .09);
  font-weight: 800; font-size: .82rem; letter-spacing: .02em;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 7px rgba(0, 170, 170, .15);
}
.ai-section .eyebrow, .cta-box .eyebrow { color: var(--cyan); border-color: rgba(94, 234, 212, .35); background: rgba(94, 234, 212, .1); }
.ai-section .eyebrow::before { background: var(--cyan); box-shadow: 0 0 0 7px rgba(94, 234, 212, .15); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); color: #fff; box-shadow: 0 16px 35px rgba(0, 124, 130, .32); }
.btn-outline { border-color: rgba(0, 124, 130, .5); color: var(--teal-dark); background: #fff; }
.btn-outline:hover { background: var(--muted); }
.btn-secondary { background: rgba(255,255,255,.95); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; color: #334155; font-size: .95rem; margin-left: auto; }
.nav-links a:not(.btn):hover { color: var(--teal-dark); }
.nav-links .nav-phone { color: var(--ink); font-weight: 800; white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 18px; font-size: .92rem; white-space: nowrap; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 66px) 0 90px; isolation: isolate; background: #eefafa; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -3; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 170, 170, .14), transparent 38%),
    linear-gradient(100deg, rgba(247, 253, 253, .97) 0%, rgba(247, 253, 253, .92) 38%, rgba(247, 253, 253, .55) 66%, rgba(247, 253, 253, .12) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: 90px; width: 520px; height: 520px; z-index: -1;
  border-radius: 46% 54% 60% 40%;
  background: linear-gradient(135deg, rgba(0, 170, 170, .28), rgba(15, 23, 42, .04));
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(-24px,18px,0) rotate(8deg); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: .96; margin: 18px 0 20px; letter-spacing: -.06em; }
h1 .accent { color: var(--teal-dark); }
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: #334155; max-width: 640px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: #334155; font-weight: 800; font-size: .92rem; margin: 0; padding: 0; list-style: none; }
.trust-row li { padding: 9px 14px; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 999px; }

.hero-card {
  padding: 26px; border-radius: 34px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.screen {
  position: relative; overflow: hidden; border-radius: 28px; padding: 24px; color: #fff;
  background: linear-gradient(135deg, rgba(8, 22, 39, .97), rgba(6, 46, 56, .97));
}
.screen::before {
  content: ""; position: absolute; inset: -70px -90px auto auto; width: 270px; height: 270px; border-radius: 50%;
  background: rgba(0, 170, 170, .35); filter: blur(9px);
}
.screen > * { position: relative; }
.screen-top { display: flex; gap: 8px; margin-bottom: 22px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); opacity: .9; }
.screen h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.08; letter-spacing: -.035em; }
.metric-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; }
.metric strong { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--cyan); margin-bottom: 4px; }
.metric span { color: rgba(255,255,255,.8); font-weight: 600; font-size: .9rem; line-height: 1.35; display: block; }
.logo-panel { margin-top: 18px; padding: 14px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; }
.logo-panel img { height: 70px; width: auto; object-fit: contain; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head h2 { margin: 14px 0 14px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.02; letter-spacing: -.05em; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: rgba(0, 170, 170, .13); color: var(--teal-dark); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
.card p { margin: 0 0 16px; color: var(--slate); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: #334155; font-weight: 600; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list li::before { content: "✓"; color: var(--teal-dark); font-weight: 900; flex: none; }

/* AI section */
.ai-section {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 170, 170, .38), transparent 30%),
    linear-gradient(135deg, #07111f, #0f172a 55%, #05343a);
}
.ai-section .section-head p { color: rgba(255,255,255,.78); }
.ai-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: stretch; }
.ai-feature {
  padding: 32px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(0, 170, 170, .26), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 90px rgba(0,0,0,.24);
}
.ai-feature h3 { font-size: clamp(1.9rem, 3vw, 2.3rem); line-height: 1.02; margin: 14px 0 12px; letter-spacing: -.045em; }
.ai-feature p { color: rgba(255,255,255,.8); margin: 0 0 18px; }
.ai-feature .tick-list { color: #fff; }
.ai-feature .tick-list li::before { color: var(--cyan); }
.ai-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-cards .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); box-shadow: none; color: #fff; }
.ai-cards .card p { color: rgba(255,255,255,.78); margin: 0; }
.ai-cards .icon { background: rgba(94, 234, 212, .16); color: var(--cyan); }
.ai-note { margin: 30px 0 0; color: rgba(255,255,255,.7); font-size: .98rem; max-width: 780px; }

/* Industries */
.industries { background: var(--soft); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pill { padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #334155; font-weight: 700; }
.pill.primary { background: rgba(0, 170, 170, .12); border-color: rgba(0, 124, 130, .35); color: var(--teal-dark); font-weight: 800; }

/* Partners */
.partners { background: #fff; }
.partner-grid { --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.partner-grid li {
  flex: 0 0 calc((100% - 6 * var(--gap)) / 7);
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.partner-grid li:hover { box-shadow: 0 14px 34px rgba(15, 23, 42, .1); transform: translateY(-3px); border-color: rgba(0, 170, 170, .4); }
.partner-grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s ease, opacity .25s ease; }
/* very wide wordmarks (e.g. Arcserve, 7:1): use the full tile width so they carry similar visual weight */
.partner-grid li.wide { padding: 10px 12px; }
.partner-grid li.wide img { height: auto; max-height: 100%; }
.partner-grid li:hover img, .partner-grid li:focus-within img { filter: grayscale(0); opacity: 1; }

/* Contact / CTA */
.cta { background: linear-gradient(180deg, var(--soft), #fff); }
.cta-box {
  padding: clamp(30px, 5vw, 56px); border-radius: 36px; color: #fff;
  background: linear-gradient(135deg, #00777d, #06333c 85%);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow);
}
.cta-box h2 { margin: 14px 0 10px; line-height: 1.02; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; }
.cta-box p { margin: 0; color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 620px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-top: 20px; }
.contact-card { padding: 30px; }
.contact-card:hover { transform: none; box-shadow: 0 16px 42px rgba(15, 23, 42, .06); }
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 14px; margin: 0; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.contact-list a:not(.btn), .contact-list address { font-style: normal; font-weight: 700; font-size: 1.05rem; }
.contact-list a:not(.btn):hover { color: var(--teal-dark); text-decoration: underline; }
.support-note { margin: 0 0 14px; padding: 16px; border-radius: 16px; background: var(--muted); color: #134e4a; font-size: .95rem; }
.support-note a { font-weight: 800; color: var(--teal-dark); text-decoration: underline; }
.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 380px; }
.map-card:hover { transform: none; box-shadow: 0 16px 42px rgba(15, 23, 42, .06); }
.map-card iframe { border: 0; width: 100%; flex: 1; min-height: 330px; display: block; }
.map-card .map-link { padding: 14px 20px; font-weight: 800; color: var(--teal-dark); border-top: 1px solid var(--line); background: #fff; }
.map-card .map-link:hover { text-decoration: underline; }

/* Footer */
footer { padding: 46px 0 30px; background: #07111f; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr auto; gap: 26px; align-items: start; }
footer .footer-logo { height: 58px; width: auto; background: #fff; border-radius: 14px; padding: 8px 10px; margin-bottom: 16px; }
footer p { margin: 0 0 10px; max-width: 640px; }
footer a:hover { color: var(--cyan); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.footer-links a { color: #fff; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.62); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.footer-bottom a { text-decoration: underline; }

/* Reveal on scroll: only hidden when JS is available and motion is OK */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 16px; font-size: .9rem; }
  .nav-links .nav-phone { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { gap: 12px; }
  .brand { margin-right: auto; }
  .nav-links {
    position: absolute; top: calc(var(--header-h) - 4px); left: 20px; right: 20px;
    padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
    display: none; flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 12px; font-size: 1.05rem; }
  .nav-links a:hover { background: var(--muted); }
  .nav-links .nav-phone { display: block; }
  .hero-grid, .ai-grid, .cta-box, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero::before { background: linear-gradient(180deg, rgba(247,253,253,.95) 0%, rgba(247,253,253,.9) 55%, rgba(247,253,253,.75) 100%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .partner-grid li { flex-basis: calc((100% - 3 * var(--gap)) / 4); }
  .cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --header-h: 68px; }
  .container { width: min(100% - 28px, var(--max)); }
  .brand img { height: 38px; }
  .nav-links { left: 14px; right: 14px; }
  .nav-actions .btn { padding: 10px 14px; font-size: .85rem; }
  .nav-actions .btn svg { display: none; }
  .menu-btn { width: 42px; height: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .nav-actions .btn { width: auto; }
  .metric-grid, .ai-cards { grid-template-columns: 1fr; }
  .hero-card { padding: 14px; border-radius: 26px; }
  .screen { padding: 20px; }
  section { padding: 64px 0; }
  .partner-grid { --gap: 12px; }
  .partner-grid li { flex-basis: calc((100% - var(--gap)) / 2); }
  .cta-actions { flex-direction: column; }
  .contact-card { padding: 22px; }
  .ai-feature { padding: 24px; }
}
@media (max-width: 380px) {
  .nav-actions .btn { padding: 9px 11px; font-size: .8rem; }
  .brand img { height: 34px; }
}

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

/* 404 page (404.html) */
.notfound { padding-block: 18vh 12vh; text-align: center; }
.notfound img { margin-inline: auto; height: auto; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 32px 0 12px; }
.notfound .lead { font-size: 1.15rem; color: #334155; max-width: 520px; margin: 0 auto 28px; }
