/* Apple-inspired dark layout shared by the about page and the home page below its hero. */
.about-apple,
.home-apple {
  --ap-bg: #000;
  --ap-card: #1d1d1f;
  --ap-card-raised: #2a2a2d;
  --ap-text: #f5f5f7;
  --ap-grey: #86868b;
  --ap-grey-light: #a1a1a6;
  --ap-blue: #0071e3;
  --ap-link: #2997ff;
  --ap-radius: 28px;
  --ap-font: "Poppins", sans-serif;
  --ap-ease: cubic-bezier(.28, .11, .32, 1);
  --ap-gutter: max(22px, calc((100vw - 1260px) / 2));
  background: var(--ap-bg);
  color: var(--ap-text);
}

.about-apple .ap,
.about-apple .floating-discovery,
.home-apple .ap,
.home-apple .floating-discovery {
  font-family: var(--ap-font);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
}

.ap {
  overflow-x: clip;
  color: var(--ap-text);
  background: var(--ap-bg);
}

.ap h1,
.ap h2,
.ap h3,
.ap p {
  margin: 0;
}

.ap strong {
  color: var(--ap-text);
  font-weight: 600;
}

/* Shared type */
.ap-eyebrow {
  margin-bottom: 12px !important;
  color: var(--ap-grey);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: .011em;
  line-height: 1.2;
}

.ap-sub,
.ap-lead {
  color: var(--ap-grey);
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  letter-spacing: .009em;
  line-height: 1.35;
}

.ap-section {
  padding: clamp(80px, 10vw, 150px) var(--ap-gutter) 0;
}

.ap-head {
  max-width: 980px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

.ap-head--center {
  margin-inline: auto;
  text-align: center;
}

.ap-head h2,
.ap-banner h2,
.ap-cta h2 {
  color: var(--ap-text);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.06;
}

.ap-head .ap-sub {
  max-width: 640px;
  margin-top: 18px;
}

.ap-head--center .ap-sub {
  margin-inline: auto;
}

/* Pill button: dark pill with a blue circular icon */
.ap-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 28px;
  color: var(--ap-text);
  font: 600 17px/1 var(--ap-font);
  letter-spacing: -.01em;
  border: 0;
  border-radius: 999px;
  background: var(--ap-card-raised);
  cursor: pointer;
  transition: background .3s var(--ap-ease), transform .3s var(--ap-ease);
}

.ap-pill:hover {
  background: #3a3a3d;
}

.ap-pill:active {
  transform: scale(.98);
}

.ap-pill:focus-visible {
  outline: 3px solid var(--ap-link);
  outline-offset: 3px;
}

.ap-pill--large {
  padding: 18px 34px;
  font-size: 19px;
}

/* Hero */
.ap-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(130px, 14vw, 190px) var(--ap-gutter) 0;
  text-align: center;
}

.ap-hero h1 {
  color: var(--ap-text);
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.02;
}

.ap-hero .ap-lead {
  max-width: 720px;
  margin: 22px 0 34px;
}

.ap-hero__media {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin: clamp(48px, 6vw, 80px) 0 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: var(--ap-radius);
  background: #0a0a0d;
}

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

/* The real logo sits on the illustration's centre tile. Its black background is blended away so only the white mark shows.
   The tile is 38.75% of the illustration's height and the mark fills about half of the logo image. */
.ap-hero__media .ap-hero__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 46%;
  object-fit: contain;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Statement with emphasis format */
.ap-statement {
  max-width: 1060px;
  margin: 0 auto;
  padding-inline: 22px;
}

.ap-statement__big {
  color: var(--ap-grey);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.16;
}

.ap-statement__small {
  max-width: 760px;
  margin-top: clamp(28px, 3vw, 40px) !important;
  color: var(--ap-grey);
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.4;
}

/* Galleries (grid on desktop, swipe row on small screens) */
.ap-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Tiles: visual card with caption below */
.ap-tile__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--ap-radius);
  background: var(--ap-card);
}

