/* ============================================================
   CertPass — public marketing landing page
   ------------------------------------------------------------
   Scoped under .landing-* class names so nothing here touches
   the in-app pages. Loaded ONLY by views/landing.ejs (after
   styles.css, so it can layer onto the shared :root tokens).
   ============================================================ */

:root {
  --lp-bg: #ffffff;
  --lp-bg-tint: #F8FAFC;
  --lp-ink: #1C1C1E;
  --lp-ink-soft: #475569;
  --lp-ink-mute: #64748B;
  --lp-line: #E2E8F0;
  --lp-teal: #1D9E75;
  --lp-teal-dark: #168A66;
  --lp-teal-tint: #E7F6F0;
  --lp-charcoal: #1C1C1E;
  --lp-charcoal-2: #2C2C2E;
  --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --lp-shadow-md: 0 4px 6px rgba(15, 23, 42, 0.04), 0 10px 25px rgba(15, 23, 42, 0.08);
  --lp-shadow-lg: 0 10px 20px rgba(15, 23, 42, 0.08), 0 20px 50px rgba(15, 23, 42, 0.14);
}

.landing-body {
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.landing-body,
.landing-body * {
  box-sizing: border-box;
}

.landing-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   1. Top navigation
   ============================================================ */
.landing-nav {
  background: var(--lp-charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

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

.landing-brand .brand-mark {
  width: 26px;
  height: 26px;
}

.landing-wordmark {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.landing-wordmark-cert {
  color: #ffffff;
}

.landing-wordmark-pass {
  color: var(--lp-teal);
}

/* When the wordmark sits on a light background and the "cert" half
   needs to be dark instead of white. */
.landing-wordmark-cert-dark {
  color: var(--lp-ink);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-link-button {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 4px;
  transition: color 0.15s ease;
}

.landing-link-button:hover {
  color: #ffffff;
}

/* ============================================================
   Primary CTA — used in nav, hero, pricing, final CTA
   ============================================================ */
.landing-cta {
  display: inline-block;
  background: var(--lp-teal);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  box-shadow: var(--lp-shadow-sm);
}

.landing-cta:hover {
  background: var(--lp-teal-dark);
}

.landing-cta:active {
  transform: translateY(1px);
}

.landing-cta-sm {
  font-size: 14px;
  padding: 9px 16px;
}

.landing-cta-large {
  font-size: 17px;
  padding: 16px 30px;
}

.landing-secondary-link {
  color: var(--lp-teal);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 4px;
}

.landing-secondary-link:hover {
  color: var(--lp-teal-dark);
}

/* ============================================================
   2. Hero
   ============================================================ */
.landing-hero {
  background: linear-gradient(180deg, #FBFCFD 0%, #F8FAFC 100%);
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--lp-line);
}

.landing-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.landing-hero-headline {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 18px;
}

.landing-hero-subhead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--lp-ink-soft);
  margin: 0 0 32px;
  max-width: 540px;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Trustline below the hero CTA — subtle, single sentence, max one row
   on desktop. Sits flush left with the headline. */
.landing-hero-trustline {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--lp-ink-mute);
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 540px;
  line-height: 1.5;
}

/* ============================================================
   Hero visual — two stacked Apple Wallet pass mocks in different
   RTO brand colours, illustrating that any RTO can theme their
   own pass. The pass markup itself reuses the .cert-preview-*
   primitives defined in styles.css (the same component used by
   the org-settings preview), so the hero stays automatically in
   sync with the real rendered pass layout.

   Only stack-level positioning + the demo "logo tag" are defined
   here. All field typography, spacing, QR layout, etc. lives in
   styles.css under .cert-preview-*.

   The previous single-card-in-phone-frame mock has been retired;
   the .landing-phone-frame / .landing-phone-notch / .landing-pass-*
   class blocks were removed with it.
   ============================================================ */
.landing-hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 0;
}

/* Stack container — sized to fit two 320×480 cards offset
   diagonally with breathing room. position: relative anchors
   the absolutely-positioned cards inside. */
.landing-pass-stack {
  position: relative;
  width: 380px;
  height: 540px;
  max-width: 100%;
  margin: 0 auto;
}

.landing-pass-stack .landing-pass-card {
  position: absolute;
  box-shadow:
    0 18px 40px -12px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.20);
  transition: transform 220ms ease;
}

/* Back card — anchored top-right, tilted clockwise so it peeks
   out behind the front card's top-right corner. */
.landing-pass-card-back {
  top: 0;
  right: 0;
  transform: rotate(4deg);
  z-index: 1;
}

/* Front card — anchored bottom-left, tilted slightly the other
   way, sits on top of the back card. */
.landing-pass-card-front {
  bottom: 0;
  left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}

/* Demo brand mark — used in the landing hero only, standing in
   for a real RTO logo image. No background pill; the icon and
   wordmark sit directly on the card surface so they read as a
   proper brand asset rather than a generic chip. The icon keeps
   its own coloured fill (red cross / green shield etc.) and the
   wordmark renders in white to contrast against the dark card.
   Sits inside .cert-preview-logo-slot so spacing matches the
   production card. */
.landing-pass-demo-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.landing-pass-demo-logo svg {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

/* ============================================================
   Back-of-pass section ("There's a back, too.") — sits between
   "How it works" and "Pricing". Two-column split: explainer
   copy on the left, the iOS pass-back-panel mock on the right
   (reusing the .cert-preview-back primitives from styles.css).
   Stacks to a single column at the same mobile breakpoint as
   the hero.
   ============================================================ */
.landing-back-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.landing-back-copy-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.landing-back-copy-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--lp-ink-soft);
  margin: 0 0 20px;
}
.landing-back-copy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing-back-copy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lp-ink);
}
.landing-back-copy-bullet {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lp-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  margin-top: 2px;
}

