/* The public pages: landing, pricing, terms and privacy. Plain CSS, served by the app itself, with
   nothing from anywhere else. The colours are the app's own tokens from web/src/index.css, so keep
   the two in step. site.js sets data-theme on <html> before the first paint, from the same saved
   choice as the app. */

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --fg: #f2f2f5;
  --text-2: #c5cad0;
  --muted: #8a8a95;
  --accent: #edb04a;
  --accent-hover: #f3bc55;
  --accent-text: #edb04a;
  --on-accent: #0e0e10;
  --focus: #edb04a;
  --rel: #5fa882;
  --danger: #ff5d7d;
  --page: #0e0e10;
  --surface: #131316;
  --surface-2: #1e1e24;
  --border: #26262e;
  --border-strong: #3a3a44;
  --edge: #6b7886;
  --dots: rgba(255, 255, 255, 0.06);
  --accent-wash: rgba(237, 176, 74, 0.08);
  --accent-line: rgba(237, 176, 74, 0.35);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] {
  color-scheme: light;
  --fg: #17171c;
  --text-2: #3a3f47;
  --muted: #62626e;
  --accent: #edb04a;
  --accent-hover: #f3bc55;
  --accent-text: #8a5a0c;
  --on-accent: #17171c;
  --focus: #a9741b;
  --rel: #1f7a54;
  --danger: #c9264b;
  --page: #f7f7f9;
  --surface: #ffffff;
  --surface-2: #eeeef2;
  --border: #e2e2e8;
  --border-strong: #c6c6cf;
  --edge: #7d8792;
  --dots: rgba(0, 0, 0, 0.09);
  --accent-wash: rgba(237, 176, 74, 0.12);
  --accent-line: rgba(169, 116, 27, 0.45);
  --shadow: 0 30px 70px rgba(20, 20, 30, 0.14), 0 2px 8px rgba(20, 20, 30, 0.06);
}

/* Without the script, follow the system setting. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --fg: #17171c;
    --text-2: #3a3f47;
    --muted: #62626e;
    --accent-text: #8a5a0c;
    --on-accent: #17171c;
    --focus: #a9741b;
    --rel: #1f7a54;
    --danger: #c9264b;
    --page: #f7f7f9;
    --surface: #ffffff;
    --surface-2: #eeeef2;
    --border: #e2e2e8;
    --border-strong: #c6c6cf;
    --edge: #7d8792;
    --dots: rgba(0, 0, 0, 0.09);
    --accent-wash: rgba(237, 176, 74, 0.12);
    --accent-line: rgba(169, 116, 27, 0.45);
    --shadow: 0 30px 70px rgba(20, 20, 30, 0.14), 0 2px 8px rgba(20, 20, 30, 0.06);
  }
}

/* An old /#/ link on its way to the app: nothing to see for the moment it takes. */
.forwarding body {
  visibility: hidden;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--surface);
  padding: 6px 10px;
}

/* --------------------------------------------------------------- header */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.top.with-line {
  border-bottom-color: var(--border);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  /* A fifth of the logo's 48 px mark (logoSizes in shared/brand.ts). */
  gap: 10px;
  margin-right: auto;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}
/* The logo (shared/brand.ts): the mark carries a palette for each ground and shows the one for the
   theme, night unless it is day; the word is in the text colour; the name is for screen readers. */
.brand-mark,
.brand-word {
  flex-shrink: 0;
}
.brand-mark .on-light {
  display: none;
}
:root[data-theme="light"] .brand-mark .on-light {
  display: inline;
}
:root[data-theme="light"] .brand-mark .on-dark {
  display: none;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .brand-mark .on-light {
    display: inline;
  }
  :root:not([data-theme]) .brand-mark .on-dark {
    display: none;
  }
}
.brand .name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nav-link {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 14.5px;
  text-decoration: none;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--fg);
  background: var(--surface-2);
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle:hover {
  color: var(--fg);
  background: var(--surface-2);
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle .moon,
:root[data-theme="light"] .theme-toggle .sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .moon {
  display: block;
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, border-color 0.12s;
}
.btn:hover {
  background: var(--surface-2);
}
.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
}
.btn-primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}
.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.actions.spaced {
  margin-top: 28px;
}
.soon {
  color: var(--muted);
  font-size: 14px;
}
code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

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

.hero {
  position: relative;
  padding: 72px 0 0;
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: -11px -11px;
}
.hero::after {
  /* The dots fade out towards the next section. */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, var(--page));
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 4px 12px 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13.5px;
}
.eyebrow b {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 650;
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(38px, 6.4vw, 66px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-text);
}
.lead {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 19.5px);
  line-height: 1.55;
}
.hero .actions {
  margin-top: 32px;
}

/* A drawing of the app, made of boxes and an SVG, so that it follows day and night. */
.shot {
  position: relative;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  user-select: none;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}
