:root {
  /*
    Landing density is CSS-first and mirrored by the inline bootstrap stylesheet
    so the landing/preloading frame uses the final scale before first paint.
  */
  --landing-blue: #337eef;
  --landing-blue-soft: #eef6f7;
  --landing-sidebar: #000000;
  /* Popups, menus, fields and buttons share the app's look: its ink, muted text and line colours, its
     12px control corners, its 16px popup corners and its hairline shadow. */
  --landing-text: #171717;
  --landing-muted: #5e5e5e;
  --landing-border: #e5e5e5;
  /* Slider colour for the shared Pryzenta sliders (page-scrollbars.css), the same line colour as the app. */
  --line: var(--landing-border);
  --landing-radius: 10px;
  --landing-popup-radius: 16px;
  /* Dropdown menus, file rows and the crop area keep the app's small 6px corner (its --radius); the profile panel is a
     popup (--landing-popup-radius), like the app's profile and notifications panels. */
  --landing-small-radius: 10px;
  --landing-shadow-hair: 0 1px 2px rgba(0, 0, 0, 0.04);
  --landing-hover-soft: #f7f7f7;
  --landing-zoom: 0.94;
  --landing-topbar-height: clamp(48px, 6vh, 56px);
  --landing-inline-gap: clamp(16px, 2.2vw, 26px);
  --landing-page-inline-padding: clamp(20px, 3vw, 36px);
  --landing-layout-viewport-width: calc(100vw / var(--landing-zoom));
  --landing-control-height: clamp(31px, 4.1vh, 34px);
  --landing-control-font-size: clamp(13px, 1vw, 14px);
  --landing-control-padding-x: clamp(8px, 0.8vw, 11px);
  --landing-loading-title-size: clamp(28px, 4vh, 34px);
  --pryzenta-loading-logo-size: 90px;
  --pryzenta-loading-logo-url: none;
  --landing-resize-transition:
    height 160ms ease,
    padding 160ms ease,
    width 160ms ease;
  --landing-app-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Sections of the Admin Portal section types (hero, feature cards, steps, questions, call to action, connection logos,
     brand story): their surfaces, the hover lift of a card, the main button hover and the once-only reveal motion. */
  --landing-surface: #ffffff;
  --landing-blue-hover: #2b6fd8;
  --landing-card-border-hover: #c9dafa;
  --landing-card-shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.07);
  --landing-card-lift: -3px;
  --landing-block-gap: clamp(14px, 1.6vw, 20px);
  --landing-block-item-title-size: 18px;
  --landing-block-item-text-size: 15px;
  --landing-block-icon-size: 44px;
  --landing-block-logo-size: 40px;
  /* A logo tile is wide enough for the longest connection name on one line per word. */
  --landing-block-logo-tile-min: 190px;
  /* The icon beside the name (web) or above it (phone: two narrow tiles per row). */
  --landing-block-logo-direction: row;
  --landing-block-logo-align: start;
  --landing-block-button-height: 42px;
  --landing-reveal-distance: 18px;
  --landing-reveal-duration: 520ms;
  /* Section layout and motion (Admin Portal: Layout and Motion of every section): the widest a section's content gets, the
     space inside a section with a background, how far apart the items of an "items" section come in, how long a moving
     strip takes per item for one loop, the minimum width of a card / step, the hero badge and moving pictures. */
  --landing-section-max-width: 1180px;
  --landing-section-fill-padding-block: clamp(28px, 4vw, 48px);
  --landing-section-fill-padding-inline: clamp(20px, 3vw, 40px);
  --landing-item-stagger: 100ms;
  --landing-strip-seconds-per-item: 4s;
  --landing-block-card-min: 240px;
  --landing-block-step-min: 220px;
  --landing-hero-badge-size: 13px;
  --landing-hero-badge-height: 30px;
  --landing-hero-strip-height: 180px;
  --landing-stacked-picture-width: 720px;
  /* A YouTube video (Video section, or in the picture place of a hero / image and text section): the dark box behind the
     poster, the round play button (its size, colours and the grow under the mouse), the focus ring and the caption. */
  --landing-video-surface: #000000;
  --landing-video-play-size: 68px;
  --landing-video-play-bg: rgba(0, 0, 0, 0.72);
  --landing-video-play-bg-hover: var(--landing-blue);
  --landing-video-play-color: #ffffff;
  --landing-video-play-grow: 1.08;
  --landing-video-play-duration: 180ms;
  --landing-video-focus-ring: 3px solid var(--landing-blue);
  --landing-video-caption-size: 14px;
  /* Customer quotes: the quote text, the round picture of the person, the dots and the fade between two quotes. */
  --landing-quote-text-size: clamp(18px, 1.6vw, 22px);
  --landing-quote-avatar-size: 48px;
  --landing-quote-dot-size: 10px;
  --landing-quote-dot-color: var(--landing-border);
  --landing-quote-fade-duration: 600ms;
  /* The footer blocks (link columns, contact details, badges, logo row): column width and gaps, picture heights. A
     touch phone stacks the columns (one per row). */
  --landing-footer-column-min: 180px;
  --landing-footer-columns-template: repeat(auto-fit, minmax(min(100%, var(--landing-footer-column-min)), 1fr));
  --landing-footer-column-gap: 28px;
  --landing-footer-item-gap: 10px;
  --landing-footer-contact-icon-size: 20px;
  --landing-footer-badge-height: 40px;
  --landing-footer-logo-row-size: 40px;
  --landing-footer-logo-row-gap: 28px;
  --landing-footer-logo-row-name-size: 13px;
  --landing-footer-muted-mix: 78%;
  /* The space between the top bar and the first section (a full width section with a background colour takes it back:
     it touches the top bar). */
  --landing-page-top-space: 20px;
  /* The shared choices of every section (Admin Portal, Phase 8 part C): the background effect colours (an effect colour
     left out; public/landing-page-policy.js LANDING_OPTIONAL_COLOR_SHOWN starts the editor from the same), the soft glows,
     the marker band behind highlighted words, buttons drawn as underlined links, the glow of a card under the mouse, the
     key points of a hero and the rows of a Services List. */
  --landing-effect-color-1: #337eef;
  --landing-effect-color-2: #8ab4f8;
  --landing-effect-color-3: #9aa8a1;
  --landing-effect-glow-size: 46%;
  --landing-effect-glow-size-many: 60%;
  --landing-effect-glow-blur: 70px;
  --landing-effect-glow-opacity: 0.35;
  --landing-effect-glow-opacity-many: 0.5;
  --landing-effect-glow-seconds: 22s;
  --landing-effect-glow-seconds-slow: 40s;
  --landing-highlight-marker-height: 0.42em;
  --landing-highlight-marker-start: 38%;
  --landing-highlight-marker-end: 16%;
  --landing-link-button-size: clamp(18px, 1.6vw, 22px);
  --landing-link-button-line: 2px;
  --landing-link-button-line-rest: 0.35;
  --landing-link-button-gap: 28px;
  --landing-card-glow-blur: 22px;
  --landing-card-glow-strength: 32%;
  --landing-hover-duration: 200ms;
  --landing-hero-point-gap: clamp(16px, 2vw, 28px);
  --landing-hero-point-min: 140px;
  --landing-service-title-size: clamp(20px, 2.2vw, 28px);
  --landing-service-row-padding: clamp(18px, 2.4vw, 28px);
  --landing-service-arrow-size: 28px;
  --landing-service-arrow-shift: 6px;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
  color: #111b16;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  scrollbar-gutter: auto;
  scroll-behavior: smooth;
  width: 100%;
}

html.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

html:not([data-pryzenta-landing-ready="true"]),
body.landing-loading {
  overflow-y: hidden;
}

html:not([data-pryzenta-landing-ready="true"])::before,
body.landing-loading::before {
  background: var(--landing-loading-background, #ffffff);
  content: "";
  height: 100vh;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

html[data-pryzenta-loading-logo="true"]:not([data-pryzenta-landing-ready="true"])::after,
html[data-pryzenta-loading-logo="true"] body.landing-loading::after {
  animation: pryzentaLoadingLogoFlash 1.1s ease-in-out infinite;
  background-image: var(--pryzenta-loading-logo-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  content: "";
  display: block;
  filter: none;
  height: var(--pryzenta-loading-logo-size);
  left: 50%;
  opacity: 1;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--pryzenta-loading-logo-size);
  z-index: 10001;
}

html[data-pryzenta-loading-logo="true"] body.landing-loading::after {
  content: none;
  display: none;
}

body.landing-loading > :not(script) {
  visibility: hidden;
}

@keyframes pryzentaLoadingLogoFlash {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.025);
  }
}

@keyframes pryzentaLandingLoadingPulse {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 1;
  }
}

body {
  margin: 0;
  min-height: calc(100vh / var(--landing-zoom));
  min-width: calc(320px / var(--landing-zoom));
  background: #ffffff;
  max-width: none;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
  touch-action: pan-y;
  width: var(--landing-layout-viewport-width);
  zoom: var(--landing-zoom);
}

