@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
}

:root {
  --bg: #071018;
  --bg-raise: #0b1724;
  --ink: #e8eef6;
  --body: #c5d2e2;
  --muted: #93a6bd;
  --line: rgba(168, 196, 232, 0.14);
  --line-strong: rgba(168, 196, 232, 0.28);
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --blue-soft: #9ec5ff;
  --green: #3dd6a5;
  --danger: #ffb4b4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--body);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(37, 99, 235, 0.2), transparent 58%),
    radial-gradient(700px 380px at -12% 18%, rgba(14, 165, 233, 0.08), transparent 52%),
    var(--bg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.35rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.02em; }

a { color: inherit; }

.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;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 40;
}
.skip:focus { top: 12px; }

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

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 16px;
  color: var(--blue-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.section-lead {
  max-width: 68ch;
  margin-top: 14px;
  color: var(--body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 0.98rem/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 3px solid rgba(158, 197, 255, 0.85);
  outline-offset: 2px;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4b8df8 0%, #2563eb 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover { background: linear-gradient(180deg, #5b98f8 0%, #1d4ed8 100%); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: rgba(214, 226, 242, 0.28);
}
.btn-ghost:hover { border-color: var(--blue-soft); background: rgba(59, 130, 246, 0.08); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 0.92rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(7, 16, 24, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.logo svg { width: 28px; height: 28px; display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a:not(.btn) {
  color: var(--body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.hero { padding: 54px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}
@media (min-width: 981px) {
  .hero-figure { margin-top: 42px; }
}
.hero-copy p { margin-top: 14px; }
.lede { color: var(--ink); font-size: 1.15rem; line-height: 1.5; }
.checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
}
.checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2 6.4 11 12.5 5' fill='none' stroke='%23071418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    var(--green);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #0c141e;
}
.hero-figure img { display: block; width: 100%; }
.hero-figure figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 16, 24, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.environments {
  margin-top: 42px;
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 20, 0.55);
}
.environments h2 { max-width: 16em; margin-bottom: 8px; }
section:not(.hero) { scroll-margin-top: 88px; }
.env-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
}
.env-grid article { padding: 8px 22px 28px 0; }
.env-grid article + article {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.env-grid svg {
  width: 32px;
  height: 32px;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.env-grid h3 { margin-bottom: 8px; }
.env-grid p { color: var(--muted); font-size: 0.98rem; }

.how { padding: 84px 0 24px; }
.arch {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 32px;
  padding: 28px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 32, 52, 0.55), rgba(8, 16, 28, 0.2));
}
.arch-node {
  text-align: center;
  padding: 8px 12px 4px;
}
.arch-node h3 { margin-bottom: 6px; }
.arch-node p { color: var(--muted); font-size: 0.95rem; }

.laptop { width: 220px; margin: 0 auto 18px; }
.laptop-lid {
  background: #0c121c;
  border: 2px solid #d5dbe3;
  border-bottom: none;
  border-radius: 12px 12px 2px 2px;
  padding: 8px 8px 10px;
}
.chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.chrome i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #314056;
}
.chrome span {
  margin-left: 4px;
  color: #8fb4ff;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.editor {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  min-height: 96px;
}
.files b, .lines span {
  display: block;
  height: 4px;
  margin: 0 0 7px;
  border-radius: 2px;
}
.files b { background: #243246; }
.files b:nth-child(2) { width: 78%; }
.files b:nth-child(4) { width: 64%; }
.lines span { background: #3b82f6; opacity: 0.9; }
.lines span:nth-child(even) { background: #8fb4ff; }
.laptop-base {
  height: 12px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#e6ebf0, #9aa3ae);
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 54px;
  height: 5px;
  transform: translateX(-50%);
  background: #6d7682;
  border-radius: 0 0 6px 6px;
}

.mini { height: 132px; display: grid; place-items: center; }
.mini-shell {
  width: 168px;
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f8fa 0%, #d5dbe2 48%, #b4bdc7 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 #fff;
  position: relative;
}
.mini-led {
  position: absolute;
  width: 7px;
  height: 7px;
  right: 16px;
  bottom: 14px;
  border-radius: 50%;
  background: #eef2f6;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.arch-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
}
.flow {
  margin: 0;
  color: var(--blue-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cable {
  width: 100%;
  height: 28px;
  display: grid;
  place-items: center;
}
.cable span {
  display: block;
  width: 100%;
  height: 2px;
  position: relative;
  background: linear-gradient(90deg, transparent, #3b82f6 15%, #9ec5ff 50%, #3b82f6 85%, transparent);
  overflow: hidden;
}
.cable span::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 28px;
  height: 6px;
  border-radius: 99px;
  background: #fff;
  opacity: 0.85;
  animation: travel 2.2s linear infinite;
}
.link-name {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
}
.steps li {
  padding: 18px 16px 8px;
  border-top: 1px solid var(--line);
}
.steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

.security { padding: 72px 0; }
.security-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.checks-block { margin-top: 22px; }
.note {
  padding: 24px 24px 8px;
  border-radius: 18px;
  border: 1px solid rgba(245, 193, 108, 0.35);
  background: rgba(245, 193, 108, 0.06);
}
.note h3 { margin-bottom: 10px; color: #f3d7a4; }
.note p { margin-bottom: 14px; color: var(--body); }

.pricing { padding: 12px 0 72px; }
.offer {
  padding: 36px 36px 28px;
  border-radius: 22px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  background:
    radial-gradient(600px 180px at 100% 0%, rgba(59, 130, 246, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(16, 36, 64, 0.72), rgba(8, 16, 28, 0.92));
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25), var(--shadow);
}
.offer-head .section-lead { max-width: 62ch; }
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.prices article { padding: 26px 8px 8px; }
.prices article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.price-kicker {
  color: var(--blue-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.amount {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.amount span { font-size: 0.62em; margin-right: 2px; }
.amount abbr {
  margin-left: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
}
.period {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prices ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.prices li {
  padding-left: 18px;
  position: relative;
  color: var(--body);
  font-size: 0.98rem;
}
.prices li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
  padding: 18px 18px 8px;
  border-radius: 14px;
  background: rgba(4, 10, 18, 0.45);
  border: 1px solid var(--line);
}
.scope h3 { font-size: 0.98rem; margin-bottom: 6px; }
.scope p { color: var(--muted); font-size: 0.95rem; }

.enquiry { padding: 24px 0 88px; }
.enquiry-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.marks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.enquiry-form,
.form-success {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 20, 34, 0.86);
  box-shadow: var(--shadow);
}
.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
}
.field { display: grid; gap: 6px; }
.field-wide, .consent, .form-status, .form-note, .btn-submit { grid-column: 1 / -1; }
.field span, .consent span { color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.field em { color: var(--muted); font-style: normal; font-weight: 400; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #08131f;
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  padding: 12px 12px;
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--blue-soft) 50%), linear-gradient(135deg, var(--blue-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  border-color: var(--blue);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.consent.is-invalid { border-color: var(--danger); }
.consent.is-invalid { outline: 1px solid var(--danger); border-radius: 8px; }
.field-error { display: none; color: var(--danger); font-size: 0.85rem; }
.field.is-invalid .field-error,
.consent.is-invalid + .consent-error { display: block; }
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 4px;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.consent span { font-weight: 400; color: var(--body); }
.form-status:empty { display: none; }
.form-status {
  color: var(--danger);
  font-size: 0.92rem;
}
.btn-submit { width: 100%; margin-top: 4px; }
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--blue-soft);
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-success h3 { margin-bottom: 8px; }
.form-success dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 12px;
  margin: 16px 0 18px;
}
.form-success dt { color: var(--muted); font-size: 0.85rem; }
.form-success dd { margin: 0; color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  background: #060e16;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.site-footer .logo { margin-bottom: 8px; }
.fine { color: var(--muted); font-size: 0.92rem; max-width: 70ch; }

@media (max-width: 980px) {
  .hero-grid,
  .security-grid,
  .enquiry-grid,
  .footer-grid,
  .prices,
  .scope { grid-template-columns: 1fr; }
  .prices article + article,
  .env-grid article + article { border-left: 0; padding-left: 0; }
  .prices article + article { border-top: 1px solid var(--line); margin-top: 8px; }
  .env-grid { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .env-grid article:nth-child(odd) { padding-right: 16px; }
  .env-grid article:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .environments h2 { max-width: none; }
  .hero { padding-top: 28px; }
  .hero-grid { gap: 28px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 20px 18px;
    background: #071018;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { width: 100%; }
  .arch { grid-template-columns: 1fr; padding: 22px 16px; }
  .arch-link { padding: 8px 0 12px; }
  .cable { height: 64px; }
  .cable span {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #3b82f6 15%, #9ec5ff 50%, #3b82f6 85%, transparent);
  }
  .cable span::after { animation: none; width: 6px; height: 18px; left: -2px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .env-grid, .steps, .form-fields, .form-success dl { grid-template-columns: 1fr; }
  .env-grid article,
  .env-grid article:nth-child(even) {
    padding: 6px 0 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .env-grid article:first-child { border-top: 0; }
  .offer, .enquiry-form, .form-success { padding: 18px; }
  .hero-figure figcaption { position: static; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .cable span::after { animation: none; }
}

@keyframes travel {
  from { left: -30px; }
  to { left: 110%; }
}
