/* Blog: index and articles. Built on the tokens and components in styles.css. */

.site-header nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-color: var(--sky-deep);
}

/* Index hero */

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  background:
    linear-gradient(90deg, rgba(11, 25, 87, 0.028) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(rgba(11, 25, 87, 0.024) 1px, transparent 1px) 0 0 / 38px 38px,
    var(--paper);
}

.blog-hero-inner {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.blog-hero h1 {
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.01;
}

.blog-lede {
  max-width: 34ch;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.65vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.018em;
}

.blog-hero-art {
  margin: 0;
  padding: clamp(10px, 1.2vw, 14px);
  border: 1px solid rgba(11, 25, 87, 0.5);
  border-radius: 22px 18px 24px 17px;
  background: #fffaf2;
  box-shadow: 6px 7px 0 rgba(11, 25, 87, 0.12);
  transform: rotate(0.6deg);
}

.blog-hero-art img {
  width: 100%;
  height: auto;
  border-radius: 14px 11px 15px 10px;
}

/* Index list */

.blog-list {
  padding: clamp(64px, 8vw, 112px) 0 clamp(84px, 10vw, 136px);
  border-top: 1px solid var(--line);
}

.blog-list-inner {
  width: var(--page);
  margin-inline: auto;
}

.blog-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 48px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.blog-list-head h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.blog-list-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.post-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(22px, 3vw, 34px);
  list-style: none;
}

.post-card {
  border: 1px solid rgba(11, 25, 87, 0.52);
  border-radius: 18px 20px 16px 21px;
  background: rgba(248, 243, 234, 0.96);
  box-shadow: 5px 6px 0 rgba(11, 25, 87, 0.11);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.post-card:nth-child(3n + 1) { transform: rotate(-0.3deg); }
.post-card:nth-child(3n + 2) { transform: rotate(0.25deg); }
.post-card:nth-child(3n) { transform: rotate(-0.15deg); }

.post-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.post-card-art {
  margin: 12px 12px 0;
  overflow: hidden;
  border: 1px solid rgba(11, 25, 87, 0.28);
  border-radius: 12px 14px 11px 15px;
  background: #fffaf2;
  aspect-ratio: 3 / 2;
}

.post-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
}

