:root {
  /* Colour */
  --navy: #0B1640;
  --navy-deep: #081133;
  --cobalt: #2F4BFF;
  --cobalt-dark: #1A2FC9;
  --aqua: #4FD1C5;
  --peri: #7B8CFF;
  --sun: #FFC145;
  --paper: #F4F6FB;
  --tint: #E6EAFA;
  --ink: #141A33;
  --muted: #4A5272;
  --on-navy: #C9D1EF;
  --on-navy-2: #DCE2F7;
  --line: #B7BFDF;
  --line-soft: #C3CAE6;
  --icon-bg: #DDE3FF;
  --field: #8790B3;
  --error: #C2410C;

  /* Colour every call-to-action */
  --cta: var(--sun);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 9vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
svg { display: block; }
a { color: var(--cobalt); text-underline-offset: 4px; }
a:hover { color: var(--cobalt-dark); }
input, textarea, button, select { font: inherit; }
::placeholder { color: #6B7394; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--sun); }

.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-link {
  position: absolute; left: 16px; top: -100px; z-index: 20;
  padding: 12px 18px; border-radius: 999px;
  background: var(--sun); color: var(--navy); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Inline stroke icons */
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.h2 { font-size: clamp(36px, 4.4vw, 56px); }
.lead { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.lead--narrow { max-width: 620px; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn--cta, .btn--cta:hover { background: var(--cta); color: var(--navy); }
.btn--navy, .btn--navy:hover { background: var(--navy); color: #fff; }
.btn--ghost, .btn--ghost:hover { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline, .btn--outline:hover { border-color: var(--navy); color: var(--navy); background: #fff; }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; color: #fff; text-decoration: none;
}
.brand:hover { color: #fff; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.brand__tld { color: #9FAAD6; font-weight: 600; }
.mk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.mk--sun { stroke: var(--sun); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
}
.hero-motion, .contact-motion {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,22,64,.95) 0%, rgba(11,22,64,.74) 40%, rgba(11,22,64,.08) 78%),
    linear-gradient(0deg, rgba(11,22,64,.9) 0%, rgba(11,22,64,0) 32%);
}

/* Abstract motion loop */
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-720px); } }
@keyframes sway  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-28px); } }
.drift-a  { animation: drift 30s linear infinite; }
.drift-b  { animation: drift 46s linear infinite reverse; }
.drift-c  { animation: drift 22s linear infinite; }
.sway     { animation: sway 16s ease-in-out infinite; }
.sway-rev { animation: sway 21s ease-in-out infinite reverse; }
.thread   { color: var(--cta); }

/* Pause / play — a CSS-only toggle (hidden checkbox + label) */
.motion-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.motion-toggle:checked ~ .hero-motion * { animation-play-state: paused; }
.motion-btn {
  position: absolute; z-index: 2;
  right: clamp(16px, 4vw, 40px); bottom: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(11,22,64,.6); color: #fff;
  font-size: 14px; font-weight: 500;
  cursor: pointer; user-select: none;
}
.motion-btn__state { display: inline-flex; align-items: center; gap: 8px; }
.motion-btn__state--paused { display: none; }
.motion-toggle:checked ~ .motion-btn .motion-btn__state--paused { display: inline-flex; }
.motion-toggle:checked ~ .motion-btn .motion-btn__state--playing { display: none; }
.motion-toggle:focus-visible ~ .motion-btn { outline: 3px solid var(--sun); outline-offset: 3px; }

