/* Marketing sub-pages.
   ---------------------------------------------------------------------------
   Every page other than home is built from these blocks plus the shared lp-
   type, buttons, FAQ and CTA in landing.css. A page wraps its content in
   <div class="lp">, opens with .pg-hero and closes with the CTA partial.
   Pictures are generated (Magnific) and live in /static/img/pages/ or
   /static/img/blog/; nothing here draws a mockup. */

/* Hero -------------------------------------------------------------------- */
.pg-hero {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  background:
    linear-gradient(90deg, var(--lp-night) 0%, rgba(0, 2, 18, 0.92) 38%, rgba(0, 2, 18, 0.2) 70%),
    var(--lp-night) url("/static/img/landing/page-hero-bg.webp") right center / auto 100% no-repeat;
}
.pg-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: 400px;
  padding-top: 40px;
  padding-bottom: 64px;
  box-sizing: border-box;
}
.pg-hero__in--solo { grid-template-columns: minmax(0, 760px); }
.pg-hero__copy { max-width: 620px; }
.pg-hero__title {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #FFFFFF;
}
.pg-hero__title span {
  background: linear-gradient(90deg, #38c8f8 0%, #4f8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pg-hero__lead { margin-top: 16px !important; max-width: 580px; font-size: 17px; line-height: 1.6; color: #C6CBDA; }
.pg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pg-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(125, 162, 255, 0.28);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(125, 162, 255, 0.05);
}
.pg-hero__media--bare img { border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 40px rgba(0, 2, 18, 0.55)); }
.pg-hero .lp-hero__checks { margin-top: 22px; }

