/* Tsutsei Software
   Palette and geometry come from the logo: navy #0B1F3A, white, one blue #3B82F6,
   the square at the foot of the T. Green is used only for the "On Marketplace" status.
   The site is dark only. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-subset.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #0B1F3A;
  --blue: #3B82F6;

  --bg: #060F1D;
  --surface: #0B1A30;
  --alt: #091627;
  --ink: #EEF3FA;
  --muted: #9BABC2;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .26);
  --link: #8AB6FF;
  --tint: rgba(59, 130, 246, .14);
  --ok: #5FD893;
  --ok-tint: rgba(74, 222, 128, .13);
  --mark-bg: #0F2A4E;
  --mark-edge: rgba(255, 255, 255, .1);
  --btn-bg: #FFFFFF;
  --btn-ink: #0B1F3A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1160px;
  --r: 14px;
  --r-mark: 21.875%; /* 112 / 512, the corner radius of the mark */
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "calt", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg, img { display: block; }
abbr[title] { text-decoration: none; cursor: default; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Logo ---------- */

.mark-bg { fill: var(--mark-bg); stroke: var(--mark-edge); stroke-width: 12; }
.mark-t { fill: #FFFFFF; }
.mark-sq { fill: var(--blue); }

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.lockup .mark { width: 38px; height: 38px; flex: none; }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.wordmark-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.wordmark-dot {
  display: inline-block;
  width: .2em;
  height: .2em;
  margin-left: .06em;
  border-radius: 50%;
  background: var(--blue);
}
.wordmark-sub {
  margin-top: 4px;
  padding-left: .38em; /* optically balance the trailing letter-space */
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
/* The menu as tabs on the bottom edge of the header: number, name, count; the active tab has the
   blue line and the small square from the foot of the T. Contact is a button on its own. */
.site-head-in { align-items: stretch; }
.site-head .lockup, .site-head nav { align-self: center; }
.site-head nav { align-self: stretch; display: flex; }
.nav {
  display: flex;
  align-items: stretch;
  font-size: .92rem;
  font-weight: 550;
}
.nav > li { display: flex; }
.nav a {
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  transition: color .2s ease, background-color .2s ease;
}
.nav > li:nth-last-child(2) > a { border-right: 1px solid var(--line); }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.nav a[aria-current], .nav a.here { color: var(--ink); background: linear-gradient(rgba(59, 130, 246, 0), rgba(59, 130, 246, .16)); }
.nav a[aria-current]::after, .nav a.here::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.nav a[aria-current]::before, .nav a.here::before { content: ""; position: absolute; right: 7px; bottom: 7px; width: 6px; height: 6px; background: var(--blue); }
.nav-n, .nav-c { display: none; font-family: var(--mono); font-size: .72rem; font-weight: 500; font-feature-settings: "tnum"; }
.nav-n { color: var(--link); opacity: .85; }
.nav-c { padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); }
.nav a[aria-current] .nav-c, .nav a.here .nav-c { border-color: var(--blue); color: var(--ink); }
.nav .nav-cta {
  align-self: center;
  height: 40px;
  margin-left: 16px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
}
.nav .nav-cta:hover { border-color: var(--blue); background: var(--tint); }
.nav > .nav-opt, .nav-long { display: none; }
@media (min-width: 620px) {
  .nav > .nav-opt { display: flex; }
  .nav a { padding: 0 18px; }
}
@media (min-width: 680px) {
  .nav-long { display: inline; }
  .nav-short { display: none; }
}
@media (min-width: 860px) {
  .nav-n, .nav-c { display: inline; }
}
/* Phones: three tabs do not fit next to the full wordmark, so the header keeps only the mark. */
@media (max-width: 459px) {
  .site-head .wordmark { display: none; }
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--btn-bg);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  font-size: .96rem;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--tint); color: var(--ink); border-color: var(--blue); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }

.arrow {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
a:hover > .arrow { transform: translate(2px, -2px); }
a:hover > .arrow-in { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.lede a, .section-lede a, .legal a, .specs a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow a { color: var(--link); }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: .2em; }
.eyebrow-sep { opacity: .5; }

/* The square full stop from the logo; used on page titles only. */
.stop {
  display: inline-block;
  width: .16em;
  height: .16em;
  margin-left: .08em;
  background: var(--blue);
}

h1, h2 {
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); letter-spacing: -.032em; line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem); letter-spacing: -.026em; line-height: 1.12; }
h3 { font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }

