/* octoolo.com, direction "Chromatic". Colors, type and shape come from tokens.css, the same file
   the app uses. */
@import url("./tokens.css");

@font-face {
  font-family: "Funnel Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(./fonts/funnel-display-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Funnel Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(./fonts/funnel-display-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Funnel Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(./fonts/funnel-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Funnel Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(./fonts/funnel-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./fonts/dm-mono-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./fonts/dm-mono-latin-500-normal.woff2) format("woff2");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px / 1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* Text runs the full width it is given: headings and centered lines split evenly when they wrap,
   and a paragraph's last line never holds one word alone. */
h1,
h2,
h3,
.hero__sub,
.plans__fine {
  text-wrap: balance;
}
p,
li,
dd,
figcaption {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The skip link: off screen until a keyboard reaches it, then a pill over the header. */
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-80px);
}
.skip:focus-visible {
  transform: none;
  outline-color: var(--white);
  outline-offset: -5px;
}
main:focus {
  outline: none;
}

.wrap {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.wrap--narrow {
  width: min(780px, 100% - 64px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:hover {
  background: #2b2b2b;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--lg {
  height: 60px;
  padding: 0 34px;
  font-size: 18px;
}
.btn--block {
  width: 100%;
}
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--sand);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(251 250 247 / 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand--small {
  font-size: 18px;
  gap: 8px;
}
/* Centered: the signed-in Account pill is taller than the links, which would otherwise stretch to
   its height with their words at the top. */
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.nav__links a:hover {
  color: var(--ink);
}
/* The Menu button: only when the links do not fit in the bar (see "smaller screens"). */
.nav__menu {
  display: none;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: 50%;
  color: var(--ink);
}
.nav__menu:hover {
  background: var(--white);
}

/* ------------------------------------------------------------------ side menu
   render.mjs nav(): a <dialog> that site.js opens as a modal from the right; without scripts the
   Menu link's #menu shows it through :target. */

.menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 100% - 40px);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -24px 0 64px rgb(13 13 13 / 0.18);
}
:root:not(.has-menu) .menu:target {
  display: block;
  z-index: 40;
}
.menu::backdrop {
  background: rgb(13 13 13 / 0.45);
}
html:has(.menu[open]) {
  overflow: hidden;
}
.menu__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.menu__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid var(--line);
}
.menu__head .brand {
  font-size: 20px;
}
.menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
}
.menu__close:hover {
  background: var(--white);
}
.menu__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 20px 28px;
}
.menu__links {
  display: grid;
}
.menu__links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu__links a.nav__account {
  gap: 10px;
}
.menu__label {
  margin: 28px 0 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.menu__apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__apps a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  min-height: 46px;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.menu__apps a::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--c);
}
.menu__apps a:hover {
  border-color: var(--line-strong);
}
.menu__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__langs a {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.menu__langs abbr {
  text-decoration: none;
}
.menu__langs a[aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.menu__foot {
  flex: none;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .menu[open] {
    animation: menu-in 0.24s var(--ease);
  }
  .menu[open]::backdrop {
    animation: menu-fade 0.24s ease;
  }
}
@keyframes menu-in {
  from {
    transform: translateX(100%);
  }
}
@keyframes menu-fade {
  from {
    opacity: 0;
  }
}

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

.hero {
  padding: 72px 0 0;
}
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow--center,
.h2--center {
  text-align: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  margin-top: 40px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 9.6vw, 136px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.052em;
}
.hero__lede {
  max-width: 36ch;
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
}
.join {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--field-line);
  border-radius: var(--r-pill);
}
.join:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgb(13 13 13 / 0.07);
}
.join__input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  background: none;
  border: 0;
  outline: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.join__input::placeholder {
  color: var(--ink-4);
}
.join .btn {
  height: 48px;
}
.join__note {
  margin: 14px 4px 0;
  font-size: 14px;
  color: var(--ink-3);
}
.join__note.is-ok {
  color: var(--ok);
}
.join__note.is-error {
  color: var(--danger);
}

