/* Roster marketing site.
 *
 * The same visual language as the product: Roboto, Google's blue, near-black on white, and
 * surfaces told apart by background colour rather than by drawing a box round everything. A
 * visitor who signs up should not feel they have arrived somewhere else.
 *
 * Marketing type runs larger than the app's — a landing page has one job at a time, where a
 * dashboard has twenty — but the scale, weights and colours are the app's, not a second system. */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-sunken: #f1f3f4;
  --ink: #202124;
  --ink-soft: #5f6368;
  --ink-faint: #80868b;
  --rule: #dadce0;

  --blue: #1a73e8;
  --blue-dark: #1765cc;
  --blue-soft: #e8f0fe;
  --red: #d93025;
  --green: #188038;
  --amber-bg: #fef7e0;
  --amber-line: #f9ab00;

  --radius: 8px;
  --radius-pill: 999px;

  --sans: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.3px;
}

.num,
code {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

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

a {
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- masthead ---------- */

.masthead {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand span {
  color: var(--blue);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--blue);
}

/* ---------- hero ---------- */

.hero {
  padding: 80px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  margin: 0;
}

h1 em {
  font-style: normal;
  color: var(--blue);
}

.lede {
  margin: 22px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.2);
}

.btn-quiet {
  background: var(--bg-sunken);
  color: var(--ink);
}

.btn-quiet:hover {
  background: var(--rule);
}

.cta-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- screenshots ---------- */

.shot {
  margin: 0;
  min-width: 0;
}

.shot-frame {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 8px 24px rgba(60, 64, 67, 0.1);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- assurances ---------- */

.assurances {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

.assure-list {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.assure-list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}

.assure-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.assure-list b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- bands ---------- */

.band {
  padding: 72px 0;
}

.band:nth-of-type(even) {
  background: var(--bg-alt);
}

.band-head {
  max-width: 58ch;
  margin-bottom: 40px;
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  margin: 0;
}

.band-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
}

.band:nth-of-type(even) .step {
  background: var(--bg);
}

.step-n {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- the report ---------- */

.ask {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: var(--blue-soft);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.feature-copy {
  max-width: 62ch;
}

.feature-copy h3,
.feature-list b {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

.feature-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}

.feature-list b {
  display: block;
  font-size: 16px;
  margin: 0 0 4px;
}

.feature-list span {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- faq ---------- */

.faq {
  max-width: 72ch;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq details:first-child {
  border-top: 1px solid var(--rule);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-size: 16.5px;
  font-weight: 500;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-faint);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

/* ---------- close ---------- */

.close {
  padding: 80px 0 92px;
  background: var(--bg-alt);
}

.close-inner {
  max-width: 54ch;
}

.close h2 {
  margin-bottom: 14px;
}

.close p {
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-size: 17px;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 40px;
  font-size: 14px;
  color: var(--ink-faint);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  margin-right: auto;
}

/* ---------- legal and guide documents ---------- */

.doc {
  padding: 56px 0 88px;
}

.doc-inner {
  max-width: 68ch;
}

.doc h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin-bottom: 10px;
}

.doc-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0 0 8px;
}

.doc-note {
  background: var(--bg-alt);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 28px 0 40px;
  font-size: 16px;
  color: var(--ink-soft);
}

.doc-note p {
  margin: 0;
}

.doc h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.doc h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 26px 0 8px;
}

.doc p {
  margin: 0 0 14px;
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.doc li {
  margin-bottom: 8px;
}

.doc dl {
  margin: 0 0 18px;
}

.doc dt {
  font-weight: 500;
  font-size: 16px;
  margin-top: 18px;
}

.doc dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.doc code {
  font-size: 0.88em;
  background: var(--bg-sunken);
  border-radius: 4px;
  padding: 2px 6px;
}

.doc pre {
  margin: 0 0 16px;
  padding: 16px 18px;
  background: var(--ink);
  color: #e8eaed;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.65;
}

.doc pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.doc-warn {
  padding: 14px 18px;
  background: var(--amber-bg);
  border-left: 3px solid var(--amber-line);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15.5px;
}

.doc-quote {
  margin: 0 0 16px;
  padding: 16px 20px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  color: var(--ink);
}

.fill {
  background: var(--amber-bg);
  border-bottom: 1px solid var(--amber-line);
  padding: 0 3px;
  font-family: var(--mono);
  font-size: 0.86em;
}

.toc {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    gap: 40px;
  }

  .steps,
  .assure-list,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .assure-list {
    gap: 14px;
  }

  .feature-row {
    margin-bottom: 44px;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .band,
  .close {
    padding: 56px 0;
  }
}

@media (max-width: 620px) {
  .toc {
    columns: 1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 0 18px;
  }

  .masthead-inner {
    gap: 18px;
  }

  .nav-hide-sm {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