.shot-bar .dots {
  display: flex;
  gap: 6px;
}
.shot-bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.shot-title {
  margin-left: 8px;
  color: var(--text-2);
  font-weight: 600;
}
.shot-title span {
  color: var(--muted);
  font-weight: 400;
}
.people {
  display: flex;
  margin-left: auto;
}
.people i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: -5px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  color: #0e0e10;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}
.people .p1 {
  background: var(--accent);
}
.people .p2 {
  background: #5fa882;
}
.people .p3 {
  background: #8ab4ff;
}
.shot-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 380px;
}
.shot-tree {
  padding: 14px 10px;
  border-right: 1px solid var(--border);
  color: var(--text-2);
}
.shot-tree .h {
  margin: 12px 8px 4px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.shot-tree .h:first-child {
  margin-top: 0;
}
.shot-tree .d {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.shot-tree .d::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--muted);
  border-radius: 2px;
}
.shot-tree .d.on {
  background: var(--surface-2);
  color: var(--fg);
}
.shot-tree .d.in {
  padding-left: 24px;
}
.shot-tree .d .who {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #5fa882;
}
.shot-canvas {
  position: relative;
  background-color: var(--page);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.shot-canvas svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 22px 22px 40px;
}
.dg-zone {
  fill: var(--accent-wash);
  stroke: var(--border-strong);
  stroke-dasharray: 6 5;
}
.dg-zone-label,
.dg-small {
  fill: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dg-box {
  fill: var(--surface);
  stroke: var(--border-strong);
  stroke-width: 1.5;
}
.dg-new {
  stroke: var(--accent);
  stroke-width: 2;
}
.dg-sel {
  fill: none;
  stroke: #5fa882;
  stroke-width: 2;
  stroke-dasharray: 4 3;
}
.dg-text {
  fill: var(--fg);
  font-size: 14px;
  font-weight: 600;
}
.dg-sub {
  fill: var(--muted);
  font-size: 11.5px;
}
.dg-line {
  fill: none;
  stroke: var(--edge);
  stroke-width: 1.6;
}
.dg-line-new {
  stroke: var(--accent);
  stroke-dasharray: 5 4;
}
.dg-head {
  fill: var(--edge);
}
.dg-head-new {
  fill: var(--accent);
}
.dg-cursor {
  fill: #5fa882;
  stroke: var(--surface);
  stroke-width: 1.2;
}
.dg-tag {
  fill: #5fa882;
}
.dg-tag-text {
  fill: #0e0e10;
  font-size: 11.5px;
  font-weight: 650;
}
.shot-chat {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(330px, calc(100% - 32px));
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.shot-chat .head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}
.shot-chat .head b {
  color: var(--fg);
  font-weight: 600;
}
.shot-chat .msgs {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}
.shot-chat .q {
  justify-self: end;
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 10px 10px 2px 10px;
  background: var(--surface-2);
  color: var(--fg);
}
.shot-chat .a {
  color: var(--text-2);
}
.shot-chat .done {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
  padding: 2px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-text);
  font-size: 11.5px;
}

/* ------------------------------------------------------------- sections */

.section {
  padding: 80px 0;
}
.section + .section {
  padding-top: 16px;
}
.kicker {
  margin-bottom: 12px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section h2 {
  max-width: 22ch;
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.03em;
}
.section .intro {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17.5px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.card h3 {
  margin-top: 16px;
  font-size: 18.5px;
}
.card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}
.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--page);
}
.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon svg .hi {
  stroke: var(--focus);
}

/* Two columns: words, and a list of what it means. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.points {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.points li:last-child {
  border-bottom: 0;
}
.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}
.points b {
  color: var(--fg);
  font-weight: 600;
}
.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
}
.note a,
.prose a,
.foot a,
.faq a,
.table-note a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The selling point. */
.free-team {
  position: relative;
  padding: 48px;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-wash), transparent 60%), var(--surface);
  overflow: hidden;
}
.free-team .split {
  align-items: center;
}
.compare {
  display: grid;
  gap: 14px;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--page);
}
.compare-row .who {
  color: var(--muted);
  font-size: 13.5px;
}
.compare-row .faces {
  display: grid;
  grid-template-columns: repeat(auto-fill, 14px);
  max-width: 242px;
  gap: 5px;
  margin-top: 10px;
}
.compare-row .faces i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border-strong);
}
.compare-row .faces i:first-child {
  background: var(--accent);
}
.compare-row .price {
  text-align: right;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.compare-row .price small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.cta {
  padding: 56px 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background-color: var(--surface);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px);
  background-size: 22px 22px;
  text-align: center;
}
.cta h2 {
  max-width: none;
}
.cta p {
  max-width: 52ch;
  margin: 14px auto 0;
  color: var(--text-2);
}
.cta .actions {
  justify-content: center;
  margin-top: 28px;
}

/* -------------------------------------------------------------- pricing */

