:root {
  --ink: #1f2933;
  --muted: #4d5268;
  --line: #e6e7ef;
  /* Brand green — matches the SaaS dashboard's --brand-merchant. The
     legacy --violet / --violet-soft tokens are aliased to the brand so
     all existing accent rules (hover states, eyebrow text, highlight
     spans, brand-mark logo box) re-theme without touching each selector. */
  --brand: #008060;
  --brand-hover: #006e52;
  --violet: #008060;
  --violet-soft: #e6f5ef;
  --navy: #0a3b2c;
  --green: #78c143;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(0, 50, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Full-bleed panels (e.g. the demo mass-gen strip) use 100vw width; guard
     against the scrollbar-width rounding that would add a horizontal scroll. */
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  padding: 18px 44px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 231, 239, 0.55);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  color: var(--white);
  background: var(--violet);
  clip-path: polygon(50% 0, 92% 24%, 92% 73%, 50% 100%, 8% 73%, 8% 24%);
  font-size: 27px;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a,
.header-cta,
.button {
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.main-nav a:hover {
  color: var(--violet);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.1;
}

.header-cta {
  padding: 0 27px;
  color: var(--white);
  background: var(--brand);
}

.header-cta:hover {
  background: var(--brand-hover);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-link:hover {
  color: var(--violet);
}

.button {
  padding: 0 29px;
  border: 1px solid transparent;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover {
  background: var(--brand-hover);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: #dfe2eb;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 38px;
  max-width: 1440px;
  min-height: 800px;
  margin: 0 auto;
  padding: 24px 44px 36px;
  overflow: hidden;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  margin: 0 0 32px;
  padding: 0 12px;
  border-radius: 8px;
  color: #4e3cff;
  background: var(--violet-soft);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: 62px;
  line-height: 1.07;
}

h1 span,
.results-copy h2 span {
  color: var(--violet);
}

.hero-text {
  max-width: 510px;
  margin-bottom: 32px;
  color: #363a4f;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 38px;
}

.hero-actions .button {
  min-width: 176px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: #111111;
  font-size: 20px;
  font-style: italic;
}

.partner-badge span:last-child {
  color: #555969;
  font-weight: 400;
}

.shopify-bag {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px 4px 6px 6px;
  font-size: 14px;
  font-weight: 800;
  transform: rotate(-8deg);
}

.shopify-bag::before {
  position: absolute;
  top: -6px;
  left: 8px;
  width: 10px;
  height: 9px;
  border: 2px solid var(--green);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}

.hero-visual::before {
  position: absolute;
  inset: 0 16px 0 0;
  background:
    linear-gradient(110deg, rgba(238, 234, 255, 0.94), rgba(250, 249, 255, 0.86)),
    #f5f2ff;
  border-radius: 220px 0 220px 220px;
  content: "";
}

.checkout-window {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-left: 22px;
  background: #d7d7dc;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

.checkout-shell {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 622px;
}

.checkout-form,
.order-summary {
  padding: 25px 24px;
}

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #fafafd;
  border-left: 1px solid #e6e7ef;
}

.mock-logo {
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 850;
}

.express p {
  margin-bottom: 10px;
  text-align: center;
  color: #3e4255;
  font-size: 12px;
  font-weight: 600;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pay-option {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid #dfe2eb;
  border-radius: 5px;
  background: var(--white);
  font-size: 13px;
  font-weight: 850;
}

.apple::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 12px;
  margin-right: 4px;
  background: #111111;
  border-radius: 7px 7px 8px 8px;
  vertical-align: -1px;
}

.google {
  color: #3d455c;
}

.google::first-letter {
  color: #4285f4;
}

.paypal {
  color: #064da7;
  font-style: italic;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 22px 0 18px;
  color: #6b7080;
  font-size: 12px;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.field-group {
  margin-bottom: 20px;
}

.field-group h2 {
  margin-bottom: 11px;
  font-size: 16px;
  line-height: 1.2;
}

.mock-field,
.address-grid label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 45px;
  padding: 7px 10px;
  border: 1px solid #dfe2eb;
  border-radius: 5px;
  color: #9095a4;
  background: var(--white);
  font-size: 10px;
}

.mock-field strong,
.address-grid strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 11px;
}

.mock-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: #34384b;
  font-size: 11px;
  font-weight: 600;
}

.mock-check span {
  width: 12px;
  height: 12px;
  border: 1px solid #bcc1d0;
  border-radius: 3px;
}

.delivery-card {
  display: grid;
  grid-template-columns: 18px 96px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid #dfe2eb;
  border-bottom-width: 0;
  background: var(--white);
}

.delivery-card:first-of-type {
  border-radius: 7px 7px 0 0;
}

.delivery-card:last-of-type {
  border-bottom-width: 1px;
  border-radius: 0 0 7px 7px;
}

.delivery-card strong {
  color: #2146a3;
  font-size: 13px;
  font-style: italic;
  text-transform: uppercase;
}

.delivery-card:nth-child(3) strong {
  color: #ef2438;
}

.delivery-card:nth-child(4) strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 29px;
  border-radius: 3px;
  color: var(--white);
  background: #3bb54a;
  font-size: 8px;
  line-height: 1;
  font-style: normal;
}