body.modal-open {
  left: 0;
  overflow: hidden;
  overscroll-behavior: none;
  padding-right: var(--landing-scrollbar-compensation, 0px);
  position: fixed;
  right: 0;
  touch-action: none;
  width: var(--landing-layout-viewport-width);
}

.landing-topbar {
  align-items: center;
  background: var(--landing-sidebar);
  color: #ffffff;
  display: flex;
  height: var(--landing-topbar-height);
  justify-content: space-between;
  left: 0;
  padding: 0 var(--landing-inline-gap);
  position: fixed;
  right: 0;
  top: 0;
  transition: var(--landing-resize-transition);
  z-index: 10;
}

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

.landing-brand {
  color: #ffffff;
  text-decoration: none;
}

.landing-brand-wordmark {
  display: block;
  height: clamp(40px, 5.2vh, 46px);
  object-fit: contain;
  width: auto;
}

.landing-brand-wordmark[hidden] {
  display: none;
}

.landing-nav {
  gap: 10px;
}

.landing-nav-link,
.landing-primary-link {
  align-items: center;
  border-radius: var(--landing-radius);
  display: inline-flex;
  font-family: var(--landing-app-font);
  font-size: var(--landing-control-font-size);
  font-weight: 500;
  height: var(--landing-control-height);
  justify-content: center;
  padding: 0 10px;
  text-decoration: none;
}

.landing-nav-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  cursor: pointer;
}

.landing-primary-link {
  background: var(--landing-blue);
  border: 1px solid var(--landing-blue);
  color: #ffffff;
}

.landing-profile-icon {
  align-items: center;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.landing-profile-icon svg {
  display: block;
  fill: none;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2.4;
  width: 28px;
}

.landing-profile-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  overflow: visible;
  padding: 0;
  width: 38px;
}

.landing-profile-button img,
.landing-profile-button svg {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.landing-profile-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32);
  outline: none;
}

.landing-profile-menu,
.landing-country-picker-menu {
  transform: translateY(0);
  opacity: 1;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease;
}

.landing-profile-menu.is-collapsed,
.landing-country-picker-menu.is-collapsed {
  transform: translateY(-4px);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .landing-profile-menu,
  .landing-country-picker-menu {
    transition: none !important;
  }
}

.landing-profile-menu {
  background: #ffffff;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-popup-radius);
  box-shadow: 0 18px 42px rgba(11, 23, 32, 0.18);
  color: var(--landing-text);
  font-family: var(--landing-app-font);
  /* The rows are spaced like the app company list (ADD-99): a 4px frame. */
  padding: 4px;
  position: fixed;
  top: calc(var(--landing-topbar-height) + 8px);
  width: min(360px, calc(100vw - 32px));
  z-index: 100;
}

.landing-profile-summary {
  align-items: center;
  display: flex;
  min-width: 0;
  /* The name starts on the line of the row icons (12px). */
  padding: 8px 12px;
}

.landing-profile-copy {
  min-width: 0;
}

