/* EasyHisab marketing system
   One file. One type. Action colour is teal. Header, page, and footer share it.
   IBM Plex Sans is self-hosted (OFL). See assets/fonts/OFL.txt.

   Order matters: later rules intentionally refine earlier ones (the second
   half adds the freight pages), so add new rules beside their section rather
   than re-declaring a selector elsewhere.

   Sections, top to bottom:
     Fonts and tokens            :root colours, spacing, container width
     Header, buttons, shared type
     Hero, phone frames, dark bands, feature rows, bill and web stages
     Inner pages, pricing, footer, header collapse
     Freight guides, pricing refinements
     Home: start, brief, staff steps, approval flow, hero stage
     Quotation section and carousels
     Illustrative product cards  (markup in _includes/cards.njk)
     Home reports card, aging colours, status pills
     Freight feature overview, responsive overrides */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #142421;
  --muted: #5a6864;
  --subtle: #6b7672;
  --green: #0f766e;
  --green-strong: #115e59;
  --green-soft: #e7f3f1;
  --green-on-dark: #d4efe8;
  --line: #e7e3da;
  --canvas: #f3f0e9;
  --paper: #ffffff;
  --bone: #faf8f4;
  --night: #0a1917;
  --night-2: #12262a;
  --mint: #5ccfc0;
  --gold: #c4843a;
  --gold-soft: #e2b778;
  --sea: #1d4e89;
  --air: #3f4d6b;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --container: 1160px;
  --section: clamp(80px, 9vw, 120px);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28, 25, 21, 0.05), 0 24px 48px -12px rgba(28, 25, 21, 0.12);
  --shadow-sm: 0 1px 2px rgba(28, 25, 21, 0.04), 0 12px 28px -16px rgba(28, 25, 21, 0.16);
  --night-wash:
    radial-gradient(60% 70% at 85% 30%, rgba(20, 137, 127, 0.32), transparent 70%),
    radial-gradient(40% 50% at 8% 0%, rgba(196, 132, 58, 0.14), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  --glow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 24px -8px rgba(15, 118, 110, 0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-strong);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--ink);
}

p {
  margin: 0 0 0.8em;
}

::selection {
  background: rgba(15, 118, 110, 0.16);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--night);
  color: #fff;
  border-radius: 8px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green-strong);
  outline-offset: 3px;
}

.topbar a:focus-visible,
.topbar button:focus-visible,
.stage a:focus-visible,
.page-hero--night a:focus-visible {
  outline-color: var(--mint);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ——— Header: same wordmark, same button, same type as the page ——— */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 25, 23, 0.96);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.topbar.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.topbar-row {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  display: block;
  /* The mark ships with white corners; clip them to its own rounded square. */
  border-radius: 17%;
}

.brand-name,
.site-footer-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-easy {
  color: var(--mint);
}

.brand-hisab {
  color: #9ad37f;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links > a {
  padding: 8px 10px;
  color: rgba(244, 250, 247, 0.72);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links > a:hover,
.nav-links > a.is-active {
  color: #fff;
}

.nav-product {
  position: relative;
}

.nav-product-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;
  background: none;
  color: rgba(244, 250, 247, 0.72);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-product-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.nav-product.is-open .nav-product-toggle,
.nav-product-toggle:hover {
  color: #fff;
}

.nav-product-menu {
  display: none;
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 260px;
  margin-top: -8px;
  padding: 16px 8px 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-product-menu::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 8px;
  bottom: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18, 26, 43, 0.12);
}

.nav-product.is-open .nav-product-menu {
  display: grid;
  gap: 8px;
}

.nav-product-menu a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}

.nav-product-menu a:hover,
.nav-product-menu a[aria-current="page"] {
  background: var(--canvas);
}

.nav-product-menu strong {
  font-size: 0.94rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-product-menu span {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 10px;
}

.nav-login {
  padding: 8px 10px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #14897f, var(--green));
  box-shadow: var(--glow);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--green-strong);
  color: #fff;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #14897f, var(--green));
  box-shadow: var(--glow);
  color: #fff;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--green), var(--green-strong));
  color: #fff;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green-strong);
}

