/* Product pages (/products and /products/*) — the launch site for the MeetDirector family.

   Its own sheet rather than an inline <style> like Home.razor's, because six pages share it and
   only they link it (via <HeadContent>), so the rest of the site pays nothing for it.

   The look is the deck, not a SaaS template: a deep-water navy hero with faint lane T-lines, and
   one loud thing per page — the red/white/blue lane rope along the hero's foot. Everything else
   stays quiet and on the brand's navy/blue (images/README.md). Inter is the only face the site
   self-hosts, so the character comes from weight, tracking and tabular figures for swim times.
   No outside fonts or images: NoThirdPartyAssetsTests covers these routes. */

/* The full-bleed bands are 100vw wide, and 100vw includes the vertical scrollbar, so without this
   the page scrolls sideways by the scrollbar's width. clip, not hidden: hidden would make body a
   scroll container and break the sticky navbar. Only these pages link this sheet. */
body { overflow-x: clip; }

.pr {
    --pr-navy: #081E36;
    --pr-deep: #0d2b4c;
    --pr-blue: #0B52A1;
    --pr-sky: #7cc0ff;
    --pr-tile: #eef4fa;
    --pr-line: #d9e4ef;
    --pr-ink: #0d1b2a;
    --pr-muted: #4f6278;
    --pr-live: #1fbf8f;
    --pr-gold: #e9a91f;
    --pr-rope-red: #d23b3b;
    color: var(--pr-ink);
}

.pr .num, .pr-t td.t, .pr-time { font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
/* Full-bleed out of MainLayout's container-lg, the same trick Home.razor uses; -1.5rem undoes
   the container's mt-4 so the navy meets the navbar. */
.pr-hero {
    margin: -1.5rem calc(50% - 50vw) 0;
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 480px at 78% 30%, rgba(11, 82, 161, .55), transparent 65%),
        repeating-linear-gradient(180deg, transparent 0 71px, rgba(255, 255, 255, .045) 71px 72px),
        var(--pr-navy);
}
/* The lane rope: the page's one flourish. */
.pr-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
    background: repeating-linear-gradient(90deg,
        var(--pr-rope-red) 0 22px, #fff 22px 44px, var(--pr-blue) 44px 66px, #fff 66px 88px);
}
.pr-hero-in {
    max-width: 1140px; margin: 0 auto; padding: 56px 20px 72px;
    /* minmax(0, …) so a wide mockup can never force its track wider than the screen — a plain fr
       track's minimum is its content's, which pushed the headline off a phone. */
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center;
}
@media (max-width: 920px) { .pr-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 40px; } }
/* One column, art underneath: a dense desktop screenshot needs the whole width to be readable —
   at half a column the Run screen's lane grid is grey noise. */
.pr-hero-in.stacked { grid-template-columns: minmax(0, 1fr); gap: 30px; }
.pr-hero-art { display: flex; justify-content: center; min-width: 0; }