.landing-profile-name {
  color: var(--landing-text);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--landing-app-font);
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-profile-email {
  color: var(--landing-muted);
  font-size: var(--landing-control-font-size);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



/* Each group of rows under a line, spaced like the app company list (4px between rows). */
.landing-profile-actions {
  border-top: 1px solid var(--landing-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding-top: 4px;
}

/* A row: the spacing of the app company list rows (icon 12px from the edge, 20px wide, the text at 40px). */
.landing-profile-link,
.landing-profile-signout {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--landing-radius);
  cursor: pointer;
  display: flex;
  font-family: var(--landing-app-font);
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  line-height: 20px;
  min-height: var(--landing-control-height);
  padding: 0 12px 0 40px;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

.landing-profile-row-icon {
  align-items: center;
  display: flex;
  height: 20px;
  justify-content: center;
  left: 12px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.landing-profile-row-icon svg {
  display: block;
  height: 20px;
  width: 20px;
}

.landing-profile-row-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The app version right of Sign Out, vertically centred, small and light grey (aria-hidden in the markup). */
.landing-profile-version {
  color: var(--landing-muted);
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  margin-inline-start: auto;
  padding-inline-start: 12px;
}

.landing-profile-link {
  color: var(--landing-text);
}

.landing-profile-signout {
  color: #c9482b;
}

.global-profile-modal {
  max-width: 720px;
  padding: 24px;
  width: min(720px, calc(100vw - 48px));
}

.global-profile-modal-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.global-profile-modal-header h2 {
  margin: 0;
}

.global-profile-form {
  display: grid;
  gap: 16px;
}

.global-profile-form label {
  color: var(--landing-text);
  display: grid;
  font-size: var(--landing-control-font-size);
  font-weight: 600;
  gap: 7px;
}

.global-profile-form input:not([type="file"]) {
  appearance: none;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  color: var(--landing-text);
  font: inherit;
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  height: var(--landing-control-height);
  min-width: 0;
  padding: 0 var(--landing-control-padding-x);
  width: 100%;
}

.global-profile-form input[readonly] {
  background: #f7faf9;
  color: var(--landing-muted);
}

.global-profile-logo-upload {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.profile-logo-preview {
  align-items: center;
  background: var(--landing-hover-soft);
  border: 0;
  border-radius: 50%;
  display: flex;
  flex: 0 0 74px;
  height: 74px;
  justify-content: center;
  overflow: hidden;
  width: 74px;
}

.profile-logo-preview.has-logo {
  background: #ffffff;
}

.profile-logo-preview img,
.profile-logo-preview svg,
/* Round by CSS only (one smooth edge on every screen); the drawing itself has no SVG clip. The thin line (an outline
   drawn over the circle edge itself, so no seam) keeps the circle whole on white (user decision 2026-10-05). */
.profile-default-avatar {
  border-radius: 50%;
  display: block;
  outline: 1px solid var(--line);
  outline-offset: -1px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.company-logo-controls {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.upload-requirements {
  color: #6f7a74;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.2;
}

.company-file-row {
  align-items: center;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-small-radius);
  display: inline-flex;
  gap: 6px;
  min-height: var(--landing-control-height);
  max-width: 100%;
  padding: 3px 8px;
  width: fit-content;
}

.file-picker-button {
  align-items: center;
  background: var(--landing-hover-soft);
  border: 1px solid var(--landing-border);
  border-radius: calc(var(--landing-radius) - 2px);
  color: var(--landing-text);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--landing-app-font);
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  justify-content: center;
  min-height: calc(var(--landing-control-height) - 4px);
  min-width: 0;
  padding: 0 var(--landing-control-padding-x);
  white-space: nowrap;
}

.file-picker-button:hover {
  border-color: var(--landing-blue);
}

.file-name-text {
  color: var(--landing-text);
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  white-space: nowrap;
}

.profile-logo-upload input[type="file"] {
  display: none;
}

.global-profile-modal .button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--landing-radius);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--landing-app-font);
  font-size: var(--landing-control-font-size);
  font-weight: 500;
  height: var(--landing-control-height);
  justify-content: center;
  line-height: 1.2;
  min-width: 64px;
  padding: 0 10px;
}

.global-profile-modal .button.primary {
  background: var(--landing-blue);
  border-color: var(--landing-blue);
  color: #ffffff;
}

.global-profile-modal .button.secondary {
  background: #ffffff;
  border-color: var(--landing-border);
  box-shadow: var(--landing-shadow-hair);
  color: var(--landing-text);
}

.global-profile-modal .button.secondary:hover {
  background: var(--landing-hover-soft);
  border-color: var(--landing-blue);
  color: var(--landing-text);
}

.global-profile-modal .text-button {
  background: transparent;
  border: 0;
  color: var(--landing-text);
  cursor: pointer;
  font-family: var(--landing-app-font);
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  line-height: 1.2;
  padding: 0;
}

.global-profile-modal .text-button.danger {
  color: #c9482b;
}

.global-profile-modal [data-global-profile-logo-delete].text-button {
  font-weight: 400;
}

.global-profile-modal .button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.settings-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.global-profile-modal .profile-settings-actions {
  flex-wrap: nowrap;
}

.global-profile-modal .profile-settings-actions .save-message {
  flex: 1 1 0;
  margin-left: 4px;
  min-width: 0;
  white-space: normal;
}

.save-message {
  align-items: center;
  color: #2f9e44;
  display: inline-flex;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  min-height: var(--landing-control-height);
}

.save-message.error,
.save-message.error-message {
  color: #c64e39;
}

.save-message.saving-message {
  color: var(--landing-muted);
}

@media (max-width: 640px) {
  .global-profile-modal .profile-settings-actions {
    flex-wrap: wrap;
  }

  .global-profile-modal .profile-settings-actions .save-message {
    flex: 1 1 100%;
    flex-basis: 100%;
    margin-left: 0;
    white-space: normal;
  }
}

.global-profile-crop-modal {
  align-items: center;
  background: rgba(17, 27, 22, 0.46);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10040;
}

.global-profile-crop-modal[hidden] {
  display: none;
}

.profile-logo-crop-dialog {
  background: #ffffff;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-popup-radius);
  box-shadow: 0 18px 42px rgba(11, 23, 32, 0.18);
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 18px;
  width: min(420px, calc(100vw - 48px));
}

.profile-logo-crop-stage {
  background: #eef4f4;
  border-radius: var(--landing-small-radius);
  cursor: grab;
  height: 280px;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

.profile-logo-crop-stage::after {
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(11, 23, 32, 0.42);
  content: "";
  height: 220px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
}

.profile-logo-crop-image {
  left: 50%;
  max-width: none;
  position: absolute;
  top: 50%;
  transform-origin: center;
  user-select: none;
}

.profile-logo-crop-controls,
.profile-logo-crop-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.profile-logo-crop-controls input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-logo-crop-actions {
  justify-content: flex-end;
}

.landing-login-backdrop {
  align-items: center;
  background: rgba(17, 27, 22, 0.32);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 28px;
  position: fixed;
  right: 0;
  touch-action: none;
  top: 0;
  width: 100%;
  z-index: 10020;
}

.landing-login-modal {
  background: #ffffff;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-popup-radius);
  box-shadow: var(--landing-shadow-hair);
  color: var(--landing-text);
  font-family: var(--landing-app-font);
  max-height: calc(100dvh - 56px);
  max-width: 360px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px;
  touch-action: pan-y;
  width: min(360px, calc(100vw - 48px));
  -webkit-overflow-scrolling: touch;
}

.landing-login-modal h2,
.landing-company-create-modal h2,
.landing-company-select-modal h2 {
  color: var(--landing-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}

.landing-login-form {
  display: grid;
  gap: 14px;
}

.landing-login-form label {
  color: var(--landing-text);
  display: grid;
  font-size: var(--landing-control-font-size);
  font-weight: 600;
  gap: 7px;
}

.landing-company-create-form label {
  color: var(--landing-text);
  font-size: var(--landing-control-font-size);
  font-weight: 600;
  gap: 7px;
}

.landing-login-form label.field-error {
  color: #c64e39;
}

.landing-login-form input {
  appearance: none;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  color: var(--landing-text);
  font: inherit;
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  height: var(--landing-control-height);
  padding: 0 var(--landing-control-padding-x);
  -webkit-text-fill-color: var(--landing-text);
}

.landing-login-form label.field-error input {
  border-color: #c64e39;
}

.landing-login-form input:is(:focus, :focus-visible),
.global-profile-form input:not([type="file"]):is(:focus, :focus-visible) {
  border-color: var(--landing-blue);
  box-shadow: inset 0 0 0 2px rgba(55, 129, 238, 0.22);
  outline: 0;
}

.landing-login-form label.field-error input:is(:focus, :focus-visible),
.global-profile-form label.field-error input:is(:focus, :focus-visible) {
  border-color: #c64e39;
  box-shadow: inset 0 0 0 2px rgba(198, 78, 57, 0.22);
}

.landing-login-message {
  align-items: center;
  border: 0;
  color: #c64e39;
  display: inline-flex;
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  line-height: 1.2;
  margin-left: 4px;
  min-height: var(--landing-control-height);
  padding: 0;
}

.landing-login-message.pending {
  color: inherit;
}

.landing-message-dots {
  align-items: flex-end;
  display: inline-flex;
  gap: 2px;
  margin-left: 3px;
  padding-bottom: 3px;
}

.landing-message-dots i {
  animation: landingMessageDotPulse 1.05s ease-in-out infinite;
  background: currentColor;
  border-radius: 50%;
  display: block;
  height: 3px;
  opacity: 0.35;
  width: 3px;
}

.landing-message-dots i:nth-child(2) {
  animation-delay: 140ms;
}

.landing-message-dots i:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes landingMessageDotPulse {
  0%, 60%, 100% { opacity: 0.35; }
  30% { opacity: 1; }
}

.landing-login-message:empty {
  display: none;
}

.landing-login-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 0;
}

.landing-login-actions .landing-login-message {
  margin-left: 4px;
}

.landing-button,
.landing-button-secondary {
  align-items: center;
  border-radius: var(--landing-radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: var(--landing-control-font-size);
  font-weight: 500;
  height: var(--landing-control-height);
  justify-content: center;
  min-width: 64px;
  padding: 0 10px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.landing-button:hover {
  background: var(--landing-blue);
  border-color: var(--landing-blue);
}

.landing-button-secondary:hover {
  background: var(--landing-hover-soft);
  border-color: var(--landing-blue);
}

.landing-button {
  background: var(--landing-blue);
  border: 1px solid var(--landing-blue);
  color: #ffffff;
}

/* The confirm button of a question that ends something (Sign Out): solid red. */
.landing-button.landing-button-danger,
.landing-button.landing-button-danger:hover {
  background: #c9482b;
  border-color: #c9482b;
}

.landing-confirm-modal h2 {
  font-size: 18px;
  font-weight: 500;
}

.landing-button-secondary {
  background: #ffffff;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow-hair);
  color: var(--landing-text);
}

.landing-login-company-list {
  display: grid;
  gap: 10px;
}

.landing-login-invitation {
  align-items: center;
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: var(--landing-control-height);
  padding-block: 4px;
  padding-inline: 11px 4px;
}

.landing-login-invitation > span,
.landing-login-invitation-actions button {
  font-size: var(--landing-control-font-size);
  font-weight: 400;
}

.landing-login-invitation > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.landing-login-invitation-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.landing-login-invitation-expired,
.landing-login-waiting-state {
  color: #c9482b;
  font-size: 13px;
  padding: 0 7px;
}

.landing-login-waiting-state {
  color: var(--landing-muted);
}

.landing-login-invitation-actions button {
  justify-content: center;
  min-width: 64px;
  padding: 0 10px;
  width: auto;
}

.landing-login-invitation-actions .landing-invitation-accept {
  background: transparent;
  border-color: #4a9b4c;
  color: #4a9b4c;
}

.landing-login-invitation-actions .landing-invitation-reject {
  background: transparent;
  border-color: #c9482b;
  color: #c9482b;
}

.landing-login-invitation-actions .landing-invitation-accept:hover,
.landing-login-invitation-actions .landing-invitation-accept:focus-visible {
  background: rgba(74, 155, 76, 0.08);
  outline: none;
}

.landing-login-invitation-actions .landing-invitation-reject:hover,
.landing-login-invitation-actions .landing-invitation-reject:focus-visible {
  background: rgba(201, 72, 43, 0.08);
  outline: none;
}

.landing-login-company-list button {
  color: var(--landing-text);
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  justify-content: flex-start;
  padding: 0 11px;
  width: 100%;
}

.company-create-title {
  align-items: center;
  display: flex;
  gap: 8px;
}

.company-create-title > svg {
  display: block;
  flex: 0 0 20px;
  height: 20px;
  width: 20px;
}

.landing-company-create-modal {
  background: var(--landing-panel, #fff);
  box-shadow: var(--landing-company-shadow, 0 18px 45px rgba(0, 59, 84, 0.08));
  outline: none;
  max-width: 480px;
  width: min(480px, calc(100vw - 48px));
}

.landing-company-create-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-company-create-form label:first-child,
.landing-company-create-actions,
.landing-onboarding-copy {
  grid-column: 1 / -1;
}

.landing-company-create-actions {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-company-create-actions .landing-button,
.landing-company-create-actions .landing-button-secondary {
  flex: 0 0 auto;
  line-height: normal;
  min-height: var(--landing-control-height);
  min-width: 64px;
  padding: 0 10px;
  white-space: nowrap;
}

.landing-login-backdrop[data-display-mode="dark"],
.landing-country-picker-menu[data-display-mode="dark"] {
  --landing-text: #f3f4f4;
  --landing-muted: #b5b8ba;
  --landing-border: #4b5053;
  --landing-panel: #333739;
  --landing-company-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  color-scheme: dark;
}

.landing-company-create-form input,
.landing-company-create-actions .landing-button-secondary {
  background-color: var(--landing-panel, #fff);
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .landing-company-create-form { grid-template-columns: 1fr; }
}

/* Same dropdown chevron as the app (public/styles.css "Dropdown arrow"), turning while the picker is open. */
@property --dropdown-arrow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 45deg;
}

input[data-landing-country-picker] {
  --dropdown-arrow-stroke: transparent calc(50% - 0.53px), currentColor calc(50% - 0.53px), currentColor calc(50% + 0.53px), transparent calc(50% + 0.53px);
  background-image:
    linear-gradient(var(--dropdown-arrow-angle), var(--dropdown-arrow-stroke)),
    linear-gradient(calc(180deg - var(--dropdown-arrow-angle)), var(--dropdown-arrow-stroke));
  background-position: right calc(var(--landing-control-padding-x) + 4.95px) center, right var(--landing-control-padding-x) center;
  background-repeat: no-repeat;
  background-size: 4.95px 4.95px;
  cursor: pointer;
  padding-right: clamp(18px, 1.5vw, 22px);
  transition: --dropdown-arrow-angle 350ms ease;
}

input[data-landing-country-picker][aria-expanded="true"] {
  --dropdown-arrow-angle: 135deg;
}

.landing-country-picker-menu {
  background: var(--landing-panel, #fff);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-small-radius);
  box-shadow: 0 10px 28px rgba(3, 123, 123, 0.14);
  color: var(--landing-text);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--landing-app-font);
  max-height: min(320px, calc(100vh - 24px));
  overflow: hidden;
  padding: 4px;
  position: absolute;
  z-index: 31000;
}

.landing-country-picker-menu[hidden] {
  display: none;
}

.landing-country-picker-options {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 4px;
  max-height: calc((6 * var(--landing-control-height)) + 20px);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.landing-country-picker-search {
  background: var(--landing-panel, #fff);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  box-shadow: none;
  color: var(--landing-text);
  flex: 0 0 auto;
  font: inherit;
  font-size: var(--landing-control-font-size);
  height: var(--landing-control-height);
  padding: 0 var(--landing-control-padding-x);
  width: 100%;
}

.landing-country-picker-search:focus {
  border-color: var(--landing-blue);
  box-shadow: none;
  outline: 0;
}

.landing-country-picker-search::placeholder { color: #9aa39e; opacity: 1; }

.landing-country-picker-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--landing-radius);
  color: var(--landing-text);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: var(--landing-control-font-size);
  font-weight: 400;
  justify-content: flex-start;
  min-height: var(--landing-control-height);
  padding: 0 calc(clamp(18px, 1.5vw, 22px) + 10px) 0 var(--landing-control-padding-x);
  position: relative;
  text-align: left;
  width: 100%;
}

.landing-country-picker-option:hover,
.landing-country-picker-option.is-active,
.landing-profile-link:hover,
.landing-profile-signout:hover {
  background: #f2f5f3;
}

.landing-country-picker-option.selected { background: #eef3f0; }
.landing-country-picker-option-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-country-picker-option-check {
  color: var(--landing-blue);
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: var(--landing-control-padding-x);
  top: 50%;
  transform: translateY(-50%);
}

.landing-country-picker-empty {
  color: var(--landing-muted);
  font-size: var(--landing-control-font-size);
  padding: 12px;
}

.landing-onboarding-copy {
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 720px) {
  .landing-company-create-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1440px), (max-height: 820px) {
  :root {
    --landing-topbar-height: 52px;
    --landing-inline-gap: clamp(14px, 1.8vw, 20px);
    --landing-control-height: 32px;
    --landing-control-font-size: 13px;
    --landing-loading-title-size: clamp(26px, 3.8vh, 32px);
  }
}

@media (max-height: 740px) {
  :root {
    --landing-topbar-height: 48px;
    --landing-loading-title-size: 28px;
  }
}

.landing-page {
  display: flex;
  flex-direction: column;
  font-family: var(--landing-app-font);
  min-height: 100vh;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  padding: calc(var(--landing-topbar-height) + var(--landing-page-top-space)) var(--landing-page-inline-padding) 28px;
  width: 100%;
}

.landing-section {
  align-items: center;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--landing-section-max-width);
  min-width: 0;
  width: 100%;
}

.landing-section-copy {
  min-width: 0;
}


.landing-section-title,
.landing-section-text,
p {
  margin: 0;
}

.landing-section-title {
  color: var(--landing-title-color, #111b16);
  font-size: clamp(24px, calc(var(--landing-title-size, 40px) * 0.9), 40px);
  line-height: 1.16;
  max-width: 760px;
}

.landing-section-text {
  color: var(--landing-content-color, #5d6962);
  font-size: clamp(14px, calc(var(--landing-content-size, 18px) * 0.9), 16px);
  font-weight: 400;
  line-height: 1.45;
  margin-top: 12px;
  max-width: 720px;
  white-space: pre-wrap;
}

.landing-visual {
  aspect-ratio: 4 / 3;
  background: var(--landing-blue-soft);
  border: 1px solid #c3cec7;
  border-radius: var(--landing-radius);
  box-sizing: border-box;
  justify-self: center;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  width: 80%;
}

.landing-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* A video: the 16:9 box (poster, then the player) takes the place of a picture at the full width of its place; the
   caption sits under the box. */
.landing-visual.landing-video {
  aspect-ratio: auto;
  background: none;
  border: 0;
  overflow: visible;
  width: 100%;
}

.landing-video-frame {
  aspect-ratio: 16 / 9;
  background: var(--landing-video-surface);
  border: 1px solid #c3cec7;
  border-radius: var(--landing-radius);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.landing-video-play,
.landing-video-player {
  border: 0;
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.landing-video-play {
  background: none;
  cursor: pointer;
  position: relative;
}

.landing-video-play:focus-visible {
  outline: var(--landing-video-focus-ring);
  outline-offset: -3px;
}

.landing-video-play-icon {
  align-items: center;
  background: var(--landing-video-play-bg);
  border-radius: 50%;
  color: var(--landing-video-play-color);
  display: flex;
  height: var(--landing-video-play-size);
  inset: 50% auto auto 50%;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: background-color var(--landing-video-play-duration) ease, transform var(--landing-video-play-duration) ease;
  width: var(--landing-video-play-size);
}

.landing-video-play-icon svg {
  fill: currentColor;
  height: 46%;
  width: 46%;
}

.landing-video-play:is(:hover, :focus-visible) .landing-video-play-icon {
  background: var(--landing-video-play-bg-hover);
  transform: translate(-50%, -50%) scale(var(--landing-video-play-grow));
}

.landing-video-caption {
  color: var(--landing-content-color, var(--landing-muted));
  font-size: var(--landing-video-caption-size);
  margin-top: 10px;
  text-align: center;
}

.landing-generated-visual {
  align-items: center;
  display: grid;
  gap: 12px;
  padding: clamp(14px, 2.2vw, 24px);
}

.landing-chart-panel,
.landing-metric-panel {
  background: #ffffff;
  border: 1px solid #c3cec7;
  border-radius: var(--landing-radius);
}

.landing-chart-panel {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  height: 62%;
  padding: 18px;
}

.landing-chart-panel span {
  background: var(--landing-blue);
  border-radius: 4px 4px 0 0;
  display: block;
}

.landing-chart-panel span:nth-child(1) {
  height: 42%;
}

.landing-chart-panel span:nth-child(2) {
  height: 64%;
}

.landing-chart-panel span:nth-child(3) {
  height: 50%;
}

.landing-chart-panel span:nth-child(4) {
  height: 82%;
}

.landing-metric-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.landing-metric-panel strong,
.landing-metric-panel span {
  background: #dce7e4;
  border-radius: 999px;
  display: block;
  height: 12px;
}

.landing-metric-panel strong {
  background: var(--landing-blue);
  width: 44%;
}

.landing-metric-panel span:first-of-type {
  width: 72%;
}

.landing-metric-panel span:last-of-type {
  width: 58%;
}

.landing-sections {
  display: grid;
  gap: 30px;
  margin-bottom: 48px;
  margin-top: 28px;
  min-width: 0;
}

.landing-footer {
  background: var(--landing-footer-bg, #061a3a);
  border-radius: 0;
  box-sizing: border-box;
  color: var(--landing-footer-text, #ffffff);
  font-family: var(--landing-app-font);
  font-size: var(--landing-footer-font-size, 14px);
  margin: auto calc(var(--landing-page-inline-padding) * -1) -28px;
  max-width: none;
  min-width: 0;
  padding: var(--landing-footer-padding-top, 48px) var(--landing-footer-padding-right, 24px) var(--landing-footer-padding-bottom, 48px) var(--landing-footer-padding-left, 24px);
  text-align: var(--landing-footer-align, center);
  width: calc(100% + (var(--landing-page-inline-padding) * 2));
}

.landing-footer-inner {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: var(--landing-footer-max-width, 1100px);
  min-width: 0;
}

.landing-footer-logo {
  justify-self: var(--landing-footer-logo-align, center);
}

.landing-footer-logo img {
  display: block;
  height: auto;
  max-height: var(--landing-footer-logo-size, 64px);
  max-width: var(--landing-footer-logo-size, 64px);
  object-fit: contain;
}

.landing-footer-links,
.landing-footer-socials {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.landing-footer[style*="--landing-footer-align: left"] .landing-footer-links,
.landing-footer[style*="--landing-footer-align: left"] .landing-footer-socials {
  justify-content: flex-start;
}

.landing-footer[style*="--landing-footer-align: right"] .landing-footer-links,
.landing-footer[style*="--landing-footer-align: right"] .landing-footer-socials {
  justify-content: flex-end;
}

.landing-footer a {
  color: var(--landing-footer-link, #ffffff);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-footer a:hover,
.landing-footer a:focus-visible {
  color: var(--landing-footer-link-hover, #337eef);
}

.landing-footer-social {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.landing-footer-social-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--landing-footer-bg, #061a3a);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.landing-footer-social-icon svg {
  display: block;
  height: 14px;
  width: 14px;
}

.landing-footer-description {
  color: var(--landing-footer-text, #ffffff);
  line-height: 1.55;
}

.landing-footer-description h1,
.landing-footer-description h2,
.landing-footer-description h3 {
  color: inherit;
  font-size: var(--landing-footer-heading-size, 18px);
  line-height: 1.25;
  margin: 0 0 8px;
}

.landing-footer-description p,
.landing-footer-description ul,
.landing-footer-description ol {
  margin: 0;
}

.landing-footer-description ul,
.landing-footer-description ol {
  display: inline-block;
  padding-left: 20px;
  text-align: left;
}

.landing-footer-copyright {
  color: color-mix(in srgb, var(--landing-footer-text, #ffffff) 78%, transparent);
  font-size: max(12px, calc(var(--landing-footer-font-size, 14px) - 1px));
}

/* The footer blocks added in the editor: link columns, contact details and badges side by side (a row of columns), the
   logo row centred; their links read as plain text links (the bottom links stay as before). */
.landing-footer-columns {
  display: grid;
  gap: var(--landing-footer-column-gap);
  grid-template-columns: var(--landing-footer-columns-template);
  min-width: 0;
}

.landing-footer-column {
  display: grid;
  align-content: start;
  gap: var(--landing-footer-item-gap);
  justify-items: var(--landing-footer-align, center);
  min-width: 0;
  text-align: var(--landing-footer-align, center);
}

.landing-footer-heading {
  color: inherit;
  font-size: var(--landing-footer-heading-size, 18px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

/* A list sits where the footer aligns its text, as wide as its longest line (contact icons one under the other). */
.landing-footer-column-links,
.landing-footer-contact-list {
  display: grid;
  gap: var(--landing-footer-item-gap);
  justify-self: var(--landing-footer-align, center);
  list-style: none;
  margin: 0;
  padding: 0;
  width: fit-content;
}

.landing-footer-column a,
.landing-footer-logo-row a {
  letter-spacing: normal;
  text-transform: none;
}

.landing-footer-contact-item {
  align-items: start;
  display: flex;
  gap: var(--landing-footer-item-gap);
  text-align: start;
}

.landing-footer-contact-icon {
  color: var(--landing-footer-link, #ffffff);
  flex: 0 0 var(--landing-footer-contact-icon-size);
  height: var(--landing-footer-contact-icon-size);
  width: var(--landing-footer-contact-icon-size);
}

.landing-footer-contact-icon svg {
  display: block;
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.landing-footer-contact-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.landing-footer-contact-title {
  font-weight: 600;
}

.landing-footer-contact-text {
  color: color-mix(in srgb, var(--landing-footer-text, #ffffff) var(--landing-footer-muted-mix), transparent);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.landing-footer-badge-list,
.landing-footer-logo-row-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--landing-footer-item-gap);
  justify-content: center;
}

.landing-footer-badge img {
  display: block;
  height: var(--landing-footer-badge-height);
  width: calc(var(--landing-footer-badge-height) * 3);
  object-fit: contain;
}

.landing-footer-logo-row {
  display: grid;
  gap: var(--landing-footer-item-gap);
  justify-items: center;
  text-align: center;
}

.landing-footer-logo-row-list {
  gap: var(--landing-footer-logo-row-gap);
}

.landing-footer-logo-row-item {
  align-items: center;
  display: grid;
  font-size: var(--landing-footer-logo-row-name-size);
  gap: 6px;
  justify-items: center;
}

.landing-footer-logo-row-item img {
  display: block;
  height: var(--landing-footer-logo-row-size);
  object-fit: contain;
  width: var(--landing-footer-logo-row-size);
}

.landing-footer[style*="--landing-footer-align: left"] .landing-footer-badge-list {
  justify-content: flex-start;
}

.landing-footer[style*="--landing-footer-align: right"] .landing-footer-badge-list {
  justify-content: flex-end;
}

.landing-section {
  border-top: 1px solid #c3cec7;
  padding-top: 30px;
}

.landing-hero {
  border-top: 0;
  padding-top: 0;
}

/* Every section hidden in the Admin Portal: the header place shows nothing. */
.landing-hero[hidden] {
  display: none;
}

.landing-section.media-left {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.landing-section.media-left .landing-section-copy {
  order: 2;
}

.landing-section.media-left .landing-visual {
  justify-self: start;
  order: 1;
}

.landing-section.media-right .landing-section-copy {
  order: 1;
}

.landing-section.media-right .landing-visual {
  justify-self: end;
  order: 2;
}

/* Sections of the Admin Portal section types (public-landing/app.js LANDING_SECTION_RENDERERS). A type with no picture
   beside its text is one column; the others keep the two columns of .landing-section (picture below: one column too). */
.landing-block-feature-cards,
.landing-block-steps,
.landing-block-faq,
.landing-block-cta,
.landing-block-logo-grid,
.landing-block-logos,
.landing-block-testimonials,
.landing-block-services,
.landing-block-no-image,
.landing-arrange-stacked,
.landing-section.media-below {
  grid-template-columns: minmax(0, 1fr);
}

/* A section with a picture place but no picture, or with its picture below, is centred. */
.landing-block-no-image,
.landing-arrange-stacked,
.landing-section.media-below {
  justify-items: center;
  text-align: center;
}

.landing-block-no-image .landing-section-text,
.landing-arrange-stacked .landing-section-text,
.landing-section.media-below .landing-section-text,
.landing-block-cta .landing-section-text {
  margin-inline: auto;
}

/* The picture place of a hero or brand story: right of the text, left of it or below it (the picture of an image and
   text section: .media-left / .media-right / .media-below). */
.landing-arrange-left-right .landing-visual,
.landing-arrange-stacked .landing-visual,
.landing-section.media-below .landing-visual {
  order: 1;
}

/* A picture below its text is centred and no wider than a picture beside a text would be on a wide page (a video below
   its text takes the full width). */
.landing-arrange-stacked .landing-visual:not(.landing-video),
.landing-section.media-below .landing-visual:not(.landing-video) {
  justify-self: center;
  width: min(80%, var(--landing-stacked-picture-width));
}

.landing-arrange-right-left .landing-visual {
  order: -1;
}

/* Titles and texts directly on the section (steps, questions) take the title and text colours of the section; a card
   keeps its own on its own surface. */
.landing-block h3 {
  color: var(--landing-title-color, var(--landing-text));
  font-size: var(--landing-block-item-title-size);
  line-height: 1.3;
  margin: 0;
}

.landing-block-card p,
.landing-block-step p,
.landing-block-faq-answer p {
  color: var(--landing-content-color, var(--landing-muted));
  font-size: var(--landing-block-item-text-size);
  line-height: 1.5;
  white-space: pre-wrap;
}

.landing-block-card h3 + p,
.landing-block-step h3 + p {
  margin-top: 8px;
}

.landing-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.landing-block-no-image .landing-block-buttons,
.landing-arrange-stacked .landing-block-buttons,
.landing-block-cta .landing-block-buttons {
  justify-content: center;
}

.landing-block-button {
  align-items: center;
  background: var(--landing-blue);
  border: 1px solid var(--landing-blue);
  border-radius: var(--landing-radius);
  color: var(--landing-surface);
  display: inline-flex;
  font-size: var(--landing-block-item-text-size);
  font-weight: 600;
  justify-content: center;
  min-height: var(--landing-block-button-height);
  padding: 0 20px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.landing-block-button:hover {
  background: var(--landing-blue-hover);
  border-color: var(--landing-blue-hover);
}

.landing-block-button-secondary {
  background: var(--landing-surface);
  color: var(--landing-blue);
}

.landing-block-button-secondary:hover {
  background: var(--landing-blue-soft);
  border-color: var(--landing-blue);
}

.landing-block-button:focus-visible,
.landing-block-faq-question:focus-visible,
.landing-block-logo-link:focus-visible,
.landing-block-quote-dot:focus-visible {
  outline: 2px solid var(--landing-blue);
  outline-offset: 2px;
}

.landing-block-cards,
.landing-block-step-list,
.landing-block-logo-list {
  display: grid;
  gap: var(--landing-block-gap);
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.landing-block-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--landing-block-card-min)), 1fr));
}

.landing-block-step-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--landing-block-step-min)), 1fr));
}

/* Cards / steps per row (2, 3 or 4): each column at least 1/N of the row, so a row never holds more; narrow screens and
   the phone hold fewer (a card or step never gets narrower than its minimum). */
.landing-per-row .landing-block-cards {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--landing-block-card-min), calc((100% - (var(--landing-per-row) - 1) * var(--landing-block-gap)) / var(--landing-per-row)))), 1fr));
}

.landing-per-row .landing-block-step-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--landing-block-step-min), calc((100% - (var(--landing-per-row) - 1) * var(--landing-block-gap)) / var(--landing-per-row)))), 1fr));
}

.landing-block-logo-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--landing-block-logo-tile-min)), 1fr));
}

.landing-block-card {
  --landing-title-color: var(--landing-text);
  --landing-content-color: var(--landing-muted);
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-popup-radius);
  box-shadow: var(--landing-shadow-hair);
  padding: 22px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

/* The picture of a card: across the top of the card, in the shape of a section picture. */
.landing-block-card-picture {
  aspect-ratio: 16 / 9;
  border-radius: var(--landing-radius);
  margin: 0 0 14px;
  overflow: hidden;
}

.landing-block-card-picture img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.landing-block-card .landing-block-buttons {
  margin-top: 16px;
}

/* A card lifts a little under the mouse; on a touch phone (no hover: html.landing-touch, public-landing/app.js) the same
   look shows while a finger presses it (landing-pressed). */
:where(html:not(.landing-touch)) .landing-block-card:hover,
.landing-block-card.landing-pressed {
  border-color: var(--landing-card-border-hover);
  box-shadow: var(--landing-card-shadow-hover);
  transform: translateY(var(--landing-card-lift));
}

.landing-block-card-icon {
  align-items: center;
  background: var(--landing-blue-soft);
  border-radius: var(--landing-radius);
  color: var(--landing-blue);
  display: inline-flex;
  height: var(--landing-block-icon-size);
  justify-content: center;
  margin-bottom: 14px;
  width: var(--landing-block-icon-size);
}

.landing-block-card-icon svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 24px;
}

.landing-block-step {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.landing-block-step-number {
  align-items: center;
  background: var(--landing-blue);
  border-radius: 50%;
  color: var(--landing-surface);
  display: inline-flex;
  flex: 0 0 36px;
  font-size: var(--landing-block-item-text-size);
  font-weight: 700;
  height: 36px;
  justify-content: center;
}

.landing-block-faq-list {
  border-top: 1px solid var(--landing-border);
  max-width: 860px;
  width: 100%;
}

.landing-block-faq-item {
  border-bottom: 1px solid var(--landing-border);
}

.landing-block-faq-heading {
  margin: 0;
}

.landing-block-faq-question {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--landing-title-color, var(--landing-text));
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: var(--landing-block-item-title-size);
  font-weight: 600;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 2px;
  text-align: left;
  width: 100%;
}

/* The mark beside a question: a plus while its answer is closed, a minus while it is open. */
.landing-block-faq-mark {
  flex: 0 0 14px;
  height: 14px;
  position: relative;
}

.landing-block-faq-mark::before,
.landing-block-faq-mark::after {
  background: var(--landing-blue);
  border-radius: 2px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 6px;
  transition: transform 200ms ease;
  width: 14px;
}

.landing-block-faq-mark::after {
  transform: rotate(90deg);
}

.landing-block-faq-question[aria-expanded="true"] .landing-block-faq-mark::after {
  transform: rotate(0deg);
}

.landing-block-faq-answer {
  padding: 0 2px 18px;
}

.landing-block-cta-panel {
  background: var(--landing-blue-soft);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-popup-radius);
  display: grid;
  justify-items: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px);
  text-align: center;
}