.spines {
  display: grid;
  /* One row, however many families there are. */
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 64px;
}
.spine {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 190px;
  padding: 20px;
  background: var(--c);
  color: var(--on);
  border-radius: 26px;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.spine:hover {
  transform: translateY(-4px);
}
.spine b {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.spine span {
  font-size: 17px;
  font-weight: 650;
}
/* The apps: two rows of six, the name large and what it does under it; the newest two by two
   in the rows under them, and an odd one out across the whole row. */
.spines.spines--apps {
  grid-auto-flow: row;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.spines--apps .spine {
  height: 132px;
}
.spines--apps .spine__name {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.spines--apps .spine__what {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
}
.spines--apps .spine--wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  height: 92px;
}
.spines--apps .spine--wide .spine__what {
  font-size: 16px;
}
.spines--apps .spine--wide:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.spines--apps .spine__new {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .spines.spines--apps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .spines--apps .spine--wide {
    grid-column: span 2;
  }
}
@media (max-width: 720px) {
  .spines.spines--apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* The two newest across the whole row: the badge and name, what it does under them. So is an
     app that would be left alone in the last row of two. */
  .spines--apps .spine:not(.spine--wide):nth-child(odd):nth-last-child(3) {
    grid-column: 1 / -1;
    height: auto;
    min-height: 92px;
  }
  .spines--apps .spine--wide {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 6px 10px;
    height: auto;
    min-height: 92px;
  }
  .spines--apps .spine--wide .spine__what {
    flex-basis: 100%;
    font-size: 14px;
  }
}

.shot {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 4px rgb(13 13 13 / 0.04), 0 40px 100px rgb(13 13 13 / 0.12);
}
.shot--hero {
  margin-top: 64px;
}

/* The home page's hero: the heading, the download, and the app in use (a looping video). */
.hero--video {
  padding: 56px 0 0;
  text-align: center;
}
.hero--video .hero__title {
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__sub {
  margin: 20px auto 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
}
.hero__cta .get__note {
  margin: 12px 0 0;
}
.demo {
  position: relative;
  max-width: 1200px;
  margin: 44px auto 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 2px 4px rgb(13 13 13 / 0.04), 0 40px 100px rgb(13 13 13 / 0.14);
}
.demo__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1200;
}
.demo__toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(13 13 13 / 0.7);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.demo__toggle[hidden] {
  display: none;
}
.demo__toggle:hover {
  background: var(--ink);
}
.demo__toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
  background: var(--ink);
}
.demo__play,
.demo.is-paused .demo__pause {
  display: none;
}
.demo.is-paused .demo__play {
  display: block;
}
/* The fourteen apps, right under the hero. */
.apps-band {
  padding: 72px 0 0;
}
.apps-band .spines {
  margin-top: 0;
}

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

.section {
  padding: 128px 0;
}
.section--white {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.h2--center {
  margin-inline: auto;
}
.lede {
  margin: 22px 0 0;
  font-size: 20px;
  color: var(--ink-2);
}

.fams {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 64px;
}
.fam {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: 26px;
  background: var(--c);
  color: var(--on);
  border-radius: 28px;
}
.fam__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.fam h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.fam b {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  opacity: 0.7;
}
.fam p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  opacity: 0.95;
}
/* The search spans the row under the families: one slim line. */
.fam--ink {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  min-height: 0;
  background: var(--ink);
  color: var(--white);
}
.fam--ink .fam__top {
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: baseline;
}
.fam--ink b {
  opacity: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 72px;
}
.points {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 30px;
}
.points li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
}
.points__n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--c);
  color: var(--on);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}
.points h3 {
  margin: 2px 0 6px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.points p {
  margin: 0;
  color: var(--ink-2);
}

.plan {
  width: min(460px, 100%);
  margin: 56px auto 0;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgb(13 13 13 / 0.1);
}
.plan__strip,
.cta__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  height: 14px;
}
.plan__body {
  padding: 32px;
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 10px;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.plan__per {
  font-size: 18px;
  color: var(--ink-3);
}
.plan__list {
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.plan__list li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-2);
}
.plan__list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan__fine {
  margin: 16px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--ink-3);
}

.faq {
  margin-top: 56px;
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--white);
}
.faq details p {
  margin: -6px 0 24px;
  color: var(--ink-2);
}

.cta {
  padding: 120px 0;
}
.cta__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding: 0 32px 72px;
  background: var(--ink);
  color: var(--white);
  border-radius: 36px;
  overflow: hidden;
  text-align: center;
}
.cta__strip {
  align-self: stretch;
  margin: 0 -32px 40px;
  height: 16px;
}
.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.048em;
}

