/* ============================================================
 * Public site (landing + partners): "logistics label" direction.
 * Concrete floor, thermal paper, the marine and yellow of the logo.
 * The marine fills strong bands; the yellow marks what matters
 * (primary action, AI marks, active step) and never fills a surface.
 * Geist, the app font, carries titles and text alike.
 * ============================================================ */

.landing-page {
  --lp-concrete: oklch(0.955 0.006 255);
  --lp-paper: oklch(0.993 0.002 255);
  --lp-ink: oklch(0.22 0.045 256);
  --lp-ink-muted: oklch(0.43 0.03 256);
  --lp-rule: oklch(0.22 0.045 256 / 0.14);
  --lp-rule-strong: oklch(0.22 0.045 256 / 0.32);
  --lp-marine: oklch(0.437 0.142 254.6);
  --lp-marine-deep: oklch(0.28 0.095 257);
  --lp-on-marine: oklch(0.97 0.01 255);
  --lp-on-marine-muted: oklch(0.83 0.035 255);
  --lp-rule-on-marine: oklch(1 0 0 / 0.14);
  --lp-signal: oklch(0.85 0.174 87.8);
  --lp-mark: oklch(0.85 0.174 87.8 / 0.6);
  --lp-shadow-paper: 0 1px 1px oklch(0.22 0.045 256 / 0.08),
    0 18px 30px -16px oklch(0.28 0.095 257 / 0.38);

  --lp-font-text: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --lp-nav-h: 68px;
  --lp-gutter: 24px;
  --lp-section-pad: clamp(72px, 9vw, 128px);

  font-family: var(--lp-font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--lp-ink);
  background: var(--lp-concrete);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.landing-page-body {
  margin: 0;
  background: var(--lp-concrete);
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.landing-page) { scroll-behavior: smooth; }
}

.landing-page section[id] { scroll-margin-top: calc(var(--lp-nav-h) + 8px); }

.landing-page :focus-visible {
  outline: 2px solid var(--lp-marine);
  outline-offset: 3px;
}
.landing-section-dark :focus-visible,
.landing-band :focus-visible,
.landing-footer :focus-visible { outline-color: var(--lp-signal); }

/* Prose links underline; every styled link below sets its own states */
.landing-page p a,
.landing-faq-answer a {
  color: var(--lp-marine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}
.landing-container-narrow { max-width: 880px; }

/* ============================================================
 * Type
 * ============================================================ */
.landing-hero-title,
.landing-section-title,
.landing-split-title,
.landing-band-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: inherit;
  text-wrap: balance;
  margin: 0;
}
.landing-hero-title {
  font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.landing-section-title {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1.05;
}
.landing-split-title {
  font-size: clamp(1.625rem, 1.25rem + 1.1vw, 2.125rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.landing-section-lead,
.landing-split-lead {
  color: var(--lp-ink-muted);
  max-width: 46ch;
  margin: 0;
}
.landing-kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lp-marine);
  margin: 0 0 10px;
}
.landing-ref {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border: 1px solid var(--lp-rule-strong);
  border-radius: 3px;
  background: var(--lp-paper);
}

/* ============================================================
 * Buttons and styled links
 * ============================================================ */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--app-radius-sm);
  font: 600 0.9375rem/1.2 var(--lp-font-text);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.landing-btn:hover,
.landing-btn:focus,
.landing-btn:active { text-decoration: none; }
.landing-btn:active { transform: translateY(1px); }
.landing-btn .ti { font-size: 1.125em; }
.landing-btn-lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
}
.landing-btn-block { width: 100%; }

/* Same colours as the app buttons (app.components.css): blue gradient for the
   primary action, near-black for the second one, white on marine bands */