.ap-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ap-ease);
}

.ap-tile:hover .ap-tile__media img,
.ap-card:hover .ap-card__media img {
  transform: scale(1.04);
}

.ap-tile__media--verve span {
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -.035em;
  background: linear-gradient(120deg, #ff7a59 0%, #ff3d8b 35%, #a259ff 65%, #2997ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-tile__media--stac {
  place-items: center start;
  padding: clamp(28px, 3vw, 44px);
}

.ap-tile__media--stac p {
  color: var(--ap-text);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.6;
}

/* Why we exist: blurred buzzword noise with one clear signal */
.ap-tile__media--signal {
  padding: 26px 18px;
}

.ap-noise {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 16px 10px;
  overflow: hidden;
  color: var(--ap-grey);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  -webkit-mask-image: radial-gradient(46% 22% at 50% 50%, transparent 0 40%, #000 100%);
  mask-image: radial-gradient(46% 22% at 50% 50%, transparent 0 40%, #000 100%);
}

.ap-noise span {
  opacity: .6;
  filter: blur(1.2px);
}

.ap-noise span:nth-child(3n) { font-size: 24px; opacity: .45; filter: blur(2.4px); }
.ap-noise span:nth-child(4n) { font-size: 15px; opacity: .75; filter: blur(.6px); }
.ap-noise span:nth-child(5n) { font-size: 30px; font-weight: 600; opacity: .35; filter: blur(3.2px); }
.ap-noise span:nth-child(7n) { font-size: 20px; opacity: .55; filter: blur(1.8px); }

.ap-signal {
  position: relative;
  z-index: 1;
  padding: 10px 26px 14px;
  color: var(--ap-text);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(255, 255, 255, .25);
}

.ap-signal::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2997ff, #a259ff, #ff3d8b, #ff7a59);
}

.ap-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 8px;
  border-radius: 10px;
  background: #fff;
  line-height: 1.35;
  white-space: nowrap;
}

.ap-chip::before {
  content: "";
  width: .82em;
  height: .82em;
  border-radius: 6px;
  background: currentColor;
}

.ap-chip--blue { color: #0a84ff; }
.ap-chip--pink { color: #ff2d78; }
.ap-chip--green { color: #22b04b; }
.ap-chip--orange { color: #ff8a00; }

.ap-caption {
  max-width: 380px;
  padding: 22px 14px 0;
  color: var(--ap-grey);
  font-size: clamp(17px, 1.45vw, 19px);
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.42;
}

.ap-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(36px, 4vw, 52px) !important;
  color: var(--ap-grey);
  font-size: 17px;
  line-height: 1.45;
}

.ap-note span {
  padding: 5px 12px;
  color: #ff9f0a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 159, 10, .14);
}

/* Cards: image on top, text inside the card */
.ap-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ap-radius);
  background: var(--ap-card);
}

.ap-card__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #0a0a0d;
}

.ap-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ap-ease);
}

.ap-card__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ap-card__body {
  padding: 30px 32px 38px;
}

.ap-card__body h3 {
  margin-bottom: 12px;
  color: var(--ap-text);
  font-size: clamp(21px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.17;
}

.ap-card__body p {
  color: var(--ap-grey-light);
  font-size: 17px;
  line-height: 1.47;
}

/* Cut Through the Noise game, framed like a display */
.ap-play__frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 24px);
  border-radius: calc(var(--ap-radius) + 8px);
  background: var(--ap-card);
}

.about-apple .progressive-blur {
  transition: opacity .45s ease;
}

.about-apple.is-game-focus .progressive-blur.bottom-blur {
  opacity: 0;
}

.noise-game {
  width: 100%;
  font-family: var(--ap-font);
}

/* Segmented founder picker */
.founder-choices {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto clamp(14px, 1.8vw, 20px);
  padding: 4px;
  border-radius: 999px;
  background: #111113;
}

