@font-face {
  font-family: Lausanne;
  src: url("/assets/lausanne.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* One mobile-first scale for every section and component. */
:root {
  --ink: #252525;
  --muted: #565352;
  --subtle: #646464;
  --surface: #f3f2f0;
  --line: rgba(33, 33, 33, 0.12);
  --accent: #009049;
  --action: #00843d;
  --action-hover: #006f33;
  --accent-soft: #e6f3eb;
  --accent-ink: #00572a;
  --deep-green: #004d35;
  --sky: #89cdf1;
  --sky-surface: color-mix(in srgb, var(--sky) 40%, #fff);
  --focus: #007a3e;
  --font-body: 16px;
  --font-h1: 40px;
  --font-h2: 32px;
  --font-h3: 22px;
  --gutter: 16px;
  --section-space: 64px;
  --grid-gap: 24px;
  --card-padding: 24px;
  --radius: 24px;
  --radius-photo: var(--radius);
  --radius-control: 12px;
  --header-height: 62px;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    400 var(--font-body)/1.5 Lausanne,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
  font-weight: 400;
}
h1 {
  font-size: var(--font-h1);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--deep-green);
}
h2 {
  font-size: var(--font-h2);
  line-height: 1.125;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 {
  font-size: var(--font-h3);
  line-height: 1.27;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 20px;
  line-height: 1.3;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: 100%;
  max-width: var(--max-width);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section {
  margin-top: var(--section-space);
}
.muted {
  color: var(--muted);
}
h2 .muted {
  color: var(--deep-green);
}
.eyebrow {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.045em;
  color: var(--subtle);
}
.section-intro {
  margin-top: 20px;
  max-width: 720px;
}
.terms-note {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 740px;
  color: var(--subtle);
}
.image-note {
  font-size: 12px;
  margin-top: 16px;
  color: var(--subtle);
}
.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: 14px;
  z-index: 100;
}
.skip:focus {
  top: 8px;
}

/* Navigation: one sticky bar, thumb-sized controls. */
.header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  width: var(--logo-width, 104px);
  height: auto;
}
.desktop-nav {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 6px;
  min-height: 48px;
  padding: 12px 20px;
  line-height: 24px;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.button.dark {
  background: var(--ink);
  color: #fff;
}
.button.dark:hover {
  background: #383838;
}
.button.green {
  background: var(--action);
  color: #fff;
}
.button.green:hover {
  background: var(--action-hover);
}
@media (hover: hover) {
  .button:hover {
    box-shadow: 0 4px 12px #004d3514;
  }
}
.button:active {
  box-shadow: none;
}
.button.large {
  min-height: 52px;
  padding: 14px 20px;
}
.nav-cta {
  margin-left: auto;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
  white-space: nowrap;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 1px;
  background: var(--ink);
}
.mobile-nav {
  position: absolute;
  top: var(--header-height);
  inset-inline: 0;
  padding: 8px var(--gutter) 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - var(--header-height));
  overflow: auto;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.mobile-nav a:last-child {
  border: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.45;
  max-width: 720px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 24px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* Shared onboarding pattern for both audiences. */
.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  gap: 32px;
}
.onboarding-steps li {
  min-width: 0;
}
.onboarding-step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: var(--kuenta-icon-surface, #ede9e1);
}
.onboarding-step-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(88%) saturate(1021%)
    hue-rotate(111deg) brightness(86%) contrast(103%);
}
.onboarding-steps h3 {
  font-size: 20px;
  line-height: 24px;
  text-wrap: balance;
}
.onboarding-steps p {
  margin: 12px 0 0;
  max-width: 420px;
  color: #454545;
  font-size: 16px;
  line-height: 24px;
}
/* Shared cards. */
.product-grid,
.tools-grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 32px;
}

/* Kuenta product photography and readable feature examples. */
.tools-grid.feature-tools {
  align-items: start;
  grid-template-columns: 1fr;
  gap: 40px;
}
.feature-tool {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}
.feature-tool > h3 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.tool-preview {
  height: 420px;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 24px 32px 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}
.tool-device {
  width: min(100%, 300px);
  height: auto;
  max-width: none;
}
.feature-description {
  margin-top: 20px;
  color: #bfbfbf;
}
@media (min-width: 1100px) {
  .tools-grid.feature-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .feature-description {
    min-height: 48px;
  }
}
@media (max-width: 639px) {
  .tool-preview {
    padding-inline: 24px;
  }
}

footer {
  background: var(--ink);
  color: #fff;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 40px 28px;
}
.footer-top img {
  width: var(--logo-width, 96px);
  height: auto;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
}
.footer-top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.footer-bottom {
  padding-block: 24px 32px;
  border-top: 1px solid #ffffff22;
  display: grid;
  gap: 12px;
}
.footer-bottom p {
  color: #aaa;
  font-size: 12px;
  line-height: 18px;
}

/* Native dialog preserves focus, keyboard access, and mobile form controls. */
dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(
    100dvh - max(24px, env(safe-area-inset-top)) -
      max(24px, env(safe-area-inset-bottom))
  );
  padding: 40px 24px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
dialog::backdrop {
  background: #0007;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-block: 16px;
}
#form-title:focus {
  outline: none;
}
.close-dialog {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.close-dialog:focus-visible {
  outline-width: 2px;
  outline-offset: 2px;
}
.application-dialog {
  padding: 0;
  overflow: hidden;
}
.application-dialog[open] {
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
}
.application-dialog .close-dialog {
  position: static;
  grid-row: 1;
  justify-self: end;
  margin: 8px 12px 4px;
}
.dialog-content {
  min-height: 0;
  grid-row: 2;
  padding: 0 24px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #aaa;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.preview-note {
  font-size: 13px;
  line-height: 20px;
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body:has(dialog[open]) {
  overflow: hidden;
}

/* Tablet: widen the rhythm without reordering the story. */
@media (min-width: 640px) {
  :root {
    --gutter: 32px;
    --section-space: 80px;
    --font-h1: 52px;
    --font-h2: 36px;
  }
  .split-hero {
    padding-top: 56px;
  }
  .hero-photo {
    height: 360px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }
  .support-photo {
    aspect-ratio: 3 / 2;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-top nav {
    flex-direction: row;
    gap: 24px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
  dialog {
    padding: 40px;
  }
  .application-dialog {
    padding: 0;
  }
  .dialog-content {
    padding-inline: 40px;
    padding-bottom: 40px;
  }
}

/* Desktop: the original broad Ramp-style compositions. */
@media (min-width: 1100px) {
  :root {
    --gutter: 48px;
    --section-space: 112px;
    --font-h1: 64px;
    --font-h2: 40px;
    --font-h3: 24px;
    --card-padding: 32px;
  }
  .nav {
    gap: 28px;
  }
  :root {
    --logo-width: 104px;
  }
  .desktop-nav {
    display: flex;
    flex: 1;
    gap: 24px;
  }
  .desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    white-space: nowrap;
  }
  .desktop-nav a:hover {
    color: var(--focus);
  }
  .menu-toggle,
  .mobile-nav {
    display: none;
  }
  .split-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    padding-top: 64px;
  }
  .split-hero h1,
  .split-hero .lead {
    max-width: 560px;
  }
  .lead {
    font-size: 20px;
    line-height: 28px;
  }
  .button.large {
    min-height: 56px;
    padding: 16px 24px;
  }
  .hero-photo {
    height: 560px;
  }
  .section-intro {
    font-size: 18px;
    line-height: 28px;
  }
  .money-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
    margin-top: 32px;
  }
  .money-steps li {
    grid-row: span 3;
    grid-template-columns: 1fr;
    grid-template-rows: subgrid;
    gap: 16px;
    padding-top: 24px;
  }
  .money-steps li > div {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .money-steps li {
    padding-top: 0;
    padding-bottom: 0;
  }
  .money-steps li:not(:last-child)::before {
    left: 52px;
    right: calc(12px - var(--grid-gap));
    top: 20px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .money-steps h3 {
    max-width: 300px;
  }
  .terms-note {
    max-width: none;
  }
  .support-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 64px;
  }
  .support-copy {
    grid-column: 2;
    grid-row: 1;
  }
  .support-photo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    aspect-ratio: 4 / 3;
  }
  .support-copy .section-intro {
    font-size: 16px;
    line-height: 24px;
  }
  .support-benefits h3 {
    font-size: 22px;
  }
  .product-grid,
  .tools-grid {
    margin-top: 48px;
    gap: 24px;
  }
  .product-grid {
    row-gap: 0;
  }
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-top {
    padding-block: 56px;
  }
}

@media (min-width: 1400px) {
  :root {
    --gutter: 64px;
  }
}
@media (max-width: 359px) {
  :root {
    --gutter: 16px;
    --font-h1: 36px;
  }
  .nav {
    gap: 8px;
  }
  :root {
    --logo-width: 92px;
  }
  .nav-cta {
    padding-inline: 10px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Shared audience navigation across both pages. */
a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.audience-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.mobile-nav .audience-links a {
  font-size: 16px;
  border: 0;
  padding-block: 20px;
}
.footer-top nav a[aria-current="page"] {
  color: #fff;
}

/* Product excerpts share the same compact fields, rows and status styles. */
.proposal-preview,
.application-preview,
.commission-preview {
  width: 100%;
  max-width: 344px;
  min-width: 0;
  font-size: 16px;
  line-height: 1.4;
}
.preview-heading {
  display: grid;
  gap: 4px;
}
.preview-heading strong {
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.preview-heading > span,
.screen-example {
  color: var(--muted);
  font-size: 14px;
}
.screen-example {
  display: block;
  margin-top: 12px;
}
.preview-control {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fff;
}
.quote-product {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  margin-top: 16px;
}
.quote-product img {
  width: 32px;
  height: 56px;
  object-fit: contain;
}
.quote-product-name {
  display: grid;
  gap: 2px;
}
.quote-product-name > span + span {
  font-size: 14px;
  color: var(--muted);
}
.quote-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 72px;
  height: 32px;
  padding-inline: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.quote-quantity > span:first-child {
  color: var(--muted);
}
.quote-sales {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.quote-sales > span {
  color: var(--muted);
  font-size: 14px;
}
.quote-sales .preview-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 12px;
  font-variant-numeric: tabular-nums;
}
.quote-sales .preview-control > span + span {
  font-size: 14px;
  color: var(--muted);
}
.screen-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius-control);
  background: var(--action);
  color: #fff;
  text-align: center;
}
.proposal-preview .screen-action {
  margin-top: 12px;
}
.application-documents {
  margin-top: 24px;
}
.application-documents > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.application-documents > div:first-child > span + span {
  font-size: 14px;
  color: var(--muted);
}
.document-progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.document-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--action);
}
.document-receipt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
}
.document-type {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
}
.document-receipt > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.document-receipt > div > span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.document-receipt > div > span + span {
  color: var(--deep-green);
  font-size: 14px;
}
.application-review {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.application-review > span + span {
  color: var(--muted);
}
.preview-status {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--deep-green);
  background: var(--accent-soft);
}
.commission-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  gap: 24px;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 14px;
}
.preview-chevron {
  width: 6px;
  height: 6px;
  border: solid var(--muted);
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.commission-total {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}
.commission-total > span {
  color: var(--muted);
  font-size: 14px;
}
.commission-total strong {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.commission-ledger {
  margin-top: 16px;
}
.commission-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.4;
}
.commission-entry > div {
  display: grid;
  gap: 4px;
}
.commission-entry > div > span + span {
  font-size: 14px;
  color: var(--muted);
}
.commission-entry-amount {
  color: var(--deep-green);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* Merchant opening: the comparison offer comes before imagery. */
.merchant-promise {
  margin-top: 16px;
}
.proposal-time {
  font-size: 14px;
  line-height: 21px;
  margin-top: 16px;
}
.proposal-time strong {
  font-weight: 400;
  color: var(--ink);
}
.section-subheading {
  margin-top: 32px;
  max-width: 640px;
}
.terminal-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.device-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: none;
  border: 0;
  border-radius: 0;
}
.device-art {
  height: 232px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.device-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.device-copy p {
  font-size: 14px;
  line-height: 21px;
  margin-top: 8px;
}
.payment-features {
  display: grid;
  grid-template-rows: auto auto 1fr;
  column-gap: var(--grid-gap);
  row-gap: 0;
  margin-top: 32px;
}
.payment-feature {
  grid-row: span 3;
  grid-template-rows: subgrid;
}
.payment-feature > .product-description {
  max-width: 440px;
}
.feature-visual {
  display: grid;
  justify-items: center;
  min-height: 160px;
}

.payment-example {
  display: flex;
  flex-direction: column;
  width: min(100%, 320px);
  padding: 16px;
  border-radius: var(--radius-control);
  background: #fff;
  border: 1px solid var(--line);
}
.payment-total {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}
.payment-total > span {
  color: var(--muted);
  font-size: 14px;
}
.payment-total strong {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.payment-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  line-height: 1.4;
}
.payment-choice + .payment-choice {
  margin-top: 8px;
}
.payment-choice.is-selected {
  border-color: var(--action);
  color: var(--deep-green);
  background: var(--accent-soft);
}
.payment-choice strong {
  display: block;
  font-weight: 400;
}
.payment-choice strong + span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}
.payment-example-note {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.choice-indicator {
  width: 16px;
  height: 16px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  flex-shrink: 0;
}
.is-selected .choice-indicator {
  border: 5px solid var(--action);
}
.chat-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--deep-green);
  background: var(--sky-surface);
  font-size: 14px;
}
.chat-message {
  width: fit-content;
  max-width: 94%;
  padding: 12px;
  border-radius: 0 var(--radius-control) var(--radius-control);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.4;
}
.chat-message.is-outgoing {
  display: grid;
  gap: 10px;
  max-width: none;
  width: 100%;
  border-radius: var(--radius-control) 0 var(--radius-control)
    var(--radius-control);
  background: var(--accent-soft);
}
.chat-payment-request {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}
.chat-payment-request > span:first-child {
  font-size: 14px;
  color: var(--muted);
}
.chat-payment-request strong {
  font-size: 24px;
  font-weight: 400;
}
.chat-payment-link {
  display: block;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--deep-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.settlement-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.settlement-note h3 {
  font-size: 20px;
}
.settlement-note p {
  margin-top: 8px;
}
.dashboard-section {
  padding: 24px;
}
.dashboard-art {
  min-width: 0;
  margin-top: 28px;
}
.dashboard-art img {
  width: 100%;
  height: auto;
}
.trust-band {
  padding-block: 56px;
  background: var(--ink);
  color: #fff;
}
.trust-intro,
.trust-stats p {
  color: #bfbfbf;
}
.trust-band h2 span {
  color: inherit;
}
.trust-intro {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 770px;
}
.trust-intro > p {
  color: inherit;
}
.trust-stats {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}
.trust-stats > div {
  padding-top: 24px;
  border-top: 1px solid #ffffff30;
}
.trust-stats strong {
  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
}
.trust-stats p {
  margin-top: 12px;
  max-width: 300px;
}
.closing-description {
  margin-top: 20px;
  max-width: 720px;
  color: #fff;
}

@media (min-width: 640px) {
  .terminal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .device-art {
    height: 264px;
  }
  .dashboard-section {
    padding: 32px;
  }
  .dashboard-art {
    margin-top: 32px;
  }
  .payment-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }
  .trust-stats > div {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
}
@media (min-width: 1100px) {
  .merchant-promise {
    max-width: 500px;
  }
  .device-art {
    height: 312px;
  }
  .section-subheading {
    margin-top: 48px;
  }
  .terminal-grid {
    margin-top: 24px;
  }
  .payment-options {
    margin-top: 48px;
  }
  .payment-features {
    margin-top: 48px;
  }
  .dashboard-section {
    padding: 40px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: center;
  }
  .dashboard-art {
    margin: 0;
  }
  .dashboard-section .image-note {
    grid-column: 1 / -1;
    margin: 0;
  }
  .trust-band {
    padding-block: 80px;
  }
  .trust-stats {
    margin-top: 48px;
    column-gap: 40px;
  }
  .trust-stats strong {
    font-size: 32px;
    line-height: 38px;
  }
}

/* Short header labels keep both audience CTAs usable on narrow phones. */
@media (max-width: 899px) {
  .merchant-page .merchant-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82%, 320px);
    gap: 0 16px;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .merchant-page .merchant-rail::-webkit-scrollbar {
    display: none;
  }
  .merchant-page .merchant-rail > article {
    scroll-snap-align: start;
    min-width: 0;
  }
  .merchant-page .merchant-rail:focus-visible {
    outline-offset: 3px;
  }
  .merchant-page .device-art {
    height: 232px;
  }
  .merchant-page .device-copy p {
    font-size: 16px;
    line-height: 24px;
  }
  .merchant-page .payment-feature {
    padding: 24px;
  }
}

