/* Same brand colors as the main site's theme (pt-express-custom.css :root) - kept in sync
   manually, since this is a separate static site with no shared build step. */
:root {
  --accent-blue: #4ab2f1;
  --accent-blue-active: #248ece;
  --dark-gray: #2b2b2b;
  --gray: #6b6b6b;
  --light-blue-bg: #eaf6fe;
  --border: #e2e2e2;
  --card-shadow: 0 4px 16px rgba(36, 142, 206, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark-gray);
  line-height: 1.55;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-blue-active);
}

svg {
  width: 100%;
  height: 100%;
}

/* ---------- Header ---------- */

.site-header {
  padding: 16px 20px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

/* ---------- Section rhythm ---------- */

.section {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 20px;
}

.section-lede {
  color: var(--gray);
  text-align: center;
  margin: -4px 0 28px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Scroll-reveal: fully visible by default (no-JS fallback) - script.js adds
   .reveal-pending before observing, so only JS-enabled browsers ever see the
   pre-animation hidden state at all. */
.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-active) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 20px 56px;
  animation: fade-in 0.6s ease-out;
}

/* Decorative dot-grid, drawn as a CSS radial-gradient pattern rather than an image file -
   zero extra network weight, purely a texture behind the hero text. */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .reveal-pending {
    animation: none;
    transition: none;
  }
}

.hero-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero-sub {
  font-size: 1.08rem;
  opacity: 0.96;
  margin: 0 0 30px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 560px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.scroll-cue {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  margin: 40px auto 0;
  color: rgba(255, 255, 255, 0.85);
  animation: bob 2s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    animation: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  min-width: 220px;
  text-align: center;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
}

.btn-primary {
  background: #fff;
  color: var(--accent-blue-active);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: #f2f2f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ---------- Intro ---------- */

.section-intro {
  text-align: center;
}

.intro-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent-blue-active);
}

.section-intro p {
  text-align: left;
  margin: 0 0 16px;
}

/* ---------- Facts ---------- */

.section-facts {
  max-width: 900px;
  background: var(--light-blue-bg);
  border-radius: 24px;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fact-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.fact-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--accent-blue);
  border-radius: 10px;
  padding: 8px;
}

.fact-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.fact-card p {
  margin: 0;
  color: var(--gray);
}

/* Ordering vs. broadcast-channel WhatsApp are two different things (different purpose,
   different number/link) - genuinely separate paragraphs with their own divider, not just
   two lines of the same paragraph joined by a <br>. */
.whatsapp-item {
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.whatsapp-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.whatsapp-item strong {
  color: var(--dark-gray);
}

.pte-todo {
  text-decoration: underline dotted;
}

/* ---------- Steps ---------- */

.section-howitworks {
  max-width: 640px;
}

.steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: none;
}

.steps li {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

/* Connecting line between step numbers, drawn from each circle's center down to the next */
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 1;
}

.step-text {
  padding-top: 6px;
}

.steps-note {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
  padding-left: 52px;
}

/* ---------- Bottom CTA ---------- */

.section-cta-bottom {
  max-width: 100%;
  text-align: center;
  padding: 56px 20px 64px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-active) 100%);
  color: #fff;
}

.section-cta-bottom h2 {
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 28px 20px 40px;
  color: var(--gray);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 4px 0;
}
