:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #1b1b1a;
  --grey: #62625e;
  --line: #e6e5e1;
  --brand: #e8930c;
  --brand-hover: #c97c06;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --card-max: 760px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 20px 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-signin { font-size: 15px; color: var(--grey); text-decoration: none; padding: 6px 2px; }
.nav-signin:hover { color: var(--ink); }

.hero {
  position: relative;
  max-width: 1160px; margin: 0 auto;
  min-height: min(600px, 78vh);
  padding: 56px 28px 64px;
  display: flex; align-items: center;
  touch-action: pan-y;
}
.hero.is-holding { touch-action: none; }
.hero-chain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-text { position: relative; max-width: 560px; }
h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 400; line-height: 1.04; letter-spacing: -0.025em;
}
.lede { margin: 0 0 10px; font-size: 19px; color: var(--grey); max-width: 46ch; }
.qualifier { margin: 0 0 34px; font-size: 15px; color: var(--grey); max-width: 46ch; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; row-gap: 10px; margin: 0; }
.hint { flex-basis: 100%; margin-top: 2px; font-size: 14px; color: var(--grey); }

.btn {
  display: inline-block; padding: 13px 22px; border-radius: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 16px;
}
.btn:hover { background: #3a3a37; }

.block {
  max-width: 1160px; margin: 0 auto; padding: 64px 28px;
  border-top: 1px solid var(--line);
}
h2 { margin: 0 0 32px; font-size: 30px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }

.rows { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.rows > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
/* An odd last item spans the row instead of leaving an empty cell. */
.rows > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rows dt { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.rows dd { margin: 0; color: var(--grey); max-width: var(--measure); }

.prose p { max-width: var(--measure); color: var(--grey); margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.note { margin: 24px 0 0; color: var(--grey); font-size: 15px; max-width: var(--measure); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li {
  counter-increment: step;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; color: var(--grey);
}
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 14px;
  border-radius: 50%; border: 1.5px solid var(--brand); color: var(--ink); font-size: 14px; font-weight: 600;
}
.steps strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

.intro { margin: -14px 0 36px; color: var(--grey); max-width: 60ch; }
h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }

/* The path: one line, five stops, the break in amber. */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.path::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; border-top: 2px solid var(--ink); }
.path li { position: relative; padding: 30px 18px 0 0; color: var(--grey); font-size: 15px; }
.path strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.path .node { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bg); }
.path .is-break .node { background: var(--bg); border: 2px solid var(--brand); }
.path .is-break::after { content: ""; position: absolute; top: 6px; left: -40%; width: 40%; border-top: 2px dashed var(--brand); }

/* A slice of the owner's dashboard, drawn in HTML. */
.panel { margin: 0; max-width: var(--card-max); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.panel-count { color: var(--grey); font-weight: 400; }
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.panel-list li:last-child { border-bottom: 0; }
.panel-list .who { color: var(--grey); font-size: 14px; white-space: nowrap; }
.panel-list .is-done ~ .what { color: var(--grey); text-decoration: line-through; text-decoration-color: var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.is-open { background: var(--brand); }
.dot.is-done { background: #178a4c; }
.panel figcaption { padding: 10px 22px; font-size: 13px; color: var(--grey); background: color-mix(in srgb, var(--line) 55%, var(--bg)); }
.panel-cta { margin: 24px 0 12px; color: var(--grey); }

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.people > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.people h3 { margin: 0 0 6px; }
.people p { margin: 0; color: var(--grey); }

/* The rep's phone, drawn in HTML: a carousel of example screens, never a screenshot. */
.phone-demo { margin: 0; }
.phone-demo:focus-visible { outline-offset: 10px; }
.phone-stage { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 72px; align-items: center; }
.phone-frame { width: 290px; background: var(--ink); border-radius: 40px; padding: 10px; }
.phone-screen-clip { position: relative; width: 100%; aspect-ratio: 390 / 844; background: var(--surface); border-radius: 30px; overflow: hidden; }
.phone-track { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease; }
.phone-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.phone-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Every feature is listed beside the phone; the one on screen is marked. */
.phone-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.phone-features button {
  display: block; width: 100%; text-align: left; font: inherit; color: var(--grey); cursor: pointer;
  background: none; border: 0; border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; padding: 14px 20px;
}
.phone-features button:hover { color: var(--ink); }
.phone-features button[aria-selected="true"] { border-left-color: var(--brand); background: var(--surface); color: var(--ink); }
.phone-features strong { display: block; font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.phone-features span { display: block; max-width: 60ch; }
.phone-demo > figcaption { width: 290px; margin-top: 14px; text-align: center; font-size: 13px; color: var(--grey); }

.faq { max-width: var(--card-max); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--grey); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 20px; color: var(--grey); max-width: var(--measure); }

.contact { text-align: center; }
.contact p { color: var(--grey); max-width: 52ch; margin-left: auto; margin-right: auto; }
.contact .btn { margin-top: 8px; }
.contact-address { margin: 10px 0 0; font-size: 15px; }

.foot {
  max-width: 1160px; margin: 0 auto; padding: 28px; border-top: 1px solid var(--line);
  display: flex; gap: 24px; font-size: 14px; color: var(--grey);
}

/* Text-heavy sections: the heading and its intro on the left, the content on the right. */
.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: 72px; align-items: start; }
.split-head h2 { margin-bottom: 16px; }
.split-head .intro { margin: 0; font-size: 16px; }
.split-body > :first-child { margin-top: 0; }
.split-body .rows > div:first-child, .split-body .rows > div:nth-child(2) { padding-top: 4px; }
.split-body p { color: var(--grey); max-width: var(--measure); }
.split-body .faq, .split-body .panel { max-width: none; }
.split-body .faq summary:first-child { padding-top: 6px; }
.split .panel-cta { margin: 24px 0 12px; }
.split-body > p:last-child { margin-bottom: 0; }

.legal { max-width: 720px; margin: 0 auto; padding: 32px 28px 80px; }
.legal p, .legal li { color: var(--grey); }

@media (max-width: 760px) {
  .hero { min-height: 0; padding: 48px 22px 64px; }
  /* The chain is a desktop moment; phones get the text alone. */
  .hero-chain, .hint { display: none; }
  .hero-text { max-width: none; }
  .rows { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; gap: 24px; }
  .path { grid-template-columns: 1fr; gap: 22px; }
  .path::before { left: 7px; right: auto; top: 7px; bottom: 7px; border-top: 0; border-left: 2px solid var(--ink); }
  .path li { padding: 0 0 0 34px; }
  .path .is-break::after { display: none; }
  .panel-list li { grid-template-columns: 12px 1fr; }
  .panel-list .who { grid-column: 2; white-space: normal; }
  .block { padding: 48px 22px; }
  .split { grid-template-columns: 1fr; }
  .split-head { margin-bottom: 24px; }
  .nav { padding: 16px 22px; }
  .phone-stage { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .phone-features { width: 100%; }
  .phone-features span { display: none; }
  .phone-features button[aria-selected="true"] span { display: block; }
  .phone-demo > figcaption { margin-left: auto; margin-right: auto; }
}
