/* landing.css -- styles used only by the landing page (index.html) and the
   Privacy / Terms pages: the marketing layout (gh-*), its nav and buttons,
   the pricing section and the legal-page layout. Shared tokens, buttons, the
   auth modal and dialogs stay in styles.css, which these pages also load. */

/* Privacy Policy / Terms of Service pages (privacy.html, terms.html) */
.legal-body {
  background: var(--bg);
  color: var(--text-main);
  margin: 0;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border-color);
}

.legal-back { color: var(--a); font-weight: 700; text-decoration: none; }

.legal-page {
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.5rem) 3rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.legal-page h2 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; }

.legal-page h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }

.legal-page p, .legal-page li { color: var(--text-main); }

.legal-page ul { padding-left: 1.25rem; }

.legal-page li { margin-bottom: 0.4rem; }

.legal-page a { color: var(--a); }

.legal-updated { color: var(--text-muted) !important; margin-top: 0; }

/* verify.html (the "Verify my email" link) */
.verify-page { text-align: center; max-width: 52ch; }
.verify-page .btn { width: auto; display: inline-block; padding: 12px 22px; text-decoration: none; }
/* More than one button (the unsubscribe page): side by side, wrapping on phones. */
.verify-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.legal-footer {
  text-align: center;
  padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-footer a { color: var(--text-muted); font-weight: 600; }

.btn-theme {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-theme:hover {
  background: var(--hover-bg);
}

/* ========================================== */
.landing-wrapper {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.landing-nav {
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  text-decoration: none;
}

.landing-logo span {
  color: var(--a);
}

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

.btn-text-nav {
  background: transparent;
  border: none;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.15s;
}

.btn-text-nav:hover {
  background: var(--hover-bg);
}

.btn-nav-cta {
  width: auto;
  padding: 8px 18px;
  background: var(--a);
  color: var(--on-a);
  font-size: 0.9rem;
}

.btn-nav-cta:hover {
  background: var(--a-hover);
}

.btn-hero-primary {
  background: var(--p);
  color: #ffffff;
  padding: 16px 24px;
}

.btn-hero-primary:hover {
  background: var(--p-hover);
}

/* ---------- Landing page layout (#landingView) ----------
   A split hero (the pitch on the left, the real app on the right),
   alternating rows that pair each idea with a piece of the app, a plain
   checklist, then pricing. Icons are inline SVG symbols (#gi-*). */
.gh-ico {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.btn-theme .gh-ico { width: 20px; height: 20px; vertical-align: middle; }

.gh-nav-links { display: flex; gap: 24px; margin-left: auto; margin-right: 4px; }

.gh-nav-links a { color: var(--text-muted); font-weight: 600; text-decoration: none; }

.gh-nav-links a:hover, .gh-nav-links a:focus-visible { color: var(--a); }

.gh-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warn);
  margin: 0 0 0.9rem;
}

.gh-hero {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.gh-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.gh-hero h1 em { font-style: normal; color: var(--a); }

.gh-lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 0 1.75rem;
}

.gh-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.gh-cta-row .btn-hero-primary { width: auto; }

.gh-text-link {
  color: var(--a);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 75%, transparent);
  padding-bottom: 2px;
}

.gh-proof { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 8px; color: var(--text-muted); }

.gh-proof li { display: flex; align-items: center; gap: 10px; }

.gh-proof .gh-ico { color: var(--s); }

/* The floats hang off the phone's top and bottom frame, never over its content. */
.gh-stage { position: relative; display: flex; justify-content: center; padding: 52px 0 112px; }

.gh-stage::before {
  content: '';
  position: absolute;
  inset: 6% 4% 2%;
  border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.gh-phone {
  position: relative;
  width: min(320px, 100%);
  border-radius: 38px;
  padding: 10px;
  background: #23201D;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.4);
}

.gh-screen { background: var(--bg); border-radius: 30px; overflow: hidden; padding-bottom: 14px; }

.gh-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 12px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

.gh-app-bar .brand-mark { width: 22px; height: 22px; }

.gh-app-bar .app-wordmark { font-size: 1.05rem; }

.gh-app-month { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); }

.gh-summary {
  margin: 12px;
  padding: 12px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: grid;
  gap: 8px;
}

.gh-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }

.gh-summary .pill-success { font-size: 0.68rem; padding: 2px 8px; }

.gh-big { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.gh-big small { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }

.gh-bar { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--hover-bg); }