/* Nav */
.nav {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px;
  padding-block: 22px;
}
.nav__links { display: flex; flex-wrap: wrap; gap: 2px 4px; list-style: none; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 12px; border-radius: 10px;
  color: var(--on-navy-2); text-decoration: none; font-size: 15px; font-weight: 500;
  white-space: nowrap;
}
.nav__links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav__cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Hero content */
.hero__content { position: relative; flex: 1; display: flex; align-items: center; }
.hero__inner { max-width: 740px; padding: 56px 0 128px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: .97;
  letter-spacing: -0.04em;
}
.hero__lead {
  margin-top: 28px; max-width: 580px;
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--on-navy);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__facts {
  list-style: none; padding: 0; margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  color: var(--on-navy); font-size: 15px;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { color: var(--aqua); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: 0; }

.split { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.split__intro { flex: 1 1 340px; max-width: 460px; }
.split__body { flex: 999 1 520px; min-width: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 600; }
.split__intro .btn { margin-top: 28px; }

/* Rental: features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 44px 48px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--icon-bg); color: var(--cobalt);
}
.feature h3 { margin-top: 4px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.feature p { color: var(--muted); font-size: 16px; }

/* Support: service rows */
.services { list-style: none; padding: 0; }
.service {
  display: flex; flex-wrap: wrap; gap: 6px 32px;
  padding-block: 24px; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { flex: 1 1 220px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.service p { flex: 2 1 300px; color: var(--muted); font-size: 16px; }

/* Compare table */
.compare-title { max-width: 760px; }
.table-wrap {
  margin-top: 48px; overflow-x: auto;
  border-radius: 24px; background: #fff; border: 1px solid #D5DBEF;
}
.compare { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 16px; text-align: left; }
.compare th, .compare td { width: 25%; padding: 18px 24px; border-top: 1px solid #E1E5F3; vertical-align: top; }
.compare thead th, .compare thead td { padding-block: 22px; border-top: 0; font-size: 17px; font-weight: 600; }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); }
.compare .is-ours { background: #EEF1FF; color: var(--ink); font-weight: 600; border-top-color: #C9D2F5; }
.compare thead .is-ours { background: var(--navy); color: #fff; }

/* How it works */
.steps { list-style: none; padding: 0; margin-top: 64px; display: flex; flex-wrap: wrap; gap: 48px 24px; }
.step { flex: 1 1 230px; border-top: 2px solid var(--line); }
.step__num {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-top: -25px;
  border-radius: 999px; border: 2px solid var(--cobalt);
  background: var(--paper); color: var(--cobalt);
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.step__num--fill { background: var(--cobalt); color: #fff; }
.step h3 { margin-top: 20px; font-size: 21px; font-weight: 600; }
.step p { margin-top: 8px; max-width: 280px; color: var(--muted); font-size: 16px; }

/* Pricing */
.plans { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.plan {
  flex: 1 1 300px; display: flex; flex-direction: column;
  padding: 36px 32px; border-radius: 28px;
  background: #fff; border: 1px solid #D5DBEF;
}
.plan--featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plan h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.plan__badge {
  padding: 4px 12px; border-radius: 999px;
  background: var(--cta); color: var(--navy); font-size: 13px; font-weight: 600;
}
.plan__for { margin-top: 6px; color: var(--muted); font-size: 16px; }
.plan__price { margin-top: 28px; display: flex; align-items: baseline; gap: 8px; }
.plan__amount { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.plan__per { color: var(--muted); font-size: 16px; }
.plan--featured .plan__for, .plan--featured .plan__per { color: var(--on-navy); }
.plan .btn { margin-top: 24px; }
.plan__list {
  list-style: none; margin-top: 28px; padding: 24px 0 0;
  border-top: 1px solid #E1E5F3;
  display: flex; flex-direction: column; gap: 12px; font-size: 16px;
}
.plan--featured .plan__list { border-top-color: rgba(255,255,255,.18); }
.plans__note { margin-top: 28px; color: var(--muted); font-size: 15px; }

.check-list li { display: flex; gap: 10px; }
.check-list svg { flex: none; margin-top: 3px; color: var(--cobalt); }
.plan--featured .check-list svg, .contact .check-list svg { color: var(--aqua); }

/* FAQ — native <details>, one open at a time via the shared name */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 20px 0;
  font-size: 19px; font-weight: 600; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--cobalt); }
.faq .ic-minus { display: none; }
.faq details[open] .ic-plus { display: none; }
.faq details[open] .ic-minus { display: block; }
.faq details p { max-width: 660px; padding-bottom: 24px; color: var(--muted); font-size: 17px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative; overflow: hidden;
  padding-block: var(--section-y);
  background: var(--navy); color: #fff;
}
.contact__grid { position: relative; display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.contact__intro { flex: 1 1 320px; max-width: 460px; }
.contact h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.contact__lead { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--on-navy); }
.contact__sub { margin-top: 40px; font-size: 17px; font-weight: 600; }
.contact .check-list {
  list-style: none; padding: 0; margin-top: 14px;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--on-navy-2); font-size: 16px;
}
.contact__direct {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-direction: column; gap: 6px;
}
.contact__direct a, .contact__direct span {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; color: #fff; font-size: 17px; font-weight: 600;
}
.contact__direct svg { color: var(--aqua); }

/* Form card */
.form-card {
  flex: 999 1 480px; min-width: 0;
  border-radius: 28px; background: #fff; color: var(--ink);
  padding: clamp(24px, 4vw, 44px);
}
.form-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.form-hint { margin-top: 6px; color: var(--muted); font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.form-row { display: flex; flex-wrap: wrap; gap: 22px 16px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.form > .field { flex: none; } /* full-width fields: no flex-basis height */
.field label, .legend { font-size: 15px; font-weight: 600; }

.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: 12px; border: 1.5px solid var(--field);
  background: #fff; color: var(--ink); font-size: 16px;
}
textarea.input { min-height: 140px; line-height: 1.5; resize: vertical; }

/* Errors appear only after the visitor has interacted with a field */
.field-error { display: none; color: var(--error); font-size: 14px; font-weight: 500; }
.input:user-invalid { border-color: var(--error); }
.input:user-invalid ~ .field-error { display: block; }

/* Service chips (radio buttons styled as pills) */
.chips-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.legend { padding: 0; margin-bottom: 10px; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chips label {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--field);
  background: #fff; color: var(--ink);
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.chips input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* Consent */
.consent { display: flex; flex-direction: column; gap: 8px; }
.consent label {
  display: flex; gap: 12px; align-items: flex-start;
  min-height: 44px; font-size: 15px; line-height: 1.5; cursor: pointer;
}
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cobalt); }
.consent:has(input:user-invalid) .field-error { display: block; }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-submit button { border: 0; }
.form-submit p { color: var(--muted); font-size: 14px; }

/* Success message: shown when the page URL ends in #sent */
.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
.form-success:target { display: flex; }
.form-success:target ~ .form-wrap { display: none; }
.success-icon {
  width: 64px; height: 64px; border-radius: 999px;
  display: grid; place-items: center;
  background: #DDF7F3; color: #0F766E;
}
.form-success h3 { margin-top: 8px; font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.form-success p { max-width: 460px; color: var(--muted); font-size: 17px; }
.form-success .btn { margin-top: 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-deep); color: var(--on-navy); padding: 56px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer__brand p { font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px 8px; list-style: none; padding: 0; }
.footer__links a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 8px;
  color: var(--on-navy-2); text-decoration: none; font-size: 15px;
}
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__legal {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #A9B3DA; font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-veil { background: rgba(11,22,64,.72); }
  .hero__inner { padding: 40px 0 120px; }

  /* Logo + CTA on the first row, links scroll sideways underneath */
  .nav__links {
    order: 3; flex: 1 1 100%;
    flex-wrap: nowrap; overflow-x: auto;
    margin-inline: -12px; scrollbar-width: none;
  }
  .nav__links::-webkit-scrollbar { display: none; }
}

/* Respect visitors who turn off animation */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift-a, .drift-b, .drift-c, .sway, .sway-rev { animation: none; }
  .motion-btn { display: none; }
  .btn { transition: none; }
}
