/*
  Layout wrapper shared by every header/section/footer:
  <header|section|footer> > .container > .header|section|footer-inner > content
  max-width 1312 + 24 + 24 = 1360, which is the first breakpoint tier.
*/
.container {
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 24px;

  @media (max-width: 767px) {
    padding: 0 18px;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

/* Frosted sticky header. The blur lives on ::before so .site-header itself
   doesn't become the containing block for the fixed mobile drawer. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-line);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 244, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

main {
  padding-top: var(--header-height, 73px);
}

html {
  scroll-padding-top: var(--header-height, 73px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: padding-top 0.3s ease, padding-bottom 0.3s ease;
}

/* Header compacts slightly once the page has scrolled — toggled via
   .is-scrolled by main.js's initHeaderScroll(). */
.site-header.is-scrolled .header-inner {
  padding-top: 9px;
  padding-bottom: 9px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 26px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-left: 60px;
}

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

.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--color-main-1);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--color-main-1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

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

/* Out of flow on desktop too — otherwise, even empty, it's still a flex
   item in .header-inner and throws off justify-content: space-between. */
.nav-overlay,
.nav-close {
  display: none;
}

/* Legal pages: logo + back link + one CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text);
}

.header-back i {
  font-size: 18px;
  transition: transform 0.3s var(--ease-out-expo);
}

.header-back:hover {
  color: var(--color-main-1);
}

.header-back:hover i {
  transform: translateX(-4px);
}

@media (max-width: 480px) {
  .logo img {
    height: 22px;
  }

  .header-actions {
    gap: 6px;
  }

  /* The logo already links home */
  .header-back {
    display: none;
  }

  .header-actions .button {
    padding: 0 12px;
  }
}

/* Mobile nav: a full-height side drawer sliding in from the right, above
   the header, with its own close button and a dimmed backdrop. */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(13, 15, 31, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    width: min(400px, 88vw);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 24px 30px;
    background: var(--color-background);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
  }

  /* Shadow only while open — otherwise it bleeds in at the viewport edge */
  .nav.is-open {
    transform: translateX(0);
    box-shadow: -12px 0 36px rgba(13, 15, 31, 0.16);
  }

  .nav-close {
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    background: var(--color-background-2);
    border: 1px solid var(--color-line-strong);
    border-radius: 6px;
    font-size: 22px;
    color: var(--color-text);
    cursor: pointer;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line-2);
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }

  .nav-actions .button {
    width: 100%;
    height: 48px;
  }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section,
.board-section,
.cta-section {
  padding-top: 120px;
  padding-bottom: 120px;

  @media (max-width: 1360px) {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  @media (max-width: 767px) {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.section-white {
  background: var(--color-background-2);
}

.section-dark {
  background: var(--color-background-dark);
  color: #FFFFFF;
}

.section-dark h2,
.section-dark h3 {
  color: #FFFFFF;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-lilac {
  color: var(--color-accent-2);
}

.title-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.title-wrap-narrow {
  max-width: 760px;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;

  @media (max-width: 767px) {
    margin-bottom: 30px;
  }
}

.section-head-split .title-wrap {
  max-width: 720px;
}

.section-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 60px;
  margin-bottom: 60px;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr;
  }

  @media (max-width: 767px) {
    margin-bottom: 36px;
  }
}

.section-head-grid .lede {
  max-width: 520px;
}

.link-light {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.link-light:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ----- Hero ----- */

.hero {
  padding-top: 90px;
  padding-bottom: 120px;
  /* The blurred glow behind the hero card reaches past the viewport edge on phones */
  overflow-x: clip;

  @media (max-width: 1360px) {
    padding-top: 60px;
    padding-bottom: 90px;
  }

  @media (max-width: 767px) {
    padding-top: 36px;
    padding-bottom: 60px;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 60px 90px;

  @media (max-width: 1360px) {
    gap: 48px 60px;
  }

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;

  @media (max-width: 767px) {
    gap: 24px;
  }
}

.hero-title {
  max-width: 640px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-copy .lede {
  max-width: 540px;
  font-size: 19px;

  @media (max-width: 767px) {
    font-size: 17px;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
}

.hero-facts span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-label);
}

.audience-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--color-background-2);
  border: 1px solid var(--color-line-strong);
  border-radius: 8px;
}

.audience-switch button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-label);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.audience-switch button:hover {
  color: var(--color-text);
}