/* Visual column — centres the back card and gives it a soft
   ambient shadow so it lifts off the section background. */
.landing-back-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.landing-back-card {
  box-shadow:
    0 18px 40px -12px rgba(0, 0, 0, 0.30),
    0 4px 12px rgba(0, 0, 0, 0.18);
  /* Back card has no fixed height in the org preview (it grows
     with content); keep that here too. */
}

/* ============================================================
   3. Social proof bar
   ============================================================ */
.landing-social {
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-line);
  padding: 18px 0;
}

.landing-social-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.landing-social-item {
  font-size: 13px;
  color: var(--lp-ink-mute);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.landing-social-dot {
  color: var(--lp-line);
  font-weight: 700;
}

/* ============================================================
   Generic section
   ============================================================ */
.landing-section {
  padding: 88px 0;
}

.landing-section-tinted {
  background: var(--lp-bg-tint);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.landing-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.landing-section-title {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 14px;
}

.landing-section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--lp-ink-soft);
  margin: 0;
}

.landing-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.landing-card {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-card:hover {
  border-color: #cdd5e0;
  box-shadow: var(--lp-shadow-sm);
}

.landing-card-problem {
  background: #fff;
}

.landing-card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--lp-ink);
}

.landing-card-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--lp-ink-soft);
  margin: 0;
}

.landing-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-icon svg {
  width: 24px;
  height: 24px;
}

.landing-icon-teal {
  background: var(--lp-teal-tint);
  color: var(--lp-teal-dark);
}

.landing-icon-muted {
  background: #F1F5F9;
  color: #64748B;
}

.landing-icon-sm {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.landing-icon-sm svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   How it works — numbered steps
   ============================================================ */
.landing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 24px 26px;
}

.landing-step-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lp-charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.landing-step-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--lp-ink);
}

.landing-step-text {
  font-size: 15px;
  color: var(--lp-ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   Pricing
   ============================================================ */
.landing-pricing-grid {
  align-items: stretch;
}

.landing-pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-pricing-featured {
  border-color: var(--lp-teal);
  border-width: 2px;
  box-shadow: 0 12px 28px rgba(29, 158, 117, 0.12);
  transform: translateY(-4px);
}

.landing-pricing-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.landing-pricing-tier {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-teal-dark);
}

.landing-pricing-headline {
  font-size: 16px;
  color: var(--lp-ink-soft);
  font-weight: 500;
  margin-top: -2px;
}

.landing-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
  color: var(--lp-ink);
}

