/* BisnisTrip landing page. Colors come from the logo: navy "Bisnis", cyan "Trip". */

:root {
  --ink: oklch(0.22 0.05 262);
  --text: oklch(0.42 0.035 258);
  --muted: oklch(0.52 0.03 255);
  --navy: oklch(0.4 0.155 262);
  --navy-strong: oklch(0.33 0.14 262);
  --cyan: oklch(0.72 0.13 230);
  --cyan-text: oklch(0.5 0.125 238); /* 5.1:1 on --cyan-tint, safe for small text */
  --cyan-display: oklch(0.56 0.13 236); /* large text only */
  --cyan-tint: oklch(0.955 0.03 228);
  --cyan-line: oklch(0.82 0.08 230);
  --surface: oklch(1 0 0);
  --surface-alt: oklch(0.975 0.008 245);
  --hairline: oklch(0.915 0.012 250);
  --deep: oklch(0.24 0.08 262);
  --deep-line: oklch(0.36 0.07 262);
  --on-deep: oklch(0.97 0.01 250);
  --on-deep-muted: oklch(0.8 0.03 250);
  --whatsapp: oklch(0.6 0.15 150);
  /* Filled buttons and the skip link: white text on these in both themes. */
  --fill: var(--navy);
  --fill-strong: var(--navy-strong);
  /* Literal light-theme tints, named so the dark theme can swap them. */
  --haze: radial-gradient(closest-side, oklch(0.94 0.04 232 / 0.9), oklch(0.97 0.02 232 / 0.4) 60%, transparent);
  --haze-fade: oklch(0.975 0.008 245 / 0);
  --tag-bg: oklch(1 0 0 / 0.95);
  --tag-ring: oklch(0.9 0.02 250);

  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);

  /* Stacking: canvas < flight labels < hero copy < header < open menu */
  --z-canvas: 1;
  --z-labels: 2;
  --z-copy: 3;
  --z-header: 10;
  --z-menu: 11;

  color-scheme: light;
}

/* Dark theme: only when the visitor picks it (the toggle in the header); light is the default.
   Contrast (WCAG AA, computed): --text on --surface 11.3:1, --muted 7.5:1, --cyan-text on --cyan-tint 8.2:1,
   --navy on --surface 10.7:1, white on --fill 7.0:1. The deep sections (contact, footer) stay a step darker than the page. */
:root[data-theme="dark"] {
  --ink: oklch(0.965 0.008 250);
  --text: oklch(0.84 0.018 250);
  --muted: oklch(0.72 0.025 252);
  --navy: oklch(0.82 0.09 245);
  --navy-strong: oklch(0.9 0.06 240);
  --cyan-text: oklch(0.82 0.1 228);
  --cyan-display: oklch(0.8 0.115 230);
  --cyan-tint: oklch(0.29 0.055 242);
  --cyan-line: oklch(0.46 0.08 236);
  --surface: oklch(0.19 0.03 262);
  --surface-alt: oklch(0.225 0.035 262);
  --hairline: oklch(0.33 0.03 258);
  --deep: oklch(0.15 0.035 262);
  --deep-line: oklch(0.28 0.045 262);
  --fill: oklch(0.47 0.16 262);
  --fill-strong: oklch(0.42 0.15 262);
  --haze: radial-gradient(closest-side, oklch(0.34 0.08 245 / 0.75), oklch(0.26 0.05 250 / 0.35) 60%, transparent);
  --haze-fade: oklch(0.225 0.035 262 / 0);
  --tag-bg: oklch(0.24 0.035 262 / 0.95);
  --tag-ring: oklch(0.36 0.035 256);

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan-text);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --cyan-text is 2.9:1 on the deep navy sections; the brighter cyan clears 3:1 there. */
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cyan);
}

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

.icon-sprite {
  display: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-menu);
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--fill);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  translate: 0 -200%;
}

.skip-link:focus-visible {
  translate: 0 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font: 600 0.9375rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    translate 0.3s var(--ease-out);
}

.btn:active {
  translate: 0 1px;
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 52px;
  padding: 0.8125rem 1.625rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--fill);
  color: #fff;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.14),
    0 10px 24px -12px oklch(0.4 0.155 262 / 0.7);
}

.btn--primary:hover {
  background: var(--fill-strong);
}