.nav-cta .cta-full {
  display: none;
  font-size: inherit;
}
.nav-cta .cta-short {
  font-size: inherit;
}
@media (min-width: 640px) {
  .nav-cta .cta-full {
    display: inline;
  }
  .nav-cta .cta-short {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.merchant-page .dashboard-section {
  display: block;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.merchant-page .dashboard-copy {
  max-width: 780px;
}
.merchant-page .dashboard-art {
  margin-top: 32px;
}
.merchant-hero .hero-photo {
  height: 320px;
}
.merchant-hero .hero-photo > img {
  object-position: 62% center;
}
@media (min-width: 640px) {
  .merchant-hero .hero-photo {
    height: 460px;
  }
}
@media (min-width: 1100px) {
  .merchant-hero .hero-photo {
    height: 560px;
  }
  .merchant-hero .hero-photo > img {
    object-position: center;
  }
  .merchant-page .trust-band {
    padding-block: 56px;
  }
}

/* Composed product visuals: live type over purpose-framed artwork. */
.product-grid.campaign-products {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 32px 24px;
}
@media (min-width: 768px) {
  .product-grid.campaign-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.merchant-page .dashboard-art {
  max-width: 1100px;
  margin-inline: auto;
}

/* One photographic payment story; reserve interface detail for the console. */
.merchant-payment-story {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}
.merchant-payment-photo {
  border-radius: var(--radius-photo);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.merchant-payment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.merchant-payment-copy {
  align-self: center;
}
.merchant-payment-copy article + article {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.merchant-payment-copy h3 {
  font-size: var(--font-h3);
  line-height: 1.27;
}
.merchant-payment-copy p {
  margin-top: 12px;
  max-width: 40ch;
}
.merchant-page .dashboard-art {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-photo);
}
.merchant-page .dashboard-copy {
  max-width: none;
}
.merchant-page .dashboard-copy .section-intro {
  max-width: 48ch;
}
.merchant-page .dashboard-section > .image-note {
  margin-top: 16px;
}
@media (min-width: 900px) {
  .merchant-payment-story {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 48px;
  }
  .merchant-page .dashboard-art {
    padding: 32px;
  }
}
@media (max-width: 639px) {
  .merchant-page .dashboard-art {
    padding: 12px;
  }
}

/* Align visible product bounds, compensating for source-image padding. */
.merchant-page .device-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.merchant-page .device-art img {
  width: auto;
  max-width: 100%;
  height: 100%;
  transform: scale(1.125);
}
.merchant-page .device-art img[src$="nano.png"] {
  transform: translateY(3.9%) scale(1.21);
}
@media (max-width: 639px) {
  .merchant-page .dashboard-preview-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
  }
  .merchant-page .dashboard-preview-image img {
    position: absolute;
    width: 126%;
    max-width: none;
    left: -22%;
    top: -5%;
  }
}

.company-description {
  display: grid;
  gap: 16px;
}
/* Agent verified Ramp mappings: Corporate Cards, Tech Partners, AP 1099. */
.agent-service > .wrap > .agent-kicker,
.agent-service > .wrap > h2,
.agent-service > .wrap > .agent-service-intro {
  margin-inline: auto;
  text-align: center;
}
.agent-service > .wrap > h2 {
  max-width: 960px;
}
.agent-service > .wrap > .agent-service-intro {
  max-width: 720px;
}
.agent-service-partner-grid {
  display: grid;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.agent-service-partner-grid article {
  display: flex;
  min-height: 155px;
  gap: 24px;
  align-items: flex-start;
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}
.agent-service-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--kuenta-icon-surface);
}
.agent-service-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(88%) saturate(1021%)
    hue-rotate(111deg) brightness(86%) contrast(103%);
}
.agent-service-partner-grid h3 {
  font-size: 20px;
  line-height: 24px;
}
.agent-service-partner-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
}
.agent-page .agent-final-cta {
  min-height: 0;
  padding-block: 48px;
}
.agent-page .agent-final-cta > .wrap {
  text-align: center;
}
.agent-page .agent-final-cta h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: 34px;
  line-height: 38px;
}
.agent-page .agent-final-cta p {
  margin-inline: auto;
}
@media (min-width: 768px) {
  .agent-service-partner-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 64px;
  }
  .agent-service-partner-grid article {
    min-height: 139px;
    padding: 40px 32px;
  }
  .agent-service-partner-grid article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .agent-service-partner-grid h3 {
    font-size: 22px;
    line-height: 26px;
  }
  .agent-service-partner-grid p {
    font-size: 15px;
    line-height: 21px;
  }
}
@media (min-width: 1024px) {
  .agent-service-partner-grid h3 {
    font-size: 24px;
    line-height: 28px;
  }
  .agent-service-partner-grid p {
    font-size: 16px;
    line-height: 22px;
  }
}
@media (min-width: 768px) {
  .agent-page .agent-final-cta {
    padding-block: 64px;
  }
  .agent-page .agent-final-cta h2 {
    font-size: 48px;
    line-height: 50px;
  }
}
@media (max-width: 767px) {
  .agent-service-partner-grid {
    margin-top: 40px;
  }
}

