/* The public page of sc.<domain>. The tokens follow tuxcare.com:
   League Spartan, navy #081C2E, blue #359CF3, the purple button
   gradient, and the #F0F8FE bands. No script and no inline style:
   the CSP allows this file only. */

@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/league-spartan.woff2) format("woff2");
}

:root {
  color-scheme: light;
  --navy: #081c2e;
  --navy-deep: #06131f;
  --ink: #081c2e;
  --text: #3a4a5c;
  --muted: #647589;
  --blue: #359cf3;
  --purple: #9d61ff;
  --purple-deep: #5e3a99;
  --tint: #f0f8fe;
  --line: #e1eaf3;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(8, 28, 46, .04), 0 14px 36px rgba(8, 28, 46, .07);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "League Spartan", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

figure { margin: 0; }

a { color: inherit; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 700; text-wrap: balance; }

p { margin: 0; text-wrap: pretty; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 16px; }

/* Visually hidden, still read by a screen reader: the busy status of
   the post forms and the extra text of a named control. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* The focus ring must read on its surface: an opaque blue on the dark
   hero, topbar, and footer, and a deep purple on the white cards and
   sections. */
:focus-visible { outline: 3px solid #7cc0ff; outline-offset: 2px; }
.skip:focus-visible, .section :focus-visible, .signup-card :focus-visible { outline-color: #5e3a99; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 4px 30px 0;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 19px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn img { margin-top: -4px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #8a4fef, var(--purple-deep));
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(157, 97, 255, .38); }

.topbar .btn-primary, .cta-band .btn-primary { border-color: rgba(255, 255, 255, .55); }

/* A sign-in button: one per method of the broker (internal/signin). */
.btn-idp { color: #1f1f1f; background: #fff; border-color: #dadce0; }
.btn-idp:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }

.btn-ghost { color: #fff; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .32); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.btn-sm { min-height: 44px; padding: 3px 22px 0; font-size: 16px; }
.btn-block { width: 100%; }

.btn-danger { color: #fff; background: linear-gradient(90deg, #e5484d, #b92529); }
.btn-danger:hover { box-shadow: 0 10px 28px rgba(229, 72, 77, .35); }
.btn-quiet { color: var(--ink); background: #fff; border-color: #8193a8; }

/* A busy button shows a spinner; site.js sets aria-disabled on submit. */
button[aria-disabled="true"] { cursor: wait; opacity: .85; }
button[aria-disabled="true"]::before {
  content: ""; flex-shrink: 0; width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  border-radius: 50%; animation: ws-spin .7s linear infinite;
}
@keyframes ws-spin { to { transform: rotate(360deg); } }

/* Header */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 28, 46, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.topbar-inner { display: flex; align-items: center; gap: 8px 32px; min-height: 76px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }
.brand-divider { width: 1px; height: 26px; background: rgba(255, 255, 255, .25); }
.brand-product { font-size: 21px; font-weight: 600; letter-spacing: .01em; padding-top: 4px; }
/* The beta mark beside the product name: white on the navy bar. */
.beta {
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  padding: 4px 10px 1px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}

.nav { display: flex; gap: 30px; margin-left: 12px; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 17px; font-weight: 500; padding-top: 3px; }
.nav a:hover { color: #fff; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; min-width: 0; }
.link-quiet { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; padding-top: 3px; white-space: nowrap; }
.link-quiet:hover { color: var(--blue); }
/* Sign out is a form (a POST), styled as the header links. */
.signout { display: inline-flex; margin: 0; }
.link-button { background: none; border: 0; padding: 3px 0 0; cursor: pointer; font: inherit; }
.account {
  color: rgba(255, 255, 255, .85); font-size: 15px; padding: 8px 14px 5px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
  max-width: 280px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* On a wide window the header is one row: the email shrinks before the
   actions wrap under the navigation (a signed-in header wrapped at a
   1500 px window, 20 October 2026). */
@media (min-width: 1024px) {
  .topbar-inner { flex-wrap: nowrap; }
  .topbar-actions { flex-wrap: nowrap; flex: 0 1 auto; }
  .nav { flex-shrink: 0; }
}

/* Hero */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff;
  padding: 104px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 45% -5%, rgba(118, 86, 214, .62), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(18, 158, 132, .5), transparent 70%),
    radial-gradient(35% 45% at -5% 85%, rgba(53, 156, 243, .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(110, 231, 210, .5) 1px, transparent 1.3px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(60% 55% at 90% 105%, #000 5%, transparent 70%);
  mask-image: radial-gradient(60% 55% at 90% 105%, #000 5%, transparent 70%);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }

.eyebrow { color: #1a7fd4; font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.eyebrow.center { text-align: center; }
/* On the navy hero the deep blue is under 4.5:1; the bright blue
   passes. */
.hero .eyebrow { color: var(--blue); }

.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 22px; }
.lead { font-size: 21px; line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 600px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 32px; font-size: 19px; color: #fff; font-weight: 500; }

.alert {
  margin-top: 28px; padding: 13px 18px 10px; border-radius: 12px;
  background: rgba(229, 72, 77, .14); border: 1px solid rgba(255, 128, 132, .5);
  color: #ffc9cb; font-size: 17px; font-weight: 500;
}
/* The same error inside a white card. */
.signup-card .alert {
  margin: 10px 0 0; background: #fdecec; border-color: #d43035; color: #a1262b;
}

.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 34px 0 0; font-size: 16px; color: rgba(255, 255, 255, .78); }
.checks li { display: flex; align-items: center; gap: 12px; }
/* A check mark drawn with two borders: the CSP refuses data: images. */
.checks li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 12px; margin: -6px 2px 0 4px;
  border: solid #5eead4; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checks strong { color: #fff; font-weight: 600; }

/* Cards on the hero */

.card { border-radius: 22px; padding: 30px; }

.preview {
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.preview-repo { color: #fff; font-weight: 700; font-size: 20px; }
.preview-repo span {
  display: inline-block; margin-left: 8px; padding: 3px 10px 1px; border-radius: 999px;
  background: rgba(53, 156, 243, .18); color: #9fd0ff; font-size: 14px; font-weight: 600; vertical-align: 2px;
}
.preview-meta { color: rgba(255, 255, 255, .6); font-size: 15px; margin-top: 4px; }

.pill { padding: 5px 12px 3px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.pill-live { background: rgba(94, 234, 212, .16); color: #7ff0dc; }

.preview-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 18px; }
.preview-stats div { background: rgba(8, 28, 46, .45); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px 9px; }
.preview-stats strong { display: block; color: #fff; font-size: 26px; line-height: 1.1; }
.preview-stats span { color: rgba(255, 255, 255, .6); font-size: 14px; }

.preview-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.preview-rows li {
  display: grid; grid-template-columns: 82px 1fr auto; grid-template-areas: "sev pkg tag" "sev cve tag";
  align-items: center; column-gap: 14px;
  background: rgba(8, 28, 46, .5); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 12px 14px 10px;
}
.sev { grid-area: sev; text-align: center; padding: 5px 0 3px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.sev-critical { background: rgba(229, 72, 77, .2); color: #ff9a9d; }
.sev-high { background: rgba(247, 107, 21, .2); color: #ffae78; }
.sev-medium { background: rgba(245, 180, 0, .18); color: #ffd666; }
.pkg { grid-area: pkg; color: #fff; font-weight: 600; font-size: 17px; }
.pkg em { font-style: normal; color: rgba(255, 255, 255, .55); font-weight: 500; margin-left: 4px; }
.cve { grid-area: cve; color: rgba(255, 255, 255, .6); font-size: 14px; }
.tag { grid-area: tag; padding: 5px 11px 3px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .08); color: #cbd8e5; white-space: nowrap; }
.tag-kev { background: rgba(157, 97, 255, .28); color: #dcc8ff; }

.signup-card { background: #fff; color: var(--text); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); padding: 34px; }
.signup-card h2 { font-size: 28px; margin-bottom: 6px; }
.signup-card .card-btn { margin-top: 22px; }
.muted { color: var(--muted); font-size: 16px; }
.muted strong { color: var(--ink); font-weight: 600; }
.signup-card label { display: block; margin-top: 24px; margin-bottom: 8px; color: var(--ink); font-weight: 600; font-size: 16px; }
.address { display: flex; align-items: stretch; border: 1px solid #8193a8; border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.address:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(157, 97, 255, .18); }
.address input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 15px 14px 11px;
  font: inherit; font-size: 18px; color: var(--ink); background: #fff;
}
.address input::placeholder { color: var(--muted); }
.suffix { display: flex; align-items: center; padding: 3px 14px 0; background: var(--tint); color: var(--text); font-size: 16px; white-space: nowrap; border-left: 1px solid #dbe5ef; }
.help { margin: 8px 0 22px; font-size: 14px; color: var(--muted); }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.fine a { color: var(--purple-deep); }

/* Workspace picker */

.picker { padding: 72px 0 96px; }
.picker h1 { color: #fff; font-size: clamp(34px, 4.5vw, 48px); overflow-wrap: anywhere; }

.ws-title { color: #fff; font-size: 24px; margin: 40px 0 10px; }
.ws-invite { color: rgba(255, 255, 255, .7); font-size: 16px; max-width: 560px; }

.ws-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 720px; }
.ws-row {
  display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 16px 20px 13px;
  transition: border-color .15s, background-color .15s;
}
.ws-row:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.ws-host { color: #fff; font-weight: 600; font-size: 19px; min-width: 0; overflow-wrap: anywhere; }
.ws-name { color: rgba(255, 255, 255, .6); font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.ws-state {
  margin-left: auto; padding: 4px 12px 2px; border-radius: 999px;
  background: rgba(247, 107, 21, .2); color: #ffae78;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}

.ws-note {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 720px; margin-top: 28px; padding: 13px 18px 10px; border-radius: 12px;
  background: rgba(94, 234, 212, .1); border: 1px solid rgba(94, 234, 212, .4);
  color: #c8f7ec; font-size: 17px;
}
.ws-note > span { min-width: 0; overflow-wrap: anywhere; }
.ws-note strong { color: #fff; }

.ws-item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ws-item .ws-row { flex: 1; min-width: 0; }
.ws-delete { color: #ff9a9d; font-size: 15px; font-weight: 600; padding: 8px 4px; }
.ws-delete:hover { color: #ffc9cb; }

.ws-delete-card { margin-top: 28px; max-width: 720px; }
.ws-delete-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.ws-confirm {
  width: 100%; border: 1px solid #8193a8; border-radius: 12px; outline: 0;
  padding: 15px 14px 11px; font: inherit; font-size: 18px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.ws-confirm:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(157, 97, 255, .18); }

.ws-create { margin-top: 44px; max-width: 720px; }
/* The create form of the Radar sign-up page (radar_signup.html): the
   form of .ws-create, with no <details> around it. */
.radar-form { margin-top: 32px; max-width: 720px; }
.ws-create summary {
  display: inline-flex; align-items: center; min-height: 54px; padding: 4px 30px 0;
  border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px;
  color: #fff; font-weight: 700; font-size: 19px; cursor: pointer; list-style: none;
}
.ws-create summary::-webkit-details-marker { display: none; }
.ws-create summary::after {
  content: ""; width: 8px; height: 8px; margin: -3px 0 0 12px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ws-create[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.ws-create summary:hover { background: rgba(255, 255, 255, .1); }
.ws-create .signup-card { margin-top: 20px; }

/* Sections */

.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-title { text-align: center; font-size: clamp(30px, 3.6vw, 42px); max-width: 780px; margin: 0 auto 56px; }
.section-lead { text-align: center; max-width: 640px; margin: -36px auto 40px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding-top: 4px;
  border-radius: 50%; color: #fff; font-weight: 700; font-size: 20px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 8px 20px rgba(157, 97, 255, .3);
}
.step h3 { font-size: 23px; margin: 20px 0 10px; }
.step p { font-size: 17px; }

.terminal { max-width: 900px; margin: 48px auto 0; background: #0a1726; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(8, 28, 46, .25); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px 12px; background: #0f2135; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.terminal-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar em { font-style: normal; margin-left: 10px; color: rgba(255, 255, 255, .5); font-size: 14px; }
.terminal pre { margin: 0; padding: 22px 24px 24px; overflow-x: auto; }
/* .terminal clips a ring outside the pre. A negative offset keeps the
   ring inside, and the bright blue reads on the dark surface. */
.terminal pre:focus-visible { outline-color: #7cc0ff; outline-offset: -3px; }
.terminal code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14.5px; line-height: 1.75; color: #d8e6f3; }
.terminal .c { color: #6f8ca8; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(8, 28, 46, .04), 0 22px 44px rgba(8, 28, 46, .1); }
.feature h3 { font-size: 23px; margin: 22px 0 10px; }
.feature p { font-size: 17px; }
.icon {
  width: 52px; height: 52px; padding: 12px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(157, 97, 255, .16), rgba(53, 156, 243, .16));
  fill: none; stroke: #6c43d1; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 900px; }
.chips li {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 168px;
  padding: 16px 26px 13px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(8, 28, 46, .05); text-align: center;
}
/* The language is the name a reader knows; the package managers under it
   are the ecosystems the scan reads. */
.chips li strong { color: var(--ink); font-weight: 600; font-size: 19px; }
.chips li span { color: var(--text); font-size: 15px; }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff; padding: 96px 0; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 20% 0%, rgba(118, 86, 214, .55), transparent 70%),
    radial-gradient(50% 80% at 85% 100%, rgba(18, 158, 132, .45), transparent 70%);
}
.cta-band-inner { display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); max-width: 820px; }
.cta-band p { margin: 16px 0 34px; font-size: 20px; color: rgba(255, 255, 255, .8); }
.cta-band .cta-row { justify-content: center; margin-top: 0; }

/* The landing page: the two setup terminals, the four steps, the
   "sent / never sent" panel, and a line of code inside the text. The
   muted colour stays on white sections: on the tint it is below 4.5:1. */

/* One terminal under the other: side by side, the install line does not fit. */
.setup-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.setup-grid .terminal { max-width: none; margin: 0; }
.section-more { text-align: center; margin: 32px auto 0; max-width: 720px; }
.section-more a { color: var(--purple-deep); font-weight: 600; }

.steps-4 { grid-template-columns: repeat(4, 1fr); }
/* The four features of the Radar landing page: two rows of two. */
.features-2 { grid-template-columns: repeat(2, 1fr); }

.step code, .feature code, .section-more code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em;
  color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
}

.sent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.sent-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.sent-col h3 { font-size: 21px; margin-bottom: 14px; }
.sent-col ul { margin: 0; padding-left: 22px; }
.sent-col li + li { margin-top: 6px; }

@media (max-width: 1200px) {
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Footer */

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 20px; }
.footer-about p { max-width: 400px; line-height: 1.6; }
.footer h2 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Narrow screens */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-side { max-width: 620px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .sent { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .topbar-inner { gap: 12px; min-height: 64px; }
  .brand { gap: 10px; }
  .brand-logo { height: 26px; }
  .brand-divider { height: 20px; }
  .brand-product { font-size: 17px; }
  .topbar-actions .btn-sm { min-height: 40px; padding: 3px 14px 0; font-size: 15px; }
  .topbar-actions .link-quiet { font-size: 15px; }
  .account { max-width: 220px; font-size: 13px; }
  .hero { padding: 64px 0 80px; }
  .lead { font-size: 19px; }
  .cta-row .btn { width: 100%; }
  .card, .signup-card { padding: 22px; }
  .preview-stats { grid-template-columns: repeat(2, 1fr); }
  .preview-rows li { grid-template-columns: 74px 1fr; grid-template-areas: "sev pkg" "sev cve" "sev tag"; }
  .tag { justify-self: start; margin-top: 6px; }
  .suffix { font-size: 14px; padding: 3px 10px 0; }
  .section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  /* On a phone each workspace is a card: the host, the name, and
     the state badge get a line each, and the Delete link moves to
     its own line below the card with a 44px tap target. */
  .ws-item { flex-direction: column; align-items: stretch; }
  .ws-row { flex-direction: column; align-items: flex-start; }
  .ws-state { margin-left: 0; }
  .ws-delete { display: flex; align-items: center; min-height: 44px; }
  /* The "is ready" note stacks: the text, then a full-width
     button whose text wraps. */
  .ws-note { flex-direction: column; align-items: stretch; }
  .ws-note .btn { width: 100%; white-space: normal; overflow-wrap: anywhere; }
  /* The delete page's buttons take the full width, one above the
     other. */
  .ws-delete-actions { flex-direction: column; align-items: stretch; }
  .ws-delete-actions .btn { width: 100%; }
}

/* The cookie banner (cookienotice.html): fixed at the bottom, shown by
   site.js. On the navy band the text is white, and the focus ring is
   the blue of the topbar. */
.cookie-notice {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy-deep); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 -10px 30px rgba(8, 28, 46, .25);
  font-size: 16px; line-height: 1.5;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice-inner { display: flex; align-items: center; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.cookie-notice p { flex: 1; min-width: 0; }
.cookie-notice a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.cookie-notice a:hover { color: #7cc0ff; }
.cookie-notice .btn { flex-shrink: 0; }

/* The cookie notice and privacy notice pages: text on white, and tables that scroll
   inside their box on a narrow screen. */
.legal { padding: 64px 0 96px; }
.legal-body { max-width: 880px; overflow-wrap: break-word; }
.legal-body h2 { font-size: 28px; margin: 48px 0 14px; }
.legal-body h3 { font-size: 21px; margin: 32px 0 12px; }
.legal-body p, .legal-body ul { margin: 0 0 14px; }
.legal-body ul { padding-left: 24px; }
.legal-body li + li { margin-top: 8px; }
.legal-body a { color: var(--purple-deep); }
.legal-body code { font-size: .9em; overflow-wrap: anywhere; color: var(--ink); }
.legal-table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.legal-table thead th { border-top: 0; background: var(--tint); color: var(--ink); }
.legal-table tbody th { font-weight: 400; }
.legal-table tbody th code { white-space: nowrap; overflow-wrap: normal; }
.legal-table td:last-child { white-space: nowrap; }
/* A table whose last column holds sentences, not short durations: wrap it,
   and give the row headers and the middle column room. */
.legal-table-prose td:last-child { white-space: normal; }
.legal-table-prose tbody th { width: 22%; }
.legal-table-prose td { width: 39%; }

@media (max-width: 640px) {
  .cookie-notice-inner { flex-direction: column; align-items: stretch; }
  .cookie-notice .btn { width: 100%; }
  .legal { padding: 48px 0 72px; }
  /* The table keeps a readable width and scrolls inside its box. */
  .legal-table table { min-width: 600px; }
}

/* The CLI sign-in page (/device). */
.device-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.device-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 16px 0; }
.device-facts dt { font-weight: 600; }
.device-facts dd { margin: 0; overflow-wrap: anywhere; }
.device-ws-list { border: 0; margin: 16px 0; padding: 0; }
.signup-card .device-ws-list legend { font-weight: 600; margin-bottom: 8px; }
.signup-card .device-ws { display: block; margin: 8px 0; font-weight: 400; font-size: inherit; overflow-wrap: anywhere; }
.signup-card .device-confirm { margin: 16px 0; }
/* The invitations of the person, each with its Accept button, and the
   next steps when the person has no workspace (SC-1154). */
.signup-card + .signup-card { margin-top: 20px; }
.device-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.device-invite p { margin: 0; overflow-wrap: anywhere; }
.device-next { margin: 8px 0 16px; padding-left: 20px; }
.device-next li { margin: 6px 0; }
