/* One stylesheet for every page of the site. No outside fonts, scripts or images:
   the pages ask the visitor's browser for nothing but themselves. */

:root {
  --brand: #4c5fd5;
  --button: #4c5fd5;
  --button-hover: #3a4bb8;
  --button-text: #ffffff;
  --link: #3949b3;
  --link-hover: #26338a;
  --eyebrow: #3646b0;
  --brand-soft: #eceffc;
  --brand-softer: #f6f7fe;
  --brand-line: #d9defa;
  --hero-top: #f3f5fe;
  --hero-glow: #e0e5fb;
  --ink: #172b4d;
  --muted: #44546f;
  --subtle: #626f86;
  --line: #e2e5ec;
  --bg: #ffffff;
  --surface: #f7f8fc;
  --card: #ffffff;
  --code-bg: #f1f2f6;
  --ok: #1f845a;
  --ok-soft: #dcfff1;
  --shadow-sm: 0 1px 2px rgba(9, 30, 66, 0.06), 0 4px 14px rgba(9, 30, 66, 0.05);
  --shadow: 0 1px 2px rgba(9, 30, 66, 0.06), 0 12px 32px rgba(9, 30, 66, 0.09);
  --radius: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8f9cff;
    --button: #4c5fd5;
    --button-hover: #5d6fe6;
    --link: #9fabff;
    --link-hover: #c3caff;
    --eyebrow: #c3caff;
    --brand-soft: #242a4c;
    --brand-softer: #1a1e35;
    --brand-line: #343b66;
    --hero-top: #171c2d;
    --hero-glow: #283062;
    --ink: #e6e9f0;
    --muted: #b3bccc;
    --subtle: #8f99ab;
    --line: #2b3142;
    --bg: #12151d;
    --surface: #161a24;
    --card: #1b202d;
    --code-bg: #232937;
    --ok: #4bce97;
    --ok-soft: #173a2c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* A column, so that the footer stays at the bottom of a short page. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
}

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

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 0.8rem;
  background: var(--card);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* The bar at the top. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(10px);
  backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  display: block;
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--surface);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--brand-soft);
}

.site-nav a.nav-contact {
  margin-left: 0.4rem;
  color: var(--button-text);
  background: var(--button);
}

.site-nav a.nav-contact:hover {
  color: var(--button-text);
  background: var(--button-hover);
}

/* Buttons and small labels. */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.button.primary {
  color: var(--button-text);
  background: var(--button);
  box-shadow: 0 6px 16px rgba(76, 95, 213, 0.28);
}

.button.primary:hover {
  color: var(--button-text);
  background: var(--button-hover);
}

.button.secondary {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--ink);
  border-color: var(--brand);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  color: var(--eyebrow);
  background: var(--brand-softer);
  font-weight: 600;
}

.soon::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  color: var(--eyebrow);
  background: var(--brand-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* The home page. */

.hero {
  background:
    radial-gradient(52rem 30rem at 90% -10%, var(--hero-glow), transparent 65%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 3rem;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--brand);
}

.hero .lead {
  max-width: 34rem;
  margin: 0 0 1.9rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  color: var(--subtle);
  font-size: 0.95rem;
  list-style: none;
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--ok);
  vertical-align: 0.12em;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(23, 31, 79, 0.14));
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card .icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  margin: 0.5rem 0;
  padding-left: 1.75rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%231F845A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-grid li {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps-grid li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: var(--button-text);
  background: var(--button);
  font-weight: 700;
}

.steps-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}

.trust .symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--eyebrow);
  background: var(--brand-soft);
}

.trust h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.trust p {
  margin: 0;
  color: var(--muted);
}

.more {
  margin: 2.25rem 0 0;
  text-align: center;
}

.faq {
  max-width: 46rem;
  margin: 0 auto;
}

.faq details {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.06rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
}

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

.faq details p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2.5rem;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #4c5fd5 0%, #3a4bb8 60%, #2f3d9e 100%);
  box-shadow: var(--shadow);
}

.band h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.band .button {
  color: #2f3d9e;
  background: #ffffff;
}

.band .button:hover {
  color: #2f3d9e;
  background: #eceffc;
}

/* The contact page and the pages after sending. */

.wrap.narrow {
  max-width: 46rem;
}

.contact {
  padding-top: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }
}

.contact-info h2,
.contact-form h2 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.contact-info h3 {
  margin: 2rem 0 0.4rem;
  font-size: 1.05rem;
}

.contact-info p {
  margin: 0.5rem 0;
  color: var(--muted);
}

.contact-address {
  font-size: 1.3rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  user-select: all;
}