.pr-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pr-sky);
}
.pr-h1 {
    margin: 0 0 16px; font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.03;
    font-weight: 700; letter-spacing: -.025em; text-wrap: balance; color: #fff;
}
.pr-h1 em { font-style: normal; color: var(--pr-sky); }
.pr-lede { margin: 0 0 24px; font-size: 1.14rem; line-height: 1.55; color: #c6d6e8; max-width: 36em; }
.pr-note { margin: 14px 0 0; font-size: 13px; color: #9fb4ca; }

/* ---------- Buttons ---------- */
.pr-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pr-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent;
    transition: background-color .12s, border-color .12s, color .12s;
}
.pr-btn:focus-visible { outline: 3px solid var(--pr-sky); outline-offset: 2px; }
.pr-btn.light { background: #fff; color: var(--pr-navy); }
.pr-btn.light:hover { background: #dcebfb; }
.pr-btn.outline { color: #fff; border-color: rgba(255, 255, 255, .45); }
.pr-btn.outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.pr-btn.solid { background: var(--pr-blue); color: #fff; }
.pr-btn.solid:hover { background: #094486; }
.pr-btn.quiet { color: var(--pr-blue); border-color: var(--pr-line); background: #fff; }
.pr-btn.quiet:hover { border-color: var(--pr-blue); }

.pr-soon {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 600; background: rgba(124, 192, 255, .14); color: var(--pr-sky);
}
.pr-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pr-live); }
.pr-light .pr-soon { background: var(--pr-tile); color: var(--pr-blue); }

/* ---------- Product switcher ---------- */
.pr-switch {
    display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 0; padding: 0; list-style: none;
    border-bottom: 1px solid var(--pr-line);
}
.pr-switch a {
    display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; margin-bottom: -1px;
    font-size: 14px; font-weight: 600; color: var(--pr-muted); text-decoration: none;
    border-bottom: 2px solid transparent;
}
.pr-switch a:hover { color: var(--pr-ink); }
.pr-switch a[aria-current="page"] { color: var(--pr-blue); border-bottom-color: var(--pr-blue); }
/* On a phone the six tabs wrapped to three rows; one row that scrolls sideways reads as tabs. */
@media (max-width: 700px) {
    .pr-switch { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .pr-switch a { white-space: nowrap; }
}

/* ---------- Sections ---------- */
.pr-sec { padding-block: 56px 8px; }
.pr-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pr-blue); }
.pr-h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.pr-sub { margin: 0; max-width: 62ch; color: var(--pr-muted); font-size: 1.05rem; line-height: 1.55; }

.pr-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; margin-top: 32px; }
@media (max-width: 900px) { .pr-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pr-feats { grid-template-columns: 1fr; } }
.pr-feat { border-top: 1px solid var(--pr-line); padding-top: 18px; }
.pr-feat i {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
    background: var(--pr-tile); color: var(--pr-blue); font-size: 19px;
}
.pr-feat h3 { margin: 12px 0 6px; font-size: 1.05rem; font-weight: 700; }
.pr-feat p { margin: 0; color: var(--pr-muted); font-size: .95rem; line-height: 1.55; }

/* Story rows: copy beside a mockup, alternating sides. */
.pr-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 48px; }
.pr-story + .pr-story { border-top: 1px solid var(--pr-line); }
.pr-story.flip > :first-child { order: 2; }
@media (max-width: 860px) { .pr-story { grid-template-columns: 1fr; gap: 28px; } .pr-story.flip > :first-child { order: 0; } }
.pr-ticks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pr-ticks li { position: relative; padding-left: 28px; line-height: 1.5; }
/* A drawn check rather than an icon-font code point, so it can't silently become the wrong glyph. */
.pr-ticks li::before {
    content: ""; position: absolute; left: 4px; top: .3em; width: 7px; height: 12px;
    border: solid var(--pr-blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Spec sheet: hardware and file formats, the things a timing person scans for. */
.pr-spec { margin-top: 28px; border: 1px solid var(--pr-line); border-radius: 12px; overflow: hidden; background: #fff; }
.pr-spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 18px; }
.pr-spec-row + .pr-spec-row { border-top: 1px solid var(--pr-line); }
.pr-spec-row dt { font-weight: 700; }
.pr-spec-row dd { margin: 0; color: var(--pr-muted); }
.pr-spec code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; color: var(--pr-navy); background: var(--pr-tile); padding: 1px 6px; border-radius: 5px; }
@media (max-width: 640px) { .pr-spec-row { grid-template-columns: 1fr; gap: 4px; } }

/* Meet-day sequence on the overview — numbered because it really is an order. */
.pr-day { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: day; }
@media (max-width: 1000px) { .pr-day { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .pr-day { grid-template-columns: 1fr; } }
.pr-day li { counter-increment: day; padding: 0 18px 0 0; position: relative; }
.pr-day li::before {
    content: counter(day); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    background: var(--pr-navy); color: #fff; font-weight: 700; font-size: 14px; position: relative; z-index: 1;
}
.pr-day li::after { content: ""; position: absolute; top: 15px; left: 30px; right: 0; height: 2px; background: var(--pr-line); }
.pr-day li:last-child::after { display: none; }
@media (max-width: 1000px) { .pr-day li::after { display: none; } }
.pr-day h3 { margin: 12px 0 4px; font-size: 1rem; font-weight: 700; }
.pr-day p { margin: 0; font-size: .92rem; color: var(--pr-muted); line-height: 1.5; }
.pr-day .who { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--pr-blue); letter-spacing: .02em; }

/* Product family grid on the overview. */
.pr-family { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 32px; }
.pr-family .big { grid-column: span 3; }
.pr-family .app { grid-column: span 2; }
@media (max-width: 900px) { .pr-family .big, .pr-family .app { grid-column: span 6; } }
.pr-prod {
    display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; text-decoration: none;
    color: var(--pr-ink); background: #fff; border: 1px solid var(--pr-line); transition: border-color .12s, transform .12s;
}
.pr-prod:hover { border-color: var(--pr-blue); transform: translateY(-2px); color: var(--pr-ink); }
.pr-prod:focus-visible { outline: 3px solid var(--pr-sky); outline-offset: 2px; }
.pr-prod .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pr-blue); }
.pr-prod h3 { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.pr-prod p { margin: 0; color: var(--pr-muted); line-height: 1.5; }
.pr-prod .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--pr-blue); font-size: 14px; }
.pr-prod.dark { background: var(--pr-navy); border-color: var(--pr-navy); color: #fff; }
.pr-prod.dark:hover { color: #fff; border-color: var(--pr-sky); }
.pr-prod.dark .tag, .pr-prod.dark .go { color: var(--pr-sky); }
.pr-prod.dark p { color: #c6d6e8; }

/* How it connects: desktop ⇄ live sync ⇄ phones, with the website underneath. */
.pr-flow { margin-top: 32px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.pr-node { background: #fff; border: 1px solid var(--pr-line); border-radius: 12px; padding: 18px; }
.pr-node h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.pr-node h3 i { color: var(--pr-blue); }
.pr-node p { margin: 0; font-size: .92rem; color: var(--pr-muted); line-height: 1.5; }
.pr-node.hub { background: var(--pr-navy); border-color: var(--pr-navy); color: #fff; }
.pr-node.hub h3 i { color: var(--pr-live); }
.pr-node.hub p { color: #c6d6e8; }
.pr-arrow { display: grid; place-items: center; color: var(--pr-blue); font-size: 1.4rem; }
.pr-flow-base { grid-column: 1 / -1; background: var(--pr-tile); border-color: var(--pr-tile); }
@media (max-width: 860px) { .pr-flow { grid-template-columns: 1fr; } .pr-arrow { transform: rotate(90deg); } }

/* ---------- Closing band ---------- */
.pr-cta {
    margin: 64px calc(50% - 50vw) -3rem; padding: 56px 20px 60px; color: #fff; text-align: center; position: relative;
    background: radial-gradient(700px 300px at 50% 0%, rgba(11, 82, 161, .6), transparent 70%), var(--pr-navy);
}
.pr-cta::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
    background: repeating-linear-gradient(90deg, var(--pr-rope-red) 0 22px, #fff 22px 44px, var(--pr-blue) 44px 66px, #fff 66px 88px);
}
.pr-cta h2 { margin: 0 auto 10px; max-width: 24ch; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; color: #fff; }
.pr-cta p { margin: 0 auto 22px; max-width: 56ch; color: #c6d6e8; font-size: 1.05rem; }
.pr-cta .pr-actions { justify-content: center; }

/* ---------- Device mockups (sample data, drawn in CSS) ---------- */
.pr-phone {
    width: 292px; max-width: 100%; padding: 10px; border-radius: 40px; background: #05090f;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.pr-screen {
    position: relative; border-radius: 31px; overflow: hidden; background: #f3f6fa; color: var(--pr-ink);
    font-size: 13px; line-height: 1.35; min-height: 560px; padding-bottom: 12px;
}
.pr-screen .island { width: 90px; height: 24px; border-radius: 14px; background: #05090f; margin: 8px auto 4px; }
.pr-appbar { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 10px; }
.pr-appbar b { font-size: 17px; letter-spacing: -.01em; }
.pr-live { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #0f8a66; }
.pr-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pr-live); box-shadow: 0 0 0 3px rgba(31, 191, 143, .2); }
.pr-mcard { margin: 0 12px 10px; padding: 12px 14px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(13, 27, 42, .06); }
.pr-mcard.hero { background: var(--pr-navy); color: #fff; }
.pr-mcard .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6c7f94; }
.pr-mcard.hero .lbl { color: var(--pr-sky); }
.pr-mcard .big { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 2px; }
.pr-mcard .dim { color: #6c7f94; }
.pr-mcard.hero .dim { color: #b9cce0; }
.pr-lane { display: flex; gap: 6px; margin-top: 8px; }
.pr-lane span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.pr-lane span b { display: block; font-size: 18px; }
.pr-mrow { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; }
.pr-mrow + .pr-mrow { border-top: 1px solid #edf1f6; }
.pr-mrow .time { font-family: inherit; letter-spacing: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-drop { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #dff6ee; color: #0b7a58; }
.pr-pb { display: inline-block; padding: 1px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 700; background: #fdf1d6; color: #8a5b00; }
.pr-place { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700; background: var(--pr-tile); color: var(--pr-blue); margin-right: 6px; }
.pr-place.gold { background: var(--pr-gold); color: #3b2a00; }
.pr-tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px 6px 14px; background: #fff; border-top: 1px solid #e6ecf2; font-size: 10px; color: #7b8ea3; }
.pr-tabbar span { display: grid; justify-items: center; gap: 2px; }
.pr-tabbar i { font-size: 17px; }
.pr-tabbar .on { color: var(--pr-blue); font-weight: 700; }
.pr-qr { width: 104px; height: 104px; margin: 8px auto 4px; border-radius: 8px;
    background:
        linear-gradient(90deg, #fff 0 12%, transparent 12% 24%, #fff 24% 30%, transparent 30% 48%, #fff 48% 56%, transparent 56% 70%, #fff 70% 76%, transparent 76%),
        linear-gradient(0deg, #fff 0 8%, transparent 8% 26%, #fff 26% 34%, transparent 34% 52%, #fff 52% 60%, transparent 60% 80%, #fff 80% 88%, transparent 88%),
        var(--pr-navy);
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px #e6ecf2; }

/* Two phones, offset, on the overview hero. */
.pr-pair { position: relative; width: min(460px, 100%); height: 600px; }
.pr-pair .pr-phone { position: absolute; }
.pr-pair .pr-phone:first-child { left: 0; top: 40px; transform: rotate(-4deg); }
.pr-pair .pr-phone:last-child { right: 0; top: 0; transform: rotate(3deg); }
@media (max-width: 520px) { .pr-pair { height: auto; } .pr-pair .pr-phone { position: static; transform: none; margin: 0 auto; } .pr-pair .pr-phone:last-child { display: none; } }

/* The desktop Run Meet window — Windows chrome, because it is a Windows app. */
.pr-win { width: 100%; max-width: 560px; border-radius: 8px; overflow: hidden; background: #fff; color: var(--pr-ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); font-size: 12.5px; }
.pr-winbar { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px 7px 12px; background: #e9eef4; font-size: 12px; }
.pr-winbar .ctl { display: flex; gap: 16px; color: #56687c; letter-spacing: .02em; }
.pr-winhead { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid #e3e9f0; }
.pr-winhead b { font-size: 14px; }
.pr-winhead .dim { color: #6c7f94; }
.pr-tscroll { overflow-x: auto; }
.pr-t { width: 100%; border-collapse: collapse; }
.pr-t th { text-align: left; padding: 6px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6c7f94; background: #f6f8fb; white-space: nowrap; }
.pr-t td { padding: 6px 10px; border-top: 1px solid #eef2f6; white-space: nowrap; }
.pr-t td.t { font-weight: 600; }
.pr-t tr.hot td { background: #fff6dd; }
.pr-t tr.hot td.flag { color: #9a6500; font-weight: 700; }
.pr-winfoot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 12px; background: var(--pr-navy); color: #c6d6e8; font-size: 11.5px; }
.pr-winfoot span { display: inline-flex; align-items: center; gap: 6px; }

/* Browser frame for the website mockup. */
.pr-browser { width: 100%; max-width: 560px; border-radius: 10px; overflow: hidden; background: #fff; color: var(--pr-ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); font-size: 13px; }
.pr-urlbar { display: flex; gap: 10px; align-items: center; padding: 9px 12px; background: #e9eef4; }
.pr-urlbar span { flex: 1; padding: 4px 10px; border-radius: 6px; background: #fff; color: #56687c; font-size: 12px; }
.pr-bbody { padding: 16px; }
.pr-bbody h4 { margin: 0 0 2px; font-size: 16px; font-weight: 700; }
.pr-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.pr-pills span { padding: 3px 10px; border-radius: 999px; background: var(--pr-tile); color: var(--pr-blue); font-size: 12px; font-weight: 600; }
.pr-pills span.on { background: var(--pr-blue); color: #fff; }
.pr-paybar { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--pr-tile); }

.pr-sample { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: #8ea4bb; }

/* ---------- Real screenshots ---------- */
/* Every shot on these pages comes from a demo meet, and the captions say so. */
.pr-shot { margin: 0; max-width: 100%; }
.pr-shot img { display: block; width: 100%; height: auto; }
.pr-shot.desk img {
    border-radius: 12px; border: 1px solid var(--pr-line);
    box-shadow: 0 24px 50px rgba(8, 30, 54, .28);
}
/* In the navy hero the pale border would read as a seam; the shadow does the lifting there. */
.pr-hero .pr-shot.desk img { border-color: rgba(255, 255, 255, .16); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.pr-shot.phone { width: 292px; max-width: 100%; padding: 10px; border-radius: 40px; background: #05090f;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pr-shot.phone img { border-radius: 31px; }
.pr-shot figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--pr-muted); text-align: center; }
.pr-hero .pr-shot figcaption { color: #9fb4ca; }
.pr-shot.phone figcaption { padding: 0 6px 4px; }

.pr-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; margin-top: 30px; align-items: start; }
.pr-gallery.phones { grid-template-columns: repeat(auto-fit, minmax(240px, 292px)); justify-content: center; }
/* Desktop captures one per row, for the same readability reason as the stacked hero. */
.pr-gallery.wide { grid-template-columns: minmax(0, 1fr); gap: 34px; }

@media (prefers-reduced-motion: reduce) { .pr-prod, .pr-btn { transition: none; } .pr-prod:hover { transform: none; } }