.founder-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 22px 5px 6px;
  color: var(--ap-grey);
  font: inherit;
  text-align: left;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background .3s var(--ap-ease), color .3s ease;
}

.founder-choice:hover {
  color: var(--ap-text);
}

.founder-choice[aria-pressed="true"] {
  color: var(--ap-text);
  background: var(--ap-card-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 18px rgba(0, 0, 0, .35);
}

.founder-choice:focus-visible {
  outline: 3px solid var(--ap-link);
  outline-offset: 2px;
}

.founder-choice canvas {
  width: 36px;
  height: 36px;
}

.founder-choice strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.founder-choice small {
  display: block;
  color: var(--ap-grey);
  font-size: 12px;
}

/* Arena */
.noise-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  background: #07070b;
}

.noise-canvas {
  display: block;
  width: 100%;
  height: clamp(420px, 46vw, 540px);
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.noise-stage.is-playing .noise-canvas {
  touch-action: none;
  cursor: grab;
}

.noise-canvas:focus-visible {
  outline: 3px solid var(--ap-link);
  outline-offset: -3px;
}

.noise-hud {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.noise-health {
  display: flex;
  align-items: center;
  gap: 8px;
}

.noise-health img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #2c2c30;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .16);
}

.noise-health__bar,
.noise-wave__bar {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.noise-health__bar {
  width: min(160px, 26vw);
  height: 8px;
}

.noise-health__bar i,
.noise-wave__bar i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  border-radius: inherit;
  transition: transform .2s ease;
}

.noise-health__bar i {
  background: linear-gradient(90deg, #30d158, #5ee38a);
}

.noise-health__bar i.is-low {
  background: linear-gradient(90deg, #ff453a, #ff9f0a);
}

.noise-wave {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 9px;
  color: var(--ap-text);
  font-size: 13px;
  font-weight: 600;
  border-radius: 14px;
  background: rgba(29, 29, 31, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.noise-wave__bar {
  width: 110px;
  height: 4px;
}

.noise-wave__bar i {
  transform: scaleX(0);
  background: linear-gradient(90deg, #2997ff, #bf5af2, #ff375f);
}

.noise-score {
  justify-self: end;
  color: var(--ap-text);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.noise-levels {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.noise-levels span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  color: var(--ap-grey);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(29, 29, 31, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color .3s ease;
}

.noise-levels span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .16);
  transition: background .3s ease, box-shadow .3s ease;
}

.noise-levels b {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.noise-levels span.is-on {
  color: var(--ap-text);
}

.noise-levels span.is-on::before {
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

/* Founder moment notification */
.noise-toast {
  position: absolute;
  z-index: 3;
  top: 70px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(390px, calc(100% - 32px));
  padding: 10px 16px 10px 10px;
  border-radius: 20px;
  background: rgba(44, 44, 48, .82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  opacity: 0;
  transform: translate(-50%, -24px) scale(.96);
  transition: opacity .35s ease, transform .55s var(--ap-ease);
  pointer-events: none;
}

.noise-toast.is-in {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noise-toast img {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  background: #1d1d1f;
}

.noise-toast.is-founder img {
  background: linear-gradient(#3a3a40, #1d1d1f);
}

.noise-toast strong {
  display: block;
  color: var(--ap-text);
  font-size: 13px;
  font-weight: 600;
}

.noise-toast span {
  display: block;
  color: var(--ap-grey-light);
  font-size: 13px;
  line-height: 1.35;
}

/* Start and pause overlays */
.noise-start,
.noise-paused {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  color: var(--ap-text);
  font: inherit;
  border: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(7, 7, 11, .2), rgba(7, 7, 11, .7));
  cursor: pointer;
}

.noise-start[hidden],
.noise-paused[hidden],
.noise-upgrade[hidden],
.noise-result[hidden] {
  display: none;
}

.noise-start__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px 13px 18px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--ap-blue);
  box-shadow: 0 10px 30px rgba(0, 113, 227, .45);
  transition: transform .35s var(--ap-ease);
}

.noise-start__pill svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.noise-start:hover .noise-start__pill {
  transform: scale(1.04);
}

.noise-start:disabled {
  cursor: default;
}

.noise-start:disabled .noise-start__pill {
  background: var(--ap-card-raised);
  box-shadow: none;
  transform: none;
}

.noise-start:focus-visible .noise-start__pill,
.noise-paused:focus-visible .noise-start__pill {
  outline: 3px solid var(--ap-link);
  outline-offset: 3px;
}

.noise-start__hint {
  max-width: 420px;
  color: var(--ap-grey-light);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.noise-start__hint kbd {
  display: inline-block;
  min-width: 22px;
  margin-right: 3px;
  padding: 1px 6px;
  color: var(--ap-text);
  font: 600 12px var(--ap-font);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
}

.hint-touch {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .hint-key { display: none; }
  .hint-touch { display: inline; }
}

.noise-paused .noise-start__pill {
  padding: 13px 26px;
  background: rgba(44, 44, 48, .85);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Upgrade choice */
.noise-upgrade,
.noise-result {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: rgba(7, 7, 11, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: noise-in .45s var(--ap-ease);
}

.noise-upgrade__eyebrow,
.noise-result__eyebrow {
  color: var(--ap-grey);
  font-size: 14px;
  font-weight: 600;
}

.noise-upgrade h3,
.noise-result h3 {
  margin: 6px 0 22px;
  color: var(--ap-text);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -.02em;
}

.noise-upgrade__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 210px));
  gap: 12px;
}

.noise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 20px;
  color: var(--ap-text);
  font: inherit;
  text-align: left;
  border: 0;
  border-radius: 20px;
  background: var(--ap-card);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: transform .35s var(--ap-ease), background .3s ease, box-shadow .3s ease;
  animation: noise-card-in .5s var(--ap-ease) both;
}

.noise-card:nth-child(2) { animation-delay: .06s; }
.noise-card:nth-child(3) { animation-delay: .12s; }

.noise-card:hover,
.noise-card:focus-visible {
  background: var(--ap-card-raised);
  box-shadow: inset 0 0 0 2px var(--ap-link);
  transform: translateY(-4px);
  outline: none;
}

.noise-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.noise-card__icon svg {
  width: 26px;
  height: 26px;
}

.noise-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.noise-card__title {
  font-size: 16px;
  font-weight: 600;
}

.noise-card__text {
  color: var(--ap-grey-light);
  font-size: 14px;
  line-height: 1.4;
}

.noise-card kbd {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 1px 7px;
  color: var(--ap-grey);
  font: 600 12px var(--ap-font);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
}

/* Result card */
.noise-result h3 {
  margin-bottom: 4px;
}

.noise-result__sub {
  color: var(--ap-grey-light);
  font-size: 17px;
}

.noise-result__stats {
  display: flex;
  gap: 30px;
  margin: 18px 0 22px;
}

.noise-result__stats div {
  display: flex;
  flex-direction: column-reverse;
}

.noise-result__stats dt {
  color: var(--ap-grey);
  font-size: 12px;
  font-weight: 500;
}

.noise-result__stats dd {
  margin: 0;
  color: var(--ap-text);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.noise-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.noise-again {
  padding: 14px 20px;
  color: var(--ap-link);
  font: 600 17px var(--ap-font);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.noise-again:hover {
  text-decoration: underline;
}

.noise-again:focus-visible {
  outline: 3px solid var(--ap-link);
  outline-offset: 2px;
  border-radius: 999px;
}

.noise-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

@keyframes noise-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes noise-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Approach steps */
.ap-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-step {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 34px;
  border-radius: var(--ap-radius);
  background: var(--ap-card);
}

.ap-step__num {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  background: linear-gradient(135deg, #2997ff, #a259ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-step h3 {
  margin: 48px 0 10px;
  color: var(--ap-text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.ap-step p {
  color: var(--ap-grey);
  font-size: 17px;
  line-height: 1.47;
}

/* Banner + closing CTA */
.ap-banner {
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px);
  text-align: center;
  border-radius: var(--ap-radius);
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(41, 151, 255, .22), transparent 70%),
    var(--ap-card);
}

.ap-banner .ap-sub {
  max-width: 560px;
  margin: 18px auto 0;
}

.ap-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(100px, 12vw, 170px);
  text-align: center;
}

.ap-cta h2 {
  margin: 10px 0 34px;
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 600;
  letter-spacing: -.05em;
}

/* Scroll reveal (enabled by about-apple.js) */
.ap-animate .ap-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ap-ease), transform .9s var(--ap-ease);
}

.ap-animate .ap-reveal.is-in {
  opacity: 1;
  transform: none;
}

.ap-animate .ap-gallery > .ap-reveal:nth-child(2),
.ap-animate .ap-steps > .ap-reveal:nth-child(2) { transition-delay: .08s; }
.ap-animate .ap-gallery > .ap-reveal:nth-child(3),
.ap-animate .ap-steps > .ap-reveal:nth-child(3) { transition-delay: .16s; }
.ap-animate .ap-steps > .ap-reveal:nth-child(4) { transition-delay: .24s; }

/* Tablet */
@media (max-width: 1068px) {
  .ap-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small screens: swipeable galleries, stacked founders */
@media (max-width: 834px) {
  .ap-gallery {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--ap-gutter) * -1);
    padding: 0 var(--ap-gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ap-gutter);
    scrollbar-width: none;
  }

  .ap-gallery::-webkit-scrollbar {
    display: none;
  }

  .ap-gallery > * {
    flex: 0 0 min(82vw, 360px);
    scroll-snap-align: start;
  }

  .ap-hero__media {
    aspect-ratio: 16 / 9;
  }

}

@media (max-width: 600px) {
  .about-apple {
    --ap-gutter: 16px;
    --ap-radius: 22px;
  }

  .ap-hero {
    padding-top: 120px;
  }

  .ap-pill {
    font-size: 16px;
  }

  .ap-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ap-step h3 {
    margin-top: 28px;
  }

  .ap-card__body {
    padding: 24px 24px 30px;
  }

  .ap-play__frame {
    padding: 10px;
  }

  .founder-choices {
    width: 100%;
  }

  .founder-choice {
    flex: 1;
    padding-right: 10px;
  }

  .founder-choice strong {
    font-size: 14px;
  }

  .founder-choice small {
    font-size: 11px;
  }

  .noise-canvas {
    height: 460px;
  }

  .noise-hud {
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 8px;
  }

  .noise-health__bar {
    width: 64px;
  }

  .noise-wave {
    padding: 6px 10px 8px;
    font-size: 12px;
  }

  .noise-wave__bar {
    width: 72px;
  }

  .noise-score {
    font-size: 20px;
  }

  .noise-levels {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .noise-levels span {
    padding: 4px 8px 4px 7px;
    font-size: 11px;
  }

  .noise-toast {
    top: 62px;
  }

  .noise-upgrade,
  .noise-result {
    padding: 14px;
  }

  .noise-upgrade h3,
  .noise-result h3 {
    margin-bottom: 14px;
    font-size: 24px;
  }

  .noise-upgrade__cards {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .noise-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .noise-card__icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .noise-card__title {
    font-size: 15px;
  }

  .noise-card__text {
    font-size: 13px;
  }

  .noise-card kbd {
    display: none;
  }

  .noise-result h3 {
    margin-bottom: 4px;
  }

  .noise-result__sub {
    font-size: 15px;
  }

  .noise-result__stats {
    gap: 18px;
    margin: 12px 0 14px;
  }

  .noise-result__stats dd {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-tile__media img,
  .ap-card__media img,
  .ap-pill,
  .noise-toast,
  .noise-card {
    transition: none;
  }

  .noise-upgrade,
  .noise-result,
  .noise-card {
    animation: none;
  }
}
