/* SafePaws — onetruemotion.com */
:root {
  --pine-950: #081F18;
  --pine-900: #0B2A21;
  --pine-700: #14503E;
  --mint-050: #EFF7F2;
  --mint-100: #DDEEE4;
  --brand-600: #0C8F6A;
  --brand-700: #0A7355;
  --ink: #12352B;
  --ink-soft: #52705F;
  --paper: #FFFFFF;
  --amber: #F59E0B;
  --red: #E11D48;
  --safe: #2BB673;
  --radius: 18px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--mint-050);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-700); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--mint-050) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mint-100);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.logo .paw { margin-right: 6px; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--brand-600); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--brand-700); }

/* Hero */
.hero { background: var(--pine-900); color: #E9F5EF; overflow: hidden; }
.hero-inner { padding: 84px 0 64px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero h1 em { font-style: normal; color: #6FD3AC; }
.hero .lede {
  margin-top: 22px; font-size: 1.15rem; max-width: 52ch; color: #B9D8C9;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; font-size: 1rem; border: 0; cursor: pointer;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: #0DA97D; }
.btn-ghost { border: 1.5px solid #2E5D4B; color: #CDEBDC; background: transparent; }
.btn-ghost:hover { border-color: #6FD3AC; }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: #7FA492; font-family: var(--mono); }

/* Ground strip — signature */
.strip-section { background: var(--pine-900); padding-bottom: 90px; }
.strip-card {
  background: var(--pine-950); border: 1px solid #1C4234; border-radius: var(--radius);
  padding: 26px 26px 30px;
}
.strip-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.strip-head .label { font-family: var(--mono); font-size: 0.8rem; color: #7FA492; letter-spacing: 0.08em; }
.readout { display: flex; align-items: baseline; gap: 14px; }
.readout .temp {
  font-family: var(--mono); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; color: #fff;
}
.readout .chip {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 999px; color: #08130E;
}
.chip[data-state="safe"] { background: var(--safe); }
.chip[data-state="caution"] { background: var(--amber); }
.chip[data-state="danger"] { background: var(--red); color: #fff; }
.readout .surface-name { color: #B9D8C9; font-weight: 600; }

.strip {
  position: relative; display: flex; border-radius: 12px; overflow: hidden;
  height: 92px; cursor: pointer; touch-action: none;
  border: 1px solid #1C4234;
}
.strip .seg { flex: 1; position: relative; }
.strip .seg + .seg { border-left: 1px solid rgba(8, 19, 14, 0.45); }
.seg-label {
  position: absolute; bottom: 8px; left: 10px; right: 6px;
  font-family: var(--mono); font-size: 0.68rem; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4); letter-spacing: 0.02em;
}
.paw-cursor {
  position: absolute; top: 6px; font-size: 26px; transform: translateX(-50%);
  transition: left 80ms linear; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  pointer-events: none;
}
.strip-foot {
  margin-top: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 0.85rem; color: #7FA492;
}
.strip-foot .rule { font-family: var(--mono); }

/* Sections */
section.block { padding: 84px 0; }
.eyebrow {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: 12px;
}
h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; max-width: 22ch;
}
.block .sub { margin-top: 14px; color: var(--ink-soft); max-width: 58ch; font-size: 1.05rem; }

.feature-grid {
  margin-top: 44px; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--paper); border: 1px solid var(--mint-100); border-radius: var(--radius);
  padding: 26px;
}
.feature .icon { font-size: 1.8rem; }
.feature h3 { font-family: var(--display); font-weight: 700; margin: 12px 0 6px; font-size: 1.15rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* Pricing */
.pricing { background: var(--paper); border-top: 1px solid var(--mint-100); border-bottom: 1px solid var(--mint-100); }
.price-grid {
  margin-top: 44px; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 720px;
}
.plan {
  border: 1.5px solid var(--mint-100); border-radius: var(--radius); padding: 30px;
  position: relative; background: var(--mint-050);
}
.plan.featured { border-color: var(--brand-600); background: #F2FBF7; }
.plan .flag {
  position: absolute; top: -12px; left: 26px; background: var(--amber); color: #fff;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 999px;
}
.plan h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.plan .price { font-family: var(--display); font-size: 2.4rem; font-weight: 800; margin: 10px 0 2px; }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.plan .per { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.plan ul { list-style: none; }
.plan li { padding: 7px 0; font-size: 0.95rem; }
.plan li::before { content: "🐾 "; font-size: 0.8rem; }

/* Footer */
footer { background: var(--pine-900); color: #B9D8C9; padding: 54px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff; }
.foot-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.foot-links a { color: #B9D8C9; text-decoration: none; font-size: 0.95rem; }
.foot-links a:hover { color: #fff; }
.legal { margin-top: 26px; font-size: 0.85rem; color: #7FA492; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 90px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.02em; }
.doc .updated { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-soft); margin: 10px 0 34px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 10px; max-width: none; }
.doc p, .doc li { color: #2E4A3D; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }

@media (max-width: 640px) {
  .hero-inner { padding: 56px 0 40px; }
  .nav-links li.hide-sm { display: none; }
  section.block { padding: 60px 0; }
}
