/* ====================================================================
   Broadsheet - shared foundation for the v2 module pages
   Print register: square corners, hairline black rules, no shadows,
   light mode only. Mirrors the inline CSS in index.html - keep in sync
   until the landing page is migrated onto this file.
   ==================================================================== */

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

:root {
  --rail-gutter: max(20px, calc((100vw - 1280px) / 2));
  --content-inset: clamp(20px, 2.4vw, 36px);
  --content-gutter: calc(var(--rail-gutter) + var(--content-inset));

  --ink: #000;
  --paper: #fff;
  --body: #1a1a1a;
  --card-copy: #333;
  --meta: #555;
  --eyebrow: #888;
  --plate: #fafafa;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

.shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

button,
input {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

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

.inset {
  padding-left: var(--content-gutter);
  padding-right: var(--content-gutter);
}

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

/* --- rule primitives ------------------------------------------------ */
.divider {
  position: relative;
}

.divider::after {
  content: "";
  position: absolute;
  left: var(--rail-gutter);
  right: var(--rail-gutter);
  bottom: 0;
  height: 1px;
  background: var(--ink);
  pointer-events: none;
  z-index: 2;
}

.band {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.section-head {
  position: relative;
  margin-top: -1px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--content-gutter);
}

.section-head::before,
.section-head::after {
  content: "";
  position: absolute;
  left: var(--rail-gutter);
  right: var(--rail-gutter);
  height: 1px;
  background: var(--ink);
  pointer-events: none;
  z-index: 2;
}

.section-head::before {
  top: 0;
}

.section-head::after {
  bottom: 0;
}

/* --- type roles ----------------------------------------------------- */
.hero-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  max-width: 40ch;
}

.standfirst {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--body);
  max-width: 58ch;
}

.band-h {
  font-size: clamp(24px, 2.6vw, 34px);
  max-width: 26ch;
}

.lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
  max-width: 62ch;
  letter-spacing: 0;
}

.closing {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  max-width: 60ch;
}

.eyebrow,
.label,
.foot-col h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--eyebrow);
}

.section-head .label {
  color: var(--ink);
}

.section-head .meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--meta);
}

.section-head .meta:hover {
  color: var(--ink);
}

/* --- buttons -------------------------------------------------------- */
.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-filled {
  background: var(--ink);
  color: var(--paper);
}

.btn-filled:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Inactive CTA for a tier that is not yet purchasable. */
.btn-disabled,
.btn-disabled:hover {
  border-color: #d4d4d4;
  background: #f5f5f5;
  color: #a3a3a3;
  cursor: not-allowed;
}

