/* Park Day placeholder site styles
   System fonts only. No frameworks, no build step. */

:root {
  --bg: #f6f7f2;
  --bg-raised: #ffffff;
  --ink: #1c231f;
  --ink-soft: #4a5750;
  --ink-faint: #5c6a62;
  --line: #dde3d8;
  --line-strong: #c3ccbd;
  --green: #275e42;
  --green-deep: #17402c;
  --green-wash: #e7efe6;
  --clay: #a8632f;
  --focus: #17402c;
  --max: 42rem;
  --max-wide: 62rem;
  font-size: 100%;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

img { max-width: 100%; }

a {
  color: var(--green);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--green-deep); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 10;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---- Shell ---- */

.shell {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 0.6rem;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark svg { flex: none; }

.wordmark .day { color: var(--green); }

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

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

.hero {
  padding: 3.5rem 0 2.75rem;
}

.hero .shell {
  max-width: var(--max-wide);
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1rem;
  max-width: 17ch;
}

.hero .lede {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

/* App Store badge: orchestrator swaps the href attribute on #app-store-link
   when the app ships, then removes .is-pending and the aria-disabled attr. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--bg-raised);
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.2;
}
.store-badge svg { flex: none; }
.store-badge.is-pending {
  border-color: var(--line-strong);
  color: var(--ink-faint);
  background: transparent;
  cursor: default;
}
.store-badge .store-badge-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ---- Trail (signature element) ---- */

.trail-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 2.75rem 0 3rem;
}

.trail-section h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 0 0 1.75rem;
}

.trail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.trail-stop {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
}

.trail-stop .marker {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--green-wash);
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}

.trail-stop.is-final .marker {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.trail-stop h3 {
  margin: 0.35rem 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.trail-stop p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 34ch;
}

@media (min-width: 46rem) {
  .trail {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }
  .trail::before {
    content: "";
    position: absolute;
    top: 1.375rem;
    left: 5%;
    right: 5%;
    height: 0;
    border-top: 2px dashed var(--line-strong);
    z-index: 0;
  }
  .trail-stop {
    flex-direction: column;
    align-items: flex-start;
    max-width: 15rem;
    background: var(--bg-raised);
    z-index: 1;
    padding-right: 1rem;
  }
}

/* ---- Generic sections ---- */

.section {
  padding: 2.75rem 0;
}

.section-narrow .shell {
  max-width: var(--max);
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.section > .shell > p:first-of-type { margin-top: 0; }

.prose h2 {
  margin-top: 2.25rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.25rem; }
.prose strong { color: var(--ink); }

.page-title {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}

.page-sub {
  color: var(--ink-faint);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.disclaimer {
  background: var(--green-wash);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.disclaimer p { margin: 0; color: var(--ink); }

.faq dt {
  font-weight: 700;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  background: var(--bg-raised);
  margin-bottom: 2rem;
}
.contact-card p { margin: 0.25rem 0 0; }
.contact-card .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 700;
}
.contact-card a { font-size: 1.15rem; font-weight: 700; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  background: var(--bg-raised);
}

.site-footer .disclaimer {
  margin-bottom: 1.5rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a { color: var(--ink-soft); }

@media (max-width: 30rem) {
  .site-nav { gap: 0.85rem; font-size: 0.88rem; }
  .site-header .shell { justify-content: flex-start; }
}
