/* Paddockside shopfront (www). Paddock green and white rail; headlines in a racecard condensed face. */
:root {
  --green: #1F5C40;
  --turf: #143D2B;
  --rail: #F6F4EE;
  --chalk: #FFFFFF;
  --ink: #1C211E;
  --muted: #5E655F;
  --line: #DDD8CC;
  --gold: #C99A2E;
  --amber-bg: #FBF1DE;
  --amber: #8A5A0B;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--rail); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--chalk); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--green);
  color: var(--chalk); font-weight: 600; text-decoration: none; border: 2px solid var(--green); font-size: 1rem; cursor: pointer; font-family: var(--body); }
.btn:hover { background: var(--turf); border-color: var(--turf); }
.btn--ghost { background: transparent; color: var(--chalk); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--chalk); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn--wide { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246,244,238,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.6rem/1 var(--display); color: var(--ink); text-decoration: none; }
.brand__mark { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.nav__quiet { color: var(--muted) !important; }
.menu-toggle { display: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font: 600 .95rem var(--body); color: var(--ink); }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--rail);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* Hero: turf green, with the running rail along its foot */
.hero { position: relative; background: var(--green); color: var(--chalk); padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 6.2rem); line-height: .94; font-weight: 700; max-width: 11ch; }
.hero__lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34rem; color: #E4EDE7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions .btn:first-child { background: var(--chalk); color: var(--green); border-color: var(--chalk); }
.hero__actions .btn:first-child:hover { background: var(--rail); }
.hero__note { margin-top: 18px; font-size: .95rem; color: #BFD3C6; }
.hero__phone { position: relative; justify-self: center; }
.rail { position: absolute; left: 0; right: 0; bottom: 26px; height: 24px; pointer-events: none;
  background:
    linear-gradient(var(--chalk), var(--chalk)) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--chalk) 0 5px, transparent 5px 120px) top 5px left 60px / 100% 19px no-repeat; opacity: .9; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 12ch; } }