/* Currency switcher sits beside the billing toggle. */
.currency-toggle {
  margin-left: 8px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-underline {
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

.link-underline:hover {
  color: var(--meta);
  border-color: var(--meta);
}

/* --- placeholder plate ---------------------------------------------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(
    45deg,
    #e8e8e8,
    #e8e8e8 3px,
    #f4f4f4 3px,
    #f4f4f4 8px
  );
  color: var(--meta);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

/* ====================================================================
   Topbar
   ==================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
}

.wordmark img,
.wordmark-svg {
  display: block;
  height: 18px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav button,
.nav a {
  border: 0;
  background: none;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  color: var(--ink);
}

.nav button:hover,
.nav a:hover {
  color: var(--meta);
}

.nav a.here {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

/* Dropdown triggers read as plain nav links, sitting beside the logo. */
.nav .nav-trigger {
  border: 0;
  padding: 0;
}

.nav .nav-trigger:hover {
  color: var(--meta);
  background: none;
}

/* The current-section trigger carries no marker. */
.nav .nav-trigger.here {
  background: none;
  color: var(--ink);
}

/* --- Dropdown panels ------------------------------------------------ */
.nav-item {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -18px;
  min-width: 340px;
  padding: 4px 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  z-index: 20;
}

.nav-menu[hidden] {
  display: none;
}

/* Desktop only: panels open on hover/focus. In the mobile drawer the hidden
   attribute drives visibility, so a focused trigger must not stay open. */
@media (min-width: 768px) {
  .nav-item:hover > .nav-menu,
  .nav-item:focus-within > .nav-menu {
    display: block;
  }
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-menu a {
  display: block;
  padding: 11px 18px;
  font-size: 16px;
}

.nav-menu a + a {
  border-top: 1px solid #e6e6e6;
}

.nav-menu a:hover {
  background: var(--plate);
  color: var(--ink);
}

.nm-line {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--meta);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.signin {
  font-size: 16px;
}

.signin:hover {
  color: var(--meta);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

/* Dropdown triggers carry a caret that flips when the panel is open. */
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-trigger[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}

/* Hover-flip is desktop only; on touch a sticky :hover would leave the caret
   flipped after a tap. In the drawer it follows aria-expanded. */
@media (min-width: 768px) {
  .nav-item:hover > .nav-trigger::after {
    transform: translateY(1px) rotate(-135deg);
  }
}

/* Features panel drops straight down under its trigger. */
.nav-menu.start {
  left: -18px;
  right: auto;
}

/* Language panel is compact: sized to its short labels. */
.nav-menu.compact,
#nav-lang {
  min-width: 0;
  white-space: nowrap;
}

.nav-menu a[aria-current="true"] {
  color: var(--ink);
  font-weight: 500;
}

/* ====================================================================
   Module page head
   ==================================================================== */
.mod-head-inner {
  padding-top: 56px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 40px;
  align-items: start;
}

.mod-head .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.mod-head .standfirst {
  margin-top: 20px;
}

.mod-head .actions {
  margin-top: 32px;
}

.mod-head .mark {
  width: 100%;
  height: auto;
  align-self: center;
}

/* ====================================================================
   Chapters - the eight-part module skeleton
   ==================================================================== */
.chapter-inner {
  padding-top: 40px;
  padding-bottom: 48px;
}

.chapter-inner .lede {
  margin-top: 18px;
}

.chapter-inner .lede + .lede {
  margin-top: 16px;
}

.chapter-num {
  font-variant-numeric: tabular-nums;
}

/* a plain definition run: term on the left, statement on the right */
.defs {
  margin-top: 28px;
  border-top: 1px solid var(--ink);
}

.defs > div {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 12px 32px;
  padding: 16px 0;
  border-bottom: 1px solid #d8d8d8;
}

.defs dt,
.defs .dt {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.defs dd,
.defs .dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  max-width: 68ch;
}

/* a run of short statements, no bullets, hairline separated */
.runs {
  margin-top: 26px;
  display: grid;
  gap: 0;
  border-top: 1px solid #d8d8d8;
}

.runs li {
  padding: 14px 0;
  border-bottom: 1px solid #d8d8d8;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  max-width: 74ch;
}

.runs li b {
  font-weight: 500;
  color: var(--ink);
}

/* the honest chapter sits on grey so it is not skimmed past */
.candid {
  background: var(--plate);
}

.candid .runs li {
  border-color: #dcdcdc;
}

/* ship date - the quarter a stated capability lands in. An annotation,
   not a badge: no box, no fill, no uppercase, nothing that reads as a
   warning. Size and the eyebrow grey carry it, which is the only
   hierarchy this register has.

   Raised with `position: relative` and left at `vertical-align: baseline`
   rather than taking the `<sup>` default of `vertical-align: super`: a
   relatively positioned box is laid out at its static position and then
   shifted, so it never enters the line-box height calculation and the
   line rhythm around it is unchanged.

   Markup, identical everywhere:
     <sup class="ship"><span class="sr-only">in build for </span>Q4 2026</sup>
   The visually hidden words are what turns "Q4 2026" from an unexplained
   number into a sentence for a screen reader. */
.ship {
  position: relative;
  top: -0.42em;
  vertical-align: baseline;
  margin-left: 0.3em;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--eyebrow);
  white-space: nowrap;
}

/* the line that explains the dates, once per page, where the reader meets
   the first one. Same size and grey as the other sourcing notes. */
.ship-note {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--meta);
}

/* pull statement - the one line a chapter is really making */
.pull {
  margin-top: 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--ink);
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 46ch;
}

