/* Copyright (c) 2026 Ainglean Limited. All rights reserved. Proprietary and confidential. */

/* __ the Redvers look ______________________________________________________________________________________
   The portal's brand layer, linked after the engine viewer's theme. The page is set in the theme's light
   scheme (the root carries data-theme="light"), and this sheet re-values the theme's own tokens there in the
   Redvers palette, type, shape and space, so every page drawn in the theme's utilities follows. It defines
   no token of the theme's family that the theme does not, and its own values are named --rdv-*. Below the
   tokens, the classes of the landing page and the sign-in page, which only this sheet draws.

   The face is Inter (OFL, font/LICENSE.txt), the variable build with its optical-size axis that the Redvers
   portal serves, held in this app's own folder so no page reaches an outside host for it; set at the axis's
   display end, it is Inter Display. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("font/Inter-Latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("font/Inter-LatinExt.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root[data-theme="light"] {
  /* the Redvers palette */
  --rdv-navy: #12295a; /* every heading */
  --rdv-navy-deep: #0b1f4b; /* the closing panel and the sign-in panel */
  --rdv-slate: #334155; /* running text */
  --rdv-grey: #64748b; /* what is said under it */
  --rdv-blue: #0b46a3; /* the primary action */
  --rdv-blue-hover: #093171;
  --rdv-pale: #eff6ff; /* a chip, the open item */
  --rdv-pale-2: #dbeafe;
  --rdv-pale-border: #bfdbfe;
  --rdv-pale-ink: #bfdbfe; /* a line set on navy */
  --rdv-ground: #f8fafc;
  --rdv-card: #ffffff;
  --rdv-border: #e2e8f0;
  --rdv-border-hover: #cbd5e1;
  --rdv-dot: #cbd5e1; /* a browser frame's three dots */
  --rdv-skeleton: #e2e8f0; /* a line of text drawn as a bar in a picture */
  --rdv-shadow-card:
    0px 3px 4.5px 0px hsl(217.1429 28.3784% 70.9804% / 0.18),
    0px 1px 2px -1px hsl(217.1429 28.3784% 70.9804% / 0.18);
  --rdv-shadow-lift:
    0px 1px 3px rgb(15 23 42 / 0.06), 0px 8px 24px rgb(15 23 42 / 0.1);
  --rdv-shadow-dialog: 0px 20px 60px rgb(15 23 42 / 0.18);
  /* shape and space */
  --rdv-radius-card: 20px;
  --rdv-radius-panel: 28px;
  --rdv-pill: 44px; /* a pill's height */
  --rdv-column: 920px; /* the landing page's reading column */
  --rdv-column-wide: 1120px; /* its header, picture and closing panel */
  --rdv-section: 120px; /* between the landing page's sections */
  --rdv-section-narrow: 72px;
  --rdv-edge: 24px; /* a page's side margin */
  --rdv-header: 68px;

  /* the engine theme's tokens, in the Redvers look */
  --eln-ground: var(--rdv-ground);
  --eln-panel: var(--rdv-card);
  --eln-raised: #f1f5f9;
  --eln-line: var(--rdv-border);
  --eln-line-strong: var(--rdv-border-hover);
  --eln-hairline: rgb(15 23 42 / 0.08);
  --eln-shadow: rgb(15 23 42 / 0.1);
  --eln-veil: rgb(15 23 42 / 0.24);
  --eln-ink: var(--rdv-navy);
  --eln-ink-2: var(--rdv-slate);
  --eln-ink-3: var(--rdv-grey);
  --eln-on-status: #ffffff;
  --eln-link: var(--rdv-blue);
  --eln-link-hover: var(--rdv-blue-hover);
  --eln-link-soft: var(--rdv-pale);
  --eln-accent: var(--rdv-blue);
  --eln-accent-soft: var(--rdv-pale);
  --eln-font-sans:
    "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --eln-size-page-title: 30px;
  --eln-size-desk-title: 19px;
  --eln-size-stat: 24px;
  --eln-size-body: 15px;
  --eln-size-cell: 14px;
  --eln-size-label: 12px;
  --eln-size-micro: 11px;
  --eln-leading: 1.55;
  --eln-leading-tight: 1.25;
  --eln-radius: 16px;
  --eln-radius-sm: 12px;
  --eln-radius-xs: 6px;
  --eln-gap: 16px;
  --eln-gutter: 24px;
  --eln-section: 32px;
  --eln-pad-card: 24px;
  --eln-cell-x: 16px;
  --eln-cell-y: 10px;
  --eln-control: 40px;
  --eln-control-sm: 32px;
  --eln-bar: 64px;
  --eln-elevation-card: var(--rdv-shadow-card);
  --eln-elevation-pop: var(--rdv-shadow-lift);
  --eln-elevation-sheet: var(--rdv-shadow-dialog);
}