.btn--quiet {
  background: var(--surface);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.btn--quiet:hover {
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 1px var(--cyan-line);
}

/* On the deep sections: a white button with navy text in both themes (the light-theme values, fixed). */
.btn--light {
  background: #fff;
  color: oklch(0.4 0.155 262);
}

.btn--light:hover {
  background: oklch(0.955 0.03 228);
}

.btn--outline-light {
  background: transparent;
  color: var(--on-deep);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.36);
}

.btn--outline-light:hover {
  background: oklch(1 0 0 / 0.08);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.6);
}

.icon--whatsapp {
  color: var(--whatsapp);
}

.link-quiet {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.link-quiet:hover {
  color: var(--navy);
  background: var(--surface-alt);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  transition:
    background-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--surface);
  box-shadow: 0 1px 0 var(--hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  flex: none;
  border-radius: 8px;
}

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

/* Dark mode shows the all-white copy of the header logo (owner's choice A). */
.brand__dark,
[data-theme="dark"] .brand__light {
  display: none;
}

[data-theme="dark"] .brand__dark {
  display: block;
}

/* Theme toggle: shown only with JS (it does nothing without). Moon in light, sun in dark. */
.theme-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}

.js .theme-toggle {
  display: grid;
}

.theme-toggle:hover {
  background: var(--surface-alt);
}

.theme-toggle .icon {
  width: 20px;
  height: 20px;
}

/* In the mobile menu the toggle is a labelled row like the other links (the bar keeps b9d2707's layout). */
.site-nav__theme {
  display: none;
}

.theme-toggle__sun,
[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

.site-nav {
  display: flex;
  gap: 0.125rem;
  margin-inline: auto;
}

.site-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.site-nav a:hover {
  color: var(--navy);
  background: var(--surface-alt);
}


/* Language switch (owner, 10-22: "Option 1, but remove the border"): a borderless pill with a round flag and
   the bold code of the page's CURRENT language; the link goes to the other one. No chevron. The hover fill
   and the global focus ring are its visible states. */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.3125rem 1.125rem 0.3125rem 0.4375rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out);
}

.lang-pill:hover {
  background: var(--surface-alt);
}

/* The switch sits in the bar on desktop and moves into the menu on mobile (after .lang-pill, so it wins). */
.site-nav .site-nav__lang {
  display: none;
}

.flag {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--hairline);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .site-header__inner {
    gap: 0.75rem;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .site-header__lang {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: var(--z-menu);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--surface);
    box-shadow: 0 24px 40px -24px oklch(0.25 0.06 260 / 0.35);
    visibility: hidden;
    opacity: 0;
    translate: 0 -8px;
    transition:
      opacity 0.25s var(--ease-out),
      translate 0.35s var(--ease-out),
      visibility 0s linear 0.35s;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    transition:
      opacity 0.25s var(--ease-out),
      translate 0.35s var(--ease-out),
      visibility 0s;
  }

  .site-nav a {
    padding: 0.875rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 1.0625rem;
  }

  .site-nav a:hover {
    background: none;
  }

  /* In the menu the pill keeps its shape on a row of its own. */
  .site-nav a.site-nav__lang {
    display: inline-flex;
    align-self: flex-start;
    margin-block: 0.75rem;
    padding: 0.3125rem 1.125rem 0.3125rem 0.4375rem;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
  }

  .js .site-header__theme {
    display: none;
  }

  .js .site-nav__theme {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 500 1.0625rem/1.65 var(--font);
    text-align: left;
    cursor: pointer;
  }
}

@media (max-width: 420px) {
  .brand img {
    height: 28px;
  }
}

/* Hero */

.hero {
  --globe-d: clamp(420px, 118vw, 560px);
  --globe-visible: 0.62;
  --globe-headroom: 0.34;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(1.75rem, 5vh, 4rem));
  background: var(--surface);
}

@media (min-width: 721px) {
  .hero {
    --globe-d: clamp(560px, 62vw, 900px);
    --globe-visible: 0.58;
  }
}

/* Pale sky haze that the globe sits in. */
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: calc(var(--globe-d) * 0.95);
  background: var(--haze);
  translate: 0 38%;
}