.delivery-card small,
.delivery-card b {
  color: #1b1f31;
  font-size: 10px;
}

.delivery-card b {
  justify-self: end;
}

.radio {
  width: 13px;
  height: 13px;
  border: 1px solid #c5cad8;
  border-radius: 50%;
}

.is-active .radio {
  border: 3px solid var(--violet);
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.product-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 13px;
  padding-top: 55px;
}

.product-thumb {
  width: 52px;
  height: 58px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 34%, rgba(255, 255, 255, 0.18) 34% 39%, transparent 39%),
    linear-gradient(#262833, #11131c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.product-row strong,
.summary-lines b {
  font-size: 12px;
}

.product-row span,
.summary-lines span,
.summary-lines small,
.checkout-benefits small {
  display: block;
  color: #64697b;
  font-size: 11px;
}

.summary-lines {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.summary-lines p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.summary-lines .total {
  margin-top: 20px;
  margin-bottom: 4px;
}

.summary-lines .total span,
.summary-lines .total b {
  color: var(--ink);
  font-size: 15px;
}

/* ── Redesigned hero checkout mockup (mirrors the real popup) ───────── */
.checkout-form .mock-logo {
  text-transform: none;
  font-weight: 800;
  font-size: 19px;
}

.mock-input {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dfe2eb;
  border-radius: 6px;
  background: var(--white);
  color: #9095a4;
  font-size: 12px;
}

.address-grid { margin-bottom: 16px; }

.mock-panel {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.mock-panel-head {
  padding: 9px 12px;
  background: #f4f5f7;
  border-bottom: 1px solid var(--line);
  color: #44474a;
  font-size: 12px;
  font-weight: 700;
}

.mock-panel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.opt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #e2e4ea;
  border-radius: 8px;
  background: var(--white);
}

.opt-row .opt-text { flex: 1; min-width: 0; }

.opt-text strong {
  display: block;
  color: #202223;
  font-size: 12.5px;
  font-weight: 700;
}

.opt-text small {
  display: block;
  color: #6d7175;
  font-size: 11px;
}

.opt-row > b {
  margin-left: auto;
  color: #1b1f31;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.opt-free { color: var(--violet); }

.opt-icon { display: inline-flex; flex-shrink: 0; }
.opt-icon svg { width: 22px; height: 22px; display: block; }

.opt-logo {
  width: 38px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.opt-row.is-sel {
  border-color: var(--violet);
  background: var(--violet-soft);
  box-shadow: 0 0 0 1px var(--violet) inset;
}

.is-sel .radio { border: 4px solid var(--violet); }

/* Right column: product → discount → summary → notes */
.order-summary { gap: 18px; }
.product-row { padding-top: 0; }
.product-thumb { position: relative; overflow: visible; }

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.qty-badge {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--violet);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.mock-discount { display: flex; gap: 8px; }
.mock-discount .mock-input { flex: 1; }

.mock-discount button {
  flex-shrink: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--violet);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

.mock-notes .notes-label {
  display: block;
  margin-bottom: 6px;
  color: #64697b;
  font-size: 11px;
}

.notes-box {
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #dfe2eb;
  border-radius: 6px;
  background: var(--white);
  color: #9095a4;
  font-size: 11px;
}

.checkout-benefits {
  display: grid;
  gap: 20px;
  margin-top: auto;
  padding-bottom: 28px;
}

.checkout-benefits div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 15px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--violet-soft);
  border-radius: 50%;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.checkout-benefits p,
.checkout-benefits strong {
  margin: 0;
}

.checkout-benefits strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.logo-strip {
  padding: 28px 44px 40px;
  border-top: 1px solid #f1f2f7;
  border-bottom: 1px solid #f1f2f7;
  text-align: center;
}

.logo-strip p {
  margin-bottom: 28px;
  color: #565b70;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.logo-strip div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-strip span {
  color: #060606;
  font-size: 27px;
  font-weight: 850;
  line-height: 1;
}

.logo-strip span:nth-child(1),
.logo-strip span:nth-child(3) {
  font-family: Georgia, serif;
  font-style: italic;
}

.logo-strip span:nth-child(4) {
  font-size: 16px;
  line-height: 0.9;
}

.logo-strip span:nth-child(6) {
  font-weight: 400;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 44px;
}

.section-centered {
  text-align: center;
}

.section h2,
.results-copy h2,
.demo-section h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.15;
}

.section-lead {
  max-width: 600px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 28px;
  text-align: left;
}

.feature-card {
  min-width: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  color: var(--violet);
  background: var(--violet-soft);
  border-radius: 8px;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-card h3 {
  margin-bottom: 13px;
  font-size: 18px;
}

.feature-card p {
  margin-bottom: 0;
  color: #4f5367;
  font-size: 15px;
  line-height: 1.5;
}

.conversion-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 730px;
  margin: 32px auto 0;
  padding: 8px 20px;
  border: 1px solid #ddd8ff;
  border-radius: 8px;
  color: #4b3cff;
  background: #fbfaff;
  font-size: 16px;
  line-height: 1.25;
}

.results-band {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) repeat(3, minmax(160px, 0.7fr));
  gap: 24px;
  padding: 34px 88px 28px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(55, 45, 118, 0.66), rgba(18, 19, 62, 0.96)),
    var(--navy);
}