.footer {
  padding: 36px 0 52px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ smaller screens */

@media (max-width: 1080px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spines {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
  }
  .fams {
    grid-template-columns: repeat(2, 1fr);
  }
  /* The bar keeps the brand, Download and the Menu button; the links and languages move into the
     side menu. */
  .nav__inner {
    gap: 12px;
    height: 64px;
  }
  .nav__links,
  .nav .langs {
    display: none;
  }
  .nav__get {
    margin-left: auto;
  }
  .nav__menu {
    display: grid;
  }
  html {
    scroll-padding-top: 80px;
  }
}
@media (min-width: 1081px) {
  :root:not(.has-menu) .menu:target {
    display: none;
  }
}

@media (max-width: 720px) {
  .wrap,
  .wrap--narrow {
    width: calc(100% - 32px);
  }
  .nav__inner {
    height: 60px;
  }
  .nav .brand {
    font-size: 23px;
    gap: 9px;
  }
  .nav .brand img {
    width: 28px;
    height: 28px;
  }
  .nav__get {
    height: 40px;
    padding: 0 18px;
  }
  html {
    scroll-padding-top: 76px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero--video {
    padding-top: 40px;
  }
  .hero__sub {
    margin-top: 18px;
  }
  .demo {
    margin-top: 36px;
    border-radius: 14px;
  }
  .demo__toggle {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
  }
  .apps-band {
    padding-top: 48px;
  }
  .join {
    flex-direction: column;
    border-radius: 26px;
  }
  .join__input {
    height: 48px;
  }
  .spines {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
  }
  .spine {
    height: 140px;
  }
  .fams {
    grid-template-columns: 1fr;
  }
  .fam {
    min-height: 0;
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
  }
  .section {
    padding: 80px 0;
  }
  .cta__block {
    padding-bottom: 56px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small phones (360px and less): a tighter bar, so "Herunterladen" fits beside the brand; long
   words (German, Spanish) break inside narrow tiles and lists instead of running out of them. */
@media (max-width: 480px) {
  .spine__name,
  .fam h3,
  .h2,
  .hero__title,
  .phero__title,
  .hometasks li,
  .footer__col li,
  .menu__apps a {
    overflow-wrap: break-word;
    hyphens: auto;
    hyphenate-limit-chars: 12 5 5;
  }
}
@media (max-width: 420px) {
  .nav__inner {
    gap: 10px;
  }
  .nav .brand {
    font-size: 21px;
    gap: 8px;
  }
  .nav .brand img {
    width: 26px;
    height: 26px;
  }
  .nav__get {
    padding: 0 14px;
    font-size: 14px;
  }
  .nav__menu {
    width: 40px;
    height: 40px;
    margin-right: -6px;
  }
  /* Big buttons may take two lines rather than run off the screen. */
  .btn--lg,
  .btn--block {
    height: auto;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .btn--lg {
    min-height: 56px;
    padding: 10px 22px;
    font-size: 17px;
  }
  .btn--block {
    min-height: 52px;
    padding-block: 10px;
  }
}
@media (max-width: 350px) {
  /* The mark alone: the link keeps its name ("Octoolo home"). */
  .nav .brand span {
    display: none;
  }
}

/* ------------------------------------------------------------------ downloads */

.btn--download {
  gap: 12px;
}
.get__note {
  margin: 14px 4px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ task and app pages
   Written by tools/seo/build.mjs. The page takes the color of its app, as the app does. */

.phero {
  padding: 28px 0 80px;
  background: var(--c);
  color: var(--on);
}
.phero--ink {
  background: var(--ink);
  color: var(--white);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.55;
}
.crumbs a {
  text-decoration: none;
  opacity: 0.92;
}
.crumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}
.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 56px;
  margin-top: 56px;
}
.phero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}
.phero--ink .phero__eyebrow {
  margin-top: 56px;
}
.phero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.phero__lede {
  margin: 28px 0 0;
  font-size: 21px;
  line-height: 1.5;
  opacity: 0.95;
}
.phero__card {
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-block);
  box-shadow: 0 30px 80px rgb(13 13 13 / 0.14);
}
.phero__shot {
  margin-top: 64px;
}
.pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding: 4px 0 22px;
  border-bottom: 1px solid var(--line);
}
.pair__fmt {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.pair svg {
  flex: none;
  color: var(--ink-3);
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.get .btn {
  width: 100%;
}
.get .get__note {
  margin: 12px 4px 0;
}
.get__price {
  margin: 4px 4px 0;
  font-size: 14px;
  color: var(--ink-3);
}

.psec {
  padding: 96px 0;
}
.psec--white {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.psec--prose {
  padding: 72px 0;
}
.psec--prose + .psec--prose {
  padding-top: 0;
}
.psec__title {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.psec__more {
  margin: 32px 0 0;
  font-size: 16px;
  color: var(--ink-3);
}
.psec__more a {
  font-weight: 600;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.steps__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c);
  color: var(--on);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}
.steps h3 {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.steps p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
}

.facts-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
}
.facts {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
}
.facts th,
.facts td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.facts tbody tr:last-child > * {
  border-bottom: 0;
}
.facts thead th {
  background: var(--sand);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.facts tbody th {
  width: 170px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.facts td {
  color: var(--ink-2);
}

.prose h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.prose h3 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.prose p,
.prose li {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}
.prose p {
  margin: 0 0 16px;
}
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose strong {
  font-weight: 650;
  color: var(--ink);
}
.prose a,
.faq a,
.steps a,
.phero__lede a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a,
.faq a {
  color: var(--ink);
}
.prose table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.prose thead th {
  font-weight: 650;
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}
kbd {
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--ink);
}

.rel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.rel__item {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: baseline;
  gap: 4px 12px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rel__item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}
.rel__dot {
  grid-row: span 2;
  align-self: start;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--c);
}
.rel__item b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.rel__item span:last-child {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-3);
}

.cta__note {
  margin: -14px 0 0;
  font-size: 15px;
  color: rgb(255 255 255 / 0.7);
}

/* The list of every tool. */
.dirs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  align-items: start;
  gap: 16px;
}
.dir {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
}
.dir__head {
  display: block;
  padding: 22px 24px;
  background: var(--c);
  color: var(--on);
  text-decoration: none;
}
.dir__head h2 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.dir__head span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
}
.dir__list {
  margin: 0;
  padding: 14px 24px 20px;
  list-style: none;
  columns: 2;
  column-gap: 20px;
}
.dir__list li {
  padding: 5px 0;
  break-inside: avoid;
}
.dir__list a,
.hometasks a:not(.btn),
.footer__col a {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.dir__list a:hover,
.hometasks a:not(.btn):hover,
.footer__col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* The home page's tasks, by app. */
.hometasks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}
.hometasks__app {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--c);
  border-radius: var(--r-card);
}
.hometasks .hometasks__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hometasks ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.hometasks__all {
  margin: 40px 0 0;
  text-align: center;
}

