/* The suite site. One theme, light, on warm paper: the products are tools and
   read as such; the site is where people are met, so it is softer. Headings
   are a serif with optical sizing; the body stays in the products' sans so
   the two feel related. */
:root {
  color-scheme: light;
  --canvas: #fbf9f5; --panel: #f3efe7; --panel-2: #ebe6db; --sunken: #e9e4d8;
  --border: #e3ddd1; --border-strong: #cfc7b7; --border-stronger: #a89f8c;
  --text: #221f1a; --muted: #5d574c; --faint: #9a927f;
  --accent: #1f5f4a; --accent-hi: #184c3b; --accent-on: #ffffff; --accent-soft: #e2eee7;
  --snag: #4f46e5; --snag-soft: #e7e6fb; --flowqa: #1d4ed8; --flowqa-soft: #e1e9fb;
  --ink: #221f1a; --ink-on: #fbf9f5;
  --ok: #15803d;
  --focus: #1f5f4a;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  --r-sm: 6px; --r: 10px; --r-lg: 18px; --r-xl: 26px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--panel); padding: 8px 12px; z-index: 2; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
figure { margin: 0; }
img { max-width: 100%; }
code { font-family: var(--mono); font-size: .92em; background: var(--panel); padding: 1px 5px; border-radius: var(--r-sm); }
pre { background: var(--panel); border-radius: var(--r); padding: 14px 16px; overflow: auto; font-size: 14px; line-height: 1.5; }
pre code { background: none; padding: 0; }

/* Type: headings in the serif, with a touch of the optical axis at large sizes. */
h1, h2, h3, .doc h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 72, "SOFT" 40; }
h1 { max-width: 16em; font-size: 58px; line-height: 1.04; margin: 0; text-wrap: balance; }
h2 { font-size: 34px; line-height: 1.15; margin: 10px 0 0; }
h3 { font-size: 22px; line-height: 1.3; margin: 0; font-variation-settings: "opsz" 24, "SOFT" 40; }
/* The phrase that matters carries a hand-drawn line under it. */
.under { position: relative; white-space: nowrap; }
.under::after { content: ""; position: absolute; left: -1%; right: -1%; bottom: -.06em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 40 6, 80 16, 120 9 S 180 7, 197 12' fill='none' stroke='%231f5f4a' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; z-index: -1; opacity: .8; }

/* Header */
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 500 20px/1 var(--serif); letter-spacing: -.01em; }
/* The finch carrying a check; the check is cut in the page colour so it reads on any ground. */
.brand .mark { width: 26px; height: 26px; fill: var(--accent); flex: none; }
.brand .mark .paper { fill: var(--canvas); }
.brand .mark .check { fill: none; stroke: var(--canvas); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
header nav { display: flex; align-items: center; gap: 24px; }
header nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
header nav a:hover, header nav a[aria-current="page"] { color: var(--text); }
header nav a[aria-current="page"] { font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
header .signin { display: inline-flex; align-items: center; gap: 8px; }

/* Buttons: one height, pill-shaped; the primary carries the accent. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease); cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-on); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--panel); color: var(--text); border-color: var(--border-stronger); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.pair { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-top: 64px; }
.eyebrow { margin: 0 0 18px; font: italic 400 18px/1.3 var(--serif); color: var(--muted); }
.eyebrow a { color: inherit; }
.lede { max-width: 38em; margin: 24px 0 0; font-size: 20px; line-height: 1.55; color: var(--muted); }
.cta { margin-top: 32px; }
.also { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.also a { font-weight: 500; }

/* The loop: the two products and an agent passing work around. One soft band,
   five moments, a thread running through them. */
.loop { margin: 64px 0 0; padding: 28px 24px 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; background: var(--panel); border-radius: var(--r-xl); position: relative; }
.loop::before { content: ""; position: absolute; left: 24px; right: 24px; top: 46px; border-top: 2px dashed var(--border-strong); }
.loop li { list-style: none; position: relative; padding-top: 42px; }
.loop li .who { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--ink-on); background: var(--ink); box-shadow: 0 0 0 6px var(--panel); }
.loop li .who.snag { background: var(--snag); }
.loop li .who.flowqa { background: var(--flowqa); }
.loop li b { display: block; font: 500 18px/1.3 var(--serif); }
.loop li p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Sections */
.sec { padding-top: 104px; }
.stage { margin: 0; font: italic 400 18px/1.3 var(--serif); color: var(--muted); }
.stage .n, .stage .sl { display: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; }
.split > p { margin: 0; padding-top: 30px; color: var(--muted); font-size: 17px; }
.shot img, .pic img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--border), 0 18px 40px -24px rgba(34, 31, 26, .35); }
.sec > .shot { margin-top: 36px; }
figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); font-style: italic; font-family: var(--serif); }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin: 40px 0 0; }
.points dt { font: 500 18px/1.3 var(--serif); }
.points dd { margin: 6px 0 0; font-size: 15.5px; color: var(--muted); }
.side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.side .body { margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.side .points { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
.side .pic { padding-top: 36px; }

/* Two products, side by side, each on its own tint. */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.product { padding: 30px 28px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 14px; background: var(--panel); }
.product.is-snag { background: var(--snag-soft); }
.product.is-flowqa { background: var(--flowqa-soft); }
.product .tag { align-self: flex-start; font: 500 13px/1 var(--sans); color: var(--ink-on); padding: 8px 12px; border-radius: 999px; }
.product .tag.snag { background: var(--snag); }
.product .tag.flowqa { background: var(--flowqa); }
.product p { margin: 0; color: var(--muted); }
.product .pair { margin-top: auto; padding-top: 10px; }
.product .btn-secondary { border-color: rgba(34, 31, 26, .25); }

/* Downloads: three ways in, each a soft tile. */
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.dl { display: grid; gap: 6px; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--panel); text-decoration: none; color: var(--text); transition: background-color 150ms var(--ease); }
.dl:hover { background: var(--flowqa-soft); color: var(--text); }
.dl b { font: 500 22px/1.2 var(--serif); }
.dl span { font-size: 15px; color: var(--muted); }
.dl small { margin-top: 6px; font: italic 400 14px/1.3 var(--serif); color: var(--faint); }

/* The suite, in one sentence. */
.suite-note { margin-top: 20px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--text); font-size: 17px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.suite-note .sum { font: 500 22px/1 var(--serif); white-space: nowrap; }
.suite-note .sum i { font-style: normal; color: var(--accent); margin: 0 6px; }
.suite-note p { margin: 0; flex: 1 1 24em; }

/* Pricing */
.tabs { display: inline-flex; gap: 4px; margin-top: 32px; padding: 4px; border-radius: 999px; background: var(--panel); }
.tab { position: relative; flex: none; appearance: none; background: none; border: 0; margin: 0; cursor: pointer; padding: 10px 18px; font: 500 15px/1.2 var(--sans); color: var(--muted); border-radius: 999px; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); background: var(--canvas); box-shadow: 0 1px 2px rgba(34, 31, 26, .1); }
.tab:focus-visible { outline-offset: -2px; }
.interval { display: inline-flex; margin: 24px 0 0 14px; padding: 4px; border-radius: 999px; background: var(--panel); vertical-align: top; }
.interval button { appearance: none; border: 0; background: none; cursor: pointer; padding: 10px 16px; border-radius: 999px; font: 500 14px/1.2 var(--sans); color: var(--muted); }
.interval button[aria-pressed="true"] { background: var(--canvas); color: var(--text); box-shadow: 0 1px 2px rgba(34, 31, 26, .1); }
.panel-lede { margin: 28px 0 0; max-width: 46em; color: var(--muted); font-size: 17px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.plans[hidden] { display: none; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: var(--r-lg); background: var(--panel); }
.plan.hl { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.plan .name { font: 500 20px/1.2 var(--serif); }
/* Every card keeps the same vertical rhythm whatever its price line holds, so the bullets line up across a row in both intervals. */
.plan .price { font: 500 34px/1.1 var(--serif); letter-spacing: -.01em; min-height: calc(34px * 1.1 + 4px + 14px * 1.3); }
.plan .price small { font: 400 14px/1.3 var(--sans); color: var(--muted); letter-spacing: 0; display: block; margin-top: 4px; }
.plan .seats { font-size: 13.5px; color: var(--muted); margin: 0; min-height: calc(13.5px * 1.5); }
.plan ul { margin: 6px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 5px; }
.plan .pair { margin-top: auto; padding-top: 12px; }
.plan .pair .btn { width: 100%; }
.pricing-notes { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-notes div { padding: 22px; border-radius: var(--r-lg); background: var(--panel); font-size: 14.5px; color: var(--muted); }
.pricing-notes b { display: block; color: var(--text); margin-bottom: 6px; font: 500 18px/1.3 var(--serif); }
.pricing-notes ul { margin: 6px 0 0; padding-left: 18px; }
.panel[hidden] { display: none; }

/* Docs and blog */
.doc { max-width: 72ch; }
.doc h1 { font-size: 42px; max-width: none; }
.doc h2 { margin-top: 44px; font-size: 28px; }
.doc h3 { margin-top: 30px; }
.doc p, .doc li { color: var(--text); }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 18px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-weight: 600; }
.doc blockquote { margin: 18px 0; padding: 6px 18px; border-left: 3px solid var(--border-strong); color: var(--muted); }
.doc .meta { margin: 10px 0 28px; font-size: 14.5px; color: var(--muted); font-style: italic; font-family: var(--serif); }
.doc .ends { margin-top: 52px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--accent-soft); }
.doc .ends p { margin: 0 0 14px; color: var(--text); }
.doc .related { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); }
.doc .related h2 { margin: 0 0 12px; font-size: 15px; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.doc .related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc .related a { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--text); font: 500 18px/1.35 var(--serif); }
.doc .related a:hover { color: var(--accent); }
.doc .related .kind { flex: none; font: 500 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); min-width: 3.2em; }
.list { display: grid; gap: 12px; margin-top: 32px; }
.list a.item { display: grid; gap: 5px; padding: 20px 22px; border-radius: var(--r-lg); text-decoration: none; color: var(--text); background: var(--panel); transition: background-color 150ms var(--ease); }
.list a.item:hover { background: var(--panel-2); color: var(--text); }
.list a.item b { font: 500 20px/1.3 var(--serif); }
.list a.item span { font-size: 15px; color: var(--muted); }
.list a.item .when { font: italic 400 14px/1.3 var(--serif); color: var(--faint); }

