/* Repo Review: what this page adds to Strive (strive.css) and the showcase overrides
   (showcase.css). No inline styles anywhere on the page, so its CSP can refuse them. */

/* The hero: warm charcoal like the footer, a faint drawing-board grid that fades out, and
   one soft glow of the accent. Text on the left, an example Snapshot on the right. */
.hero {
  min-height: auto; padding: 150px 0 90px; background-color: #15130f;
  background-image:
    radial-gradient(700px 420px at 78% 35%, rgba(234, 124, 0, .13), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(transparent, #15130f); pointer-events: none; }
.hero .info { padding: 0; width: 100%; }
.hero .info h1 { font-size: 50px; line-height: 1.12; text-align: left; }
.hero .info h1:after { margin: 26px 0 0; left: 0; right: auto; }
.hero .info .svc-eyebrow, .hero .info p { text-align: left; }
.hero .info .svc-lead { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .78); max-width: 560px; margin: 26px 0 32px; }
.hero .info .btn-get-started { margin: 0 10px 10px 0; }
.hero .info .svc-trust { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .62); }
.hero .info .svc-trust span { display: inline-flex; gap: 7px; margin-right: 20px; white-space: nowrap; }
@media (max-width: 991px) { .hero { padding: 120px 0 70px; } .hero .info h1 { font-size: 38px; } .hero .svc-snap { margin-top: 48px; } }

/* The example Snapshot in the hero: a dark card, the verdict and the three findings. */
.svc-snap {
  background: #201d19; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px;
  padding: 26px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); color: #fff;
}
.svc-snap .svc-snap-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.svc-snap .svc-snap-head b { font-family: var(--heading-font); font-size: 17px; }
.svc-snap .svc-snap-head small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-color); font-weight: 700; }
.svc-snap .svc-repo { font-family: var(--bs-font-monospace); font-size: 13px; color: rgba(255, 255, 255, .55); margin: -10px 0 18px; }
.svc-snap .svc-health { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); margin-bottom: 18px; }
.svc-snap .svc-health b { font-size: 26px; font-family: var(--heading-font); color: #ffc46b; }
.svc-snap .svc-health span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.svc-snap ul { list-style: none; padding: 0; margin: 0; }
.svc-snap li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 14px; color: rgba(255, 255, 255, .85); }
.svc-snap li code { color: #ffd9a8; font-size: 12.5px; }
.svc-sevtag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 3px 0; border-radius: 6px; }
.svc-sevtag.h { background: rgba(229, 72, 77, .18); color: #ff8a8d; }
.svc-sevtag.m { background: rgba(234, 124, 0, .18); color: #ffb35c; }

/* The illustrative scorecard, drawn in HTML. */
.svc-card {
  background: var(--surface-color); border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 18px 50px rgba(15, 31, 63, .14); border: 1px solid rgba(15, 31, 63, .08);
}
.svc-card .svc-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.svc-card .svc-card-head b { font-size: 18px; }
.svc-card .svc-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-color); font-weight: 700; }
.svc-card .svc-verdict { margin: 10px 0 18px; font-size: 15px; }
.svc-card .svc-verdict span { display: inline-block; padding: 3px 12px; border-radius: 99px; background: #fff4d6; color: #7a5300; font-weight: 700; margin-left: 6px; }
.svc-rating { display: grid; grid-template-columns: 170px 1fr 28px; gap: 10px; align-items: center; margin: 9px 0; font-size: 14px; }
.svc-rating .bar { height: 8px; border-radius: 99px; background: rgba(15, 31, 63, .08); overflow: hidden; }
.svc-rating .bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent-color); }
.svc-rating b { text-align: right; }
.svc-w3 { width: 30%; } .svc-w4 { width: 40%; } .svc-w5 { width: 50%; } .svc-w6 { width: 60%; } .svc-w7 { width: 70%; } .svc-w8 { width: 80%; }
.svc-card .svc-card-note { margin: 16px 0 0; font-size: 12.5px; opacity: .7; }
@media (max-width: 480px) { .svc-rating { grid-template-columns: 120px 1fr 24px; font-size: 13px; } }

/* The GitHub App flow: three numbered steps and the guarantees beside them. */
.svc-flow { list-style: none; padding: 0; margin: 0; counter-reset: flow; }
.svc-flow li { position: relative; padding: 0 0 22px 54px; }
.svc-flow li::before {
  counter-increment: flow; content: counter(flow); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-color); color: #fff; font-weight: 700;
}
.svc-flow li b { display: block; margin-bottom: 4px; }
.svc-flow li p { margin: 0; opacity: .85; }
.svc-guard { list-style: none; padding: 0; margin: 0; }
.svc-guard li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(15, 31, 63, .08); }
.svc-guard li:last-child { border-bottom: 0; }
.svc-guard li i { color: var(--accent-color); font-size: 20px; line-height: 1.2; }
.svc-guard li p { margin: 2px 0 0; opacity: .8; font-size: 14.5px; }