/* Hand the globe's cut edge over to the next section. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: var(--z-labels);
  height: 64px;
  background: linear-gradient(to bottom, var(--haze-fade), var(--surface-alt));
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: var(--z-copy);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.875rem 0.3125rem 0.3125rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px var(--hairline),
    0 2px 6px -2px oklch(0.3 0.05 260 / 0.1);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: box-shadow 0.2s var(--ease-out);
}

.hero__badge:hover {
  box-shadow:
    inset 0 0 0 1px var(--cyan-line),
    0 4px 10px -4px oklch(0.3 0.05 260 / 0.15);
}

.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--cyan-tint);
  color: var(--cyan-text);
}

.hero__badge-icon .icon {
  width: 1rem;
  height: 1rem;
}

.hero__badge-arrow {
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  transition: translate 0.3s var(--ease-out);
}

.hero__badge:hover .hero__badge-arrow {
  translate: 3px 0;
}

.hero__title {
  margin-top: clamp(1.25rem, 3vh, 1.75rem);
  color: var(--navy);
  font-size: clamp(2rem, 0.9rem + 4.6vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero__line {
  display: block;
}

.hero__line--status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.06em 0.26em;
  margin-top: 0.06em;
}

/* The trip's status, as the product shows it, in place of Terra's selection box. */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  padding: 0.04em 0.24em 0.08em 0.16em;
  border-radius: 0.24em;
  background: var(--cyan-tint);
  box-shadow: inset 0 0 0 max(2px, 0.03em) var(--cyan-line);
  color: var(--cyan-display);
  line-height: 1.12;
  overflow: hidden;
}

.status-chip__icon {
  width: 0.62em;
  height: 0.62em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-chip__word {
  display: inline-block;
  white-space: nowrap;
  transition: width 0.6s var(--ease-out);
}

.hero__lede {
  max-width: 35rem;
  margin-top: clamp(1.25rem, 3vh, 1.625rem);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 4vh, 2.25rem);
}

@media (max-width: 420px) {
  .hero__actions {
    gap: 0.5rem;
  }

  .hero__actions .btn--lg {
    padding-inline: 1.125rem;
    font-size: 0.9375rem;
  }
}

.hero__stage {
  position: relative;
  height: calc(var(--globe-d) * var(--globe-visible));
  margin-top: clamp(1.75rem, 4.5vh, 3rem);
}

.globe-fallback {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--globe-d);
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% 0;
  background: radial-gradient(circle at 36% 30%, oklch(0.84 0.07 226), oklch(0.62 0.12 243) 50%, oklch(0.42 0.12 258));
  box-shadow: 0 0 44px 4px oklch(0.86 0.06 230 / 0.6);
  transition: opacity 1.2s var(--ease-out);
}

.hero__canvas,
.hero__labels {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(100%, calc(var(--globe-d) * 1.9));
  height: calc(var(--globe-d) * (var(--globe-visible) + var(--globe-headroom)));
}

.hero__canvas {
  z-index: var(--z-canvas);
  display: block;
  translate: -50% 28px;
  opacity: 0;
  touch-action: pan-y;
  transition:
    opacity 1.4s var(--ease-out),
    translate 1.8s var(--ease-out);
}

.hero__canvas.is-grabbable {
  cursor: grab;
}

.hero__canvas.is-grabbing {
  cursor: grabbing;
}

.hero__labels {
  z-index: var(--z-labels);
  translate: -50% 0;
  pointer-events: none;
}

.hero__stage.is-live .hero__canvas {
  opacity: 1;
  translate: -50% 0;
}

.hero__stage.is-live .globe-fallback {
  opacity: 0;
}

/* No WebGL: a flat-mapped Earth sliding inside a shaded disc. */
.no-webgl .globe-fallback {
  background:
    radial-gradient(circle at 36% 30%, oklch(1 0 0 / 0.18), transparent 45%, oklch(0.2 0.06 260 / 0.45)),
    url("https://cdn.jsdelivr.net/npm/three-globe@2.45.3/example/img/earth-day.jpg") 0 50% / 200% 100%;
  animation: globe-pan 90s linear infinite;
}

@keyframes globe-pan {
  to {
    background-position: 0 50%, -200% 50%;
  }
}

