/* 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 {
  /* The look of the site: teal is its color, and a gradient from teal over blue to violet
     is its mark. --grad fills what stands out (buttons, the band, the logo, the icons, the
     stripe at the top); --grad-text colors the big headlines and --grad-ink small words;
     --grad-soft is the pale fill of labels and --grad-line the fine border of cards. */
  --grad: linear-gradient(135deg, #0f766e 0%, #2563eb 55%, #7c3aed 100%);
  --grad-down: linear-gradient(180deg, #0f766e 0%, #2563eb 55%, #7c3aed 100%);
  --grad-text: var(--grad);
  --grad-ink: linear-gradient(135deg, #0f766e 0%, #1d4ed8 55%, #6d28d9 100%);
  --grad-soft: linear-gradient(135deg, #def5f0 0%, #e4edfe 55%, #ece7fd 100%);
  --grad-line: linear-gradient(135deg, #9adfd3 0%, #a9c5f9 55%, #c9b8f6 100%);
  --brand: #0f766e;
  --button: #0f766e;
  --hover-shade: brightness(0.9);
  --button-text: #ffffff;
  --button-glow: rgba(37, 99, 235, 0.28);
  --band-ink: #115e59;
  --band-soft: #e0f5f1;
  --link: #0f766e;
  --link-hover: #115e59;
  --eyebrow: #0f766e;
  --brand-soft: #e0f5f1;
  --brand-softer: #f1fbf9;
  --brand-line: #bfe7e0;
  --hero-top: #f0faf8;
  --hero-glow: #cdefe9;
  --hero-glow-2: #e6dffc;
  --ink: #172b4d;
  --muted: #44546f;
  --subtle: #626f86;
  --line: #e2e5ec;
  --bg: #ffffff;
  --surface: #f7f8fc;
  --card: #ffffff;
  --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 {
    --grad-down: linear-gradient(180deg, #2dd4bf 0%, #60a5fa 55%, #a78bfa 100%);
    --grad-text: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 55%, #a78bfa 100%);
    --grad-ink: linear-gradient(135deg, #5eead4 0%, #93c5fd 55%, #c4b5fd 100%);
    --grad-soft: linear-gradient(135deg, #12332f 0%, #18294d 55%, #2a2152 100%);
    --grad-line: linear-gradient(135deg, #1f5c55 0%, #2c4a86 55%, #4a3a8c 100%);
    --brand: #2dd4bf;
    --button: #0f766e;
    --hover-shade: brightness(1.12);
    --button-glow: rgba(0, 0, 0, 0.45);
    --link: #5eead4;
    --link-hover: #99f6e4;
    --eyebrow: #99f6e4;
    --brand-soft: #12332f;
    --brand-softer: #0f2624;
    --brand-line: #1f4d47;
    --hero-top: #101e24;
    --hero-glow: #124840;
    --hero-glow-2: #2b2260;
    --ink: #e6e9f0;
    --muted: #b3bccc;
    --subtle: #8f99ab;
    --line: #2b3142;
    --bg: #12151d;
    --surface: #161a24;
    --card: #1b202d;
    --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;
  accent-color: var(--brand);
}

::selection {
  color: var(--ink);
  background: var(--brand-line);
}

@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);
}

/* The mark of the site: a stripe of the gradient along the top of every page. */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--grad);
}

.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: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  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 {
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.site-nav a:hover {
  color: var(--link-hover);
  background: var(--brand-soft);
}

/* The page you are on: a pale fill and a line of the gradient under the word. */
.site-nav a[aria-current="page"] {
  color: var(--link-hover);
  background: var(--grad-soft);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.22rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* 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, filter 0.15s;
}

.button.primary {
  color: var(--button-text);
  background: var(--button) var(--grad) border-box;
  box-shadow: 0 6px 16px var(--button-glow);
}

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

/* A fine border in the gradient, here and on the cards: the card's color fills the inside
   and the gradient shows through the transparent border. */
.button.secondary {
  color: var(--ink);
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
}

.button.secondary:hover {
  color: var(--link-hover);
  background: linear-gradient(var(--brand-softer), var(--brand-softer)) padding-box, var(--grad) border-box;
}

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

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

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

/* Words in the gradient: the name of the site and the big headlines in its bright form,
   small labels and the line under the name in the footer in its dark form. Where a browser
   cannot cut a background to the letters, they keep one color. */
.brand span,
.hero h1 span,
.page-hero h1 {
  color: var(--brand);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand span,
  .hero h1 span,
  .page-hero h1 {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .eyebrow span,
  .soon span,
  .footer-brand p {
    background: var(--grad-ink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media print, (forced-colors: active) {
  .brand span,
  .hero h1 span,
  .page-hero h1,
  .eyebrow span,
  .soon span,
  .footer-brand p {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

/* The home page. */

/* A glow of teal from the left and one of violet from the right. */
.hero {
  background:
    radial-gradient(46rem 28rem at 6% -14%, var(--hero-glow), transparent 62%),
    radial-gradient(52rem 30rem at 94% -10%, var(--hero-glow-2), 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;
}

/* The second line of the headline is in the gradient (see "Words in the gradient"); the
   room under it keeps the tails of the letters inside the colored area. */
.hero h1 span {
  display: block;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.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;
}

/* The three facts under the headline, each a small badge: a white tick on a circle of the
   gradient and its words in teal, inside the fine border of the cards. */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  list-style: none;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--link);
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
  font-weight: 600;
}

.facts li::before {
  content: "";
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background:
    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='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.72rem no-repeat,
    var(--button) var(--grad);
}

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

/* The top of the home page since there are two apps: the words in the middle, and under
   them a card for each app with its picture. */

.hero-two {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 62rem) {
  .hero-two {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.hero-two .hero-copy {
  max-width: 46rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.hero-two .lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-two .facts {
  justify-content: center;
  margin-top: 0;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Under the mouse the border shows the full gradient, and an app's card rises a little. */
.product:hover,
.card:hover {
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
}

.product:hover {
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .product:hover {
    transform: translateY(-3px);
  }
}

.product .art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--grad-soft);
}

.product .art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  filter: drop-shadow(0 8px 18px rgba(23, 31, 79, 0.12));
}

.product h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.product p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.product .cta {
  margin-top: auto;
}

.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.9rem;
  font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Under every section's heading: a short bar of the gradient. */
.section-head h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 4px;
  background: var(--grad);
}

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

/* The small label above a heading is a paragraph too; it keeps its own size and room. */
.section-head p.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
}

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

/* Four cards in a row where there is room for them. */
.cards.four {
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
}

.card {
  padding: 1.6rem;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  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.28em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  /* A white tick on a circle of the gradient. */
  background:
    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='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--button) var(--grad);
}

.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: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  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) var(--grad);
  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: 1px solid transparent;
  border-radius: 12px;
  color: var(--brand);
  background: var(--grad-soft) padding-box, var(--grad-line) border-box;
}

.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: var(--grad);
  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: var(--band-ink);
  background: #ffffff;
}

.band .button:hover {
  color: var(--band-ink);
  background: var(--band-soft);
}

/* 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: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  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;
}

/* The list of topics. Where the browser lets a page style an opened list (Edge and Chrome
   since 2025), it gets the fine gradient border, teal under the mouse and a teal tick at the
   topic chosen; other browsers show their own list, and the form works the same. */
@supports (appearance: base-select) {
  .contact-form select,
  .contact-form select::picker(select) {
    appearance: base-select;
  }

  .contact-form select {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .contact-form select::picker-icon {
    color: var(--brand);
    transition: rotate 0.2s;
  }

  .contact-form select:open::picker-icon {
    rotate: 180deg;
  }

  /* Below the box whenever it fits there (the browser would take the side with more room). */
  .contact-form select::picker(select) {
    position-try-order: normal;
    margin-top: 0.4rem;
    padding: 0.35rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
    box-shadow: var(--shadow);
  }

  .contact-form option {
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
  }

  .contact-form option:hover,
  .contact-form option:focus-visible {
    color: var(--link-hover);
    background: var(--brand-soft);
    outline: none;
  }

  .contact-form option:checked {
    color: var(--link-hover);
    font-weight: 600;
  }

  .contact-form option::checkmark {
    color: var(--brand);
  }
}

.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;
}

.page-hero.result h1 {
  margin-left: auto;
  margin-right: auto;
}

.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(34rem 18rem at 4% -30%, var(--hero-glow), transparent 62%),
    radial-gradient(40rem 20rem at 96% -20%, var(--hero-glow-2), transparent 65%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

/* In the gradient (see "Words in the gradient"). As wide as its words, so that the gradient
   runs over the words and not over the page; the room under it keeps the tails of the
   letters inside the colored area. */
.page-hero h1 {
  width: fit-content;
  max-width: 100%;
  padding-bottom: 0.14em;
  margin: 0 0 calc(0.6rem - 0.14em);
  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;
}

/* "On this page". On a narrow screen a box with the fine border of the cards; on a wide one
   a list beside the text with a line of the gradient running down it. */
.contents {
  padding: 1rem 1.15rem;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  border-radius: 12px;
}

.contents strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--eyebrow);
  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 {
  font-weight: 500;
  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 strong {
    margin-bottom: 0.7rem;
  }

  .contents ul {
    columns: 1;
    background: var(--grad-down) left top / 2px 100% no-repeat;
  }

  .contents li {
    padding: 0;
  }

  /* The entry under the mouse gets a pale fill beside the line. */
  .contents a {
    display: block;
    padding: 0.32rem 0.75rem;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    background-clip: padding-box;
    color: var(--link);
  }

  .contents a:hover {
    color: var(--link-hover);
    background-color: var(--brand-soft);
    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;
}

/* Under a section's heading on the help, support, security and privacy pages: the same short
   bar of the gradient as on the home page. A heading with a widget's icon carries the
   gradient already and gets none. */
.doc-body > section > h2:not(:has(img)) {
  display: block;
  margin-bottom: 1rem;
}

.doc-body > section > h2:not(:has(img))::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.6rem;
  border-radius: 4px;
  background: var(--grad);
}

/* 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;
}

/* The dots of a plain list in the site's teal. */
.doc-body ul > li::marker {
  color: var(--brand);
}

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(--button-text);
  background: var(--button) var(--grad);
  font-size: 0.9rem;
  font-weight: 700;
}

.summary-card {
  margin: 0 0 2.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--grad-soft) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  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;
}

/* A word of code in a line of text: dark teal on a pale teal fill. */
code {
  padding: 0.12em 0.38em;
  color: var(--link-hover);
  background: var(--brand-soft);
  border-radius: 5px;
}

/* A box of code (the searches on the help page): a pale fill, the fine gradient border of the
   cards and a stripe of the gradient down its left side; the code in it stays in the ink of
   the text, for reading. */
pre {
  margin: 0.85rem 0;
  padding: 0.9rem 1.1rem 0.9rem 1.35rem;
  overflow-x: auto;
  background:
    var(--grad-down) left top / 4px 100% no-repeat padding-box,
    linear-gradient(var(--brand-softer), var(--brand-softer)) padding-box,
    var(--grad-line) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
}

pre code {
  padding: 0;
  color: var(--ink);
  background: none;
}

/* A table: the fine gradient border of the cards, a pale gradient header with teal labels,
   the names in the first column in teal, and a pale fill on the row under the mouse. */
.table-wrap {
  margin: 1.1rem 0;
  overflow-x: auto;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-line) border-box;
  border: 1px solid transparent;
  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;
}

tbody tr {
  transition: background-color 0.15s;
}

tbody tr:hover {
  background: var(--brand-softer);
}

/* The gradient on the header row, so that it runs once across the table, not once per cell. */
thead tr {
  background: var(--grad-soft);
}

th {
  color: var(--eyebrow);
  border-bottom-color: var(--brand-line);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:first-child {
  width: 34%;
  min-width: 9rem;
  color: var(--link-hover);
  font-weight: 600;
}

/* The bottom of every page. */

.site-footer {
  background: var(--surface);
}

/* The stripe of the top again, finer, where the page ends. */
.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--grad);
}

.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 {
  font-size: 1.15rem;
}

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

/* As wide as its words, so that the gradient runs over the words. */
.footer-brand p {
  width: fit-content;
  margin: 0.5rem 0 0;
  color: var(--eyebrow);
  font-weight: 500;
}

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

.footer-nav a {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
}

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

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

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

/* A narrow screen: the menu has five words, so it gets a row of its own under the name,
   spread over the width (its first and last word in line with the page's edges). The bar
   is two rows high then, so it scrolls away with the page instead of staying at the top. */
@media (max-width: 44rem) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    position: static;
  }

  .site-header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    padding-top: 0.7rem;
    padding-bottom: 0.45rem;
  }

  .site-nav {
    justify-content: space-between;
    gap: 0;
    width: calc(100% + 1rem);
    margin: 0.35rem -0.5rem 0;
  }

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

  .site-nav a[aria-current="page"]::after {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.14rem;
  }
}

@media (max-width: 24rem) {
  .site-nav {
    width: calc(100% + 0.6rem);
    margin-left: -0.3rem;
    margin-right: -0.3rem;
  }

  .site-nav a {
    padding: 0.35rem 0.3rem;
    font-size: 0.86rem;
  }

  .site-nav a[aria-current="page"]::after {
    left: 0.3rem;
    right: 0.3rem;
  }
}

@media (max-width: 30rem) {
  .brand {
    gap: 0.45rem;
    font-size: 1.12rem;
  }

  .contents ul {
    columns: 1;
  }

  .band {
    padding: 1.75rem;
  }
}

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

  .doc {
    display: block;
  }
}

/* ---- chowkworks.com only (everything above is the tidywidgets.com stylesheet, unchanged, so the two sites look
   like one maker's work; keep it in step when that one changes) ---- */

/* A button or note under a centered section heading (the game's "Coming soon" on the Games page). */
.section-head .cta {
  margin-top: 1.5rem;
  justify-content: center;
}