/* in practice */
.practice {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.practice > div {
  padding: 24px 26px 26px;
  border-left: 1px solid var(--ink);
}

.practice > div:first-child {
  border-left: 0;
}

.practice h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--eyebrow);
}

.practice p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
}

/* next - the adjacent module */
.next {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.next a {
  padding: 22px 24px 24px;
  border-left: 1px solid var(--ink);
  background: var(--plate);
}

.next a:first-child {
  border-left: 0;
}

.next a:hover {
  background: var(--paper);
}

.next .n-lab {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--eyebrow);
}

.next .n-name {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.next .n-line {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--meta);
}

/* ====================================================================
   Get started
   ==================================================================== */
.cta-inner {
  padding-top: 56px;
  padding-bottom: 64px;
}

.cta-inner .actions {
  margin-top: 32px;
}

.cta-note {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  color: var(--meta);
  max-width: 60ch;
}

/* ====================================================================
   Footer
   ==================================================================== */
.foot-inner {
  padding-top: 48px;
  padding-bottom: 40px;
}

.foot-grid {
  margin-top: 0;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
}

.foot-col ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.foot-col a {
  font-size: 14px;
  color: var(--meta);
}

.foot-col a:hover {
  color: var(--ink);
}

/* "Coming soon" items: greyed, non-clickable, matching the landing footer. */
.foot-col .foot-soon {
  font-size: 14px;
  color: var(--eyebrow);
  cursor: default;
}

.foot-col .foot-soon em {
  font-style: normal;
  margin-left: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.foot-base {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--meta);
}

/* Language switch, moved from the topbar to the footer base. Pinned to
   the right so it sits past the copyright whether that is one span or two. */
.foot-lang {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
}

.foot-lang a {
  color: var(--meta);
  text-decoration: none;
}

.foot-lang a:hover,
.foot-lang a[aria-current="true"] {
  color: var(--ink);
}