/* Agent earnings: Ramp technology-partner compact dark card pattern. */
.agent-earnings-dark {
  padding-block: 64px 32px;
  color: #fff;
  background: #242424;
}
.agent-earnings-dark .agent-kicker,
.agent-earnings-dark h2,
.agent-earnings-dark .agent-earnings-intro,
.agent-earnings-note {
  margin-inline: auto;
  text-align: center;
}
.agent-earnings-dark .agent-kicker,
.agent-earnings-dark .agent-earnings-intro,
.agent-earnings-note {
  color: #bdbdbd;
}
.agent-earnings-dark h2 {
  max-width: 900px;
  color: #fff;
  font-size: 34px;
  line-height: 38px;
}
.agent-earnings-dark .agent-earnings-intro {
  max-width: 680px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 25px;
}
.agent-earnings-dark .agent-earnings-grid {
  margin-top: 48px;
}
.agent-earnings-dark .agent-earnings-grid > article {
  display: block;
  min-height: 0;
  height: auto;
  padding: 32px;
  border: 1px solid #565656;
  border-radius: 12px;
  background: transparent;
}
.agent-earnings-dark .agent-earnings-grid h3 {
  margin-top: 0;
  color: #fff;
  font-size: 24px;
  line-height: 29px;
}
.agent-earnings-dark .agent-earnings-grid p {
  color: #c7c7c7;
}
.agent-earnings-note {
  max-width: 920px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 20px;
}
.agent-portfolio-note {
  display: grid;
  gap: 16px;
  margin-top: 64px;
  padding: 32px;
  border-radius: 12px;
  background: var(--agent-gray);
}
.agent-portfolio-note h3 {
  max-width: 520px;
  font-size: 26px;
  line-height: 31px;
}
.agent-portfolio-note p {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
@media (min-width: 768px) {
  .agent-portfolio-note {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 48px;
  }
}
@media (min-width: 1100px) {
  .agent-earnings-dark {
    padding-block: 75px 32px;
  }
  .agent-earnings-dark .agent-earnings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .agent-earnings-dark h2 {
    font-size: 48px;
    line-height: 50px;
  }
  .agent-earnings-dark .agent-earnings-grid > article {
    min-height: 212px;
  }
}
@media (max-width: 767px) {
  .agent-earnings-dark > .wrap {
    padding-inline: 16px;
  }
  .agent-earnings-dark .agent-earnings-grid {
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .agent-service-intro {
    max-width: 520px;
  }
}
@media (min-width: 1100px) {
  /* Keep the dashboard legible on the same reading grid as the section. */
  .merchant-page .dashboard-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
  }
  .merchant-page .dashboard-art {
    max-width: none;
    margin: 0;
  }
  .merchant-page .dashboard-section > .image-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

/* Photography leads; category labels remain readable outside the image. */
.feature-tool {
  height: 100%;
  max-width: none;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
}
.tool-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 20px 24px 0;
  border-radius: 0;
}
.tool-device {
  width: min(100%, 300px);
}
.feature-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 40px 0;
  background: var(--surface);
}
.feature-copy h3 {
  font-size: 20px;
  line-height: 26px;
}
.feature-description {
  margin-top: 8px;
  line-height: 22px;
}
.trust-intro {
  max-width: 620px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .tools-grid.feature-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
}

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