/* A call to action with a background colour: the colour band is its panel (the panel draws no surface of its own), so the
   title and text colours chosen for the band are on the band. */
.landing-section-filled .landing-block-cta-panel {
  background: none;
  border: 0;
  padding: 0;
}

.landing-block-logo {
  align-items: center;
  position: relative;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  color: var(--landing-text);
  display: flex;
  flex-direction: var(--landing-block-logo-direction);
  font-size: var(--landing-block-item-text-size);
  font-weight: 600;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  text-align: var(--landing-block-logo-align);
}

.landing-block-logo img {
  flex: 0 0 var(--landing-block-logo-size);
  height: var(--landing-block-logo-size);
  object-fit: contain;
  width: var(--landing-block-logo-size);
}

.landing-block-logo span {
  min-width: 0;
  overflow-wrap: break-word;
}

/* The hero badge (a small rounded line above the title) and its highlighted words (a part of the title in the highlight
   colour; the heading stays one element). */
.landing-hero-badge {
  align-items: center;
  background: var(--landing-blue-soft);
  border: 1px solid var(--landing-card-border-hover);
  border-radius: 999px;
  color: var(--landing-blue);
  display: inline-flex;
  font-size: var(--landing-hero-badge-size);
  font-weight: 600;
  margin-bottom: 14px;
  min-height: var(--landing-hero-badge-height);
  padding: 0 14px;
}

