/* SitterScript landing page — warm canvas, thin rules, plain words. */

:root {
  --cream: #faf7f2;
  --paper: #ffffff;
  --navy: #1e3a5f;
  --navy-deep: #17304f;
  --ink: #1f2a3a;
  --muted: #5f6b7a;
  --faint: #8a94a3;
  --rule: #e6dfd3;
  --rule-soft: #efe9df;
  --coral: #d46a43;
  --coral-soft: #e8825a;
  --sky: #dce9f5;
  --sky-ink: #a9c4e4;
  --mint: #e9f3ef;
  --mint-line: #7db9b1;
  --max: 1120px;
  --gutter: 28px;
  --radius: 14px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.012em;
  margin: 0;
}
h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}

p {
  margin: 0;
}

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 120ms ease, color 120ms ease;
}
a:hover {
  color: var(--coral);
  border-color: var(--coral);
}
a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 2px;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  padding: 8px 12px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.micro {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  border: 0;
  letter-spacing: -0.01em;
}
.logo:hover {
  color: var(--navy);
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 15.5px;
}
.nav-links a {
  border: 0;
  color: var(--navy);
}
.nav-links a:hover {
  color: var(--coral);
}
.nav-badge {
  display: inline-block;
  flex: none;
  border: 0;
  line-height: 0;
  transition: opacity 120ms ease;
}
.nav-badge:hover {
  opacity: 0.85;
}
.nav-badge img {
  display: block;
  height: 36px;
  width: auto;
}

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

.hero {
  padding: 88px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.06;
  margin-bottom: 26px;
}
.hero h1 em {
  display: block;
  font-size: 0.66em;
  line-height: 1.2;
  margin-top: 14px;
  letter-spacing: -0.005em;
}
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 54ch;
}
.cta {
  margin-top: 32px;
}
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.secondary {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  white-space: nowrap;
}
.secondary span {
  display: inline-block;
  transition: transform 160ms ease;
}
.secondary:hover span {
  transform: translateX(3px);
}
.badge {
  display: inline-block;
  border: 0;
  line-height: 0;
  transition: opacity 120ms ease, transform 160ms ease;
}
.badge:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.badge img {
  display: block;
  height: 54px;
  width: auto;
}
.trust {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

/* Script preview card */

.hero-stage {
  min-width: 0;
}
.script-card {
  margin: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30, 58, 95, 0.18), 0 2px 6px rgba(30, 58, 95, 0.12);
}
.script-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.script-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.script-title strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.script-title span {
  font-size: 13px;
  color: var(--sky-ink);
}
.script-pill {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.script-rows {
  margin: 0;
}
.script-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.script-row:last-child {
  border-bottom: 0;
}
.script-row dt {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-ink);
  padding-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.script-row dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}
.script-row.is-critical {
  background: rgba(232, 130, 90, 0.08);
}
.tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--coral-soft);
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.stage-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.stage-rule::before,
.stage-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.notif {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.06);
  max-width: 520px;
  margin: 0 auto;
}
.notif-text {
  display: flex;
  flex-direction: column;
}
.notif-text strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}
.notif-text span {
  font-size: 13.5px;
  color: var(--muted);
}

.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--sky);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
}
.avatar-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 48px 64px;
}
.section-head h2,
.section-body h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15;
}
.section-head.sticky {
  position: sticky;
  top: 96px;
  align-self: start;
}
.section-sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
}

/* Problem */

.problem-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  counter-increment: problem;
}
.problem-list li:last-child {
  border-bottom: 1px solid var(--rule);
}
.problem-list li::before {
  content: counter(problem, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--coral);
  padding-top: 5px;
}
.problem-list h3,
.problem-list p {
  grid-column: 2;
}
.problem-list h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.problem-list p {
  color: var(--muted);
  max-width: 56ch;
}
.bridge {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.bridge em {
  color: var(--coral);
  font-weight: 500;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.step {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  min-height: 220px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(30, 58, 95, 0.08);
}
.step-num {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 28px;
}
.step h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
}

/* Features */

.feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.feature-grid li {
  background: var(--cream);
  padding: 22px 24px 24px 44px;
  position: relative;
}
.feature-grid li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 33px;
  width: 8px;
  height: 8px;
  background: var(--coral-soft);
  border-radius: 2px;
}
.feature-grid h3 {
  font-size: 21px;
  margin-bottom: 4px;
}
.feature-grid p {
  color: var(--muted);
  font-size: 15.5px;
}

/* For sitters */