body {
  /* Inter at its display optical size, as the Redvers portal sets it everywhere */
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* __ the logo _____________________________________________________________________________________________ */
.rdv-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.rdv-logo img {
  display: block;
  height: 26px;
  width: auto;
}
.rdv-logo-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rdv-blue);
  background: var(--rdv-pale);
  border: 1px solid var(--rdv-pale-border);
  border-radius: 999px;
  padding: 4px 9px;
}

/* __ pills ________________________________________________________________________________________________ */
.rdv-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--rdv-pill);
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color var(--eln-duration-fast) var(--eln-ease-out),
    border-color var(--eln-duration-fast) var(--eln-ease-out),
    color var(--eln-duration-fast) var(--eln-ease-out);
}
.rdv-pill:focus-visible {
  outline: 2px solid var(--rdv-blue);
  outline-offset: 3px;
}
.rdv-pill-primary {
  background: var(--rdv-blue);
  color: #ffffff;
}
.rdv-pill-primary:hover {
  background: var(--rdv-blue-hover);
}
.rdv-pill-outline {
  background: var(--rdv-card);
  color: var(--rdv-navy);
  border-color: var(--rdv-border);
}
.rdv-pill-outline:hover {
  background: var(--rdv-ground);
  border-color: var(--rdv-border-hover);
}
.rdv-pill-white {
  background: #ffffff;
  color: var(--rdv-navy);
}
.rdv-pill-white:hover {
  background: var(--rdv-pale);
}
.rdv-pill-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgb(255 255 255 / 0.28);
}
.rdv-pill-ghost:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.5);
}
.rdv-pill-wide {
  width: 100%;
}

/* __ type _________________________________________________________________________________________________ */
.rdv-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rdv-blue);
}
.rdv-display {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--rdv-navy);
  text-wrap: balance;
}
.rdv-lede {
  margin: 24px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--rdv-slate);
  text-wrap: pretty;
}
.rdv-heading {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--rdv-navy);
  text-wrap: balance;
}
.rdv-sub {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--rdv-grey);
  max-width: 60ch;
  text-wrap: pretty;
}

/* __ the landing page _____________________________________________________________________________________ */
.rdv-landing {
  min-height: 100svh;
  background: var(--rdv-ground);
  color: var(--rdv-slate);
  overflow-x: clip;
}
.rdv-landing :target,
.rdv-landing [id] {
  scroll-margin-top: calc(var(--rdv-header) + 24px);
}
.rdv-wrap {
  width: 100%;
  max-width: calc(var(--rdv-column) + 2 * var(--rdv-edge));
  margin: 0 auto;
  padding: 0 var(--rdv-edge);
}
.rdv-wrap-wide {
  max-width: calc(var(--rdv-column-wide) + 2 * var(--rdv-edge));
}

