/*
 * Styling for the static landing pages (content/landing/**), generated by
 * scripts/build-landing.mjs. These pages live outside the Angular app and
 * cannot use Tailwind, so the app's look is rebuilt here: the same blue, the
 * same heavy headings, the same rounded cards.
 *
 * Amber is reserved for one thing: anything about a deadline running out. It is
 * meaning, not decoration.
 */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --amber-line: #fde68a;
  --ink: #111827;
  --body: #4b5563;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --surface: #f9fafb;
  --radius: 1.5rem;
  /* The photo style, shared with the homepage and Instagram */
  --terracotta: #c4664a;
  --petrol: #1d4f55;
  --mosterd: #e2b23f;
  --kobalt: #1f3fc4;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* The photo bands run to the screen edge; nothing may scroll sideways */
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0 0 1.125rem;
}

a {
  color: var(--blue);
}

svg {
  display: block;
}

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

/* ---------- Structure ---------- */

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.band {
  padding: 3rem 0;
}

.band-soft {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.measure {
  max-width: 42rem;
}

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

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.brand > span {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* The O of "Orderlyst" drawn as the logo's box, as in the app header. The letter
   stays in the HTML but is not painted; the box is a mask in the text colour, one
   cap high and 3% below the baseline. */
.wordmark-o {
  display: inline-block;
  width: 0.7em;
  width: 1cap;
  height: 0.7em;
  height: 1cap;
  margin-right: 0.04em;
  overflow: hidden;
  vertical-align: -0.03cap;
  line-height: 1;
  -webkit-text-fill-color: transparent;
  background-color: currentColor;
  mask: url('/icons/ol-wordmark-o.svg') no-repeat center / 100% 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.link-plain {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.link-plain:hover {
  color: var(--blue);
}

.site-header .btn {
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: none;
}

@media (max-width: 479px) {
  .site-header .link-plain {
    display: none;
  }

  .brand span {
    font-size: 1.125rem;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 1.125rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px -6px rgba(37, 99, 235, 0.45);
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn-on-blue {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.25);
}

.btn-on-blue:hover {
  background: var(--blue-soft);
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--faint);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--faint);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  margin: 0 0.35rem;
  color: var(--line);
}

/* Screenshots of the app in a phone frame. The images come from
   `make screenshots`; see scripts/screenshots/. */

.phone {
  max-width: 16.5rem;
  margin: 0 auto;
  padding: 0.5rem;
  background: #111827;
  border-radius: 2.25rem;
  box-shadow: 0 30px 60px -30px rgba(17, 24, 39, 0.65);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
}

/* Text beside a screenshot */

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split .prose {
  max-width: none;
}

/* ---------- Prose ---------- */

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.125rem;
  margin: 2rem 0 0.625rem;
}

.prose p,
.prose li {
  color: var(--body);
  font-weight: 450;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.125rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 800;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: top;
}

.prose th.col-product,
.prose td.col-product {
  background: #f0fdf4;
  color: #065f46;
  font-weight: 600;
}

.prose thead th.col-product {
  color: #047857;
  border-bottom-color: #a7f3d0;
}

.prose tbody tr:last-child td.col-product {
  border-bottom-color: #a7f3d0;
}

.prose thead th {
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}

/* ---------- Section intro ---------- */

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--body);
  font-weight: 500;
  margin: 0;
}

/* ---------- Content blocks ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.grid > * {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px -18px rgba(17, 24, 39, 0.35);
}

.grid h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.grid p {
  color: var(--body);
  font-weight: 450;
  margin: 0;
  font-size: 0.9375rem;
}

/* The whole card is the click target; the link keeps its own text so screen
   readers and the keyboard still announce the page it leads to. */

.grid li.linked {
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.grid li.linked:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px -8px rgba(17, 24, 39, 0.25);
}

.grid li.linked h3 a {
  color: inherit;
  text-decoration: none;
}

.grid li.linked:hover h3 a {
  color: var(--blue);
}

.grid li.linked h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.grid li.linked:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.grid li.linked h3 a:focus-visible {
  outline: none;
}

.icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Icon tiles take turns in the four colours of the photo style. */

.grid > li:nth-child(4n + 1) .icon {
  background: #fbe4dc;
  color: var(--terracotta);
}

.grid > li:nth-child(4n + 2) .icon {
  background: #d8ecee;
  color: var(--petrol);
}

.grid > li:nth-child(4n + 3) .icon {
  background: #f8ecc8;
  color: #9a6b00;
}

.grid > li:nth-child(4n + 4) .icon {
  background: #e0e6fb;
  color: var(--kobalt);
}

/* Steps carry a number because the content really is a sequence: a mosterd
   badge per card, the icon on the right, and on desktop a dotted line that
   connects the badges. Steps always sit on the petrol band (renderBody). */

.steps {
  counter-reset: step;
  position: relative;
}

.steps > li {
  position: relative;
  z-index: 1;
  border: 0;
  padding-top: 4.25rem;
}