.page-head {
  padding: 72px 0 8px;
}
.page-head h1 {
  font-size: clamp(36px, 5.4vw, 54px);
  letter-spacing: -0.035em;
}
.page-head .lead {
  margin-top: 16px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.plan-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 18px;
  font-weight: 650;
}
.badge {
  padding: 2px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}
.plan.featured .badge {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.plan-for {
  /* Two lines, so that the prices line up across the cards. */
  min-height: 3.2em;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 22px;
}
.plan-price b {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price span {
  color: var(--muted);
  font-size: 15px;
}
.plan-price-note {
  min-height: 22px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}
.plan-limits {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.plan-limits li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.plan-limits li span {
  color: var(--muted);
}
.plan-limits li b {
  font-weight: 600;
  text-align: right;
}
.plan-extra {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 14.5px;
}
.plan-extra li {
  padding: 3px 0 3px 20px;
  position: relative;
}
.plan-extra li::before {
  content: "+";
  position: absolute;
  left: 2px;
  color: var(--accent-text);
  font-weight: 700;
}
.plan .btn {
  margin-top: auto;
}
.plan .btn-quiet {
  border-style: dashed;
  color: var(--muted);
  pointer-events: none;
}
.table-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.same {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.same div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.same b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}
.same span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
  margin-top: 36px;
}
.faq h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.faq p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------------------------------------------------------- terms, privacy */

.prose {
  max-width: 720px;
  padding: 56px 0 24px;
}
.prose h1 {
  font-size: clamp(34px, 5vw, 46px);
  letter-spacing: -0.03em;
}
.prose .meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.prose h2 {
  margin-top: 44px;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.prose h3 {
  margin-top: 26px;
  font-size: 17px;
}
.prose p,
.prose ul {
  margin-top: 12px;
  color: var(--text-2);
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose strong {
  color: var(--fg);
  font-weight: 600;
}
.prose .fill {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--muted);
}
.draft {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--danger);
  border-left-width: 4px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  color: var(--fg);
  font-size: 15px;
}
.draft b {
  color: var(--danger);
}
.toc {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14.5px;
}
.toc ol {
  margin: 6px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}
.toc li {
  /* Without the margin a list item has in .prose, so that both columns start level. */
  margin: 0;
  padding: 2px 0;
  break-inside: avoid;
}
.toc a {
  color: var(--text-2);
  text-decoration: none;
}
.toc a:hover {
  color: var(--fg);
  text-decoration: underline;
}
.processors {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 15px;
}
.processors th,
.processors td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.processors th {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.processors td {
  color: var(--text-2);
}
.processors td:first-child {
  color: var(--fg);
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------- footer */

.foot {
  margin-top: 72px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.foot .brand {
  color: var(--fg);
  text-decoration: none;
  gap: 6px;
}
/* Smaller than the header's, in the same proportions: the mark is 1.5 times the word's height. */
.foot .brand-mark {
  width: 30px;
  height: 30px;
}
.foot .brand-word {
  width: 55.56px;
  height: 20px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot nav a {
  color: var(--text-2);
  text-decoration: none;
}
.foot nav a:hover {
  color: var(--fg);
}
.foot p + p {
  margin-top: 4px;
}

/* --------------------------------------------------------------- narrow */

@media (max-width: 960px) {
  .grid,
  .plans {
    grid-template-columns: 1fr;
  }
  .plans {
    max-width: 520px;
  }
  .same {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .shot-body {
    grid-template-columns: 1fr;
  }
  .shot-tree {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .top .wrap {
    gap: 2px;
  }
  .top .btn {
    display: none;
  }
  .nav-link {
    padding: 6px 8px;
  }
  .hero {
    padding-top: 44px;
  }
  .hero .actions .btn {
    flex: 1 1 auto;
  }
  .shot {
    margin-top: 40px;
    border-radius: 12px;
  }
  .shot-title span,
  .shot-bar .dots {
    display: none;
  }
  .shot-title {
    margin-left: 0;
  }
  .shot-canvas svg {
    padding: 10px 6px 4px;
  }
  .shot-chat {
    position: static;
    width: auto;
    margin: 0 10px 10px;
  }
  .section {
    padding: 64px 0;
  }
  .free-team,
  .cta {
    padding: 28px 20px;
  }
  .compare-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .compare-row .price {
    font-size: 20px;
    text-align: left;
  }
  .compare-row .price small {
    display: inline;
    margin-left: 6px;
  }
  .same {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 22px;
  }
  .toc ol {
    columns: 1;
  }
  .processors td:first-child {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* On a narrow phone the header's links need the room: a smaller logo, in the same proportions. */
@media (max-width: 420px) {
  .top .brand {
    gap: 7px;
  }
  .top .brand-mark {
    width: 36px;
    height: 36px;
  }
  .top .brand-word {
    width: 66.67px;
    height: 24px;
  }
}