.rdv-header {
  position: sticky;
  top: 0;
  z-index: var(--eln-z-sticky);
  background: rgb(248 250 252 / 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rdv-border);
}
.rdv-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--rdv-header);
}
.rdv-header-nav {
  display: none;
}
.rdv-header-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rdv-header-nav a,
.rdv-footer-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--rdv-slate);
  text-decoration: none;
  transition: color var(--eln-duration-fast) var(--eln-ease-out);
}
.rdv-header-nav a:hover,
.rdv-footer-nav a:hover {
  color: var(--rdv-blue);
}
.rdv-header .rdv-pill {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.rdv-hero {
  padding: 96px 0 0;
  text-align: center;
}
.rdv-hero .rdv-lede {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.rdv-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.rdv-hero-picture {
  margin-top: 72px;
}

.rdv-section {
  padding-top: var(--rdv-section-narrow);
}
.rdv-section-head {
  margin-bottom: 40px;
}
.rdv-last {
  padding-bottom: var(--rdv-section-narrow);
}

.rdv-card {
  background: var(--rdv-card);
  border: 1px solid var(--rdv-border);
  border-radius: var(--rdv-radius-card);
  box-shadow: var(--rdv-shadow-card);
}
.rdv-statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
}
.rdv-statement img {
  flex: none;
  width: 56px;
  height: 56px;
}
.rdv-statement p {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--rdv-slate);
  text-wrap: pretty;
}

.rdv-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rdv-tile {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.rdv-tile-number {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rdv-blue);
  font-variant-numeric: tabular-nums;
}
.rdv-tile h3 {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--rdv-navy);
}
.rdv-tile p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--rdv-grey);
}

/* the ask card: a picture of the Ask page, drawn and not a live form */
.rdv-ask {
  padding: 44px 36px;
  text-align: center;
}
.rdv-ask .rdv-heading {
  font-size: clamp(28px, 3.4vw, 40px);
}
.rdv-ask .rdv-sub {
  margin-left: auto;
  margin-right: auto;
}
.rdv-ask-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 32px auto 0;
  height: 60px;
  padding: 0 8px 0 24px;
  border: 1px solid var(--rdv-border);
  border-radius: 999px;
  background: var(--rdv-card);
  box-shadow: var(--rdv-shadow-lift);
  text-align: left;
}
.rdv-ask-box > span:first-child {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: var(--rdv-grey);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rdv-ask-send {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--rdv-blue);
  color: #ffffff;
}
.rdv-ask-send svg {
  width: 18px;
  height: 18px;
}
.rdv-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.rdv-chip {
  font-size: 14px;
  font-weight: 500;
  color: var(--rdv-blue);
  background: var(--rdv-pale);
  border: 1px solid var(--rdv-pale-border);
  border-radius: 999px;
  padding: 7px 14px;
}

.rdv-closing {
  position: relative;
  overflow: hidden;
  border-radius: var(--rdv-radius-panel);
  padding: 56px 32px;
  background: radial-gradient(
    120% 140% at 100% 0%,
    #1c3a7a 0%,
    var(--rdv-navy-deep) 55%,
    #08173a 100%
  );
  color: #ffffff;
}
.rdv-closing h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}
.rdv-closing p {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--rdv-pale-ink);
}
.rdv-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.rdv-footer {
  margin-top: var(--rdv-section-narrow);
  border-top: 1px solid var(--rdv-border);
  padding: 36px 0 44px;
}
.rdv-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.rdv-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rdv-footer small {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--rdv-grey);
}

/* __ a browser frame and the picture of a page in it _______________________________________________________ */
.rdv-frame {
  overflow: hidden;
  background: var(--rdv-card);
  border: 1px solid var(--rdv-border);
  border-radius: var(--rdv-radius-card);
  box-shadow:
    var(--rdv-shadow-lift),
    0 40px 80px -40px rgb(11 31 75 / 0.25);
}
.rdv-frame-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--rdv-border);
  background: #fbfcfe;
}
.rdv-frame-dots {
  display: flex;
  gap: 7px;
  flex: none;
}
.rdv-frame-dots i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--rdv-dot);
}
.rdv-frame-address {
  flex: 1;
  max-width: 360px;
  margin: 0 auto;
  height: 26px;
  border-radius: 999px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--rdv-grey);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 12px;
}
.rdv-frame-dots + .rdv-frame-address {
  margin-right: 61px;
}

