:root {
  --navy: #0c1c33;
  --navy-2: #163055;
  --red: #c4232c;
  --blue: #1f4fd8;
  --gold: #c6a15b;
  --gold-ink: #6e5220;
  --gold-on-navy: #e6cb8e;
  --cream: #f4f0e6;
  --paper: #fffcf7;
  --ink: #142033;
  --muted: #5c6b7c;
  --line: rgba(20, 32, 51, 0.12);
  --shadow: 0 24px 60px rgba(12, 28, 51, 0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --header: 92px;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(31, 79, 216, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f4ee 0%, var(--paper) 280px);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 40;
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(12, 28, 51, 0.05);
}

.header-inner,
.footer-inner,
.hero,
.manifest,
.services,
.about,
.route,
.carry,
.apps,
.contact,
.download-page {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 78px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.site-nav .login-open:hover {
  color: var(--red);
}

.login-open {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: inherit;
  cursor: pointer;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 28px;
}

a.header-download,
.footer-links a.download-app {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

a.header-download:hover,
.footer-links a.download-app:hover {
  background: #a61b23;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - var(--header));
  padding: 28px 0 64px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
.footer-name,
blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  max-width: 11ch;
}

.lede {
  max-width: 38rem;
  font-size: 19px;
  color: var(--muted);
}

.hero-actions,
.site-nav,
.footer-links {
  display: flex;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: #a61b23;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(12, 28, 51, 0.25);
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-light {
  background: white;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--gold);
}

.hero-mark {
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: min(420px, 100%);
}

.manifest {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 8px 28px;
  margin-bottom: 88px;
}

.manifest dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

.manifest div {
  padding: 22px 18px;
}

.manifest div + div {
  border-left: 1px solid var(--line);
}

.manifest dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 700;
}

.manifest dd {
  margin: 6px 0 0;
  font-weight: 650;
  font-weight: 600;
}

.manifest a {
  color: var(--blue);
}

.services,
.about,
.route,
.carry,
.apps {
  padding-bottom: 96px;
}

.app-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.app-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 26px;
}

.app-grid h3 {
  margin: 0;
  font-size: 22px;
}

.app-grid p {
  margin: 0;
  color: var(--muted);
}

.app-host,
.app-status {
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.app-status {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.carry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.carry-grid li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 26px;
}

.carry-grid h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.carry-grid p {
  margin: 0;
  color: var(--muted);
}

.standard {
  background: var(--navy);
  color: #f6f2ea;
  padding: 72px 0 64px;
  margin-bottom: 96px;
}

.standard-copy,
.standard ol {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.standard h2 {
  color: white;
  max-width: 12ch;
}

.standard ol {
  list-style: none;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.standard li {
  border-top: 2px solid var(--gold);
  padding-top: 16px;
}

.standard h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.standard p {
  margin: 0;
  color: rgba(246, 242, 234, 0.82);
}

.section-intro,
.route-head {
  max-width: 640px;
  margin-bottom: 28px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 56px);
}

.section-intro p:last-child,
.about-copy p,
.route-head + .steps p {
  color: var(--muted);
}

.founder {
  margin: 28px 0 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.founder span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-list,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.num,
.steps span {
  font-family: var(--serif);
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

.service-list h3,
.steps h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.service-list p,
.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

blockquote {
  margin: 0;
  background: var(--navy);
  color: #f7f3ea;
  border-radius: 28px;
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
}

blockquote::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 10px solid var(--blue);
  border-radius: 50%;
  right: -40px;
  bottom: -50px;
  opacity: 0.9;
}

blockquote p {
  margin: 0;
  font-size: clamp(32px, 3vw, 46px);
  font-style: italic;
  position: relative;
  z-index: 1;
}

blockquote footer {
  margin-top: 22px;
  color: var(--gold-on-navy);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  background: white;
  border-radius: 20px;
  padding: 22px 20px 26px;
  border: 1px solid var(--line);
  min-height: 210px;
  position: relative;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -12px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  margin-bottom: 80px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-panel {
  background:
    linear-gradient(160deg, rgba(31, 79, 216, 0.25), transparent 42%),
    var(--navy);
  color: #f6f2ea;
  padding: 48px 40px;
}

.kicker-light {
  color: var(--gold-on-navy);
}

.contact-panel h2 {
  color: white;
}

.contact-panel p {
  color: rgba(246, 242, 234, 0.82);
}

address {
  font-style: normal;
  display: grid;
  gap: 6px;
  margin: 28px 0;
}

address a {
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

address a:hover {
  color: var(--gold-on-navy);
}

.contact-next {
  margin: 0;
}

.form-note,
.form-error {
  font-size: 14px;
}

.enquiry {
  background: white;
  padding: 40px;
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(20, 32, 51, 0.16);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus,
.btn:focus-visible,
.site-nav a:focus-visible,
.login-choices a:focus-visible,
.login-open:focus-visible,
.login-close:focus-visible,
a.header-download:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(31, 79, 216, 0.45);
  outline-offset: 2px;
}

.form-error {
  color: var(--red);
  margin: 0;
}

.site-footer {
  background: var(--navy);
  color: rgba(246, 242, 234, 0.82);
  padding: 42px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-inner img {
  width: 120px;
  background: white;
  border-radius: 16px;
  padding: 6px;
}

.footer-name {
  margin: 0 0 4px;
  color: white;
  font-size: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  gap: 18px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links .login-open:hover {
  color: var(--gold-on-navy);
}

.footer-links .login-open {
  color: white;
}

.login-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 28, 51, 0.56);
}

.login-gate[hidden] {
  display: none;
}

.login-card {
  width: min(440px, 100%);
  background: var(--paper);
  border-radius: 24px;
  padding: 32px 28px 24px;
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin: 0 0 8px;
  font-size: 48px;
}

.login-card p {
  margin: 0;
  color: var(--muted);
}

.login-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 18px;
}

.login-choices a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.login-choices a span {
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.login-choices a:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.login-choices a:hover span {
  color: var(--gold-on-navy);
}

.desk-pending {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.login-close {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.login-close:hover {
  color: var(--navy);
}

.download-page {
  padding: 36px 0 80px;
}

.download-page h1 {
  max-width: 16ch;
  font-size: clamp(42px, 5vw, 64px);
}

.download-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 28px;
  margin-top: 18px;
}

.download-card h2 {
  font-size: 32px;
}

.download-card p {
  color: var(--muted);
}

.download-card .btn {
  margin-top: 4px;
}

.download-wait {
  background: #fff8ee;
  border-color: rgba(110, 82, 32, 0.35);
}

.file {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.nav-download {
  display: none;
}

.legal {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-tools {
    gap: 10px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav.is-open {
    display: flex;
    z-index: 20;
    box-shadow: 0 18px 40px rgba(12, 28, 51, 0.12);
  }

  .site-nav a,
  .site-nav .login-open {
    min-height: 48px;
    padding: 12px 4px;
    text-align: left;
  }

  .nav-download {
    display: inline-flex;
    align-items: center;
  }

  a.header-download {
    display: none;
  }

  .hero,
  .about,
  .contact,
  .manifest dl,
  .steps,
  .carry-grid,
  .app-grid,
  .standard ol,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 12px;
  }

  .hero-mark {
    order: -1;
  }

  .manifest div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .steps li:not(:last-child)::after {
    display: none;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .field-row,
  .service-list li {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner,
  .hero,
  .manifest,
  .services,
  .about,
  .route,
  .carry,
  .apps,
  .download-page,
  .standard-copy,
  .standard ol,
  .contact,
  .legal {
    width: min(1120px, calc(100% - 28px));
  }

  .brand img {
    height: 64px;
  }

  .enquiry,
  .contact-panel,
  blockquote {
    padding: 28px 22px;
  }

  h1 {
    font-size: 46px;
  }
}

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