/* dorescore.com/pro. Ocean depth: the page is one dive. Surface light at the top, the seabed at the footer;
   a depth gauge on the right reads the scroll in metres. One world, dark by design. */
:root {
  --surface: #23477e;  /* the water just under the waves */
  --mid: #142650;
  --deep: #0a101f;     /* the home page's sea */
  --abyss: #04070e;
  --cream: #f6efdf;
  --cream-2: rgb(246 239 223 / .74);
  --cream-3: rgb(246 239 223 / .5);
  --line: rgb(246 239 223 / .12);
  --glass: rgb(255 255 255 / .055);
  --glass-2: rgb(255 255 255 / .09);
  --gold: #d0a23c;
  --hi: #ecc673;
  --ink: #1b1712;
  --good: #7fd49a;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--cream); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* ---------- the dive ---------- */
.dive { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, #1a3566 14%, var(--mid) 34%, #0e1934 58%, var(--deep) 78%, var(--abyss) 100%); }
#bubbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.rays { position: absolute; inset: 0 0 auto; height: 900px; z-index: 0; pointer-events: none; background:
  linear-gradient(105deg, transparent 18%, rgb(214 228 255 / .10) 22%, transparent 27%),
  linear-gradient(80deg, transparent 48%, rgb(214 228 255 / .08) 53%, transparent 59%),
  linear-gradient(95deg, transparent 68%, rgb(214 228 255 / .07) 72%, transparent 78%);
  -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
.wrap { position: relative; z-index: 1; width: 100%; max-width: calc(var(--maxw) + 2 * 16px); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* The site's header, as on the home page. */
.bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 21px/1 var(--display); text-decoration: none; }
.brand svg { width: 22px; height: 22px; color: var(--hi); }
.nav { display: flex; gap: 22px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--cream-2); }
.nav a[aria-current="page"] { color: var(--cream); font-weight: 600; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: transform .16s var(--ease), background .2s; }
.pill:hover { background: var(--hi); }
.pill:active { transform: scale(.97); }
.pill.ghost { background: var(--glass-2); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.pill.ghost:hover { background: rgb(255 255 255 / .14); }
.pill.big { min-height: 52px; padding: 0 26px; font-size: 16px; }

/* Depth gauge */
.gauge { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; z-index: 40; transform: translateY(-50%); display: grid; justify-items: end; gap: 8px; font: 600 11px/1 var(--body); letter-spacing: .08em; color: var(--cream-3); pointer-events: none; }
.gauge .rail { position: relative; width: 2px; height: 180px; background: repeating-linear-gradient(var(--line) 0 1px, transparent 1px 18px); }
.gauge .rail::before { content: ""; position: absolute; inset: 0; border-right: 1px solid var(--line); }
.gauge .dot { position: absolute; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 12px var(--hi); top: calc(var(--d, 0) * 170px); }
.gauge b { font: 700 13px/1 var(--body); color: var(--cream); letter-spacing: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .gauge { display: none; } }

/* ---------- hero, at the surface ---------- */
.hero { padding-block: clamp(48px, 9vw, 110px) clamp(56px, 8vw, 96px); text-align: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--cream-2); }
.tag b { padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; letter-spacing: .02em; }
.hero h1 { margin-top: 22px; font: 700 clamp(64px, 13vw, 168px)/.9 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--hi); }
.hero .sub { max-width: 34em; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--cream-2); text-wrap: pretty; }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero .fine { margin-top: 14px; font-size: 13.5px; color: var(--cream-3); }

/* ---------- section heads ---------- */
section.block { padding-block: clamp(56px, 9vw, 110px); }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--hi); }
.eyebrow i { font-style: normal; color: var(--cream-3); letter-spacing: .04em; font-weight: 600; }
.block h2 { margin-top: 14px; font: 700 clamp(34px, 5vw, 60px)/1.02 var(--display); letter-spacing: -.03em; text-wrap: balance; max-width: 15em; }
.block .lede { margin-top: 14px; max-width: 36em; font-size: 18px; color: var(--cream-2); text-wrap: pretty; }