/* Two tiers, side by side, the second leading on from the first. */
.svc-tiers .price small { font-size: 15px; font-weight: 500; opacity: .7; }
.svc-tiers .svc-arrow { display: none; }
@media (min-width: 992px) {
  .svc-tiers .svc-arrow { display: grid; place-items: center; font-size: 28px; color: var(--accent-color); }
}
.svc-tiers .pricing-item .features-list li { text-align: left; }

/* FAQ answers: room between the question bar and the answer. */
.faq .faq-list .faq-item .faq-content { padding: 18px 25px 22px 63px; }
@media (max-width: 768px) { .faq .faq-list .faq-item .faq-content { padding: 14px 20px 18px; } }

/* The logo: the bracketed RR mark beside the name and its line, in the header and the
   footer. IDs because Strive styles every span inside a .logo. The orange is the mark's own,
   not --accent-color, which is darker outside .dark-background. */
.svc-logo { gap: 12px; flex: none; white-space: nowrap; width: fit-content; }
.svc-logo .svc-logo-mark { width: 40px; height: 40px; flex: none; }
#header .svc-logo span, #footer .svc-logo span { margin: 0; font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
#header .svc-logo span.svc-logo-text, #footer .svc-logo span.svc-logo-text { display: flex; flex-direction: column; gap: 5px; font-family: 'Ubuntu', sans-serif; line-height: 1; }
#header .svc-logo span.svc-logo-name, #footer .svc-logo span.svc-logo-name { font-size: 24px; font-weight: 700; letter-spacing: 1.5px; color: #ffffff; }
#header .svc-logo span.svc-logo-accent, #footer .svc-logo span.svc-logo-accent { color: #ea7c00; }
#header .svc-logo span.svc-logo-tag, #footer .svc-logo span.svc-logo-tag { font-size: 9.5px; letter-spacing: 2.4px; color: #c8c8c8; }
@media (max-width: 400px) {
  .svc-logo .svc-logo-mark { width: 34px; height: 34px; }
  #header .svc-logo span.svc-logo-name { font-size: 20px; }
  #header .svc-logo span.svc-logo-tag { font-size: 8px; letter-spacing: 1.8px; }
}
/* The wider logo leaves the header's button less room; it stays one line. */
.header .cta-btn { white-space: nowrap; flex: none; }
/* Between the desktop menu appearing (1200px) and 1400px the header row is full: the
   logo steps down a size there so the menu and the button keep their places. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  #header .svc-logo { gap: 10px; }
  #header .svc-logo .svc-logo-mark { width: 34px; height: 34px; }
  #header .svc-logo span.svc-logo-name { font-size: 20px; letter-spacing: 1.2px; }
  #header .svc-logo span.svc-logo-tag { font-size: 8px; letter-spacing: 1.9px; }
}
/* Strive tops the contact row; the address sits level with the middle of its icon. */
.footer .footer-contact .contact-item { align-items: center; }
/* The footer credit: the designer's logo between "Designed by" and the name. */
.footer .footer-bottom .credits a.svc-credit { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.footer .footer-bottom .credits a.svc-credit .svc-credit-name { color: #ea7c00; }
.footer .footer-bottom .credits a.svc-credit:hover .svc-credit-name { text-decoration: underline; }
/* Strive centres the footer's text on a phone; the logo goes with it. */
@media (max-width: 991px) { #footer .svc-logo { margin-left: auto; margin-right: auto; } }
.footer .credits .svc-credit img { height: 22px; width: auto; }
/* Code, in Bootstrap's <code> and anything else that asks for its monospace stack. */
:root { --bs-font-monospace: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace; }

/* How it works: each card's "Details and an example", and the dialog it opens. */
.svc-phases .svc-more { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; border: 0; background: none;
  font: 600 14px var(--default-font); color: var(--accent-color); cursor: pointer; }
.svc-phases .svc-more[hidden] { display: none; }
.svc-phases .svc-more:hover { text-decoration: underline; }
.svc-phases .svc-more:focus-visible, .svc-dialog-close:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
.svc-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px;
  background: #ffffff; color: #444444; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.svc-dialog::backdrop { background: rgba(21, 19, 15, .72); }
body:has(dialog.svc-dialog[open]) { overflow: hidden; }
.svc-dialog-inner { padding: 28px 32px 30px; }
.svc-dialog-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc-dialog-head h3 { flex: 1; margin: 0; font-family: var(--heading-font); font-size: 26px; font-weight: 700; color: #282828; }
.svc-dialog-num { font: 500 14px 'Ubuntu', sans-serif; color: #a65600; border: 1.5px solid #a65600; border-radius: 999px; padding: 3px 10px; }
.svc-dialog-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f5f2ef; color: #282828; font-size: 15px; cursor: pointer; }
.svc-dialog-close:hover { background: #e8e1d9; }
.svc-dialog p, .svc-dialog li { font-size: 16px; line-height: 1.65; }
.svc-dialog ul { margin: 0 0 4px; padding-left: 20px; }
.svc-dialog li { margin-bottom: 6px; }
.svc-dialog code { font-size: .88em; color: #a65600; }
.svc-dialog-label { margin: 22px 0 8px; font: 700 12px var(--heading-font); letter-spacing: 1.5px; text-transform: uppercase; color: #282828; }
.svc-dialog-label span { margin-left: 8px; color: #a65600; }
.svc-dialog-example { margin: 0; padding: 18px 20px; border-radius: 12px; background: #15130f; color: #e8e1d9;
  font: 13px/1.7 var(--bs-font-monospace); white-space: pre; overflow-x: auto; }
.svc-dialog-example .ok { color: #7fd18b; }
.svc-dialog-example .bad { color: #ff9a9a; }
.svc-dialog-example .acc { color: #ffc46b; }
.svc-dialog-example .dim { color: rgba(255, 255, 255, .5); }
.svc-dialog-note { margin: 12px 0 0; color: #555049; }
@media (max-width: 575px) { .svc-dialog-inner { padding: 22px 20px 24px; } .svc-dialog-head h3 { font-size: 22px; } }
/* The whole card opens its dialog: the button's hit area is stretched over the card, so
   the click target is still a real button for the keyboard and screen readers. Strive's
   hover turns the card orange and whitens only a linked heading, so the plain heading and
   the button are whitened here. */
.svc-phases .svc-more::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.svc-phases .service-card:has(.svc-more:not([hidden])) { cursor: pointer; }
.svc-phases .service-card:hover .content h4,
.svc-phases .service-card:hover .svc-more { color: #ffffff; }
.svc-phases .service-card:hover .svc-more { text-decoration: underline; }

/* The diagrams in the How it works dialogs: inline SVG, styled here because the page's
   policy refuses inline styles. Ink and lines in the page's neutrals, the step's subject
   in the accent, what goes wrong in red and dashed so it reads without colour. */
.svc-diagram { display: block; width: 100%; height: auto; margin: 20px 0 6px; }
.svc-diagram .box { fill: #faf7f3; stroke: #d9cfc3; stroke-width: 1.5; }
.svc-diagram .box-hl { fill: #fcefe0; stroke: #a65600; stroke-width: 1.5; }
.svc-diagram .box-bad { fill: #fbe9e7; stroke: #b3261e; stroke-width: 1.5; stroke-dasharray: 6 4; }
.svc-diagram .band { fill: #fcefe0; }
.svc-diagram .edge, .svc-diagram .edge-a, .svc-diagram .edge-ok, .svc-diagram .edge-bad { fill: none; stroke-width: 1.6; }
.svc-diagram .edge { stroke: #857d74; }
.svc-diagram .edge-a { stroke: #a65600; stroke-width: 2; }
.svc-diagram .edge-ok { stroke: #1f7a4d; }
.svc-diagram .edge-bad { stroke: #b3261e; stroke-dasharray: 5 4; }
.svc-diagram .mk-g { fill: #857d74; }
.svc-diagram .mk-a { fill: #1f7a4d; }
.svc-diagram .mk-b { fill: #b3261e; }
.svc-diagram text { font-family: var(--default-font); }
.svc-diagram .t { font-size: 13px; font-weight: 600; fill: #282828; }
.svc-diagram .t-small { font-size: 12px; fill: #6f675e; }
.svc-diagram .t-mono, .svc-diagram .t-code, .svc-diagram .t-num { font-family: var(--bs-font-monospace); font-size: 12px; fill: #555049; }
.svc-diagram .t-num { fill: #a39a90; }
.svc-diagram .t-acc { font-size: 13px; font-weight: 600; fill: #a65600; }
.svc-diagram .t-ok { font-size: 12px; font-weight: 600; fill: #1f7a4d; }
.svc-diagram .t-bad { font-size: 12px; font-weight: 600; fill: #b3261e; }

/* How it works: the link and the number sit on the card's bottom edge, level across the
   row however long each card's text is. Without the script the button stays hidden and
   the number takes the bottom on its own. */
.svc-phases .service-card { display: flex; flex-direction: column; }
.svc-phases .service-card .content { flex: 1; display: flex; flex-direction: column; }
.svc-phases .service-card .content p { margin-bottom: 20px; }
.svc-phases .svc-more { margin-top: auto; align-self: flex-start; }
.svc-phases .svc-more[hidden] + .service-number { margin-top: auto; }

/* A call to action centred under its column: the GitHub App under the three steps, the
   data handling document under its paragraph. */
.btn-get-started.svc-center-btn { display: table; margin-left: auto; margin-right: auto; }

/* Examples: a card per public project, opening a dialog with its Snapshot and Full Audit.
   The card's button is stretched over it like How it works; without the script the
   button stays hidden and plain links to the documents show instead. */
.svc-ex-list { padding-left: 0; }
.svc-ex-card { position: relative; height: 100%; display: flex; flex-direction: column; padding: 28px 28px 26px; border-radius: 16px;
  background: #ffffff; border: 1px solid #ece5dd; box-shadow: 0 5px 15px rgba(0, 0, 0, .05); transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc-ex-card:has(.svc-ex-open:not([hidden])) { cursor: pointer; }
.svc-ex-card:hover { transform: translateY(-4px); border-color: #e3c9a8; box-shadow: 0 14px 30px rgba(60, 40, 10, .1); }
.svc-ex-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.svc-ex-lang { font: 500 13px var(--bs-font-monospace); color: #6f675e; }
.svc-ex-verdict { display: inline-block; padding: 4px 12px; border-radius: 999px; font: 700 13px var(--heading-font); letter-spacing: .3px; }
.svc-ex-verdict.v-sound { background: #e6f4ec; color: #1f6b44; }
.svc-ex-verdict.v-adequate { background: #fdf0dc; color: #8a5200; }
.svc-ex-verdict.v-at-risk { background: #fde4d6; color: #a03a0c; }
.svc-ex-verdict.v-critical { background: #fbe9e7; color: #a4262c; }
.svc-ex-card h3 { margin: 0 0 6px; font-family: var(--heading-font); font-size: 24px; font-weight: 700; color: #282828; }
.svc-ex-what { margin: 0 0 10px; color: #4d4741; }
.svc-ex-repo { margin: 0 0 4px; font: 13px var(--bs-font-monospace); color: #857d74; }
.svc-ex-reports { margin: 0 0 20px; font-size: 14px; color: #6f675e; }
.svc-ex-open { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
  font: 600 15px var(--default-font); color: #a65600; cursor: pointer; }
.svc-ex-open[hidden] { display: none; }
.svc-ex-open::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.svc-ex-card:hover .svc-ex-open { text-decoration: underline; }
.svc-ex-open:focus-visible { outline: 2px solid #a65600; outline-offset: 3px; }
.svc-ex-links { margin: auto 0 0; font-size: 15px; }
.svc-ex-card:has(.svc-ex-open:not([hidden])) .svc-ex-links { display: none; }

.svc-ex-dialog .svc-dialog-head .svc-ex-verdict { flex: none; }
.svc-ex-panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 4px; }
.svc-ex-pane { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 12px; background: #faf7f3; border: 1px solid #ece5dd; }
.svc-ex-pane h4 { margin: 0; font-family: var(--heading-font); font-size: 19px; font-weight: 700; color: #282828; }
.svc-ex-pane p { margin: 0; font-size: 15px; line-height: 1.55; }
.svc-ex-pane-soon { background: #ffffff; border-style: dashed; }
.svc-ex-btn { display: block; margin-top: auto; padding: 11px 16px; border-radius: 999px; background: #ea7c00; color: #111111; text-align: center;
  font: 600 15px var(--default-font); text-decoration: none; }
.svc-ex-btn + .svc-ex-btn { margin-top: 0; }
.svc-ex-btn:hover { background: #ffa033; color: #111111; }
.svc-ex-btn-alt { background: #ffffff; color: #a65600; border: 1.5px solid #a65600; }
.svc-ex-btn-alt:hover { background: #fcefe0; color: #7d4100; }
.svc-ex-btn:focus-visible { outline: 2px solid #a65600; outline-offset: 3px; }
@media (max-width: 575px) { .svc-ex-panes { grid-template-columns: minmax(0, 1fr); } }
/* Eight menu items (Examples made it eight) only fit beside the logo and the button from
   1400px; below that, down to where the desktop menu appears, they tighten up. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navmenu > ul > li { padding-left: 8px; padding-right: 8px; }
  .navmenu a, .navmenu a:focus { font-size: 14px; }
  .header .cta-btn, .header .cta-btn:focus { padding: 8px 18px; margin-left: 12px; }
}
