/* 3rd Rider brand hub. Colors and fonts match thirdriderapp.com. */
:root {
  --navy: #030d23;
  --navy-2: #0b1a3a;
  --card: #10203f;
  --line: #24365e;
  --cream: #fcf9f2;
  --muted: #b9c1d4;
  --orange: #ff6410;
  --orange-ink: #ff8a4c;
  --display: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font: 17px/1.6 var(--sans); }
a { color: var(--orange-ink); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 9; background: var(--cream); color: var(--navy); padding: 8px 12px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: rgb(3 13 35 / 94%); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 600 1.2rem/1 var(--display); }
.brand img { border-radius: 8px; }
.top nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--cream); }

/* Hero */
.hero { background: radial-gradient(circle at 50% 0, var(--navy-2) 0, var(--navy) 70%); padding: 56px 0 48px; text-align: center; }
.hero .logo { width: 180px; max-width: 55%; height: auto; }
h1 { margin: 24px auto 14px; max-width: 760px; font: 600 clamp(2rem, 6vw, 3.1rem) / 1.12 var(--display); }
.lead { margin: 0 auto; max-width: 640px; color: var(--muted); font-size: 1.15rem; }
.cta { margin: 28px 0 0; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border: 2px solid var(--orange); border-radius: 12px; background: var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; }
a.btn:hover { background: var(--orange-ink); border-color: var(--orange-ink); }
.btn.soon { background: transparent; color: var(--cream); border-style: dashed; cursor: default; }

/* Sections */
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { margin: 0 0 20px; font: 600 1.8rem/1.2 var(--display); }
h3 { margin: 0 0 8px; font: 600 1.25rem/1.25 var(--display); }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.art { display: flex; align-items: center; justify-content: center; height: 300px; padding: 20px; background: var(--navy-2); border-bottom: 1px solid var(--line); }
.art img { max-height: 100%; width: auto; height: auto; }
.art-app img { width: 170px; }
.art-cover { padding: 18px; }
.art-cover img { border-radius: 4px; box-shadow: 0 10px 26px rgb(0 0 0 / 50%); }
.art-text { flex-direction: column; gap: 14px; text-align: center; background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.art-text > * { max-width: 240px; }
.tc-kicker { color: var(--orange-ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tc-title { font: 600 1.6rem/1.15 var(--display); padding: 14px 0; border-top: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }
.tc-by { color: var(--muted); font-size: 0.9rem; }
.body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 22px 24px; }
.body p { margin: 0 0 12px; color: var(--muted); }
.body .kind { color: var(--orange-ink); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.body .price, .body .status { color: var(--cream); font-weight: 600; }
.body .btn { margin-top: auto; }

/* Footer */
footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer p { margin: 0; }
footer a { color: var(--muted); margin-right: 18px; }
footer a:hover { color: var(--cream); }

@media (max-width: 560px) {
  .top nav a { margin: 0 16px 0 0; }
  .top .wrap { padding-bottom: 8px; }
  .art { height: 260px; }
}
