/* Marketing site styles. Typeface: Barlow (SIL OFL, see fonts/OFL.txt).
   Colours are the brand palette (deep teal, lime, paper) from the app. To change the
   accent colour of buttons, edit --accent and --accent-hover. */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/barlow-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/barlow-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/barlow-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/barlow-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/barlow-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/barlow-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/barlow-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/barlow-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand palette, the same values as the app: deep teal, lime, paper. */
  --ink: #072f36;
  --dark: #0b4650;
  --dark-2: #13545f;
  --text: #52514c;
  --text-soft: #6b6a64;
  --teal: #0b4650;
  --teal-dark: #072f36;
  --teal-subtle: #7faab0;
  --teal-on: #cfe0e2;
  --lime: #e6ff2b;
  --accent: var(--lime);
  --accent-hover: #f1ff7a;
  --paper: #f9f7f2;
  --gray: #efede6;
  --gray-2: #e4eeee;
  --card: #fdfcf9;
  --line: #e2ddd0;
  --line-strong: #8a897f;
  --white: #ffffff;
  --on-dark: #ffffff;
  --on-dark-muted: #cfe0e2;
  --danger: #b42318;
  --danger-bg: #fef1ee;
  --success: #216540;
  --success-bg: #e8f3ec;
  --focus: var(--teal);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 2px 4px rgba(11, 70, 80, 0.04), 0 10px 30px rgba(11, 70, 80, 0.08);
  --header-h: 68px;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

@media (min-width: 1080px) {
  :root {
    --header-h: 84px;
  }
}

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

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  overflow-wrap: break-word;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 1.3rem + 4.1vw, 4.375rem);
}

h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.7vw, 3.5rem);
}

h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.875rem);
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

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

.icon {
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Buttons: square, uppercase, as on the reference design. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--ink);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
}

.btn-white:hover {
  background: var(--gray-2);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gray);
  color: var(--ink);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.arrow-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
}

.arrow-link::after {
  content: ' \2192';
}

.arrow-link:hover {
  text-decoration: underline;
}

/* Offer bar above the header */

.offer-bar {
  background: var(--dark);
  color: var(--on-dark);
  font-size: 0.95rem;
  --focus: var(--accent);
}

.offer-bar p {
  margin: 0;
  padding: 9px 0;
  text-align: center;
}

.offer-bar a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

/* Logo: three schedule bars stepping from pale teal to lime, on a deep teal tile. */
.mark-tile {
  fill: var(--teal);
}

.mark-bar-1 {
  fill: var(--teal-subtle);
}

.mark-bar-2 {
  fill: var(--teal-on);
}