.results-copy {
  align-self: center;
}

.results-copy h2 {
  max-width: 430px;
  margin-bottom: 18px;
  color: var(--white);
}

.results-copy p {
  max-width: 420px;
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.35;
}

.metric-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.metric-card svg {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #c7bbff;
}

.metric-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1;
}

.metric-card span {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 88px;
}

.trust-row div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 15px;
}

.trust-row svg {
  width: 28px;
  height: 28px;
}

.trust-row p {
  margin: 0;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.trust-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.examples-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.examples-section .eyebrow,
.pricing-section .eyebrow,
.faq-section .eyebrow,
.demo-section .eyebrow {
  margin-bottom: 18px;
}

.examples-section .section-lead {
  margin-right: 0;
  margin-left: 0;
}

.example-grid {
  display: grid;
  gap: 16px;
}

.example-grid article,
.pricing-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.example-grid article {
  padding: 24px;
}

.example-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--violet);
  font-weight: 850;
}

.example-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.example-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Pricing styles live further down (.pricing-section / .pricing-card +
   .plan-* descendants). The original template's generic .pricing-card p
   / strong / span / .button rules were removed — the new structure
   uses class selectors so the cascade is unambiguous. */

.faq-section {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.demo-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  gap: 52px;
  max-width: 1180px;
  margin: 0 auto 52px;
  padding: 52px 44px;
  color: var(--white);
  background: var(--ink);
  border-radius: 22px;
}

.demo-section h2 {
  max-width: 620px;
  color: var(--white);
}