/* The footer with every app: about and Download, then the apps and the popular tools (each in two
   columns), Octoolo's own pages; under a line the policies, the languages and the small print. */
.footer--big {
  padding: 64px 0 36px;
  background: var(--white);
}
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
}
.footer .footer__about p {
  max-width: 30ch;
  margin: 16px 0 0;
  font-size: 15px;
}
.footer__get {
  gap: 8px;
  margin-top: 22px;
  padding: 0 18px;
}
.footer__get svg {
  width: 18px;
  height: 18px;
}
.footer__col h2 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__col ul {
  display: grid;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__col--apps ul,
.footer__col--popular ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Each app with its color, as in the app's own sidebar. */
.footer__col--apps a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__col--apps a::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__policies,
.footer__langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__policies a,
.footer__langs a {
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
}
.footer__policies a:hover,
.footer__langs a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer__langs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--ink-3);
}
.footer__langs svg {
  flex: none;
}
.footer__langs a[aria-current] {
  font-weight: 650;
  color: var(--ink);
}
.footer .footer__legal {
  flex-basis: 100%;
}

@media (max-width: 1080px) {
  .phero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phero__card {
    max-width: 520px;
  }
  .hometasks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* About across the top, the three lists under it. */
  .footer__cols {
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
  }
  .footer__about {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 32px;
  }
  .footer .footer__about p {
    flex: 1 1 280px;
    max-width: 52ch;
    margin: 0;
  }
  .footer__get {
    margin: 0;
  }
}
@media (max-width: 900px) {
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__col--site {
    grid-column: 1 / -1;
  }
  .footer__col--site ul {
    display: flex;
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .phero {
    padding-bottom: 56px;
  }
  .phero__grid {
    margin-top: 40px;
  }
  .phero__lede {
    font-size: 18px;
  }
  .phero__card {
    padding: 22px;
  }
  .psec {
    padding: 72px 0;
  }
  .psec--prose {
    padding: 56px 0;
  }
  .prose p,
  .prose li {
    font-size: 17px;
  }
  .dirs {
    grid-template-columns: 1fr;
  }
  .hometasks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Phones: one section under another, each list in two columns, a line between them. */
  .footer--big {
    padding: 44px 0 28px;
  }
  .footer__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .footer__about {
    padding-bottom: 28px;
  }
  .footer__col {
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }
  .footer__col ul,
  .footer__col--site ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .footer__col a {
    display: inline-flex;
    padding: 6px 0;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 0;
  }
  .footer__langs {
    margin-left: 0;
  }
  .footer__policies a,
  .footer__langs a {
    display: inline-block;
    padding: 4px 0;
  }
}
@media (max-width: 480px) {
  .hometasks {
    grid-template-columns: 1fr;
  }
  /* One card per app, its tasks in two columns. */
  .hometasks ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }
  .hometasks a:not(.btn) {
    font-size: 14.5px;
  }
  .dir__list {
    column-gap: 14px;
    padding-inline: 20px;
  }
  .dir__list a {
    font-size: 14.5px;
  }
}