.landing-btn-primary {
  background: linear-gradient(155deg, var(--app-primary-strong), #178de5);
  color: #fff;
}
.landing-btn-primary:hover,
.landing-btn-primary:focus-visible {
  background: linear-gradient(155deg, #004ebd, var(--app-primary-strong));
  color: #fff;
}
.landing-btn-primary:active { background: linear-gradient(155deg, #0043a5, #0052c2); }

.landing-btn-dark,
.landing-btn-pill { background: var(--app-text); color: #fff; }
.landing-btn-dark:hover,
.landing-btn-pill:hover,
.landing-btn-dark:focus-visible { background: #000; color: #fff; }

.landing-btn-on-accent { background: #fff; color: var(--app-primary-strong); }
.landing-btn-on-accent:hover,
.landing-btn-on-accent:focus-visible { background: var(--app-primary-soft); color: var(--app-primary-strong); }

.landing-link-arrow {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--lp-marine);
  text-decoration: none;
  border-bottom: 2px solid var(--lp-signal);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.landing-link-arrow:hover,
.landing-link-arrow:focus,
.landing-link-arrow:active {
  color: var(--lp-marine);
  text-decoration: none;
  border-bottom-color: var(--lp-marine);
}
.landing-section-dark .landing-link-arrow,
.landing-section-dark .landing-link-arrow:hover { color: var(--lp-on-marine); }
.landing-section-dark .landing-link-arrow:hover { border-bottom-color: var(--lp-on-marine); }

/* ============================================================
 * Nav
 * ============================================================ */
.landing-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: oklch(0.955 0.006 255 / 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.landing-nav.is-scrolled { border-bottom-color: var(--lp-rule); }
.landing-nav-inner {
  height: var(--lp-nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.landing-nav-brand { display: inline-flex; flex: 0 0 auto; }
.landing-nav-brand img { height: 30px; width: auto; display: block; }
.landing-nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.landing-nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.landing-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--lp-ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.landing-nav-link:hover,
.landing-nav-link:focus,
.landing-nav-link:active {
  color: var(--lp-ink);
  background: oklch(0.22 0.045 256 / 0.07);
  text-decoration: none;
}
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.landing-locale-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--lp-rule);
  border-radius: 4px;
  background: transparent;
  color: var(--lp-ink);
  font: 600 0.8125rem/1 var(--lp-font-text);
  cursor: pointer;
}
.landing-locale-toggle:hover { background: oklch(0.22 0.045 256 / 0.07); }
.landing-nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lp-rule);
  border-radius: 6px;
  background: var(--lp-paper);
  color: var(--lp-ink);
  cursor: pointer;
}
.landing-nav-toggle .ti { font-size: 22px; }

@media (max-width: 991px) {
  .landing-nav-toggle { display: inline-flex; }
  .landing-nav-menu {
    display: none;
    position: absolute;
    top: var(--lp-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px var(--lp-gutter) 24px;
    background: var(--lp-paper);
    border-bottom: 1px solid var(--lp-rule);
  }
  .landing-nav-menu.is-open { display: flex; }
  .landing-nav-list { flex-direction: column; }
  .landing-nav-actions { flex-wrap: wrap; }
}

/* ============================================================
 * Sections
 * ============================================================ */
.landing-section { padding: var(--lp-section-pad) 0; }
.landing-section-paper,
.landing-section-soft { background: var(--lp-paper); }
.landing-section-dark {
  background: var(--lp-marine-deep);
  color: var(--lp-on-marine);
}
.landing-section-dark .landing-section-lead { color: var(--lp-on-marine-muted); }

.landing-section-header {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.landing-section-header > * + * { margin-top: 16px; }

/* First section of a page without the hero (partners) clears the fixed nav */
.landing-page-hero { padding-top: calc(var(--lp-nav-h) + clamp(48px, 7vw, 96px)); }
.landing-page-hero .landing-hero-title { max-width: 16ch; }
.landing-page-hero .landing-section-lead { font-size: 1.1875rem; max-width: 52ch; }

/* ============================================================
 * Hero: copy on the left, the order flow played on paper on the right
 * ============================================================ */
.landing-hero {
  position: relative;
  padding: calc(var(--lp-nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 8vw, 112px);
  border-bottom: 6px solid var(--lp-signal);
}
.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.landing-hero-title { margin-bottom: 36px; }
.landing-hero-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 480px;
}
.landing-hero-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--lp-rule);
  font-size: 0.9375rem;
  color: var(--lp-ink-muted);
  transition: opacity 0.3s ease;
}
.landing-hero-step:last-child { border-bottom: 1px solid var(--lp-rule); }
.landing-hero-step strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--lp-ink);
}
.landing-hero-step-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border: 1.5px solid var(--lp-ink);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--lp-ink);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.landing-hero-step.is-active .landing-hero-step-index {
  background: var(--lp-signal);
  border-color: var(--lp-signal);
}
.landing-hero-steps:has(.is-active) .landing-hero-step:not(.is-active) { opacity: 0.5; }
.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* The stage: three paper documents laid on the floor */
.landing-stage {
  position: relative;
  height: clamp(520px, 44vw, 640px);
}
.landing-doc {
  position: absolute;
  background: var(--lp-paper);
  border: 1px solid var(--lp-rule);
  border-radius: 4px;
  box-shadow: var(--lp-shadow-paper);
  padding: 18px 20px;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--lp-ink);
}
.landing-doc p { margin: 0 0 8px; }

.landing-doc-email {
  top: 0;
  left: 0;
  width: 70%;
  rotate: -1.2deg;
}
.landing-email-head {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lp-rule);
}
.landing-email-head div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
}
.landing-email-head dt { font-weight: 400; color: var(--lp-ink-muted); }
.landing-email-head dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-email-attachment {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid var(--lp-rule);
  border-radius: 4px;
  background: var(--lp-concrete);
  font-size: 0.75rem;
  color: var(--lp-ink-muted);
}
.landing-mark {
  color: inherit;
  padding: 0 1px;
  background: linear-gradient(var(--lp-mark), var(--lp-mark)) no-repeat 0 88% / 100% 0.62em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.landing-doc-order {
  top: 41%;
  right: 0;
  width: 56%;
  rotate: 1.4deg;
  z-index: 2;
}
.landing-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.landing-order-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.landing-order-ai {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: oklch(0.437 0.142 254.6 / 0.09);
  color: var(--lp-marine);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.landing-order-partner { color: var(--lp-ink-muted); }
.landing-order-lines {
  width: 100%;
  border-collapse: collapse;
}
.landing-order-lines td {
  padding: 6px 0;
  border-top: 1px dashed var(--lp-rule-strong);
  vertical-align: baseline;
}
.landing-order-qty {
  width: 34px;
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.landing-order-unit { width: 70px; color: var(--lp-ink-muted); }
.landing-doc .landing-order-mission {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1.5px solid var(--lp-ink);
  font-weight: 600;
  color: var(--lp-marine);
}

/* The pallet label: thermal paper, clipped as it feeds out of the printer */
.landing-doc-label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  rotate: -2.2deg;
  z-index: 3;
  filter: drop-shadow(0 16px 18px oklch(0.28 0.095 257 / 0.3)) drop-shadow(0 1px 1px oklch(0.22 0.045 256 / 0.15));
}
.landing-label {
  background: oklch(0.998 0 0);
  border-radius: 3px;
  padding: 14px 16px 12px;
  color: oklch(0.18 0.01 256);
}
.landing-label-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}
/* Thermal printers print black only */
.landing-label-top img { display: block; height: 14px; width: auto; filter: brightness(0); }
.landing-label-ref {
  margin: 6px 0 8px;
  font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.landing-label-barcode {
  display: block;
  width: 100%;
  height: 52px;
}
.landing-label-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 2px solid currentColor;
}
.landing-label-fields dt {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.45 0.01 256);
}
.landing-label-fields dd {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Timeline (landing_hero_controller): hidden states snap without transition,
   shown states carry the transition, so a loop restart never replays backwards */
.landing-stage.is-leaving { opacity: 0; transition: opacity 0.45s ease; }

.landing-stage.is-animated .landing-doc-email { opacity: 0; translate: 0 14px; }
.landing-stage.has-email .landing-doc-email {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.5s ease, translate 0.6s var(--lp-ease);
}

.landing-stage.is-animated .landing-mark { background-size: 0% 0.62em; }
.landing-stage.has-marks .landing-mark {
  background-size: 100% 0.62em;
  transition: background-size 0.45s var(--lp-ease) calc(var(--i) * 320ms);
}

.landing-stage.is-animated .landing-doc-order { opacity: 0; translate: 0 18px; }
.landing-stage.has-order .landing-doc-order {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.45s ease, translate 0.55s var(--lp-ease);
}
.landing-stage.is-animated .landing-order-row,
.landing-stage.is-animated .landing-order-ai,
.landing-stage.is-animated .landing-order-mission { opacity: 0; }
.landing-stage.has-order .landing-order-row {
  opacity: 1;
  transition: opacity 0.3s ease calc(300ms + var(--i) * 170ms);
}
.landing-stage.has-order .landing-order-ai { opacity: 1; transition: opacity 0.3s ease 0.9s; }
.landing-stage.has-order .landing-order-mission { opacity: 1; transition: opacity 0.35s ease 1.3s; }

.landing-stage.is-animated .landing-doc-label { translate: 0 -12px; }
.landing-stage.is-animated .landing-label { clip-path: inset(0 0 100% 0); }
.landing-stage.has-label .landing-doc-label { translate: 0 0; transition: translate 1.2s linear; }
.landing-stage.has-label .landing-label {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s steps(14, end);
}

@media (max-width: 991px) {
  .landing-hero-grid { grid-template-columns: 1fr; }
  .landing-stage { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .landing-stage {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .landing-doc,
  .landing-doc-label { position: relative; inset: auto; }
  .landing-doc-email { width: 94%; }
  .landing-doc-order { width: 86%; margin: 14px 0 0 auto; }
  .landing-doc-label { width: 82%; margin: 14px 0 0 2%; }
}

/* ============================================================
 * Transipal AI (marine band): film + accordion driven by the film
 * ============================================================ */
.landing-ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.landing-ai-video {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--lp-rule-on-marine);
  background: var(--lp-ink);
}
.landing-ai-video video { aspect-ratio: 4 / 3; object-fit: cover; }
.landing-video-player {
  display: block;
  width: 100%;
  height: auto;
  background: var(--lp-ink);
}

.landing-accordion-item { border-top: 1px solid var(--lp-rule-on-marine); }
.landing-accordion-item:last-child { border-bottom: 1px solid var(--lp-rule-on-marine); }
.landing-accordion-title { margin: 0; }
.landing-accordion-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--lp-on-marine-muted);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.landing-accordion-toggle:hover,
.landing-accordion-item.is-open .landing-accordion-toggle { color: var(--lp-on-marine); }
.landing-accordion-index { font-size: 0.9375rem; color: var(--lp-on-marine-muted); }
.landing-accordion-item.is-open .landing-accordion-index { color: var(--lp-signal); }
.landing-accordion-chevron { font-size: 18px; transition: rotate 0.25s ease; }
.landing-accordion-item.is-open .landing-accordion-chevron { rotate: 180deg; }
/* A closed panel leaves the tab order once it has finished collapsing */
.landing-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s var(--lp-ease), visibility 0s linear 0.3s;
}
.landing-accordion-item.is-open .landing-accordion-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.3s var(--lp-ease), visibility 0s;
}
.landing-accordion-body {
  min-height: 0;
  overflow: hidden;
  padding-left: 40px;
  font-size: 0.96875rem;
  color: var(--lp-on-marine-muted);
}
.landing-accordion-body > :first-child { margin-top: 0; }
.landing-accordion-body > :last-child { margin-bottom: 22px; }
.landing-section-dark .landing-checklist li { color: var(--lp-on-marine); }
.landing-section-dark .landing-checklist .ti { color: var(--lp-signal); }