.landing-pricing-from {
  font-size: 14px;
  color: var(--lp-ink-mute);
  font-weight: 500;
  margin-right: 2px;
}

.landing-pricing-currency {
  font-size: 22px;
  font-weight: 600;
  position: relative;
  top: -10px;
}

.landing-pricing-amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.landing-pricing-suffix {
  font-size: 15px;
  color: var(--lp-ink-mute);
  font-weight: 500;
  margin-left: 2px;
}

.landing-pricing-note {
  font-size: 13px;
  color: var(--lp-ink-mute);
  margin-bottom: 8px;
}

.landing-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--lp-line);
  padding-top: 18px;
}

.landing-pricing-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--lp-ink);
  line-height: 1.5;
}

.landing-pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lp-teal-tint)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5 9-10' stroke='%231D9E75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    center / 10px no-repeat;
}

.landing-pricing-cta {
  display: block;
  text-align: center;
  background: #fff;
  color: var(--lp-teal-dark);
  border: 1px solid var(--lp-teal);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.landing-pricing-cta:hover {
  background: var(--lp-teal-tint);
}

.landing-pricing-cta-featured {
  background: var(--lp-teal);
  color: #fff;
  border-color: var(--lp-teal);
}

.landing-pricing-cta-featured:hover {
  background: var(--lp-teal-dark);
  color: #fff;
}

/* ---------- Volume calculator ---------- */
.landing-pricing-calc {
  margin: 32px auto 0;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.landing-pricing-calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink);
}

.landing-pricing-calc-select {
  align-self: center;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--lp-ink);
  min-width: 240px;
  cursor: pointer;
}

.landing-pricing-calc-select:focus {
  outline: 2px solid var(--lp-teal);
  outline-offset: 2px;
}

.landing-pricing-calc-result {
  font-size: 14px;
  color: var(--lp-ink-soft);
  line-height: 1.6;
  min-height: 44px;
}

.landing-pricing-calc-plan {
  font-size: 14px;
  color: var(--lp-ink-soft);
}

.landing-pricing-calc-cost {
  font-size: 20px;
  color: var(--lp-ink);
  margin-top: 2px;
}

.landing-pricing-calc-cost strong {
  font-weight: 700;
  color: var(--lp-teal-dark);
}

/* ---------- Founding-rate offer ---------- */
/* Teal-bordered founders box per spec. Brand teal (#1D9E75) is the
   "this is the special offer" cue used elsewhere on the landing page
   (hero CTA, social-proof check ticks). */
.landing-pricing-founders {
  margin: 32px auto 0;
  max-width: 720px;
  text-align: center;
  background: #F0FDF4;
  border: 2px solid #1D9E75;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(29, 158, 117, 0.08);
}

.landing-pricing-founders-title {
  font-size: 18px;
  font-weight: 700;
  color: #064E3B;
  letter-spacing: -0.01em;
}

.landing-pricing-founders-rate {
  font-size: 22px;
  font-weight: 800;
  color: #1D9E75;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.landing-pricing-founders-body {
  font-size: 14px;
  line-height: 1.6;
  color: #065F46;
  max-width: 560px;
  margin: 0 auto;
}

.landing-pricing-founders-body strong {
  color: #064E3B;
  font-weight: 700;
}

.landing-pricing-founders-spots {
  font-size: 13px;
  color: #047857;
  margin-top: 4px;
}

.landing-pricing-founders-spots strong {
  color: #064E3B;
  font-weight: 700;
}

.landing-pricing-founders-cta {
  align-self: center;
  margin-top: 10px;
  display: inline-block;
  background: #1D9E75;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.landing-pricing-founders-cta:hover {
  background: #16805F;
}

/* Legal/marketing fineprint that lives directly under the pricing
   section (between the founders box and the trust section). */
.landing-pricing-fineprint {
  margin: 24px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
}