.audience-switch button.is-active {
  background: var(--color-main-2);
  color: #FFFFFF;
}

.hero-media {
  position: relative;
  min-width: 0;
}

/* Lime glow behind the hero card */
.hero-media::before {
  content: '';
  position: absolute;
  inset: 12% -6% -6% 18%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 240, 60, 0.35), rgba(200, 240, 60, 0));
  filter: blur(30px);
}

.listing-card {
  background: var(--color-background-2);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 36px 72px -36px rgba(17, 19, 58, 0.35);
}

.listing-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-line-2);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-img {
  animation: hero-zoom 20s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.listing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.listing-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;

  @media (max-width: 767px) {
    padding: 18px;
  }
}

.listing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.listing-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.listing-title .eyebrow {
  font-size: 11.5px;
}

.listing-title h3 {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.listing-meta {
  font-size: 14px;
  color: var(--color-label);
}

.listing-price {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.listing-price small {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-label);
}

.timeline-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.listing-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line-2);
}

.listing-total {
  font-size: 14px;
  color: var(--color-text-2);
}

.listing-total strong {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-text);
}

.host-card {
  background: var(--color-background-dark);
  border-radius: 8px;
  overflow: hidden;
  color: #FFFFFF;
  box-shadow: 0 36px 72px -36px rgba(17, 19, 58, 0.55);
}

.host-card .eyebrow {
  color: var(--color-accent-2);
}

.host-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.host-week {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.host-day {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.host-day-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent-2);
}

.host-day .timeline {
  height: 30px;
}

.host-day .timeline .seg span {
  font-size: 10.5px;
}

.host-day .timeline-hours span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

.host-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.host-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);

  @media (max-width: 767px) {
    padding: 18px 12px;
  }
}

.host-stats div:last-child {
  border-right: 0;
}

.host-stats .eyebrow {
  font-size: 11px;
}

.host-stats strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;

  @media (max-width: 767px) {
    font-size: 16px;
  }
}

/* ----- Free board ----- */

.board {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.board-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 2.2fr) minmax(0, 1fr) 110px 120px;
  align-items: center;
  gap: 6px 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.3s ease;
}

.board-row:not(.board-head):hover {
  background: rgba(255, 255, 255, 0.03);
}

.board-row:not(.board-head):hover .board-what {
  color: var(--color-accent);
}

.board-head {
  padding: 12px 0;
}

