/* Siphon Labs, www.siphonlabs.net. Brand kit v1.1 colours and Space Grotesk.
   Header, hero and contact are Midnight in both themes; the middle bands follow the viewer's theme. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --midnight: #08111f;
  --midnight-2: #111c2e;
  --midnight-line: #26344b;
  --blue: #1f6fff;
  --blue-600: #1c64e6;
  --blue-400: #4c8cff;
  --cyan: #22d3ee;
  --cloud: #f5f7fa;
  --slate: #4a5b75;
  --mist: #9aa8bf;

  --paper: var(--cloud);
  --paper-alt: #ffffff;
  --card: #ffffff;
  --ink: var(--midnight);
  --muted: var(--slate);
  --line: #e2e7ef;
  --link: var(--blue-600);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: var(--midnight);
    --paper-alt: #0b1628;
    --card: var(--midnight-2);
    --ink: var(--cloud);
    --muted: var(--mist);
    --line: var(--midnight-line);
    --link: var(--blue-400);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: var(--link);
}
img {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--cloud);
  color: var(--midnight);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus {
  left: 16px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}
.eyebrow-ink {
  color: var(--muted);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-sm {
  min-height: 38px;
  padding: 0 16px;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
}
.btn-primary:hover {
  background: #0b47d9;
}
.btn-ghost {
  color: var(--cloud);
  border: 1px solid #c5cedc;
}
.btn-ghost:hover {
  border-color: var(--cloud);
  background: rgb(245 247 250 / 6%);
}

/* header */
.top {
  background: var(--midnight);
  border-bottom: 1px solid #1a2740;
  position: sticky;
  top: 0;
  z-index: 5;
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo img {
  height: 28px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a:not(.btn) {
  color: var(--cloud);
  text-decoration: none;
  font-size: 15px;
}
nav a:not(.btn):hover {
  color: var(--cyan);
}
@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }
  .logo img {
    height: 24px;
  }
}

/* hero */
.hero {
  position: relative;
  background: var(--midnight);
  color: var(--cloud);
  overflow: hidden;
}
.hero-in {
  position: relative;
  padding-top: 112px;
  padding-bottom: 120px;
}
.hero h1 {
  margin-top: 18px;
  max-width: 20ch;
  text-wrap: balance;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(17px, 2.2vw, 20px);
  color: #c5cedc;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.motto {
  position: absolute;
  right: 24px;
  bottom: 40px;
  text-align: right;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}
.rings {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  fill: none;
  stroke: #1c3f80;
  stroke-width: 1.5;
}
.rings .ring-cyan {
  stroke: #155e6e;
}
.rings .dot-cyan {
  fill: var(--cyan);
  stroke: none;
}
.rings .dot-blue {
  fill: var(--blue);
  stroke: none;
}
@media (max-width: 900px) {
  .rings {
    right: -360px;
    opacity: 0.55;
  }
  .rings .dot-cyan,
  .rings .dot-blue {
    display: none;
  }
  .motto {
    display: none;
  }
  .hero-in {
    padding-top: 72px;
    padding-bottom: 80px;
  }
}

/* bands */
.band {
  padding: 96px 0;
}
.band-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 600px) {
  .band {
    padding: 64px 0;
  }
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
.mission {
  margin-top: 20px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 400;
}
.lanes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
}
.lanes li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 16px;
}
.lanes li::before {
  content: '';
  grid-row: 1 / span 2;
  margin-top: 11px;
  height: 2px;
  background: var(--blue);
}
.lanes h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.lanes p {
  margin-top: 4px;
  color: var(--muted);
}

.section-title {
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-title-light {
  color: var(--cloud);
}
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
@media (max-width: 600px) {
  .card {
    padding: 24px;
  }
}
.card h3 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 600;
}
.card > p:not(.tag) {
  margin-top: 10px;
  color: var(--muted);
}
.card-feature {
  border-top: 3px solid var(--blue);
}
.card-quiet {
  border-style: dashed;
  background: transparent;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--link);
}
.tag-quiet {
  color: var(--muted);
}
.ticks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
@media (max-width: 600px) {
  .ticks {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

/* contact */
.contact {
  background: var(--midnight);
  color: var(--cloud);
}
.contact-in {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.contact-mark {
  flex: none;
  margin-top: 4px;
}
.contact .lead {
  margin-top: 14px;
}
.email {
  margin-top: 10px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.email a {
  color: var(--blue-400);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.email a:hover {
  color: var(--cyan);
}
@media (max-width: 600px) {
  .contact-in {
    flex-direction: column;
    gap: 20px;
  }
}

/* footer */
.foot {
  background: var(--midnight);
  border-top: 1px solid #1a2740;
  color: var(--cloud);
  font-size: 14px;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 64px;
}
.foot-sep,
.foot-muted {
  color: var(--mist);
}
@media (max-width: 600px) {
  .foot-in {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .foot-sep {
    display: none;
  }
  .foot-muted {
    flex-basis: 100%;
  }
}

/* the Midnight bands meet the dark-theme paper: keep a line between them */
.hero,
.contact {
  border-bottom: 1px solid #1a2740;
}
.contact {
  border-top: 1px solid #1a2740;
}
