/* Long Road Software — longroadsoftware.com */
:root {
  --paper: #f4f6f5;
  --paper-2: #ffffff;
  --ink: #15201b;
  --ink-2: #4b5752;
  --line: #d6ddd9;
  --sign: #0f6b45;
  --sign-ink: #ffffff;
  --accent: #0f6b45;
  --stripe: #f2b705;
  --max: 64rem;
  --measure: 38rem;
  --display: "Overpass", "DIN Alternate", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1513;
    --paper-2: #17201c;
    --ink: #e8efeb;
    --ink-2: #a2b0a9;
    --line: #28332e;
    --sign: #0f6b45;
    --sign-ink: #ffffff;
    --accent: #5ec79a;
    --stripe: #f2b705;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1513;
  --paper-2: #17201c;
  --ink: #e8efeb;
  --ink-2: #a2b0a9;
  --line: #28332e;
  --sign: #0f6b45;
  --sign-ink: #ffffff;
  --accent: #5ec79a;
  --stripe: #f2b705;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
}
a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--stripe); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }

/* Header: the name as a road sign */
.top {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
}
.sign {
  display: inline-flex; flex-direction: column;
  padding: 0.45rem 0.9rem 0.35rem;
  background: var(--sign); color: var(--sign-ink);
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 4px var(--sign-ink);
  font: 800 1.05rem/1.05 var(--display);
  letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase;
}
.sign span + span { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.top nav a { color: var(--ink); font: 600 1rem var(--display); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* Sticky menu, with a Products dropdown */
html { scroll-padding-top: 5.5rem; }
header.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.75rem;
}
.top nav { align-items: center; }
.menu-drop { position: relative; }
.menu-drop summary {
  list-style: none; cursor: pointer;
  color: var(--ink); font: 600 1rem var(--display);
  padding: 0.45rem 0.1rem; min-height: 44px;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.menu-drop summary::-webkit-details-marker { display: none; }
.menu-drop summary::after {
  content: ""; width: 0.45rem; height: 0.45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
}
.menu-drop[open] summary::after { transform: translateY(0.15rem) rotate(225deg); }
.menu-panel {
  display: none; position: absolute; top: calc(100% + 0.35rem); left: 0; z-index: 50;
  min-width: 18rem; padding: 0.4rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 0.7rem;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.45);
}
.menu-drop[open] .menu-panel,
.menu-drop:hover .menu-panel,
.menu-drop:focus-within .menu-panel { display: block; }
.top .menu-panel a {
  display: block; padding: 0.55rem 0.7rem; border-radius: 0.45rem;
  color: var(--ink); text-decoration: none; font: 400 1rem var(--body);
}
.top .menu-panel a:hover,
.top .menu-panel a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }
.top .menu-panel a strong { display: block; font: 700 1rem var(--display); }
.top .menu-panel a span { display: block; margin-top: 0.1rem; font: 400 0.9rem var(--body); color: var(--ink-2); }
@media (max-width: 40rem) {
  header.top { flex-wrap: nowrap; gap: 0.75rem; }
  .top nav { flex-wrap: nowrap; overflow-x: auto; min-width: 0; gap: 0.75rem; }
  .menu-drop { flex: none; }
  .menu-panel {
    position: fixed; left: 0.75rem; right: 0.75rem; top: 5.75rem;
    min-width: 0; width: auto;
  }
}


/* Opening */
.hero { padding-block: 3rem 2.5rem; }
@media (min-width: 48rem) { .hero { padding-block: 5rem 3.5rem; } }
.product-badge {
  display: block;
  width: min(270px, 70vw);
  height: auto;
  margin: 0 0 1rem;
}

.marker {
  margin: 0 0 1rem;
  font: 500 0.8rem/1 var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 {
  margin: 0; max-width: 18ch;
  font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em;
}
.lede { max-width: var(--measure); margin: 1.5rem 0 0; font-size: 1.25rem; color: var(--ink-2); }

/* Hero: copy beside a phone screen */
.hero-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.1fr 0.7fr; } }
.hero-shot { display: flex; justify-content: center; }
.phone-frame {
  width: 100%; max-width: 15rem; padding: 0.6rem;
  background: var(--ink); border-radius: 1.6rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.22);
}
.phone-frame img { display: block; width: 100%; border-radius: 1.1rem; }

/* The road's centre line, between sections */
.centerline {
  height: 6px; margin: 0;
  background: repeating-linear-gradient(90deg, var(--stripe) 0 3rem, transparent 3rem 5rem);
  border-radius: 3px;
}

