:root {
  --ink: #18171d;
  --ink-soft: #2e2d36;
  --signal: #f72431;
  --concourse: #edeff1;
  --paper: #ffffff;
  --slate: #5e6270;
  --line: #d5d8de;
  --lamp: #ffd8a3;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.35rem + 2.6vw, 3rem);
  --step-4: clamp(2.875rem, 1.4rem + 5.6vw, 5.75rem);

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1200px;
  --section: clamp(80px, 11vw, 144px);
  --header: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--concourse);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ol,
ul,
figure,
blockquote {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Jost's ō has a misplaced macron; render that glyph in the system face. */
.glyph-fallback {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(237 239 241 / 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
}

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

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

.nav__list {
  display: flex;
  gap: 28px;
  padding: 0;
  list-style: none;
}

.nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.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 {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav {
    position: absolute;
    top: var(--header);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 8px var(--gutter) 28px;
    background: var(--concourse);
    border-bottom: 1px solid var(--line);
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .js .nav__list a {
    display: block;
    padding: 14px 0;
    font-size: var(--step-1);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav {
    gap: 20px;
  }

  .nav__list {
    gap: 18px;
  }
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  border-color: var(--ink-soft);
  background: var(--ink-soft);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.button--quiet {
  background: transparent;
  color: var(--ink);
}

.button--quiet:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.store {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 58px;
  padding: 8px 20px;
  line-height: 1.15;
}

.store small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.72;
}

.store span {
  font-size: 1.125rem;
  font-weight: 500;
}

.store--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.store--light:hover {
  border-color: var(--concourse);
  background: var(--concourse);
}

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-color: var(--signal);
}

/* Hero */

.hero {
  padding-block: clamp(40px, 6vw, 80px) var(--section);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 56px;
}

.hero__title {
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__title .stop {
  color: var(--signal);
}

.hero__lead {
  max-width: 34rem;
  margin-top: 28px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 12px;
  margin-top: 36px;
}

.hero__actions .text-link {
  margin-left: 12px;
}

.press {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}

.press blockquote {
  font-size: 1.0625rem;
  font-weight: 500;
}

.press figcaption {
  color: var(--slate);
}

.hero__figure {
  position: relative;
  padding-right: clamp(0px, 5%, 40px);
}

.pod {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
}

.booking-card {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: min(280px, 60%);
  padding: 18px 20px 20px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow:
    0 1px 2px rgb(24 23 29 / 0.06),
    0 22px 44px -16px rgb(24 23 29 / 0.3);
}

.booking-card__title {
  font-weight: 600;
  line-height: 1.3;
}

.booking-card__meta {
  margin-top: 2px;
  font-size: var(--step--1);
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.booking-steps {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.booking-steps li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: inset 0 0 0 1.5px var(--signal);
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 64px;
  }
}

@media (max-width: 560px) {
  .hero__actions .text-link {
    flex-basis: 100%;
    margin: 8px 0 0;
  }

  .booking-card {
    position: relative;
    width: auto;
    margin-top: -20%;
    margin-inline: 10% 0;
  }

  .hero__figure {
    padding-right: 0;
  }
}

/* The pod switching on: the one orchestrated moment on the page. main.js
   loops it by adding is-status, is-unlocked, is-lit and is-online to the
   figure in turn, then removing them in reverse. The final (lit) state is
   the default, so reduced-motion and no-JS visitors see it immediately. */

.pod-status-halo {
  transform-box: fill-box;
  transform-origin: center;
}

.pod-shackle {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: no-preference) {
  .pod-status-on {
    transition: opacity 0.4s ease;
  }

  .pod-status-halo {
    transition:
      opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .pod-shackle {
    transition: transform 0.4s cubic-bezier(0.3, 0.7, 0.3, 1.4);
  }

  .pod-lit {
    transition: opacity 1.2s ease;
  }

  .pod-wifi {
    transition: opacity 0.5s ease;
  }

  .booking-steps li {
    transition: color 0.3s ease;
  }

  .booking-steps li::before {
    transition:
      background-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .js [data-pod-demo]:not(.is-status) .pod-status-on {
    opacity: 0;
  }

  .js [data-pod-demo]:not(.is-status) .pod-status-halo {
    opacity: 0;
    transform: scale(0.3);
  }

  .js [data-pod-demo]:not(.is-unlocked) .pod-shackle {
    transform: translateY(0);
  }

  .js [data-pod-demo]:not(.is-lit) .pod-lit {
    opacity: 0;
  }

  .js [data-pod-demo]:not(.is-online) .pod-wifi {
    opacity: 0;
  }

  .js [data-pod-demo]:not(.is-unlocked) [data-step="unlock"],
  .js [data-pod-demo]:not(.is-lit) [data-step="lit"],
  .js [data-pod-demo]:not(.is-online) [data-step="online"] {
    color: var(--slate);
  }

  .js [data-pod-demo]:not(.is-unlocked) [data-step="unlock"]::before,
  .js [data-pod-demo]:not(.is-lit) [data-step="lit"]::before,
  .js [data-pod-demo]:not(.is-online) [data-step="online"]::before {
    background-color: transparent;
    box-shadow: inset 0 0 0 1.5px var(--line);
  }
}

/* Sections */

.section {
  padding-block: var(--section);
}

.section--paper {
  background: var(--paper);
}

.section__head {
  max-width: 40rem;
}

.section__title {
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section__intro {
  margin-top: 20px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate);
}

.section__intro a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.split {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 80px;
  }

  .split > .section__head {
    position: sticky;
    top: calc(var(--header) + 32px);
  }
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 44px 56px;
  margin-top: 72px;
  padding: 0;
  list-style: none;
}

.feature {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
}

.feature svg {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.feature p {
  margin-top: 6px;
  color: var(--slate);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 32px;
  margin-top: 64px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 28px;
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}

.step p {
  margin-top: 10px;
  color: var(--slate);
}

/* Pod sizes */

.pod-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 56px 32px;
  margin-top: 64px;
}

.pod-size h3 {
  margin-top: 28px;
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pod-size__use {
  margin-top: 4px;
  color: var(--slate);
}

.pod-size__price {
  margin-top: 24px;
  color: var(--slate);
}

.pod-size__price strong {
  margin-right: 4px;
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.pod-size__details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--slate);
}

.plan {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--concourse);
}

.plan__floor {
  fill: var(--paper);
}

.plan__wall {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan__door {
  fill: none;
  stroke: var(--slate);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.plan__desk {
  fill: var(--concourse);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.plan__screen {
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
}

.plan__seat {
  fill: var(--ink);
}

.pricing-note {
  max-width: 44rem;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--slate);
}

.pricing-note a {
  color: var(--ink);
  text-underline-offset: 4px;
}

/* Locations */

.locations {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.location h3 {
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}

.location p {
  margin-top: 2px;
  font-size: 0.9375rem;
  color: var(--slate);
}

.location .location__count {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pod-dots {
  display: flex;
  gap: 5px;
}

.pod-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

@media (max-width: 480px) {
  .pod-dots {
    display: none;
  }
}

/* Host */

.host {
  display: grid;
  gap: 32px;
}

.host__body {
  display: grid;
  justify-items: start;
  gap: 32px;
  max-width: 38rem;
}

.host__body p {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate);
}

@media (min-width: 960px) {
  .host {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
  }
}

/* FAQ */

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:focus-visible {
  outline-offset: 6px;
}

.faq details p {
  max-width: 38rem;
  padding-bottom: 26px;
  color: var(--slate);
}

/* Download */

.download {
  padding-block: var(--section);
  background: var(--ink);
  color: var(--paper);
}

.download :focus-visible {
  outline-color: var(--paper);
}

.download__title {
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.download__text {
  max-width: 32rem;
  margin-top: 24px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: #b9bbc4;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* Footer */

.site-footer {
  padding-block: 64px 40px;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
}

.site-footer__logo {
  width: auto;
  height: 28px;
}

.site-footer__tagline {
  margin-top: 16px;
  color: var(--slate);
}

.site-footer__heading {
  font-size: 1rem;
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.footer-links a,
.site-footer__legal a {
  color: var(--slate);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer__legal a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--slate);
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Contact */

.contact-list {
  display: grid;
  gap: 28px;
  margin: 0;
}

.contact-list dt {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--slate);
}

.contact-list dd {
  margin: 6px 0 0;
  font-size: var(--step-1);
}

.contact-list address {
  font-style: normal;
}

.contact-list a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-underline-offset: 4px;
}

.contact-list a:hover {
  color: var(--signal);
}

.contact-list__map {
  display: inline-block;
  margin-top: 6px;
  font-size: var(--step-0);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal__steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 1.25rem;
}

/* Legal pages */

.legal {
  padding-block: clamp(48px, 7vw, 96px) var(--section);
}

.legal__inner {
  max-width: 46rem;
}

.legal__title {
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.legal__updated {
  margin-top: 12px;
  font-size: var(--step--1);
  color: var(--slate);
}

.legal__lead {
  margin-top: 24px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

.legal__toc {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.legal__toc-title {
  font-size: 1rem;
  font-weight: 600;
}

.legal__toc ol {
  margin-top: 12px;
  padding-left: 1.25rem;
  columns: 2 14rem;
  column-gap: 32px;
}

.legal__toc li {
  break-inside: avoid;
  padding-block: 2px;
}

.legal__section {
  margin-top: 56px;
}

.legal__subsection {
  margin-top: 28px;
}

.legal__subsection h3 {
  font-size: var(--step-1);
  font-weight: 600;
}

.legal__subsection p,
.legal__subsection ul,
.legal__subsection .legal__steps {
  margin-top: 12px;
}

.legal__subsection ul {
  display: grid;
  gap: 8px;
  padding-left: 1.25rem;
}

.legal__section h2 {
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.legal__section h3 {
  margin-top: 28px;
  font-size: var(--step-1);
  font-weight: 600;
}

.legal__section p,
.legal__section ul,
.legal__table-wrap {
  margin-top: 14px;
}

.legal__section ul {
  display: grid;
  gap: 8px;
  padding-left: 1.25rem;
}

.legal a,
.legal__subsection a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-underline-offset: 4px;
}

.legal a:hover {
  color: var(--signal);
}

.legal__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.legal__table {
  width: 100%;
  min-width: 26rem;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.legal__table th,
.legal__table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal__table tbody tr:last-child td {
  border-bottom: 0;
}

.legal__table th {
  font-weight: 600;
  background: var(--concourse);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