.lede, .section-lede {
  color: var(--muted);
  line-height: 1.55;
  max-width: 36em;
  text-wrap: pretty;
}
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.22rem); }

/* ---------- Hero ---------- */

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 92px); }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.hero h1 { margin-top: 18px; max-width: 13em; }
.hero .lede { margin-top: 22px; }
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.facts {
  display: flex;
  gap: 36px;
  margin-top: 36px;
}
.facts div { display: flex; flex-direction: column-reverse; gap: 2px; }
.facts dd {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  font-feature-settings: "tnum";
}
.facts dt { font-size: .86rem; color: var(--muted); }

@media (min-width: 940px) {
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
}
/* The product line pages (Apify, Atlassian, Websites) share one hero height on desktop: the minimum is the
   tallest of their contents at the narrow end of each range, so switching tabs does not move the page. */
.hero-line { padding-block: clamp(36px, 4.5vw, 56px); }
@media (min-width: 940px) { .hero-line .hero-in { min-height: 540px; } }
@media (min-width: 1100px) { .hero-line .hero-in { min-height: 500px; } }
@media (min-width: 1280px) { .hero-line .hero-in { min-height: 450px; } }

/* Hero visuals: a sample of the data, the product lines, or one app icon. */

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.panel-head span:last-child { font-weight: 500; }
.panel-foot {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.sample {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
  font-feature-settings: "tnum";
  white-space: nowrap;
}
.sample th, .sample td { padding: 9px 16px; text-align: left; }
.sample th {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sample td { border-top: 1px solid var(--line); }
.sample .num { text-align: right; }
.sample .dim { color: var(--muted); }
.sample .up { color: var(--ok); }
/* most-run actors: one line per actor (icon, name with a link, total runs) */
.sample-rec td { vertical-align: middle; padding-block: 7px; }
.sample-rec .rec { white-space: normal; }
.rec-in { display: flex; align-items: center; gap: 10px; }
.rec-in img { flex: none; width: 22px; height: 22px; border-radius: 5px; }
.rec-in a { color: var(--ink); font-weight: 600; }
.rec-in a:hover { color: var(--link); }
.sample-rec td.num { font-weight: 600; }
@media (max-width: 460px) {
  .sample .col-opt { display: none; }
  .sample th, .sample td { padding-inline: 12px; }
}

.hero-board { display: grid; gap: 16px; margin-top: 44px; }
.hero-board .panel { display: flex; flex-direction: column; }
@media (min-width: 760px) {
  .hero-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* the product lines by group: name, count, icons of the websites or apps fading out to the right */
.shelf { flex: 1; display: flex; flex-direction: column; }
.shelf > li { flex: 1; display: flex; }
.shelf > li + li { border-top: 1px solid var(--line); }
.shelf-row {
  flex: 1;
  display: grid;
  grid-template-columns: 10.5em 2em minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 550;
  transition: background-color .2s ease;
}
.shelf-row:hover { background: rgba(255, 255, 255, .04); }
.shelf-n {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  font-feature-settings: "tnum";
  color: var(--link);
  text-align: right;
}
.shelf-icons {
  display: flex;
  gap: 6px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent);
  mask-image: linear-gradient(to right, #000 70%, transparent);
}
.shelf-icons img { flex: none; width: 30px; height: 30px; border-radius: var(--r-mark); }
.shelf-row > .arrow { color: var(--muted); width: 15px; height: 15px; }
.shelf-row:hover > .arrow { color: var(--blue); }
@media (max-width: 460px) {
  .shelf-row { grid-template-columns: 8.5em 1.8em minmax(0, 1fr) auto; gap: 10px; padding-inline: 12px; }
  .shelf-icons img { width: 26px; height: 26px; }
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 16px);
  width: min(100%, 340px);
}
.hero-mosaic img, .hero-mosaic .mark {
  width: 100%;
  height: auto;
  border-radius: var(--r-mark);
}
.hero-icon { order: -1; width: 88px; }
.hero-icon img { width: 100%; height: auto; border-radius: var(--r-mark); }
@media (min-width: 940px) {
  .hero-mosaic { margin-left: auto; }
  .hero-app .hero-in { grid-template-columns: minmax(0, 1fr) auto; }
  .hero-icon { order: 0; width: 176px; }
}

/* App page hero */
.hero-app h1 { margin-top: 14px; }
.hero-tagline {
  margin-top: 8px;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.hero-app .lede { margin-top: 18px; }
.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 22px;
}
.hero-status-note { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */

.section { padding: clamp(52px, 7vw, 92px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--alt); }
.section-head { display: grid; gap: 20px; }
.section-head h2 { margin-top: 12px; }
.section-head .section-lede { margin-top: 14px; }
@media (min-width: 760px) {
  .section-head-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s ease, background-color .2s ease;
}
.jump a:hover { border-color: var(--blue); background: var(--tint); }
.jump-n { color: var(--muted); font-weight: 500; font-feature-settings: "tnum"; }

/* Quick links under the hero of an actor page: a thin bar like the documentation tabs, sticky under the header */
.page-nav { position: sticky; top: 68px; z-index: 9; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.page-nav ul { display: flex; gap: 0 4px; overflow-x: auto; scrollbar-width: none; }
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a { display: flex; align-items: baseline; gap: 7px; padding: 12px 12px 11px; color: var(--muted); font-size: .9rem; font-weight: 550;
  white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease, border-color .2s ease; }
.page-nav li:first-child a { padding-left: 0; }
.page-nav a:hover, .page-nav a:focus-visible { color: var(--ink); border-bottom-color: var(--line-strong); }
.page-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }
.panel-head .copy { margin-left: auto; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 4px; background: none; color: var(--muted);
  font: inherit; font-size: .72rem; cursor: pointer; }
.panel-head .copy:hover { color: var(--ink); border-color: var(--blue); }
.page-nav-n { font-family: var(--mono); font-size: .7rem; font-weight: 500; color: var(--link); opacity: .8; }
.section[id] { scroll-margin-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.group {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.section-head + .group { margin-top: clamp(32px, 4vw, 44px); }
.group-head { margin-bottom: 20px; }
.group-head h3 { display: inline; margin-right: 12px; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); letter-spacing: -.022em; }
.count { color: var(--muted); font-size: .9rem; font-feature-settings: "tnum"; }
.group-blurb { margin-top: 6px; color: var(--muted); font-size: .98rem; max-width: 44em; }

.tags { display: inline-flex; flex-wrap: wrap; gap: 4px; flex: none; }
.tag {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
}

/* ---------- Status ---------- */

.status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 3px 10px 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.status-live { color: var(--ok); background: var(--ok-tint); border-color: transparent; }
.status-live::before { background: currentColor; }
.status-soon { border-style: dashed; }

/* ---------- Cards: app cards and category cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr));
  gap: 16px;
}
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.section-head + .cards { margin-top: 32px; }
.card a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card a:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.card-icon { width: 44px; height: 44px; flex: none; border-radius: var(--r-mark); }
.card-name { font-size: 1.1rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.card-sub { font-size: .92rem; font-weight: 550; line-height: 1.35; }
.card-note { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* ---------- Actor list ---------- */

.actors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  column-gap: 32px;
}
.actor {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 8px;
  margin-inline: -8px;
  border-top: 1px solid var(--line);
  border-radius: 2px;
  transition: background-color .2s ease;
}
.actor:hover { background: var(--tint); }
.actor-text { display: flex; flex-direction: column; margin-right: auto; min-width: 0; }
.actor-name { font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
a.actor-name::after { content: ""; position: absolute; inset: 0; } /* the whole row is the link */
.actor-note { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.actor > .arrow { color: var(--muted); width: 15px; height: 15px; }
.actor:hover > .arrow { color: var(--blue); transform: translate(2px, -2px); }

/* A shop with one actor per country: each country tag is its own link. */
a.tag {
  position: relative;
  min-width: 40px;
  height: 28px;
  border-color: var(--line-strong);
  color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
a.tag:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

.actor-featured {
  grid-column: 1 / -1;
  margin: 0 0 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.actor-featured:hover { background: var(--surface); border-color: var(--blue); }
.actor-featured .actor-name { font-size: 1.15rem; font-weight: 650; }
.actor-featured .actor-note { font-size: .94rem; }
.actor-label {
  order: -1;
  margin-bottom: 4px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--link);
}

/* Home page: the whole catalogue in one column per category */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 36px 40px;
  margin-top: 36px;
}
.cat-head h3 { display: inline; margin-right: 12px; font-size: 1.25rem; letter-spacing: -.02em; }
.cat-head h3 a:hover { color: var(--link); }
.cat-head p { margin-top: 4px; color: var(--muted); font-size: .92rem; }
.cat .actors { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.cat .actor { min-height: 46px; padding-block: 7px; }
.cat .actor-featured { margin-bottom: 10px; padding: 12px 16px; }
.actors-more { margin-top: 28px; }

.code {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  line-height: 1.65;
}
.code .k { color: var(--link); }

/* ---------- Points: principles, how we work ---------- */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 28px 40px;
  margin-top: 36px;
}
.point { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.point h3 { font-size: 1.08rem; }
.point p { margin-top: 6px; color: var(--muted); font-size: .98rem; }

/* ---------- App page: highlights and facts ---------- */

.feature { display: grid; gap: 24px; }
.feature h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); letter-spacing: -.022em; line-height: 1.2; }
.feature p { margin-top: 10px; color: var(--muted); max-width: 32em; }
.shot a { display: block; }
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #FFFFFF;
}
@media (min-width: 940px) {
  .feature { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
}
/* Screenshots of one website stacked on each other, each shown for 5 s (three images, 15 s cycle);
   without motion only the first one. Negative delays start every image at its own point of the cycle. */
.rotator { display: grid; }
.rotator img { grid-area: 1 / 1; }
@media (prefers-reduced-motion: reduce) {
  .rotator img + img { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
  .rotator img { animation: rotator 15s linear infinite; }
  .rotator img:nth-child(2) { animation-delay: -10s; }
  .rotator img:nth-child(3) { animation-delay: -5s; }
}
@keyframes rotator {
  0%, 30% { opacity: 1; }
  34%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 24px 40px;
  margin-top: 32px;
}
.specs div { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.specs dt { font-size: .86rem; color: var(--muted); }
.specs dd { margin-top: 4px; font-weight: 550; line-height: 1.4; }

/* ---------- Contact ---------- */

.routes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin-top: 32px;
}
.route {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.route h3 { font-size: 1.05rem; }
.route p { color: var(--muted); font-size: .95rem; }
.route .text-link { margin-top: auto; padding-top: 10px; font-size: .98rem; }

/* ---------- Footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.site-foot-in { display: grid; gap: 36px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: .92rem; max-width: 22em; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px; }
.foot-col h2 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-col ul { margin-top: 10px; font-size: .94rem; }
.foot-col a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.legal {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  max-width: none;
}
@media (min-width: 860px) {
  .site-foot-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .legal { grid-column: 1 / -1; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 22%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

@media print {
  .site-head { position: static; }
  .hero-art, .hero-mark { display: none; }
}

/* ================= Technical look: navy band, sharp corners, mono labels, apps as rows ================= */

:root {
  --max: 1200px;
  --r: 6px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* Header and hero share one navy band with the logo's grid on it */
.site-head, .hero {
  --ink: #FFFFFF;
  --muted: #A9B8CF;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .32);
  --surface: #12294A;
  --link: #8AB6FF;
  --tint: rgba(59, 130, 246, .22);
  --ok: #5FD893;
  --ok-tint: rgba(74, 222, 128, .14);
  --btn-bg: #FFFFFF;
  --btn-ink: #0B1F3A;
  --mark-bg: #17365F;
  --mark-edge: rgba(255, 255, 255, .2);
  --shadow: 0 16px 40px -16px rgba(0, 0, 0, .6);
  background-color: #0B1F3A;
  color: var(--ink);
}
.site-head { -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: center top;
}

/* Home hero: the logo sits on the hero grid. The square at the foot of the T is 56 of 512
   units, so with the mark drawn 512/56 cells wide the square is exactly one cell of the grid,
   and the cells around it light up in rings, starting from the square. */
/* one cell size on every page: the home page needs it to fit the mark (below) */
.hero { --cell: 56px; }
@media (min-width: 940px) { .hero { --cell: 40px; } }
@media (min-width: 1200px) { .hero { --cell: 48px; } }
.hero-home { position: relative; overflow: hidden; }
.hero-mark { display: none; }
.hero-home .hero-board { position: relative; z-index: 1; }
.hero-mark .mark-bg { stroke-width: 2; }
.hm-line { fill: rgba(255, 255, 255, .06); }
.cells .c { fill: var(--blue); fill-opacity: 0; }
.cells .c.on { fill-opacity: .2; }
.c.r1 { opacity: .9; } .c.r2 { opacity: .7; } .c.r3 { opacity: .5; } .c.r4 { opacity: .32; } .c.r5 { opacity: .18; }

@media (min-width: 940px) {
  .hero-home { --k: 8; padding: calc(2 * var(--cell)) 0 calc(1.5 * var(--cell)); }
  .hero-home .hero-in { grid-template-columns: minmax(0, 1fr); min-height: calc(var(--cell) * 512 / 56); }
  .hero-home .hero-copy { max-width: 52%; }
  .hero-home .hero-board { margin-top: var(--cell); }
  .hero-mark {
    display: block;
    position: absolute;
    top: calc(2 * var(--cell));
    /* the hero grid has a line at 50% - cell / 2; the square starts on the k-th line after it */
    left: calc(50% + (var(--k) - .5 - 318 / 56) * var(--cell));
    width: calc(12 * var(--cell));
    height: auto;
    overflow: visible;
  }
}
@media (min-width: 1200px) {
  .hero-home { --k: 9; }
  .hero-home .hero-copy { max-width: 640px; }
}

@media (prefers-reduced-motion: no-preference) {
  .cells .c { animation: ring 6.4s linear infinite; }
  .cells .c.on { animation-name: ring-on; }
  .c.r1 { animation-delay: .16s; } .c.r2 { animation-delay: .32s; } .c.r3 { animation-delay: .48s; }
  .c.r4 { animation-delay: .64s; } .c.r5 { animation-delay: .8s; }
  .hero-mark .mark-sq { animation: beat 6.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes ring {
  0%, 7%, 100% { fill-opacity: 0; }
  2% { fill-opacity: .75; }
}
@keyframes ring-on {
  0%, 7%, 100% { fill-opacity: .2; }
  2% { fill-opacity: .75; }
}
@keyframes beat {
  0%, 10%, 100% { transform: scale(1); }
  2.5% { transform: scale(1.14); }
}

h1, h2 { font-weight: 650; }
.btn, .jump a { border-radius: 6px; }
.status { border-radius: 4px; }
.shot img { border-radius: 6px; }

.eyebrow, .count, .tag, .status, .jump-n, .panel-head, .sample th, .facts dt, .specs dt, .foot-col h2, .actor-label {
  font-family: var(--mono);
  font-weight: 500;
}
.eyebrow { letter-spacing: .06em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--blue); }

.section-head h2 { padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.section-head-row { align-items: start; }
.section-head-row > .btn { margin-top: 30px; }

/* Apps as rows of a table instead of cards */
.cards:has(.card-icon) { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.section-head + .cards:has(.card-icon) { margin-top: 20px; }
.card a:has(.card-icon) {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  column-gap: 18px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 12px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
.section-head + .cards .card:first-child a:has(.card-icon) { border-top: 0; }
.card a:has(.card-icon):hover { background: var(--tint); box-shadow: none; transform: none; }
.card a:has(.card-icon) .card-top { display: contents; }
.card a:has(.card-icon) .card-icon { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
.card a:has(.card-icon) .card-top .tag { display: none; }
.card a:has(.card-icon) > span:not(.card-top):not(.card-foot) { grid-column: 2; }
.card a:has(.card-icon) .card-foot { grid-column: 2; margin: 0; padding-top: 6px; }
@media (min-width: 700px) {
  .card a:has(.card-icon) { grid-template-columns: 44px minmax(0, 1fr) 64px 150px; }
  .card a:has(.card-icon) .card-top .tag { display: grid; grid-column: 3; grid-row: 1 / span 3; justify-self: start; }
  .card a:has(.card-icon) .card-foot { grid-column: 4; grid-row: 1 / span 3; padding: 0; }
}

.points { counter-reset: point; }
.point { counter-increment: point; border-top: 2px solid var(--ink); }
.point::before {
  content: counter(point, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--link);
}
.route { border-left: 3px solid var(--blue); }
.group { border-top-color: var(--line-strong); }
@media (min-width: 760px) {
  .section-head-row { grid-template-columns: minmax(0, 1fr); position: relative; }
  .section-head-row > .btn { position: absolute; right: 0; top: 10px; margin: 0; }
}

/* ---------- Feedback form (feedback.html, filled in by the server at /feedback) ---------- */

.form-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 900px) { .form-cols { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } }
.form-title { font-size: 1.5rem; letter-spacing: -.02em; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 9em; line-height: 1.5; }
.field input::placeholder { color: var(--muted); opacity: .6; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .cta { margin-top: 4px; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.form-note { margin-top: 12px; color: var(--muted); font-size: .9rem; max-width: 40em; }
.form .form-note { margin-top: 0; }
.form-note code { font-family: var(--mono); color: var(--ink); }
.form-cols .panel { margin-top: 20px; }
.notice {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  background: var(--surface);
  font-weight: 550;
}
.notice-ok { border-left-color: var(--ok); background: var(--ok-tint); }
.notice-error { border-left-color: #F87171; background: rgba(248, 113, 113, .12); }

/* ---------- Documentation pages of the apps (atlassian/<app>/<page>/, generated) ---------- */

.doc { padding-top: clamp(28px, 4vw, 48px); }
.doc-nav { margin-top: 18px; border-bottom: 1px solid var(--line); }
.doc-nav ul { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.doc-nav a {
  display: block;
  padding: 9px 12px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 550;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.doc-nav a:hover { color: var(--ink); }
.doc-nav a.here { color: var(--ink); border-bottom-color: var(--blue); }

.prose { max-width: 46rem; margin-top: clamp(28px, 4vw, 44px); }
.prose h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); line-height: 1.12; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.2; }
.prose h3 { margin-top: 1.7em; font-size: 1.12rem; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre, .prose blockquote { margin-top: 1em; }
.prose h1 + p, .prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose p, .prose li, .prose td { color: #D5DEEC; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(138, 182, 255, .45); text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li > ul, .prose li > ol { margin-top: .4em; }
.prose li::marker { color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .9em; padding: .1em .35em; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose pre { padding: 14px 16px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; line-height: 1.5; }
.prose pre code { padding: 0; border: 0; background: none; overflow-wrap: normal; }
.prose blockquote { padding: 2px 16px; border-left: 3px solid var(--blue); color: var(--muted); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; border-bottom-color: var(--line-strong); white-space: nowrap; }
.prose em { color: var(--muted); }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }

/* ---------- Actor pages (apify/<actor>/, generated from the actor READMEs and docs/web/ in the apify repo) ---------- */

.hero-actor .hero-in { align-items: start; }
.actor-head { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.actor-head > div { min-width: 0; }
.actor-icon { width: 64px; height: 64px; flex: none; border-radius: var(--r-mark); }
.hero-actor h1 { margin: 0; max-width: none; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
.hero-actor .hero-tagline { margin-top: 6px; }
@media (max-width: 459px) {
  .actor-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .actor-icon { width: 52px; height: 52px; }
  .hero-actor h1 { font-size: 1.85rem; overflow-wrap: anywhere; }
}
.hero-actor .lede { margin-top: 22px; }
.hero-actor .lede p + p { margin-top: .8em; }
.facts-small { flex-wrap: wrap; gap: 18px 32px; margin-top: 30px; }
.facts-small dd { font-size: .98rem; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.facts-small .tags { display: flex; }
.hero-twins { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; color: var(--muted); font-size: .94rem; }
@media (min-width: 940px) {
  .hero-actor .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero-actor .hero-art { margin-top: 40px; }
  .actor-icon { width: 72px; height: 72px; }
}

/* the hero panel: the first fields of the output example, as one dataset item */
.run-panel .panel-head span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-panel .panel-head span:last-child { flex: none; white-space: nowrap; }
.kv { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .8rem; }
.kv th, .kv td { padding: 8px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 0; }
.kv th { width: 42%; color: var(--link); font-weight: 400; }
.kv td { color: var(--ink); overflow-wrap: anywhere; }

/* overview and the local-language summary: heading on the left, text on the right */
.essay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.essay-head h2 { margin-top: 12px; }
.essay-body { margin-top: 0; }
.essay-body > :first-child { margin-top: 0; }
@media (min-width: 940px) {
  .essay { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
  .essay-head { position: sticky; top: 100px; align-self: start; }
}
.prose-wide { max-width: none; }
.prose .table-scroll { margin-top: 1em; overflow-x: auto; }
.prose .table-scroll table { display: table; width: 100%; margin: 0; }
.prose td code { overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 639px) {
  .prose .table-scroll table { font-size: .86rem; }
  .prose .table-scroll th, .prose .table-scroll td { padding-right: 10px; overflow-wrap: anywhere; }
  .prose .table-scroll th { white-space: normal; }
  .prose .table-scroll td code { overflow-wrap: anywhere; white-space: normal; }
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 32px; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--muted);
  font-size: .98rem;
}
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--mono); font-size: .8rem; color: var(--link); }
.steps strong { color: var(--ink); font-weight: 600; }
.steps code, .api code, .qa code, .example-text code { font-family: var(--mono); font-size: .88em; color: var(--ink); overflow-wrap: anywhere; }
#how .prose { margin-top: 28px; }

/* ready-made inputs and FAQ: native disclosure, no script */
.examples, .faq { margin-top: 28px; border-bottom: 1px solid var(--line); }
.example, .qa { border-top: 1px solid var(--line); }
.example summary, .qa summary {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.example summary::-webkit-details-marker, .qa summary::-webkit-details-marker { display: none; }
.example summary::after, .qa summary::after { content: "+"; margin-left: auto; color: var(--muted); font-family: var(--mono); font-weight: 400; }
.example[open] summary::after, .qa[open] summary::after { content: "−"; color: var(--blue); }
/* a question may hold <code>, which a flex summary would split into separate items */
.qa summary { display: block; position: relative; padding-right: 32px; }
.qa summary::after { position: absolute; top: 16px; right: 4px; }
.example summary:hover, .qa summary:hover { color: var(--link); }
.example-n { flex: none; font-family: var(--mono); font-size: .8rem; font-weight: 400; color: var(--link); }
.example-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 4px 24px; }
.example-text { color: var(--muted); font-size: .98rem; max-width: 34em; }
.example-text p + p { margin-top: .6em; }
@media (min-width: 860px) {
  .example-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-left: 36px; }
  .example-body > .panel:only-child { grid-column: 2; }
}
.qa .prose { max-width: 46rem; margin-top: 0; padding: 0 4px 22px; }
.qa .prose > :first-child { margin-top: 0; }

.code code { font: inherit; }
.output-panel { margin-top: 28px; }
.output-panel .code { max-height: 560px; overflow: auto; }
.section-lede p + p { margin-top: .6em; }
.section-lede code { font-family: var(--mono); font-size: .88em; color: var(--ink); }

.api { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
.api .prose { margin-top: 0; }
.api .prose > :first-child { margin-top: 0; }
.api-code { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 1000px) { .api { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

/* actor rows with icon and country tags (more scrapers of the group) */
.cards-actors .card a:has(.card-icon) .card-top .tags { display: none; }
@media (min-width: 700px) {
  .cards-actors .card a:has(.card-icon) { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .cards-actors .card a:has(.card-icon) .card-top .tags { display: flex; grid-column: 3; grid-row: 1 / span 2; justify-self: end; }
  .cards-actors .card a:has(.card-icon) .card-top .tag { display: grid; }
}
.cards-actors .card-sub { color: var(--muted); font-weight: 500; }