section { padding-block: 3rem; }
section + section { border-top: 1px solid var(--line); }
h2 {
  margin: 0 0 1.5rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
p { max-width: var(--measure); margin: 0 0 1rem; }

/* A product */
.product {
  display: grid; gap: 1.25rem 2rem; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .product { grid-template-columns: 7rem 1fr; } }
.product img { width: 7rem; height: 7rem; }
.product h3 { margin: 0 0 0.5rem; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.product h3 a { color: var(--ink); text-decoration: none; }
.product h3 a:hover { color: var(--accent); }
.product + .product { margin-top: 2.5rem; }
.product.plain { grid-template-columns: 1fr; }
.shot { margin: 1.5rem 0 0; max-width: 40rem; }
.shot img { border-radius: 0.6rem; border: 1px solid var(--line); }
.shot figcaption { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.95rem; }
.facts {
  font: 500 0.85rem/1.5 var(--mono); color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.5rem; }
.button {
  display: inline-block; padding: 0.7rem 1.2rem;
  background: var(--sign); color: var(--sign-ink);
  border-radius: 0.5rem; font: 700 1rem var(--display); text-decoration: none;
}
.button:hover { filter: brightness(1.1); }
.button.secondary {
  background: transparent; color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* How it works: numbered steps with a screen each */
.steps {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding: 0; margin: 0; list-style: none; counter-reset: step;
}
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; }
.step img { border-radius: 0.6rem; border: 1px solid var(--line); margin-bottom: 1rem; max-width: 10rem; }
.step h3 {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 800;
}
.step h3::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; flex: none;
  background: var(--stripe); color: var(--ink); border-radius: 50%;
  font: 700 0.9rem var(--mono);
}
.step p { font-size: 1rem; }

.handsfree {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center;
  margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line);
}
@media (min-width: 40rem) { .handsfree { grid-template-columns: 8rem 1fr; } }
.handsfree img { border-radius: 0.6rem; border: 1px solid var(--line); max-width: 8rem; }

/* Video */
video { width: 100%; max-width: 40rem; border-radius: 0.6rem; background: #000; display: block; }

/* Free / Pro table */
table.plan { width: 100%; max-width: var(--max); border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
table.plan th, table.plan td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; }
table.plan thead th { color: var(--ink-2); font-weight: 700; }
table.plan td { text-align: center; }
table.plan th[scope="row"] { text-align: left; font-weight: 600; }

/* FAQ */
.faq-list { max-width: var(--measure); }
.faq-item { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq-item summary { cursor: pointer; font: 700 1.05rem var(--display); }
.faq-item summary::marker { color: var(--accent); }
.faq-item p { margin-top: 0.7rem; }

/* How the work is done */
.principles { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; padding: 0; margin: 2rem 0 0; list-style: none; }
@media (min-width: 48rem) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { border-top: 3px solid var(--stripe); padding-top: 0.9rem; }
.principles strong { display: block; margin-bottom: 0.35rem; font: 700 1.1rem/1.3 var(--display); }
.principles span { color: var(--ink-2); }

footer {
  padding-block: 2rem 3rem; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 0.95rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer a { color: var(--ink-2); }

/* Not found */
.lost { padding-block: 5rem 4rem; }
.lost ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: no-preference) {
  .button, .top nav a { transition: color 0.15s, filter 0.15s; }
}

/* Analytics notice — asked once, before anything is loaded from Google.
   Both buttons are the same size and the same colour: saying no is one
   click, exactly like saying yes. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--paper-2); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08); }
.consent-inner { max-width: var(--max); margin: 0 auto; padding: 1rem 16px 1.25rem; }
.consent h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.consent p { margin: 0 0 0.6rem; font-size: 1rem; color: var(--ink-2); max-width: 46rem; }
.consent-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.consent-buttons button { font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; padding: 0.55rem 1.1rem; min-width: 11rem; border: 1px solid var(--accent); border-radius: 6px; background: var(--sign); color: var(--sign-ink); }
.consent-more { font-size: 0.95rem; margin-bottom: 0; }
.consent-change { font: inherit; font-size: inherit; font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }

/* Email-me form (posts straight to Kit, no script) */
.notify { margin-top: 1.25rem; max-width: var(--measure); }
.notify label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.notify-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.notify input {
  flex: 1 1 16rem; min-width: 0; padding: 0.65rem 0.8rem;
  font: inherit; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 0.5rem;
}
.notify input:focus-visible { outline: 3px solid var(--stripe); outline-offset: 2px; }
.notify .button { border: 0; cursor: pointer; }
.fine { color: var(--ink-2); font-size: 0.95rem; }
