/* Ursarix design system, version 4: the lab as an instrument panel. */

/* Fonts, served from this site. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Colours. */
:root {
  --ux-lime: #D4FF3A;
  --ux-graphite: #2A2C30;
  --ux-raised: #1F2023;
  --ux-night: #151618;
  --ux-on-dark: #F3F4F1;
  --ux-on-dark-muted: #9A9EA3;
  --ux-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ux-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --bg: #F3F4F1;
  --ink: #0B0B0C;
  --muted: #55585C;
  --panel: #FFFFFF;
  --line: #D9DBD6;
  --radius: 0;
  --font: var(--ux-sans);
}
.dp {
  --dp-accent-hover: var(--ux-graphite);
  --dp-deepest: var(--ux-night);
  --dp-deep-card: var(--ux-raised);
  --dp-mark: var(--ux-lime);
  --dp-cream: #F3F4F1;
  --dp-ink: #0B0B0C;
  --dp-text: #1D1E20;
  --dp-muted: #55585C;
  --dp-faint: #6B6E72;
  --dp-line: #D9DBD6;
  --dp-card-line: #C3C6C0;
  --dp-head: var(--ux-sans);
  --dp-body: var(--ux-sans);
  font-size: 17px;
  line-height: 1.6;
}
main.co {
  --co-accent-hover: var(--ux-graphite);
  --co-gold-ink: #55585C;
  --co-tint: #FFFFFF;
  --co-ring: #C3C6C0;
  --co-cream: #F3F4F1;
  --co-ink: #0B0B0C;
  --co-text: #1D1E20;
  --co-muted: #55585C;
  --co-line: #D9DBD6;
  --co-card-line: #C3C6C0;
  --co-head: var(--ux-sans);
  --co-body: var(--ux-sans);
}
body { -webkit-font-smoothing: antialiased; }
.site-head .logo { display: block; max-height: 22px; margin-inline: auto; }

/* Headings: wide Archivo, like the logo, in a lighter weight. */
.dp h1, .dp h2, .dp h3, .co h1, .co h2, .co-price, .dp-just, .dp-price {
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-weight: 500;
}
.dp h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; }
.dp h2 { font-size: 28px; line-height: 1.12; letter-spacing: -0.025em; }
.dp h3, .dp-faq summary, .co-bump-title, .co-gtee .t {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  font-stretch: 106%;
  font-variation-settings: "wdth" 106;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .dp h1 { font-size: 64px; line-height: 1.04; letter-spacing: -0.035em; }
  .dp h2 { font-size: 40px; }
}
.dp-sub { font-size: 19px; }
.dp-recap h2 { font-size: 28px; }

/* The marker: lime under black text, square. */
.dp h1 mark, .dp h2 mark {
  background: var(--ux-lime);
  color: #0B0B0C;
  padding: 0 0.1em;
  border-radius: 0;
}

/* Buttons: black, square, no shadow. */
.dp-btn, #payBtn, body #fe2-pop .fe2-pop-go {
  font-family: var(--ux-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  font-stretch: 106%;
  font-variation-settings: "wdth" 106;
  min-height: 56px;
  padding: 18px 26px;
  border-radius: 0;
  box-shadow: none;
}
.dp-btn:focus-visible, #payBtn:focus-visible { outline: 2px solid #0B0B0C; outline-offset: 3px; }
@media (hover: hover) {
  .dp-btn:hover { background: var(--ux-graphite); box-shadow: none; transform: none; }
  body #fe2-pop .fe2-pop-go:hover { background: var(--ux-graphite); }
}
@media (max-width: 767px) {
  .dp-btn, #payBtn { padding: 16px 18px; }
}