.board-head span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.board-when {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.board-what {
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.board-city {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}

.board-price {
  font-family: var(--font-mono);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .board-head {
    display: none;
  }

  .board-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "when status"
      "what what"
      "city price";
  }

  .board-when { grid-area: when; }
  .board-what { grid-area: what; }
  .board-city { grid-area: city; }
  .board-price { grid-area: price; text-align: right; }
  .board-status { grid-area: status; }
}

/* ----- Categories ----- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  @media (max-width: 767px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  @media (max-width: 359px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--color-background-2);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;
  color: var(--color-text);
  transition: border-color 0.3s ease, transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.category-card:hover {
  border-color: var(--color-main-1);
  color: var(--color-text);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(17, 19, 58, 0.3);
}

.category-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-line-2);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}

.category-card:hover .category-media img {
  transform: scale(1.06);
}

.category-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;

  @media (max-width: 767px) {
    padding: 12px;
  }
}

.category-body h3 {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-wrap: initial;

  @media (max-width: 767px) {
    font-size: 14.5px;
  }
}

.category-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-main-1);
}

.category-window {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-window span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  overflow-wrap: anywhere;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--color-label);
}

.mini-timeline {
  display: flex;
  gap: 2px;
  height: 6px;
}

.mini-timeline i {
  flex: var(--f, 1) 1 0;
  border-radius: 2px;
  background: var(--color-line-2);
}

.mini-timeline .seg-busy {
  background: var(--color-main-2);
}

.mini-timeline .seg-free {
  background: var(--color-accent);
}

/* ----- How it works ----- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-text);

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width: 767px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 30px 36px 0;
  border-bottom: 1px solid var(--color-line);

  @media (max-width: 767px) {
    padding: 24px 0 30px;
  }
}

.step-num {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num span {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-main-1);
}

.step-num i {
  flex: 1;
  height: 1px;
  background: var(--color-line);
}

.step h3 {
  font-family: var(--font-main);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 15.5px;
}

.step-tag {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-label);
}

/* ----- For hosts ----- */

.hosts-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--color-background-2);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hosts-panel .column-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: 60px;

  @media (max-width: 1360px) {
    padding: 48px;
  }

  @media (max-width: 767px) {
    gap: 24px;
    padding: 24px;
  }
}

.hosts-panel .lede {
  max-width: 480px;
}

.point-list {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line-2);
}

.point {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line-2);
}

.point-num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-main-1);
}

.point strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 700;
}

.point div span {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-label);
}

.hosts-panel .column-right {
  display: flex;
  align-items: center;
  padding: 60px 0 60px 60px;
  background: var(--color-accent-2);
  overflow: hidden;

  @media (max-width: 1360px) {
    padding: 48px 0 48px 48px;
  }

  @media (max-width: 767px) {
    padding: 24px 0 24px 24px;
  }
}

.browser-frame {
  width: 100%;
  background: var(--color-background-2);
  border: 1px solid var(--color-main-2);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(17, 19, 58, 0.45);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--color-line);
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-line);
}

.browser-bar span {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-label);
}

/* Shows the dashboard close-up, cropped at the right edge of the panel */
.browser-shot {
  height: 560px;
  overflow: hidden;

  @media (max-width: 1360px) {
    height: 480px;
  }

  @media (max-width: 767px) {
    height: 300px;
  }
}

.browser-shot img {
  width: auto;
  max-width: none;
  height: 100%;
}

/* ----- Recurring ----- */

.bi-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px 90px;

  @media (max-width: 1360px) {
    gap: 48px 60px;
  }

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bi-section .column-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bi-section .lede {
  max-width: 500px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding-top: 6px;
}

.stat-row div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-row .eyebrow {
  font-size: 11px;
}

.stat-row strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
}

.series-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: 8px;

  @media (max-width: 767px) {
    padding: 18px;
  }
}

.series-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.series-head div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.series-head .eyebrow {
  font-size: 11.5px;
}

.series-head strong {
  font-size: 16px;
  font-weight: 700;
}

.series-grid {
  display: grid;
  grid-template-columns: 54px repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 4px;

  @media (max-width: 480px) {
    grid-template-columns: 42px repeat(7, minmax(0, 1fr));
    gap: 3px;
  }
}

.series-day,
.series-week {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.2;
  color: var(--color-label);
}

.series-day {
  padding-bottom: 3px;
  text-align: center;
}

.series-grid i {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background-2);
  border: 1px solid var(--color-line-2);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
}

.series-grid .is-weekend {
  background: #ECEEF3;
}

.series-grid .is-booked {
  background: var(--color-accent);
  border-color: var(--color-accent);

  @media (max-width: 480px) {
    font-size: 0;
  }
}

/* ----- Trust ----- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width: 767px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.trust-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px;
  background: var(--color-background-dark);
  transition: background-color 0.4s ease;

  @media (max-width: 767px) {
    padding: 24px;
  }
}

.trust-tile:hover {
  background: #171A4A;
}

.trust-tile i {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1;
  color: var(--color-accent);
}

.trust-tile .eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent-2);
}

.trust-tile h3 {
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.trust-tile p {
  font-size: 15px;
}

/* ----- Pricing ----- */