/* Footer */
footer.site { margin-top: 104px; }
footer .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 28px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer nav a { text-decoration: none; }
.hide-sm { }

@media (max-width: 960px) {
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .loop::before { display: none; }
  .pricing-notes { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .split, .side, .products, .downloads { grid-template-columns: 1fr; }
  .split > p { padding-top: 0; }
  .side { gap: 32px; }
  .side .pic { padding-top: 0; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hide-sm { display: none; }
  /* Brand and Sign in share the first row; the section links wrap beneath. */
  header.site { position: relative; flex-wrap: wrap; row-gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  header nav { width: 100%; flex-wrap: wrap; gap: 12px 16px; }
  header .signin { position: absolute; right: 16px; top: 11px; }
  header .signin .btn-sm { height: 34px; padding: 0 12px; }
  .hero { padding-top: 28px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .lede { font-size: 17px; }
  .pair { flex-direction: column; }
  .pair .btn { width: 100%; }
  .loop { grid-template-columns: 1fr; margin-top: 40px; padding: 22px 18px; }
  .sec { padding-top: 64px; }
  .points { grid-template-columns: 1fr; gap: 20px; }
  .tabs { display: flex; overflow-x: auto; }
  .interval { margin-left: 0; }
  .suite-note .sum { white-space: normal; }
  footer.site { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .tab, .list a.item { transition: none; } .btn:active { transform: none; } html { scroll-behavior: auto; } }