.phero__meta {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0.92;
}
.facts--vs {
  min-width: 480px;
}
.facts--vs thead th {
  font-size: 20px;
}
.facts--vs td:nth-child(2) {
  font-weight: 600;
  color: var(--ink);
}
/* Phones: no sideways scrolling. Each row's label goes across, its two answers side by side under
   the two names. */
@media (max-width: 600px) {
  .facts-scroll {
    overflow: hidden;
  }
  .facts,
  .facts--vs {
    display: block;
    min-width: 0;
  }
  .facts thead,
  .facts tbody {
    display: block;
  }
  .facts tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts thead th:first-child {
    display: none;
  }
  .facts thead th {
    padding: 14px 16px;
    font-size: 19px;
  }
  .facts tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 14px 16px 2px;
    border-bottom: 0;
  }
  .facts td {
    padding: 4px 16px 14px;
    font-size: 15px;
  }
}

.prose code,
.faq code,
.steps code {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--sand);
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink);
}

/* ------------------------------------------------------------------ cookie consent
   assets/consent.js adds this at the end of the page until the visitor chooses. */

.consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  width: min(440px, calc(100% - 40px));
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-block);
  box-shadow: var(--shadow-pop);
}
.consent__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  height: 8px;
}
.consent__strip i:nth-child(1) { background: var(--c-pdf); }
.consent__strip i:nth-child(2) { background: var(--c-office); }
.consent__strip i:nth-child(3) { background: var(--c-image); }
.consent__strip i:nth-child(4) { background: var(--c-video); }
.consent__strip i:nth-child(5) { background: var(--c-audio); }
.consent__strip i:nth-child(6) { background: var(--c-convert); }
.consent__strip i:nth-child(7) { background: var(--c-security); }
.consent__strip i:nth-child(8) { background: var(--c-productivity); }
.consent__strip i:nth-child(9) { background: var(--c-text); }
.consent__strip i:nth-child(10) { background: var(--c-dev); }
.consent__strip i:nth-child(11) { background: var(--c-calc); }
.consent__body {
  padding: 20px 22px 22px;
}
.consent__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.consent__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.consent__text a {
  color: var(--ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.consent__actions {
  display: flex;
  gap: 8px;
}
.consent__actions .btn--light {
  border: 1px solid var(--line-strong);
}
@media (max-width: 720px) {
  .consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .consent {
    animation: consent-in 0.3s var(--ease);
  }
  @keyframes consent-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
  }
}

/* ------------------------------------------------------------------ plans and checkout
   The three plans side by side (/pricing/ and the home page), the checkout's plan picker and the
   thank-you page's steps (tools/seo/render.mjs plansGrid, checkoutPage, thanksPage). */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 48px auto 0;
  align-items: stretch;
}
.plans .plan {
  display: flex;
  flex-direction: column;
  width: auto;
  margin: 0;
  box-shadow: 0 20px 60px rgb(13 13 13 / 0.07);
}
.plans .plan__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}
.plans .plan__name {
  margin: 0;
}
.plans .plan__price {
  margin: 22px 0 6px;
}
.plans .plan__amount {
  font-size: 64px;
}
.plans .btn {
  margin-top: auto;
}
.plan--best {
  border: 2px solid var(--ink);
  box-shadow: 0 30px 80px rgb(13 13 13 / 0.16);
}
.plan__save {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--c-calc);
  color: var(--on-calc);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.plan__billed {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--ink-3);
}
.btn--outline {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn--outline:hover {
  background: var(--sand);
}
.plans__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  max-width: 900px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}
.plans__features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--ink-2);
}
.plans__features li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plans__fine {
  margin: 18px auto 0;
  font-size: 13.5px;
  line-height: 1.55;
  text-align: center;
  color: var(--ink-3);
}
.plans__fine a {
  color: inherit;
}