.landing-hero-highlight {
  color: var(--landing-highlight-color, var(--landing-blue));
}

/* Highlight Style "Marker Band": the words keep the title colour with a soft band of the highlight colour behind their
   lower half, like a highlighter (on every line of words that wrap). */
.landing-hero-highlight.landing-highlight-marker {
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--landing-highlight-color, var(--landing-blue)) var(--landing-highlight-marker-start), transparent), color-mix(in srgb, var(--landing-highlight-color, var(--landing-blue)) var(--landing-highlight-marker-end), transparent));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 100% var(--landing-highlight-marker-height);
  box-decoration-break: clone;
  color: inherit;
  padding-inline: 0.06em;
}

/* The key points of a hero: a row under its text with a thin line between two points (stacked on a touch phone). */
.landing-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.landing-block-no-image .landing-hero-points,
.landing-arrange-stacked .landing-hero-points {
  justify-content: center;
}

.landing-hero-point {
  border-inline-start: 1px solid var(--landing-border);
  display: grid;
  flex: 1 1 0;
  gap: 4px;
  min-width: min(100%, var(--landing-hero-point-min));
  padding-inline: var(--landing-hero-point-gap);
}

.landing-hero-point:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.landing-hero-point strong {
  color: var(--landing-title-color, var(--landing-text));
  font-size: var(--landing-block-item-title-size);
}