.renter-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  margin-bottom: 18px;
  padding: 36px;
  background: var(--color-background-dark);
  border-radius: 8px;
  color: #FFFFFF;

  @media (max-width: 767px) {
    padding: 24px;
  }
}

.renter-band-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.renter-band-label strong {
  font-size: 22px;
  font-weight: 700;
}

.renter-band-fee {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.renter-fee {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
}

.renter-fee-note {
  max-width: 200px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.renter-band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 0;
  list-style: none;
}

.renter-band-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.renter-band-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--color-accent);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  @media (max-width: 767px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px;
  background: var(--color-background-2);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);

  @media (max-width: 1024px) {
    padding: 24px;
  }
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(17, 19, 58, 0.25);
}

.plan-featured {
  border: 1.5px solid var(--color-main-1);
}

.plan-head {
  min-height: 27px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price strong {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price span {
  font-size: 15px;
  color: var(--color-label);
}

.plan-fee {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--color-line-2);
  border-bottom: 1px solid var(--color-line-2);
}

.plan-fee span {
  font-size: 14.5px;
  color: var(--color-text-2);
}

.plan-fee strong {
  font-family: var(--font-mono);
  font-weight: 600;
}

.plan-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.plan-list li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 1.5px;
  margin-top: 11px;
  background: var(--color-main-1);
}

.pricing-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-label);
}

.pricing-note a {
  font-family: var(--font-mono);
}

/* ----- Cities ----- */

.city-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
  padding-top: 36px;
  border-top: 1px solid var(--color-text);

  @media (max-width: 767px) {
    gap: 3px 18px;
    padding-top: 24px;
  }
}

/* Each name reserves the width of its boldest weight (::after), so the
   weight wave in initCityCloud() never reflows the lines. */
.city-cloud span {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #8A8EA3;
  transition: font-weight 1.1s ease, color 1.1s ease;

  @media (max-width: 1024px) {
    font-size: 36px;
  }

  @media (max-width: 767px) {
    font-size: 24px;
  }
}

.city-cloud span::after {
  content: attr(data-city);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
}

/* ----- FAQ ----- */

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 36px 90px;

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.faq-inner .column-left {
  position: sticky;
  top: calc(var(--header-height, 73px) + 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;

  @media (max-width: 1024px) {
    position: static;
  }
}

.faq-inner .column-left p a {
  font-weight: 700;
}

.faq-inner .column-left .button {
  margin-top: 6px;
}

/* ----- Final CTA ----- */

.cta-section .section-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;

  @media (max-width: 767px) {
    gap: 36px;
  }
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
}

.cta-copy h2 {
  font-size: 68px;

  @media (max-width: 1024px) {
    font-size: 48px;
  }

  @media (max-width: 767px) {
    font-size: 32px;
  }
}

.cta-copy .lede {
  max-width: 560px;
}

.cta-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-cta {
  height: 52px;
}

.timeline-cta .seg {
  background: rgba(255, 255, 255, 0.05);
}

.timeline-cta .seg-busy {
  background: rgba(255, 255, 255, 0.14);
}

.timeline-cta .seg-free {
  background: var(--color-accent);
}

.timeline-cta .seg span {
  font-size: 12px;
}

.cta-timeline .timeline-hours span {
  color: rgba(255, 255, 255, 0.45);
}

/* ----- Legal pages ----- */

.legal-hero {
  padding-top: 90px;

  @media (max-width: 1360px) {
    padding-top: 60px;
  }

  @media (max-width: 767px) {
    padding-top: 36px;
  }
}

.legal-hero .section-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-text);

  @media (max-width: 767px) {
    gap: 18px;
    padding-bottom: 30px;
  }
}

