:root {
  color-scheme: dark;
  --bg: #080f1c;
  --panel: #0b1221;
  --ink: #f0f5fb;
  --muted: #a4b3c5;
  --blue: #2dd4bf;
  --line: #233448;
  --mono: "DM Mono", monospace;
  font-family: Manrope, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 4;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--bg);
  padding: .75rem 1rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header { background: #0a111d; border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}
.brand img { display: block; width: clamp(185px, 20vw, 245px); height: auto; mix-blend-mode: lighten; }
nav { display: flex; gap: 2rem; }
nav a { color: #bfcbd9; font-size: .9rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.button-primary { background: #14b8a6; color: #ffffff; }
.button-primary:hover { background: #0d9488; }
.button-quiet { background: #111c2b; border-color: #30435a; color: #e8f2fc; }
.button-quiet:hover { background: #192b40; border-color: #5b80a4; }
.header-contact { justify-self: end; min-height: 40px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0b1221;
}
.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 30%;
  background:
    linear-gradient(90deg, #0b1221, #0b1221e8 13%, #0b122152 48%, #0a122129 100%),
    linear-gradient(0deg, #0b1221 0%, transparent 35%),
    url("data-centre.jpg") center 55% / cover no-repeat,
    radial-gradient(ellipse at 75% 40%, #134e4a, #0b1221 72%);
}
.hero-inner { padding-block: clamp(5.5rem, 9vw, 8.8rem) clamp(5.5rem, 8vw, 7.5rem); }
.eyebrow {
  color: var(--blue);
  font: 500 .8125rem / 1.45 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: .65rem; }
.hero .eyebrow span { width: 21px; height: 1px; background: var(--blue); }
.hero h1 {
  margin: 1.3rem 0 1.5rem;
  font-size: clamp(2.6rem, 5.45vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: -.067em;
  font-weight: 800;
}
.hero h1 span { display: block; color: #5eead4; }
.hero-estate { max-width: 35rem; margin-bottom: 1.15rem; color: #e7f3f4; font-size: 1.075rem; line-height: 1.65; }
.hero-estate strong { color: #5eead4; }
.hero-description { max-width: 32rem; font-size: 1.075rem; line-height: 1.75; color: #c0cddd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.company-section { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem 3rem; padding-block: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.company-section h2 { margin: 0; max-width: 20ch; }
.company-section > p:last-child { grid-column: 2; max-width: 39rem; color: var(--muted); line-height: 1.7; }
.about-section { padding-block: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.about-section h2 { max-width: 22ch; }
.about-section > p:last-child { max-width: 43rem; margin-top: 1.4rem; color: var(--muted); line-height: 1.7; }
.product-section { padding-block: clamp(4rem, 7vw, 6.75rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 2rem;
}
h2 {
  margin-top: .7rem;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -.052em;
  line-height: 1.11;
}
.section-heading > p, .product-content > p {
  color: var(--muted);
  line-height: 1.65;
}
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.product-preview {
  display: grid;
  place-items: center;
  min-height: 218px;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(#08304b52 1px, transparent 1px),
    linear-gradient(90deg, #08304b52 1px, transparent 1px),
    radial-gradient(ellipse at 54% 105%, #134e4a, #0b1221 75%);
  background-size: 28px 28px, 28px 28px, auto;
}
.media-preview, .workspace-preview { display: block; height: 218px; min-height: 0; padding: 0; overflow: hidden; }
.media-preview img, .workspace-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.workspace-preview {
  background:
    linear-gradient(#242e4f90 1px, transparent 1px),
    linear-gradient(90deg, #242e4f90 1px, transparent 1px),
    radial-gradient(ellipse at 55% 100%, #115e59, #0b1221 75%);
  background-size: 28px 28px, 28px 28px, auto;
}
.preview-window {
  width: min(100%, 365px);
  overflow: hidden;
  border: 1px solid #405674;
  border-radius: 8px;
  background: #101b2b;
  box-shadow: 0 15px 30px #02060d80;
  font-size: .8125rem;
}
.preview-header, .file-row { display: flex; gap: .6rem; align-items: center; padding: .55rem .75rem; }
.preview-header {
  justify-content: space-between;
  border-bottom: 1px solid #304055;
  background: #19273a;
  color: #dce8f5;
  font-weight: 800;
}
.preview-header > :last-child { color: #b1c0d4; font-weight: 600; text-align: right; }
.file-row + .file-row { border-top: 1px solid #24364c; }
.file-icon { flex: 0 0 .65rem; height: .8rem; border: 1px solid #2dd4bf; border-radius: 2px; }
.file-state { margin-left: auto; color: #5eead4; text-align: right; }
.timeline { position: relative; display: grid; gap: 5px; padding: .7rem .75rem; }
.track { display: grid; grid-template-columns: 1fr 1.25fr .58fr; gap: 4px; }
.track:nth-child(2) { grid-template-columns: .8fr 1.2fr; margin-right: 16%; }
.track:nth-child(3) { grid-template-columns: .72fr 1fr 1.25fr; }
.track i { height: 10px; border-radius: 2px; background: #14b8a6; }
.track i:nth-child(2) { background: #06b6d4; }
.track:nth-child(2) i { background: #0d9488; }
.track:nth-child(3) i { background: #0891b2; }
.playhead { position: absolute; left: 55%; top: .4rem; bottom: .4rem; width: 1px; background: #e1ecff; }
.preview-footer { padding: .35rem .75rem .55rem; color: #c3cee3; }
.preview-footer span { margin-inline: .2rem; color: #8ea9d7; }

.product-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1.3rem, 3vw, 2rem); }
.product-title { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .9rem; margin-bottom: .85rem; }
.product-title h3 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); letter-spacing: -.04em; }
.status { padding: .2rem .55rem; border: 1px solid #455779; border-radius: 5px; font-size: .8125rem; color: #c6d4ed; }
.status-live { background: #102f32; border-color: #2c5759; color: #a3dcd8; }
.features { margin: 1.2rem 0 1.6rem; padding-left: 1.15rem; color: #cbd8e8; font-size: .925rem; line-height: 1.55; }
.features li + li { margin-top: .4rem; }
.features li::marker { color: var(--blue); }
.product-content .button { margin-top: auto; }
.product-content > p { margin-bottom: 1.75rem; }

.contact { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem 2.5rem; padding-block: clamp(3.75rem, 7vw, 6rem); }
.contact h2 { max-width: 16ch; }
.contact-details { display: grid; gap: .7rem; font-size: 1.05rem; font-weight: 600; }
.contact-details a { color: var(--text); text-decoration: none; }
.contact-details a:hover { color: var(--blue); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; }
.footer-inner p { color: var(--muted); font-size: .875rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-nav a { font-size: .8125rem; }

@media (max-width: 830px) {
  .shell { width: calc(100% - 48px); }
  .company-section { grid-template-columns: 1fr; }
  .company-section > p:last-child { grid-column: 1; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { max-width: 38rem; }
  .desktop-break { display: none; }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .brand img { width: min(190px, 48vw); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 66px; row-gap: 0; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; padding: .1rem 0 .8rem; }
  .header-inner nav a { font-size: .8125rem; }
  .footer-nav { display: flex; order: 3; width: 100%; }
  .hero-inner { padding-block: 5.25rem 4.25rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.75rem); }
  .hero-image {
    inset: 0;
    background:
      linear-gradient(90deg, #0b1221f2, #0b122190),
      linear-gradient(0deg, #0b1221, transparent 62%),
      url("data-centre.jpg") 63% center / cover no-repeat,
      #0b1221;
  }
  .product-grid { grid-template-columns: 1fr; }
  .product-preview { min-height: 185px; padding-inline: 1rem; }
  .media-preview, .workspace-preview { height: 185px; min-height: 0; padding: 0; }
  .contact { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
