/* PathPro public site (root domain landing + legal pages) */

:root {
  --asphalt: #14201B;
  --asphalt-2: #1C2B25;
  --paper: #F2F1EC;
  --paper-2: #E7E6DE;
  --ink: #14201B;
  --muted: #5C6660;
  --line: #C8CEC6;
  --green: #2F6B4F;
  --green-hi: #3E8A66;
  --amber: #E9A23B;
  --amber-ink: #3A2706;
  --on-dark: #EDEFE8;
  --on-dark-muted: #9DAAA2;
  --line-dark: rgba(237, 239, 232, 0.12);

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px;
}
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.display {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}

/* ---------- nav ---------- */
.pp-nav { background: var(--asphalt); color: var(--on-dark); position: relative; z-index: 5; }
.pp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.pp-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pp-brand img { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); }
.pp-brand span { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.pp-nav__links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }
.pp-nav__links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--on-dark-muted); transition: color .2s; }
.pp-nav__links a:hover { color: var(--on-dark); }
.pp-nav__links .pp-btn { color: var(--amber-ink); }
.pp-nav__links .pp-btn:hover { color: var(--amber-ink); }

.pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  padding: 13px 22px; border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pp-btn--amber { background: var(--amber); color: var(--amber-ink); }
.pp-btn--amber:hover { background: #F2B456; }
.pp-btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.pp-btn--ghost:hover { border-color: var(--on-dark-muted); }
.pp-btn--dark { background: var(--asphalt); color: var(--on-dark); }
.pp-btn--dark:hover { background: var(--green); }
.pp-btn--outline { border-color: var(--ink); color: var(--ink); }
.pp-btn--outline:hover { background: var(--ink); color: var(--paper); }
.pp-btn svg { width: 16px; height: 16px; }
.pp-btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { background: var(--asphalt); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 72px);
  opacity: .9;
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(64px, 9vw, 120px);
}
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(40px, 5.3vw, 72px); margin: 22px 0 24px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lede { font-size: clamp(17px, 1.2vw + 10px, 20px); color: var(--on-dark-muted); max-width: 40ch; margin: 0 0 34px; }
.hero__lede strong { color: var(--on-dark); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 26px 0 0; font-family: var(--mono); font-size: 13px; color: var(--on-dark-muted); }
.hero__note b { color: var(--on-dark); font-weight: 500; }

.map { position: relative; }
.map svg { width: 100%; height: auto; }
.map .route { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s .4s cubic-bezier(.6,.1,.2,1) forwards; }
.map .stop { opacity: 0; animation: pop .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.ticket {
  position: absolute; left: 3%; top: 5%;
  width: min(250px, 58%);
  background: var(--paper); color: var(--ink);
  border-radius: 6px; padding: 14px 16px 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.5;
  opacity: 0; animation: rise .6s 3.3s forwards;
}
.ticket::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 6px 0 0 6px; background: var(--green);
}
.ticket__row { display: flex; justify-content: space-between; gap: 10px; }
.ticket__id { font-weight: 500; }
.ticket__status { color: var(--green); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.ticket__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ticket__name { font-family: var(--body); font-weight: 700; font-size: 15px; margin: 6px 0 2px; }
.ticket__muted { color: var(--muted); }
.ticket hr { border: 0; border-top: 1px dashed var(--line); margin: 9px 0; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .map .route { animation: none; stroke-dashoffset: 0; }
  .map .stop, .ticket { animation: none; opacity: 1; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding-top: 0; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 16px 0 16px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 56ch; }

/* workflow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; list-style: none; margin: 0; padding: 0; }
.flow::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 30px);
  opacity: .25;
}
.flow__step { padding-right: clamp(14px, 2.4vw, 32px); position: relative; }
.flow__num {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--asphalt); color: var(--amber);
  font-family: var(--mono); font-weight: 500; font-size: 15px;
  position: relative; margin-bottom: 22px;
  box-shadow: 0 0 0 6px var(--paper);
}
.flow__step h3 { font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: 22px; line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.01em; }
.flow__step p { margin: 0; color: var(--muted); font-size: 16px; }

/* features */
.features { border-top: 1px solid var(--line); }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px);
  align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line);
}
.feature:nth-child(even) .feature__art { order: -1; }
.feature h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -0.015em; margin: 14px 0 16px; }
.feature p { margin: 0 0 16px; color: var(--muted); max-width: 50ch; }
.feature ul { list-style: none; margin: 18px 0 0; padding: 0; }
.feature li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.feature li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 2px; background: var(--green); }
.feature__art {
  background: var(--paper-2); border-radius: 8px; padding: clamp(20px, 3vw, 36px);
  min-height: 300px; display: grid; place-items: center; position: relative; overflow: hidden;
}