.post-tag {
  width: max-content;
  min-height: 30px;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(11, 25, 87, 0.38);
  border-radius: 999px;
  background: #c9e3f7;
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-card h3 {
  font-size: clamp(25px, 2.3vw, 31px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.post-excerpt {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.post-meta {
  margin: auto 0 0;
  padding-top: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.post-more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.post-more span { transition: transform 220ms var(--ease); }

/* The newest article spans the row, art beside the words. */
.post-card--featured { grid-column: 1 / -1; }

.post-card--featured .post-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
}

.post-card--featured .post-card-art {
  margin: 14px 0 14px 14px;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.post-card--featured .post-card-body {
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
}

.post-card--featured h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; }

.post-card--featured .post-excerpt { font-size: clamp(17px, 1.5vw, 19px); }

.post-card--featured .post-meta { margin-top: 0; }

/* Article */

.post {
  padding: clamp(46px, 6vw, 84px) 0 clamp(72px, 9vw, 120px);
}

.post-header,
.post-body,
.post-footer {
  width: min(var(--page), 720px);
  margin-inline: auto;
}

.breadcrumb {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-underline-offset: 4px;
}

.post-header h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.03;
}

.post-standfirst {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 560;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.post-byline {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.post-cover {
  width: min(var(--page), 1040px);
  margin: clamp(34px, 5vw, 56px) auto clamp(40px, 5vw, 64px);
  padding: clamp(10px, 1.2vw, 14px);
  border: 1px solid rgba(11, 25, 87, 0.5);
  border-radius: 22px 18px 24px 17px;
  background: #fffaf2;
  box-shadow: 6px 7px 0 rgba(11, 25, 87, 0.12);
  transform: rotate(-0.35deg);
}

.post-cover img {
  width: 100%;
  height: auto;
  border-radius: 14px 11px 15px 10px;
}

.post-body {
  color: #26325f;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.7;
  letter-spacing: -0.006em;
}

.post-body p { margin: 0 0 1.15em; }

.post-body strong { color: var(--ink); font-weight: 700; }

.post-body h2 {
  margin: 2.1em 0 0.6em;
  color: var(--ink);
  font-size: clamp(28px, 2.9vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.post-body .post-lead {
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.post-highlight {
  margin: 1.6em 0;
  padding: 22px 26px;
  border-left: 4px solid var(--sky-deep);
  border-radius: 0 16px 14px 0;
  background: rgba(184, 218, 247, 0.34);
  color: var(--ink);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.post-contrast {
  margin: 1.4em 0 1.6em;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-contrast p {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(11, 25, 87, 0.42);
  border-radius: 16px 18px 14px 19px;
  background: #fffaf2;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 650;
  line-height: 1.4;
  box-shadow: 4px 5px 0 rgba(11, 25, 87, 0.09);
}

.post-contrast span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-contrast .is-no span { color: var(--coral-ink); }
.post-contrast .is-no { color: var(--ink-soft); }
.post-contrast s { text-decoration-color: rgba(207, 96, 76, 0.7); text-decoration-thickness: 2px; }
.post-contrast .is-yes { background: #d9ecfa; }
.post-contrast .is-yes span { color: var(--ink); }

/* The apps as the EverMute settings screen shows them: sand cards, filled
   chips for what stays, red struck chips for what is gone. */
.post-apps {
  margin: 1.4em 0 1.6em;
  display: grid;
  gap: 12px;
}

.app-card {
  padding: clamp(16px, 2.4vw, 20px);
  border-radius: 22px;
  background: #e6d8c7;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.app-card-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}

.app-card-icon svg { width: 21px; height: 21px; }

.app-card-name {
  color: var(--ink);
  font-size: clamp(19px, 1.8vw, 21px);
  font-weight: 760;
  letter-spacing: -0.03em;
}

.app-card-count {
  margin-left: auto;
  color: #4d5680;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.app-chips {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.app-chips li {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1.5px solid #9eccfa;
  border-radius: 999px;
  background: #9eccfa;
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
  line-height: 1;
}

.app-chips .is-off {
  border-color: #b23a2e;
  background: rgba(178, 58, 46, 0.1);
  color: #b23a2e;
}

.app-chips s { text-decoration-color: #b23a2e; text-decoration-thickness: 1.5px; }

/* Screens from the app, each in a phone. The row is wider than the text. */
.post-phones {
  --phones-w: min(860px, calc(100vw - 32px));
  width: var(--phones-w);
  margin: clamp(38px, 5vw, 56px) 0 clamp(44px, 6vw, 64px) calc((100% - var(--phones-w)) / 2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.post-phones--2 {
  --phones-w: min(580px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phone-shot {
  margin: 0;
  container-type: inline-size;
}

.phone {
  position: relative;
  padding: 9px;
  padding: 3.4cqw;
  border-radius: 40px;
  border-radius: 15cqw;
  background: linear-gradient(150deg, #323a5e 0%, #121833 38%, #0b1128 70%, #262d4f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(11, 25, 87, 0.6),
    6px 8px 0 rgba(11, 25, 87, 0.11),
    0 26px 40px -24px rgba(11, 25, 87, 0.55);
}

.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  width: 1.2cqw;
  border-radius: 2px;
  border-radius: 1cqw;
  background: #1a2140;
}

/* Volume on the left (the second key is the shadow), power on the right. */
.phone::before { left: -0.9cqw; top: 21%; height: 7.5%; box-shadow: 0 17cqw 0 #1a2140; }
.phone::after { right: -0.9cqw; top: 26%; height: 12%; }

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 31px;
  border-radius: 11.8cqw;
  background: #fff;
}

.phone-shot:nth-child(1) .phone { transform: rotate(-1.6deg); }
.phone-shot:nth-child(2) .phone { transform: translateY(-10px) rotate(0.9deg); }
.phone-shot:nth-child(3) .phone { transform: rotate(1.8deg); }
.post-phones--2 .phone-shot:nth-child(2) .phone { transform: rotate(1.5deg); }

.phone-shot figcaption {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.35;
  text-align: center;
}

.post-cta {
  margin: clamp(46px, 6vw, 64px) 0 0;
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px 26px;
  align-items: start;
  border: 1px solid rgba(11, 25, 87, 0.52);
  border-radius: 20px 22px 18px 23px;
  background:
    linear-gradient(90deg, rgba(11, 25, 87, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(11, 25, 87, 0.03) 1px, transparent 1px) 0 0 / 34px 34px,
    #c9e3f7;
  box-shadow: 6px 7px 0 rgba(11, 25, 87, 0.12);
}

.post-cta-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(11, 25, 87, 0.18);
}

.post-cta-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.post-cta-text {
  margin: 10px 0 0;
  color: #33436f;
  font-size: 17px;
  line-height: 1.5;
}

.post-cta .store-badge { grid-column: 2; margin-top: 0; }

.post-footer {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.post-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  text-underline-offset: 5px;
}

/* Five screens: three over two. */
.post-phones--5 {
  --phones-w: min(900px, calc(100vw - 32px));
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: clamp(30px, 4vw, 48px);
}

.post-phones--5 .phone-shot { grid-column: span 2; }
.post-phones--5 .phone-shot:nth-child(4) { grid-column: 2 / span 2; }
.post-phones--5 .phone-shot:nth-child(5) { grid-column: 4 / span 2; }
.phone-shot:nth-child(4) .phone { transform: rotate(-1deg); }
.phone-shot:nth-child(5) .phone { transform: rotate(1.4deg); }

/* Outside the app replicas, chips carry a mark too. */
.app-chips--marked li:not(.is-off)::before,
.app-chips--marked .is-off::before {
  margin-right: 7px;
  font-weight: 800;
}

.app-chips--marked li:not(.is-off)::before { content: "✓"; }
.app-chips--marked .is-off::before { content: "✕"; }
.app-card > .app-chips:first-child { margin-top: 0; }

.post-contrast .is-soft { color: var(--ink-soft); }
.post-contrast .is-soft span { color: var(--ink-soft); }

/* Two ways side by side: what a blunt block does, what EverMute does. */
.post-versus {
  margin: 1.5em 0 1.7em;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.versus-card {
  padding: clamp(18px, 2.4vw, 22px);
  border-radius: 22px;
  background: #ece2d4;
}

.versus-card.is-yes {
  background: #dcecfa;
  box-shadow: inset 0 0 0 1.5px #9eccfa;
}

.post-versus .versus-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 20px);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.versus-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
}

.is-no .versus-mark { background: rgba(178, 58, 46, 0.13); color: #b23a2e; }
.is-yes .versus-mark { background: var(--ink); color: var(--paper); }

.post-versus .versus-sub {
  margin: 6px 0 14px;
  color: #4d5680;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.versus-card .app-chips li { min-height: 38px; padding: 0 13px; font-size: 14px; }

/* The endless parts, named. */
.post-culprits {
  margin: 1em 0 1.4em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.post-culprits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(11, 25, 87, 0.16);
  border-radius: 16px;
  background: #fffaf2;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.post-culprits li::before {
  content: "∞";
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(207, 96, 76, 0.13);
  color: var(--coral-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.post-checks {
  margin: 0.3em 0 1.3em;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.post-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.post-checks li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  margin-top: 2px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #9eccfa;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.post-motto {
  margin: 0.8em 0 1.2em;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.post-motto li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.post-motto li::before {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.post-motto .is-keep::before { content: "✓"; background: #9eccfa; color: var(--ink); }
.post-motto .is-drop::before { content: "✕"; background: rgba(178, 58, 46, 0.13); color: #b23a2e; }

.post-body .post-quote {
  margin: 0.5em 0 0.8em;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

/* A number worth stopping on. */
.post-stat {
  margin: 1.3em 0 1.6em;
  padding: clamp(24px, 3.4vw, 34px);
  display: grid;
  gap: 8px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ink), #172b78);
  box-shadow: 6px 7px 0 rgba(11, 25, 87, 0.13);
  color: var(--paper);
}

.post-body .post-stat-from {
  margin: 0;
  color: #b8c3e6;
  font-size: 15px;
  font-weight: 650;
}

.post-body .post-stat-big {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 7.4vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.post-stat-big small {
  margin-left: 8px;
  color: var(--sky);
  font-size: 0.36em;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.post-body .post-stat-note {
  margin: 6px 0 0;
  color: #d9e0f4;
  font-size: 17px;
  line-height: 1.45;
}

.post-stat-note strong { color: #fff; }

/* Numbered steps, optionally beside a phone. */
.post-steps {
  margin: 1.2em 0 1.4em;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: step;
}

.post-steps > li {
  position: relative;
  padding: 18px 20px 18px 72px;
  border: 1px solid rgba(11, 25, 87, 0.16);
  border-radius: 20px;
  background: #fffaf2;
  counter-increment: step;
}

.post-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
  font-weight: 780;
}

.post-steps h3 {
  margin: 5px 0 4px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.post-body .post-steps p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.post-body .post-steps p + p { margin-top: 6px; }

.post-split {
  /* Aligned with the text, reaching out on the side the phone is on. */
  --reach: min(200px, calc((100vw - 100%) / 2 - 16px));
  width: calc(100% + var(--reach));
  margin: 1.4em 0 1.9em;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.post-split--phone-first {
  --reach: min(110px, calc((100vw - 100%) / 2 - 16px));
  margin-left: calc(-1 * var(--reach));
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  align-items: center;
}

.post-split .post-steps,
.post-split .app-card { margin: 0; }
.post-split .phone-shot figcaption { margin-top: 18px; }

.store-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.store-row-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(11, 25, 87, 0.16);
}

.store-row-name {
  display: grid;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.25;
}

.store-row-name small { color: var(--ink-soft); font-size: 14px; font-weight: 560; }
.store-row .store-badge { margin: 0 0 0 auto; width: 132px; min-height: 44px; }
.store-row .store-badge img { width: 132px; }

/* A quieter call to action inside the text. */
.post-inline-cta {
  margin: 1.7em 0 1.4em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.post-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 4px 5px 0 rgba(11, 25, 87, 0.14);
  color: var(--paper);
  font-size: 17px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.post-button:visited { color: var(--paper); }
.post-button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.post-inline-cta small { color: var(--ink-soft); font-size: 15px; }

/* Platforms and what happens to their endless parts. */
.post-flow {
  margin: 1.2em 0 1.5em;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flow-card {
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  border-radius: 22px;
  background: #e6d8c7;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.flow-row + .flow-row {
  padding-top: 12px;
  border-top: 1px solid rgba(11, 25, 87, 0.12);
}

.flow-row .app-card-icon { width: 34px; height: 34px; border-radius: 11px; }
.flow-row .app-card-icon svg { width: 19px; height: 19px; }
.flow-sub { width: 34px; flex: 0 0 auto; color: #4d5680; text-align: center; font-size: 17px; }

.flow-state {
  min-height: 34px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1.5px solid #9eccfa;
  border-radius: 999px;
  background: #9eccfa;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.flow-state.is-off {
  border-color: #b23a2e;
  background: rgba(178, 58, 46, 0.1);
  color: #b23a2e;
}

.app-pair {
  --split-w: min(900px, calc(100vw - 32px));
  width: var(--split-w);
  margin: 1.4em 0 1.8em calc((100% - var(--split-w)) / 2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

/* Hand-drawn illustrations inside the text. */
.post-art {
  --art-w: min(900px, calc(100vw - 32px));
  width: var(--art-w);
  margin: 1.8em 0 2em calc((100% - var(--art-w)) / 2);
}

.post-art img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 82%, transparent);
  mask-composite: intersect;
}

/* Questions, closed until asked. */
.post-faq {
  margin: 1em 0 0;
  display: grid;
  gap: 10px;
}

.post-faq details {
  border: 1px solid rgba(11, 25, 87, 0.18);
  border-radius: 18px;
  background: #fffaf2;
}

.post-faq summary {
  position: relative;
  min-height: 60px;
  padding: 17px 60px 17px 22px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

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

.post-faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    #e6d8c7;
  transition: transform 220ms var(--ease);
}

.post-faq details[open] summary::after { transform: rotate(45deg); }
.post-faq summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 18px; }
.post-body .post-faq details p { margin: 0; padding: 0 22px 20px; font-size: 17px; line-height: 1.6; }

/* The closing call with the app in a phone. */
.post-cta--phone {
  --split-w: min(900px, calc(100vw - 32px));
  width: var(--split-w);
  margin-left: calc((100% - var(--split-w)) / 2);
  grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
}

.post-cta--phone .store-badge { grid-column: auto; margin-top: 22px; }
.post-body .post-cta--phone .post-cta-avail { margin: 12px 0 0; color: #33436f; font-size: 15px; }

.post-cta-visual {
  position: relative;
  padding: 8px 18px 0;
}

.post-cta-visual .phone-shot { position: relative; z-index: 1; }

.cta-tile {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 3px 4px 0 rgba(11, 25, 87, 0.16);
  color: var(--paper);
}

.cta-tile svg { width: 25px; height: 25px; }
.cta-tile:nth-of-type(1) { left: -8px; top: 18%; transform: rotate(-8deg); }
.cta-tile:nth-of-type(2) { right: -6px; top: 42%; transform: rotate(7deg); }
.cta-tile:nth-of-type(3) { left: 0; top: 70%; transform: rotate(4deg); }

.cta-sea {
  position: absolute;
  z-index: 2;
  left: -34px;
  bottom: -4px;
  width: calc(100% + 68px);
  height: auto;
  pointer-events: none;
}

/* More to read. */
.post-related {
  width: min(var(--page), 1040px);
  margin: clamp(60px, 8vw, 96px) auto 0;
}

.post-related h2 {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.post-related .post-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-related .post-card h3 { font-size: clamp(21px, 1.9vw, 24px); }

@media (hover: hover) and (pointer: fine) {
  .post-card:hover {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: 8px 10px 0 rgba(11, 25, 87, 0.14);
  }

  .post-card:hover .post-card-art img { transform: scale(1.03); }
  .post-card:hover .post-more span { transform: translateX(4px); }
  .post-button:hover { transform: translateY(-2px); box-shadow: 5px 7px 0 rgba(11, 25, 87, 0.16); }
}

.post-card-link:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 6px;
}

@media (max-width: 940px) {
  .blog-hero-inner { grid-template-columns: 1fr; }
  .blog-hero-copy { max-width: 620px; }
  .post-card--featured .post-card-link { grid-template-columns: 1fr; }
  .post-card--featured .post-card-art { margin: 12px 12px 0; }
}

@media (max-width: 700px) {
  .blog-list-head { flex-direction: column; gap: 6px; }
  .post-contrast { grid-template-columns: 1fr; }
  .post-cta { grid-template-columns: 1fr; }
  .post-cta .store-badge { grid-column: 1; }
  .post-cover { transform: none; }

  /* Three or five phones would be too small side by side: they scroll instead. */
  .post-phones--3,
  .post-phones--5 {
    --phones-w: 100vw;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(62vw, 260px);
    gap: 18px;
    padding: 14px 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .post-phones--3::-webkit-scrollbar,
  .post-phones--5::-webkit-scrollbar { display: none; }
  .post-phones--3 .phone-shot,
  .post-phones--5 .phone-shot { grid-column: auto; scroll-snap-align: start; }
  .post-phones--5 .phone-shot:nth-child(4),
  .post-phones--5 .phone-shot:nth-child(5) { grid-column: auto; }

  .post-versus,
  .post-culprits,
  .post-flow,
  .app-pair { grid-template-columns: 1fr; }

  .post-split,
  .post-split--phone-first { --reach: 0px; grid-template-columns: 1fr; }
  .post-split .phone-shot { width: min(250px, 68vw); margin-inline: auto; }
  .post-split--phone-first .phone-shot { order: 0; }
  .post-steps > li { padding: 16px 16px 16px 64px; }
  .post-steps > li::before { left: 14px; top: 16px; }

  .post-cta--phone { grid-template-columns: 1fr; }
  .post-cta-visual { width: min(230px, 62vw); margin-inline: auto; }
  .post-faq summary { font-size: 17px; }
  .post-phones--2 { gap: 16px; }
  .phone-shot figcaption { font-size: 14px; }
  .app-card-count { font-size: 13px; }
  .app-chips li { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-card,
  .post-card-art img,
  .post-more span { transition: none; }
}