.trust-band {
  padding-block: 56px;
}
.trust-compact {
  display: grid;
  gap: 32px;
}
.trust-compact .trust-intro {
  margin: 20px 0 0;
}
@media (min-width: 1100px) {
  .trust-compact {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 64px;
    align-items: center;
  }
}

.dashboard-ui {
  overflow: hidden;
  border: 1px solid #d9d8d1;
  border-radius: 10px;
  background: #fbfaf7;
  color: #252525;
}
.dashboard-toolbar,
.dashboard-summary,
.dashboard-chart,
.deposit-row {
  padding-inline: 20px;
}
.dashboard-toolbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #deddd7;
  font-size: 14px;
}
.dashboard-toolbar > span {
  padding: 7px 10px;
  border-radius: 6px;
  background: #eeeee8;
  color: #565352;
}
.dashboard-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-block: 20px 16px;
}
.dashboard-summary p {
  margin: 0;
}
.dashboard-summary span {
  display: block;
  margin-bottom: 4px;
  color: #686761;
  font-size: 13px;
}
.dashboard-summary strong {
  font-size: 25px;
  font-weight: 400;
}
.chart-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px 0;
  border-top: 1px solid #e4e3dd;
  color: #686761;
  font-size: 12px;
}
.dashboard-chart {
  display: grid;
  height: 118px;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding-top: 8px;
  background: linear-gradient(
    to bottom,
    transparent 49%,
    #e6e5df 50%,
    transparent 51%
  );
}
.chart-day {
  display: grid;
  min-width: 0;
  height: 100%;
  grid-template-rows: 1fr 18px;
  align-items: end;
}
.chart-day i {
  display: block;
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: #a8c8b7;
}
.chart-day small {
  color: #686761;
  text-align: center;
}
.chart-day.zero i {
  background: #d8d8d1;
}
.deposits-head,
.deposit-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 110px 100px;
  align-items: center;
  gap: 12px;
}
.deposits-head {
  padding: 12px 20px 8px;
  color: #686761;
  font-size: 12px;
}
.deposit-row {
  min-height: 48px;
  border-top: 1px solid #e4e3dd;
  font-size: 13px;
}
.deposit-row strong {
  text-align: right;
}
.deposit-state {
  color: var(--deep-green);
}
.deposit-state.pending {
  color: #7a6530;
}
.trust-safeguards {
  display: grid;
  gap: 20px;
}
.trust-safeguards p {
  padding-top: 18px;
  border-top: 1px solid #ffffff30;
}
.trust-safeguards strong,
.trust-safeguards span {
  display: block;
}
.trust-safeguards strong {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}
.trust-safeguards span {
  margin-top: 6px;
  color: #bfbfbf;
}
@media (max-width: 639px) {
  .earnings-layout {
    padding: 24px;
  }
  .portfolio-callout .wrap {
    padding: 26px 24px;
  }
  .product-section .catalog-product h3,
  .product-section .catalog-product > p,
  .product-section .catalog-list {
    margin-inline: 24px;
  }
  .product-section .terminal-showcase {
    padding: 20px;
  }
  .deposits-head {
    display: none;
  }
  .deposit-row {
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
  }
  .deposit-row .deposit-state {
    grid-column: 1;
    grid-row: 2;
  }
  .deposit-row strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
@media (min-width: 768px) {
  .product-section .terminal-panel img {
    height: 352px;
  }
  .portfolio-callout .wrap {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}
@media (min-width: 1100px) {
  .company-overview-panel {
    height: 493px;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .company-overview .company-photo {
    height: 493px;
  }
  .company-overview .company-copy {
    padding: 40px;
  }
  .support-layout {
    gap: 0;
  }
  .support-layout .support-photo {
    height: 420px;
  }
  .support-layout .support-copy {
    padding: 48px;
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  .product-section .terminal-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Merchant page: measured against Ramp Construction and Accounts Payable. */
.merchant-page {
  --merchant-wrap: 1312px;
  --merchant-gray: #f3f2f0;
}
.merchant-page .nav,
.agent-page .nav {
  max-width: 1440px;
}
.merchant-page .nav-cta {
  min-height: 44px;
}
.merchant-kicker,
.merchant-breadcrumb,
.agent-kicker {
  color: var(--subtle);
  font-size: 14px;
  line-height: 20px;
}
.merchant-hero,
.agent-ramp-hero {
  padding: 40px 0 24px;
}
.merchant-hero-grid,
.agent-ramp-hero-grid {
  display: grid;
  gap: 24px;
}
.merchant-hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.merchant-breadcrumb {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.merchant-hero-message h1 {
  color: var(--ink);
}
.merchant-hero-message .lead {
  margin-top: 24px;
}
.merchant-promise {
  margin-top: 12px;
  max-width: 560px;
}
.merchant-hero-placeholder {
  order: -1;
  width: 100%;
  height: 360px;
  border-radius: 12px;
}
.merchant-products {
  margin-top: 80px;
}
.merchant-products > .wrap,
.merchant-wide-feature {
  max-width: 1440px;
}
.merchant-products h2 {
  max-width: 960px;
  margin-top: 12px;
  font-size: 34px;
  line-height: 38px;
}
.merchant-product-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.merchant-product-card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--merchant-gray);
}
.merchant-product-visual {
  display: grid;
  place-items: center;
  height: 280px;
  margin: 16px 16px 0;
  border-radius: 10px;
  background: #fff;
  color: #656565;
  font-size: 14px;
}
.merchant-product-copy {
  min-height: 150px;
  padding: 24px;
}
.merchant-product-copy h3 {
  font-size: 22px;
  line-height: 26px;
}
.merchant-product-copy p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
}
.merchant-payment-strip {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
}
.merchant-payment-strip strong {
  display: block;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: var(--ink);
}
.merchant-payment-strip p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 22px;
}
.merchant-payment-label {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.merchant-payment-label p {
  margin-top: 0;
  text-align: right;
}
.merchant-brand-rail {
  --merchant-brand-unit: 128px;
  overflow: hidden;
  width: 100%;
  padding-block: 12px;
  outline-offset: 4px;
}
.merchant-brand-track {
  display: flex;
  width: max-content;
  animation: merchant-brand-roll var(--merchant-brand-duration) linear infinite;
  will-change: transform;
}
.merchant-brand-group {
  display: grid;
  flex: 0 0 calc(var(--merchant-brand-count) * var(--merchant-brand-unit));
  width: calc(var(--merchant-brand-count) * var(--merchant-brand-unit));
  grid-template-columns: repeat(
    var(--merchant-brand-count),
    var(--merchant-brand-unit)
  );
  align-items: center;
}
.merchant-brand-group span {
  display: grid;
  place-items: center;
}
.merchant-brand-group img {
  width: 100%;
  max-width: 60px;
  height: 28px;
  object-fit: contain;
}
.merchant-brand-rail:hover .merchant-brand-track,
.merchant-brand-rail:focus .merchant-brand-track,
.merchant-brand-rail:focus-within .merchant-brand-track {
  animation-play-state: paused;
}
@keyframes merchant-brand-roll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .merchant-brand-track {
    width: 100%;
    animation: none;
  }
  .merchant-brand-group {
    flex-basis: 100%;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 16px;
    padding-inline: 0;
  }
  .merchant-brand-group[aria-hidden="true"] {
    display: none;
  }
}
.merchant-msi {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.merchant-wide-feature {
  margin-top: 80px;
}
.merchant-wide-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--merchant-gray);
}
.merchant-about-placeholder {
  min-height: 286px;
  border-radius: 0;
}
.merchant-wide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
}
.merchant-wide-copy h2 {
  font-size: 22px;
  line-height: 26px;
}
.merchant-wide-copy > p:not(.merchant-kicker, .merchant-proof) {
  max-width: 50ch;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
}
.merchant-proof {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.merchant-proof strong {
  color: var(--ink);
  font-weight: 400;
}
.merchant-dashboard-panel .merchant-wide-copy {
  order: 0;
}
.merchant-dashboard-art {
  order: 1;
  min-width: 0;
  padding: 0 24px 24px;
}
.merchant-dashboard-art .dashboard-ui {
  background: #fff;
}
.merchant-dashboard-art .image-note {
  margin-top: 12px;
  font-size: 13px;
}
.merchant-page .trust-band {
  margin-top: 80px;
}
.merchant-page .trust-compact {
  padding-block: 48px;
}
.merchant-page .trust-band h2 {
  font-size: 34px;
  line-height: 38px;
}
.merchant-closing-section {
  margin-top: 80px;
}
.merchant-start {
  padding-bottom: 64px;
}
.merchant-start h2 {
  margin-top: 12px;
  margin-inline: auto;
  max-width: 960px;
  font-size: 34px;
  line-height: 38px;
  text-align: center;
}
.merchant-start-intro {
  max-width: 960px;
  margin: 20px auto 0;
  text-align: center;
}
.merchant-start > .merchant-kicker {
  text-align: center;
}
.merchant-faq {
  padding-bottom: 80px;
}
.faq-section h2 {
  max-width: 900px;
  margin-bottom: 40px;
  font-size: 34px;
  line-height: 38px;
}
.merchant-final-cta {
  padding-block: 64px;
  background: var(--action);
  color: #fff;
  text-align: left;
}
.merchant-final-cta h2 {
  font-size: 40px;
  line-height: 42px;
}
.merchant-final-cta p {
  max-width: 620px;
  margin: 20px 0 28px;
  color: #fff;
  font-size: 18px;
}
@media (min-width: 1024px) {
  .merchant-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .merchant-product-visual {
    height: 260px;
  }
}
@media (min-width: 1100px) {
  .merchant-page .nav {
    gap: 16px;
    padding-inline: 64px;
  }
  .merchant-page .desktop-nav {
    gap: 24px;
  }
  .merchant-page .desktop-nav a {
    font-size: 16px;
  }
  .merchant-page .nav-cta {
    font-size: 16px;
    padding-inline: 20px;
  }
  .merchant-hero,
  .agent-ramp-hero {
    padding: 24px 0;
  }
  .merchant-hero-grid,
  .agent-ramp-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-inline: 24px;
  }
  .merchant-hero-grid {
    min-height: 620px;
  }
  .merchant-hero-copy {
    position: relative;
    justify-content: center;
    padding-inline: 40px;
  }
  .merchant-breadcrumb {
    position: absolute;
    top: 0;
    left: 40px;
    margin: 0;
  }
  .merchant-hero-message h1 {
    max-width: 576px;
    font-size: 64px;
    line-height: 64px;
  }
  .merchant-hero-message .lead {
    max-width: 576px;
    font-size: 20px;
    line-height: 28px;
  }
  .merchant-hero-placeholder {
    order: 0;
    height: 620px;
  }
  .merchant-products {
    margin-top: 128px;
  }
  .merchant-products > .wrap,
  .merchant-wide-feature {
    padding-inline: 64px;
  }
  .merchant-products h2 {
    margin: 12px auto 0;
    font-size: 48px;
    line-height: 50px;
    text-align: center;
  }
  .merchant-products > .wrap > .merchant-kicker {
    text-align: center;
  }
  .merchant-product-grid {
    margin-top: 60px;
  }
  .merchant-product-card {
    height: 458px;
  }
  .merchant-product-visual {
    height: 310px;
  }
  .merchant-product-copy {
    min-height: 132px;
    padding: 24px 32px 20px;
    text-align: center;
  }
  .merchant-product-copy h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .merchant-payment-strip {
    margin-top: 32px;
    padding-block: 24px;
  }
  .merchant-msi {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .merchant-wide-feature {
    margin-top: 128px;
  }
  .merchant-wide-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 500px;
  }
  .merchant-about-placeholder {
    min-height: 500px;
  }
  .merchant-wide-copy {
    padding: 40px;
  }
  .merchant-wide-copy h2 {
    max-width: 389px;
    font-size: 28px;
    line-height: 32px;
  }
  .merchant-wide-copy > p:not(.merchant-kicker, .merchant-proof) {
    margin-top: 20px;
  }
  .merchant-proof {
    max-width: 389px;
  }
  .merchant-dashboard-panel {
    min-height: 493px;
  }
  .merchant-dashboard-art {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 32px 0;
  }
  .merchant-page .trust-band {
    margin-top: 128px;
  }
  .merchant-page .trust-compact {
    padding-block: 64px;
  }
  .merchant-closing-section {
    margin-top: 128px;
  }
  .merchant-start {
    padding-bottom: 96px;
  }
  .merchant-start h2 {
    font-size: 48px;
    line-height: 50px;
  }
  .merchant-faq {
    padding-bottom: 96px;
  }
  .faq-section h2 {
    margin-bottom: 64px;
    font-size: 48px;
    line-height: 50px;
  }
  .merchant-final-cta {
    padding-block: 72px;
  }
  .merchant-final-cta h2 {
    font-size: 48px;
    line-height: 50px;
  }
}
@media (min-width: 1100px) {
  .onboarding-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
  }
  .onboarding-steps h3 {
    font-size: 24px;
    line-height: 28px;
  }
  .onboarding-steps p {
    font-size: 18px;
    line-height: 27px;
  }
}
@media (max-width: 1099px) {
  .merchant-page .nav {
    padding-inline: 16px;
  }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .merchant-hero,
  .agent-ramp-hero {
    padding: 24px 0;
  }
  .merchant-hero-grid,
  .agent-ramp-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-inline: 24px;
  }
  .merchant-hero-grid {
    min-height: 500px;
  }
  .merchant-hero-copy {
    position: relative;
    justify-content: center;
    padding-inline: 24px;
  }
  .merchant-breadcrumb {
    position: absolute;
    top: 0;
    left: 24px;
    margin: 0;
  }
  .merchant-hero-message h1 {
    max-width: 428px;
    font-size: 64px;
    line-height: 64px;
  }
  .merchant-hero-message .lead {
    max-width: 428px;
  }
  .merchant-hero-placeholder {
    order: 0;
    height: 500px;
  }
}
@media (max-width: 639px) {
  .merchant-hero-grid {
    padding-inline: 16px;
  }
  .merchant-hero-placeholder {
    height: 340px;
  }
  .merchant-products > .wrap,
  .merchant-wide-feature {
    padding-inline: 16px;
  }
  .merchant-product-grid {
    grid-template-columns: 1fr;
  }
  .merchant-product-card {
    min-height: 430px;
  }
  .merchant-product-visual {
    height: 280px;
  }
  .merchant-payment-strip {
    gap: 20px;
  }
  .merchant-payment-label {
    display: block;
  }
  .merchant-payment-label p {
    margin-top: 4px;
    text-align: left;
  }
  .merchant-page .trust-compact {
    padding-inline: 16px;
  }
  .merchant-faq > .wrap,
  .merchant-final-cta > .wrap,
  .merchant-page footer > .wrap,
  .agent-page footer > .wrap {
    padding-inline: 16px;
  }
}