@media (max-width: 900px) {
  .landing-ai-layout { grid-template-columns: 1fr; }
}

/* ============================================================
 * How it works: four objects on one line, each with its reference
 * ============================================================ */
.landing-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.landing-flow-step {
  position: relative;
  padding: 22px 28px 0 0;
  border-top: 2px solid var(--lp-ink);
}
/* Arrowhead where the line enters the next object */
.landing-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 14px;
  border: 6px solid transparent;
  border-left: 9px solid var(--lp-ink);
}
.landing-flow-index {
  display: block;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lp-marine);
}
.landing-flow-title {
  margin: 14px 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.landing-flow-desc {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  color: var(--lp-ink-muted);
}

@media (max-width: 900px) {
  .landing-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .landing-flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .landing-flow { grid-template-columns: 1fr; row-gap: 32px; }
  .landing-flow-step::after { display: none; }
}

/* ============================================================
 * Platform: mobile on the floor, web in the office
 * ============================================================ */
.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.landing-feature-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.landing-feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--lp-rule);
}
.landing-feature-list .ti { font-size: 22px; color: var(--lp-marine); }
.landing-feature-list h4 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--lp-ink);
}
.landing-feature-list p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lp-ink-muted);
}
.landing-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.landing-split-visual {
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vw, 56px) 24px;
  background: var(--lp-concrete);
  border-radius: 8px;
}
.landing-mobile-frame {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 450 / 900;
  border: 10px solid var(--lp-ink);
  border-radius: 38px;
  background: var(--lp-ink);
  overflow: hidden;
  box-shadow: var(--lp-shadow-paper);
}
.landing-mobile-frame .landing-slide,
.landing-mobile-frame .landing-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-mobile-frame .landing-slide { opacity: 0; transition: opacity 0.6s ease; }
.landing-mobile-frame .landing-slide.active { opacity: 1; }