/* Breadcrumb, eyebrow-sized, above the h1. */
.pg-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #99A1BB;
}
.pg-crumbs a:hover { color: #FFFFFF; }
.pg-crumbs [aria-current] { color: #DCE0EA; }

/* Small labels: category tags on posts, status pills. */
.pg-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pg-tag--soft { background: #E8EDFF; color: #2448E0; }
.pg-tag--green { background: #E3F6EA; color: #137a3b; }

/* Sections ---------------------------------------------------------------- */
.pg-section { padding: 80px 0; }
.pg-section--soft { background: var(--lp-soft); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.pg-section--dark { background: var(--lp-engine); color: #FFFFFF; }
.pg-section--dark .lp-h2, .pg-section--dark h3 { color: #FFFFFF; }
.pg-section--dark .lp-body, .pg-section--dark p { color: #C6CBDA; }
.pg-section--dark .lp-eyebrow { color: #DCE0EA; }
.pg-section--tight { padding: 56px 0; }

/* Copy beside a picture. --rev puts the picture first. */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.pg-split--rev > :first-child { order: 2; }
.pg-split__media img { display: block; width: 100%; height: auto; border-radius: 16px; }
.pg-split__media--frame img { border: 1px solid var(--lp-line); box-shadow: 0 24px 48px -28px rgba(11, 20, 51, 0.35); }
.pg-split .lp-body + .lp-body { margin-top: 14px !important; }

/* Ticked list. */
.pg-checks { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.pg-checks li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: #0B1433; }
.pg-checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--lp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.pg-section--dark .pg-checks li { color: #DCE0EA; }

/* Grid of tiles: icon, title, text. */
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: #FFFFFF;
}
a.pg-tile { transition: box-shadow 0.2s ease, transform 0.2s ease; }
a.pg-tile:hover { box-shadow: 0 16px 36px -18px rgba(11, 20, 51, 0.28); transform: translateY(-2px); }
.pg-tile img { width: 44px; height: 44px; margin-bottom: 4px; }
.pg-tile h3 { font-size: 17px; font-weight: 600; color: #0B1433; }
.pg-tile p { font-size: 14.5px; line-height: 1.55; color: #4A5057; }
.pg-tile .lp-link { margin-top: auto; padding-top: 6px; }
.pg-section--dark .pg-tile { background: rgba(255, 255, 255, 0.03); border-color: rgba(125, 162, 255, 0.18); }

/* Numbered steps, vertical. */
.pg-steps { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: pg-step; }
.pg-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 32px;
  counter-increment: pg-step;
}
.pg-steps li::before {
  content: counter(pg-step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lp-blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 0 6px rgba(47, 91, 255, 0.12);
}
.pg-steps li::after { content: ""; position: absolute; left: 18px; top: 46px; bottom: 6px; width: 1px; background: #c9d3f5; }
.pg-steps li:last-child { padding-bottom: 0; }
.pg-steps li:last-child::after { display: none; }
.pg-steps h3 { font-size: 18px; font-weight: 600; color: #0B1433; margin-top: 6px !important; }
.pg-steps p { margin-top: 6px !important; font-size: 15px; line-height: 1.6; color: #4A5057; }
.pg-steps .pg-steps__meta { font-size: 13px; color: #2448E0; font-weight: 600; }

/* Plain data table: comparisons, plan limits, cookie lists. */
.pg-table-wrap { overflow-x: auto; border: 1px solid var(--lp-line); border-radius: 14px; background: #FFFFFF; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pg-table th, .pg-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lp-line); }
.pg-table thead th { background: var(--lp-soft); font-family: "Schibsted Grotesk", sans-serif; font-weight: 600; color: #0B1433; }
.pg-table tbody th { font-weight: 600; color: #0B1433; }
.pg-table td { color: #4A5057; }
.pg-table tr:last-child th, .pg-table tr:last-child td { border-bottom: 0; }
.pg-table .is-yes { color: #137a3b; font-weight: 600; }
.pg-table .is-no { color: #9aa0ab; }

/* Callout. */
.pg-note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #EEF2FF;
  color: #0B1433;
  font-size: 15px;
  line-height: 1.6;
}
.pg-note::before { content: "“"; flex: none; font-family: "Schibsted Grotesk", sans-serif; font-size: 34px; line-height: 0.9; color: var(--lp-blue); }
.pg-note--info::before { content: "i"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-blue); color: #FFFFFF; font-size: 13px; font-weight: 700; line-height: 1; }

/* Related pages: the internal links every page ends on. */
.pg-related { padding: 64px 0; border-top: 1px solid var(--lp-line); }
.pg-related .lp-h2 { font-size: 26px; margin-bottom: 22px !important; }

/* Prose: articles and legal text ------------------------------------------ */
.pg-prose { font-size: 16.5px; line-height: 1.75; color: #2B3038; }
.pg-prose > * + * { margin-top: 18px !important; }
.pg-prose h2 { margin-top: 44px !important; font-size: 26px; line-height: 1.25; letter-spacing: -0.015em; color: #0B1433; scroll-margin-top: 24px; }
.pg-prose h3 { margin-top: 28px !important; font-size: 19px; color: #0B1433; }
.pg-prose h2:first-child { margin-top: 0 !important; }
.pg-prose a { color: #2448E0; text-decoration: underline; text-underline-offset: 2px; }
.pg-prose ul, .pg-prose ol { padding-left: 22px; }
.pg-prose li + li { margin-top: 8px; }
.pg-prose strong { color: #0B1433; }
.pg-prose .pg-lead { font-size: 18.5px; line-height: 1.65; color: #0B1433; }
.pg-prose .pg-answer { padding-left: 16px; border-left: 3px solid var(--lp-blue); color: #0B1433; }
.pg-prose .pg-table-wrap, .pg-prose .pg-note, .pg-prose .pg-box { margin-top: 26px !important; margin-bottom: 8px; }

/* A boxed block inside prose: the "how it works with eSIMLab" panel. */
.pg-box { padding: 22px 24px; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-soft); }
.pg-box h3 { margin: 0 0 14px !important; font-size: 17px; }
.pg-box ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: pg-box; }
.pg-box li { margin: 0 !important; font-size: 14px; line-height: 1.5; counter-increment: pg-box; }
.pg-box li::before { content: counter(pg-box); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: var(--lp-blue); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.pg-box li strong { display: block; margin-bottom: 2px; }

/* Article and document layout: text column with a sticky aside. */
.pg-doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 80px; }
.pg-doc--left { grid-template-columns: 260px minmax(0, 1fr); }
.pg-doc__main { max-width: 760px; }
/* The aside follows the reader. It is kept short enough to fit a laptop
   screen; should it not, it scrolls on its own rather than being cut off. */
.pg-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: none;
}
.pg-aside::-webkit-scrollbar { display: none; }
.pg-card { padding: 22px; border: 1px solid var(--lp-line); border-radius: 16px; background: #FFFFFF; }
.pg-card h2 { margin: 0 0 12px !important; font-size: 17px; color: #0B1433; }
.pg-card--dark {
  border-color: rgba(125, 162, 255, 0.3);
  color: #C6CBDA;
  background:
    linear-gradient(160deg, rgba(3, 16, 59, 0.96) 0%, rgba(0, 2, 18, 0.9) 55%, rgba(0, 2, 18, 0.35) 100%),
    var(--lp-night) url("/static/img/landing/page-hero-bg.webp") 78% 60% / auto 190% no-repeat;
}
.pg-card--dark h2 { color: #FFFFFF; }
.pg-card--dark p { font-size: 14px; line-height: 1.55; margin-bottom: 16px !important; }
.pg-card--dark .lp-btn { width: 100%; padding: 14px 18px; font-size: 14.5px; }

.pg-toc ol { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: pg-toc; }
.pg-toc a {
  display: flex;
  gap: 12px;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #4A5057;
  counter-increment: pg-toc;
}
.pg-toc a::before { content: counter(pg-toc); color: #99A1BB; font-weight: 600; }
.pg-toc a { transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.pg-toc a:hover { color: #0B1433; background: var(--lp-soft); }
.pg-toc a.is-read { color: #0B1433; }
.pg-toc a.is-read::before { color: var(--lp-blue); }
.pg-toc a.is-on { border-left-color: var(--lp-blue); background: #EEF2FF; color: #2448E0; font-weight: 600; }
.pg-toc a.is-on::before { color: var(--lp-blue); }
/* Reading progress, filled by toc.js. */
.pg-toc__bar { height: 3px; margin: -2px 0 12px; border-radius: 3px; background: var(--lp-line); overflow: hidden; }
.pg-toc__bar span { display: block; height: 100%; width: var(--read, 0%); background: linear-gradient(90deg, #2f5bff, #38c8f8); transition: width 0.15s linear; }

/* The sign-up card in an aside: the hero's own space picture behind it. */
.pg-promo {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 22px;
  border: 1px solid rgba(125, 162, 255, 0.3);
  border-radius: 18px;
  color: #C6CBDA;
  background:
    linear-gradient(160deg, rgba(3, 16, 59, 0.96) 0%, rgba(0, 2, 18, 0.9) 55%, rgba(0, 2, 18, 0.35) 100%),
    var(--lp-night) url("/static/img/landing/page-hero-bg.webp") 78% 60% / auto 190% no-repeat;
  box-shadow: 0 24px 48px -28px rgba(3, 16, 59, 0.9);
}
.pg-promo h2 { margin: 0 !important; font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; color: #FFFFFF; }
.pg-promo__list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; padding: 0; list-style: none; }
.pg-promo__list li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #DCE0EA; }
.pg-promo__list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: #4f7bff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.pg-promo__btn { width: 100%; padding: 14px 18px; font-size: 14.5px; }
.pg-promo__link { display: block; margin-top: 12px; text-align: center; font-size: 13.5px; font-weight: 600; color: #9fb6ff; }
.pg-promo__link:hover { color: #FFFFFF; }
.pg-toc--plain a::before { content: none; }

/* Byline and author box. */
.pg-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f5bff, #38c8f8);
  color: #FFFFFF;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.pg-avatar--lg { width: 96px; height: 96px; font-size: 32px; }
.pg-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13.5px; color: #C6CBDA; }
.pg-byline a { color: #FFFFFF; font-weight: 600; }
.pg-byline a:hover { text-decoration: underline; }
.pg-byline__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pg-byline__meta span + span::before { content: "·"; margin-right: 10px; color: #6b7392; }

.pg-author { display: flex; gap: 20px; margin-top: 48px !important; padding: 24px; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-soft); }
.pg-author h2 { margin: 0 !important; font-size: 18px; }
.pg-author p { margin-top: 6px !important; font-size: 15px; line-height: 1.6; color: #4A5057; }
.pg-author__role { margin-top: 2px !important; font-size: 13.5px !important; color: #2448E0 !important; font-weight: 600; }
.pg-author a { color: #2448E0; font-weight: 600; font-size: 14px; }

/* Post cards ---------------------------------------------------------------- */
.pg-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: #FFFFFF;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pg-post:hover { box-shadow: 0 16px 36px -18px rgba(11, 20, 51, 0.28); transform: translateY(-2px); }
.pg-post img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pg-post__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.pg-post h3 { font-size: 18px; line-height: 1.3; color: #0B1433; }
.pg-post p { font-size: 14.5px; line-height: 1.55; color: #4A5057; }
.pg-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 8px; font-size: 13px; color: #6b7280; }
.pg-post__meta .pg-avatar { width: 26px; height: 26px; font-size: 10px; }
.pg-post__meta > span + span::before { content: "·"; margin-right: 10px; }
.pg-post__meta > span { white-space: nowrap; }

/* Related articles under a post: two wide cards, picture left. */
.pg-posts--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-post--row { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
.pg-post--row img { width: 100%; height: 100%; min-height: 220px; aspect-ratio: auto; object-fit: cover; }
.pg-post--row .pg-post__body { padding: 22px 24px; }
.pg-related--posts { background: var(--lp-soft); }
.lp-head--split > .lp-link { justify-self: end; margin: 0; }

/* The featured post in the blog hero. */
.pg-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(125, 162, 255, 0.45);
  border-radius: 18px;
  background: rgba(3, 16, 59, 0.75);
  box-shadow: 0 0 0 6px rgba(125, 162, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.pg-feature__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 26px; }
.pg-feature h2 { font-size: 24px; line-height: 1.2; color: #FFFFFF; }
.pg-feature p { font-size: 14.5px; line-height: 1.55; color: #C6CBDA; }
.pg-feature img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-feature .pg-byline { margin-top: auto; }

/* Forms (contact) ------------------------------------------------------------ */
.pg-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pg-field { display: flex; flex-direction: column; gap: 7px; }
.pg-field--full { grid-column: 1 / -1; }
.pg-field label, .pg-field legend { font-size: 14px; font-weight: 600; color: #0B1433; }
.pg-field input, .pg-field select, .pg-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d6dbe6;
  border-radius: 10px;
  background: #FFFFFF;
  font: inherit;
  font-size: 15px;
  color: #0B1433;
}
.pg-field textarea { min-height: 150px; resize: vertical; }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { outline: 2px solid var(--lp-blue); outline-offset: 1px; border-color: transparent; }
.pg-field small { font-size: 13px; color: #6b7280; }
.pg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #4A5057; }
.pg-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--lp-blue); }
.pg-consent a { color: #2448E0; text-decoration: underline; }
.pg-alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.pg-alert--error { background: #FDECEC; color: #9b1c1c; }
.pg-alert--ok { background: #E3F6EA; color: #0f5c2c; }
.pg-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Status rows. */
.pg-status { display: flex; flex-direction: column; border: 1px solid var(--lp-line); border-radius: 16px; background: #FFFFFF; }
.pg-status li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--lp-line); list-style: none; }
.pg-status li:last-child { border-bottom: 0; }
.pg-status h3 { font-size: 16px; color: #0B1433; }
.pg-status p { margin-top: 2px !important; font-size: 13.5px; color: #4A5057; }

/* Narrow screens ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .pg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-doc, .pg-doc--left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pg-aside { position: static; max-height: none; overflow: visible; }
  .pg-doc--left .pg-aside { order: -1; }
}

@media (max-width: 900px) {
  .pg-hero { background: var(--lp-night); }
  .pg-hero__in { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; padding-top: 32px; padding-bottom: 48px; }
  .pg-hero__title { font-size: 34px; }
  .pg-section { padding: 56px 0; }
  .pg-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pg-split--rev > :first-child { order: 0; }
  .pg-grid, .pg-grid--2, .pg-grid--4, .pg-posts, .pg-posts--pair { grid-template-columns: minmax(0, 1fr); }
  .pg-post--row { grid-template-columns: 38% minmax(0, 1fr); }
  .pg-post--row img { min-height: 160px; }
  .pg-post--row p { display: none; }
  .lp-head--split > .lp-link { justify-self: start; }
  .pg-feature { grid-template-columns: minmax(0, 1fr); }
  .pg-feature img { height: auto; aspect-ratio: 16 / 9; order: -1; }
  .pg-box ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-form { grid-template-columns: minmax(0, 1fr); }
  .pg-prose { font-size: 16px; }
  .pg-author { flex-direction: column; }
}

/* Author profile header. */
.pg-person { display: flex; align-items: center; gap: 22px; }
.pg-person p { margin-top: 6px !important; font-size: 15px; font-weight: 600; color: #7da2ff; }
.pg-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* Legal pages: the document status line under the hero lede. */
.pg-hero__status { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: #99A1BB; }
.pg-hero__status .is-warn { color: #F5C04A; }
/* The cookie-preferences button in a pg-toc card reads like its links. */
.pg-toc button { display: flex; width: 100%; padding: 8px 10px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: #4A5057; text-align: left; cursor: pointer; }
.pg-toc button:hover { color: #0B1433; background: var(--lp-soft); border-radius: 0 8px 8px 0; }

/* company group (pricing, about, contact, help, status): spacing only. */
.lp-faq__list > h3.lp-eyebrow:not(:first-child) { margin-top: 20px !important; }
.pg-split .pg-form { margin-top: 24px; }
.pg-status + .pg-note, .lp-body + .pg-note { margin-top: 20px; }

/* Blog: FAQ inside article prose, same look as the home page's .lp-faq. */
.pg-prose details { border: 1px solid var(--lp-line); border-radius: 14px; background: #FFFFFF; }
.pg-prose details + details { margin-top: 12px !important; }
.pg-prose summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: "Schibsted Grotesk", sans-serif; font-size: 16px; font-weight: 600; color: #0B1433; }
.pg-prose summary::-webkit-details-marker { display: none; }
.pg-prose summary::after { content: ""; flex: none; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%232448E0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.2s ease; }
.pg-prose details[open] summary::after { transform: rotate(45deg); }
.pg-prose summary:focus-visible { outline: 2px solid var(--lp-blue); outline-offset: 2px; border-radius: 14px; }
.pg-prose details p { margin: 0 !important; padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: #4A5057; }
/* Blog index: the featured card's button sits under the byline. */
.pg-feature .lp-btn { margin-top: 6px; }

/* features group: steps placed inside a pg-split column need air under the lead. */
.pg-split .pg-steps { margin-top: 28px; }
.pg-table-wrap + .pg-note { margin-top: 22px; }
.pg-grid + .pg-note { margin-top: 22px; }

/* Tiles on a dark band: their own type rules come later, so restate them. */
.pg-section--dark .pg-tile h3 { color: #FFFFFF; }
.pg-section--dark .pg-tile p { color: #C6CBDA; }

/* The error pages (error_404.html): the home page's night hero, the copy on
   the left, the generated picture on the right, faded into the night at its
   left edge so the two share one background. */
.err-hero { position: relative; overflow: hidden; background: var(--lp-night); color: #FFFFFF; }
.err-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: 24px; min-height: 600px; padding-top: 64px; padding-bottom: 64px; }
.err-hero__copy { position: relative; z-index: 1; max-width: 640px; }
.err-hero__code { margin-bottom: 22px !important; }
.err-hero__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #38c8f8; box-shadow: 0 0 0 4px rgba(56, 200, 248, 0.18); }
.err-hero__title { max-width: none; }
.err-hero__art { position: relative; margin-right: -120px; }
.err-hero__art img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 78%, transparent 100%); }
.err-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.err-links a { position: relative; display: block; padding: 16px 44px 16px 18px; border: 1px solid rgba(125, 162, 255, 0.22); border-radius: 12px; background: rgba(47, 91, 255, 0.06); transition: border-color 0.15s ease, background 0.15s ease; }
.err-links a::after { content: "→"; position: absolute; top: 50%; right: 18px; transform: translateY(-50%); color: #7da2ff; transition: transform 0.15s ease; }
.err-links a:hover { border-color: rgba(125, 162, 255, 0.6); background: rgba(47, 91, 255, 0.12); }
.err-links a:hover::after { transform: translate(3px, -50%); }
.err-links strong { display: block; font-family: "Schibsted Grotesk", sans-serif; font-size: 15.5px; font-weight: 600; color: #FFFFFF; }
.err-links span { display: block; padding-top: 2px; font-size: 13.5px; color: #A9B1C6; }
@media (max-width: 960px) {
  .err-hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 56px; }
  .err-hero__art { order: -1; max-width: 520px; margin: 0 auto -24px; }
}
@media (max-width: 560px) {
  .err-links { grid-template-columns: 1fr; }
}
