/* Colours and type from the Reach proposal deck:
   ink #222222, speech-bubble green #77bb5a, body #6b6b6b,
   dark fields #212121, mist #f4f4f4. League Spartan + Poppins. */

@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #222222;
  --green: #77bb5a;
  --muted: #6b6b6b;
  --dark: #212121;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --ground: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;
}

#top,
#gap,
#platform,
#contact {
  scroll-margin-top: 4.75rem;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

p,
ul,
figure,
address {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-wrap: balance;
}

a {
  color: inherit;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: var(--green);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  border-radius: 0.6rem;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 34, 34, 0.06);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
  margin-right: 0.4rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-block;
  background: var(--green);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.55rem 0.95rem 0.6rem;
  border-radius: 1rem 1rem 1rem 0.3rem;
}

.header-cta:hover {
  filter: brightness(0.96);
}

a:focus-visible,
.header-cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.hero {
  background: var(--dark);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.kicker {
  margin: 0 0 1rem;
}

.kicker span {
  display: inline-block;
  background: var(--green);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  padding: 0.55rem 0.85rem 0.6rem;
  border-radius: 1rem 1rem 1rem 0.28rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.7vw, 4.55rem);
  color: #fff;
}

.where {
  color: var(--green);
}

.lede {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 1.05rem;
  color: #fff;
}

.promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

.promises li {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.92rem;
}

.proof {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 32rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.stat strong {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.stat span {
  max-width: 16rem;
  font-size: 1rem;
  line-height: 1.35;
}

.proof figcaption {
  margin-top: 0.7rem;
  color: #cfcfcf;
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 28rem;
}

.hero-visual {
  display: grid;
}

.hero-visual .signal,
.hero-visual .device {
  grid-area: 1 / 1;
}

.signal {
  align-self: start;
  width: 100%;
  height: auto;
}

.hero-visual .device {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: start;
  width: min(252px, 48%);
  margin-top: 1.75rem;
}

.device {
  background: var(--ground);
  border-radius: 2rem;
  padding: 0.55rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.screen {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: 1.55rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.island {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 4.6rem;
  height: 1.05rem;
  transform: translateX(-50%);
  background: var(--ground);
  border-radius: 999px;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.95rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.battery {
  width: 1.15rem;
  height: 0.55rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: 1px;
  position: relative;
}

.battery span {
  display: block;
  width: 70%;
  height: 100%;
  background: var(--ink);
  border-radius: 1px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 1px;
  width: 1.5px;
  height: 4px;
  background: var(--ink);
  border-radius: 0 1px 1px 0;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.7rem;
  border-bottom: 1px solid #ececec;
}

.mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex: none;
}

.mark::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.48rem;
  width: 0.85rem;
  height: 0.7rem;
  background: var(--ink);
  border-radius: 0.35rem 0.35rem 0.35rem 0.12rem;
}

.chat-head strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.chat-head small {
  color: var(--muted);
  font-size: 0.7rem;
}

.chat {
  background: var(--mist);
  padding: 0.85rem 0.7rem 1rem;
  flex: 1;
}

.message {
  background: #fff;
  border-radius: 0.35rem 1rem 1rem 1rem;
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.06);
  overflow: hidden;
}

.course {
  margin: 0;
  background: var(--green);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
}

.message p {
  margin: 0.65rem 0.85rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ps {
  color: var(--muted);
  font-size: 0.75rem !important;
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 !important;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid #ececec;
  font-weight: 600;
  font-size: 0.84rem;
}

.action-go {
  background: var(--green);
  border-top-color: transparent;
}

.pip {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex: none;
}

.action-go .pip {
  background: var(--ink);
}

.band {
  background: var(--green);
  color: var(--ink);
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 1.35rem 0;
}

.band-title {
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 22rem;
}

.band-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
}

.band-points li {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem 0.55rem;
  border-radius: 1rem 1rem 1rem 0.28rem;
}

.gap {
  background: var(--mist);
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.section-intro {
  max-width: 44rem;
}

.gap h2,
.platform h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
}

.wordmark {
  height: 0.74em;
  width: auto;
  vertical-align: -0.08em;
}

.lead-copy {
  font-size: 1.12rem;
  color: var(--ink);
  max-width: 40rem;
}

.lead-copy strong {
  white-space: nowrap;
}

.section-intro p + p,
.platform-grid p {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}

.bubbles {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.6rem 0.9rem;
  align-items: center;
  margin-top: 2.6rem;
}

.bubbles-link {
  width: 88px;
  height: 48px;
}

.bubble {
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: 1.4rem 1.4rem 1.4rem 0.35rem;
  padding: 1.45rem 1.4rem 1.2rem;
  margin-bottom: 0.85rem;
}

.bubble-in {
  background: var(--green);
  color: var(--ink);
}

.bubble-out {
  border-radius: 1.4rem 1.4rem 0.35rem 1.4rem;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  bottom: -11px;
  border-width: 12px 14px 0 0;
  border-style: solid;
  border-color: var(--dark) transparent transparent transparent;
}

.bubble-in::after {
  border-color: var(--green) transparent transparent transparent;
}

.bubble-out::after {
  left: auto;
  right: 1.5rem;
  border-width: 12px 0 0 14px;
  border-color: transparent transparent transparent var(--dark);
}

.bubble h3 {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--green);
  margin: 0 0 0.7rem;
}

.bubble-in h3 {
  color: var(--ink);
}

.bubble ul {
  list-style: none;
  padding: 0;
}

.bubble li {
  padding: 0.42rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.98rem;
}

.bubble-in li {
  border-top-color: rgba(34, 34, 34, 0.12);
}

.closer {
  margin-top: 0.45rem;
}

.platform {
  background: var(--paper);
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.eyebrow {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.platform h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  max-width: 16ch;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.72fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.support {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.support li {
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem 1rem 1rem 0.28rem;
}

.device-menu {
  width: min(280px, 100%);
  margin-inline: auto;
  box-shadow: 0 18px 40px rgba(34, 34, 34, 0.12);
}

.menu {
  padding: 0.4rem 0 0.6rem;
  flex: 1;
}

.menu-label {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1rem 0.35rem;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1.05rem;
  border-top: 1px solid #ececec;
}

.menu strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.menu small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.menu i {
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #d0d0d0;
  border-radius: 50%;
  flex: none;
}

.cta {
  background: var(--dark);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4.4rem, 8vw, 6.2rem);
}

.cta-bubble {
  position: relative;
  background: var(--green);
  color: var(--ink);
  border-radius: 3.2rem 3.2rem 3.2rem 1rem;
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 860px;
}

.cta-bubble::after {
  content: "";
  position: absolute;
  left: 14%;
  bottom: -26px;
  width: 46px;
  height: 28px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 18% 100%);
}

.cta h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 11ch;
}

.cta address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: 1.4rem;
  font-size: 1.15rem;
}