/* Legacy single-paragraph fallback (kept so older renders don't break) */
.landing-pricing-founders > strong:first-child {
  color: #064E3B;
  font-weight: 700;
}

/* ============================================================
   Trust section
   ============================================================ */
.landing-trust-grid {
  gap: 28px 32px;
}

.landing-trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.landing-trust-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--lp-ink);
}

.landing-trust-body {
  font-size: 14px;
  color: var(--lp-ink-soft);
  margin: 0;
  line-height: 1.55;
}

.landing-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--lp-teal-dark);
}

/* ============================================================
   9. Final CTA — dark band
   ============================================================ */
.landing-final-cta {
  background: var(--lp-charcoal);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.landing-final-cta-inner {
  max-width: 680px;
}

.landing-final-cta-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
}

.landing-final-cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 32px;
  line-height: 1.55;
}

/* ============================================================
   Australian trust bar (between hero and demo widget)
   ============================================================ */
/* Slim, low-contrast strip. Sits directly under the hero so visitors
   read the four trust points before scrolling into the demo. Uses the
   page's existing tint background so it reads as a quiet boundary
   rather than a competing section. */
.landing-trustbar {
  background: var(--lp-bg-tint);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  padding: 12px 0;
}

.landing-trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--lp-ink-soft);
  line-height: 1.4;
}

.landing-trustbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 500;
}

.landing-trustbar-flag {
  font-size: 14px;
  line-height: 1;
}

.landing-trustbar-dot {
  color: var(--lp-line-strong, #cbd5e1);
  user-select: none;
}

@media (max-width: 640px) {
  .landing-trustbar {
    padding: 14px 0;
  }
  .landing-trustbar-inner {
    font-size: 12.5px;
    gap: 6px 12px;
  }
}

/* ============================================================
   "Made for Australian RTOs" local-trust section
   ============================================================ */
/* Sits between the pricing-detail/feature section and the dark final
   CTA. Centred text block with eyebrow, headline, body, and a small
   metadata line. Uses .landing-section + .landing-section-tinted for
   default vertical rhythm and tint. */
.landing-au-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.landing-au-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-teal, #1D9E75);
  margin-bottom: 14px;
}

.landing-au-headline {
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--lp-ink);
  margin: 0 0 18px;
}

.landing-au-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--lp-ink-soft);
  margin: 0 auto 28px;
  max-width: 680px;
}

.landing-au-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  font-size: 13px;
  color: var(--lp-ink-soft);
}

.landing-au-domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--lp-ink);
}

