/* Park Here - landing + legal pages */
:root {
  --green: #34c759;
  --green-dark: #28a745;
  --ink: #1c1c1e;
  --ink-soft: #3a3a3c;
  --muted: #6e6e73;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --border: #e5e5ea;
  --radius: 22px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

main { flex: 1; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a[href*="apps.apple.com"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(52, 199, 89, 0.24);
}
.nav-links a[href*="apps.apple.com"]:hover {
  text-decoration: none;
  background: var(--green-dark);
}
.language-picker { display: inline-flex; }
.language-picker select {
  max-width: 150px;
  min-height: 38px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Language suggestion ---------- */
.language-suggestion {
  border-bottom: 1px solid rgba(52, 199, 89, 0.28);
  background: #effbf2;
  color: var(--ink-soft);
}
.language-suggestion[hidden] { display: none; }
.language-suggestion .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.language-suggestion p { margin: 0; font-size: 15px; }
.language-suggestion-actions { display: flex; align-items: center; gap: 14px; }
.language-suggestion-link {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.language-suggestion-dismiss {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.language-suggestion-dismiss:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.hero .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.hero h1 {
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
.hero .tagline {
  font-size: clamp(19px, 4vw, 24px);
  color: var(--muted);
  margin: 0 auto 32px;
  max-width: 620px;
}
.hero .subhead {
  display: block;
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* App Store badge */
.appstore-badge img { height: 54px; margin: 0 auto; }
.appstore-badge { display: inline-block; transition: transform 0.15s ease; }
.appstore-badge:hover { transform: scale(1.03); text-decoration: none; }

.free-note {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- 3 steps ---------- */
.steps {
  padding: 72px 0;
  text-align: center;
}
.steps-title {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 48px;
  font-weight: 800;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card { text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 700;
}
.step-card img {
  max-width: 220px;
  margin: 0 auto 20px;
  border-radius: 26px;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.14));
}
.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.step-card p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 240px;
}
.steps-cta { margin-top: 56px; }

/* ---------- Benefits ---------- */
.benefits {
  padding: 72px 0;
  background: var(--bg-soft);
}
.section-kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.benefits-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-intro {
  max-width: 740px;
  margin: 0 auto 40px;
  color: var(--ink-soft);
  font-size: 18px;
  text-align: center;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-card {
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--green-dark);
}
.benefit-icon svg { width: 25px; height: 25px; }
.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.accuracy-note {
  max-width: 860px;
  margin: 32px auto 0;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 16px;
}
.accuracy-note h3 { margin: 0 0 6px; font-size: 18px; }
.accuracy-note p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq {
  padding: 72px 0;
  background: var(--bg-soft);
}
.faq .container { max-width: 760px; }
.faq-title {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  font-weight: 800;
  text-align: center;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }

@media (max-width: 760px) {
  .site-header .container {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .nav-toggle { display: inline-flex; margin-left: auto; position: relative; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--border);
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a {
    font-size: 15px;
    padding: 10px 0;
  }
  .nav-links a[href*="apps.apple.com"] {
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
  }
  .language-picker,
  .language-picker select { width: 100%; max-width: none; }
  .language-picker select { min-height: 44px; }
  .language-suggestion .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .benefits-grid { grid-template-columns: 1fr; }
  .section-intro { font-size: 17px; }
  .site-footer .container { flex-direction: column; text-align: center; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 {
  font-size: clamp(30px, 6vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-weight: 800;
}
.legal h1 + h4, .legal > .container > h4:first-of-type {
  color: var(--muted); font-weight: 500; margin: 0 0 32px;
}
.legal h2 {
  font-size: 22px; font-weight: 700; margin: 40px 0 12px;
  letter-spacing: -0.01em; scroll-margin-top: 80px;
}
.legal h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal h4 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }

/* ---------- Support page ---------- */
.support-page { padding: 48px 0 72px; }
.support-page .container {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.support-hero {
  width: 100%;
  text-align: center;
  padding: 24px 0 32px;
}
.support-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.support-page h1 {
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  font-weight: 800;
}
.support-page .lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 620px;
}
.support-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 28px auto 0;
  padding: 14px 20px;
  border-radius: 16px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  word-break: break-word;
  cursor: pointer;
}
.support-email:hover { text-decoration: none; background: var(--green-dark); }
.support-copy-status {
  width: 100%;
  min-height: 24px;
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .support-email { font-size: 16px; width: 100%; max-width: 100%; }
}
.legal a { word-break: break-word; }
.legal table {
  border-collapse: collapse; width: 100%; margin: 16px 0;
  display: block; overflow-x: auto;
}
.legal th, .legal td {
  border: 1px solid var(--border); padding: 10px 12px; text-align: left;
  font-size: 15px; vertical-align: top;
}
.legal th { background: var(--bg-soft); font-weight: 600; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