.legal-hero h1 {
  font-size: 64px;

  @media (max-width: 1024px) {
    font-size: 48px;
  }

  @media (max-width: 767px) {
    font-size: 34px;
  }
}

.legal-hero .lede {
  max-width: 760px;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.legal-tab {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  background: var(--color-background-2);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.legal-tab:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.legal-tab.is-current {
  background: var(--color-main-2);
  border-color: var(--color-main-2);
  color: #FFFFFF;
}

.legal-content {
  padding-top: 60px;
  padding-bottom: 120px;

  @media (max-width: 1360px) {
    padding-bottom: 90px;
  }

  @media (max-width: 767px) {
    padding-top: 36px;
    padding-bottom: 60px;
  }
}

.legal-article {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 760px;

  @media (max-width: 767px) {
    gap: 36px;
  }
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-block h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;

  @media (max-width: 767px) {
    font-size: 20px;
  }
}

.legal-block h2 span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-main-1);
}

.legal-block p,
.legal-block li {
  font-size: 16px;
  line-height: 1.75;
  color: #2A2E45;
}

.legal-block a {
  font-weight: 600;
}

.legal-block ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.legal-block li {
  display: flex;
  gap: 12px;
}

.legal-block li::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 1.5px;
  margin-top: 13px;
  background: var(--color-main-1);
}

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
  background: var(--color-background-2);
  border: 1px solid var(--color-line);
  border-radius: 8px;

  @media (max-width: 767px) {
    padding: 24px;
  }
}

.legal-contact div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-contact .eyebrow {
  font-size: 11px;
}

.legal-contact strong {
  font-size: 16px;
  font-weight: 700;
}

.legal-contact .mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 60px 0 30px;
  background: var(--color-background-darker);
  color: #FFFFFF;
}

.footer-inner {
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr 1fr 1fr;
  }

  @media (max-width: 767px) {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;

  @media (max-width: 1024px) {
    grid-column: 1 / -1;
  }
}

.footer-description {
  max-width: 300px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-nav a,
.footer-nav button {
  padding: 0;
  background: none;
  border: 0;
  font-size: 14.5px;
  text-align: left;
  color: #FFFFFF;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */

.modal-body {
  padding: 42px;

  @media (max-width: 767px) {
    padding: 24px 18px 30px;
  }
}

.modal-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  padding-right: 48px;
}

.modal-head h3 {
  font-size: 28px;
  line-height: 1.15;

  @media (max-width: 767px) {
    font-size: 22px;
  }
}

.modal-head p {
  font-size: 15px;
}

.modal-head p a {
  font-weight: 700;
}

.contact-button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 150;
  width: min(420px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--color-background-2);
  border: 1px solid var(--color-text);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(13, 15, 31, 0.18);

  @media (max-width: 767px) {
    left: 12px;
    bottom: 12px;
    padding: 18px;
  }
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cookie-text .eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-main-1);
}

.cookie-text p {
  font-size: 14.5px;
  line-height: 1.55;
}

.cookie-text a {
  font-weight: 700;
}

.cookie-settings {
  border-top: 1px solid var(--color-line-2);
}

.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line-2);
  cursor: pointer;
}

.cookie-row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cookie-row-text strong {
  font-size: 14px;
  font-weight: 700;
}

.cookie-row-text span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--color-label);
}

.switch {
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 24px;
  border-radius: 5px;
  background: var(--color-line-strong);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #FFFFFF;
  transition: transform 0.3s var(--ease-out-expo);
}

.switch:checked {
  background: var(--color-main-1);
}

.switch:checked::after {
  transform: translateX(16px);
}

.switch:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cookie-actions .button {
  flex: 1 1 auto;
  height: 44px;
  font-size: 14px;
}

.cookie-link {
  padding: 0 12px;
  background: none;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main-1);
  cursor: pointer;
}

.cookie-link:hover {
  color: var(--color-main-2);
}