.mark-bar-3 {
  fill: var(--lime);
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav a,
.link-login {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.link-login:hover,
.main-nav a[aria-current='page'] {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-actions .btn {
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* Below 1080px the section links live in a panel under the header bar. */
@media (max-width: 1079px) {
  .main-nav {
    display: none;
    order: 5;
    flex-basis: 100%;
    padding: 6px 0 14px;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 13px 4px;
    font-size: 1rem;
  }
}

@media (max-width: 519px) {
  .link-login {
    display: none;
  }
}

@media (min-width: 1080px) {
  .menu-toggle {
    display: none;
  }

  .brand {
    margin-right: 28px;
  }

  .main-nav {
    margin-right: auto;
  }
}

/* Hero: category, headline and product screenshot over a dimmed photo */

.hero {
  position: relative;
  padding: 48px 0 84px;
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
  isolation: isolate;
  --focus: var(--accent);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 47, 54, 0.8), rgba(7, 47, 54, 0.88));
}

.hero-inner {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.45em;
  color: var(--on-dark);
  font-size: clamp(2rem, 1.3rem + 2.1vw, 2.9rem);
}

.hero-accent {
  color: var(--accent);
  white-space: nowrap;
}

.hero-lead {
  max-width: 34em;
  margin: 0 auto;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
}

.hero .hero-lead {
  color: var(--on-dark-muted);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 30px;
}

.hero-actions .arrow-link {
  color: var(--on-dark);
  font-size: 1.125rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 28px;
  list-style: none;
  color: var(--on-dark-muted);
  font-size: 1rem;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

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

.hero-product .shot {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.hero-phone {
  display: none;
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: 25%;
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .hero-phone {
    display: block;
  }
}

@media (min-width: 1000px) {
  .hero {
    padding: 76px 0 104px;
    text-align: left;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }

  .hero .hero-lead {
    margin: 0;
  }

  .hero-actions,
  .hero-points {
    justify-content: flex-start;
  }
}

/* Page hero without a photo (pricing page) */

.page-hero {
  padding: 64px 0 150px;
  background: var(--dark);
  color: var(--on-dark-muted);
  text-align: center;
  --focus: var(--accent);
}

.page-hero h1 {
  max-width: 20em;
  margin: 0 auto 0.35em;
  color: var(--on-dark);
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem);
}

.page-hero .hero-lead {
  color: var(--on-dark-muted);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--accent);
}

/* Sections */

.section {
  padding: 64px 0;
}

@media (min-width: 1000px) {
  .section {
    padding: 96px 0;
  }
}

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

.section-head {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.section-lead {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
}

/* Industries strip: two rows of chips drifting in opposite directions */

.strip {
  padding: 44px 0 36px;
  overflow: hidden;
  background: var(--gray);
  text-align: center;
}

.strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem);
}

.strip-lead {
  max-width: 40em;
  margin: 0 auto;
}

.marquee {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-right 64s linear infinite;
}

/* The second row runs the other way. main.js sets each row's duration from its
   width so both move at the same speed; without it they share this duration. */
.marquee-reverse {
  animation-direction: reverse;
}

.marquee-track ul {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
  list-style: none;
}

.marquee-track li {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Each track holds the list twice, so sliding by half its width loops seamlessly. */
@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.marquee:hover .marquee-track,
.strip.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-controls {
  display: flex;
  justify-content: center;
  min-height: 36px;
  margin-top: 14px;
}

.marquee-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.marquee-pause[hidden] {
  display: none;
}

.marquee-pause:hover {
  background: var(--white);
}

.marquee-pause svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marquee-pause .icon-play,
.marquee-pause[aria-pressed='true'] .icon-pause {
  display: none;
}

.marquee-pause[aria-pressed='true'] .icon-play {
  display: block;
}

/* Reduced motion: no drift, the chips wrap and the duplicate list is dropped. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    width: auto;
    justify-content: center;
    animation: none;
  }

  .marquee-track ul {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 16px;
  }

  .marquee-track ul[aria-hidden='true'] {
    display: none;
  }
}

/* Capability cards */

.cap-grid {
  display: grid;
  gap: 20px;
  list-style: none;
}

@media (min-width: 720px) {
  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 1100px) {
  .cap-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cap {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.section-gray .cap {
  background: var(--white);
}

.cap .icon {
  margin-bottom: 14px;
}

.cap h3 {
  margin-bottom: 8px;
}

.cap p {
  margin: 0;
}

.cap .tag {
  margin-top: 14px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dceae9;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Three steps */

.steps {
  display: grid;
  gap: 28px;
  margin-top: 64px;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

.steps li {
  position: relative;
  padding-top: 18px;
  border-top: 3px solid var(--teal);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.steps p {
  margin: 0;
}

.steps-title {
  margin: 72px 0 0;
  text-align: center;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

.steps-title + .steps {
  margin-top: 32px;
}

/* Dark call-to-action ribbon */

.ribbon {
  padding: 34px 0;
  background: var(--dark);
  color: var(--on-dark);
  --focus: var(--accent);
}

.ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  text-align: center;
}

.ribbon p {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 500;
}

.ribbon-wide .ribbon-inner {
  justify-content: space-between;
  text-align: left;
}

.ribbon-wide {
  padding: 52px 0;
}

.ribbon-copy {
  flex: 1 1 420px;
  max-width: 720px;
}

.ribbon-copy h2 {
  margin-bottom: 8px;
  color: var(--on-dark);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
}

.ribbon-copy p {
  color: var(--on-dark-muted);
  font-size: 1.125rem;
  font-weight: 400;
}

/* Feature stages: large white cards, copy beside a screenshot */

.stages {
  display: grid;
  gap: 28px;
  list-style: none;
}

@media (min-width: 1000px) {
  .stages {
    gap: 40px;
  }
}

.stage {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .stage {
    padding: 44px;
  }
}

@media (min-width: 1000px) {
  .stage {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 60px;
    padding: 60px;
  }

  .stage:nth-child(even) .stage-copy {
    order: 2;
  }
}

.stage-copy h3 {
  margin-bottom: 12px;
}

.stage-copy > p {
  font-size: 1.2rem;
}

.fit {
  margin: 22px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--line-strong);
  background: var(--gray);
}

.fit-label {
  margin: 0 0 4px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fit p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-style: italic;
}

.stage-media {
  margin: 0;
  min-width: 0;
}

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(11, 70, 80, 0.1);
}

.media-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.media-pair .shot {
  width: 100%;
}

@media (min-width: 640px) {
  .media-pair {
    grid-template-columns: minmax(0, 1fr) 170px;
  }
}

.phone {
  width: 100%;
  max-width: 220px;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--ink);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

/* Accordion (details) */

.acc {
  border-top: 1px solid var(--line);
}

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

.acc summary {
  position: relative;
  padding: 18px 44px 18px 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

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

.acc summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.acc details[open] summary::after {
  content: '\2212';
}

.acc summary:hover {
  color: var(--teal-dark);
}

.acc .acc-body {
  padding: 0 44px 20px 0;
}

.acc .acc-body p:last-child {
  margin-bottom: 0;
}

/* Who it is for */

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

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

.split h2 {
  margin-bottom: 16px;
}

.split .section-lead {
  margin-bottom: 28px;
}

.panel {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark-muted);
}

@media (min-width: 640px) {
  .panel {
    padding: 44px;
  }
}

.panel h3 {
  color: var(--on-dark);
}

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

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.38em;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

.panel .check-list li::before {
  border-color: var(--accent);
}

.panel .check-list strong {
  color: var(--on-dark);
}

/* Big numbers */

.stats {
  display: grid;
  gap: 36px;
  list-style: none;
  text-align: center;
}

@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stats strong {
  display: block;
  color: var(--teal);
  font-size: clamp(3.25rem, 2.2rem + 4.2vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}

.stats span {
  display: block;
  max-width: 15em;
  margin: 8px auto 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}

.stats s {
  color: var(--text-soft);
  font-weight: 500;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}

/* Testimonial (hidden until the case study is approved) */

.quote {
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 26px 30px;
  border-left: 3px solid var(--line-strong);
  background: var(--gray);
}

.quote blockquote {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.4rem;
  font-style: italic;
}

.quote figcaption {
  font-weight: 500;
}

/* Pricing offer card */

.offer-wrap {
  margin-top: -110px;
  padding-bottom: 72px;
}

.offer {
  display: grid;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 8px rgba(11, 70, 80, 0.05), 0 20px 60px rgba(11, 70, 80, 0.16);
}

@media (min-width: 900px) {
  .offer {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.offer-price {
  padding: 36px 24px;
  background: var(--gray);
  text-align: center;
}

.offer-body {
  padding: 36px 24px;
}

@media (min-width: 640px) {
  .offer-price,
  .offer-body {
    padding: 48px;
  }
}

.price-was {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.5rem;
  font-weight: 500;
}

.price-now {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 3rem + 5vw, 6rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.price-period {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 600;
}

.price-note {
  margin: 14px 0 0;
  font-size: 1rem;
}

.price-note + .price-note {
  margin-top: 4px;
}

.offer-price .btn {
  width: 100%;
  margin-top: 26px;
}

.offer-body h2 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
}

.offer-body .check-list {
  gap: 16px;
}

.offer-body .check-list strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.offer-body .check-list li::before {
  top: 0.5em;
}

/* Included list on the pricing page */

.inc-grid {
  display: grid;
  gap: 0 48px;
  list-style: none;
}

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

@media (min-width: 1100px) {
  .inc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.inc-grid li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.inc-grid .icon {
  grid-row: span 2;
  width: 36px;
  height: 36px;
}

.inc-grid strong {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.inc-grid span {
  grid-column: 2;
  font-size: 1.02rem;
}

.inc-grid .tag {
  margin-left: 6px;
  font-size: 0.7rem;
  vertical-align: 2px;
}

.narrow {
  max-width: 860px;
  margin: 0 auto;
}

/* Demo form */

.demo-inner {
  display: grid;
  gap: 32px;
}

@media (min-width: 1000px) {
  .demo-inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
}

.demo-copy h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.9vw, 3rem);
}

.demo-copy .check-list {
  margin: 20px 0 24px;
}

.demo-form {
  display: grid;
  gap: 18px;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .demo-form {
    padding: 40px;
  }
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field-row {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field label {
  color: var(--ink);
  font-weight: 600;
}

.req {
  color: var(--danger);
}

.optional {
  color: var(--text-soft);
  font-weight: 400;
}

input[type='text'],
input[type='email'],
input[type='tel'],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

input[aria-invalid='true'],
select[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.95rem;
  font-weight: 600;
}

.field-hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.field-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
}

.field-check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.field-check label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
}

.field-check .field-error {
  grid-column: 2;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  justify-self: start;
}

@media (max-width: 639px) {
  .btn-submit {
    width: 100%;
  }
}

.form-status:empty {
  display: none;
}

.form-status {
  padding: 14px 16px;
  border-radius: 3px;
  font-weight: 600;
}

.form-status p {
  margin: 0;
}

.form-status p + p {
  margin-top: 6px;
}

.form-status.is-success {
  background: var(--success-bg);
  color: var(--success);
}

.form-status.is-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.form-status.is-info {
  background: #e4eeee;
  color: var(--teal-dark);
}

/* Footer */

.site-footer {
  padding: 56px 0 48px;
  background: var(--gray);
  font-size: 1rem;
}

.section-gray + .site-footer {
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.footer-brand p {
  max-width: 28em;
  margin: 10px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  list-style: none;
}

.footer-nav a {
  display: inline-block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.95rem;
}

.footer-bottom a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
}

.footer-bottom .copyright {
  margin-right: auto;
  padding: 6px 0;
}

/* Step headings and the comparison table */

h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}

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

.compare thead th {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}

.compare thead td {
  border-bottom: 2px solid var(--ink);
}

.compare tbody th {
  color: var(--ink);
  font-weight: 600;
}

.compare td:last-child,
.compare thead th:last-child {
  background: #e4eeee;
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 640px) {
  .compare {
    font-size: 1.15rem;
  }

  .compare th,
  .compare td {
    padding: 18px 22px;
  }
}

/* Balanced line breaks in headings; a centred last row for five-card grids */

h1,
h2,
h3,
h4,
.hero-lead,
.section-lead {
  text-wrap: balance;
}

@media (min-width: 720px) {
  .cap-grid.centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cap-grid.centered > li {
    flex: 0 1 calc((100% - 28px) / 2);
  }
}

@media (min-width: 1100px) {
  .cap-grid.centered > li {
    flex-basis: calc((100% - 56px) / 3);
  }
}

/* Phone header: one row, with the login link moved into the menu panel */

.nav-login {
  display: none;
}

@media (max-width: 519px) {
  .nav-login {
    display: block;
  }

  .header-inner {
    column-gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-actions .btn {
    padding: 8px 10px;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }
}

/* Pricing card: centre the price column; keep the industry panel in view */

.offer-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1000px) {
  .split .panel {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* Hero photo rotation: caption of the current photo and the pause button */

.hero-label {
  position: absolute;
  left: 20px;
  bottom: 26px;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hero-label {
    left: 32px;
  }
}

.hero-pause {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(7, 47, 54, 0.55);
  color: var(--on-dark);
  cursor: pointer;
}

.hero-pause[hidden] {
  display: none;
}

.hero-pause:hover {
  background: rgba(7, 47, 54, 0.85);
}

.hero-pause svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-pause .icon-play,
.hero-pause[aria-pressed='true'] .icon-pause {
  display: none;
}

.hero-pause[aria-pressed='true'] .icon-play {
  display: block;
}

/* Four-up overview row and the phone-only feature media */

@media (min-width: 1100px) {
  .cap-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

.cap-grid.four .cap h3 {
  font-size: 1.5rem;
}

.stage-phone {
  display: flex;
  justify-content: center;
}

.stage-phone .phone {
  max-width: 250px;
}

/* On phones the three hero points give way so the product screenshot comes sooner */

@media (max-width: 639px) {
  .hero-points {
    display: none;
  }
}

/* "Polska firma" section: flag beside the eyebrow and the contact line */

.eyebrow-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.flag {
  width: 24px;
  height: 15px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.flag-white {
  fill: #ffffff;
}

.flag-red {
  fill: #dc143c;
}

.support-contact {
  margin: 36px 0 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.support-contact a,
.demo-copy a[href^='tel:'],
.footer-bottom a[href^='tel:'] {
  white-space: nowrap;
}

/* White-label block: copy beside an animated mock of the app that changes from
   the base version into example customer versions */

.wl {
  display: grid;
  gap: 36px;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark-muted);
  --focus: var(--accent);
}

@media (min-width: 640px) {
  .wl {
    padding: 44px;
  }
}

@media (min-width: 1000px) {
  .wl {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
    padding: 56px;
  }
}

.wl-copy .eyebrow {
  color: var(--accent);
}

.wl-copy h3 {
  color: var(--on-dark);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

.wl-copy .check-list {
  margin: 22px 0 28px;
}

.wl-copy .check-list li::before {
  border-color: var(--accent);
}

.wl-copy .check-list strong {
  color: var(--on-dark);
}

.wl-demo {
  min-width: 0;
}

/* Jigsaw: the customer's company is the picture, the system is the piece
   that changes shape to fit the gap. main.js runs the animation; without it
   the piece sits in place. */

.jig {
  position: relative;
}

.jig-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font);
}

.jig-title {
  fill: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jig-back {
  fill: var(--ink);
}

.jig-n {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: stroke 0.5s;
}

.jig-n-a {
  fill: #15616d;
}

.jig-n-b {
  fill: #1b6f7c;
}

.jig-svg.is-complete .jig-n {
  stroke: rgba(230, 255, 43, 0.6);
}

.jig-label {
  fill: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  font-weight: 500;
  text-anchor: middle;
}

.jig-gap {
  fill: none;
  stroke: #ff9d8a;
  stroke-width: 3;
  stroke-linejoin: round;
}

.jig-piece {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

/* The piece's fill and stroke are attributes in the HTML, because main.js
   changes them while it runs. */
.jig-shape {
  stroke-linejoin: round;
}

.jig-name {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
}

.jig-pause {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}

.jig-pause[hidden] {
  display: none;
}

.jig-pause:hover {
  border-color: var(--on-dark);
}

.jig-pause svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jig-pause .icon-play,
.jig-pause[aria-pressed='true'] .icon-pause {
  display: none;
}

.jig-pause[aria-pressed='true'] .icon-play {
  display: block;
}

.jig-steps {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
  counter-reset: jig;
}

@media (min-width: 640px) {
  .jig-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.jig-steps li {
  padding-top: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.35;
  counter-increment: jig;
  transition: border-color 0.3s, color 0.3s;
}

.jig-steps li::before {
  content: counter(jig) '. ';
  font-weight: 700;
}

.jig-steps li.is-active {
  border-top-color: var(--accent);
  color: var(--on-dark);
}

@media (max-width: 519px) {
  .jig-label {
    display: none;
  }

  .jig-name {
    font-size: 17px;
  }
}

.cap-after-title {
  margin-top: 32px;
}

/* The promise to build missing functions, set apart inside the white-label block */

.wl-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: rgba(230, 255, 43, 0.1);
  color: var(--on-dark);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
}

.wl-callout-q {
  flex-basis: 100%;
  color: var(--on-dark-muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.wl-callout strong {
  color: var(--accent);
  font-weight: 700;
}

/* Client testimonial */

.testimonial-heading {
  margin: 0 0 28px;
  text-align: center;
}

.testimonial {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .testimonial {
    padding: 56px 64px;
  }
}

.testimonial blockquote {
  position: relative;
  margin: 0;
  padding-top: 44px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  font-weight: 500;
  line-height: 1.4;
}

.testimonial blockquote::before {
  content: '\201D';
  position: absolute;
  left: -2px;
  top: -6px;
  height: 40px;
  overflow: hidden;
  color: var(--teal-subtle);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
}

.testimonial figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.testimonial-logo {
  width: auto;
  height: 30px;
}

.testimonial-author {
  color: var(--text);
  font-size: 1.05rem;
}