.landing-hero-point span {
  color: var(--landing-content-color, var(--landing-muted));
  font-size: var(--landing-block-item-text-size);
  line-height: 1.45;
  white-space: pre-wrap;
}

/* A Services List: big rows between thin lines; a row with a link is one link and its arrow slides under the mouse. */
.landing-block-service-list {
  border-top: 1px solid var(--landing-border);
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.landing-block-service {
  border-bottom: 1px solid var(--landing-border);
}

.landing-block-service-row {
  align-items: center;
  border-radius: var(--landing-radius);
  color: inherit;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: var(--landing-service-row-padding) 4px;
  text-align: start;
  text-decoration: none;
}

.landing-block-service-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.landing-block-service h3 {
  font-size: var(--landing-service-title-size);
  overflow-wrap: anywhere;
}

.landing-block-service p {
  color: var(--landing-content-color, var(--landing-muted));
  font-size: var(--landing-block-item-text-size);
  line-height: 1.5;
  white-space: pre-wrap;
}

.landing-block-service-arrow {
  color: var(--landing-highlight-color, var(--landing-blue));
  flex: 0 0 var(--landing-service-arrow-size);
  height: var(--landing-service-arrow-size);
  transition: transform var(--landing-hover-duration) ease;
  width: var(--landing-service-arrow-size);
}

.landing-block-service-arrow svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.landing-block-service-row:focus-visible {
  outline: 2px solid var(--landing-blue);
  outline-offset: 2px;
}

:where(html:not(.landing-touch)) .landing-block-service-row:hover .landing-block-service-arrow,
.landing-block-service-row.landing-pressed .landing-block-service-arrow {
  transform: translateX(var(--landing-service-arrow-shift));
}

/* Button Style "Underlined Link" (hero, call to action, card and Connection Logos buttons): large text in the title colour
   with a line in the highlight colour under it that grows to its full width under the mouse. */
.landing-button-style-link .landing-block-buttons {
  gap: 12px var(--landing-link-button-gap);
}

.landing-button-style-link .landing-block-button,
.landing-button-style-link .landing-block-button:hover {
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--landing-title-color, var(--landing-text));
  font-size: var(--landing-link-button-size);
  min-height: 0;
  padding: 0 0 6px;
  position: relative;
}

.landing-button-style-link .landing-block-button::after {
  background: var(--landing-highlight-color, var(--landing-blue));
  bottom: 0;
  content: "";
  height: var(--landing-link-button-line);
  left: 0;
  position: absolute;
  transform: scaleX(var(--landing-link-button-line-rest));
  transform-origin: left;
  transition: transform var(--landing-hover-duration) ease;
  width: 100%;
}

.landing-button-style-link .landing-block-button:hover::after,
.landing-button-style-link .landing-block-button:focus-visible::after {
  transform: scaleX(1);
}