/* Merchant service: Ramp's measured three-column benefit row. */
.merchant-service {
  margin-top: 80px;
}
.merchant-service h2 {
  max-width: 900px;
  font-size: 34px;
  line-height: 38px;
}
.merchant-service-grid {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}
.merchant-service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #e5eef9;
}
.merchant-service-icon img {
  width: 24px;
  height: 24px;
  filter: invert(43%) sepia(65%) saturate(783%) hue-rotate(181deg)
    brightness(92%) contrast(90%);
}
.merchant-service-grid h3 {
  font-size: 20px;
  line-height: 26px;
}
.merchant-service-grid p {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
}
@media (min-width: 1024px) {
  .merchant-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1100px) {
  .merchant-service {
    margin-top: 128px;
  }
  .merchant-service > .wrap {
    padding-inline: 64px;
  }
  .merchant-service h2 {
    font-size: 48px;
    line-height: 50px;
  }
  .merchant-service-grid {
    gap: 24px;
    margin-top: 64px;
  }
}
@media (max-width: 639px) {
  .merchant-service > .wrap {
    padding-inline: 16px;
  }
}

/* Merchant first-party imagery in the already measured Ramp containers. */
.merchant-hero-placeholder,
.merchant-about-placeholder,
.merchant-product-visual,
.merchant-dashboard-art {
  overflow: hidden;
}
.merchant-hero-placeholder > img,
.merchant-about-placeholder > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.merchant-product-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.merchant-product-card:first-child .merchant-product-visual {
  position: relative;
}
.merchant-product-card:first-child .merchant-product-visual > img {
  position: absolute;
  inset: 0;
  object-position: center 65%;
}
.merchant-product-card:nth-child(3) .merchant-product-visual > img {
  object-position: center 38%;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .merchant-product-visual {
    width: min(calc(100% - 32px), 400px);
    height: 310px;
    margin-inline: auto;
  }
  .merchant-product-visual > img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
}
.merchant-dashboard-art > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 1100px) {
  .merchant-dashboard-panel {
    height: 493px;
    min-height: 493px;
  }
}
@media (max-width: 639px) {
  .merchant-start {
    padding-inline: 16px;
  }
}

