:root {
  --page: #f5f5f7;  /* the footer's gray, and whatever shows past the page's end */
  --top: #000;      /* what shows past the page's top: the colour of the first section */
  --fg: #ededed;
  --nav-fg: #ffffff;
  --nav-h: 64px;
  --gutter: 24px;
  --chip-size: clamp(128px, 24vmin, 210px); /* the hero chip and the cards' outlines */
}

* { box-sizing: border-box; }

html, body { margin: 0; }

/* Past either end of the page (a bounce, or a window taller than the page) the
   root background shows: the footer's gray at the bottom, and at the top a
   fixed backing in the first section's colour, behind every section. */
html { background: var(--page); }
html::before {
  content: "";
  position: fixed;
  inset: 0 0 60% 0;
  z-index: -1;
  background: var(--top);
  pointer-events: none;
}
:root:has(.tier-hero.orange) { --top: #c0612b; }

body {
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}

/* The bar's background: blur under, shade over.
   Blur goes 0 at the bottom to 10px at the top. One backdrop-filter has one
   radius, so it is a stack of layers doubling in radius, each masked to its own
   band and cross-fading into the next. */
.nav-bg,
.nav-bg > i,
.nav-bg::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nav-bg > i:nth-child(1) {
  --blur: 0.625px;
  --mask: linear-gradient(to top, transparent 0%, #000 20%, #000 40%, transparent 60%);
}
.nav-bg > i:nth-child(2) {
  --blur: 1.25px;
  --mask: linear-gradient(to top, transparent 20%, #000 40%, #000 60%, transparent 80%);
}
.nav-bg > i:nth-child(3) {
  --blur: 2.5px;
  --mask: linear-gradient(to top, transparent 40%, #000 60%, #000 80%, transparent 100%);
}
.nav-bg > i:nth-child(4) {
  --blur: 5px;
  --mask: linear-gradient(to top, transparent 60%, #000 80%);
}
.nav-bg > i:nth-child(5) {
  --blur: 10px;
  --mask: linear-gradient(to top, transparent 80%, #000 100%);
}
.nav-bg > i {
  -webkit-backdrop-filter: blur(var(--blur));
  backdrop-filter: blur(var(--blur));
  -webkit-mask-image: var(--mask);
  mask-image: var(--mask);
}

/* .at-top (nav.js: the page has not scrolled) fades the blur and shade out.
   Each layer fades on its own: an opacity on .nav-bg would make it the
   layers' backdrop root, and the blur would lose the page behind it. */
.nav-bg > i,
.nav-bg::after { transition: opacity 0.3s; }
.nav.at-top .nav-bg > i,
.nav.at-top .nav-bg::after { opacity: 0; }

.nav-bg::after {
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.900) 0%,
    rgba(0, 0, 0, 0.875) 10%,
    rgba(0, 0, 0, 0.806) 20%,
    rgba(0, 0, 0, 0.706) 30%,
    rgba(0, 0, 0, 0.583) 40%,
    rgba(0, 0, 0, 0.450) 50%,
    rgba(0, 0, 0, 0.317) 60%,
    rgba(0, 0, 0, 0.194) 70%,
    rgba(0, 0, 0, 0.094) 80%,
    rgba(0, 0, 0, 0.025) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nav-fg);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img { display: block; }

.links {
  position: relative;
  display: flex;
  gap: 28px;
  margin-left: auto;
}

/* Dimmed by colour, not opacity: an opacity fade lifts the text onto a layer
   of its own for the fade, and some browsers draw it bolder there, so it
   flashed brighter as the pointer left. */
.links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.links a:hover { color: #fff; }

/* black ends under the headline; the page goes on in white */
.hero {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* top-anchored, so what goes below does not move the chip */
  justify-content: flex-start;
  gap: clamp(20px, 4vh, 40px);
  padding: calc(var(--nav-h) + 6vh) var(--gutter) clamp(56px, 10vh, 96px);
  text-align: center;
}

.chip-wrap {
  position: relative;
  width: var(--chip-size);
}

.chip,
.chip-lit {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* the marking lit during the intro, laid over the chip */
.chip-lit {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero p {
  margin: 14px auto 0;
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: #9b9ba1;
}

/* apple.com-style tiles: square, edge to edge, one small gap everywhere */
.below {
  --tile-gap: 12px;
  background: #fff;
  color: #111113;
  padding: var(--tile-gap);
}

.cards {
  display: grid;
  /* minmax(0, …): a long code line scrolls inside its card instead of
     widening the column past the screen */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tile-gap);
}

/* as tall as its content: words, buttons, outline, then the same padding as
   on top */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4.5vh, 40px) var(--gutter);
  text-align: center;
  color: #fff;
}

.card h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.card p {
  margin: 8px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.4;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.75);
}

/* The chip as line art: one outline round the package and its 64 pins (the
   package edge traced clockwise, up and round every pin). A mask, so anything
   can fill it. */
.outline {
  --chip-outline: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='45.966 45.966 308.068 308.068'><path fill='none' stroke='white' stroke-width='2.4' stroke-linejoin='round' d='M78 91A13 13 0 0 1 91 78L91.5 78L91.5 59.6A1.6 1.6 0 0 1 93.1 58L96.9 58A1.6 1.6 0 0 1 98.5 59.6L98.5 78L105.5 78L105.5 59.6A1.6 1.6 0 0 1 107.1 58L110.9 58A1.6 1.6 0 0 1 112.5 59.6L112.5 78L119.5 78L119.5 59.6A1.6 1.6 0 0 1 121.1 58L124.9 58A1.6 1.6 0 0 1 126.5 59.6L126.5 78L133.5 78L133.5 59.6A1.6 1.6 0 0 1 135.1 58L138.9 58A1.6 1.6 0 0 1 140.5 59.6L140.5 78L147.5 78L147.5 59.6A1.6 1.6 0 0 1 149.1 58L152.9 58A1.6 1.6 0 0 1 154.5 59.6L154.5 78L161.5 78L161.5 59.6A1.6 1.6 0 0 1 163.1 58L166.9 58A1.6 1.6 0 0 1 168.5 59.6L168.5 78L175.5 78L175.5 59.6A1.6 1.6 0 0 1 177.1 58L180.9 58A1.6 1.6 0 0 1 182.5 59.6L182.5 78L189.5 78L189.5 59.6A1.6 1.6 0 0 1 191.1 58L194.9 58A1.6 1.6 0 0 1 196.5 59.6L196.5 78L203.5 78L203.5 59.6A1.6 1.6 0 0 1 205.1 58L208.9 58A1.6 1.6 0 0 1 210.5 59.6L210.5 78L217.5 78L217.5 59.6A1.6 1.6 0 0 1 219.1 58L222.9 58A1.6 1.6 0 0 1 224.5 59.6L224.5 78L231.5 78L231.5 59.6A1.6 1.6 0 0 1 233.1 58L236.9 58A1.6 1.6 0 0 1 238.5 59.6L238.5 78L245.5 78L245.5 59.6A1.6 1.6 0 0 1 247.1 58L250.9 58A1.6 1.6 0 0 1 252.5 59.6L252.5 78L259.5 78L259.5 59.6A1.6 1.6 0 0 1 261.1 58L264.9 58A1.6 1.6 0 0 1 266.5 59.6L266.5 78L273.5 78L273.5 59.6A1.6 1.6 0 0 1 275.1 58L278.9 58A1.6 1.6 0 0 1 280.5 59.6L280.5 78L287.5 78L287.5 59.6A1.6 1.6 0 0 1 289.1 58L292.9 58A1.6 1.6 0 0 1 294.5 59.6L294.5 78L301.5 78L301.5 59.6A1.6 1.6 0 0 1 303.1 58L306.9 58A1.6 1.6 0 0 1 308.5 59.6L308.5 78L309 78A13 13 0 0 1 322 91L322 91.5L340.4 91.5A1.6 1.6 0 0 1 342 93.1L342 96.9A1.6 1.6 0 0 1 340.4 98.5L322 98.5L322 105.5L340.4 105.5A1.6 1.6 0 0 1 342 107.1L342 110.9A1.6 1.6 0 0 1 340.4 112.5L322 112.5L322 119.5L340.4 119.5A1.6 1.6 0 0 1 342 121.1L342 124.9A1.6 1.6 0 0 1 340.4 126.5L322 126.5L322 133.5L340.4 133.5A1.6 1.6 0 0 1 342 135.1L342 138.9A1.6 1.6 0 0 1 340.4 140.5L322 140.5L322 147.5L340.4 147.5A1.6 1.6 0 0 1 342 149.1L342 152.9A1.6 1.6 0 0 1 340.4 154.5L322 154.5L322 161.5L340.4 161.5A1.6 1.6 0 0 1 342 163.1L342 166.9A1.6 1.6 0 0 1 340.4 168.5L322 168.5L322 175.5L340.4 175.5A1.6 1.6 0 0 1 342 177.1L342 180.9A1.6 1.6 0 0 1 340.4 182.5L322 182.5L322 189.5L340.4 189.5A1.6 1.6 0 0 1 342 191.1L342 194.9A1.6 1.6 0 0 1 340.4 196.5L322 196.5L322 203.5L340.4 203.5A1.6 1.6 0 0 1 342 205.1L342 208.9A1.6 1.6 0 0 1 340.4 210.5L322 210.5L322 217.5L340.4 217.5A1.6 1.6 0 0 1 342 219.1L342 222.9A1.6 1.6 0 0 1 340.4 224.5L322 224.5L322 231.5L340.4 231.5A1.6 1.6 0 0 1 342 233.1L342 236.9A1.6 1.6 0 0 1 340.4 238.5L322 238.5L322 245.5L340.4 245.5A1.6 1.6 0 0 1 342 247.1L342 250.9A1.6 1.6 0 0 1 340.4 252.5L322 252.5L322 259.5L340.4 259.5A1.6 1.6 0 0 1 342 261.1L342 264.9A1.6 1.6 0 0 1 340.4 266.5L322 266.5L322 273.5L340.4 273.5A1.6 1.6 0 0 1 342 275.1L342 278.9A1.6 1.6 0 0 1 340.4 280.5L322 280.5L322 287.5L340.4 287.5A1.6 1.6 0 0 1 342 289.1L342 292.9A1.6 1.6 0 0 1 340.4 294.5L322 294.5L322 301.5L340.4 301.5A1.6 1.6 0 0 1 342 303.1L342 306.9A1.6 1.6 0 0 1 340.4 308.5L322 308.5L322 309A13 13 0 0 1 309 322L308.5 322L308.5 340.4A1.6 1.6 0 0 1 306.9 342L303.1 342A1.6 1.6 0 0 1 301.5 340.4L301.5 322L294.5 322L294.5 340.4A1.6 1.6 0 0 1 292.9 342L289.1 342A1.6 1.6 0 0 1 287.5 340.4L287.5 322L280.5 322L280.5 340.4A1.6 1.6 0 0 1 278.9 342L275.1 342A1.6 1.6 0 0 1 273.5 340.4L273.5 322L266.5 322L266.5 340.4A1.6 1.6 0 0 1 264.9 342L261.1 342A1.6 1.6 0 0 1 259.5 340.4L259.5 322L252.5 322L252.5 340.4A1.6 1.6 0 0 1 250.9 342L247.1 342A1.6 1.6 0 0 1 245.5 340.4L245.5 322L238.5 322L238.5 340.4A1.6 1.6 0 0 1 236.9 342L233.1 342A1.6 1.6 0 0 1 231.5 340.4L231.5 322L224.5 322L224.5 340.4A1.6 1.6 0 0 1 222.9 342L219.1 342A1.6 1.6 0 0 1 217.5 340.4L217.5 322L210.5 322L210.5 340.4A1.6 1.6 0 0 1 208.9 342L205.1 342A1.6 1.6 0 0 1 203.5 340.4L203.5 322L196.5 322L196.5 340.4A1.6 1.6 0 0 1 194.9 342L191.1 342A1.6 1.6 0 0 1 189.5 340.4L189.5 322L182.5 322L182.5 340.4A1.6 1.6 0 0 1 180.9 342L177.1 342A1.6 1.6 0 0 1 175.5 340.4L175.5 322L168.5 322L168.5 340.4A1.6 1.6 0 0 1 166.9 342L163.1 342A1.6 1.6 0 0 1 161.5 340.4L161.5 322L154.5 322L154.5 340.4A1.6 1.6 0 0 1 152.9 342L149.1 342A1.6 1.6 0 0 1 147.5 340.4L147.5 322L140.5 322L140.5 340.4A1.6 1.6 0 0 1 138.9 342L135.1 342A1.6 1.6 0 0 1 133.5 340.4L133.5 322L126.5 322L126.5 340.4A1.6 1.6 0 0 1 124.9 342L121.1 342A1.6 1.6 0 0 1 119.5 340.4L119.5 322L112.5 322L112.5 340.4A1.6 1.6 0 0 1 110.9 342L107.1 342A1.6 1.6 0 0 1 105.5 340.4L105.5 322L98.5 322L98.5 340.4A1.6 1.6 0 0 1 96.9 342L93.1 342A1.6 1.6 0 0 1 91.5 340.4L91.5 322L91 322A13 13 0 0 1 78 309L78 308.5L59.6 308.5A1.6 1.6 0 0 1 58 306.9L58 303.1A1.6 1.6 0 0 1 59.6 301.5L78 301.5L78 294.5L59.6 294.5A1.6 1.6 0 0 1 58 292.9L58 289.1A1.6 1.6 0 0 1 59.6 287.5L78 287.5L78 280.5L59.6 280.5A1.6 1.6 0 0 1 58 278.9L58 275.1A1.6 1.6 0 0 1 59.6 273.5L78 273.5L78 266.5L59.6 266.5A1.6 1.6 0 0 1 58 264.9L58 261.1A1.6 1.6 0 0 1 59.6 259.5L78 259.5L78 252.5L59.6 252.5A1.6 1.6 0 0 1 58 250.9L58 247.1A1.6 1.6 0 0 1 59.6 245.5L78 245.5L78 238.5L59.6 238.5A1.6 1.6 0 0 1 58 236.9L58 233.1A1.6 1.6 0 0 1 59.6 231.5L78 231.5L78 224.5L59.6 224.5A1.6 1.6 0 0 1 58 222.9L58 219.1A1.6 1.6 0 0 1 59.6 217.5L78 217.5L78 210.5L59.6 210.5A1.6 1.6 0 0 1 58 208.9L58 205.1A1.6 1.6 0 0 1 59.6 203.5L78 203.5L78 196.5L59.6 196.5A1.6 1.6 0 0 1 58 194.9L58 191.1A1.6 1.6 0 0 1 59.6 189.5L78 189.5L78 182.5L59.6 182.5A1.6 1.6 0 0 1 58 180.9L58 177.1A1.6 1.6 0 0 1 59.6 175.5L78 175.5L78 168.5L59.6 168.5A1.6 1.6 0 0 1 58 166.9L58 163.1A1.6 1.6 0 0 1 59.6 161.5L78 161.5L78 154.5L59.6 154.5A1.6 1.6 0 0 1 58 152.9L58 149.1A1.6 1.6 0 0 1 59.6 147.5L78 147.5L78 140.5L59.6 140.5A1.6 1.6 0 0 1 58 138.9L58 135.1A1.6 1.6 0 0 1 59.6 133.5L78 133.5L78 126.5L59.6 126.5A1.6 1.6 0 0 1 58 124.9L58 121.1A1.6 1.6 0 0 1 59.6 119.5L78 119.5L78 112.5L59.6 112.5A1.6 1.6 0 0 1 58 110.9L58 107.1A1.6 1.6 0 0 1 59.6 105.5L78 105.5L78 98.5L59.6 98.5A1.6 1.6 0 0 1 58 96.9L58 93.1A1.6 1.6 0 0 1 59.6 91.5L78 91.5L78 91Z'/></svg>");
  position: relative;
  width: var(--chip-size);
  aspect-ratio: 1;
  color: rgba(255, 255, 255, 0.9);
}

.outline .line,
.outline .glow {
  position: absolute;
  inset: 0;
}

.outline .line {
  overflow: hidden;
  background: currentColor;
  -webkit-mask: var(--chip-outline) center / contain no-repeat;
  mask: var(--chip-outline) center / contain no-repeat;
}

/* the M1 ring turning under the outline, so its colours run round the chip */
.outline.flowing .line { background: none; }
.outline.flowing .line::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: conic-gradient(from -45deg,
    #f3c1ab, #eecfb3, #b2dbe2, #33cbf3, #21b9ec, #5ab9e6, #94a3d3, #8b67e2,
    #8952de, #a636d0, #e14aaa, #f04d94, #f04f90, #f47594, #f19aa0, #f0b5a2, #f3c1ab);
  animation: flow 6s linear infinite;
}
.outline.flowing .glow { filter: blur(8px); opacity: 0.8; }

@keyframes flow { to { transform: rotate(1turn); } }

@media (prefers-reduced-motion: reduce) {
  .outline.flowing .line::before { animation: none; }
}

/* Apple-style pair: a filled pill in the card's ink, and a ghost one */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 clamp(24px, 4vh, 36px);
}

.pill {
  padding: 9px 20px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--card-bg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s;
}

.pill:hover { background: rgba(255, 255, 255, 0.85); }

.pill.ghost {
  background: transparent;
  color: #fff;
}

.pill.ghost:hover { background: rgba(255, 255, 255, 0.12); }

.card.blue { --card-bg: #050d20; background: var(--card-bg); }
.card.orange { --card-bg: #c0612b; background: var(--card-bg); }
.card.green { --card-bg: #0c2b1e; background: var(--card-bg); }

.card { scroll-margin-top: var(--nav-h); }

/* a card across the whole row */
.card.wide { grid-column: 1 / -1; }
.card.wide p { max-width: 40em; }
.card code { font-family: "SF Mono", ui-monospace, Menlo, Monaco, monospace; font-size: 0.9em; white-space: nowrap; }

/* an Apple-style text link: words and a chevron */
.card .more {
  margin-top: 14px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #8fe0b0;
  text-decoration: none;
}

.card .more::after { content: " \203A"; }
.card .more:hover { text-decoration: underline; }

.term {
  box-sizing: border-box;
  max-width: 100%;
  margin: clamp(24px, 4vh, 36px) 0 0;
  padding: 20px 24px;
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: #e8f3ec;
  font: 14px/1.6 "SF Mono", ui-monospace, Menlo, Monaco, monospace;
  text-align: left;
}

.term .prompt { color: #6fd39c; user-select: none; }

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

/* ---- Learn more pages ---- */

/* the tier's own colour, full bleed, its outline over the words */
.tier-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-h) + 8px) var(--gutter) clamp(44px, 7vh, 64px);
  text-align: center;
  color: #fff;
}

.tier-hero .outline { margin-bottom: clamp(20px, 3vh, 28px); }

.tier-hero.orange { --card-bg: #c0612b; background: var(--card-bg); }

.tier-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.tier-hero .lede {
  margin: 6px 0 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.tier-hero .sub {
  max-width: 36em;
  margin: 10px auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.8);
}

.tier-hero .pills { margin: 22px 0 0; }

.section { padding: clamp(64px, 12vh, 120px) var(--gutter); }
.section.light { background: #fff; color: #1d1d1f; }
.section.gray { background: #f5f5f7; color: #1d1d1f; }
.section.dark { background: #000; color: #f5f5f7; }
.section.navy { --card-bg: #050d20; background: var(--card-bg); color: #fff; }

.section-in {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.section .intro-text {
  max-width: 40em;
  margin: 16px auto 0;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  color: #6e6e73;
}

.section.dark .intro-text { color: #a1a1a6; }
.section.navy .intro-text { color: rgba(255, 255, 255, 0.75); }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(40px, 6vh, 64px);
}

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

.tile {
  padding: 28px;
  background: #f5f5f7;
}

.section.gray .tile { background: #fff; }
.section.dark .tile { background: #161617; }

.tile .kicker {
  font-size: 14px;
  font-weight: 600;
  color: #c0612b;
}

.section.dark .tile .kicker { color: #e8894f; }

.tile h3 {
  margin: 6px 0 8px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
}

.section.dark .tile p { color: #a1a1a6; }

.tile .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  color: #c0612b;
  text-decoration: none;
}

.tile .more::after { content: " \203A"; }
.tile .more:hover { text-decoration: underline; }

/* the feature flags Linux prints, as proof */
.hwcaps {
  max-width: 56em;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #86868b;
}

.hwcaps span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #6e6e73;
}

.hwcaps code { font-family: "SF Mono", ui-monospace, Menlo, Monaco, monospace; }

.upsell .section-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upsell .outline { margin-bottom: 32px; }
.upsell .pills { margin: 28px 0 0; }

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

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

/* Apple-style footer: light gray, small gray type, link columns */
.footer {
  background: var(--page);
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.5;
  padding: 32px var(--gutter) 24px;
}

.footer-in {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 8px;
  font-weight: 600;
  color: #1d1d1f;
}

.footer-note {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #d2d2d7;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #d2d2d7;
}

.footer h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
}

.footer-cols a {
  display: block;
  margin: 6px 0;
  color: #424245;
  text-decoration: none;
}

.footer-cols a:hover { text-decoration: underline; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
}

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

/* before and during the intro (intro.js drives it, then drops the class) */
.intro .chip,
.intro .reveal { opacity: 0; }
/* the intro only fades these whole, on their own layers */
.intro .chip,
.intro .chip-lit,
.intro .reveal { will-change: opacity; }

/* the intro's stage is the hero, not the screen */
.strips {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .links { gap: 20px; }
}
