/* ============================================================
   Sockeye FS — shared site styles
   Palette: teal (dominant) · coral (accent) · cream (highlight)
   Type: Zilla Slab (display) / Source Serif 4 (accent serif,
   echoes the "FS" in the real wordmark) / Inter (body) /
   IBM Plex Mono (metadata — tags, GPS, timestamps)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,500;1,8..60,500&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --teal: #04342C;
  --teal-soft: #0B4A3F;
  --coral: #D85A30;
  --coral-dark: #993C1D;
  --cream: #FAECE7;
  --mist: #9CC2B8;
  --ink: #1B2420;

  --display: 'Zilla Slab', serif;
  --accent-serif: 'Source Serif 4', serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */

.nav-bar { width: 100%; }
.nav-bar--dark { background: var(--teal); }
.nav-bar--light { background: var(--cream); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.wordmark .fs {
  font-family: var(--accent-serif);
  font-style: italic;
  font-weight: 500;
}

.nav--dark .wordmark { color: var(--cream); }
.nav--dark .wordmark .sockeye { color: var(--coral); }
.nav--dark .wordmark .fs { color: var(--mist); }

.nav--light .wordmark .sockeye { color: var(--coral-dark); }
.nav--light .wordmark .fs { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

.nav--dark .nav-links a { color: var(--cream); }
.nav--light .nav-links a { color: var(--teal); }

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

.hero {
  background: var(--teal);
  color: var(--cream);
  padding: 64px 0 88px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

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

.hero p.lede {
  font-size: 18px;
  color: #DCEAE5;
  max-width: 46ch;
  margin: 0 0 32px;
}

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(250,236,231,0.25);
  color: var(--cream);
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.store-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* ---------- Signature capture->tag->pin animation ---------- */

.demo {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-card {
  position: relative;
  width: 220px;
  background: var(--cream);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  animation: card-settle 6s ease-in-out infinite;
}

.demo-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: linear-gradient(135deg, #7A8B7F, #4B5A4F);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.demo-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
}

.demo-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 24px;
}

.demo-tags span {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--teal);
  color: var(--mist);
  padding: 4px 9px;
  border-radius: 20px;
  opacity: 0;
  animation: tag-in 6s ease-in-out infinite;
}

.demo-tags span:nth-child(1) { animation-delay: 0.4s; }
.demo-tags span:nth-child(2) { animation-delay: 0.9s; }
.demo-tags span:nth-child(3) { animation-delay: 1.4s; }

.demo-pin {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 40px;
  height: 50px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35));
}

@keyframes card-settle {
  0%, 8% { transform: translateY(-18px) scale(1); }
  40%, 70% { transform: translateY(0) scale(0.94); }
  100% { transform: translateY(-18px) scale(1); }
}

@keyframes tag-in {
  0%, 5% { opacity: 0; transform: translateY(4px); }
  15%, 85% { opacity: 1; transform: translateY(0); }
  95%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-card, .demo-tags span { animation: none; opacity: 1; }
}

/* ---------- Feature grid ---------- */

.section { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section--teal { background: var(--teal); color: var(--cream); }

.section-head { max-width: 56ch; margin-bottom: 48px; }

.section-head .eyebrow { color: var(--coral-dark); }
.section--teal .section-head .eyebrow { color: var(--mist); }

.section-head h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-head p { font-size: 17px; opacity: 0.85; margin: 0; }

.grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(4,52,44,0.12);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--cream);
  padding: 32px 28px;
}

.feature-card .tag-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--teal);
}

.feature-card p { margin: 0; font-size: 15px; color: #3A453F; }

/* ---------- How it works (sequential — numbers earned here) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  counter-reset: step;
}

.step { position: relative; padding-top: 8px; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--coral);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-family: var(--display);
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--cream);
}

.step p { margin: 0; color: #C9DDD6; font-size: 15px; }

/* ---------- Positioning bullets ---------- */

.no-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.no-list li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  align-items: baseline;
}

.no-list li::before {
  content: '—';
  color: var(--coral-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(4,52,44,0.12);
}

.faq-item h3 {
  font-family: var(--display);
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--teal);
}

.faq-item p { margin: 0; color: #3A453F; font-size: 15px; }

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

.footer {
  background: var(--teal);
  color: var(--mist);
  padding: 44px 0 36px;
  font-size: 14px;
}

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

.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; color: var(--cream); opacity: 0.85; }
.footer-links a:hover { opacity: 1; }

.footer-meta { opacity: 0.65; }

/* ---------- Legal pages ---------- */

.legal {
  background: var(--cream);
  padding: 56px 0 90px;
}

.legal .legal-head {
  border-bottom: 1px solid rgba(4,52,44,0.15);
  padding-bottom: 28px;
  margin-bottom: 40px;
}

.legal h1 {
  font-family: var(--display);
  font-size: 38px;
  margin: 0 0 10px;
  color: var(--teal);
}

.legal .dek { color: #4A554E; font-size: 16px; margin: 0 0 12px; }

.legal .effective {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--coral-dark);
}

.legal-body h2 {
  font-family: var(--display);
  font-size: 22px;
  color: var(--teal);
  margin: 40px 0 14px;
}

.legal-body h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  color: var(--teal);
  margin: 24px 0 8px;
}

.legal-body p, .legal-body li { font-size: 15.5px; color: #2C3833; }
.legal-body ul { padding-left: 22px; }
.legal-body a { color: var(--coral-dark); }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
}

.promise-card {
  background: #fff;
  border: 1px solid rgba(4,52,44,0.1);
  border-radius: 12px;
  padding: 18px 20px;
}

.promise-card .glyph { font-size: 20px; margin-bottom: 8px; }
.promise-card h4 {
  font-family: var(--display);
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--teal);
}
.promise-card p { margin: 0; font-size: 14px; color: #4A554E; }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.toc a { text-decoration: none; color: var(--coral-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .demo { height: 260px; margin-top: 8px; }
  .grid-features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .no-list { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; font-size: 14px; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
