/* Launch checks: the strip that links the in-depth audit, the free website check and the project scan. */

.lc-switch { border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1)); background: var(--bg-2, rgba(255, 255, 255, .03)); }
.lc-switch-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; max-width: var(--wrap, 1200px); margin: 0 auto; padding: 10px var(--gutter, 24px); }
.lc-switch-t { margin-inline-end: 8px; font-family: var(--mono, ui-monospace, monospace); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3, #8d98a3); }
html[lang="ar"] .lc-switch-t { font-family: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lc-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 15px; border: 1px solid var(--line, rgba(255, 255, 255, .12)); border-radius: 999px; font-size: 14px; line-height: 1.2; text-decoration: none; color: var(--fg-2, #c4cbd2); transition: color .15s, border-color .15s, background-color .15s; }
.lc-switch a:hover { color: var(--fg, #fff); border-color: var(--line-2, rgba(255, 255, 255, .28)); }
.lc-switch a[aria-current="page"] { color: var(--fg, #fff); font-weight: 600; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.lc-switch a:focus-visible { outline: 2px solid var(--signal, #6fd8b3); outline-offset: 2px; }
.lc-switch a .lc-short { display: none; }
/* On a phone, the label sits on its own line and the three checks shrink to one
   row below it, using their short labels. */
@media (max-width: 560px) {
  .lc-switch-in { gap: 7px; }
  .lc-switch-t { flex-basis: 100%; margin: 0 0 1px; }
  .lc-switch a { min-height: 32px; padding: 5px 11px; font-size: 12px; }
  .lc-switch a .lc-full { display: none; }
  .lc-switch a .lc-short { display: inline; }
}

/* the free check says what it covers and where the rest is */
.lc-more { margin: 14px 0 0; max-width: 60rem; font-size: 14.5px; line-height: 1.55; color: var(--fg-3, #8d98a3); }
.lc-more a { color: var(--fg, #fff); text-underline-offset: 3px; }
.lc-more a:hover { color: var(--signal, #6fd8b3); }

/* the free check's own list, now alone in its section */
.ab-cmp-grid:has(> .ab-cmp:only-child) { grid-template-columns: minmax(0, 1fr); }
.ab-cmp:only-child { max-width: 64rem; padding-inline: 0; border-inline-end: 0; }
.lc-more-link { margin: 14px 0 0; font-size: 14.5px; }

/* the free tab, closer together: the five checks in one row, the result and its PDF side by side */
.lc-compact .ab-cmp { padding-block: 28px 24px; }
.lc-compact .ab-cmp:only-child { max-width: none; }
.lc-compact .ab-cmp-head { margin-bottom: 0; }
.lc-compact .ab-h2 { margin-top: 10px; }
.lc-compact .ab-cmp-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; margin: 20px 0 16px; }
.lc-compact .ab-cmp-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0; border-bottom: 0; align-content: start; }
.lc-compact .ab-cmp-list .ab-cl b { display: block; font-size: 15px; line-height: 1.35; }
.lc-compact .ab-cmp-list .ab-cl > span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; }
.lc-compact .ab-cmp-foot { margin: 0; padding: 0; }
.lc-compact .lc-more-link { margin-top: 6px; }
@media (max-width: 1180px) { .lc-compact .ab-cmp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; } }
@media (max-width: 720px) { .lc-compact .ab-cmp-list { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* the free check: its form, facts and the way on to the audit in one card, in the site's green */
main:not(:has(#check-report)) .lc-fcard { padding: clamp(24px, 2.4vw, 34px); border-radius: 24px; border: 1px solid rgba(111, 216, 179, 0.28); background: radial-gradient(520px circle at 0% 0%, rgba(111, 216, 179, 0.1), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
main:not(:has(#check-report)) .lc-fcard #check-app { min-height: 150px; }
.lc-fcard #check-app .ck-sub { margin-top: 14px; font-size: 15.5px; line-height: 1.6; }

/* Checks: lead with the scan box, description below. On the in-depth audit the
   two-column hero stacks at <=1080px; put the scan form first when it does so
   the first thing seen is enter URL, confirm ownership, scan. Desktop unchanged. */
@media (max-width: 1080px) {
  .au-hero .rs-hero-grid .au-start { order: -1; margin-bottom: 22px; }
}
.lc-fcard #check-app .ck-form { margin-top: 22px; }
.lc-fcard .ab-facts { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lc-fcard .ab-facts .ab-mono { display: flex; flex-wrap: wrap; gap: 8px; font-family: inherit; letter-spacing: 0; }
.lc-fcard .ab-facts .ab-g { padding: 4px 12px; border: 1px solid var(--line, rgba(255, 255, 255, 0.12)); border-radius: 999px; font-size: 13px; color: var(--fg-2, #c4cbd2); }
.lc-fcard .ab-facts .ab-sep { display: none; }
.lc-fcard .lc-more { margin-top: 14px; }
@media (max-width: 560px) { main:not(:has(#check-report)) .lc-fcard { padding: 22px 18px; } main:not(:has(#check-report)) .lc-fcard #check-app { min-height: 280px; } }

/* the free check's kicker and heading, above the form and the sample, each on one line where the page is wide enough */
.lc-head { margin-bottom: 26px; }
.lc-head .ab-kicker { margin-bottom: 14px; }
.lc-head .ab-h1 { max-width: none; }
@media (min-width: 1000px) { .lc-head .ab-h1 { white-space: nowrap; } }

@media print { .lc-switch { display: none !important; } }

/* site-styles: Paper and Navy, written by scripts/site-styles.mjs; edit the rules above, then rerun */
@media screen {
:where(html.ab-alt) .lc-switch { border-bottom: 1px solid var(--line, color-mix(in srgb, var(--fg) 10%, transparent)); background: var(--bg-2, color-mix(in srgb, var(--fg) 3%, transparent)); }
:where(html.ab-alt) .lc-switch-t { color: var(--fg-3, var(--fg-2)); }
:where(html.ab-alt) .lc-switch a { border: 1px solid var(--line, color-mix(in srgb, var(--fg) 12%, transparent)); color: var(--fg-2, var(--fg-2)); }
:where(html.ab-alt) .lc-switch a:hover { color: var(--fg, var(--fg)); border-color: var(--line-2, color-mix(in srgb, var(--fg) 28%, transparent)); }
:where(html.ab-alt) .lc-switch a[aria-current="page"] { color: var(--fg, var(--fg)); background: color-mix(in srgb, var(--fg) 9%, transparent); border-color: color-mix(in srgb, var(--fg) 30%, transparent); }
:where(html.ab-alt) .lc-switch a:focus-visible { outline: 2px solid var(--signal, var(--signal)); }
:where(html.ab-alt) .lc-more { color: var(--fg-3, var(--fg-2)); }
:where(html.ab-alt) .lc-more a { color: var(--fg, var(--fg)); }
:where(html.ab-alt) .lc-more a:hover { color: var(--signal, var(--signal)); }
:where(html.ab-alt) main:not(:has(#check-report)) .lc-fcard { border: 1px solid color-mix(in srgb, var(--signal) 28%, transparent); background-image: radial-gradient(520px circle at 0% 0%, color-mix(in srgb, var(--signal) 10%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--fg) 6%, transparent), color-mix(in srgb, var(--fg) 2%, transparent)); box-shadow: 0 1px 0 color-mix(in srgb, var(--fg) 7%, transparent) inset, 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
:where(html.ab-alt) .lc-fcard .ab-facts { border-top: 1px solid color-mix(in srgb, var(--fg) 8%, transparent); }
:where(html.ab-alt) .lc-fcard .ab-facts .ab-g { border: 1px solid var(--line, color-mix(in srgb, var(--fg) 12%, transparent)); color: var(--fg-2, var(--fg-2)); }
}
/* /site-styles */