.gh-bar i { display: block; }

.gh-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 12px; }

.gh-tile {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  padding: 10px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gh-tile i { position: absolute; left: 0; right: 0; bottom: 0; }

.gh-tile span, .gh-tile b { position: relative; }

.gh-tile span { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); }

.gh-tile b { font-size: 0.92rem; font-variant-numeric: tabular-nums; }

.gh-float {
  position: absolute;
  z-index: 2;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.3);
}

.gh-float-sync { top: 0; left: 2%; display: flex; align-items: center; gap: 10px; }

.gh-float-sync b { display: block; font-size: 0.92rem; }

.gh-float-sync small { color: var(--text-muted); font-size: 0.8rem; }

.gh-float-giving { bottom: 0; right: 2%; display: grid; gap: 2px; min-width: 180px; }

.gh-float-giving small { color: var(--text-muted); font-size: 0.78rem; font-weight: 700; }

.gh-float-giving b { font-family: var(--font-display); font-size: 1.5rem; color: var(--s); font-variant-numeric: tabular-nums; }

.gh-mini-btn {
  margin-top: 6px;
  justify-self: start;
  background: var(--s);
  color: var(--on-s);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}

.gh-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--on-accent);
  flex-shrink: 0;
}

.gh-av2 { background: var(--chart-4); color: var(--on-a); }

.gh-av3 { background: var(--chart-5); color: var(--on-a); }

/* Sections */
.gh-how,
.gh-more {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border-color);
}

.gh-section-head { max-width: 640px; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }

.gh-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.gh-section-head p:not(.gh-eyebrow) { color: var(--text-muted); font-size: 1.1rem; line-height: 1.55; margin: 1rem 0 0; }

.gh-pricing-head { margin-inline: auto; text-align: center; }

.gh-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.gh-row + .gh-row { border-top: 1px dashed var(--border-color); }

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

.gh-row-copy h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gh-row-copy h3 .gh-ico { color: var(--a); }

.gh-row-copy p { color: var(--text-muted); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.25rem; max-width: 34em; }

.gh-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.gh-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }

.gh-checks .gh-ico { color: var(--s); }

.gh-visual {
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: 24px;
  background: color-mix(in srgb, var(--a) 6%, var(--bg));
  min-width: 0;
}

.gh-card {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.gh-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }

.gh-meter { height: 10px; border-radius: 999px; background: var(--hover-bg); overflow: hidden; }

.gh-meter i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

.gh-activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.gh-activity li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }

.gh-activity em { font-style: normal; color: var(--text-muted); font-weight: 400; }

.gh-activity b { margin-left: auto; font-variant-numeric: tabular-nums; }

.gh-receipt-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 460px;
}

/* Paper stays paper-colored in both themes. */
.gh-receipt {
  background: #FFFDF8;
  color: #2B2724;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.72rem;
  padding: 14px 12px 16px;
  display: grid;
  gap: 6px;
  border-radius: 4px;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.gh-receipt b { text-align: center; letter-spacing: 0.2em; }

.gh-receipt span { display: flex; justify-content: space-between; gap: 8px; }

.gh-receipt i { font-style: normal; }

.gh-receipt-total { border-top: 1px dashed #B9B0A6; padding-top: 6px; font-weight: 700; }

.gh-flow-arrow { width: 40px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

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

.gh-envelopes li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.gh-envelopes span { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

.gh-envelopes b { margin-left: auto; font-variant-numeric: tabular-nums; }

.gh-pending { display: grid; gap: 2px; padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--s) 9%, var(--card-bg)); text-align: center; }

.gh-pending small { color: var(--text-muted); font-weight: 700; font-size: 0.8rem; }

.gh-pending b { font-family: var(--font-display); font-size: 2rem; color: var(--s); font-variant-numeric: tabular-nums; }

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

.gh-paychecks li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }

.gh-paychecks b { color: var(--text-main); margin-left: auto; font-variant-numeric: tabular-nums; }

.gh-paychecks .pill-warn, .gh-paychecks .pill-success { font-size: 0.7rem; }

.gh-name-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border-color); }

.gh-name-chips span { font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--border-color); color: var(--text-muted); }

.gh-name-chips span.on { border-style: solid; border-color: var(--a); color: var(--a); background: color-mix(in srgb, var(--a) 8%, transparent); }

.gh-more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 28px 40px;
}

.gh-more-list li { display: flex; gap: 14px; align-items: flex-start; }