/* ---------- the four benefits ---------- */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.feat { display: grid; grid-template-rows: auto 1fr; gap: 22px; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgb(255 255 255 / .075), rgb(255 255 255 / .03)); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / .6); min-width: 0; }
.feat h3 { font: 700 26px/1.1 var(--display); letter-spacing: -.015em; }
.feat p { margin-top: 8px; color: var(--cream-2); font-size: 16px; text-wrap: pretty; }
.scene { align-self: end; padding: 16px; border-radius: 14px; background: #101828; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; min-width: 0; }
/* Skipper */
.q { justify-self: end; max-width: 85%; margin-left: auto; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--gold); color: var(--ink); font-weight: 600; width: fit-content; }
.a { margin-top: 10px; max-width: 92%; padding: 11px 13px; border-radius: 14px 14px 14px 4px; background: #1d2638; color: var(--cream); }
.a blockquote { margin: 8px 0 0; padding: 6px 10px; border-left: 3px solid var(--hi); color: var(--cream-2); font-size: 12.5px; }
.a small { display: block; margin-top: 4px; color: var(--cream-3); font-size: 11.5px; }
/* Practice */
.pq { font-weight: 600; }
.ch { display: grid; gap: 6px; margin-top: 10px; }
.ch span { display: flex; gap: 10px; padding: 7px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); color: var(--cream-2); }
.ch span b { color: var(--cream-3); }
.ch .right { background: rgb(127 212 154 / .14); box-shadow: inset 0 0 0 1px rgb(127 212 154 / .55); color: var(--cream); }
/* Finals */
.rank { display: grid; gap: 9px; }
.rank div { display: grid; grid-template-columns: 76px 1fr 58px; gap: 10px; align-items: center; }
.rank b { font-size: 12.5px; }
.rank i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--hi), var(--gold)); width: var(--w); }
.rank em { font-style: normal; font-size: 12px; color: var(--cream-3); text-align: right; font-variant-numeric: tabular-nums; }
.rank .when { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); display: block; color: var(--cream-2); font-size: 12.5px; }
/* Notices */
.toast { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; padding: 11px 12px; border-radius: 12px; background: #e9ecf2; color: #1c2230; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .7); }
.toast + .toast { margin-top: 9px; opacity: .78; transform: scale(.97); }
.toast .ic { width: 34px; height: 34px; border-radius: 8px; background: #111317; display: grid; place-items: center; }
.toast .ic svg { width: 18px; height: 18px; color: var(--hi); }
.toast b { display: block; font-size: 13px; }
.toast span { font-size: 12.5px; color: #4a5263; }

/* ---------- side by side ---------- */
.vs { margin-top: 40px; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.25fr); }
.vs-head > div { padding: 16px 20px; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }
.vs-head .pro-h { color: var(--hi); background: rgb(208 162 60 / .1); }
.vs-row { border-top: 1px solid var(--line); }
.vs-row > div { padding: 18px 20px; min-width: 0; }
.vs-row .moment { font: 600 19px/1.25 var(--display); }
.vs-row .free { display: flex; gap: 10px; color: var(--cream-3); font-size: 15.5px; }
.vs-row .pro { display: flex; gap: 10px; background: rgb(208 162 60 / .07); font-size: 15.5px; }
.vs-row .pro b { font-weight: 600; }
.vs svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.vs .free svg { color: var(--cream-3); }
.vs .pro svg { color: var(--hi); }
.vs-note { margin-top: 16px; color: var(--cream-3); font-size: 14.5px; }

/* ---------- the rollout ---------- */
.route { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; padding: 0; list-style: none; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--cream-3), var(--hi) 50%, var(--cream-3)); opacity: .5; }
.route li { position: relative; padding-top: 38px; }
.route li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--deep); box-shadow: inset 0 0 0 2px var(--cream-2); }
.route li.on::before { background: var(--hi); box-shadow: 0 0 0 6px rgb(236 198 115 / .18), 0 0 24px var(--hi); }
.route time { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--hi); }
.route h3 { margin-top: 8px; font: 700 24px/1.15 var(--display); }
.route p { margin-top: 6px; color: var(--cream-2); font-size: 15.5px; max-width: 26em; }

/* ---------- passes ---------- */
.passes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; max-width: 820px; }
.pass { position: relative; display: grid; gap: 6px; align-content: start; padding: 28px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.pass.best { background: linear-gradient(180deg, rgb(208 162 60 / .16), rgb(208 162 60 / .04)); box-shadow: inset 0 0 0 1.5px rgb(236 198 115 / .6), 0 30px 70px -30px rgb(208 162 60 / .35); }
.pass .ribbon { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--hi); color: var(--ink); font-size: 12px; font-weight: 700; }
.pass h3 { font: 700 26px/1.1 var(--display); }
.pass .covers { color: var(--cream-2); font-weight: 600; font-size: 15px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; font-family: var(--display); }
.price b { font-size: 64px; line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.price s { font-size: 22px; color: var(--cream-3); text-decoration-color: #e0786b; text-decoration-thickness: 2px; }
.pass .per { color: var(--cream-3); font-size: 14px; }
.pass .pill { margin-top: 18px; justify-self: stretch; }
.pass ul { list-style: none; padding: 0; display: grid; gap: 7px; margin-top: 18px; font-size: 14.5px; color: var(--cream-2); }
.pass li { display: flex; gap: 9px; }
.pass li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--hi); }
.buynote { margin-top: 18px; color: var(--cream-3); font-size: 14px; max-width: 46em; }

