/* ============================================================
   Sales Catalyst — shared stylesheet
   Plain CSS, mobile-first, no external fonts or CDNs.
   Palette (from the app):
     Primary orange  #FE8A15   Navy        #1E2D5B
     Navy muted      #4A5A8A   Soft orange #FFF3E6
     Hero bg         #F0F2F8   Card bg     #F8F9FC
     Border          #E8ECF1   Body text   #5B6B7D
     Muted text      #6B7785
   ============================================================ */

:root {
  --orange:       #FE8A15;
  --navy:         #1E2D5B;
  --navy-muted:   #4A5A8A;
  --soft-orange:  #FFF3E6;
  --hero-bg:      #F0F2F8;
  --card-bg:      #F8F9FC;
  --border:       #E8ECF1;
  --body-text:    #5B6B7D;
  --muted-text:   #6B7785;
}

/* ---------- Reset / base ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body-text);
  background: #FFFFFF;
}

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

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--navy);
}

a:hover,
a:focus {
  color: var(--orange);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Accessible skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #FFFFFF;
  padding: 0.625rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  color: #FFFFFF;
}

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

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

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

.hero {
  background: var(--hero-bg);
  padding: 3rem 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 1.75rem;
}

/* On small screens let the headline wrap naturally */
.hero h1 br {
  display: none;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 1.75rem;
}

/* Phone-style frame around the app screenshot */
.phone-frame {
  width: 240px;
  padding: 10px;
  background: var(--navy);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(30, 45, 91, 0.18);
}

.phone-frame img {
  border-radius: 20px;
  width: 100%;
}

/* ---------- Sections (shared) ---------- */

section {
  padding: 3.5rem 0;
}

section h2 {
  font-size: 1.625rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* ---------- How it works ---------- */

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--soft-orange);
  color: var(--orange);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--muted-text);
}

/* ---------- For teams ---------- */

.teams {
  background: var(--soft-orange);
}

.teams-inner {
  max-width: 640px;
  text-align: center;
}

.teams p {
  font-size: 1.0625rem;
}

/* ---------- Get the app ---------- */

.get-app-inner {
  text-align: center;
}

.get-app h2 {
  margin-bottom: 1.25rem;
}

/* "Coming soon" placeholder — swap for the real Google Play badge link */
.play-badge {
  display: inline-block;
  padding: 0.8125rem 1.75rem;
  border-radius: 8px;
  background: var(--navy-muted);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  opacity: 0.85;
  cursor: default;
}

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

.site-footer {
  background: var(--navy);
  color: #FFFFFF;
  padding: 2.5rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--orange);
  text-decoration: underline;
}

.footer-contact {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Legal page (privacy-policy.html) ---------- */

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.legal-content h1 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  text-align: left;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--card-bg);
  color: var(--navy);
}

/* Combined page: eyebrow + meta + two-level section hierarchy */
.legal-eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.legal-meta {
  color: var(--muted-text);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

/* "Privacy Policy" / "Terms of Use" — the two major sections */
.legal-content h2.legal-major {
  font-size: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border);
}

/* Numbered subsections (1. Data Controller, …) */
.legal-content h3 {
  font-size: 1.0625rem;
  text-align: left;
  margin: 1.5rem 0 0.5rem;
}

/* ---------- Desktop (min-width 720px) ---------- */

@media (min-width: 720px) {

  .hero {
    padding: 4.5rem 0;
  }

  .hero-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero-copy {
    flex: 1 1 55%;
  }

  .hero h1 {
    font-size: 2.625rem;
  }

  .hero h1 br {
    display: inline;
  }

  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-visual {
    flex: 0 0 auto;
  }

  .phone-frame {
    width: 260px;
  }

  section {
    padding: 4.5rem 0;
  }

  section h2 {
    font-size: 2rem;
  }

  .steps {
    flex-direction: row;
    gap: 1.5rem;
  }

  .step-card {
    flex: 1 1 0;
  }
}