.foot-lang .sep {
  color: var(--meta);
}

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 1024px) {
  .nav {
    gap: 16px;
  }

  .defs > div {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }

  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nav,
  .signin {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  /* Mobile header is logo + hamburger only; the CTA lives in the hero. */
  .topbar-actions {
    display: none;
  }

  /* The drawer: the same list, stacked, with the panels inline under
     their trigger rather than floating over the page. */
  .topbar-inner {
    flex-wrap: wrap;
  }

  .topbar.open .nav {
    display: block;
    order: 3;
    width: 100%;
    margin: 10px 0 2px;
    border-top: 1px solid #d8d8d8;
  }

  .topbar.open .nav > li {
    border-bottom: 1px solid #e6e6e6;
  }

  /* The trigger fills the row with its caret pushed to the right edge, and
     carries the feature-page card-title weight. */
  .topbar.open .nav > li > a,
  .topbar.open .nav > li > .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #171717;
  }

  .topbar.open .nav-menu {
    position: static;
    min-width: 0;
    margin: 0;
    border: 0;
  }

  .topbar.open .nav-menu a {
    padding: 9px 0;
  }

  .mod-head-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
    padding-bottom: 36px;
    gap: 28px;
  }

  .mod-head .mark {
    max-width: 150px;
  }

  .chapter-inner {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .defs > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .practice,
  .next {
    grid-template-columns: minmax(0, 1fr);
  }

  .practice > div,
  .next a {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .practice > div:first-child,
  .next a:first-child {
    border-top: 0;
  }

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

@media (max-width: 480px) {
  .btn {
    width: 100%;
    text-align: center;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ====================================================================
   Capability grid - nine boxes maximum. A long run of list items reads
   as documentation; discrete boxes read as a set of things the module
   does, and the box forces the copy short.
   ==================================================================== */
.grid3 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.grid3 > div {
  padding: 24px 24px 26px;
  border-left: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}

.grid3 > div:nth-child(-n + 3) {
  border-top: 0;
}

.grid3 > div:nth-child(3n + 1) {
  border-left: 0;
}

.grid3 h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.grid3 p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}

@media (max-width: 1024px) {
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid3 > div,
  .grid3 > div:nth-child(-n + 3),
  .grid3 > div:nth-child(3n + 1) {
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
  }

  .grid3 > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .grid3 > div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .grid3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid3 > div,
  .grid3 > div:nth-child(-n + 2),
  .grid3 > div:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .grid3 > div:first-child {
    border-top: 0;
  }
}

/* ====================================================================
   Sales points - three isometric marks. Same projection and stroke
   weight as the module-card marks, so this reads as part of that set.
   Strokes draw themselves in once, staggered.
   ==================================================================== */
.marks3 {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.marks3 > div {
  padding: 34px 24px 32px;
  border-left: 1px solid var(--ink);
  text-align: center;
}

.marks3 > div:first-child {
  border-left: 0;
}

.marks3 svg {
  display: block;
  width: 100%;
  max-width: 132px;
  height: auto;
  margin: 0 auto 22px;
}

.marks3 h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.marks3 [data-draw] {
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  animation: draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marks3 [data-draw] {
    stroke-dashoffset: 0;
    animation: none;
  }
}

@media (max-width: 767px) {
  .marks3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .marks3 > div {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .marks3 > div:first-child {
    border-top: 0;
  }
}

/* ====================================================================
   Capability grid - nine boxes maximum. A long run of list items reads
   as documentation; discrete boxes read as a set of things the module
   does, and the box forces the copy short.
   ==================================================================== */
.grid3 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.grid3 > div {
  padding: 24px 24px 26px;
  border-left: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}

.grid3 > div:nth-child(-n + 3) {
  border-top: 0;
}

.grid3 > div:nth-child(3n + 1) {
  border-left: 0;
}

.grid3 h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.grid3 p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}

@media (max-width: 1024px) {
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid3 > div,
  .grid3 > div:nth-child(-n + 3),
  .grid3 > div:nth-child(3n + 1) {
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
  }

  .grid3 > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .grid3 > div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .grid3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid3 > div,
  .grid3 > div:nth-child(-n + 2),
  .grid3 > div:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .grid3 > div:first-child {
    border-top: 0;
  }
}

/* ====================================================================
   Sales points - the reasons to buy, as a list. Boxes made them read as
   four more features; a list reads as an argument.
   ==================================================================== */
.sales {
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}

.sales li {
  padding: 16px 0;
  border-bottom: 1px solid #d8d8d8;
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
  max-width: 78ch;
}

.sales li b {
  font-weight: 500;
  color: var(--ink);
}

/* ====================================================================
   Project / feature stack - one row under the next, picture alternating.
   Shared with the landing page's Features section.
   ==================================================================== */
.wide {
  max-width: none;
}

.hero-inner {
  padding-top: 72px;
  padding-bottom: 56px;
}

.hero-inner .standfirst {
  margin-top: 20px;
}

.hero-inner .actions {
  margin-top: 36px;
}

.projects-inner {
  padding-top: 40px;
  padding-bottom: 56px;
}

.projects-inner .intro {
  margin-top: 16px;
}

.stack {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.stack-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  padding: 40px 0;
  border-bottom: 1px solid var(--ink);
  align-items: start;
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-row:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.stack-row:nth-child(even) .stack-media {
  grid-column: 2;
  grid-row: 1;
}

.stack-row:nth-child(even) .stack-copy {
  grid-column: 1;
  grid-row: 1;
}

.stack-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    #e8e8e8,
    #e8e8e8 3px,
    #f4f4f4 3px,
    #f4f4f4 8px
  );
}

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

.stack-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--eyebrow);
}

.stack-copy h3 {
  margin-top: 12px;
  font-size: clamp(21px, 2.05vw, 28px);
  text-wrap: balance;
}

.stack-copy .lede {
  margin-top: 16px;
  max-width: 56ch;
}

.proj-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--meta);
}

.proj-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proj-tags span {
  border: 1px solid #d8d8d8;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--meta);
}

.proj-cta {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .stack-row,
  .stack-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .stack-row:nth-child(even) .stack-media,
  .stack-row:nth-child(even) .stack-copy {
    grid-column: 1;
    grid-row: auto;
  }
}