.merchant-dashboard-art .dashboard-ui {
  background: #fff;
}
@media (min-width: 1100px) {
  .merchant-dashboard-art .dashboard-toolbar {
    min-height: 46px;
  }
  .merchant-dashboard-art .dashboard-summary {
    padding-block: 14px 10px;
  }
  .merchant-dashboard-art .chart-title {
    padding-top: 8px;
  }
  .merchant-dashboard-art .dashboard-chart {
    height: 82px;
  }
  .merchant-dashboard-art .deposits-head {
    padding-block: 8px 6px;
  }
  .merchant-dashboard-art .deposit-row {
    min-height: 38px;
  }
}
/* Agent page: Ramp Construction/AP geometry, scoped away from the merchant page. */
.agent-page {
  --agent-gray: #f3f2f0;
}
.agent-ramp-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.agent-ramp-hero-copy > div {
  margin-block: auto;
}
.agent-ramp-hero-copy h1 {
  color: var(--ink);
  margin-top: 32px;
  font-size: 48px;
  line-height: 50px;
}
.agent-ramp-hero-copy p:not(.agent-kicker) {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 26px;
}
.agent-ramp-hero-copy .agent-hero-audience {
  margin-top: 16px;
}
.agent-ramp-hero-image {
  overflow: hidden;
  height: 360px;
  border-radius: 12px;
}
.agent-ramp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-products,
.agent-service,
.agent-tools,
.agent-start {
  margin-top: 80px;
}
.agent-products h2,
.agent-service h2,
.agent-tools h2,
.agent-start h2 {
  max-width: 900px;
  font-size: 34px;
  line-height: 38px;
}
.agent-products-intro,
.agent-service-intro,
.agent-tools-intro {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 25px;
}
.agent-product-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.agent-product-grid > article {
  min-width: 0;
}
.agent-earnings,
.agent-faq {
  margin-top: 80px;
}
.agent-earnings > .wrap > .agent-kicker,
.agent-earnings > .wrap > h2,
.agent-earnings-intro {
  margin-inline: auto;
  text-align: center;
}
.agent-earnings > .wrap > h2 {
  max-width: 900px;
  font-size: 34px;
  line-height: 38px;
}
.agent-earnings-intro {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 25px;
}
.agent-earnings-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.agent-earnings-grid > article {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 32px;
  border-radius: 12px;
  background: var(--agent-gray);
}
.agent-earnings-grid h3 {
  margin-top: auto;
  font-size: 24px;
  line-height: 29px;
}
.agent-earnings-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  padding: 16px 52px 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  line-height: 24px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  position: absolute;
  right: 4px;
  content: "+";
  font-size: 24px;
  font-weight: 300;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  max-width: 780px;
  padding: 0 52px 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.agent-product-image {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  background: var(--agent-gray);
}
.agent-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-product-copy {
  padding: 24px 0 0;
}
.agent-product-copy h3 {
  font-size: 22px;
  line-height: 26px;
}
.agent-product-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.agent-product-copy small {
  display: block;
  margin-top: 16px;
  color: var(--subtle);
}
.agent-tools > .wrap > h2,
.agent-tools > .wrap > .agent-tools-intro {
  margin-inline: auto;
  text-align: center;
}
.agent-tools > .wrap > .agent-kicker {
  text-align: center;
}
.agent-page .tools-grid.feature-tools {
  align-items: stretch;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.agent-page .feature-tool {
  overflow: hidden;
  max-width: 440px;
  border-radius: 12px;
  background: var(--agent-gray);
}
.agent-page .tool-preview {
  height: 310px;
  padding: 16px 16px 0;
  border-radius: 0;
  background: var(--agent-gray);
}
.agent-page .tool-device {
  width: min(100%, 280px);
}
.agent-page .feature-copy {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  text-align: center;
}
.agent-page .feature-tool > h3,
.agent-page .feature-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
}
.agent-page .feature-description {
  min-height: 0;
  margin-top: 10px;
  color: var(--muted);
}
.agent-start > .wrap {
  padding-block: 0;
}
.agent-start-heading {
  text-align: center;
}
.agent-start-heading h2 {
  margin-inline: auto;
}
.agent-final-cta {
  min-height: 325px;
  display: grid;
  align-items: center;
  background: var(--action);
  color: #fff;
}
.agent-final-cta h2 {
  max-width: 760px;
  font-size: 48px;
  line-height: 50px;
}
.agent-final-cta p {
  max-width: 600px;
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
}
.agent-final-cta .button {
  margin-top: 28px;
}
@media (min-width: 768px) {
  .agent-product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .agent-earnings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .agent-ramp-hero-grid {
    max-width: 1440px;
    height: 620px;
  }
  .agent-ramp-hero-copy {
    position: relative;
    justify-content: center;
    padding-inline: 40px;
  }
  .agent-ramp-hero-copy > .agent-kicker {
    position: absolute;
    top: 0;
    left: 40px;
  }
  .agent-ramp-hero-copy h1 {
    max-width: 590px;
    font-size: 64px;
    line-height: 64px;
  }
  .agent-ramp-hero-image {
    height: 620px;
  }
  .agent-products,
  .agent-earnings,
  .agent-service,
  .agent-tools,
  .agent-start,
  .agent-faq {
    margin-top: 128px;
  }
  .agent-products h2,
  .agent-service h2,
  .agent-tools h2,
  .agent-start h2 {
    font-size: 48px;
    line-height: 50px;
  }
  .agent-earnings > .wrap > h2 {
    font-size: 48px;
    line-height: 50px;
  }
  .agent-earnings-grid {
    margin-top: 64px;
  }
  .agent-earnings-grid > article {
    height: 458px;
    padding: 32px;
  }
  .agent-product-copy h3 {
    font-size: 28px;
    line-height: 32px;
  }
  .agent-page .tools-grid.feature-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 60px;
  }
  .agent-page .feature-tool {
    max-width: none;
  }
  .agent-page .tool-preview {
    height: 310px;
  }
}
@media (max-width: 767px) {
  .agent-page .nav,
  .agent-ramp-hero-grid,
  .agent-products > .wrap,
  .agent-wide-section,
  .agent-earnings > .wrap,
  .agent-service > .wrap,
  .agent-tools > .wrap,
  .agent-start > .wrap,
  .agent-final-cta > .wrap {
    padding-inline: 16px;
  }
  .agent-faq > .wrap {
    padding-inline: 16px;
  }
  .agent-ramp-hero-copy {
    order: 0;
  }
  .agent-ramp-hero-image {
    order: -1;
  }
  .agent-ramp-hero-copy h1 {
    margin-top: 24px;
    font-size: 42px;
    line-height: 43px;
  }
  .agent-ramp-hero-image {
    height: 360px;
  }
  .agent-page .tool-preview {
    height: 280px;
  }
  .agent-page .tool-device {
    width: min(100%, 240px);
  }
  .agent-final-cta {
    min-height: 360px;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .agent-earnings-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .agent-ramp-hero-grid {
    height: 500px;
  }
  .agent-ramp-hero-copy {
    position: relative;
    order: 0;
    justify-content: center;
    padding-inline: 24px;
  }
  .agent-ramp-hero-copy > .agent-kicker {
    position: absolute;
    top: 0;
    left: 24px;
  }
  .agent-ramp-hero-copy h1 {
    max-width: 428px;
    font-size: 64px;
    line-height: 64px;
  }
  .agent-ramp-hero-image {
    order: 0;
    height: 500px;
  }
}

/* Kuenta brand palette: scoped color treatment; geometry and content stay fixed. */
.merchant-page,
.agent-page {
  --kuenta-cream: #f6f3ec;
  --kuenta-icon-surface: #ede9e1;
  --kuenta-evergreen: #073f32;
  background: #fff;
}
.merchant-page {
  --merchant-gray: var(--kuenta-cream);
}
.agent-page {
  --agent-gray: var(--kuenta-cream);
}
.agent-page .feature-copy {
  background: var(--kuenta-cream);
}
.merchant-hero-message h1,
.agent-ramp-hero-copy h1 {
  color: var(--ink);
}
.merchant-final-cta .button,
.agent-final-cta .button {
  background: #fff;
  color: var(--action);
}
.merchant-final-cta .button:hover,
.agent-final-cta .button:hover {
  background: #fff;
}
.merchant-final-cta .button:focus-visible,
.agent-final-cta .button:focus-visible {
  outline-color: var(--ink);
}
.merchant-product-visual {
  background: var(--kuenta-cream);
}
.merchant-about-panel,
.agent-portfolio-note {
  background: var(--kuenta-cream);
}
.merchant-service-icon,
.agent-service-icon {
  background: var(--kuenta-icon-surface);
}
.merchant-service-icon img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(88%) saturate(1021%)
    hue-rotate(111deg) brightness(86%) contrast(103%);
}
.merchant-page .trust-band,
.agent-earnings-dark {
  background: var(--kuenta-evergreen);
}
.merchant-page .trust-band h2,
.merchant-page .trust-safeguards strong,
.agent-earnings-dark h2,
.agent-earnings-dark .agent-earnings-grid h3 {
  color: #fff;
}
.merchant-page .trust-intro,
.merchant-page .trust-safeguards span,
.agent-earnings-dark .agent-kicker,
.agent-earnings-dark .agent-earnings-intro,
.agent-earnings-dark .agent-earnings-grid p,
.agent-earnings-note {
  color: #d8e4df;
}
.merchant-page .trust-safeguards p,
.agent-earnings-dark .agent-earnings-grid > article {
  border-color: #4b776c;
}