/* Card Hover (types with items: cards, steps, logo tiles, service rows): a feature card lifts by itself (its look before the
   choice); "none" keeps a card still, "lift" raises the items with a soft shadow, "glow" lights their edge in the highlight
   colour. Only with a mouse (a touch phone has no hover). */
.landing-item-hover-lift :is(.landing-block-step, .landing-block-logo, .landing-block-service-row),
.landing-item-hover-glow :is(.landing-block-card, .landing-block-step, .landing-block-logo, .landing-block-service-row) {
  border-radius: var(--landing-radius);
  transition: transform var(--landing-hover-duration) ease, box-shadow var(--landing-hover-duration) ease, border-color var(--landing-hover-duration) ease;
}

:where(html:not(.landing-touch)) .landing-item-hover-none .landing-block-card:hover,
.landing-item-hover-none .landing-block-card.landing-pressed {
  border-color: var(--landing-border);
  box-shadow: var(--landing-shadow-hair);
  transform: none;
}

:where(html:not(.landing-touch)) .landing-item-hover-lift :is(.landing-block-step, .landing-block-logo, .landing-block-service-row):hover,
.landing-item-hover-lift :is(.landing-block-step, .landing-block-logo, .landing-block-service-row).landing-pressed {
  box-shadow: var(--landing-card-shadow-hover);
  transform: translateY(var(--landing-card-lift));
}

:where(html:not(.landing-touch)) .landing-item-hover-glow :is(.landing-block-card, .landing-block-step, .landing-block-logo, .landing-block-service-row):hover,
.landing-item-hover-glow :is(.landing-block-card, .landing-block-step, .landing-block-logo, .landing-block-service-row).landing-pressed {
  border-color: var(--landing-highlight-color, var(--landing-blue));
  box-shadow: 0 0 0 1px var(--landing-highlight-color, var(--landing-blue)), 0 0 var(--landing-card-glow-blur) color-mix(in srgb, var(--landing-highlight-color, var(--landing-blue)) var(--landing-card-glow-strength), transparent);
  transform: none;
}

/* Background effects (Effects of every section): the layer fills the section behind its content (the section is its own
   stack, so the layer stays above the section background and below the text and buttons), never takes a click and keeps
   to the rounded corners of a filled section. Dots: a canvas (public-landing/app.js startLandingEffects); soft glows: three
   blurred colour circles drifting slowly (the second one is left out with a Few amount, all larger and stronger with
   Many, slower with Slow). */
.landing-section.landing-effect {
  isolation: isolate;
  position: relative;
}

