/* 100PcMTD – plain HTML/CSS site */

:root {
  --teal-light: rgb(128, 203, 196);
  --teal: rgb(77, 182, 172);
  --teal-dark: rgb(38, 166, 154);
  --ink: #1f2933;
  --muted: #52606d;
  --bg: #f5f7f8;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  --max: 1000px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--teal-dark); }
a:hover { color: var(--ink); }

h1, h2, h3 { line-height: 1.25; }
h2 {
  margin-top: 0;
  padding-bottom: 0.3em;
  border-bottom: 3px solid var(--teal-light);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

main > section.container {
  margin-top: 32px;
  margin-bottom: 32px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
main > section.container { padding-left: 28px; padding-right: 28px; }
section[id] { scroll-margin-top: 80px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.site-header nav a:hover { color: var(--teal-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--teal-light), var(--teal-dark));
  color: #06302b;
  padding: 48px 0 56px;
  text-align: center;
}
.hero h1 { margin-top: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.lead { font-size: 1.15rem; max-width: 700px; margin: 24px auto; }

.badge-panel {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 40px;
  padding: 24px 32px;
  box-shadow: var(--shadow);
}
.badge-panel img { max-height: 120px; width: auto; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid var(--teal-dark);
  background: var(--teal-light);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--teal); color: #000; }
.btn:active { background: var(--teal-dark); transform: translateY(1px); }
.btn::before { content: "\2193\00a0"; } /* down arrow */
.btn-outline { background: #fff; }
.btn-outline::before { content: none; }
.btn-secondary { background: #fff; border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-light); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

/* Content */
.screenshot {
  display: block;
  margin: 24px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps > li { margin-bottom: 14px; }

.checklist { list-style: none; padding-left: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.trustpilot {
  display: block;
  margin: 16px auto 0;
  width: 75%;
  max-width: 420px;
}

/* Offer banner */
.offer {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-dark));
  color: #000;
  border-radius: 16px;
  padding: 16px 24px;
  margin: 16px 0 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.offer-icon {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.offer-title {
  font-size: 1.4em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.price-card {
  border: 2px solid var(--teal-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
}
.price-card h3 { margin: 0 0 8px; }
.price { font-size: 1.1rem; margin: 0 0 8px; }
.price s { opacity: 0.6; }
.price strong { color: var(--teal-dark); font-size: 1.6rem; }
.price span { display: block; font-size: 0.85rem; color: var(--muted); }
.price-card p:last-child { margin-bottom: 0; color: var(--muted); }
.note { margin-top: 20px; color: var(--muted); }

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Small screens */
@media (max-width: 600px) {
  main > section.container {
    margin: 16px 10px;
    padding: 20px 16px;
  }
  .site-header nav { gap: 12px; font-size: 0.9rem; }
  .badge-panel { padding: 16px; border-radius: 24px; }
  .badge-panel img { max-height: 80px; }
}

/* Legacy tool page (100PcVatFreeBridge) */
.hero-legacy {
  background: linear-gradient(135deg, #cfd8dc, #90a4ae);
  color: var(--ink);
}
.legacy-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-image {
  display: block;
  margin: 24px auto 0;
  max-width: 760px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
main > section.legacy-notice {
  border-left: 6px solid var(--teal-dark);
}
.quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
}
.donate { margin: 16px 0 24px; }

/* Legacy banner on the 100PcMTD page */
.legacy-link {
  color: var(--muted);
}

/* Fundraising pages */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.donation-card {
  border: 2px solid var(--teal-light);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.donation-card h3 { margin: 0 0 8px; }
.donation-card h3 a { text-decoration: none; }
.donation-wide { grid-column: 1 / -1; }
.donations {
  list-style: none;
  padding: 10px 0 0;
  margin: 12px 0 0;
  border-top: 1px solid #e4e7eb;
}
.donations li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.donations span { color: var(--muted); }
.donations strong { color: var(--teal-dark); }

/* Statutory company disclosure */
.site-footer .legal {
  margin-top: 4px;
  font-size: 0.8rem;
}

/* ---- Mobile refinements ---- */
.badge-panel img { height: 110px; max-height: none; width: auto; }
.zoomable { display: block; cursor: zoom-in; }

@media (max-width: 600px) {
  /* Header: don't pin a two-row header to the screen; keep nav on one swipeable row */
  .site-header { position: static; }
  .header-inner { min-height: 0; padding-top: 10px; padding-bottom: 6px; gap: 6px; }
  .site-header nav {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { padding: 6px 0; }
  section[id] { scroll-margin-top: 10px; }

  /* Logos side by side and readable */
  .badge-panel { flex-wrap: nowrap; gap: 16px; }
  .badge-panel img { height: 72px; }

  /* Full-width buttons in lists: easier to tap, tidier edges */
  .btn-row .btn { flex: 1 1 100%; text-align: center; }

  /* Two photos per row instead of one long column */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.gallery a.zoomable { display: block; }

/* Phones and tablets (touch screen, no mouse): swap desktop download for guides */
.mobile-only { display: none; }
@media (hover: none) and (pointer: coarse) {
  .desktop-only { display: none; }
  .hero-actions.mobile-only { display: flex; }
  p.mobile-only { display: block; }
}
.mobile-note { flex-basis: 100%; margin: 0 0 4px; }
.mobile-note-inline {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-left: 4px solid var(--teal);
  background: #eef7f6;
  color: var(--muted);
  font-size: 0.95rem;
}
.btn-play::before { content: "\25B6\00a0"; } /* play triangle instead of down arrow */