.cta-row,
.page-hero-actions,
.cta-band-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ——— Shared type ——— */

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  color: var(--green-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-kicker--on-dark {
  background: none;
  color: var(--green-on-dark);
}

.section {
  padding: var(--section) 0;
}

.section--soft,
.section--alt {
  background: var(--canvas);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

/* A section head written as "container section-head" keeps the container's
   width and left edge; only its text is held to the 40rem measure. Without
   this the 40rem max-width shrinks the container and centres it, indenting
   the heading away from the cards below. */
.container.section-head {
  max-width: none;
}

.container.section-head > * {
  max-width: 40rem;
}

.section-head h2,
.marketing-page h2,
.cta-band h2,
.final-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.section-head p,
.page-hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

/* ——— Hero: Google Play badge and phone visual (GST billing hero) ——— */

.play-badge {
  display: block;
  width: 155px;
  height: auto;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 68%);
  z-index: 0;
}

/* ——— Phone frames ——— */

.phone-carousel {
  position: relative;
  z-index: 1;
  width: min(280px, 100%);
  margin: 0 auto;
}

.phone-carousel-frame,
.hero-carousel-frame {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero-carousel-slide {
  display: none;
  margin: 0;
}

.hero-carousel-slide.is-active {
  display: block;
}

.phone-shot,
.scene-phone {
  width: min(248px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: #121820;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(16, 24, 20, 0.16);
}

.scene-phone {
  width: min(232px, 100%);
  min-width: 0;
}

.phone-shot img,
.scene-phone img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 26px;
  background: #fff;
}

.phone-carousel .hero-carousel-slide figcaption,
.scene-phone figcaption {
  margin: 12px 0 0;
  text-align: center;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
}

.scene-phone figcaption {
  margin: 0;
  padding: 10px 4px 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.hero-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.hero-carousel-dots {
  display: flex;
  gap: 6px;
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 32, 27, 0.18);
  cursor: pointer;
}

.hero-carousel-dots button.is-active {
  width: 18px;
  background: var(--green);
}

/* ——— Dark bands share the footer colour ——— */

.bill-stage,
.final-cta,
.cta-band,
.site-footer {
  background: var(--night);
  color: #eef6f4;
}

.bill-stage,
.final-cta,
.cta-band,
.section--night {
  background: var(--night-wash);
}

.section--night {
  color: #eef6f4;
}

.section--night .section-kicker {
  color: var(--mint);
}

.section--night .section-head h2 {
  color: #fff;
}

.section--night .section-head p {
  color: rgba(244, 250, 247, 0.72);
}

/* ——— Feature rows ——— */

.benefit-stack {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
}

.benefit-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.benefit-row--flip .benefit-copy {
  order: 2;
}

.benefit-row--flip .benefit-visual {
  order: 1;
}

.benefit-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.benefit-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.benefit-plan {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.benefit-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  max-width: 24ch;
  text-wrap: balance;
}

.benefit-copy > p {
  color: var(--muted);
  max-width: 38rem;
}

.benefit-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.benefit-points li {
  padding: 10px 12px 10px 28px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.94rem;
}

.benefit-points li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 1.05em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.benefit-visual {
  display: flex;
  justify-content: center;
}

/* ——— Bill + web stages ——— */

.bill-stage,
.final-cta,
.cta-band {
  padding: var(--section) 0;
}

.bill-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.bill-copy h2,
.final-cta h2,
.cta-band h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 14ch;
  text-wrap: balance;
}

.bill-copy h2 {
  max-width: 22ch;
}

.bill-copy > p,
.final-cta p,
.cta-band p {
  color: rgba(244, 250, 247, 0.76);
  max-width: 34rem;
}

.bill-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bill-points li {
  padding-left: 14px;
  border-left: 2px solid rgba(142, 224, 188, 0.7);
}

.bill-points strong {
  display: block;
  color: #fff;
}

.bill-points span {
  color: rgba(244, 250, 247, 0.7);
  font-size: 0.9rem;
}

.bill-scene {
  position: relative;
  min-height: 520px;
}

.bill-paper {
  margin: 0;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.bill-paper img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.bill-paper--statement {
  position: absolute;
  top: 0;
  left: 0;
  width: min(420px, 92%);
  transform: rotate(2.2deg);
  z-index: 1;
}

.bill-paper--invoice {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: min(280px, 54%);
  transform: rotate(-2.4deg);
  z-index: 2;
}

.bill-chat {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 260px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px 16px 16px 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.bill-chat-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.bill-chat strong,
.bill-chat span:not(.bill-chat-mark) {
  display: block;
}

.bill-chat span:not(.bill-chat-mark) {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.bill-layouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.bill-layout {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bill-layout.is-on {
  background: #fff;
  color: var(--ink);
}

.bill-layout h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: inherit;
}

.bill-layout p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(244, 250, 247, 0.72);
}

.bill-layout.is-on p {
  color: var(--muted);
}

.final-cta .btn-secondary,
.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.feature-detail-grid,
.info-card-grid,
.link-card-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.feature-detail-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-detail-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-split,
.info-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-detail-card,
.faq-card,
.info-card,
.platform-panel,
.link-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-detail-card:hover,
.faq-card:hover,
.info-card:hover,
.link-card:hover {
  border-color: #d5e4dc;
}

.feature-detail-card h3,
.faq-card h3,
.info-card strong,
.platform-panel h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-detail-card p,
.faq-card p,
.info-card p,
.platform-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-detail-card ul,
.platform-panel ul,
.content-shell ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-detail-card {
  border-top: 3px solid var(--green);
}

/* ——— Inner pages ——— */

.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(50% 80% at 90% 0%, rgba(15, 118, 110, 0.1), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(196, 132, 58, 0.08), transparent 70%),
    var(--bone);
}

.page-hero--night {
  padding-bottom: clamp(56px, 7vw, 88px);
  background: var(--night-wash);
  color: #eef6f4;
}

.page-hero--night h1,
.page-hero--night .page-hero-proof li {
  color: #fff;
}

.page-hero--night .eyebrow,
.page-hero--night .crumbs a,
.page-hero--night .migrate-hint a {
  color: var(--mint);
}

.page-hero--night .page-hero-lead,
.page-hero--night .migrate-hint,
.page-hero--night .crumbs ol {
  color: rgba(244, 250, 247, 0.72);
}

.page-hero--night .crumbs li:not(:last-child)::after {
  color: rgba(244, 250, 247, 0.4);
}

.page-hero--night .pricing-hero-save {
  border-color: rgba(92, 207, 192, 0.3);
  background: rgba(92, 207, 192, 0.1);
  color: var(--mint);
}

.page-hero h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.046em;
  line-height: 1.02;
  text-wrap: balance;
}

.page-hero-lead {
  margin-top: 14px;
  max-width: 38rem;
}

.page-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-hero-proof li {
  position: relative;
  padding-left: 14px;
  font-weight: 550;
}

.page-hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.page-hero-actions {
  margin-top: 22px;
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.page-hero--portal .hero-carousel-frame {
  padding: 12px;
  border-radius: 20px;
  background: var(--night);
  box-shadow: 0 24px 50px rgba(12, 26, 20, 0.22);
}

.page-hero--portal .hero-carousel-slide img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.page-hero--portal .hero-carousel-slide figcaption {
  margin: 10px 4px 2px;
  color: rgba(244, 250, 247, 0.75);
  font-size: 0.86rem;
}

.product-band {
  padding: 8px 0 40px;
  background: var(--canvas);
}

.platform-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.link-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-strong);
}

.link-card-icon svg {
  width: 22px;
  height: 22px;
}

.content-shell {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.note,
.compare-lead,
.compare-note,
.legal-meta,
.info-card span,
.checkout-trust,
.pricing-note,
.pricing-tagline {
  color: var(--muted);
  font-size: 0.92rem;
}

.link-card {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.link-card strong {
  font-size: 1.1rem;
}

.link-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card-arrow {
  font-style: normal;
  font-weight: 700;
  color: var(--green-strong);
}

.content-page {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--canvas);
}

.content-shell h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.content-shell h2 {
  margin-top: 1.4em;
  font-size: 1.35rem;
}

.content-shell--wide {
  max-width: none;
}

/* ——— Pricing ——— */

.pricing-billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--line);
}