.gh-more-list .gh-ico { width: 26px; height: 26px; color: var(--a); margin-top: 2px; }

.gh-more-list b { display: block; font-size: 1.08rem; margin-bottom: 2px; }

.gh-more-list span { color: var(--text-muted); line-height: 1.5; }

@media (max-width: 900px) {
  .gh-hero, .gh-row { grid-template-columns: 1fr; }

.gh-row-flip .gh-row-copy { order: 0; }
}

@media (max-width: 480px) {
  .gh-receipt-flow { grid-template-columns: 1fr; }

.gh-flow-arrow { transform: rotate(90deg); justify-self: center; }

.gh-float-giving { min-width: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .gh-float-sync { animation: ghFloat 6s ease-in-out infinite; }

.gh-float-giving { animation: ghFloat 6s ease-in-out 3s infinite; }
}

@keyframes ghFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Pricing Section */
.landing-pricing-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 1.5rem);
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.pricing-card.featured {
  border-color: var(--a);
  border-width: 2px;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--a) 15%, transparent);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--a);
  color: var(--on-a);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.plan-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.featured-badge {
  color: var(--a);
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem 0;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.plan-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.interval-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 2rem;
  padding: 4px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--card-bg);
}

.interval-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.interval-btn.active { background: var(--a); color: var(--on-a); }

.billing-year .price-month,
.billing-month .price-year { display: none; }

.plan-billing {
  margin: -0.25rem 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.household-callout {
  background: color-mix(in srgb, var(--a) 8%, transparent);
  border: 1px dashed var(--a);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.pricing-card.basic .plan-price { color: var(--text-muted); }

.pricing-card.basic .plan-list li { color: var(--text-muted); }

.plan-list li.plan-missing { opacity: 0.55; }

.plan-fineprint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Founding Member pricing (pricing.js shows one or the other) */
.founder-note {
  margin: -0.5rem 0 1rem;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.founder-soldout {
  margin: 2rem auto 0;
  max-width: 640px;
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: var(--fs-md);
}

.welcome-teaser {
  margin: 2rem auto 0;
  max-width: 640px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--s) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--s) 35%, transparent);
  font-size: 0.95rem;
}

/* Closing call to action: a dark evergreen band, left-aligned */
.landing-cta-banner {
  /* Both stops stay dark enough for white text in either theme. */
  background: linear-gradient(135deg, var(--p-hover) 0%, var(--p) 100%);
  color: #ffffff;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 20px;
  max-width: 1120px;
  margin: 0 auto 4rem auto;
  width: calc(100% - 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
}

.gh-cta-mark {
  width: 72px;
  height: 72px;
  color: #ffffff;
}

.landing-cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  text-wrap: balance;
}

.landing-cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.landing-cta-banner .btn-hero-primary {
  background: #ffffff;
  color: var(--p);
  width: auto;
  white-space: nowrap;
}

.landing-cta-banner .btn-hero-primary:hover {
  background: #F3EFE9;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: auto;
}

.landing-footer p { margin: 0; }

.gh-footer-logo { font-size: 1.15rem; }

.gh-footer-links { display: flex; gap: 18px; }

.gh-footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; }

.gh-footer-links a:hover { color: var(--a); }

@media (max-width: 768px) {
  .landing-nav { padding: 0.75rem 1rem; }

.gh-nav-links { display: none; }

.btn-text-nav { padding: 8px 10px; }

.pricing-grid { grid-template-columns: 1fr; }

.landing-cta-banner { grid-template-columns: 1fr; text-align: left; padding: 2rem 1.25rem; border-radius: 16px; width: calc(100% - 2rem); }

.gh-cta-mark { width: 48px; height: 48px; }
}

/* ---------- givehold.com/signin: only the sign-in card ----------
   index.html adds html.signin-page there; the marketing page above is kept
   for the full launch. Closing the card goes to givehold.com's home page. */
html.signin-page #landingView { display: none; }
html.signin-page body { background: var(--bg); }
html.signin-page #authScreen { background: var(--bg); backdrop-filter: none; animation: none; }
html.signin-page .auth-card { box-shadow: none; border: 1px solid var(--border-color); animation: none; }

/* Beta access request in the sign-in card (auth.js requestBetaAccess). */
.beta-intro { font-size: var(--fs-sm); color: var(--text-muted); margin: 0 0 12px; text-align: left; line-height: 1.5; }
.beta-done { color: var(--text-main); }
.beta-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; }
