/* dartmage.com home page (2026-10-06, from the Claude Design canvas "Dart Mage website"). The app's colors and fonts;
   the dart and board came from Philip's flyer (since 2026-10-13 his mage leads). Phone first; wider screens from 821px. */
:root {
  --deep: #050a18; --navy: #0a1430; --card: #0f1b3d; --foot: #02050d;
  --royal: #2a74f5; --blue: #1846c9; --sky: #4da3ff; --gold: #ffd23f;
  --paper: #f4f6fa; --ink: #0b1633; --ink2: #1d2a4a; --body: #3c4866; --muted: #55617e;
  --onDark: #b4c0e0; --onDark2: #8e9cc4; --line: rgba(160, 185, 255, .12);
  --disp: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--deep); color: #f2f5ff; font: 500 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--sky); }
a:hover { color: #8cc4ff; }
.wrap { max-width: 1240px; margin: 0 auto; }
.pad { padding-left: 20px; padding-right: 20px; }
.sec { padding-top: 64px; padding-bottom: 64px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.grow { flex: 1 1 460px; min-width: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }

/* type */
.kicker { font: 700 18px/1.2 var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.kicker.dim { color: #9aa8cf; }
.kicker.blue { color: var(--blue); }
h1, h2 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(64px, 17vw, 128px); line-height: .88; color: #fff; margin-top: 14px; }
h2 { font-size: clamp(44px, 11vw, 72px); line-height: .95; color: #fff; margin-top: 10px; }
.light h2 { color: var(--ink); }
.accent { color: var(--sky); }
.light .accent { color: var(--blue); }
.lede { margin: 18px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--onDark); }
.light .lede { color: var(--body); }
.tag { margin: 24px 0 0; font-size: 24px; line-height: 1.3; font-weight: 700; color: #fff; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--onDark2); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 14px; font-weight: 800; font-size: 17px; text-decoration: none; }
.btn.pri { background: var(--royal); color: #fff; }
.btn.pri:hover { background: #3d82ff; color: #fff; }
.btn.ghost { border: 2px solid rgba(160, 185, 255, .35); color: #fff; font-weight: 700; }
.btn.ghost:hover { border-color: rgba(160, 185, 255, .7); color: #fff; }
.btn.white { background: #fff; color: #0d2fa0; white-space: nowrap; }
.btn.white:hover { background: #e8efff; color: #0d2fa0; }
.btn.sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; font-weight: 700; white-space: nowrap; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.top .logo img { height: 44px; width: auto; display: block; }
.top nav { display: none; align-items: center; gap: 32px; font-weight: 600; font-size: 15px; }
.top nav a { color: #c9d4f2; text-decoration: none; }
.top nav a:hover { color: #fff; }

/* hero */
.hero { padding-top: 36px; padding-bottom: 56px; position: relative; overflow: hidden; }
/* 2026-10-13: Philip's mage (his "App icon" email of that morning) is the hero, first on phones; its edges melt into the
   page and a blue glow sits behind it. (The 501 phone that was here moved to the Scoring section.) */
.art { position: relative; display: flex; justify-content: center; align-items: center; order: -1; margin: -8px 0 -28px; }
.art::before { content: ''; position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 116, 245, .38), rgba(42, 116, 245, 0)); pointer-events: none; }
.art .mage { position: relative; display: block; width: min(80vw, 420px); height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 6%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 6%, #000 93%, transparent 100%);
  mask-composite: intersect; }
.hero .accent { color: #62bdff; text-shadow: 0 0 28px rgba(77, 163, 255, .55); }
.phone { position: relative; width: 250px; border-radius: 40px; padding: 10px; background: #0b1020; box-shadow: 0 32px 64px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); flex: none; }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.phones { display: flex; justify-content: center; gap: 28px; }
.phones .two { display: none; }

/* sections */
.light { background: var(--paper); color: var(--ink); }
.navy { background: var(--navy); }
.cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.cards > * { flex: 1 1 250px; min-width: 0; }
.pill { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 1px 3px rgba(15, 30, 70, .1), 0 0 0 1px rgba(15, 30, 70, .05); }
.pill .ic { width: 56px; height: 56px; border-radius: 50%; background: #e8efff; display: flex; align-items: center; justify-content: center; }
.pill h3 { margin: 18px 0 0; font: 800 36px/1 var(--disp); text-transform: uppercase; color: var(--blue); }
.pill p { margin: 8px 0 0; color: var(--body); line-height: 1.55; }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; color: #e3eaff; }
.light .ticks { color: var(--ink2); }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: none; margin-top: 2px; width: 22px; height: 22px; color: var(--sky); }
.light .ticks svg { color: var(--blue); }
.stripe { position: absolute; width: 120px; height: 900px; background: #1e4fae; opacity: .22; transform: rotate(32deg); pointer-events: none; }

/* sample standings */
.standings { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 20px 50px rgba(15, 30, 70, .12), 0 0 0 1px rgba(15, 30, 70, .05); color: var(--ink); }
.standings .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.standings .hd b { font: 800 28px/1 var(--disp); text-transform: uppercase; }
.standings .hd span { font-size: 13px; font-weight: 600; color: #6a7590; }
.standings table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.standings th { color: #6a7590; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; text-align: right; padding: 8px 0; font-weight: 700; }
.standings th:first-child, .standings td:first-child { text-align: left; }
.standings td { border-top: 1px solid rgba(20, 40, 90, .1); padding: 12px 0; text-align: right; }
.standings td:first-child, .standings td:nth-child(2) { font-weight: 700; }
.standings td:last-child { color: var(--blue); font-weight: 700; }
.chips { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.chips span { padding: 8px 12px; border-radius: 10px; background: #e8efff; color: var(--blue); font-size: 13px; font-weight: 700; }

/* coming next */
.soon { border-radius: 20px; padding: 26px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(160, 185, 255, .14); }
.soon h3 { margin: 0; font-size: 20px; font-weight: 800; color: #fff; }
.soon p { margin: 10px 0 0; color: var(--onDark); line-height: 1.55; }

/* operators */
.ops { background: var(--blue); }
.ops .row { justify-content: space-between; gap: 32px; }
.ops h2 { font-size: clamp(40px, 9vw, 60px); margin: 0; }
.ops p { margin: 16px 0 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: #dfe8ff; }

/* steps */
.step .n { font: 800 56px/1 var(--disp); color: var(--blue); }
.step p { margin: 12px 0 0; font-size: 17px; color: var(--ink2); line-height: 1.55; }
.step a { color: var(--blue); font-weight: 700; }
.after { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; }
.after span { font-size: 15px; color: var(--muted); }

/* the closing band (2026-10-13): Philip's mage, the hood and eyes only, glowing over the last call to try it */
.mageband { text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 32%, #0e2a72 0%, rgba(14, 42, 114, 0) 70%), var(--deep); }
.mageband .hood { display: block; width: min(72vw, 340px); height: auto; margin: 0 auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.mageband h2 { margin-top: 4px; }
.mageband .lede { margin-left: auto; margin-right: auto; }
.mageband .btns { justify-content: center; }

/* footer */
.foot { background: var(--foot); color: var(--onDark2); padding-top: 56px; padding-bottom: 40px; }
.foot .row { align-items: flex-start; justify-content: space-between; gap: 32px; }
.foot img { height: 48px; width: auto; display: block; }
.foot .motto { margin: 16px 0 0; font: 800 24px/1.1 var(--disp); text-transform: uppercase; color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; font-weight: 600; }
.foot nav a { color: #c9d4f2; text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* v2.40: the tutorial videos (site/videos.mjs keeps a block only once its video is made, and gives it its shape: a phone's
   tall screen or a laptop's wide one), as big as the screen allows */
.vidwrap { text-align: center; }
.vid { display: block; margin: 28px auto 0; border-radius: 18px; background: #000; box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
  aspect-ratio: 9 / 16; width: min(100%, 380px, calc(78vh * 9 / 16)); height: auto; }
.vid.laptop { aspect-ratio: 16 / 9; width: min(100%, 960px, calc(78vh * 16 / 9)); }
.vidnote { margin: 12px 0 0; font-size: 14px; color: var(--onDark2); }
.light .vidnote { color: var(--muted); }
.hsvid { margin-top: 48px; }
.hsvid h3 { margin: 0; font: 800 32px/1.05 var(--disp); text-transform: uppercase; color: var(--ink); }

@media (min-width: 821px) {
  .pad { padding-left: 56px; padding-right: 56px; }
  .sec { padding-top: 104px; padding-bottom: 104px; }
  .row { gap: 64px; }
  .top { padding-top: 18px; padding-bottom: 18px; }
  .top .logo img { height: 54px; }
  .top nav { display: flex; }
  .hero { padding-top: 72px; padding-bottom: 96px; }
  .art { order: 0; margin: 0; min-height: 640px; justify-content: flex-end; }
  .art .mage { width: min(100%, 600px); }
  .mageband .hood { width: 380px; }
  .phones .two { display: block; transform: translateY(48px); }
  .tag { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 2026-11-04 (Kevin: "way, way, way behind in what the app can do compared to what the website says"): the site catches up
   with the app: six cards, Dart TV's wide picture, and a row of the how-to videos (site/videos.mjs keeps each one only while
   it's in the list). */
.cards.six > * { flex: 1 1 320px; }
.lede.wide { max-width: 760px; }
.tv { display: block; width: 100%; max-width: 1040px; height: auto; margin: 36px auto 0; border-radius: 16px; box-shadow: 0 24px 48px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); }
.vidgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 36px; }
.vidcard { flex: 1 1 260px; max-width: 340px; min-width: 0; text-align: center; }
.vidcard h3 { margin: 0; font: 800 26px/1.05 var(--disp); text-transform: uppercase; color: #fff; }
.vidcard .vid { margin-top: 14px; width: 100%; }
.vidgrid.wide .vidcard { flex-basis: 420px; max-width: 560px; }
.opsbtns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn.line { border: 2px solid rgba(255, 255, 255, .6); color: #fff; font-weight: 700; white-space: nowrap; }
.btn.line:hover { border-color: #fff; color: #fff; }
.after span { flex: 1 1 320px; max-width: 760px; }
/* on a phone the how-to videos sit in one row you swipe through, not five screens of stacked video */
@media (max-width: 820px) {
  .vidgrid { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -20px; margin-right: -20px; padding: 0 20px 8px; gap: 16px; -webkit-overflow-scrolling: touch; }
  .vidcard, .vidgrid.wide .vidcard { flex: 0 0 72vw; max-width: 72vw; scroll-snap-align: center; }
  .vidgrid.wide .vidcard { flex-basis: 86vw; max-width: 86vw; }
}
/* the hero's tagline breaks evenly on a phone, no word left alone on a line */
.tag { text-wrap: balance; }
/* 2026-11-04 (Kevin: "a disclosure saying stats are being reset in a couple of weeks"): under the hero's buttons, so people see
   it before they tap. Take it out once the reset is done. */
.notice { margin: 16px 0 0; max-width: 560px; padding: 12px 16px; border-left: 4px solid var(--gold); border-radius: 8px; background: rgba(255, 210, 63, .1); font-size: 15px; line-height: 1.5; color: #f2f5ff; }
.notice b { color: var(--gold); }
