/* SoleMates — site styles. Dark park-green grounds from the app (deep forest / home dark),
   cream "chalk" outlines, mint accent, and the welcome illustration as the hero. */
:root {
  --forest: #1B4332;      /* app primaryMid — main ground */
  --night: #132218;       /* app homeDarkBg — alternate ground */
  --deep: #0E1A12;        /* footer */
  --card: #1F3527;        /* raised surfaces on dark */
  --card-2: #24402F;
  --green: #2D6A4F;       /* app primary — mission band, primary fills */
  --leaf: #52B788;        /* app neighborhoodGreen */
  --mint: #B7E4C7;        /* pale park green — text accents */
  --cream: #F4EFE3;       /* text + outlines */
  --cream-soft: #D3DDD2;  /* body text */
  --cream-muted: #A9BBAC; /* captions */
  --line: #F4EFE3;        /* outline colour */
  --shadow: #08100B;      /* hard offset shadow */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Helvetica Neue', 'Segoe UI', sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--card); padding: 8px 14px; border: 2px solid var(--line); border-radius: 10px; }

/* ── Nav ── */
.nav { background: var(--night); border-bottom: 2px solid var(--shadow); position: sticky; top: 0; z-index: 5; }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid rgba(244,239,227,.35); display: block; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--cream); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 15px; font-weight: 600; color: var(--cream-soft); }
.nav-links a { padding: 12px 0; text-decoration: none; }
.nav-links a:hover { color: var(--cream); text-decoration: underline; }

/* ── Type ── */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; text-wrap: balance; color: var(--cream); }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
.lede { margin: 0; font-size: 18px; color: var(--cream-soft); max-width: 600px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
section { scroll-margin-top: 70px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 6px 26px;
  border: 2px solid var(--line); border-radius: 999px;
  text-decoration: none; line-height: 1.2;
  box-shadow: 3px 4px 0 var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translate(-1px, -1px); box-shadow: 4px 5px 0 var(--shadow); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn small { font-size: 12px; opacity: .85; }
.btn strong { font-size: 17px; }
.btn-green { background: var(--cream); color: var(--forest); border-color: var(--night); }
.btn-paper { background: transparent; color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Hero ── */
.hero { background: var(--green); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 2px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.pill svg { stroke: var(--cream); }
.hero h1 { font-size: clamp(52px, 7vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.tagline { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--mint); }
.note { margin: 0; font-size: 14px; color: var(--cream-muted); }
.hero-art { flex: 1 1 420px; min-width: 0; margin: 0 auto; display: flex; justify-content: center; }
.frame { width: 540px; max-width: 100%; aspect-ratio: 1 / 1; border: 3px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: 10px 12px 0 var(--shadow); transform: rotate(1deg); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Mission ── */
.mission { background: var(--green); color: var(--cream); border-top: 2px solid var(--shadow); border-bottom: 2px solid var(--shadow); }
.mission .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: 96px; padding-bottom: 96px; }
.mission-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mission em { color: var(--mint); }
.mission p { margin: 0; max-width: 540px; font-size: 18px; color: rgba(244,239,227,.92); }
.stats { flex: 1 1 340px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 22px 20px; border: 2px solid var(--line); border-radius: 20px; background: var(--forest); box-shadow: 4px 5px 0 var(--shadow); }
.stat-num { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1; color: var(--cream); }
.stat-label { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--cream-soft); }
.stat.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.stat.wide .stat-label { margin-top: 0; }

/* ── Section grounds ── */
.band { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 52px; }
.bg-night { background: var(--night); }
.bg-forest { background: var(--forest); }

/* ── Vignettes: people cropped from the welcome illustration ── */
.vignette { flex: none; width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--line); background: var(--night) url(/assets/hero.jpg) no-repeat; box-shadow: 4px 5px 0 var(--shadow); }
.v-friends    { background-size: 698px; background-position: -147px -457px; }
.v-dogs       { background-size: 640px; background-position: -284px -375px; }
.v-bridge     { background-size: 853px; background-position: -225px -283px; }
.v-cafe       { background-size: 668px; background-position: -29px -440px; }
.v-cart       { background-size: 768px; background-position: -555px -322px; }
.v-subway     { background-size: 768px; background-position: -600px -562px; }
.v-sightseers { background-size: 904px; background-position: -512px -401px; }

/* ── Benefits ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; border: 2px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 5px 6px 0 var(--shadow); }
.card p { margin: 0; color: var(--cream-soft); }
.tag { align-self: flex-start; padding: 3px 12px; border: 2px solid var(--mint); color: var(--mint); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card .source { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed rgba(244,239,227,.4); font-size: 13px; color: var(--cream-muted); }

/* ── Features ── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 44px 48px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature p { margin: 0; color: var(--cream-soft); }
.icon { width: 56px; height: 56px; border: 2px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: #1A1A1A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 44px 48px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; align-items: flex-end; gap: 14px; }
.step-num { font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 1; color: var(--mint); }
.step p { margin: 0; color: var(--cream-soft); }

/* ── Support ── */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 28px; padding-top: 104px; padding-bottom: 104px; }
.support-grid .card { padding: 36px 32px; align-items: flex-start; }
.support-grid h2 { font-size: 34px; line-height: 1.15; }
.contact-badge { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line); background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 4px 5px 0 var(--shadow); }
.contact-badge svg { width: 30px; height: 30px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-icon { flex-direction: row; align-items: center; gap: 10px; }
.btn-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Walk types ── */
.walk-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.walk-type { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border: 2px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 5px 6px 0 var(--shadow); }
.walk-type h3 { font-size: 21px; }
.walk-type p { margin: 4px 0 0; color: var(--cream-soft); }
.wt-icon { flex: none; width: 60px; height: 60px; border-radius: 18px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; }
.wt-icon svg { width: 32px; height: 32px; color: #fff; }  /* app's Ionicons outline icons */

/* ── Footer ── */
.footer { border-top: 2px solid var(--shadow); background: var(--deep); color: var(--cream); }
.footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 40px; padding-bottom: 56px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; font-size: 15px; font-weight: 600; color: var(--cream-soft); }
.footer-links a { padding: 10px 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }
.footer p { margin: 0; font-size: 14px; color: var(--cream-muted); }

/* ── Legal + simple pages ── */
.page { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 32px; font-weight: 600; text-decoration: none; color: var(--mint); }
.page h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin-bottom: 8px; }
.page .intro { margin: 0 0 40px; color: var(--cream-muted); }
.legal { display: flex; flex-direction: column; gap: 32px; padding: 36px clamp(22px, 4vw, 44px); border: 2px solid var(--line); border-radius: 24px; background: var(--card); }
.legal h2 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; margin-bottom: 10px; color: var(--cream); }
.legal section { display: flex; flex-direction: column; }
.legal p, .legal ul { margin: 0 0 10px; color: var(--cream-soft); line-height: 1.75; }
.legal strong { color: var(--cream); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal .meta { margin: 8px 0 0; padding-top: 18px; border-top: 1.5px dashed rgba(244,239,227,.4); font-size: 14px; color: var(--cream-muted); }

.center-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 64px var(--gutter); }
.center-page h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
.center-page p { margin: 0; max-width: 460px; color: var(--cream-soft); font-size: 18px; }
.center-page .btn-row { justify-content: center; }

@media (max-width: 560px) {
  .nav-links { gap: 0 18px; font-size: 14px; }
  .hero .wrap { padding-top: 40px; gap: 44px; }
  .frame { transform: none; box-shadow: 7px 8px 0 var(--shadow); }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

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