.rdv-shot {
  display: flex;
  min-height: 380px;
  background: var(--rdv-ground);
  text-align: left;
}
.rdv-shot-side {
  display: none;
  flex: none;
  width: 196px;
  flex-direction: column;
  gap: 22px;
  padding: 20px 14px;
  background: var(--rdv-card);
  border-right: 1px solid var(--rdv-border);
}
.rdv-shot-side img {
  height: 20px;
  width: auto;
  align-self: flex-start;
  margin-left: 6px;
}
.rdv-shot-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rdv-shot-nav li {
  font-size: 13px;
  font-weight: 500;
  color: var(--rdv-slate);
  padding: 7px 12px;
  border-radius: 999px;
}
.rdv-shot-nav li[data-open] {
  background: var(--rdv-pale);
  color: var(--rdv-navy);
}
.rdv-shot-main {
  flex: 1;
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rdv-shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rdv-shot-head b {
  font-size: 20px;
  font-weight: 600;
  color: var(--rdv-navy);
  letter-spacing: -0.02em;
}
.rdv-shot-head span {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: var(--rdv-blue);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
}
.rdv-shot-bands {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.rdv-shot-bands > :nth-child(n + 2) {
  display: none;
}
.rdv-shot-band {
  background: var(--rdv-card);
  border: 1px solid var(--rdv-border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--rdv-shadow-card);
}
.rdv-shot-band b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rdv-navy);
}
.rdv-shot-row {
  border: 1px solid var(--rdv-border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rdv-shot-row i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--rdv-skeleton);
}
.rdv-shot-row i:first-child {
  width: 78%;
  background: #cbd5e1;
}
.rdv-shot-row i:nth-child(2) {
  width: 52%;
}
.rdv-shot-row i:nth-child(3) {
  width: 34%;
  background: var(--rdv-pale-2);
}

/* __ the sign-in page _____________________________________________________________________________________ */
.rdv-signin {
  display: grid;
  min-height: 100svh;
  background: var(--rdv-ground);
  grid-template-columns: 1fr;
}
.rdv-signin-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 28px var(--rdv-edge);
}
.rdv-signin-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 28px;
}
.rdv-signin-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
}
.rdv-signin-panel {
  display: none;
}

/* __ wider screens _________________________________________________________________________________________ */
@media (min-width: 640px) {
  :root[data-theme="light"] {
    --rdv-edge: 32px;
  }
  .rdv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rdv-shot-bands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rdv-shot-bands > :nth-child(n + 2) {
    display: flex;
  }
  .rdv-closing {
    padding: 72px 64px;
  }
  .rdv-ask {
    padding: 64px 56px;
  }
  .rdv-statement {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 44px 48px;
  }
  .rdv-statement img {
    width: 76px;
    height: 76px;
  }
}
@media (min-width: 900px) {
  .rdv-header-nav {
    display: block;
  }
  .rdv-shot-side {
    display: flex;
  }
  .rdv-hero {
    padding-top: 120px;
  }
  .rdv-section {
    padding-top: var(--rdv-section);
  }
  .rdv-last {
    padding-bottom: var(--rdv-section);
  }
  .rdv-footer {
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .rdv-signin {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .rdv-signin-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 16px;
    border-radius: var(--rdv-radius-panel);
    padding: 72px 0 0 64px;
    color: #ffffff;
    background: linear-gradient(
      160deg,
      #1a3a7c 0%,
      var(--rdv-navy-deep) 52%,
      #07163a 100%
    );
  }
  .rdv-signin-panel .rdv-eyebrow {
    color: var(--rdv-pale-ink);
  }
  .rdv-signin-panel h2 {
    margin: 0;
    max-width: 14ch;
    padding-right: 64px;
    font-size: clamp(40px, 3.6vw, 56px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-wrap: balance;
  }
  .rdv-signin-panel p.rdv-signin-line {
    margin: 20px 0 0;
    max-width: 46ch;
    padding-right: 64px;
    font-size: 18px;
    line-height: 1.55;
    color: #cbd5e1;
  }
  .rdv-signin-picture {
    margin-top: auto;
    padding-top: 48px;
    width: 820px;
    max-width: none;
  }
  .rdv-signin-picture .rdv-frame {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: rgb(255 255 255 / 0.12);
  }
}