/* Cards and frames: square corners, a line instead of a shadow. */
.dp-card, .dp-guarantee-box, .dp-strip, .dp-module, .dp-module-number, .dp-recap, .dp-pricebox,
.dp-guarantee-panel, .dp-mini-guarantee, .dp-bonus, .dp-video, .dp-image, .dp-hero .dp-image,
.dp-eyebrow, .co-card, .co-recap, .co-gtee, .co-gline, .co-eyebrow, .co .field, .co .summary,
.co-trust span, body #fe2-pop .fe2-pop-box, body #fe2-pop input {
  border-radius: 0;
  box-shadow: none;
}
body #fe2-pop .fe2-pop-box { font-family: var(--ux-sans); }
body #fe2-pop input { font-family: var(--ux-sans); }
.dp-card, .dp-guarantee-box, .dp-strip, .dp-recap, .dp-pricebox {
  background: #FFFFFF;
  border: 1px solid var(--dp-card-line);
}
.dp-new { background: #FFFFFF; border: 1px solid #0B0B0C; box-shadow: none; }
.dp-old { background: transparent; border-color: var(--dp-card-line); }
.dp-old h3 { color: var(--dp-muted); }
.dp-crosses li::before { color: var(--dp-faint); }
.dp-pricebox { border-color: #0B0B0C; }
.dp-recap h2 { text-align: left; }
.co-recap { border: 1px solid #0B0B0C; }
.co-trust span { background: #F3F4F1; }

/* The guarantee sits on the light page, so dark stays for one or two sections. */
.dp-guarantee-panel, .dp-mini-guarantee {
  background: #FFFFFF;
  border: 1px solid #0B0B0C;
  color: var(--dp-text);
}
.dp-guarantee-panel h2, .dp-mini-guarantee h3, .dp-mini-guarantee strong { color: #0B0B0C; }
.dp-guarantee-panel .dp-checks li::before { color: #0B0B0C; }

/* Labels in mono, without a badge behind them. */
.dp-eyebrow, .dp-path .dp-eyebrow {
  background: transparent;
  color: var(--dp-muted);
  font-family: var(--ux-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0;
}
.dp-path .dp-eyebrow { color: var(--ux-on-dark-muted); }
.dp-qualifier {
  font-family: var(--ux-mono);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  color: var(--dp-muted);
}
.co-eyebrow { background: transparent; color: var(--co-muted); padding: 0; }
.co-eyebrow, .co-kicker, .co-strip { font-family: var(--ux-mono); font-weight: 500; }

/* The announcement band, with the one status dot. */
.dp-announce {
  background: var(--ux-night);
  color: var(--ux-on-dark);
  font-family: var(--ux-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}
.dp-announce::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--ux-lime);
  border-radius: 50%;
  vertical-align: 0.05em;
}

/* The readouts: the workshop's facts on a white panel. */
.dp-stats {
  background: #FFFFFF;
  color: var(--dp-text);
  border-block: 1px solid var(--dp-line);
  padding: 22px;
}
.dp-stats-grid { max-width: 820px; text-align: left; gap: 16px 22px; }
.dp-stats-grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.dp-stat-value {
  color: #0B0B0C;
  font-family: var(--ux-mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.dp-stat-label { color: var(--dp-faint); font-family: var(--ux-mono); font-size: 13px; }
@media (max-width: 430px) {
  .dp-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The agenda is the page's one dark section. */
.dp-path { background: var(--ux-night); color: var(--ux-on-dark); }
.dp-path h2, .dp-path h3 { color: var(--ux-on-dark); }
.dp-path p { color: var(--ux-on-dark-muted); }
.dp-module-number {
  background: transparent;
  border: 1px solid var(--ux-on-dark-muted);
  color: var(--ux-on-dark);
  font-family: var(--ux-mono);
  font-size: 16px;
  font-weight: 500;
}
.dp-module-meta { color: var(--ux-on-dark-muted); font-family: var(--ux-mono); }
.dp-step-number {
  background: #FFFFFF;
  border: 1px solid var(--dp-card-line);
  border-radius: 0;
  color: #0B0B0C;
  font-family: var(--ux-mono);
  font-weight: 500;
}
.dp-just { color: #0B0B0C; }
.dp-micro { font-weight: 500; }
.dp-micro strong { font-weight: 600; }
.dp-faq summary::after { color: #0B0B0C; }

/* The footer is dark too. */
.site-foot { background: var(--ux-night); color: var(--ux-on-dark-muted); margin-top: 40px; padding: 28px 16px; }
.site-foot a { color: var(--ux-on-dark); }

/* The headline's highlighted words sit on a line of their own. */
.dp h1 mark,
.dp h2 mark {
  display: block;
  width: fit-content;
  margin: 0.06em auto;
}

/* On a phone, keep those words on one line too. */
@media (max-width: 480px) {
  .dp h1 mark,
  .dp h2 mark {
    font-size: min(0.9em, 7.9vw);
  }
}

/* The session line: the label on its own line, then the session time. The time is one
   string from the engine, so a fixed width broke it mid-phrase ("(1:00 | PM Eastern").
   Balanced wrapping keeps it on one line where it fits and evens the lines where it does not. */
.when {
  text-wrap: balance;
}

/* Confirmation page: the line under each button reads at the same size, like the
   engine's own notes (.warn, 15px), instead of the 19px lede. */
.btn + .lede {
  font-size: 15px;
}
.dp .when {
  margin-inline: auto;
}
.when strong {
  display: block;
}

/* No footer shows the support email. */
.site-foot a[href^="mailto:"] {
  display: none;
}

/* The Meta disclaimer, last in the footer of every page. */
.site-foot::after {
  content: "This site is not part of Facebook/Meta. Not endorsed by Facebook/Meta. Facebook is a trademark of Meta Platforms, Inc.";
  display: block;
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.7;
}

/* A section label sits centred over its centred heading. */
.dp .dp-eyebrow:has(+ h2) {
  display: table;
  margin-inline: auto;
}

/* "What you get": the list and the promise strip line up with the heading. */
.dp .dp-wide > .dp-narrow > .dp-list {
  width: fit-content;
  margin-inline: auto;
}
.dp .dp-strip {
  margin-inline: auto;
}

/* On a phone the checkout strip wraps, so its separator would hang at a line's end. */
@media (max-width: 480px) {
  .co-strip .dot { display: none; }
}