.choose {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.choose fieldset {
  display: grid;
  gap: 12px;
  /* A fieldset is as wide as its content by default: on a phone the plans spilled off screen. */
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choose__plan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  cursor: pointer;
}
.choose__plan:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.choose__plan input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
.choose__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  flex: 1;
  min-width: 0;
  font-weight: 700;
}
.choose__price {
  display: grid;
  justify-items: end;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}
.choose__per {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}
.choose__note {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.choose__go {
  margin-top: 6px;
}
.choose__go:disabled {
  opacity: 0.45;
  cursor: default;
}
.choose__msg {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 14.5px;
}

.thanks {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.thanks li {
  position: relative;
  padding: 22px 24px 22px 70px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  counter-increment: step;
}
.thanks li::before {
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
}
.thanks h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
}
.thanks p {
  margin: 0 0 14px;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

/* The checkout (/checkout/): the plans and the order summary beside Paddle's inline checkout. */
.phero--slim {
  padding: 22px 0 40px;
}
.phero--slim .phero__title {
  font-size: clamp(36px, 5vw, 56px);
}
.phero--slim .phero__lede {
  margin-bottom: 0;
}
.psec--checkout {
  padding: 40px 0 72px;
}
.checkout {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.checkout__side {
  display: grid;
  gap: 24px;
  min-width: 0;
  position: sticky;
  top: 24px;
}
.checkout .choose {
  max-width: none;
  margin: 0;
}
.checkout .choose__plan {
  padding: 14px 16px;
}
.checkout__step {
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.checkout__main {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.checkout__main .choose__msg {
  margin-bottom: 12px;
}
.checkout-container {
  min-height: 450px;
}
.summary {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.summary__item {
  display: grid;
  gap: 2px;
}
.summary__name {
  font-weight: 700;
}
.summary__cycle {
  font-size: 14px;
  color: var(--ink-3);
}
.summary__trial {
  display: inline-block;
  margin: 12px 0 0;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--c-calc);
  color: var(--on-calc);
  font-size: 13px;
  font-weight: 750;
}
.summary__lines {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.summary__lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.summary__lines dt {
  color: var(--ink-2);
}
.summary__lines dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.summary__total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}
.summary__total dt {
  color: var(--ink);
}
.summary__then {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.summary__then:empty {
  display: none;
}
.summary__fine {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}
.summary__fine a {
  color: inherit;
}
@media (max-width: 900px) {
  .checkout {
    grid-template-columns: minmax(0, 1fr);
  }
  .checkout__side {
    position: static;
  }
  .checkout__main {
    padding: 16px;
  }
}
/* Compact plan rows on the checkout: "$4.49 a month" on one line, the billing below it. */
.checkout .choose__price {
  display: block;
  text-align: right;
  font-size: 19px;
  white-space: nowrap;
}
.checkout .choose__per {
  display: inline;
}
.checkout .choose__note {
  display: block;
}
.checkout fieldset {
  gap: 10px;
}
.phero--slim .phero__title {
  font-size: clamp(32px, 4.4vw, 48px);
}

/* The menu's account link when signed in (site.js): the person's initial in a tomato dot. */
.nav__links a.nav__account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}
.nav__links a.nav__account:hover {
  border-color: var(--line-strong);
  background: var(--sand);
}
.nav__avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-pdf);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

/* ------------------------------------------------------------------ languages */

/* The language menu in the header: this page in English, Español, Português and Deutsch. */
.langs {
  position: relative;
  margin-right: -12px;
}
.langs summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}
.langs summary::-webkit-details-marker {
  display: none;
}
.langs summary:hover,
.langs[open] summary {
  background: var(--white);
  color: var(--ink);
}
.langs ul {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
}
.langs a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.langs a:hover {
  background: var(--paper);
  color: var(--ink);
}
.langs a[aria-current] {
  font-weight: 600;
  color: var(--ink);
}
/* site.js: "This page is in Español", for visitors whose browser prefers another language. */
.langbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14.5px;
}
.langbar a {
  color: var(--paper);
  font-weight: 600;
}
.langbar button {
  padding: 2px 8px;
  border: 0;
  background: none;
  color: var(--paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.langbar button:hover {
  opacity: 1;
}

/* ------------------------------------------------------------------ the chat with the assistant (chat.js) */

.chat-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 19;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.chat-launch:hover {
  background: #2b2b2b;
}
.chat-launch:active {
  transform: translateY(1px);
}
.chat-launch[hidden],
.chat-launch[aria-expanded="true"],
.chat[hidden] {
  display: none;
}
.chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: min(410px, calc(100vw - 40px));
  height: min(640px, calc(100vh - 40px));
  height: min(640px, calc(100dvh - 40px));
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-block);
  box-shadow: var(--shadow-pop);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 10px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.chat__mark {
  flex: none;
}
.chat__names {
  flex: 1;
  min-width: 0;
}
.chat__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.chat__sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}
.chat__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
}
.chat__icon:hover {
  background: var(--sand);
  color: var(--ink);
}
.chat__log {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chat__msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.chat__msg > * {
  margin: 0;
}
.chat__msg > * + * {
  margin-top: 8px;
}
.chat__msg ul,
.chat__msg ol {
  padding-left: 22px;
}
.chat__msg li + li {
  margin-top: 4px;
}
.chat__msg a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat__msg--assistant {
  align-self: flex-start;
  background: var(--sand);
  border-bottom-left-radius: 6px;
}
.chat__msg--user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--white);
  border-bottom-right-radius: 6px;
  white-space: pre-wrap;
}
.chat__msg--error {
  background: var(--danger-bg);
}
.chat__msg--error > p:last-child {
  color: var(--danger);
}
.chat__dots::after {
  content: "\2022\2022\2022";
  letter-spacing: 3px;
  color: var(--ink-3);
}
.chat__status {
  margin-left: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}