/* Phones */
.phone { width: 300px; border-radius: 40px; background: #0E1A14; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.phone--small { width: 270px; }
.phone__bar { display: flex; justify-content: space-between; color: var(--chalk); font-size: .8rem; padding: 4px 14px 8px; }
.phone__dots { width: 54px; height: 10px; border-radius: 6px; background: #22342A; }
.mail, .portal__body { background: var(--chalk); color: var(--ink); border-radius: 28px; padding: 16px; font-size: .9rem; line-height: 1.45; }
.mail__from { color: var(--muted); font-size: .78rem; }
.mail__band { margin: 10px -16px 0; background: var(--green); color: var(--chalk); padding: 10px 16px; font: 700 1.5rem/1 var(--display); }
.mail__band small { display: block; font: 400 .8rem/1.4 var(--body); color: #DCE8E0; margin-top: 4px; }
.mail__photo { position: relative; margin: 0 -16px; height: 120px; }
.mail__photo svg { width: 100%; height: 100%; }
.mail__play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green);
  display: grid; place-items: center; font-size: 1rem; padding-left: 3px; }
.mail__body { margin-top: 12px; }
.mail__answers { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mail__answers span { width: 100%; font-weight: 600; font-size: .82rem; }
.mail__answers b { width: 44px; height: 40px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 10px; color: var(--green); }
.badge-float { position: absolute; background: var(--chalk); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: .88rem; box-shadow: 0 16px 30px -12px rgba(0,0,0,.4); white-space: nowrap; }
.badge-float strong { font: 700 1.4rem/1 var(--display); color: var(--green); margin-right: 4px; }
.badge-float--a { left: -96px; top: 36px; }
.badge-float--b { right: -48px; bottom: -22px; background: var(--amber-bg); color: var(--amber); font-weight: 600; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); margin-right: 6px; }
@media (max-width: 860px) { .badge-float--a { left: -10px; top: -18px; } .badge-float--b { right: -8px; bottom: -20px; } }
@media (prefers-reduced-motion: no-preference) {
  .badge-float--b { animation: nudge 900ms 900ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes nudge { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* Built-for strip */
.strip { background: var(--chalk); border-bottom: 1px solid var(--line); }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 22px 0; }
.strip p { max-width: 36rem; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font: 600 1.25rem/1.2 var(--display); }

/* Sections */
.section-head { display: grid; gap: 12px; max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.tour, .features, .security, .faq { padding: clamp(64px, 9vw, 112px) 0; }

/* The race week: each leg with its saddlecloth number and a glimpse of the app */
.race { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(36px, 5vw, 64px); }
.race::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: repeating-linear-gradient(var(--green) 0 10px, transparent 10px 18px); opacity: .35; }
.leg { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, .85fr); gap: 20px 32px; align-items: start; }
.leg__cloth { width: 56px; height: 64px; border-radius: 6px 6px 10px 10px; background: var(--green); color: var(--chalk); font: 700 2.2rem/64px var(--display); text-align: center;
  position: relative; z-index: 1; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.leg:nth-child(even) .leg__cloth { background: var(--chalk); color: var(--green); border: 2px solid var(--green); line-height: 60px; }
.leg__when { font-weight: 600; color: var(--green); margin-bottom: 6px; }
.leg__text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.leg__text p:last-child { color: #3A423D; max-width: 36rem; }
@media (max-width: 860px) { .leg { grid-template-columns: 56px minmax(0, 1fr); } .leg__shot { grid-column: 2; } }

.mini { background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-size: .92rem; display: grid; gap: 8px; }
.mini--phone { border-radius: 24px; border-width: 6px; border-color: #0E1A14; }
.mini__label { color: var(--muted); font-size: .8rem; }
.mini__title { font: 700 1.3rem/1.1 var(--display); color: var(--ink); }
.mini__row { border-top: 1px solid #EEEAE0; padding-top: 6px; }
.mini__field { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--muted); }
.mini__field--tall { min-height: 64px; color: var(--ink); }
.mini__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mini__wait { background: var(--amber-bg); border-left: 4px solid var(--amber); padding: 10px 12px; }
.mini__wait span { color: var(--amber); font-weight: 600; font-size: .85rem; }
.mini__steps { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; }
.mini__steps span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.mini__steps .done::before { background: var(--green); }
.mini__steps .now { color: var(--green); font-weight: 600; }
.mini__steps .now::before { border: 3px solid var(--green); width: 6px; height: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green); font-size: .85rem; font-weight: 600; }
.chip--solid { background: var(--green); color: var(--chalk); }
.ring { --p: 63; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--chalk) 74%, transparent 75% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), #E3ECE6 0); }
.ring span { font: 700 1.7rem/1 var(--display); }
.ring small { color: var(--muted); font-size: .75rem; }

/* Features: a plain grid with rules, not boxes */
.features { background: var(--chalk); border-block: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feature { padding: 26px 0; border-top: 2px solid var(--ink); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: #3A423D; }
@media (max-width: 960px) { .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: minmax(0, 1fr); } }

/* Owners */
.owners { background: var(--turf); color: var(--chalk); padding: clamp(64px, 9vw, 112px) 0; }
.owners__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.owners__copy p { margin-top: 16px; color: #D5E3DA; max-width: 34rem; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold);
  -webkit-mask: radial-gradient(circle, #000 99%, transparent 100%); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 5px; height: 8px; border: solid var(--turf); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.portal { justify-self: center; }
.portal__hi { font: 700 1.6rem/1 var(--display); margin-bottom: 12px; }
.portal__horse, .portal__invite { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 8px; }
.portal__horse span, .portal__invite span { color: var(--muted); font-size: .82rem; }
.portal__buttons { display: flex; gap: 6px; margin-top: 6px; }
.portal__buttons i { font-style: normal; font-weight: 600; font-size: .82rem; color: var(--green); border: 1.5px solid var(--green); border-radius: 999px; padding: 4px 10px; }
.portal__buttons i:first-child { background: var(--green); color: var(--chalk); }
@media (max-width: 860px) { .owners__grid { grid-template-columns: minmax(0, 1fr); } }

/* Switching over: three real steps */
.switch { padding: clamp(56px, 8vw, 96px) 0; }
.switch__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.switch__steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.switch__steps li { counter-increment: step; position: relative; padding-left: 56px; color: #3A423D; }
.switch__steps li b { color: var(--ink); }
.switch__steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--green);
  color: var(--green); font: 700 1.3rem/34px var(--display); text-align: center; }
@media (max-width: 860px) { .switch__grid { grid-template-columns: minmax(0, 1fr); } }

/* Security */
.security { background: var(--chalk); border-top: 1px solid var(--line); }
.security__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.security__grid p { color: #3A423D; }
.security__grid b { display: block; color: var(--ink); font: 600 1.35rem/1.15 var(--display); margin-bottom: 6px; }
@media (max-width: 760px) { .security__grid { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.pricing { padding: clamp(64px, 9vw, 112px) 0; }
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.pricing__lede { margin-top: 16px; color: #3A423D; max-width: 32rem; }
.pricing__temp { margin-top: 14px; display: inline-block; background: var(--amber-bg); color: var(--amber); border-radius: 8px; padding: 6px 10px; font-size: .92rem; font-weight: 600; }
.plan { background: var(--chalk); border: 2px solid var(--green); border-radius: 22px; padding: 28px; }
.tiers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tiers th, .tiers td { padding: 12px 0; text-align: right; border-bottom: 1px solid #E2E6E3; }
.tiers th[scope="row"], .tiers thead th:first-child { text-align: left; font-weight: 600; }
.tiers thead th { font-size: .9rem; font-weight: 600; color: var(--muted); padding-top: 0; }
.tiers td b { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-weight: 700; color: var(--green); }
.tiers td:last-child { color: var(--muted); padding-left: 16px; }
.tiers__note { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan .ticks li::after { border-color: var(--chalk); }
.plan .ticks li::before { background: var(--green); }
.plan .btn { margin-top: 24px; }
.plan .btn + .btn { margin-top: 10px; }
.btn--outline { background: transparent; color: var(--green); }
.btn--outline:hover { background: #E6EFE9; color: var(--turf); }
.plan__soon { margin-top: 12px; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .pricing__grid { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact { background: var(--green); color: var(--chalk); padding: clamp(64px, 9vw, 112px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact__copy p { margin-top: 14px; color: #DCE8E0; max-width: 28rem; }
.form { background: var(--chalk); color: var(--ink); border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.form__row { display: grid; gap: 6px; }
.form__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form label { font-weight: 600; font-size: .95rem; }
.form label span { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; border: 1.5px solid #C9C4B6; border-radius: 12px; padding: 10px 14px; font: 400 1rem var(--body);
  color: var(--ink); background: var(--chalk); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(31,92,64,.25); border-color: var(--green); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: #9B2C2C; font-weight: 600; }
.form__done { background: #E6EFE9; color: var(--green); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form__pair { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq__wrap { max-width: 760px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font: 600 1.4rem/1.2 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.8rem/1 var(--body); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: #3A423D; max-width: 40rem; }

/* Footer */
.foot { background: var(--turf); color: #CFE0D5; padding: 36px 0; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot a { color: var(--chalk); }
.brand--foot { color: var(--chalk); }

/* Legal pages (4 Dec 2026): Terms of Service, Fair Use, Privacy, owners' portal terms. One readable column. */
.legal-top { background: var(--chalk); border-bottom: 1px solid var(--line); }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.legal { width: min(760px, 100% - 32px); margin: 0 auto; padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
.legal h2 { font-size: 1.7rem; margin-top: 40px; }
.legal h3 { font-size: 1.2rem; margin-top: 24px; font-family: var(--body); font-weight: 700; }
.legal p, .legal li { margin-top: 12px; max-width: 68ch; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0; }
.legal__meta { margin-top: 12px; color: var(--muted); }
.legal__draft { margin-top: 20px; background: var(--amber-bg); color: var(--amber); border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.legal__toc { margin-top: 24px; padding: 16px 20px; background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r); }
.legal__toc ol { columns: 2 220px; }
.legal__toc li { margin-top: 4px; }
.blank { background: var(--amber-bg); color: var(--amber); border-radius: 4px; padding: 0 4px; font-weight: 600; white-space: nowrap; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Signing up (4 Dec 2026): one column, the plan chosen like a racecard entry, then on to Stripe for the card. */
.signup { width: min(640px, 100% - 32px); margin: 0 auto; padding: 48px 0 80px; }
.signup h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
.signup__lede { margin-top: 12px; color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.signup__form { margin-top: 28px; border: 1px solid var(--line); }
.signup__summary { font-weight: 600; color: var(--green); }
.signup__small { font-size: .9rem; color: var(--muted); }
.signup__steps { margin: 24px 0; padding-left: 1.3em; display: grid; gap: 10px; }
.choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.choice__option { position: relative; cursor: pointer; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__option > span { display: grid; gap: 2px; min-height: 64px; align-content: center; padding: 10px 14px; border: 1.5px solid #C9C4B6; border-radius: 12px; background: var(--chalk); }
.choice__option b { font-size: 1.05rem; }
.choice__price { color: var(--muted); font-size: .9rem; }
.choice__option input:checked + span { border-color: var(--green); background: #E6EFE9; box-shadow: inset 0 0 0 1px var(--green); }
.choice__option input:checked + span .choice__price { color: var(--green); }
.choice__option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 560px) { .choice { grid-template-columns: minmax(0, 1fr); } .choice--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