.landing-office { margin-top: clamp(72px, 9vw, 120px); }
.landing-office-intro { max-width: 720px; }
.landing-web-frame {
  margin: 36px 0 44px;
  border: 1px solid var(--lp-rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--lp-shadow-paper);
  background: var(--lp-paper);
}
.landing-web-frame img { display: block; width: 100%; height: auto; }
.landing-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 32px;
  margin: 0;
}
.landing-specs div {
  padding: 14px 0 22px;
  border-top: 2px solid var(--lp-ink);
}
.landing-specs dt {
  font-size: 1.0625rem;
  font-weight: 600;
}
.landing-specs dd {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  color: var(--lp-ink-muted);
}

@media (max-width: 900px) {
  .landing-split { grid-template-columns: 1fr; }
}

/* ============================================================
 * Testimonial
 * ============================================================ */
.landing-testimonial { margin: 0; }
.landing-testimonial-quote { margin: 0; padding: 0; border: 0; }
.landing-testimonial-quote p {
  position: relative;
  max-width: 22em;
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.landing-testimonial-quote p::before {
  content: "\201C";
  position: absolute;
  left: -0.55em;
  top: -0.06em;
  color: var(--lp-signal);
}
.landing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: 0.9375rem;
  color: var(--lp-ink-muted);
}
.landing-testimonial-author strong { display: block; font-size: 1rem; color: var(--lp-ink); }
.landing-testimonial-avatar,
.landing-testimonial-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 1340px) {
  .landing-testimonial-quote p::before { position: static; margin-right: 0.08em; }
}