.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.5rem;
  top: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: var(--mosterd);
  color: #422006;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}

.steps .icon {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  margin: 0;
}

/* Checks: white tiles with a green tick. */

.checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.5rem;
}

.checks li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.875rem;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 1rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 10px 30px -20px rgba(17, 24, 39, 0.35);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 0.85rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: #d1fae5 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.note {
  max-width: 42rem;
  background: var(--blue-soft);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  color: var(--ink);
  font-weight: 500;
}

.note > :last-child {
  margin-bottom: 0;
}

.note-amber {
  background: var(--amber-soft);
  border: 1px solid var(--amber-line);
  color: #78350f;
}

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

.faq {
  max-width: 42rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 2.5rem 1.125rem 0;
  font-weight: 800;
  font-size: 1.0625rem;
  position: relative;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 1.5rem;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2.5px solid var(--faint);
  border-bottom: 2.5px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 1.75rem;
}

.faq details p {
  color: var(--body);
  font-weight: 450;
  margin: 0 0 1.125rem;
  padding-right: 2rem;
}

/* ---------- Related ---------- */

.related h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.related a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}

.related a:hover {
  border-color: #bfdbfe;
  color: var(--blue);
}

.updated {
  font-size: 0.8125rem;
  color: var(--faint);
  font-weight: 500;
  margin-top: 2rem;
}

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

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 0;
}

.site-footer p {
  margin: 0 0 0.625rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.site-footer nav a {
  color: var(--faint);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--blue);
}

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  .wrap {
    padding: 0 1.5rem;
  }

  .band {
    padding: 4rem 0;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header .btn {
    padding: 0.75rem 1.375rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .phone {
    max-width: 19rem;
  }

  .related ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* =====================================================================
   Photo style (Instagram, homepage): a photo hero on the colour of its own
   wall, coloured bands, a closing band with a photo. Colours of the walls
   come from PHOTOS in scripts/build-landing.mjs.
   ===================================================================== */

/* ---------- Photo hero ---------- */
/* Phone: breadcrumb and h1, photo, then lead and button. Desktop: photo left,
   all text right. One h1, placed by grid areas. */

.photo-hero {
  background: var(--wall);
}

.ph-grid {
  display: grid;
  grid-template-areas: 'head' 'photo' 'rest';
}

.ph-head {
  grid-area: head;
  padding: 1.25rem 1rem;
}

.ph-photo {
  grid-area: photo;
  position: relative;
  height: 300px;
}

.ph-rest {
  grid-area: rest;
  padding: 1.75rem 1rem 2.5rem;
}

.ph-photo.has-notif + .ph-rest {
  padding-top: 4.25rem;
}

.ph-photo.notif-top + .ph-rest {
  padding-top: 1.75rem;
}

.ph-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ph-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero .breadcrumb {
  margin-bottom: 1rem;
  color: rgba(17, 24, 39, 0.6);
}

.photo-hero .breadcrumb a {
  color: rgba(17, 24, 39, 0.6);
}

.photo-hero .breadcrumb span {
  color: rgba(17, 24, 39, 0.3);
}

.photo-hero h1 {
  font-size: 2.125rem;
}

.photo-hero .lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2937;
  max-width: 34rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-note {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.65);
}

/* A dark wall: white text and a white button */

.photo-hero.is-dark h1,
.photo-hero.is-dark .lead {
  color: #fff;
}

.photo-hero.is-dark .breadcrumb,
.photo-hero.is-dark .breadcrumb a,
.photo-hero.is-dark .hero-note {
  color: rgba(255, 255, 255, 0.8);
}

.photo-hero.is-dark .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.photo-hero.is-dark .btn {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.3);
}

.photo-hero.is-dark .btn:hover {
  background: var(--line-soft);
}

/* ---------- Notification, as on the lock screen ---------- */

.notif {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2.25rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(240, 244, 252, 0.97);
  box-shadow: 0 18px 40px -12px rgba(15, 30, 80, 0.35);
}

.notif-top .notif {
  top: 0.75rem;
  bottom: auto;
}

.notif-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue);
  display: grid;
  place-items: center;
}

.notif-icon svg {
  width: 22px;
  height: 22px;
}

.notif-text {
  min-width: 0;
  flex: 1;
}

.notif-title {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
}

.notif-body {
  margin: 2px 0 0;
  font-size: 14px;
  color: #1f2937;
  line-height: 1.35;
}

