/* RunList website: light, sunny, hi-vis amber. Shared by every page;
   the landing page adds home.css on top. */
:root {
  --bg: #fffdf8; --bg2: #f5f0e6; --card: #ffffff; --edge: #e6dfd0;
  --text: #0f141b; --muted: #566072; --ink: #0f141b;
  --amber: #f5a623; --amber-ink: #0f141b; --amber-deep: #c97a00;
  --blue: #2f6fe4; --green: #12a150;
  --hazard: repeating-linear-gradient(-45deg, var(--amber) 0 18px, #0f141b 18px 36px);
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: Barlow, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px; line-height: 1.55;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.cond { font-family: "Barlow Condensed", Barlow, sans-serif; text-transform: uppercase; letter-spacing: .02em; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(15,20,27,.07); }
.nav::after { content: ""; display: block; height: 6px; background: var(--hazard); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 38px; color: var(--ink);
  text-decoration: none; letter-spacing: -.01em; display: flex; align-items: center; gap: .22em; line-height: 1; }
.brand span { color: #e58a00; margin-left: -.22em; }
.brand img, .brand svg { width: 1em; height: 1em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--ink); }
.nav-links a:hover { color: #e58a00; }
.nav-links .btn { color: #fff; background: var(--ink); }
.nav-links .btn:hover { color: #fff; background: #e58a00; }
@media (max-width: 720px) {
  .nav-links .hide-sm { display: none; }
  .nav .wrap { height: 68px; }
  .brand { font-size: 32px; }
  .nav-links { gap: 14px; white-space: nowrap; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px; font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 17px; }

/* type */
.eyebrow { color: var(--amber-deep); font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: 16px; margin-bottom: 14px; }
h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 7vw, 84px); line-height: .95; letter-spacing: -.005em; }
h1 em, h2 em { font-style: normal; color: #e58a00; }
h2 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 52px); line-height: 1; margin-bottom: 14px; }
.lede { color: #2b3440; font-size: 21px; margin: 22px 0 30px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--muted); font-size: 15px; margin-top: 14px; }
.sec-lede { color: var(--muted); font-size: 19px; max-width: 60ch; margin-bottom: 40px; }

/* sections */
section { padding: 72px 0; }
.alt { background: var(--bg2); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: 1fr; } section { padding: 52px 0; } }
.feat { background: var(--card); border: 1px solid var(--edge); border-radius: 20px; padding: 24px;
  box-shadow: 0 14px 34px rgba(40,30,10,.07); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245,166,35,.18); color: var(--amber-deep); margin-bottom: 14px; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1.1; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 17px; }
.feat a { color: var(--amber-deep) !important; font-weight: 600; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; justify-content: center; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 340px)); }
@media (max-width: 980px) { .plans.three { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 2px solid var(--edge); border-radius: 24px; padding: 30px 26px; position: relative;
  box-shadow: 0 18px 44px rgba(40,30,10,.08); display: flex; flex-direction: column; }
.plan.best { background: var(--amber); border-color: var(--amber); }
.plan .flag { position: absolute; top: -13px; left: 24px; background: var(--ink); color: var(--amber);
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 6px; letter-spacing: .05em; }
.plan h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 24px; color: var(--muted); }
.price { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 60px; line-height: 1; margin: 8px 0 2px; white-space: nowrap; }
.price small { font-size: 22px; color: var(--muted); font-weight: 700; }
.plan .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.plan.best h3, .plan.best .sub, .plan.best .price small { color: rgba(15,18,24,.72); }
.plan ul { list-style: none; margin: 14px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 30px; position: relative; font-size: 16px; color: #2b3440; }
.plan.best li { color: #1d1608; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 14px; height: 8px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.plan.best li::before { border-color: var(--ink); }
.plan .btn { width: 100%; }
.plan.best .btn { background: var(--ink); color: #fff; }

/* Standard's monthly / yearly switch */
.bill { display: inline-flex; align-self: flex-start; background: rgba(15,20,27,.12); border-radius: 12px; padding: 4px; gap: 4px; margin: -6px 0 6px; }
.bill button { border: 0; background: transparent; font: 700 16px Barlow, sans-serif; color: var(--ink); padding: 8px 14px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.bill button.on { background: var(--ink); color: #fff; }
.bill button b { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; margin-left: 4px; color: #6b4300; }
.bill button.on b { color: var(--amber); }
/* a plan that isn't on sale yet */
.plan.soon { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan.soon .flag { background: var(--amber); color: var(--ink); top: -30px; right: -14px; left: auto; width: 112px; height: 112px;
  border-radius: 50%; padding: 0; display: grid; place-items: center; text-align: center; font-size: 23px; line-height: .95;
  letter-spacing: .04em; transform: rotate(10deg); border: 4px solid var(--bg); box-shadow: 0 10px 24px rgba(15,20,27,.28); }
@media (max-width: 620px) { .plan.soon .flag { width: 96px; height: 96px; font-size: 20px; right: -8px; top: -26px; } }
.plan.soon h3, .plan.soon .sub, .plan.soon .price small { color: #aab4c2; }
.plan.soon li { color: #dfe5ec; }
.plan.soon li::before { border-color: var(--amber); }
.interest { display: grid; gap: 10px; }
.interest .btn { white-space: nowrap; }
.interest input[type=email] { width: 100%; padding: 14px; font: 500 17px Barlow, sans-serif; border-radius: 12px; border: 2px solid transparent; background: #fff; color: var(--ink); }
.interest input[type=email]:focus { outline: none; border-color: var(--amber); }
.interest-msg { font-size: 15px; line-height: 1.4; color: #dfe5ec; }
.interest-msg:empty { display: none; }   /* so the button sits level with the other cards' buttons */
.plan.soon li strong { color: #fff; font-weight: 700; }
button.btn { line-height: 1.55; }
.interest.done input, .interest.done button { display: none; }
.interest.done .interest-msg { font-size: 18px; font-weight: 600; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

/* faq */
.faq details { border-bottom: 1px solid var(--edge); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #e58a00; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.faq a { color: var(--amber-deep); }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px;
  border: 1px solid #000; background: #000; color: #fff; text-decoration: none; min-width: 170px; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; color: #c5ccd6; line-height: 1.1; }
.store b { display: block; font-size: 17px; line-height: 1.15; }

/* page header band for the inner pages */
.pagehead { background: linear-gradient(180deg, #dcecfb 0%, var(--bg) 100%); padding: 64px 0 28px; }
.pagehead h1 { font-size: clamp(54px, 8vw, 104px); line-height: .9; }
.pagehead p { color: #2b3440; font-size: 20px; margin-top: 16px; max-width: 58ch; }
.pagehead.centre { text-align: center; }
.pagehead.centre p { margin-left: auto; margin-right: auto; }

/* legal / plain pages */
.page { padding: 28px 0 90px; }
.page .wrap { max-width: 800px; }
.page .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.page h2 { font-size: 30px; margin: 40px 0 10px; }
.page p, .page li { color: #2b3440; font-size: 17px; margin-bottom: 12px; }
.page ul { padding-left: 22px; }
.page a { color: var(--amber-deep); font-weight: 600; }
.todo { background: rgba(245,166,35,.22); color: #7a4f00; padding: 0 4px; border-radius: 4px; }

/* closing band */
.band { text-align: center; }
.band h2 { margin-bottom: 18px; }
.band .cta-row { justify-content: center; }

/* footer */
footer { background: var(--ink); color: #aab4c2; padding: 36px 0 44px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