/* ============================================================
 * Ecosystem: two doors into Transipal
 * ============================================================ */
.landing-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
}
.landing-door {
  padding-top: 22px;
  border-top: 4px solid var(--lp-ink);
}
.landing-door p { color: var(--lp-ink-muted); margin: 0; }
.landing-door-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.landing-door-title .ti { font-size: 26px; color: var(--lp-marine); }

@media (max-width: 900px) {
  .landing-doors { grid-template-columns: 1fr; }
}

/* ============================================================
 * Checklists (landing + partners)
 * ============================================================ */
.landing-checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.landing-checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 0.9375rem;
}
.landing-checklist .ti { margin-top: 3px; color: var(--lp-marine); }

/* ============================================================
 * Pricing: calculator on the left, the estimate prints as a receipt
 * ============================================================ */
.landing-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.landing-pricing-calc {
  padding: clamp(24px, 3vw, 36px);
  background: var(--lp-paper);
  border: 1px solid var(--lp-rule);
  border-radius: 6px;
}
.landing-card-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--lp-ink);
}
.landing-range-row { padding: 18px 0; }
.landing-range-row + .landing-range-row { border-top: 1px solid var(--lp-rule); }
.landing-range-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-range-head label { flex: 1; font-size: 0.9375rem; font-weight: 600; }
.landing-range-price {
  font-size: 0.8125rem;
  color: var(--lp-ink-muted);
  font-variant-numeric: tabular-nums;
}
.landing-range-input {
  width: 112px;
  padding: 6px 10px;
  border: 1px solid var(--lp-rule-strong);
  border-radius: 4px;
  background: var(--lp-concrete);
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--lp-ink);
}
.landing-range {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--lp-marine);
}
.landing-pricing-advanced { border-top: 1px solid var(--lp-rule); padding-top: 16px; }
.landing-pricing-advanced summary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lp-marine);
  cursor: pointer;
}

