:root {
  --bg: #1b2433;
  --bg-deep: #141b27;
  --ink: #f4f6f8;
  --muted: #b5bfcc;
  --mint: #7ee0b0;
  --mint-ink: #0f2a1f;
  --glass: rgb(30 40 56 / 0.55);
  --glass-solid: #222d3e;
  --glass-border: rgb(255 255 255 / 0.12);
  --rule: rgb(255 255 255 / 0.1);
  --err: #ff9b8f;
  --radius: 18px;
  /* Focal point of the hero image: the island and cottage sit right of centre. */
  --hero-focus: 68% 30%;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px / 1.6 Nunito,
    ui-rounded,
    "Segoe UI",
    system-ui,
    sans-serif;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

@supports (backdrop-filter: blur(1px)) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(1.15);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px clamp(16px, 4vw, 64px);
  background: rgb(27 36 51 / 0.92);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.45rem;
}

.brand-mark {
  width: 40px;
  height: 28px;
  color: var(--mint);
  stroke-width: 2.2;
}

.pill {
  padding: 8px 20px;
  border: 1.5px solid var(--mint);
  border-radius: 999px;
  color: var(--mint);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pill:hover {
  background: rgb(126 224 176 / 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 120px) clamp(16px, 4vw, 64px) 56px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  grid-template-areas:
    "copy stats"
    "email email";
  gap: 40px;
  min-height: min(760px, calc(100svh - 64px));
}

.hero-copy {
  grid-area: copy;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}

.subtitle {
  margin: 10px 0 22px;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.bar {
  display: block;
  width: 84px;
  height: 5px;
  border-radius: 3px;
  background: var(--mint);
}

.supports {
  margin: 22px 0 0;
  max-width: 50rem;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
}

.logos {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-left: 6px;
  vertical-align: -0.3em;
  color: rgb(255 255 255 / 0.85);
}

.logo {
  display: inline-flex;
}

/* Marks are used unmodified apart from colour. */
.logo svg {
  height: 24px;
  width: auto;
  fill: currentColor;
  stroke: none;
}

.logo-word svg {
  font:
    800 19px Nunito,
    ui-rounded,
    sans-serif;
}

@media (max-width: 640px) {
  .logo svg {
    height: 19px;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "stats" "email";
    min-height: 0;
  }
}