.chat__chips[hidden] {
  display: none;
}
.chat__chip {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.chat__chip:hover {
  border-color: var(--ink);
}
.chat__form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 12px;
  padding: 5px 5px 5px 14px;
  border: 1px solid var(--field-line);
  border-radius: 24px;
}
.chat__form:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgb(13 13 13 / 0.07);
}
.chat__field {
  flex: 1;
  min-width: 0;
  max-height: 140px;
  padding: 8px 0;
  border: 0;
  outline: none;
  resize: none;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
}
.chat__field::placeholder {
  color: var(--ink-4);
}
.chat__send {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}
.chat__send:disabled {
  opacity: 0.35;
  cursor: default;
}
.chat__note {
  margin: 8px 16px 12px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-3);
}
.chat__note a {
  color: inherit;
}
@media (prefers-reduced-motion: no-preference) {
  .chat {
    animation: chat-in 0.2s var(--ease);
  }
  .chat__dots::after {
    animation: chat-dots 1.2s infinite;
  }
  @keyframes chat-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
  }
  @keyframes chat-dots {
    50% {
      opacity: 0.3;
    }
  }
}
/* On a phone the chat takes the whole screen. */
@media (max-width: 600px) {
  .chat {
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .chat-launch {
    right: 14px;
    bottom: 14px;
    height: 48px;
    padding: 0 18px 0 14px;
  }
  .chat__field {
    font-size: 16px;
  }
  html.chat-open {
    overflow: hidden;
  }
}
@media print {
  .chat,
  .chat-launch {
    display: none;
  }
}

/* ------------------------------------------------------------------ the blog
   Written by tools/seo/blog.mjs: the list of guides (/blog/), each guide, and the cards that link
   to them from the home page and the task pages. A guide takes the color of its app. */

.blog__latest {
  margin-top: 88px;
}
.pcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.section .pcards {
  margin-top: 48px;
}
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pcard:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-pop);
  transform: translateY(-3px);
}
.pcard__img {
  display: block;
  aspect-ratio: 1200 / 630;
  background: var(--c);
  border-bottom: 1px solid var(--line);
}
.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}
.pcard__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pcard__tag i,
.tryit__app i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
}
.pcard__title {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.pcard__text {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.pcard__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  color: var(--ink-3);
}
/* The newest guide, across the top of /blog/. */
.pcard--big {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.pcard--big .pcard__img {
  height: 100%;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}
.pcard--big .pcard__body {
  justify-content: center;
  gap: 14px;
  padding: 44px;
}
.pcard--big .pcard__title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.pcard--big .pcard__text {
  font-size: 18px;
}
.pcard--big .pcard__meta {
  margin-top: 8px;
}
.psec--guides {
  padding-top: 0;
}

/* A guide. */
.post__hero {
  padding: 28px 0 72px;
  background: var(--c);
  color: var(--on);
}
.post__head {
  margin-top: 56px;
}
.post__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.post__lede {
  margin: 26px 0 0;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}
.post__lede a {
  color: inherit;
  text-underline-offset: 3px;
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 28px 0 0;
  font-size: 15px;
  opacity: 0.88;
}
.post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wrap--post {
  width: min(760px, 100% - 64px);
  margin: 0 auto;
}
.post__body {
  padding: 56px 0 96px;
}
.short {
  margin: 0 0 28px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--c);
  border-radius: var(--r-card);
}
.short__title,
.toc__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.short ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.short li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.short li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.short a {
  text-underline-offset: 3px;
}
.toc {
  margin: 0 0 8px;
  padding: 4px 0 0;
}
.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--ink-3);
}
.toc a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post__sec {
  padding-top: 56px;
}
.post__sec h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.post__sec p,
.post__sec li {
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.post__sec p {
  margin: 0 0 18px;
}
.post__sec ul,
.post__sec ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.post__sec li {
  margin: 6px 0;
}
.post__sec strong,
.post__sec b {
  font-weight: 650;
  color: var(--ink);
}
.post__sec a {
  color: var(--ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.post__sec table {
  width: 100%;
  margin: 8px 0 22px;
  border-collapse: collapse;
  font-size: 16px;
}
.post__sec th,
.post__sec td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.post__sec thead th {
  font-weight: 650;
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}
.post__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.post__n {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: -4px;
  border-radius: 12px;
  background: var(--c);
  color: var(--on);
  font-size: 19px;
}
.callout {
  margin: 4px 0 22px;
  padding: 18px 22px;
  background: var(--sand);
  border-radius: var(--r-card);
}
.callout p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.callout--tip {
  background: var(--ok-bg);
}
.callout--warn {
  background: var(--warn-bg);
}
/* Pictures and clips are wider than the text, so the app's words stay readable. */
.fig {
  position: relative;
  left: 50%;
  width: min(1080px, 100vw - 64px);
  margin: 8px 0 30px;
  translate: -50% 0;
}
.fig--narrow {
  width: min(860px, 100vw - 64px);
}
.fig__frame {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 2px 4px rgb(13 13 13 / 0.04), 0 24px 60px rgb(13 13 13 / 0.1);
}
.fig__frame img,
.fig__video {
  display: block;
  width: 100%;
  height: auto;
}
.fig figcaption {
  max-width: 760px;
  margin: 12px auto 0;
  padding: 0 4px;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-3);
}
.fig__toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(13 13 13 / 0.7);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.fig__toggle[hidden] {
  display: none;
}
.fig__toggle:hover,
.fig__toggle:focus-visible {
  background: var(--ink);
}
.fig__toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}
.fig__play,
.fig--clip.is-paused .fig__pause {
  display: none;
}
.fig--clip.is-paused .fig__play {
  display: block;
}
.tryit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px 28px;
  margin-top: 64px;
  padding: 30px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--c);
  border-radius: var(--r-block);
  box-shadow: var(--shadow-pop);
}
.tryit__text {
  flex: 1 1 320px;
}
.tryit__app {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tryit__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.tryit__more {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.tryit__more a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .pcard--big {
    grid-template-columns: 1fr;
  }
  .pcard--big .pcard__img {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .pcard--big .pcard__body {
    padding: 28px 26px 30px;
  }
}
@media (max-width: 720px) {
  .wrap--post {
    width: calc(100% - 32px);
  }
  .post__head {
    margin-top: 40px;
  }
  .post__hero {
    padding-bottom: 52px;
  }
  .post__body {
    padding-top: 36px;
  }
  .post__sec p,
  .post__sec li {
    font-size: 17.5px;
  }
  .post__step {
    font-size: 21px;
  }
  .fig,
  .fig--narrow {
    width: calc(100vw - 24px);
  }
  .fig__frame {
    border-radius: 12px;
  }
  .tryit {
    padding: 24px 22px;
  }
  .tryit .btn {
    width: 100%;
  }
  .pcards {
    grid-template-columns: 1fr;
  }
}
.post__sec code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--sand);
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--ink);
}
