/* PicketPin marketing site. Palette: Sage & Coral. Type: Bitter (display) + Public Sans (body). */

:root {
  --sage: #24524A;
  --sage-deep: #183A34;
  --coral: #FF8A65;
  --coral-deep: #B4462A;
  --mustard: #F2B92E;
  --bg: #F5FAF6;
  --surface: #FFFFFF;
  --text: #1E2B28;
  --muted: #4F625D;
  --line: #D8E3DC;
  --radius: 16px;
  --wrap: 1120px;
  --display: "Bitter", Georgia, serif;
  --body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { display: block; }

a { color: var(--sage); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--sage-deep); }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--sage-deep);
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 2px; }

/* ---------- The Lookout mark ---------- */

.m-ink { fill: currentColor; }
.m-bg { fill: var(--mark-bg, var(--bg)); }
.m-acc { fill: var(--coral); }
.m-paw { fill: currentColor; stroke: var(--mark-bg, var(--bg)); stroke-width: 5.5; }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; align-items: center; gap: 32px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: flex-end; gap: 10px; color: var(--sage); text-decoration: none; }
.brand .mark { width: 72px; height: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.05em; line-height: 1; padding-bottom: 3px; color: var(--sage); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sage); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Buttons and forms ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--coral); color: var(--text); }
.btn-primary:hover { background: #FF7A50; color: var(--text); }
.btn-outline { border-color: var(--sage); color: var(--sage); background: transparent; }
.btn-outline:hover { background: var(--sage); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.waitlist { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.waitlist label { flex-basis: 100%; font-weight: 600; font-size: 15px; }
.waitlist input {
  flex: 1 1 240px; min-height: 48px; padding: 0 16px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--surface); font: inherit; color: var(--text);
}
.waitlist input:focus { border-color: var(--sage); outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { max-width: 520px; margin: 0 auto 16px; padding: 12px 16px; border-radius: 12px; background: #FFF1EA; color: var(--coral-deep); font-weight: 600; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }

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

section { padding: 96px 0; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; }
.section-head { max-width: 700px; margin-bottom: 48px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--sage); background: #E4EFE8; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

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

.hero { padding: 88px 0 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }

.preview-stage { position: relative; padding-top: 96px; }
.peek { position: absolute; top: -11px; left: 50%; width: 92px; height: auto; transform: translateX(-50%); color: var(--sage); z-index: 1; }
.preview {
  position: relative; background: var(--surface); border-radius: 4px 4px var(--radius) var(--radius);
  border: 1px solid var(--line); border-top: 6px solid var(--coral);
  padding: 32px; box-shadow: 0 18px 40px -24px rgba(24, 58, 52, 0.35);
}
.preview-label { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 2px 10px; }
.preview-kicker { font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.preview-number { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--sage-deep); margin-bottom: 24px; }
.preview-number span { font-family: var(--body); font-size: 18px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.flag-list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.flag-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); transform: translateY(1px); }
.flag-title { font-weight: 600; line-height: 1.35; }
.flag-source { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.flag-cost { font-weight: 700; color: var(--sage-deep); white-space: nowrap; }
.preview-foot { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: #FFFFFF; font-family: var(--display); font-weight: 800; font-size: 18px;
}
.step p { color: var(--muted); }

.note-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.note { border-radius: var(--radius); padding: 22px 26px; background: #E4EFE8; }
.note strong { color: var(--sage-deep); }
.note-soon { background: #FFF1EA; }

/* ---------- Sources ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0 0 20px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; }

/* ---------- Dark band ---------- */

.band { background: var(--sage); color: #E9F2EC; --mark-bg: var(--sage); }
.band h2 { color: #FFFFFF; }
.band p { color: #D2E3D9; }
.band a { color: #FFFFFF; }
.band-inner { display: flex; align-items: center; gap: 48px; }
.band .mark { width: 180px; height: auto; color: var(--bg); flex-shrink: 0; }

/* ---------- Closing CTA ---------- */

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .waitlist { margin: 0 auto; justify-content: center; }
.cta .waitlist label { text-align: center; }

/* ---------- Pricing ---------- */

.page-head { padding: 80px 0 40px; }
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h2 { font-size: 26px; margin-bottom: 6px; }
.plan-for { color: var(--muted); margin-bottom: 20px; }
.price { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--sage-deep); line-height: 1; margin-bottom: 6px; }
.price-sub { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.plan li { position: relative; padding: 6px 0 6px 28px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 4px; border-radius: 2px; background: var(--coral); }
.plan .btn { width: 100%; }
.plan-featured { border: 2px solid var(--sage); }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; background: #FFF1EA; color: var(--coral-deep); }
.badge-now { background: #E4EFE8; color: var(--sage); }
.plan-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 0 0 20px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; color: var(--sage-deep); list-style-position: inside; }
.faq details p { color: var(--muted); }

/* ---------- Security ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 760px; }
th, td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
th { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: #EEF5F0; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--sage-deep); white-space: nowrap; }
.placeholder { border: 2px dashed var(--line); border-radius: var(--radius); padding: 24px 28px; color: var(--muted); background: transparent; }

/* ---------- Long-form text (privacy) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }

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

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-inner .brand .mark { width: 48px; }
.footer-inner .brand-name { font-size: 17px; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: var(--muted); }

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

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .band .mark { width: 120px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 72px; }
  .nav { gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
  .brand .mark { width: 54px; }
  .brand-name { font-size: 18px; }
  .nav .btn-sm { padding: 0 14px; font-size: 14px; }
  .nav-links { order: 3; flex-basis: 100%; margin-left: 0; gap: 20px; }
  .nav .btn { margin-left: auto; }
  .grid-2, .grid-3, .grid-4, .note-row { grid-template-columns: minmax(0, 1fr); }
  .preview { padding: 24px 20px; }
  .preview-number { font-size: 44px; }
  .footer-links { margin-left: 0; }
}