.pricing-billing-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.pricing-billing-toggle button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
}

.save-hint {
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-grid--shop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

@media (max-width: 980px) {
  .pricing-grid,
.pricing-grid--shop {
    grid-template-columns: 1fr;
  }
}

.pricing-card-inner {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.pricing-card--paid .pricing-card-inner {
  background: var(--night);
  border-color: transparent;
  color: #fff;
}

.pricing-card--paid h2,
.pricing-card--paid .pricing-amount {
  color: #fff;
}

.pricing-card--paid .pricing-tagline,
.pricing-card--paid .pricing-period,
.pricing-card--paid .pricing-note,
.pricing-card--paid .checkout-trust {
  color: rgba(244, 250, 247, 0.72);
}

.pricing-card-head h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.pricing-amount {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period,
.pricing-note {
  display: block;
  margin-top: 4px;
}

.pricing-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pricing-list li {
  padding-left: 18px;
  position: relative;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-list .is-muted {
  color: var(--subtle);
}

.pricing-card--paid .btn-primary {
  background: #fff;
  color: var(--green-strong);
}

body[data-billing="yearly"] .price-monthly,
body[data-billing="monthly"] .price-yearly {
  display: none;
}

.freight-price {
  padding-top: 8px;
  padding: var(--section) 0;
  background: var(--canvas);
}

.freight-price-desk {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.freight-price-buy {
  padding: 32px 32px 28px;
  background: #fff;
  color: var(--ink);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.freight-price-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.freight-price-buy h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.freight-price-buy .pricing-billing-toggle {
  margin: 0 0 22px;
}

.freight-price-buy .save-hint {
  margin-left: 4px;
  color: var(--green);
}

.freight-price-buy .pricing-billing-toggle button[aria-pressed="true"] .save-hint {
  color: #fff;
}

.freight-price-figure {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.freight-price-figure small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.freight-price-after,
.freight-price-trust {
  color: var(--muted);
}

.freight-price-after {
  max-width: 28rem;
  margin: 14px 0 22px;
  margin-top: 18px;
  line-height: 1.55;
}

.freight-price-trust {
  margin: 14px 0 0;
  font-size: 0.92rem;
  max-width: 31rem;
  line-height: 1.5;
}

.freight-price-cover {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
}

.freight-price-cover h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

.freight-price-cover ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.freight-price-cover b,
.freight-price-cover li span {
  display: block;
}

.freight-price-cover b {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.freight-price-cover li span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.freight-price-mail {
  margin: auto 0 0;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 20px;
  padding: 14px 16px 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .freight-price-desk,
  .freight-price-cover ul {
    grid-template-columns: 1fr;
  }

  .freight-price-buy {
    padding: 28px 22px 24px;
  }

  .freight-price-buy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.plan-table-wrap {
  overflow-x: auto;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.plan-table th,
.plan-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.plan-table th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}

.plan-row-group td {
  padding-top: 18px;
  font-weight: 700;
  color: var(--green-strong);
  border-bottom: 0;
}

.plan-yes {
  color: var(--green-strong);
  font-weight: 700;
}

.plan-no {
  color: var(--subtle);
}

/* ——— Footer: same night, same wordmark, same link weight as the nav ——— */

.site-footer {
  padding: 80px 0 0;
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 48px 28px;
}

.site-footer-name {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
}

.site-footer-name span {
  color: #fff;
}

.site-footer-brand p {
  margin: 0;
  max-width: 26rem;
  color: rgba(244, 250, 247, 0.84);
  font-size: 0.95rem;
}

.site-footer-label {
  margin: 0 0 14px;
  color: rgba(176, 214, 204, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 2px;
}

.site-footer nav a {
  padding: 6px 0;
  color: rgba(244, 250, 247, 0.82);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #fff;
}

.site-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 250, 247, 0.74);
  font-size: 0.88rem;
}

.site-footer-bar span {
  white-space: nowrap;
}

.support-sticky {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 94, 89, 0.28);
}

.support-sticky:hover {
  background: var(--green-strong);
  color: #fff;
}

.support-sticky:focus-visible {
  outline: 2px solid #d4efe8;
  outline-offset: 3px;
}

.privacy-settings-trigger {
  justify-self: start;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: rgba(244, 250, 247, 0.82);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.privacy-settings-trigger:hover {
  color: #fff;
}

.privacy-settings-trigger:focus-visible,
.privacy-consent button:focus-visible {
  outline: 2px solid #d4efe8;
  outline-offset: 3px;
}

.privacy-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(690px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 18px 20px;
  border: 1px solid rgba(20, 32, 27, 0.14);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 56px rgba(16, 24, 20, 0.2);
}

.privacy-consent[hidden] {
  display: none;
}

.privacy-consent-copy h2 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.privacy-consent-copy p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.privacy-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.privacy-consent button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #cfd9d3;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
}

.privacy-consent .privacy-consent-allow {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.privacy-consent .privacy-consent-allow:hover {
  border-color: var(--green-strong);
  background: var(--green-strong);
}

.privacy-consent .privacy-consent-reject:hover {
  background: #f4f6f4;
}

body:has(.support-sticky) .site-footer-bar {
  padding-right: max(0px, calc(164px - (100vw - min(1160px, 100vw - 40px)) / 2));
}

.mobile-cta-bar {
  display: none;
}

html.motion-safe .reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease) var(--reveal-delay, 0s),
    transform 0.6s var(--ease) var(--reveal-delay, 0s);
}

html.motion-safe .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .benefit-row,
.benefit-row--flip,
.bill-stage-grid,
.page-hero-split,
.platform-split,
.pricing-grid {
    grid-template-columns: 1fr;
  }

  .benefit-row--flip .benefit-copy,
  .benefit-row--flip .benefit-visual {
    order: unset;
  }

  .feature-detail-grid,
.faq-grid,
.link-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bill-layouts {
    grid-template-columns: 1fr 1fr;
  }

  .bill-scene {
    min-height: 0;
    display: grid;
    justify-items: center;
    margin-top: 12px;
  }

  .bill-paper--statement,
  .bill-paper--invoice,
  .bill-chat {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .bill-paper--statement {
    width: min(88%, 480px);
    transform: rotate(-1.2deg);
  }

  .bill-paper--invoice {
    width: min(72%, 280px);
    margin-top: -28px;
    transform: rotate(1.6deg);
  }

  .bill-chat {
    margin-top: -12px;
  }
}

/* Header collapse. js/site.js uses this same 1080px cutoff for the product menu. */
@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex;
  }

  .topbar-inner {
    display: block;
    position: relative;
    min-height: 0;
  }

  .topbar-row {
    justify-content: space-between;
    min-height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px 20px 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 16px 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a {
    padding: 12px 4px;
    border-radius: 10px;
  }

  .nav-product-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
  }

  .nav-product-menu {
    position: static;
    width: auto;
    margin: 0 0 8px;
    padding: 0 0 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-product-menu::before {
    content: none;
  }

  .nav-product-menu a {
    color: #fff;
  }

  .nav-product-menu a:hover,
  .nav-product-menu a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-product-menu span {
    color: rgba(244, 250, 247, 0.6);
  }

  .nav-actions {
    display: grid;
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    height: 44px;
  }
}

@media (max-width: 860px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .feature-detail-grid,
.faq-grid,
.link-card-grid,
.info-card-grid {
    grid-template-columns: 1fr;
  }

  

  .product-band .scene-phone {
    width: 210px;
    flex: 0 0 210px;
    scroll-snap-align: center;
  }

  

  .support-sticky {
    display: none;
  }

  body:has(.support-sticky) .site-footer-bar {
    padding-right: 0;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
  }

  .privacy-consent {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
    width: auto;
    max-height: calc(100dvh - 100px - env(safe-area-inset-bottom));
    padding: 16px;
  }

  body:has(.mobile-cta-bar) .privacy-consent {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .privacy-consent-actions {
    flex-wrap: nowrap;
    justify-content: stretch;
  }

  .privacy-consent button {
    flex: 1 1 0;
    min-height: 38px;
  }

  .privacy-consent {
    gap: 10px;
    padding: 12px 14px;
  }

  .privacy-consent-copy h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .privacy-consent-copy p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .mobile-cta-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-cta-bar__play {
    background: var(--green);
    color: #fff;
  }

  body:has(.mobile-cta-bar) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* Practical freight guides */
.guide-card-grid,
.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card,
.guide-related-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover,
.guide-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.guide-card-index {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.guide-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.guide-card-link,
.guide-related-card > span:last-child {
  margin-top: auto;
  color: var(--green);
  font-weight: 650;
}

.guide-sequence {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.guide-sequence h2 { margin: 8px 0 14px; }
.guide-sequence p { color: var(--muted); line-height: 1.7; }

.guide-sequence-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-sequence-steps li {
  display: grid;
  grid-template-columns: 44px 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.guide-sequence-steps li > span { color: var(--green); font-weight: 700; }
.guide-sequence-steps small { color: var(--muted); }

.guide-content .page-hero-inner { max-width: 920px; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: 0.9rem; }
.guide-breadcrumb a { color: var(--green); font-weight: 600; text-decoration: none; }

.guide-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 290px);
  gap: 54px;
  align-items: start;
}

.guide-article { min-width: 0; }
.guide-section { margin: 0 0 48px; scroll-margin-top: 100px; }
.guide-section h2 { margin: 8px 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.guide-section p,
.guide-section li { color: var(--muted); line-height: 1.75; }
.guide-section p { margin: 0 0 14px; }
.guide-section ul { padding-left: 1.25rem; }
.guide-screenshot { margin: 28px 0 48px; }
.guide-screenshot > .feature-showcase-ui { border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 38px rgba(16, 24, 20, 0.08); }
.guide-screenshot figcaption { margin-top: 10px; color: var(--subtle); font-size: 0.88rem; line-height: 1.5; }

.guide-checklist { display: grid; gap: 10px; margin: 18px 0; padding-left: 1.25rem; }
.guide-callout { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--green-soft); }
.guide-callout h2 { margin-top: 0; }
.guide-formula { display: grid; gap: 6px; margin: 22px 0; padding: 22px; border-radius: 14px; background: var(--night); color: #fff; }
.guide-formula span { color: var(--green-on-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.guide-formula strong { font-size: 1.25rem; }
.guide-formula small { color: rgba(255,255,255,.72); }

.guide-aside { position: sticky; top: 110px; display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.guide-aside > strong { font-size: 1.1rem; }
.guide-aside p { margin: 0; color: var(--muted); line-height: 1.6; }
.guide-aside .text-link { margin-top: 4px; }
.guide-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-related-card { min-height: 180px; padding: 20px; gap: 12px; }
.guide-related-card strong { font-size: 1.05rem; }
.guide-related-card .guide-card-index { margin-bottom: 0; }

@media (max-width: 900px) {
  .guide-article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .guide-aside { position: static; }
  .guide-sequence { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .guide-card-grid,
  .guide-related-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: auto; }
  .guide-sequence-steps li { grid-template-columns: 36px 1fr; }
  .guide-sequence-steps small { grid-column: 2; }
  .guide-callout { padding: 20px; }
}

/* Pricing page uses the same hero size as the other marketing pages. */

.pricing-hero-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 24px;
  color: var(--muted);
}

.pricing-hero-price-line strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pricing-hero-price-line > span:not(.pricing-hero-save) {
  color: var(--subtle);
}

.pricing-hero-save {
  padding: 6px 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 0.8rem;
  font-weight: 700;
}.price-equivalent {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
}.freight-price-buy .cta-row {
  margin-top: 8px;
}.pricing-included-heading .section-kicker {
  color: var(--green-strong);
}

.pricing-included-heading h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
}

.pricing-included-heading p {
  margin: 0 0 24px;
  color: var(--muted);
}

.freight-price-cover ul.pricing-included-grid {
  gap: 12px;
}

.pricing-included-grid li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  min-height: 142px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(150deg, #fff, var(--paper));
}

.pricing-included-grid .pricing-included-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 0.72rem;
  font-weight: 700;
}

.pricing-included-grid li div { min-width: 0; }
.pricing-included-grid b { margin: 1px 0 6px; }
.pricing-included-grid li span:not(.pricing-included-icon) { font-size: 0.86rem; line-height: 1.45; }

.freight-price-cover .freight-features-trigger {
  align-self: flex-start;
  margin-top: 18px;
}.pricing-product-proof {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.pricing-product-proof-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.pricing-product-proof-copy h2 {
  margin: 10px 0 14px;
  max-width: 13ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.pricing-product-proof-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-product-proof-visual {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pricing-product-proof-visual > .feature-showcase-ui {
  border-radius: 12px;
}

.pricing-product-proof-visual figcaption {
  padding: 10px 6px 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .freight-price-desk,
  .pricing-product-proof-inner { grid-template-columns: 1fr; }
  .pricing-product-proof-copy h2 { max-width: 18ch; }
  .freight-price-buy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .pricing-hero-price-line { gap: 8px 11px; }
  .freight-price-buy,
  .freight-price-cover { padding: 26px 20px; }
  .freight-price-cover ul.pricing-included-grid { grid-template-columns: 1fr; }
  .pricing-included-grid li { min-height: 0; }
  .pricing-product-proof-visual { padding: 8px; border-radius: 15px; }
}

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

  .btn-primary:hover,
.mode-card:hover {
    transform: none;
  }
}

/* Start: one section instead of three stacked strips */

.start {
  padding: clamp(56px, 7vw, 80px) 0;
  background: var(--canvas);
}

/* ——— EasyHisab Freight homepage: brief and offer ——— */

.brief {
  display: grid;
  gap: 28px;
  align-items: start;
}

.brief-side h2 {
  max-width: 16em;
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.brief-side h2 .brief-name {
  white-space: nowrap;
}

.brief-side > p {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
}

.brief-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: brief;
  border-top: 1px solid var(--line);
}

.brief-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
  counter-increment: brief;
}

.brief-list li::before {
  content: counter(brief, decimal-leading-zero);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.brief-list h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.brief-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

@media (min-width: 980px) {
  .brief {
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    gap: 72px;
  }

  .brief-side {
    position: sticky;
    top: 108px;
  }
}

.final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-trial-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.home-trial-copy .section-kicker {
  margin-bottom: 14px;
}

.home-trial-copy h2 {
  max-width: 12ch;
  margin-bottom: 16px;
}

.home-trial-copy > p {
  margin: 0;
  line-height: 1.65;
}

.home-trial-actions {
  margin-top: 26px;
}

.home-trial-cta .home-trial-actions .btn-primary {
  background: #fff;
  color: #111;
}

.home-trial-cta .home-trial-actions .btn-primary:hover {
  background: #f3f4f6;
  color: #111;
}

.home-trial-copy .home-trial-note {
  margin-top: 14px;
  color: rgba(244, 250, 247, 0.58);
  font-size: 0.82rem;
}

.home-trial-note span {
  padding: 0 5px;
  color: var(--green-on-dark);
}

.home-trial-preview {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(244, 250, 247, 0.17);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.12);
}

.home-trial-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 250, 247, 0.13);
}

.home-trial-preview-head span {
  color: var(--green-on-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-trial-preview-head strong {
  color: rgba(244, 250, 247, 0.68);
  font-size: 0.84rem;
  font-weight: 550;
}

.home-trial-steps {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.home-trial-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 250, 247, 0.1);
}

.home-trial-steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(183, 212, 190, 0.26);
  border-radius: 50%;
  color: var(--green-on-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.home-trial-steps li div {
  display: grid;
  gap: 3px;
}

.home-trial-steps li strong {
  color: #eef6f4;
  font-size: 0.95rem;
  font-weight: 620;
}

.home-trial-steps li small {
  color: rgba(244, 250, 247, 0.57);
  font-size: 0.81rem;
}

.home-trial-steps li > b {
  color: var(--green-on-dark);
  font-size: 0.88rem;
  text-align: right;
}

.home-trial-preview-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 18px;
  color: rgba(244, 250, 247, 0.6);
  font-size: 0.75rem;
}

.home-trial-preview-foot i {
  color: var(--green-on-dark);
  font-style: normal;
}

.home-trial-preview-foot strong {
  color: #fff;
  font-weight: 650;
}

.series-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.series-steps li {
  margin: 0;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.series-steps span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.series-steps h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.series-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .series-steps {
    grid-template-columns: 1fr;
  }
}

#how,
#ledgers,
#staff,
#migrate,
#trial,
#faq,
#plans {
  scroll-margin-top: 88px;
}

.staff-next {
  margin-top: clamp(48px, 6vw, 72px);
}

/* ——— Staff steps (cards from staffInvite / staffMember / staffAccess) and the
   approval flow diagram (built by js/site.js: .flow-line, .flow-tag, .is-live) ——— */

.offer a {
  color: var(--green-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.staff-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-flow > li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.staff-step {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.staff-flow h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.staff-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.flow-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.flow-switch,
.flow-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.flow-play {
  padding: 8px 14px;
}

.flow-switch:focus-visible,
.flow-play:focus-visible,
.flow-node:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.flow-switch-knob {
  position: relative;
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: #ddd4c8;
}

.flow-switch-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease);
}

.flow.is-check .flow-switch-knob {
  background: var(--green);
}

.flow.is-check .flow-switch-knob::after {
  transform: translateX(14px);
}

.flow-board {
  position: relative;
  margin-top: 16px;
  padding: 92px 18px 88px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle, rgba(154, 67, 24, 0.16) 1px, transparent 1.2px) 0 0 / 18px 18px,
    var(--canvas);
  box-shadow: 0 18px 40px rgba(18, 26, 43, 0.05);
  overflow: visible;
}

.flow-svg {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow-line {
  fill: none;
  stroke: #d9cfc3;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.flow-line.is-live {
  stroke: var(--green);
  stroke-width: 2.25;
}

.flow-line.is-skip {
  stroke-dasharray: 1.5 7;
}

.motion-safe .flow-line.is-hot {
  stroke-dasharray: 7 8;
  animation: flow-dash 0.7s linear infinite;
}

.flow-tag-bg {
  fill: #fff;
  stroke: #e4d3c3;
}

.flow-tag text {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: var(--green-strong);
}

.flow-board-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 108px;
  margin: 0;
  padding: 12px 12px 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 26, 43, 0.05);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.flow-node small {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.flow-node strong {
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.flow-node > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.flow-node--start {
  border-color: transparent;
  background: var(--night);
  color: #fff;
}

.flow-node--start small {
  color: #d4efe8;
}

.flow-node--start > span {
  color: rgba(232, 240, 250, 0.72);
}

.flow-node:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(154, 67, 24, 0.1), 0 12px 28px rgba(18, 26, 43, 0.06);
}

.flow-node--start:hover {
  border-color: transparent;
}

.flow-node.is-quiet {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.flow-node.is-quiet small {
  color: #b7a89a;
}

.flow-node.is-hot {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(154, 67, 24, 0.14), 0 12px 28px rgba(18, 26, 43, 0.06);
}

.flow-node--end.is-hot {
  border-color: transparent;
  background: var(--green);
  color: #fff;
}

.flow-node--end.is-hot small,
.flow-node--end.is-hot > span {
  color: rgba(255, 255, 255, 0.86);
}

.flow-detail {
  min-height: 1.6em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -30;
  }
}

@media (max-width: 800px) {
  .staff-flow,
  .flow-board-inner {
    grid-template-columns: 1fr;
  }

  .flow-board {
    padding: 28px 52px 28px 16px;
  }

  .flow-node {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-switch-knob::after,
  .flow-node,
  .flow-line {
    transition: none;
    animation: none;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 76px;
  }
}

/* ——— Homepage: the desk ——— */

.stage {
  position: relative;
  overflow: hidden;
  background: var(--night-wash);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 50% 20%, #000, transparent);
  pointer-events: none;
}

.stage > .container {
  position: relative;
}

.stage .btn-secondary,
.page-hero--night .btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.stage .btn-secondary:hover,
.page-hero--night .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.stage-grid {
  display: grid;
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: 24px;
  align-items: center;
}

/* A keyword lead-in inside the H1 keeps its small pill look on its own line. */
.stage h1 .stage-kicker,
.page-hero h1 .eyebrow {
  display: flex;
  width: fit-content;
  line-height: 1.4;
}

.stage-kicker {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid rgba(226, 183, 120, 0.32);
  border-radius: 999px;
  background: rgba(226, 183, 120, 0.08);
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.stage h1 {
  margin: 0;
  max-width: 11em;
  color: #fff;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.stage-copy {
  min-width: 0;
}

.stage-accent {
  background: linear-gradient(95deg, #8fe6da 0%, var(--mint) 45%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stage-lead {
  max-width: 40rem;
  margin: 0 0 22px;
  color: rgba(244, 250, 247, 0.74);
  font-size: 1.2rem;
}

.stage-note {
  max-width: 36rem;
  margin: 16px 0 0;
  color: rgba(244, 250, 247, 0.6);
  font-size: 0.92rem;
}

.stage-note a {
  color: var(--mint);
}

.migrate-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stage .migrate-hint {
  max-width: 36rem;
  color: rgba(244, 250, 247, 0.6);
}

.stage .migrate-hint a {
  color: var(--mint);
}

.stage-papers {
  margin: 0;
}

.stage-papers-stack {
  position: relative;
  isolation: isolate;
  padding-top: 15%;
}

.stage-papers-back,
.stage-papers-front {
  display: block;
  height: auto;
  background: #fff;
  border-radius: 2px;
}

.stage-papers-back {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 7%;
  width: 82%;
  transform: rotate(1.2deg);
  transform-origin: 70% 0;
  box-shadow:
    0 0 0 1px rgba(28, 25, 21, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.2);
}

.stage-papers-front {
  position: relative;
  z-index: 2;
  width: 96%;
  transform: rotate(-0.35deg);
  transform-origin: 12% 16%;
  box-shadow:
    0 0 0 1px rgba(28, 25, 21, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.16),
    0 22px 44px rgba(0, 0, 0, 0.34),
    0 48px 80px rgba(0, 0, 0, 0.22);
}

.stage-papers figcaption {
  width: 96%;
  margin: 18px 0 0;
  color: rgba(232, 240, 250, 0.72);
  font-size: 0.9rem;
}

.stage-papers figcaption b {
  display: block;
  color: #d4efe8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-papers figcaption span {
  display: block;
  margin-top: 6px;
}

.doc-stack {
  position: relative;
  min-height: 0;
}

.doc-back,
.doc-front {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 18px 40px rgba(28, 25, 21, 0.18);
}

.doc-back {
  margin-bottom: 18px;
}

@media (min-width: 980px) {
  .doc-stack {
    min-height: 640px;
  }

  .doc-back,
  .doc-front {
    position: absolute;
  }

  .doc-back {
    width: 68%;
    right: 0;
    top: 0;
    margin: 0;
    transform: rotate(2.4deg);
  }

  .doc-front {
    width: 74%;
    left: 0;
    top: 78px;
  }
}

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 8px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(28, 25, 21, 0.14);
}

.stage .offer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.stage .offer b {
  color: #fff;
}

.stage .offer span {
  color: rgba(244, 250, 247, 0.6);
}

.stage .offer a {
  color: var(--mint);
}

.offer b,
.offer span {
  display: block;
}

.offer b {
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.offer span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.gst-play {
  margin: 18px 0 0;
  text-align: center;
}

.gst-web-shot {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.gst-web-shot > .feature-showcase-ui {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.gst-web-shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ——— Quotation section: home quote showcase, Features quote tour with the dark
   desk-only margin panel, workflow strip, and the setup carousel ——— */

.quote-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.quote-product-tour {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: stretch;
}

.quote-product-tour > .quote-detail-screenshot {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.quote-margin-panel,
.quote-setup-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.quote-margin-head,
.quote-feature-index {
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.quote-feature-index {
  color: var(--green);
}

.quote-margin-kpis div {
  display: grid;
  gap: 4px;
}

.quote-margin-kpis span {
  color: #b6c4d6;
  font-size: 0.77rem;
}

.quote-margin-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: #121a2b;
  color: #fff;
}

.quote-margin-head {
  display: grid;
  gap: 5px;
  color: #b6c4d6;
}

.quote-margin-head span:last-child {
  color: #efb982;
  font-size: 0.59rem;
}

.quote-margin-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 12px;
  margin: 22px 0;
}

.quote-margin-kpis strong {
  font-size: 1.04rem;
}

.quote-margin-panel p {
  margin: 0;
  color: #b6c4d6;
  font-size: 0.78rem;
  line-height: 1.5;
}

.quote-convert-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.quote-convert-flow > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
}

.quote-convert-flow > div > span {
  grid-row: span 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.quote-convert-flow strong {
  font-size: 0.86rem;
}

.quote-convert-flow small,
.quote-convert-flow > b {
  color: var(--muted);
  font-size: 0.72rem;
}

.quote-setup-card {
  overflow: hidden;
  background: #fff;
}

.quote-setup-slide {
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-height: 330px;
}

.quote-setup-slide.is-active {
  display: grid;
}

.quote-setup-slide .quote-setup-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.quote-setup-controls {
  margin-top: 18px;
}

.quote-setup-controls .hero-carousel-btn:hover,
.quote-setup-controls .hero-carousel-btn:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

/* ——— Feature carousels: one card on the left, copy on the right per slide ——— */

/* Cards directly above a carousel (Sea / Air / Road on Features) get the same
   16px gap the quote tour uses above its workflow strip. */
.mode-grid + .feature-showcase-carousel {
  margin-top: 16px;
}

.feature-showcase-slide {
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-showcase-slide.is-active {
  display: grid;
}

.feature-showcase-ui {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
  background: #f7f8f6;
}

/* ——— Illustrative product cards (markup in _includes/cards.njk) ———
   Frame .feature-showcase-ui, then any of: .feature-ui-head (kicker + number),
   -route, -facts / -pair (boxed facts), -table + -total (rows and a total),
   -adjustment (credit or debit note), -category, -note. Colour carries meaning
   only: .ui-status pills, .is-profit, .is-late and the aging tones. */

/* Homepage cards share one frame; the job card is wide, facts in one row on desktop. */
.home-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.home-job-card {
  margin-bottom: 28px;
}

.feature-ui-total + .feature-ui-facts {
  margin-top: 8px;
}

.feature-ui-facts.feature-ui-facts--one {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

/* Staff steps: a compact card above each step's copy. */
.staff-flow .feature-showcase-ui {
  justify-content: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

@media (min-width: 801px) {
  .staff-flow .feature-showcase-ui {
    min-height: 256px;
  }
}

.home-job-card .feature-ui-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.feature-showcase-copy h3 {
  margin: 8px 0;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  letter-spacing: -0.025em;
}

.feature-showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-showcase-controls {
  margin-top: 18px;
}

.feature-showcase-controls .hero-carousel-btn:hover,
.feature-showcase-controls .hero-carousel-btn:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.feature-ui-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #dfe5df;
  color: var(--green);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.feature-ui-head strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-align: right;
}

.feature-ui-route {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.feature-ui-route b,
.feature-ui-adjustment > b {
  color: var(--green);
}

.feature-ui-facts,
.feature-ui-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-ui-facts > div,
.feature-ui-pair > div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid #e0e6e0;
  border-radius: 9px;
  background: #fff;
}

.feature-ui-facts span,
.feature-ui-pair span,
.feature-ui-adjustment span {
  color: var(--muted);
  font-size: 0.71rem;
}

.feature-ui-facts strong,
.feature-ui-pair strong {
  font-size: 0.79rem;
}

.feature-ui-pair small {
  color: var(--muted);
  font-size: 0.65rem;
}

.feature-ui-category {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e6e0;
}

.feature-ui-category b {
  color: var(--green);
  font-size: 0.84rem;
}

.feature-ui-category span {
  font-size: 0.8rem;
  font-weight: 650;
}

.feature-ui-category i {
  color: var(--muted);
  font-size: 0.61rem;
  font-style: normal;
}

.feature-ui-table {
  display: grid;
  margin-top: 12px;
}

.feature-ui-table > div,
.feature-ui-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e6e0;
  font-size: 0.8rem;
}

.feature-ui-table > div > span {
  color: #52605a;
}

.feature-ui-total {
  align-items: baseline;
  border-bottom: 0;
  font-weight: 700;
}

.feature-ui-total strong {
  font-size: 1.04rem;
}

.feature-ui-adjustment {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 20px 0 6px;
}

.feature-ui-adjustment > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e6e0;
  border-radius: 9px;
  background: #fff;
}

.feature-ui-adjustment strong {
  font-size: 0.86rem;
}

.feature-ui-note {
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--green-soft);
  color: #53645a;
  font-size: 0.7rem;
  line-height: 1.45;
}

/* ——— Home reports card: one card, two halves ——— */

.report-board {
  display: grid;
}

.report-desk {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f8f6;
  box-shadow: var(--shadow);
}

.section--night .report-board {
  color: var(--ink);
}

.section--night .report-desk {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55);
}

.report-desk-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0e6e0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-desk-top strong {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Two halves: what the desk earned, and what is still to collect. */
.report-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  padding-top: clamp(18px, 3vw, 26px);
}

.report-half + .report-half {
  padding-left: clamp(20px, 4vw, 48px);
  border-left: 1px solid #e0e6e0;
}

.report-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
}

.report-figure {
  margin: 6px 0 2px;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.report-sub {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.report-half .feature-ui-table {
  margin-top: 10px;
}

.report-half .feature-ui-table > div:last-child {
  border-bottom: 0;
}

.report-foot {
  margin: clamp(18px, 3vw, 24px) 0 0;
  padding-top: 14px;
  border-top: 1px solid #e0e6e0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.report-foot a {
  color: var(--green);
  font-weight: 650;
  white-space: nowrap;
}

/* ——— Meaning colours: green profit, rust for overdue, and status pills ——— */

.is-profit {
  color: var(--green);
}

.is-late {
  color: #8a3b12;
}

/* Status pill inside a card row (Issued, Draft, Superseded, Yes/No). */
.ui-status {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.ui-status--ok { background: var(--green-soft); color: var(--green-strong); }
.ui-status--draft { background: #ecebe6; color: #555b58; }
.ui-status--muted { background: #f1efeb; color: #5f6562; }
.ui-status--late { background: #f6e6dc; color: #8a3b12; }

/* ——— Aging colours, green (not due) to dark rust (90+). Shared by the home
   reports card and the receivables aging card; tones come from _data/sample.js. ——— */

.age-ok { background: #c9ddd4; }
.age-30 { background: #e4c7a8; }
.age-60 { background: var(--gold); }
.age-90 { background: #a65a24; }
.age-over { background: #8a3b12; }

/* Stacked bar: one segment per bucket, width = share of the total. */
.age-bar {
  display: flex;
  height: 14px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece7e0;
}

.age-bar i {
  display: block;
  height: 100%;
}

.age-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.74rem;
}

.age-legend li {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Colour square in the legend, and beside a bucket label in a card table. */
.age-legend i,
.age-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.age-dot {
  margin-right: 8px;
  vertical-align: -1px;
}

/* ——— Quotation copy beside cards, and the home quote steps ——— */

.quote-setup-copy {
  padding: 18px 20px 20px;
}

.quote-setup-copy h3 {
  margin: 7px 0 6px;
  font-size: 1.05rem;
}

.quote-setup-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.quote-story {
  display: grid;
  gap: 22px;
}

.quote-story article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
}

.quote-step {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.quote-story h3 {
  margin: 1px 0 6px;
  font-size: 1.08rem;
}

.quote-story p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.quote-more {
  justify-self: start;
  margin-left: 56px;
  color: var(--green);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 800px) {
  .quote-showcase,
  .quote-product-tour {
    grid-template-columns: 1fr;
  }

  .home-trial-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-trial-copy h2 {
    max-width: 16ch;
  }

  .quote-setup-slide {
    grid-template-columns: 1fr;
  }

  .feature-showcase-slide {
    grid-template-columns: 1fr;
  }

  .feature-showcase-ui {
    min-height: 230px;
  }

  .home-job-card .feature-ui-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-split {
    grid-template-columns: 1fr;
  }

  .report-half + .report-half {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid #e0e6e0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .feature-ui-facts,
.feature-ui-pair,
  .home-job-card .feature-ui-facts {
    grid-template-columns: 1fr;
  }

  

  .quote-convert-flow {
    grid-template-columns: 1fr;
  }

  .quote-convert-flow > b {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (min-width: 880px) {
  

  

  

  .stage-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
    align-items: start;
  }

  .stage-intro {
    grid-column: 1 / -1;
  }

  .stage h1 {
    max-width: 10em;
  }

  .offer {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
}

/* Freight feature overview and optional pricing checklist */

.freight-capabilities {
  background: #fff;
}

.freight-capabilities--directory {
  padding-top: 50px;
}

.freight-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.freight-capability-card {
  display: flex;
  min-width: 0;
  min-height: 218px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.freight-capability-card:hover,
a.freight-capability-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(124, 52, 18, 0.42);
  box-shadow: 0 14px 32px rgba(18, 26, 43, 0.08);
}

.freight-capability-number {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.freight-capability-card h3 {
  margin: 20px 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.freight-capability-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.freight-capability-card > a,
.freight-capability-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--green-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.freight-capability-footnote {
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 0.9rem;
}

.freight-features-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--green-strong);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}

.freight-features-trigger:hover,
.freight-features-trigger:focus-visible {
  color: var(--ink);
}

.freight-features-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(88vh, 900px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(18, 26, 43, 0.3);
}

.freight-features-dialog::backdrop {
  background: rgba(18, 26, 43, 0.62);
  backdrop-filter: blur(3px);
}

.freight-features-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.freight-features-dialog-head .section-kicker {
  color: var(--green-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.freight-features-dialog-head h2 {
  max-width: 680px;
  margin: 10px 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.freight-features-dialog-head p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.freight-features-close {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.freight-features-close:hover,
.freight-features-close:focus-visible {
  border-color: var(--green-strong);
}

.freight-features-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 36px 10px;
}

.freight-features-groups section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.freight-features-groups h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.freight-features-groups ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.freight-features-groups li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.freight-features-board .freight-features-groups {
  padding: 0;
}

.freight-features-board .freight-features-note {
  margin: 16px 0 0;
}

.freight-features-groups h3 a {
  color: inherit;
  text-decoration: none;
}

.freight-features-groups h3 a:hover,
.freight-features-groups h3 a:focus-visible {
  color: var(--green-strong);
}

#all-features {
  scroll-margin-top: 96px;
}

.freight-features-groups li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-strong);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 700;
}

.freight-features-note {
  margin: 12px 36px 0;
  color: var(--subtle);
  font-size: 0.86rem;
}

.freight-features-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 36px 30px;
}

.freight-features-dialog-actions .btn-secondary {
  border: 1px solid var(--line);
}

.crumbs {
  margin: 0 0 16px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.crumbs a {
  color: var(--green-strong);
  font-weight: 600;
  text-decoration: none;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--subtle);
  font-weight: 500;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mode-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mode-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.mode-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mode-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.mode-card a {
  margin-top: auto;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.mode-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

#modes,
#gst-tds,
.mode-card {
  scroll-margin-top: 96px;
}

.info-card--emphasis {
  border-color: var(--green);
  background: var(--green-soft);
}

@media (max-width: 850px) {
  .freight-capability-grid,
.mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
}

@media (max-width: 620px) {
  .freight-capability-grid,
.freight-features-groups,
.mode-grid,
.mode-grid--pair {
    grid-template-columns: 1fr;
  }

  .freight-capability-card {
    min-height: 0;
    padding: 20px;
  }

  .freight-features-dialog {
    width: calc(100% - 16px);
    max-height: 92vh;
    border-radius: 16px;
  }

  .freight-features-dialog-head {
    gap: 12px;
    padding: 24px 20px 18px;
  }

  .freight-features-groups {
    padding: 16px 20px 4px;
  }

  .freight-features-note {
    margin: 12px 20px 0;
  }

  .freight-features-dialog-actions {
    flex-wrap: wrap;
    padding: 18px 20px 22px;
  }
}
