:root {
  --font: "Avenir Next", "Avenir", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --teal: #009193;
  --teal-dark: #00504F;
  --gold: #F2B544;
  --paper: #FFFBF2;
  --ink: #15322D;
  --ink-soft: #3F5D57;
  --coral: #EF6F56;
  --max: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--teal);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--paper);
  text-decoration-color: rgba(255,255,255,0.45);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--paper); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

header.site {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.3rem;
}
header.site .mark { height: 1.5rem; width: auto; display: block; }
header.site a { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; color: inherit; }

main { margin-top: 3rem; }

h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

p.lede {
  font-size: 1.2rem;
  color: rgba(255,251,242,0.92);
  max-width: 34rem;
  margin: 0 0 2.5rem;
}

/* App Store call to action (JBSP-531, 3.0 live Nov 4, 2026): the line, Apple's
   official black badge (app-store-badge.svg, used exactly as Apple provides it),
   then the availability line. JBSP-532 and JBSP-533 update the small line. */
.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.cta-note {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
}

/* Apple asks for clear space around the badge of at least a quarter of its
   height; the 1rem gaps above and below give that at 40px. */
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 40px; width: auto; display: block; }

.cta-small {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,251,242,0.85);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}
.features li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.features .icon { font-size: 1.3rem; flex: none; }
.features h2 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}
.features p { margin: 0; color: rgba(255,251,242,0.88); }

footer.site {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(255,251,242,0.8);
}
footer.site .links { display: flex; gap: 1.5rem; }

/* Inner pages (support, privacy): same teal canvas as Home, with the body
   copy inside a light card — the same pattern the app itself uses for a
   job's description text sitting on the teal screen background. */
body.page h1 { color: var(--paper); }

.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 1.75rem 1.9rem;
  box-shadow: 0 6px 20px rgba(0,30,30,0.18);
}
.card p { margin: 0 0 1.2rem; max-width: 36rem; }
.card p:last-child { margin-bottom: 0; }
.card a { color: var(--teal-dark); }
.card a.mail { font-weight: 600; }

.updated {
  font-size: 0.9rem;
  color: rgba(255,251,242,0.75);
  margin: -0.5rem 0 1.8rem;
}

@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  .wrap { padding: 3rem 1.25rem 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