.sitters {
  background: var(--mint);
  border-top: 1px solid #d3e6df;
  border-bottom: 1px solid #d3e6df;
}
.sitters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.sitters-copy h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15;
  margin-bottom: 22px;
}
.sitters-copy p {
  color: var(--muted);
  font-size: 18px;
  max-width: 54ch;
}
.sitters-copy p + p {
  margin-top: 16px;
}
.walk-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--mint-line);
  border-radius: 18px;
  padding: 24px 26px 8px;
  box-shadow: 0 18px 44px rgba(30, 58, 95, 0.08);
}
.walk-card figcaption {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.walk li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
}
.walk li:first-child {
  border-top: 0;
}
.walk-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
}
.walk li div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.walk strong {
  font-weight: 500;
  color: var(--navy);
  font-size: 16px;
}
.walk span {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Who it's for */

.who-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.who-head h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15;
}
.who-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.who-list li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.who-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(30, 58, 95, 0.08);
}
.who-list .avatar {
  margin-bottom: 18px;
}
.who-list h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.who-list p {
  color: var(--muted);
  font-size: 15.5px;
}

/* FAQ */

.faq-privacy {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--rule);
}
.faq-list details {
  border-top: 1px solid var(--rule);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  color: var(--coral);
  transition: transform 160ms ease;
  margin-top: 1px;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:hover {
  color: var(--coral);
}
.faq-list summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}
.faq-list details p {
  padding: 0 44px 26px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 68ch;
}
.faq-list details p a {
  overflow-wrap: anywhere;
}

/* Final CTA */

.final {
  border-bottom: 0;
  padding-bottom: 72px;
}
.final-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 56px 56px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(30, 58, 95, 0.06);
}
.final-copy h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
}
.final-cta {
  justify-self: end;
  text-align: left;
}
.final-foot {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
}

/* Footer */

.foot {
  border-top: 1px solid var(--rule);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.foot nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot a {
  color: var(--muted);
  border: 0;
}
.foot a:hover {
  color: var(--coral);
}
.disclaimer {
  max-width: 70ch;
  font-size: 13px;
  opacity: 0.85;
}

/* ---------- Guide pages ---------- */

.guide {
  padding: 72px 0 88px;
}

.guide-hero {
  max-width: 42rem;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.guide-hero h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.12;
  margin-bottom: 24px;
}

.guide-hero .lede {
  max-width: none;
}

.guide-body {
  max-width: 42rem;
}

.guide-body > * + * {
  margin-top: 1.25em;
}

.guide-body h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.18;
  margin-top: 2.4em;
  padding-top: 0.2em;
}

.guide-body h2:first-child {
  margin-top: 0;
}

.guide-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-top: 1.8em;
}

.guide-body ul {
  list-style: none;
  padding: 0;
  margin: 0.75em 0 0;
}

.guide-body ul li {
  position: relative;
  padding-left: 1.25em;
  margin-top: 0.45em;
}

.guide-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.guide-body ol {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
  margin: 0.75em 0 0;
}

.guide-body ol li {
  counter-increment: guide-step;
  position: relative;
  padding-left: 2.1em;
  margin-top: 0.55em;
}

.guide-body ol li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--coral);
}

.guide-body strong {
  font-weight: 600;
  color: var(--navy);
}

.guide-cta {
  margin-top: 3em;
  padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.guide-cta h2 {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 30px);
}

.guide-cta .cta-row {
  margin-top: 24px;
}

.guide-related {
  margin-top: 3em;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}

.guide-related a {
  font-weight: 500;
}

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

@media (max-width: 980px) {
  .hero {
    padding: 64px 0 72px;
  }
  .hero-grid,
  .sitters-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-stage {
    max-width: 640px;
  }
  .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-head.sticky {
    position: static;
  }
  .who-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .final-card {
    grid-template-columns: 1fr;
    padding: 40px 32px 32px;
  }
  .final-cta {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }
  body {
    font-size: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-row {
    height: 62px;
  }
  .logo {
    font-size: 22px;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero h1 {
    font-size: clamp(34px, 9.5vw, 44px);
  }
  .lede {
    font-size: 17.5px;
  }
  section {
    padding: 64px 0;
  }
  .nav-badge img {
    height: 32px;
  }
  .steps,
  .feature-grid,
  .who-list {
    grid-template-columns: 1fr;
  }
  .who-head {
    margin-bottom: 28px;
  }
  .step {
    min-height: 0;
    padding: 24px 22px 26px;
  }
  .step-num {
    margin-bottom: 18px;
  }
  .script-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 20px;
  }
  .script-row dt {
    flex-direction: row;
    align-items: center;
  }
  .script-head {
    padding: 18px 20px;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .script-head::after {
    content: "";
    flex-basis: 100%;
    height: 0;
    order: 2;
    margin-top: -12px;
  }
  .script-pill {
    order: 3;
    margin-left: 54px;
  }
  .faq-privacy {
    margin-top: 56px;
    padding-top: 56px;
  }
  .faq-list summary {
    font-size: 18px;
    padding: 18px 0;
  }
  .faq-list details p {
    padding-right: 0;
    font-size: 16px;
  }
  .bridge {
    font-size: 22px;
  }
  .final-card {
    padding: 32px 24px 28px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .step,
  .badge,
  .faq-list summary::after {
    transition: none;
  }
}
