/* Stridetail marketing — Direction B "Bold & Warm".
   Palette mirrors src/ui/tokens.ts exactly. Plain CSS, no build step. */

:root {
  --surface: #FFF4E6;
  --surface-raised: #FFFFFF;
  --primary: #E8642C;
  --on-primary: #FFFFFF;
  --ink: #2B1D12;
  --ink-muted: #8A5A2B;
  --line: #F0D9C2;
  --warning: #B7791F;
  --green: #3A7D5C;
  --green-soft: #E4F0E8;
  --radius-card: 24px;
  --radius-input: 14px;
  --font-display: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  padding: 20px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.header-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(232, 100, 44, 0.35);
}

.btn:hover { filter: brightness(1.05); }

.btn-ghost {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
}

/* ---------- hero ---------- */

.hero {
  padding: 40px 0 56px;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero .sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 46ch;
}

.hero .cta-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero .fine, .fine {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- phone frames ---------- */

.phone {
  margin: 0 auto;
  max-width: 290px;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  border: 6px solid var(--ink);
  box-shadow: 0 24px 48px rgba(43, 29, 18, 0.18);
}

.phone figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- feature rows ---------- */

.features { padding: 24px 0 8px; }

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
}

.kicker-green { color: var(--green); }

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type { border-top: 0; }

.feature h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-top: 8px;
}

.feature p {
  margin-top: 14px;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Illustrative UI cards (not screenshots) for features without a shot */

.mock {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 16px 36px rgba(43, 29, 18, 0.10);
}

.mock .mock-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mock .mock-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-top: 4px;
}

.mock .mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.mock .mock-row:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pill-green { background: var(--green-soft); color: var(--green); }
.pill-orange { background: var(--primary); color: var(--on-primary); }
.pill-muted { background: var(--surface); color: var(--ink-muted); border: 1px solid var(--line); }

.mock-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 12px;
}

.linkchip {
  display: block;
  background: var(--surface);
  border: 1px dashed var(--ink-muted);
  border-radius: var(--radius-input);
  padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* ---------- bands ---------- */

.band {
  background: var(--green-soft);
  border-radius: var(--radius-card);
  padding: 40px 28px;
  margin: 40px 0;
  text-align: center;
}

.band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.5px;
  color: var(--ink);
}

.band p {
  margin: 14px auto 0;
  max-width: 58ch;
  color: var(--ink);
}

.builtwith {
  text-align: center;
  padding: 8px 0 24px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- early access ---------- */

.early {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 48px 28px;
  margin: 24px 0 56px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(43, 29, 18, 0.08);
}

.early h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -0.5px;
}

.early p {
  margin: 14px auto 24px;
  max-width: 52ch;
  color: var(--ink-muted);
}

.early-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.early-form .input {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 13px 16px;
  width: 100%;
  box-sizing: border-box;
}

.early-form .input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.early-form .input::placeholder { color: var(--ink-muted); opacity: 0.7; }

.early-form .btn { border: 0; cursor: pointer; font-size: 17px; }
.early-form .btn:disabled { opacity: 0.7; cursor: default; }

/* honeypot: off-screen, never display:none (some bots skip hidden fields) */
.early-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--ink-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a { color: var(--ink-muted); }

/* ---------- draft banner (legal + tenant drafts) ---------- */

.draft-banner {
  background: var(--warning);
  color: #FFF8EE;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 16px;
}

/* ---------- article pages (privacy / terms) ---------- */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.article h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.5px;
  margin: 16px 0 4px;
}

.article .meta {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 32px 0 8px;
}

.article p, .article li { color: var(--ink); margin-bottom: 10px; }

.article ul { padding-left: 22px; margin-bottom: 12px; }

/* ---------- tenant page ---------- */

.tenant-hero {
  text-align: center;
  padding: 40px 0 24px;
}

.tenant-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 46px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.tenant-hero .tagline {
  margin-top: 12px;
  font-size: 19px;
  color: var(--ink-muted);
}

.tenant-hero .area {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- tenant photos (Paw & Whisker, her own published images) ---------- */

.tenant-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.tenant-hero-photo {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 28px auto 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(43, 29, 12, 0.12);
}

.service-photo {
  display: block;
  width: calc(100% + 40px);
  margin: -20px -20px 14px;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.band-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.band-photo {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 340px;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 12px;
}

.about-photo {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-card);
  object-fit: cover;
  border: 1px solid var(--line);
}

@media (min-width: 700px) {
  .band-split { grid-template-columns: 3fr 2fr; }
  .about-split { grid-template-columns: 300px 1fr; }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0;
}

.service-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.service-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 28px 0;
}

.trust li {
  list-style: none;
  background: var(--green-soft);
  border-radius: var(--radius-input);
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
}

.trust li::before {
  content: '✓  ';
  color: var(--green);
  font-weight: 800;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 4vw, 30px);
  letter-spacing: -0.5px;
  margin-top: 40px;
}

.muted-note {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- responsive ---------- */

@media (min-width: 760px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature.flip .feature-media { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* landscape map screenshot in a feature slot (2026-08-30 imagery pass) */
.map-shot {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(43, 29, 18, 0.10);
}
.map-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}