.landing-au-dot {
  color: var(--lp-line-strong, #cbd5e1);
  user-select: none;
}

@media (max-width: 640px) {
  .landing-au-headline {
    font-size: 26px;
  }
  .landing-au-body {
    font-size: 15.5px;
  }
}

/* ============================================================
   10. Footer
   ============================================================ */
.landing-footer {
  background: var(--lp-charcoal);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 48px;
}

.landing-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.landing-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.landing-footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Small "Australian owned and operated" line under the tagline. Slightly
   dimmer than the tag itself so the tag remains the dominant line, with
   a tinted teal accent on the flag-plus-text to subtly tie back to the
   trust bar above the demo widget. */
.landing-footer-owned {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.landing-footer-domain {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.landing-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.landing-footer-links a:hover {
  color: #fff;
}

.landing-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.landing-footer-bottom .landing-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-footer-dot {
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .landing-hero {
    padding: 56px 0 64px;
  }
  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .landing-hero-headline {
    font-size: 38px;
  }
  .landing-hero-visual {
    max-width: 380px;
    margin: 0 auto;
  }
  /* Back-of-pass section stacks below the same breakpoint as the
     hero — copy on top, mock card below. */
  .landing-back-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .landing-section {
    padding: 64px 0;
  }
  .landing-section-title {
    font-size: 30px;
  }
  .landing-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* 4-col pricing grid — collapse to 2x2 on tablet, 1-col on phone
     (the @media max-width: 640px block below). */
  .landing-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .landing-grid-2 {
    grid-template-columns: 1fr;
  }
  /* Mobile: keep the featured pricing card visually prominent even
     when the cards stack vertically. We drop the upward translate
     (it looks broken in a vertical list) but preserve the green
     border + box-shadow + the "MOST RTOs" tag. The order:-1 lifts
     the featured card to the top of the stack so it's the FIRST
     thing the visitor sees on mobile. */
  .landing-pricing-featured {
    transform: none;
    order: -1;
    box-shadow:
      0 0 0 1px var(--lp-teal),
      0 14px 32px rgba(29, 158, 117, 0.18);
  }
}

@media (max-width: 640px) {
  .landing-container {
    padding: 0 18px;
  }
  /* Phone: 1-col stack for the 4-col pricing grid. The featured card
     gets order: -1 above so Standard is at the very top of the list. */
  .landing-grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .landing-nav-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .landing-wordmark {
    font-size: 20px;
  }
  .landing-hero {
    padding: 44px 0 56px;
  }
  .landing-hero-headline {
    font-size: 32px;
    line-height: 1.12;
  }
  .landing-hero-subhead {
    font-size: 16px;
    margin-bottom: 24px;
  }
  /* Mobile hero visual: shrink the stacked-pass mock so both
     cards still fit within the viewport. Cards stay 320px wide
     (their hard-locked size) and the stack just gets a smaller
     visual scale via transform: scale, preserving the diagonal
     offset and rotation effect. */
  .landing-hero-visual {
    max-width: 100%;
    margin: 8px auto 0;
    padding: 12px 0 4px;
  }
  .landing-pass-stack {
    transform: scale(0.85);
    transform-origin: top center;
    margin-bottom: -80px; /* reclaim vertical space lost to scale */
  }
  .landing-section {
    padding: 56px 0;
  }
  .landing-section-head {
    margin-bottom: 36px;
  }
  .landing-section-title {
    font-size: 26px;
  }
  .landing-section-sub {
    font-size: 15px;
  }
  .landing-card,
  .landing-pricing-card {
    padding: 22px 20px;
  }
  .landing-step {
    padding: 20px 18px;
    gap: 16px;
  }
  .landing-final-cta {
    padding: 56px 0;
  }
  .landing-final-cta-title {
    font-size: 24px;
  }
  .landing-cta {
    padding: 12px 18px;
    font-size: 15px;
  }
  .landing-cta-large {
    padding: 14px 24px;
  }
  .landing-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ============================================================
   Mobile responsiveness — additional 390px-target rules
   ----------------------------------------------------------------
   The pre-existing 640px block higher up already handles the bulk
   of the landing page (hero stack, pricing single-col, wallet card
   shrink, phone mockup hidden). This appended block adds the few
   gaps the audit found: nav action sizing, hero CTA stretch,
   pricing inputs, and demo widget responsiveness.
   ============================================================ */
@media (max-width: 640px) {
  /* Nav actions stay inline (only "Log in" + "Sign up" — fits at
     390px) but each gets a comfortable 44px tap target. The CTA
     stays right-aligned via the parent flex. */
  .landing-nav-actions {
    gap: 8px;
  }
  .landing-link-button,
  .landing-nav-actions .landing-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Hero CTAs: full-width primary, secondary link sits beneath
     centred. Reads better on a phone than the desktop side-by-side. */
  .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .landing-hero-actions .landing-cta,
  .landing-hero-actions .landing-cta-large {
    width: 100%;
    text-align: center;
  }
  .landing-hero-actions .landing-secondary-link {
    text-align: center;
  }

  /* Pricing CTAs full-width inside the (already stacked) cards. */
  .landing-pricing-cta {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Pricing cost calculator: select needs the iOS 16px font + 44px
     min-height (covered globally), but here we also need it to span
     full width inside the card. */
  .landing-pricing-calc-select {
    width: 100%;
    min-height: 44px;
  }

  /* Final CTA button stretches. */
  .landing-final-cta .landing-cta,
  .landing-final-cta .landing-cta-large {
    width: 100%;
    text-align: center;
  }

  /* Footer link cluster wraps to its own row beneath the brand. */
  .landing-footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