.flight-tag {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem 0.3125rem 0.5625rem;
  border-radius: 999px;
  background: var(--tag-bg);
  box-shadow:
    0 0 0 1px var(--tag-ring),
    0 10px 24px -10px oklch(0.25 0.06 260 / 0.35);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  translate: -50% calc(-100% - 4px);
  transition:
    opacity 0.45s var(--ease-out),
    translate 0.7s var(--ease-out);
  will-change: transform;
}

.flight-tag.is-in {
  opacity: 1;
  translate: -50% calc(-100% - 14px);
}

.flight-tag svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--cyan-text);
}

.flight-tag__arrow {
  color: var(--muted);
}

/* Stem pointing down at the arrival city. */
.flight-tag::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.5px;
  height: 11px;
  translate: -50% 0;
  background: linear-gradient(var(--cyan-text), oklch(0.55 0.125 236 / 0));
}

/* Sections */

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

.section-head p {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
  padding: 0.25rem 0.75rem 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--cyan-tint);
  box-shadow: inset 0 0 0 1px var(--cyan-line);
  color: var(--cyan-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.status-pill .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.2;
}

/* Journey: one trip, five stops, with a plane flying the rail on scroll. */

.journey {
  padding-block: calc(var(--section-y) * 0.7) var(--section-y);
  background: var(--surface-alt);
}

.journey__track {
  --rail-x: 1.25rem;
  position: relative;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.journey__rail {
  position: absolute;
  top: var(--rail-top, 0);
  bottom: var(--rail-bottom, 0);
  left: var(--rail-x);
  width: 2px;
  translate: -50% 0;
  background: repeating-linear-gradient(to bottom, var(--cyan-line) 0 6px, transparent 6px 13px);
}

.journey__rail-fill {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--progress, 0) * 100%);
  border-radius: 2px;
  background: var(--cyan);
}

.journey__plane {
  position: absolute;
  top: calc(var(--progress, 0) * 100%);
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  translate: -50% -50%;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--cyan-line),
    0 8px 18px -8px oklch(0.3 0.08 260 / 0.45);
  color: var(--navy);
}

.journey__plane .icon {
  width: 1.1rem;
  height: 1.1rem;
  rotate: 90deg;
  fill: var(--surface);
}

.journey__list {
  display: grid;
  gap: clamp(3.5rem, 9vw, 7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey__step {
  display: grid;
  grid-template-columns: calc(var(--rail-x) * 2) minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 2.75rem);
  row-gap: 1.75rem;
  align-items: center;
}

.journey__marker {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--cyan-line);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.journey__step.is-reached .journey__marker {
  background: var(--cyan);
  box-shadow: inset 0 0 0 1.5px var(--cyan);
  color: var(--deep);
}

.journey__text {
  grid-column: 2;
  max-width: 30rem;
}

.journey__text h3 + p {
  margin-top: 0.75rem;
}

.journey__media {
  grid-column: 2;
  margin: 0;
}

/* Transparent PNGs: the phones and their shadows sit straight on the section background. */
.journey__media img {
  width: 100%;
  height: auto;
}

@media (min-width: 960px) {
  .journey__step {
    grid-template-columns: calc(var(--rail-x) * 2) minmax(0, 5fr) minmax(0, 7fr);
  }

  .journey__media {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Solution */

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

.section-head--wide {
  max-width: 52rem;
}

.solution__media {
  max-width: 1040px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

.solution__media img {
  width: 100%;
  height: auto;
}

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}

.roles__item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}

.roles dt {
  color: var(--ink);
  font-weight: 600;
}

.roles dd {
  margin: 0.375rem 0 0;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.integrations__label {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.integrations__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integrations__list li {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

/* App and tutorials */

.app-band {
  padding-block: calc(var(--section-y) * 0.75);
  background: var(--surface-alt);
}

.app-band__grid {
  display: grid;
  gap: 2.5rem;
}

.app-band__block p {
  max-width: 34rem;
  margin-top: 1rem;
}

.app-band__block--guides {
  align-self: end;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline);
}

.app-band__block--guides .btn {
  margin-top: 1.5rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.75rem;
}

.store-badges a {
  border-radius: 10px;
}

.store-badges__play {
  width: auto;
  height: 60px;
  margin: -9px -7px;
}

.store-badges__apple {
  width: auto;
  height: 42px;
}

@media (min-width: 960px) {
  .app-band__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 7vw, 6rem);
  }
}

/* FAQ: the questions buyers ask before a demo, as native disclosure rows. */

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

.faq__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.faq__list {
  border-top: 1px solid var(--hairline);
}

.faq__item {
  border-bottom: 1px solid var(--hairline);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.125rem;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}

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

.faq__item summary:hover {
  color: var(--navy);
}

/* A plus in the status-chip tint that turns into a cross when the answer is open. */
.faq__item summary::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background:
    linear-gradient(var(--cyan-text) 0 0) center / 0.75rem 2px no-repeat,
    linear-gradient(var(--cyan-text) 0 0) center / 2px 0.75rem no-repeat,
    var(--cyan-tint);
  box-shadow: inset 0 0 0 1px var(--cyan-line);
  transition: rotate 0.3s var(--ease-out);
}

.faq__item[open] summary::after {
  rotate: 45deg;
}

.faq__item p {
  max-width: 40rem;
  padding-bottom: 1.375rem;
}

.faq__item a {
  color: var(--navy);
  text-underline-offset: 3px;
}

@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }

  .faq .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--section-y) * 1.15) var(--section-y);
  background: var(--deep);
  color: var(--on-deep-muted);
}

