/* Rifinita landing. Colours are sampled from the app icon:
   cobalt field, pale cyan and lilac glass. */

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --cobalt: #1a47f0;
  --cobalt-deep: #0b1a6e;
  --ink: #0a1033;
  --paper: #f1f3fb;
  --white: #ffffff;
  --cyan: #9cebfb;
  --lilac: #d3b8fa;

  --muted: #515b7c;
  --line: rgba(10, 16, 51, 0.13);
  --on-cobalt: rgba(255, 255, 255, 0.84);
  --line-on-dark: rgba(255, 255, 255, 0.22);

  --display: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --text: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 24px;
  --wrap: 1200px;
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-light :focus-visible,
.on-light:focus-visible {
  outline-color: var(--cobalt);
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip:focus {
  top: 16px;
}

/* Release switch: <html data-release="soon"> or "live". */
[data-release="soon"] .when-live,
[data-release="live"] .when-soon {
  display: none !important;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-size: 36px;
  line-height: 40px;
}
.body {
  color: var(--muted);
  text-wrap: pretty;
  max-width: 34em;
}
.small {
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font: 600 16px/24px var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-light {
  background: var(--white);
  color: var(--cobalt-deep);
}
.btn-light:hover {
  background: var(--cyan);
}
.btn-ink {
  background: var(--ink);
  color: var(--white);
}
.btn-ink:hover {
  background: var(--cobalt);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    0 0 0 1px rgba(10, 16, 51, 0.08),
    0 12px 32px -12px rgba(10, 16, 51, 0.35);
  white-space: nowrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.soon-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 16, 51, 0.08);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}
.nav-links {
  display: none;
  gap: 24px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}

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

.hero {
  padding-top: 144px;
  color: var(--white);
  /* Two flat fields: cobalt, then paper under the lower part of the listing. */
  background: linear-gradient(
    to bottom,
    var(--cobalt) calc(100% - 180px),
    var(--paper) calc(100% - 180px)
  );
}
.hero h1 {
  font-size: 48px;
  line-height: 1;
}
.hero-row {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}
.lede {
  max-width: 33em;
  color: var(--on-cobalt);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero-cta .small {
  color: var(--on-cobalt);
  max-width: 24em;
}

/* Index of everything in the app, right under the headline */
.index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 48px;
}
.index a {
  display: block;
  height: 100%;
  padding-block: 12px 16px;
  border-top: 1px solid var(--line-on-dark);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.3s var(--ease);
}
.index a:hover {
  border-top-color: var(--white);
}
.index-name {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.index-what {
  display: block;
  color: var(--on-cobalt);
  font-size: 14px;
  line-height: 20px;
}

/* Language rail */
.demo {
  margin-top: 64px;
}
.rail {
  display: flex;
  align-items: center;
  gap: 8px;
  /* One line that scrolls sideways on a phone, out to the screen edges. */
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail > * {
  flex: none;
}
.rail button {
  padding: 8px 16px;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 500 14px/20px var(--text);
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.rail button:hover {
  border-color: var(--white);
}
.rail button[aria-pressed="true"] {
  border-color: var(--white);
  background: var(--white);
  color: var(--cobalt-deep);
}
.rail-more {
  padding-left: 8px;
  color: var(--on-cobalt);
  font-size: 14px;
  line-height: 20px;
}

/* A real App Store listing: Wishfreeze, in the language picked above */
.listing {
  margin-top: 24px;
  padding: 24px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 48px 96px -48px rgba(6, 14, 70, 0.55);
}
.listing-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.listing-icon {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(10, 16, 51, 0.08);
}
.listing-title {
  min-width: 0;
}
.listing-name {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
}
.listing-sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.listing-get {
  margin-inline-start: auto;
  padding: 4px 20px;
  border-radius: 999px;
  background: #0a7aff;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}
.cards {
  display: flex;
  gap: 12px;
  margin: 24px -24px 0;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar {
  display: none;
}
.shot {
  flex: 1 0 156px;
  min-width: 0;
  width: 156px;
  height: auto;
  aspect-ratio: 396 / 861;
  border-radius: 16px;
  background: #e3f1ee;
  box-shadow: 0 0 0 1px rgba(10, 16, 51, 0.08);
  scroll-snap-align: start;
}

/* Text and pictures that change with the language */
.swap {
  transition:
    opacity 0.3s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.listing[data-state="out"] .swap {
  opacity: 0;
  transform: translateY(8px);
  transition-duration: 0.2s;
  transition-delay: 0s;
}

.demo-note {
  padding: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Statement ---------- */

.statement {
  padding-block: 96px;
}
.statement p {
  max-width: 21em;
  font-size: 30px;
  line-height: 36px;
}
.statement .w {
  transition: opacity 0.6s var(--ease);
}
.statement.armed .w {
  opacity: 0.3;
}
.statement.armed .w.on {
  opacity: 1;
}

/* ---------- Jobs ---------- */

.jobs {
  display: grid;
  gap: 96px;
  padding-bottom: 96px;
}
.job {
  display: grid;
  gap: 32px;
  align-items: center;
}
.job-text {
  display: grid;
  gap: 16px;
  align-content: start;
}
.facts {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 24px;
}
.facts li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.window {
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line),
    0 48px 80px -48px rgba(11, 26, 110, 0.45);
  overflow: hidden;
}
.window img {
  width: 100%;
}
/* On a phone the wide wizard picture scrolls sideways instead of shrinking to a ribbon. */
.job-wide .window {
  overflow-x: auto;
}
.job-wide .window img {
  width: 920px;
  max-width: none;
}
.window figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.pair {
  position: relative;
}
.pair .sheet {
  width: 62%;
  margin: -18% 0 0 auto;
  position: relative;
  right: -8px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px var(--line),
    0 32px 64px -24px rgba(11, 26, 110, 0.5);
}

/* ---------- Also ---------- */

.also {
  padding-block: 96px;
  background: var(--white);
}
.also-grid {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.also-grid div {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.also-grid dt {
  font-weight: 600;
}
.also-grid dd {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 30em;
}

/* ---------- Guides ---------- */

.guides {
  padding-block: 96px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.guides .body {
  margin-top: 16px;
}
.guide-list {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.guide-list a {
  display: block;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.guide-title {
  display: block;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  transition: color 0.3s var(--ease);
}
.guide-list a:hover .guide-title {
  color: var(--cobalt);
}
.guide-what {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

/* ---------- Steps ---------- */

.steps {
  padding-block: 96px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.steps ol {
  display: grid;
  gap: 40px;
  margin-top: 48px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  color: var(--cobalt);
  font: 500 60px/1 var(--display);
}
.steps h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 26em;
}

/* ---------- Where it runs ---------- */

.runs {
  padding-block: 96px;
  background: var(--cobalt-deep);
  color: var(--white);
}
.runs .body {
  margin-top: 16px;
  color: var(--on-cobalt);
}
.runs-grid {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line-on-dark);
}
.runs-grid div {
  padding-block: 24px;
  border-bottom: 1px solid var(--line-on-dark);
}
.runs-grid h3 {
  color: var(--cyan);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.runs-grid p {
  margin-top: 8px;
  color: var(--on-cobalt);
  font-size: 16px;
  line-height: 24px;
  max-width: 26em;
}

/* ---------- Pricing ---------- */

.pricing {
  padding-block: 96px;
}
.pricing-grid {
  display: grid;
  gap: 48px;
}
.pricing .body {
  margin-top: 16px;
}
.menu {
  border-top: 1px solid var(--ink);
}
.menu li {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.menu li:last-child {
  border-bottom-color: var(--ink);
}
.menu-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.menu-name {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}
.menu-dots {
  flex: 1;
  min-width: 24px;
  border-bottom: 2px dotted rgba(10, 16, 51, 0.35);
  transform: translateY(-5px);
}
.menu-price {
  font: 500 30px/36px var(--display);
  font-variant-numeric: lining-nums;
}
.menu-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 32em;
}
.fine {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  max-width: 44em;
}

/* ---------- FAQ ---------- */

.faq {
  padding-block: 0 96px;
}
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  list-style: none;
}
.faq summary h3 {
  font: inherit;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--cobalt);
  border-bottom: 2px solid var(--cobalt);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.5s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}
.faq details p {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 44em;
}

/* ---------- Closer and footer ---------- */

.closer {
  padding-block: 96px 48px;
  background: var(--cobalt);
  color: var(--white);
}
.closer-grid {
  display: grid;
  gap: 32px;
}
.closer-word {
  font-size: clamp(72px, 15vw, 208px);
  line-height: 0.9;
  letter-spacing: 0;
  font-variant-ligatures: none;
}
.nowrap {
  white-space: nowrap;
}
.closer-def {
  max-width: 24em;
  color: var(--on-cobalt);
  font-size: 20px;
  line-height: 28px;
  text-wrap: pretty;
}
.closer .btn {
  margin-top: 32px;
}
.closer-soon {
  margin-top: 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  color: var(--on-cobalt);
  font-size: 14px;
  line-height: 20px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Plain pages (privacy, 404) ---------- */

.page {
  min-height: calc(100vh - 85px);
  padding-block: 144px 96px;
}
.page h1 {
  font-size: 48px;
  line-height: 1;
}
.page .updated {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.prose {
  max-width: 40em;
  margin-top: 40px;
}
.prose h2 {
  margin-top: 40px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.prose p,
.prose li {
  margin-top: 12px;
  color: var(--muted);
}
.prose ul {
  padding-left: 20px;
  list-style: disc;
}
.prose a {
  color: var(--cobalt);
}
/* ---------- Guides: index and articles ---------- */

.article {
  padding-block: 144px 96px;
}
.article-head {
  max-width: 44em;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.crumbs a {
  color: var(--cobalt);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.article h1 {
  margin-top: 16px;
  font-size: 40px;
  line-height: 44px;
}
.article .standfirst {
  margin-top: 24px;
  font-size: 20px;
  line-height: 30px;
  text-wrap: pretty;
}
.article .updated {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.article .prose {
  max-width: 42em;
}
.article .prose h2 {
  margin-top: 48px;
  font: 500 30px/36px var(--display);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.article .prose h3 {
  margin-top: 32px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: var(--ink);
}
.article .prose ol {
  padding-left: 22px;
  list-style: decimal;
}
.article .prose li strong,
.article .prose p strong {
  color: var(--ink);
  font-weight: 600;
}
.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}
.article table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
}
.article th,
.article td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article th {
  border-bottom-color: var(--ink);
  font-weight: 600;
}
.article td {
  color: var(--muted);
}
.article td:first-child {
  color: var(--ink);
}
.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.aside {
  max-width: 42em;
  margin-top: 56px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.aside h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.aside p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.aside .btn {
  margin-top: 16px;
}
.more {
  max-width: 42em;
  margin-top: 56px;
}
.more h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.more .guide-list {
  margin-top: 16px;
  grid-template-columns: 1fr;
}
.guides-page .guide-list {
  max-width: 44em;
  grid-template-columns: 1fr;
}

.lost {
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 24px;
  min-height: 100vh;
  padding: var(--gutter);
  background: var(--cobalt);
  color: var(--white);
}
.lost h1 {
  font-size: 72px;
  line-height: 1;
}
.lost p {
  max-width: 24em;
  color: var(--on-cobalt);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
}
.page .support-faq {
  padding-block: 64px 24px;
}
.page-footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.page-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
}
.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.page-footer a {
  text-decoration: none;
}
.page-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Wider screens ---------- */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 60px;
  }
  .also-grid,
  .runs-grid,
  .guide-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
  .steps ol {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
  }
  .nav-links {
    display: flex;
  }
  .nav {
    gap: 32px;
  }
  .h2 {
    font-size: 48px;
    line-height: 48px;
  }
  .hero {
    padding-top: 176px;
    background: linear-gradient(
      to bottom,
      var(--cobalt) calc(100% - 220px),
      var(--paper) calc(100% - 220px)
    );
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 64px;
    margin-top: 40px;
  }
  .lede {
    font-size: 20px;
  }
  .index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    margin-top: 64px;
  }
  .demo {
    margin-top: 48px;
  }
  .guides {
    padding-block: 128px;
  }
  .listing {
    padding: 32px;
    border-radius: 32px;
  }
  .listing-name {
    font-size: 20px;
    line-height: 28px;
  }
  .cards {
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    overflow: visible;
  }
  .shot {
    border-radius: 20px;
  }
  .statement {
    padding-block: 128px;
  }
  .statement p {
    font-size: 48px;
    line-height: 52px;
  }
  .jobs {
    gap: 128px;
    padding-bottom: 128px;
  }
  .job {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
  .job:nth-child(even) .job-text {
    order: 2;
  }
  .job:nth-child(even) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  /* A job whose picture is too wide for a column: text above, picture across. */
  .job.job-wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .job.job-wide .job-text {
    order: 0;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 64px;
  }
  .job.job-wide .h2 {
    grid-row: 1 / span 2;
  }
  .job.job-wide .window img {
    width: 100%;
    max-width: 100%;
  }
  .job.job-wide .body,
  .job.job-wide .facts {
    grid-column: 2;
  }
  .runs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .runs-grid div {
    border-bottom: 0;
    padding-block: 32px 0;
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
  .also,
  .steps,
  .runs,
  .pricing {
    padding-block: 128px;
  }
  .faq {
    padding-block: 0 128px;
  }
  .closer {
    padding-top: 128px;
  }
  .article h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .closer-grid {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 64px;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 96px;
  }
}

/* Let the app windows run past the text column once the margins have room for it. */
@media (min-width: 1440px) {
  .job:nth-child(odd) .job-figure {
    margin-right: -96px;
  }
  .job:nth-child(even) .job-figure {
    margin-left: -96px;
  }
  .job.job-wide .job-figure {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .swap {
    transform: none !important;
  }
}