/* phone sms art */
.phone {
  width: 250px; background: var(--asphalt); border-radius: 30px; padding: 12px;
  box-shadow: 0 24px 48px rgba(20,32,27,.25);
}
.phone__screen { background: var(--paper); border-radius: 20px; padding: 18px 14px 20px; min-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.phone__from { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; margin-bottom: 4px; }
.bubble { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; max-width: 92%; }
.bubble--me { align-self: flex-end; background: var(--green); color: #fff; border-color: var(--green); border-radius: 14px 14px 4px 14px; }
.bubble a { color: var(--green); font-weight: 600; }

/* driver portal art */
.portal { width: min(320px, 100%); background: #fff; border-radius: 8px; box-shadow: 0 18px 40px rgba(20,32,27,.14); overflow: hidden; font-size: 14px; }
.portal__bar { background: var(--asphalt); color: var(--on-dark); padding: 12px 16px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; }
.portal__bar b { color: var(--amber); font-weight: 500; }
.portal__stop { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--paper-2); }
.portal__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: var(--paper-2); }
.portal__stop--done .portal__n { background: var(--green); color: #fff; }
.portal__stop--next .portal__n { background: var(--amber); color: var(--amber-ink); }
.portal__name { font-weight: 600; line-height: 1.25; }
.portal__addr { font-size: 12px; color: var(--muted); }
.portal__tag { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.portal__stop--done .portal__tag { color: var(--green); }
.portal__stop--next .portal__tag { color: #9A6510; }

/* alerts art */
.alerts { width: min(340px, 100%); display: grid; gap: 10px; }
.alert { background: #fff; border-radius: 6px; padding: 12px 14px; display: grid; grid-template-columns: 4px 1fr; gap: 12px; box-shadow: 0 8px 20px rgba(20,32,27,.08); font-size: 14px; }
.alert__bar { border-radius: 2px; background: var(--green); }
.alert--amber .alert__bar { background: var(--amber); }
.alert--dark .alert__bar { background: var(--asphalt); }
.alert b { display: block; font-weight: 700; }
.alert span { color: var(--muted); font-size: 13px; }
.alert time { font-family: var(--mono); font-size: 11px; color: var(--muted); float: right; }

/* subdomain art */
.tenants { width: min(360px, 100%); font-family: var(--mono); font-size: 13.5px; display: grid; gap: 10px; }
.tenant { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tenant b { font-weight: 500; color: var(--green); }
.tenant em { font-style: normal; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; white-space: nowrap; }
.tenant--you { border-style: dashed; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing-bg { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px 30px; display: flex; flex-direction: column; }
.plan--featured { background: var(--asphalt); color: var(--on-dark); border-color: var(--asphalt); position: relative; }
.plan__flag {
  position: absolute; top: -13px; left: 28px;
  background: var(--amber); color: var(--amber-ink);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
}
.plan__name { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0 0 18px; }
.plan--featured .plan__name { color: var(--amber); }
.plan__price { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 58px; line-height: 1; letter-spacing: -0.03em; margin: 0; }
.plan__price small { font-family: var(--body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan--featured .plan__price small, .plan--featured .plan__sub { color: var(--on-dark-muted); }
.plan__sub { margin: 10px 0 24px; font-size: 14.5px; color: var(--muted); min-height: 2.9em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.plan--featured li { border-color: var(--line-dark); }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.plan--featured li::before { border-color: var(--amber); }
.plan .pp-btn { width: 100%; }
.plans__note { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.plans__note span::before { content: "/ "; color: var(--green); }

/* ---------- existing customers ---------- */
.signin { background: var(--asphalt); color: var(--on-dark); border-radius: 8px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.signin h2 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; margin: 0 0 10px; }
.signin p { margin: 0; color: var(--on-dark-muted); }
.signin code { font-family: var(--mono); font-size: clamp(14px, 1.6vw, 18px); color: var(--on-dark); background: var(--asphalt-2); border: 1px solid var(--line-dark); padding: 14px 18px; border-radius: 4px; display: block; white-space: nowrap; }
.signin code i { font-style: normal; color: var(--amber); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__aside h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 16px 0 18px; }
.contact__aside p { color: var(--muted); margin: 0 0 24px; }
.contact__aside dl { margin: 32px 0 0; font-size: 15px; }
.contact__aside dl div { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact__aside dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.contact__aside dd { margin: 0; overflow-wrap: anywhere; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(47,107,79,.18); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 40ch; }
.notice { grid-column: 1 / -1; border-radius: 4px; padding: 14px 16px; font-size: 15px; }
.notice--ok { background: #E3EFE7; border-left: 4px solid var(--green); }
.notice--err { background: #F7E9D2; border-left: 4px solid var(--amber); }
.notice b { display: block; }

/* ---------- footer ---------- */
.pp-foot { background: var(--asphalt); color: var(--on-dark-muted); padding: 56px 0 44px; margin-top: clamp(72px, 10vw, 128px); }
.pp-foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.pp-foot .pp-brand { color: var(--on-dark); }
.pp-foot__links { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.pp-foot__links a { text-decoration: none; font-size: 15px; }
.pp-foot__links a:hover { color: var(--on-dark); }
.pp-foot__legal { padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.pp-foot__legal a { color: var(--on-dark); }

/* ---------- legal pages ---------- */
.legal-hero { background: var(--asphalt); color: var(--on-dark); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; }
.legal-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 72px); }
.legal-hero .eyebrow { color: var(--amber); }
.legal-hero h1 { font-size: clamp(38px, 5.6vw, 72px); margin: 16px 0 18px; }
.legal-hero p { margin: 0; font-family: var(--mono); font-size: 13.5px; color: var(--on-dark-muted); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); padding-top: clamp(40px, 6vw, 72px); }
.legal__toc { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.legal__toc b { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.legal__toc a { display: block; padding: 7px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--muted); line-height: 1.35; }
.legal__toc a:hover { color: var(--ink); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; margin: 44px 0 14px; scroll-margin-top: 20px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal__body p, .legal__body li { margin: 0 0 12px; }
.legal__body ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal__body li::marker { color: var(--green); }
.legal__body .caps { font-size: 15px; }
.legal__body address { font-style: normal; background: var(--paper-2); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 4px 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .map { max-width: 560px; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__art { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan--featured { margin-top: 10px; }
  .signin { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 640px) {
  .pp-nav__links a:not(.pp-btn) { display: none; }
  .flow { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .signin code { white-space: normal; overflow-wrap: anywhere; }
  .contact__aside dl div { grid-template-columns: 1fr; gap: 2px; }
}
