/* Touchline Fines homepage. Separate from app.css so the app doesn't load any of this.
   Dark and light sections, yellow and red like the cards, condensed uppercase headings like the app. */
:root {
  --night: #16181b;
  --night-2: #1f2226;
  --paper: #ffffff;
  --mist: #f1f2ee;
  --ink: #15181d;
  --muted: #5d636b;
  --muted-dark: #a5abb3;
  --line: #e1e3df;
  --yellow: #f4c20d;
  --red: #c8322a;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; line-height: .98; margin: 0; }
h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 28px; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* The two-card logo, as in the app */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.mark { width: 15px; height: 21px; background: var(--yellow); border-radius: 2px; transform: rotate(-8deg); box-shadow: 3px 1px 0 var(--red); flex: none; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--night) 94%, transparent); color: #fff; backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.top nav { display: flex; gap: 22px; }
.top nav a { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .8; }
.top nav a:hover { opacity: 1; }

/* Sections */
section { padding: 88px 0; }
.dark { background: var(--night); color: #fff; }
.light { background: var(--paper); }
.light.alt { background: var(--mist); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.eyebrow.red { color: var(--red); }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(52px, 8.4vw, 96px); font-weight: 800; margin-bottom: 26px; }
.hero h1 .hl { color: var(--yellow); }
.lead { font-size: 18px; color: #d2d6db; max-width: 520px; }
.pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1.5px solid rgba(255,255,255,.22); border-radius: 99px; font-size: 14px; font-weight: 600; }
.dot { width: 9px; height: 12px; border-radius: 2px; }
.dot.y { background: var(--yellow); }
.dot.r { background: var(--red); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-art .card { position: absolute; width: 58%; aspect-ratio: 5 / 7; border-radius: 16px; }
.hero-art .card.yellow { background: var(--yellow); transform: translate(-30%, -6%) rotate(-12deg); }
.hero-art .card.red { background: var(--red); transform: translate(30%, 4%) rotate(10deg); }
.hero-phone { position: relative; width: min(300px, 78%); }

/* Phone frame around a plain screenshot */
/* No notch: the screenshots start right at the club's header, and a notch would cover its name. */
.phone { margin: 0; padding: 9px; border-radius: 40px; background: #0b0c0e; box-shadow: 0 0 0 1.5px #2b2f35, 0 24px 60px rgba(0,0,0,.35); position: relative; }
.phone-screen { border-radius: 31px; overflow: hidden; aspect-ratio: 390 / 844; background: #22262b; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.light .phone { box-shadow: 0 0 0 1.5px #2b2f35, 0 18px 44px rgba(20,24,30,.22); }

/* Features */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.features li { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.features .num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: var(--night); color: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.features p { color: var(--muted); font-size: 15px; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 12px; }
.shot { display: grid; gap: 8px; justify-items: center; text-align: center; }
.shot .phone { width: 100%; max-width: 260px; margin-bottom: 14px; }
.shot h3 { font-size: 20px; letter-spacing: .06em; }
.shot p { color: var(--muted-dark); font-size: 14px; max-width: 240px; }
.light .shot p { color: var(--muted); }

/* Text beside phones */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text > p { color: var(--muted); font-size: 17px; max-width: 520px; }
.split-art { display: grid; justify-items: center; }
.split-art > .phone { width: min(300px, 80%); }
.split-art.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 520px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 15px; border-radius: 2px; background: var(--yellow); transform: rotate(-6deg); }
.ticks li:nth-child(2)::before { background: var(--red); }
.ticks b { color: var(--ink); }
.kits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.kits span { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--line); }

/* How it works */
.steps-sec { background: var(--mist); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.steps .big { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .9; color: var(--red); }
.steps p { color: var(--muted); }

/* Your rules, your prices: a yellow band with an example fine list */
.rules-sec { background: var(--yellow); color: #1d1906; }
.rules-sec .eyebrow { color: #1d1906; }
.rules-sec .split-text > p { color: #3f3713; }
.price-list { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid rgba(29,25,6,.28); }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 2px 12px; border-bottom: 1.5px solid rgba(29,25,6,.28); }
.price-list span { font-weight: 600; font-size: 17px; }
.price-list b { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.price-list li.add { border-bottom-style: dashed; color: #4a4116; }
.price-list li.add span { font-style: italic; }
.price-list li.add b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font-size: 22px; }

/* Footer */
.foot { background: var(--night); color: #fff; padding: 44px 0; }
.foot-in { display: grid; gap: 12px; }
.foot p { color: var(--muted-dark); }
.foot .small { font-size: 13px; }

/* Tablet */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { min-height: 520px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-text { order: 0; }
}
/* Phone */
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top nav { display: none; }
  .hero { padding: 44px 0 64px; }
  .hero-art { min-height: 440px; }
  .lead { font-size: 17px; }
  .features, .steps { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; }
  .shot .phone { max-width: 240px; }
  .split-art.pair { gap: 14px; }
}