.notif-time {
  flex: none;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Coloured bands ---------- */

.band-petrol {
  background: var(--petrol);
}

.band-petrol .section-head h2,
.band-petrol .prose h2 {
  color: #fff;
}

.band-petrol .section-head p,
.band-petrol .prose p {
  color: rgba(236, 253, 255, 0.85);
}

.band-petrol .prose a {
  color: #fff;
}

/* A phone beside text: a light tint of the page's own wall colour */

.band-wall {
  background: color-mix(in srgb, var(--wall) 32%, #fff);
}

.band-wall .phone {
  box-shadow: 0 40px 70px -30px rgba(17, 24, 39, 0.55);
}

/* A phone beside a longer stretch of text stays in view while you read */

.split-sticky {
  align-items: start;
}

/* Without related links only the date is left: a slim strip */

.band-tight {
  padding: 1.25rem 0;
}

.band-tight .updated {
  margin: 0;
}

/* ---------- Photo band in the middle of a page ---------- */

.photo-band {
  background: var(--band);
}

.pb-grid {
  display: grid;
}

.pb-text {
  padding: 3rem 1rem;
}

.pb-text h2 {
  font-size: 1.875rem;
  color: #1c1917;
}

.pb-text p {
  color: rgba(28, 25, 23, 0.82);
  font-weight: 500;
}

.pb-text .prose,
.pb-text .checks {
  max-width: 36rem;
}

.pb-photo {
  position: relative;
  order: -1;
  height: 320px;
}

.pb-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-band.is-dark .pb-text h2 {
  color: #fff;
}

.photo-band.is-dark .pb-text p {
  color: rgba(255, 255, 255, 0.85);
}

.photo-band.is-dark .pb-text a {
  color: #fff;
  font-weight: 600;
}

/* ---------- Hub cards with a photo ---------- */

.grid li.has-photo {
  padding-top: 0;
  overflow: hidden;
}

.card-photo {
  display: block;
  width: calc(100% + 3rem);
  max-width: none;
  height: 150px;
  object-fit: cover;
  margin: 0 -1.5rem 1.25rem;
}

/* ---------- Closing band ---------- */

.cta-band {
  background: var(--band);
}

.cta-grid {
  display: grid;
}

.cta-text {
  padding: 3rem 1rem;
}

.cta-text h2 {
  font-size: 1.875rem;
  color: #422006;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: rgba(66, 32, 6, 0.82);
  font-weight: 500;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.btn-on-mosterd {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.3);
}

.btn-on-mosterd:hover {
  background: #000;
}

.cta-photo {
  position: relative;
  height: 240px;
}

.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}

@media (min-width: 640px) {
  .ph-head,
  .ph-rest {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .photo-hero h1 {
    font-size: 2.75rem;
  }

  .ph-photo {
    height: 380px;
  }

  .notif {
    left: auto;
    right: 1.5rem;
    width: 360px;
  }

  .checks {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .checks li {
    padding: 1rem 1.125rem 1rem 3.25rem;
    font-size: 1rem;
  }

  .checks li::before {
    left: 1rem;
    top: 1.05rem;
    width: 1.5rem;
    height: 1.5rem;
  }

  .pb-text,
  .cta-text {
    padding: 4rem 1.5rem;
  }

  .pb-text h2 {
    font-size: 2.25rem;
  }

  .pb-photo {
    height: 420px;
  }

  .cta-text h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 900px) {
  .ph-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: minmax(2.5rem, 1fr) auto auto minmax(2.5rem, 1.2fr);
    grid-template-areas: 'photo .' 'photo head' 'photo rest' 'photo .';
    min-height: 440px;
  }

  .ph-photo {
    height: auto;
  }

  .ph-head {
    padding: 0 3rem;
    max-width: 40rem;
  }

  .ph-rest,
  .ph-photo.has-notif + .ph-rest,
  .ph-photo.notif-top + .ph-rest {
    padding: 1.25rem 3rem 0;
    max-width: 40rem;
  }

  .photo-hero h1 {
    font-size: 3.125rem;
  }

  .ph-img::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 6rem;
    background: linear-gradient(to right, transparent, var(--wall));
  }

  .notif {
    left: 18%;
    right: auto;
    bottom: auto;
    top: 58%;
    width: 350px;
  }

  .notif-top .notif {
    top: 9%;
  }

  .steps::before {
    content: '';
    position: absolute;
    left: 2.75rem;
    right: 2.75rem;
    top: 2.5rem;
    height: 2px;
    background: repeating-linear-gradient(to right, rgba(226, 178, 63, 0.9) 0 8px, transparent 8px 16px);
  }

  .split-sticky .phone {
    position: sticky;
    top: 6rem;
  }

  /* Beside a phone or a photo the column is half as wide: one tile per row */
  .split-text .checks,
  .pb-text .checks {
    grid-template-columns: 1fr;
  }

  .pb-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  /* The text lines up with the content column above and below */
  .pb-text {
    padding: 4.5rem 3rem 4.5rem max(1.5rem, calc((100vw - 68rem) / 2 + 1.5rem));
  }

  .pb-photo {
    order: 0;
    height: auto;
    min-height: 460px;
  }

  .pb-photo::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6rem;
    background: linear-gradient(to left, transparent, var(--band));
  }

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }

  .cta-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: end;
    max-width: 34rem;
    padding: 4rem 3rem;
  }

  .cta-photo {
    height: auto;
  }
}

@media (min-width: 1440px) {
  /* Keep the text near the photo on very wide screens */
  .ph-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    min-height: 500px;
  }
}