.who {
  font-weight: 600;
}

.cta a {
  font-weight: 600;
  text-underline-offset: 0.18em;
  padding: 0.15rem 0;
}

.cta a:hover {
  text-decoration-thickness: 2px;
}

.cta a:focus-visible {
  outline-color: #fff;
}

.site-footer {
  background: var(--ground);
  padding: 1.6rem 0 2.1rem;
  color: #9a9a9a;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .bubbles {
    grid-template-columns: 1fr;
  }

  .bubbles-link {
    display: none;
  }

  .hero-visual {
    margin-top: 0.5rem;
  }

  .hero-visual .device {
    margin-top: 0.75rem;
  }

  .band-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem 0 1.35rem;
  }

  .band-title {
    max-width: none;
  }

  .platform h2 {
    max-width: none;
  }

  .support {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .brand img {
    height: 28px;
  }

  .header-cta {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem 0.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .stat {
    align-items: flex-start;
  }

  .hero-visual .device {
    width: min(230px, 62%);
    margin-top: 0.35rem;
  }

  .message p,
  .action {
    font-size: 0.8rem;
  }

  .cta-bubble {
    border-radius: 2rem 2rem 2rem 0.7rem;
  }
}

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

@media print {
  .site-header {
    position: static;
  }

  .device {
    box-shadow: none;
  }

  .hero,
  .band,
  .gap,
  .bubble,
  .cta,
  .cta-bubble,
  .kicker span,
  .header-cta,
  .course,
  .action-go,
  .band-points li {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