/* ---------- every feature ---------- */
details.all { margin-top: 30px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: rgb(255 255 255 / .03); max-width: 820px; }
details.all summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; }
details.all summary::-webkit-details-marker { display: none; }
details.all summary::after { content: "+"; font: 400 24px/1 var(--body); color: var(--cream-3); transition: transform .25s var(--ease); }
details.all[open] summary::after { transform: rotate(45deg); }
.tablebox { overflow-x: auto; padding: 0 22px 18px; }
table.every { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.every th, table.every td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: left; }
table.every thead th { border-top: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
table.every td { text-align: center; width: 90px; color: var(--cream-3); }
table.every td.y { color: var(--good); font-weight: 700; }
table.every td.p { color: var(--hi); }
table.every .grp th { padding-top: 18px; font: 700 16px/1.2 var(--display); color: var(--cream); border-top: 0; }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin-top: 36px; max-width: 920px; }
.faq dt { font: 700 20px/1.25 var(--display); }
.faq dd { margin-top: 6px; color: var(--cream-2); font-size: 16px; text-wrap: pretty; }

/* ---------- the seabed ---------- */
.seabed { position: relative; z-index: 1; padding-block: 60px 34px; border-top: 1px solid var(--line); color: var(--cream-3); font-size: 14px; }
.seabed .row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.seabed a { text-decoration: none; }
.seabed .line { font: 700 26px/1.2 var(--display); color: var(--cream); margin-bottom: 14px; }
.seabed .line a { color: var(--hi); }
.seabed .fine { margin-top: 16px; font-size: 12.5px; max-width: 60em; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .feats, .passes, .faq, .sh-passes { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 26px; padding-left: 34px; }
  .route::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--cream-3), var(--hi), var(--cream-3)); }
  .route li { padding-top: 0; }
  .route li::before { left: -34px; top: 0; }
  .vs-head { display: none; }
  .vs-row, .mini-vs .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row .moment { grid-column: 1 / -1; padding-bottom: 4px !important; }
  .vs-row .free::before, .vs-row .pro::before { display: none; }
  .yours b { font-size: 26px; }
  .price b { font-size: 54px; }
}

/* Before and after January 8 (pro-page.js adds .launched to html). */
.launched-only { display: none !important; }
html.launched .early-only { display: none !important; }
html.launched .launched-only { display: revert !important; }
/* With DoreScore installed (src/pro-site.js marks the page), buttons open its Pro page. */
.if-ext { display: none !important; }
[data-dorescore] .if-ext { display: inline-flex !important; }
[data-dorescore] .if-no-ext { display: none !important; }
.pass .if-ext, .pass .if-no-ext { justify-self: stretch; }
[data-dorescore] .pass .if-ext { display: flex !important; }
.said:empty { display: none; }
.said { margin-top: 12px; font-weight: 600; color: var(--hi); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--cream); color: var(--ink); }
button.pill { border: 0; cursor: pointer; font-family: var(--body); }
.if-ext-text { display: none; }
[data-dorescore] .if-ext-text { display: block; }
[data-dorescore] .if-no-ext-text { display: none; }

/* Free vs Pro: "Pro" in bold gold, and the grid on a solid, darker ground so it reads easily. */
.block h2 .gold { color: var(--hi); font-weight: 800; }
.vs { background: #0a1121; box-shadow: inset 0 0 0 1px rgb(246 239 223 / .16), 0 30px 60px -30px rgb(0 0 0 / .65); }
.vs-head { background: #060b17; }
.vs-head > div { color: var(--cream-2); }
.vs-head .pro-h { background: #2b230f; color: var(--hi); }
.vs-row { border-top: 1px solid rgb(246 239 223 / .1); }
.vs-row:nth-of-type(odd) > div:not(.pro) { background: #0d1528; }
.vs-row .free { color: var(--cream-2); }
.vs-row .pro { background: #1c1810; }
.vs-row:nth-of-type(odd) .pro { background: #211c11; }