.landing-receipt {
  position: sticky;
  top: calc(var(--lp-nav-h) + 24px);
  filter: drop-shadow(0 18px 22px oklch(0.28 0.095 257 / 0.22)) drop-shadow(0 1px 1px oklch(0.22 0.045 256 / 0.12));
}
.landing-receipt-paper {
  --tooth: 9px;
  padding: 28px 26px calc(28px + var(--tooth));
  background: oklch(0.998 0 0);
  font-variant-numeric: tabular-nums;
  /* Torn edge: a row of teeth cut along the bottom */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
}
.landing-receipt-title {
  margin: 0 0 6px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed var(--lp-ink);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.landing-receipt-lines { margin: 0; }
.landing-receipt-lines div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--lp-rule-strong);
}
.landing-receipt-lines dt { font-size: 0.875rem; font-weight: 400; }
.landing-receipt-lines dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.landing-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0 4px;
}
.landing-receipt-total span { font-size: 0.875rem; font-weight: 600; }
.landing-receipt-total strong {
  font-size: clamp(1.875rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.landing-receipt-per {
  margin: 0 0 22px;
  font-size: 0.8125rem;
  color: var(--lp-ink-muted);
  text-align: right;
}

@media (max-width: 900px) {
  .landing-pricing-grid { grid-template-columns: 1fr; }
  .landing-receipt { position: static; }
}

/* ============================================================
 * Partner program band
 * ============================================================ */
.landing-band {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--lp-marine);
  color: var(--lp-on-marine);
}
.landing-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
}
.landing-band-title { font-size: clamp(1.625rem, 1.25rem + 1.1vw, 2.125rem); line-height: 1.1; }
.landing-band p { margin: 10px 0 0; max-width: 60ch; color: var(--lp-on-marine-muted); }

/* ============================================================
 * FAQ and demo form: title on the left, content on the right
 * ============================================================ */
.landing-aside-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: start;
}
.landing-aside-header {
  position: sticky;
  top: calc(var(--lp-nav-h) + 32px);
}
.landing-aside-header .landing-section-lead { margin-top: 16px; }

.landing-faq-item { border-top: 1px solid var(--lp-rule); }
.landing-faq-item:last-child { border-bottom: 1px solid var(--lp-rule); }
.landing-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.landing-faq-question::-webkit-details-marker { display: none; }
.landing-faq-question .ti {
  flex: 0 0 auto;
  font-size: 20px;
  color: var(--lp-marine);
  transition: rotate 0.2s ease;
}
.landing-faq-item[open] .landing-faq-question .ti { rotate: 45deg; }
.landing-faq-answer {
  padding: 0 40px 22px 0;
  color: var(--lp-ink-muted);
  line-height: 1.6;
}