.contact-info p.contact-address {
  color: var(--ink);
}

.contact-form {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin: 1.1rem 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  outline: none;
}

.contact-form .button {
  width: 100%;
  margin-top: 0.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form-note {
  margin: 1.2rem 0 1rem;
  color: var(--subtle);
  font-size: 0.92rem;
}

/* The hidden field for programs that fill in every field. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.result {
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.page-hero.result .lead {
  margin: 0 auto 1.8rem;
}

.result .cta {
  justify-content: center;
}

.result-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
}

.result-mark.ok {
  color: var(--ok);
  background: var(--ok-soft);
}

.result-mark.problem {
  color: #ae2e24;
  background: #ffeceb;
}

/* The help page and the privacy policy. */

.page-hero {
  padding: 3.25rem 0 2.75rem;
  background:
    radial-gradient(40rem 20rem at 95% -20%, var(--hero-glow), transparent 65%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.page-hero .lead {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.page-hero .updated {
  margin: 0.9rem 0 0;
  color: var(--subtle);
  font-size: 0.95rem;
}

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

.contents {
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contents strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--subtle);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contents ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 1.5rem;
}

.contents li {
  padding: 0.12rem 0;
  break-inside: avoid;
}

.contents a {
  text-decoration: none;
}

.contents a:hover {
  text-decoration: underline;
}

@media (min-width: 64rem) {
  .doc {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: 3.5rem;
  }

  .doc-nav {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    max-height: calc(100vh - 7rem);
    overflow: auto;
  }

  .contents {
    padding: 0;
    background: none;
    border: 0;
  }

  .contents ul {
    columns: 1;
  }

  .contents li {
    padding: 0;
  }

  .contents a {
    display: block;
    padding: 0.32rem 0.75rem;
    border-left: 2px solid var(--line);
    color: var(--muted);
  }

  .contents a:hover {
    color: var(--ink);
    border-left-color: var(--brand);
    text-decoration: none;
  }
}

.doc-body {
  min-width: 0;
  max-width: 46rem;
}

.doc-body > section + section {
  margin-top: 3rem;
}

.doc-body h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.doc-body h2 img {
  width: 34px;
  height: 34px;
  flex: none;
}

/* A screenshot of a widget: at most its size on a Jira dashboard, smaller on narrow screens;
   the shadow follows the card's rounded corners (they are see-through in the picture). */
.shot {
  margin: 1.4rem 0 1.8rem;
}

.shot img {
  display: block;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(23, 31, 79, 0.1));
}

.shot figcaption {
  margin-top: 0.8rem;
  color: var(--subtle);
  font-size: 0.92rem;
}

.doc-body h3 {
  margin: 1.9rem 0 0.4rem;
  font-size: 1.12rem;
}

.doc-body p,
.doc-body ul,
.doc-body ol {
  margin: 0.65rem 0;
}

.doc-body li {
  margin: 0.38rem 0;
}

ol.steps {
  padding: 0;
  list-style: none;
  counter-reset: s;
}

ol.steps > li {
  position: relative;
  min-height: 1.9rem;
  margin: 0.75rem 0;
  padding-left: 2.75rem;
  counter-increment: s;
}

ol.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: var(--eyebrow);
  background: var(--brand-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.summary-card {
  margin: 0 0 2.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--brand-softer);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
}

.summary-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.summary-card .ticks {
  margin: 0;
}

code,
pre {
  font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  font-size: 0.9em;
}

code {
  padding: 0.12em 0.38em;
  background: var(--code-bg);
  border-radius: 5px;
}

pre {
  margin: 0.85rem 0;
  padding: 0.9rem 1.1rem;
  overflow-x: auto;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

pre code {
  padding: 0;
  background: none;
}

.table-wrap {
  margin: 1.1rem 0;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

th,
td {
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--subtle);
  background: var(--surface);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:first-child {
  width: 34%;
  min-width: 9rem;
  font-weight: 600;
}

/* The bottom of every page. */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.4rem;
  padding-bottom: 1.4rem;
}

.footer-brand .brand img {
  width: 24px;
  height: 24px;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-legal {
  padding-bottom: 2rem;
}

.footer-legal p {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.9rem;
}

@media (max-width: 30rem) {
  .site-header-inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.45rem;
    font-size: 1rem;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 0.35rem 0.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .site-nav a.nav-contact {
    margin-left: 0.25rem;
  }

  .contents ul {
    columns: 1;
  }

  .band {
    padding: 1.75rem;
  }
}

@media print {
  .site-header,
  .doc-nav,
  .skip {
    display: none;
  }

  .doc {
    display: block;
  }
}