.landing-effect-layer {
  border-radius: inherit;
  display: block;
  height: 100%;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.landing-effect-glow i {
  aspect-ratio: 1;
  background: var(--landing-effect-color-1);
  border-radius: 50%;
  filter: blur(var(--landing-effect-glow-blur));
  left: 6%;
  opacity: var(--landing-effect-glow-opacity);
  position: absolute;
  top: 8%;
  width: var(--landing-effect-glow-size);
}

.landing-effect-glow i:nth-child(2) {
  background: var(--landing-effect-color-2);
  left: auto;
  right: 6%;
  top: 28%;
}

.landing-effect-glow i:nth-child(3) {
  background: var(--landing-effect-color-3);
  left: 30%;
  top: 50%;
}

.landing-effect-glow[data-landing-effect-amount="few"] i:nth-child(2) {
  display: none;
}

.landing-effect-glow[data-landing-effect-amount="many"] {
  --landing-effect-glow-opacity: var(--landing-effect-glow-opacity-many);
  --landing-effect-glow-size: var(--landing-effect-glow-size-many);
}

.landing-effect-glow[data-landing-effect-speed="slow"] {
  --landing-effect-glow-seconds: var(--landing-effect-glow-seconds-slow);
}

@media (prefers-reduced-motion: no-preference) {
  .landing-effect-glow i {
    animation: landing-glow-drift var(--landing-effect-glow-seconds) ease-in-out infinite alternate;
  }

  .landing-effect-glow i:nth-child(2) {
    animation-delay: calc(var(--landing-effect-glow-seconds) / -3);
    animation-direction: alternate-reverse;
  }

  .landing-effect-glow i:nth-child(3) {
    animation-delay: calc(var(--landing-effect-glow-seconds) / -1.5);
  }
}

@keyframes landing-glow-drift {
  50% {
    transform: translate(12%, 8%) scale(1.12);
  }

  100% {
    transform: translate(-10%, 14%) scale(0.92);
  }
}

/* A moving strip (the logos of a "Moving strip" section, the moving pictures of a hero): two copies of the items in one
   row that slide from right to left without end and stop under the mouse or keyboard focus. Only the row that holds both
   copies moves (by one copy: half its width), so the copies never drift apart. The row is at least twice as wide as the
   strip and each copy takes half of it, so a copy is at least as wide as the strip (few items are spread over it) and
   the loop never shows an empty end. */
.landing-strip {
  display: flex;
  min-width: 0;
  overflow: hidden;
}

.landing-strip-row {
  display: flex;
  flex: 0 0 auto;
  min-width: 200%;
}

.landing-strip .landing-strip-track {
  display: flex;
  flex: 0 0 auto;
  gap: var(--landing-block-gap);
  justify-content: space-around;
  margin: 0;
  min-width: 50%;
  padding: 0 var(--landing-block-gap) 0 0;
}

.landing-strip .landing-block-logo {
  flex: 0 0 var(--landing-block-logo-tile-min);
}

.landing-hero-strip {
  grid-column: 1 / -1;
  order: 2;
}

.landing-hero-strip-picture {
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
}

.landing-hero-strip-picture img {
  aspect-ratio: 16 / 9;
  display: block;
  height: var(--landing-hero-strip-height);
  object-fit: cover;
  width: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .landing-strip .landing-strip-row {
    animation: landing-strip-slide calc(var(--landing-strip-count) * var(--landing-strip-seconds-per-item)) linear infinite;
  }

  .landing-strip:hover .landing-strip-row,
  .landing-strip:focus-within .landing-strip-row {
    animation-play-state: paused;
  }

  /* The items of an "Items one after another" section wait below the screen, then come in one after another. */
  .landing-reveal-items:not(.landing-revealed) [data-landing-item] {
    opacity: 0;
  }

  .landing-reveal-items.landing-revealed:not(.landing-reveal-settled) [data-landing-item] {
    animation: landing-item-in var(--landing-reveal-duration) ease backwards;
    animation-delay: calc(var(--landing-item-index) * var(--landing-item-stagger));
  }
}

@keyframes landing-strip-slide {
  to {
    transform: translateX(-50%);
  }
}

@keyframes landing-item-in {
  from {
    opacity: 0;
    transform: translateY(var(--landing-reveal-distance));
  }
}

/* A logo with a link: its name is the link and the whole tile takes the click. */
.landing-block-logo-link {
  color: inherit;
  text-decoration: none;
}

.landing-block-logo-link::after {
  border-radius: var(--landing-radius);
  content: "";
  inset: 0;
  position: absolute;
}

:where(html:not(.landing-touch)) .landing-block-logo:has(.landing-block-logo-link):hover,
.landing-block-logo:has(.landing-block-logo-link).landing-pressed {
  border-color: var(--landing-card-border-hover);
}

/* Customer quotes: every quote in the same grid cell (the box is as tall as the tallest quote); the shown one fades in. */
.landing-block-quotes {
  display: grid;
  gap: 18px;
  justify-items: center;
  margin-inline: auto;
  max-width: 860px;
  width: 100%;
}

.landing-block-quote-stage {
  display: grid;
  width: 100%;
}

.landing-block-quote {
  display: grid;
  gap: 18px;
  grid-area: 1 / 1;
  justify-items: center;
  margin: 0;
  opacity: 0;
  text-align: center;
  transition: opacity var(--landing-quote-fade-duration) ease, visibility 0s linear var(--landing-quote-fade-duration);
  visibility: hidden;
}

.landing-block-quote-shown {
  opacity: 1;
  transition: opacity var(--landing-quote-fade-duration) ease, visibility 0s;
  visibility: visible;
}

.landing-block-quote blockquote {
  margin: 0;
}

.landing-block-quote blockquote p {
  color: var(--landing-text);
  font-size: var(--landing-quote-text-size);
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
}

.landing-block-quote-person {
  align-items: center;
  display: flex;
  gap: 12px;
  text-align: start;
}

.landing-block-quote-person img {
  border-radius: 50%;
  flex: 0 0 var(--landing-quote-avatar-size);
  height: var(--landing-quote-avatar-size);
  object-fit: cover;
  width: var(--landing-quote-avatar-size);
}

.landing-block-quote-person strong {
  color: var(--landing-text);
  display: block;
  font-size: var(--landing-block-item-text-size);
}

.landing-block-quote-person span span {
  color: var(--landing-muted);
  display: block;
  font-size: var(--landing-block-item-text-size);
}

.landing-block-quote-dots {
  display: flex;
  gap: 4px;
}

/* A dot is small, its button is big enough to tap (the dot is drawn in its middle). */
.landing-block-quote-dot {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-grid;
  height: calc(var(--landing-quote-dot-size) * 3);
  padding: 0;
  place-items: center;
  width: calc(var(--landing-quote-dot-size) * 3);
}

.landing-block-quote-dot::before {
  background: var(--landing-quote-dot-color);
  border-radius: 50%;
  content: "";
  height: var(--landing-quote-dot-size);
  transition: background-color 160ms ease;
  width: var(--landing-quote-dot-size);
}

.landing-block-quote-dot[aria-current="true"]::before {
  background: var(--landing-blue);
}

/* Sections below the header fade and slide in once when they come into view (revealLandingBlocks). */
.landing-reveal {
  opacity: 0;
  transform: translateY(var(--landing-reveal-distance));
  transition: opacity var(--landing-reveal-duration) ease, transform var(--landing-reveal-duration) ease;
}

.landing-reveal.landing-revealed {
  opacity: 1;
  transform: none;
}

/* Less motion asked for: sections show at once, cards do not lift, nothing animates; a moving strip is one still row
   that scrolls sideways by hand (its second copy is not drawn). */
@media (prefers-reduced-motion: reduce) {
  .landing-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-strip {
    overflow-x: auto;
  }

  .landing-strip [data-landing-strip-copy] {
    display: none;
  }

  .landing-block-card,
  .landing-block-card:hover,
  .landing-block-card.landing-pressed,
  .landing-item-hover-lift :is(.landing-block-step, .landing-block-logo, .landing-block-service-row):hover,
  .landing-item-hover-lift :is(.landing-block-step, .landing-block-logo, .landing-block-service-row).landing-pressed,
  .landing-block-service-row:hover .landing-block-service-arrow,
  .landing-block-service-row.landing-pressed .landing-block-service-arrow {
    transform: none;
  }

  .landing-block-card,
  .landing-block-button,
  .landing-block-button::after,
  .landing-block-faq-mark::before,
  .landing-block-faq-mark::after,
  .landing-block-quote,
  .landing-block-quote-dot::before,
  .landing-block-service-arrow,
  .landing-item-hover-lift :is(.landing-block-step, .landing-block-logo, .landing-block-service-row),
  .landing-item-hover-glow :is(.landing-block-card, .landing-block-step, .landing-block-logo, .landing-block-service-row),
  .landing-video-play-icon {
    transition: none;
  }

  /* The play button of a video does not grow under the mouse. */
  .landing-video-play-icon {
    --landing-video-play-grow: 1;
  }
}

@media (max-width: 840px) {
  .landing-topbar {
    padding: 0 16px;
  }

  .landing-page {
    --landing-page-inline-padding: 18px;
  }

  .landing-section,
  .landing-section.media-left,
  .landing-section.media-right {
    grid-template-columns: 1fr;
  }

  .landing-section.media-left .landing-section-copy,
  .landing-section.media-left .landing-visual,
  .landing-section.media-right .landing-section-copy,
  .landing-section.media-right .landing-visual {
    order: 0;
  }

  .landing-section.media-left .landing-visual,
  .landing-section.media-right .landing-visual {
    justify-self: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  :root {
    --landing-zoom: 1;
    --landing-control-font-size: 16px;
    --landing-loading-title-size: 30px;
    --landing-block-logo-tile-min: 150px;
    --landing-block-logo-direction: column;
    --landing-block-logo-align: center;
    --landing-hero-strip-height: 120px;
    --landing-footer-columns-template: 1fr;
  }

  html {
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
  }

  body {
    min-height: 100vh;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
    zoom: 1;
  }

  .landing-topbar {
    box-sizing: border-box;
    gap: 10px;
    padding: 0 14px;
    width: 100%;
  }

  .landing-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .landing-brand-wordmark {
    height: 42px;
    max-width: min(112px, 30vw);
  }

  .landing-nav {
    flex: 0 0 auto;
    gap: 8px;
    min-width: 0;
  }

  .landing-nav-link,
  .landing-primary-link {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 16px;
    height: 34px;
    padding: 0 11px;
  }

  .landing-profile-icon {
    display: none;
  }

  /* Profile menu text keeps its menu sizes (the 16px phone size is for form fields): the name stays 16px, the email
     14px, the rows 15px at finger height (44px); same as the app on the phone. */
  .landing-profile-email {
    font-size: 14px;
  }

  .landing-profile-link,
  .landing-profile-signout {
    font-size: 15px;
    min-height: 44px;
  }

  /* Popups use the app popup sizes on the phone: labels and buttons 15px, the Forgot link 14px, fields stay 16px (iOS
     zooms into smaller fields); fields and buttons 44px tall. */
  .landing-login-modal,
  .global-profile-modal {
    --landing-control-height: 44px;
  }

  .landing-login-form label,
  .landing-company-create-form label,
  .global-profile-form label,
  .landing-button,
  .landing-button-secondary,
  .global-profile-modal .button {
    font-size: 15px;
  }

  .global-profile-modal .text-button {
    font-size: 14px;
  }

  .landing-page {
    --landing-page-inline-padding: 16px;
    padding: calc(var(--landing-topbar-height) + var(--landing-page-top-space)) var(--landing-page-inline-padding) 28px;
    width: 100%;
  }

  .landing-section,
  .landing-section.media-left,
  .landing-section.media-right {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .landing-section-title {
    font-size: clamp(28px, 9vw, 40px);
    overflow-wrap: anywhere;
  }

  .landing-section-text {
    font-size: 16px;
  }

  .landing-login-modal {
    max-height: calc(100dvh - 32px);
    overflow: auto;
    width: min(360px, calc(100vw - 48px));
  }

  .landing-login-form input,
  input[data-landing-country-picker] {
    font-size: 16px;
  }

  /* A section the Admin Portal shows only on the web is not drawn on the phone (this touch rule is the phone here). */
  .landing-section.landing-show-web {
    display: none;
  }

  /* The key points of a hero are stacked, with the thin line between two of them across. */
  .landing-hero-points {
    flex-direction: column;
  }

  .landing-hero-point,
  .landing-hero-point:first-child {
    border-inline-start: 0;
    padding-inline: 0;
  }

  .landing-hero-point + .landing-hero-point {
    border-top: 1px solid var(--landing-border);
    padding-top: 14px;
  }

  /* The last section shown on the phone, full width with a background colour, touches the footer. */
  .landing-sections:has(> :nth-last-child(1 of :not(.landing-show-web)).landing-width-full.landing-section-filled) {
    margin-bottom: 0;
  }
}

/* A full width section reaches both edges of the page (on the web and the phone): its content stays as wide as a page width
   section. A section with a background colour: no top line; page width = a rounded box with space inside. */
.landing-section.landing-width-full {
  margin-inline: calc(var(--landing-page-inline-padding) * -1);
  max-width: none;
  padding-inline: max(var(--landing-page-inline-padding), calc((100% + 2 * var(--landing-page-inline-padding) - var(--landing-section-max-width)) / 2));
  width: calc(100% + 2 * var(--landing-page-inline-padding));
}

.landing-section.landing-section-filled {
  background: var(--landing-section-bg);
  border-top: 0;
  padding-block: var(--landing-section-fill-padding-block);
}

.landing-section.landing-section-filled:not(.landing-width-full) {
  border-radius: var(--landing-popup-radius);
  padding-inline: var(--landing-section-fill-padding-inline);
}

/* A full width section with a background colour first under the top bar touches it (the header place moves up by the
   space above it); a header place with only one shown section on the page touches the footer too. */
.landing-hero.landing-width-full.landing-section-filled {
  margin-top: calc(var(--landing-page-top-space) * -1);
}

.landing-hero.landing-width-full.landing-section-filled ~ .landing-sections:empty {
  margin-block: 0;
}

/* A section the Admin Portal shows only on the phone is not drawn on the web (every screen that is not the touch phone). */
@media not all and (hover: none) and (pointer: coarse) {
  .landing-section.landing-show-phone {
    display: none;
  }

  /* The last section shown on the web, full width with a background colour, touches the footer. */
  .landing-sections:has(> :nth-last-child(1 of :not(.landing-show-phone)).landing-width-full.landing-section-filled) {
    margin-bottom: 0;
  }
}

/* 9.13-7: the terms of Pryzenta in Create Company (only when documents are published for the country). */
.landing-company-terms { max-height: 220px; overflow-y: auto; border: 1px solid var(--landing-border); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.landing-company-terms h3 { font-size: 15px; margin: 0 0 6px; }
.landing-company-terms h4 { font-size: 14px; margin: 10px 0 4px; }
.landing-company-terms p { margin: 0; white-space: pre-line; }
.landing-company-terms-accept { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