.landing-form-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--lp-paper);
  border: 1px solid var(--lp-rule);
  border-radius: 6px;
}
.landing-form-card .form-label { font-size: 0.875rem; font-weight: 600; color: var(--lp-ink); }
.landing-form-card .form-control,
.landing-form-card .form-select {
  min-height: 44px;
  border-radius: 4px;
  border-color: var(--lp-rule-strong);
  background-color: oklch(0.975 0.004 255);
  color: var(--lp-ink);
  font-size: 1rem;
}
.landing-form-card .form-control:focus,
.landing-form-card .form-select:focus {
  border-color: var(--lp-marine);
  box-shadow: 0 0 0 3px oklch(0.437 0.142 254.6 / 0.2);
}
.landing-form-card .form-check-input:checked {
  background-color: var(--lp-marine);
  border-color: var(--lp-marine);
}

@media (max-width: 900px) {
  .landing-aside-layout { grid-template-columns: 1fr; }
  .landing-aside-header { position: static; }
}

/* ============================================================
 * Partners page cards
 * ============================================================ */
.landing-grid { display: grid; gap: 24px; }
.landing-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-card {
  padding: 28px;
  background: var(--lp-paper);
  border: 1px solid var(--lp-rule);
  border-radius: 6px;
}
.landing-section-paper .landing-card,
.landing-section-soft .landing-card { background: var(--lp-concrete); border-color: transparent; }
.landing-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.landing-card-head .landing-card-title { margin: 0; }
.landing-card-icon { display: inline-flex; color: var(--lp-marine); }
.landing-card-icon .ti { font-size: 26px; }
.landing-card-text { margin: 0 0 8px; font-size: 0.9375rem; color: var(--lp-ink-muted); }
.landing-card-text strong { color: var(--lp-ink); }

@media (max-width: 900px) {
  .landing-grid-2,
  .landing-grid-3 { grid-template-columns: 1fr; }
}

/* ============================================================
 * Presentation film dialog
 * ============================================================ */
.landing-film {
  width: min(1100px, 92vw);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--lp-ink);
  overflow: visible;
}
.landing-film::backdrop {
  background: oklch(0.2 0.05 256 / 0.82);
  backdrop-filter: blur(4px);
}
.landing-film .landing-video-player { border-radius: 8px; }
.landing-film-close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-size: 20px;
  cursor: pointer;
}

/* ============================================================
 * Footer
 * ============================================================ */
.landing-footer {
  padding: 48px 0;
  background: var(--lp-marine-deep);
  color: var(--lp-on-marine-muted);
  font-size: 0.9375rem;
}
.landing-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  align-items: center;
}
.landing-footer-brand img { display: block; height: 28px; width: auto; }
.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.landing-footer-links a {
  color: var(--lp-on-marine);
  text-decoration: none;
}
.landing-footer-links a:hover,
.landing-footer-links a:focus,
.landing-footer-links a:active {
  color: var(--lp-signal);
  text-decoration: none;
}
.landing-footer-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--lp-rule-on-marine);
  font-size: 0.8125rem;
}
.landing-footer-copyright a { color: inherit; text-decoration: none; }

@media (max-width: 720px) {
  .landing-footer-inner { grid-template-columns: 1fr; }
  .landing-footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .landing-page { --lp-gutter: 16px; }
  .landing-btn { white-space: normal; text-align: center; }
  .landing-hero-actions .landing-btn,
  .landing-band .landing-btn { width: 100%; }
  .landing-range-head { flex-wrap: wrap; }
  .landing-range-head label { flex-basis: 100%; }
  .landing-range-input { margin-left: auto; }
}