.contact__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: 0.5;
  vector-effect: non-scaling-stroke;
  animation: route-flow 1.4s linear infinite;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -22;
  }
}

/* Sits on the arch's apex, where its tangent is level at any aspect ratio. */
.contact__plane {
  position: absolute;
  top: 5%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  translate: -50% -50%;
  color: var(--cyan);
}

.contact__plane .icon {
  width: 1.375rem;
  height: 1.375rem;
  fill: var(--deep);
}

.contact__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact h2 {
  max-width: 16em;
  color: var(--on-deep);
  line-height: 1.12;
}

.contact p {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Tutorials page (/tutorials.html): video cards and the player dialog. */

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

.guides {
  padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--section-y);
}

.guides h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.guides__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.guides__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline);
}

.guides__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--cyan-tint);
  color: var(--cyan-text);
}

.guides__card h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.guides__card p {
  margin: 0.625rem 0 1.5rem;
}

/* Buttons line up at the bottom of each row. */
.guides__card .btn {
  margin-top: auto;
}

.guides-roles {
  padding-block: var(--section-y);
  background: var(--surface-alt);
}

.video-dialog {
  width: min(100% - 2 * var(--gutter), 56rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 60px -20px oklch(0.2 0.05 260 / 0.5);
}

.video-dialog::backdrop {
  background: oklch(0.15 0.03 262 / 0.6);
}

.video-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.video-dialog__head h2 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.video-dialog__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.video-dialog__close:hover {
  background: var(--surface-alt);
}

.video-dialog__frame {
  aspect-ratio: 16 / 9;
  background: oklch(0.15 0.02 262);
}

.video-dialog__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-dialog__text {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Legal pages: long-form text under the fixed header. */

.legal {
  padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--section-y);
}

.legal__inner {
  --container: 46rem;
}

.legal h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal__meta {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal p,
.legal ul,
.legal ol {
  margin-top: 1rem;
}

.legal .legal__lede {
  margin-top: 2rem;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.legal h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.5rem;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal a {
  color: var(--navy);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Review banner, shown only while the page is a draft. */
.legal__draft {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--cyan-tint);
  box-shadow: inset 0 0 0 1px var(--cyan-line);
  color: var(--ink);
  font-size: 0.9375rem;
}

.legal .legal__draft > * + * {
  margin-top: 0.5rem;
}

.legal__draft > :first-child {
  margin-top: 0;
}

.legal__draft-title {
  color: var(--cyan-text);
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding-block: 3.5rem 2rem;
  background: var(--deep);
  color: var(--on-deep-muted);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--deep-line);
}

.site-footer__brand img {
  width: auto;
  height: 64px;
}

.site-footer__brand p {
  margin-top: 1rem;
}

.site-footer__title {
  margin-bottom: 0.875rem;
  color: var(--on-deep);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--on-deep-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--on-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer address {
  font-style: normal;
}

.site-footer__base {
  margin-top: 3rem;
  font-size: 0.8125rem;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