/* Lead sits on the dark section background — the default --muted (dark grey)
   is unreadable there, so use a softly faded white instead. */
.demo-section .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.demo-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.demo-form input:focus {
  border-color: #a79cff;
}

.demo-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.demo-form .button {
  width: 100%;
  margin-top: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* ─── Hero trial note + courier logos in delivery cards ──────────── */

.trial-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.courier-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 22px;
  max-width: 100%;
  pointer-events: none;
  overflow: hidden;
}

.courier-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Courier color accents on the delivery cards — left edge highlight when active */
.delivery-card.courier-boxnow.is-active { border-color: #1ab676; box-shadow: 0 0 0 1px #1ab676 inset; }
.delivery-card.courier-speedy.is-active { border-color: #e53935; box-shadow: 0 0 0 1px #e53935 inset; }
.delivery-card.courier-ekont.is-active  { border-color: #1c4ba0; box-shadow: 0 0 0 1px #1c4ba0 inset; }

/* ─── Courier chips (feature card) ─────────────────────────────────── */

.courier-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.courier-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid #e1e3e5;
  border-radius: 8px;
  height: 32px;
  min-width: 70px;
}

.courier-chip img {
  height: 16px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

.courier-chip.courier-boxnow { border-color: #b8e6cf; background: #f3fbf7; }
.courier-chip.courier-speedy { border-color: #f7c2bf; background: #fff5f4; }
.courier-chip.courier-ekont  { border-color: #c3d3ea; background: #f3f6fc; }
.courier-chip.courier-pigeon { border-color: #dcdfe7; background: #f7f8fb; }

/* ─── Demo / examples grid (placeholder tiles) ─────────────────────── */

.demo-section {
  /* Override the legacy two-column demo layout (1120) — the new demo stacks the
     intro on top of a full-width tile grid at every width, so the mass-gen panel
     uses the whole width instead of being squeezed into a ≤480px right column. */
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 44px;
}

.demo-intro {
  max-width: 720px;
  margin-bottom: 32px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 640px) {
  .demo-grid { grid-template-columns: 1fr; }
}

.demo-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e1e3e5;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.demo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 22, 28, .06);
}

.demo-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #f5f6fa 0%, #ebeef4 100%);
  color: #a5a8af;
  position: relative;
}

.demo-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 18px,
    rgba(20,22,28,.025) 18px,
    rgba(20,22,28,.025) 36px
  );
  pointer-events: none;
}

.demo-thumb svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.demo-meta {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-meta strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.demo-meta span {
  color: var(--muted);
  font-size: 12.5px;
}

/* Real screenshots inside demo tiles */
.demo-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 12px;
  background: linear-gradient(135deg, #f5f6fa 0%, #ebeef4 100%);
  border-bottom: 1px solid #e8eaed;
}

.demo-shot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(20, 22, 28, .12);
}

.demo-zoom {
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.demo-zoom:hover {
  transform: scale(1.015);
}

.demo-zoom:focus-visible {
  outline: 2px solid #008060;
  outline-offset: 3px;
}

/* Click-to-zoom lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(16, 18, 24, .82);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 140ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .3);
}

/* Mass-generation panel: spans the full width of the demo card, below the two
   smaller tiles. Stays a rounded white tile (inherits .demo-tile styling). */
.demo-tile-wide {
  grid-column: 1 / -1;
}

/* Caption sits above the gallery on the wide tile (no empty space below it).
   Horizontal padding matches the gallery so the text lines up with the images. */
.demo-meta-head {
  padding: 20px 24px 14px;
  border-bottom: 1px solid #e8eaed;
}

/* Gallery: the four courier screenshots as a 2×2 grid filling the full-width
   panel — two per row, the same size as the single screenshots in the other two
   tiles. Each image sits in an identical 4:3 box (object-fit: contain) so they
   all appear the same size before being clicked to zoom. */
.demo-shot-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  aspect-ratio: auto;
  padding: 24px;
  align-items: start;
  border-bottom: none;
}

.demo-shot-quad img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
}

@media (max-width: 560px) {
  .demo-shot-quad {
    grid-template-columns: 1fr;
  }
}

/* ─── Pricing section refresh ──────────────────────────────────────── */

.pricing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pricing-intro {
  max-width: 460px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #e1e3e5;
  border-radius: 18px;
  padding: 30px 30px 28px;
  box-shadow: 0 6px 24px rgba(20, 22, 28, .04);
}

.pricing-card .plan-label {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 4px;
}

.pricing-card .plan-price {
  display: block;
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
}

.pricing-card .plan-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.pricing-card .plan-vat {
  display: inline-block;
  margin: 2px 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.pricing-card .plan-trial {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #008060;
  font-weight: 600;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.pricing-card .plan-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
}

.pricing-card .plan-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #008060;
  font-weight: 800;
}

.pricing-card .plan-features .feat-soon {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
}

.pricing-card .button {
  width: 100%;
  margin-top: 6px;
}

.pricing-card .plan-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ─── Contact section ──────────────────────────────────────────────── */

.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-intro {
  flex: 1 1 420px;
  max-width: 620px;
  margin-bottom: 0;
}

.contact-cards {
  flex: 0 1 360px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  /* Nudge down from dead-center so the card lines up with the lead paragraph,
     between the heading and the description text. */
  transform: translateY(26px);
}

.contact-card {
  flex: 1 1 320px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid #e1e3e5;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: #cfe9df;
  box-shadow: 0 6px 20px rgba(20, 22, 28, .06);
}

.contact-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #008060;
}

.contact-ic svg {
  width: 22px;
  height: 22px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-text strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.contact-text small {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .contact-section { padding: 40px 24px; }
}

@media (max-width: 880px) {
  .pricing-section {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .demo-section { padding: 40px 24px; }
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 36px 44px;
  background: linear-gradient(135deg, var(--brand) 0%, #00684c 100%);
  color: var(--white);
  border-radius: 18px;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 28px;
  font-weight: 750;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.cta-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* CTA-band lives on a brand-green background, so the primary button
   inverts to white-on-green to stay visible. The light variant goes
   ghost: transparent fill, white border. */
.cta-band .button-primary {
  background: var(--white);
  color: var(--brand);
}

.cta-band .button-primary:hover {
  background: #f0fdf6;
}

.cta-actions .button-light {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.cta-actions .button-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
    margin: 40px 18px;
    padding: 28px;
  }
  .cta-actions { flex-wrap: wrap; }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer .brand {
  color: var(--ink);
  font-size: 22px;
}

.site-footer .brand-mark {
  width: 31px;
  height: 34px;
  font-size: 21px;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .main-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero-copy {
    max-width: 700px;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 610px;
  }

  .results-band {
    grid-template-columns: repeat(3, 1fr);
    padding-right: 44px;
    padding-left: 44px;
  }

  .results-copy {
    grid-column: 1 / -1;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 44px;
    padding-left: 44px;
  }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    font-size: 24px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-visual {
    justify-content: start;
    min-height: 0;
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .hero-visual::before {
    right: -140px;
    min-width: 720px;
  }

  .checkout-window {
    min-width: 720px;
  }

  .logo-strip div,
  .feature-grid,
  .examples-section,
  .pricing-section,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .logo-strip div {
    gap: 22px;
  }

  .feature-grid {
    gap: 30px;
  }

  .results-band {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .logo-strip,
  .results-band,
  .trust-row,
  .demo-section,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 21px;
  }

  .brand-mark {
    width: 32px;
    height: 36px;
    font-size: 22px;
  }

  .header-cta {
    padding: 0 13px;
    white-space: nowrap;
  }

  .hero-copy {
    padding-top: 16px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 11px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
  }

  .partner-badge {
    font-size: 18px;
  }

  .logo-strip span {
    font-size: 23px;
  }

  .section h2,
  .results-copy h2,
  .demo-section h2 {
    font-size: 28px;
  }

  .conversion-pill {
    display: flex;
    width: 100%;
    font-size: 14px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
