/* RAPT product stories. Shared typography, quiet surfaces, purposeful demos. */
:root {
  --story-ink: #1d1d1f;
  --story-muted: #6e6e73;
  --story-paper: #f5f5f7;
  --story-blue: #0071e3;
  --story-width: 1120px;
}
body.market {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Geist, "PingFang TC", sans-serif;
}
:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 5px;
}
section[id],
main[id] {
  scroll-margin-top: 80px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 300;
  padding: 14px 22px;
  border-radius: 12px;
  background: #fff;
  color: #0071e3;
}
.skip-link:focus {
  top: 10px;
}
.site-menu-toggle {
  display: none;
}
.site-nav__links a[aria-current="page"],
.nav-dropdown-menu a[aria-current="page"] {
  color: #0071e3;
}
.story-width {
  width: min(var(--story-width), calc(100% - 64px));
  margin-inline: auto;
}
.story-section {
  padding-block: 112px;
  background: #fff;
}
.story-section--gray {
  background: var(--story-paper);
}
.story-section--dark {
  background: #000;
  color: #f5f5f7;
}
.story-kicker {
  display: block;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--story-muted);
}
.story-heading {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.story-heading span {
  color: var(--story-muted);
}
.story-copy {
  max-width: 480px;
  color: var(--story-muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 24px 0 0;
}
.story-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 25px;
  color: #0066cc;
  font-size: 17px;
}
.story-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-caption {
  color: var(--story-muted);
  font-size: 12px;
  line-height: 1.5;
}
.story-section--dark .story-copy,
.story-section--dark .story-kicker {
  color: #a1a1a6;
}
.story-section--dark .story-caption {
  color: #a1a1a6;
}
.story-section--dark .story-link {
  color: #2997ff;
}
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-button {
  min-height: 44px;
  border: 0;
  border-radius: 24px;
  padding: 12px 24px;
  background: var(--story-blue);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.story-button:hover {
  background: #0077ed;
}
.story-button:disabled {
  cursor: default;
  background: #545459;
}
.story-segments {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border-radius: 30px;
  background: #e8e8ed;
}
.story-segments button {
  min-height: 42px;
  padding: 10px 22px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #515154;
  cursor: pointer;
  font-size: 14px;
}
.story-segments button[aria-pressed="true"] {
  color: #1d1d1f;
  background: #fff;
  box-shadow: 0 2px 5px #0000000a;
}
.story-phone {
  width: 260px;
  max-width: 100%;
  padding: 7px;
  border: 2px solid #737378;
  border-radius: 42px;
  background: #18181a;
  box-shadow: 0 32px 50px -24px #0005;
}
.story-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 33px;
}
.story-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
}
.story-phone-wrap::before {
  content: "";
  position: absolute;
  width: 370px;
  max-width: 95%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e9e9ed;
}
.story-phone-wrap .story-phone {
  position: relative;
  transform: rotate(-5deg);
}
.story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.story-facts h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.story-facts p {
  font-size: 16px;
  color: var(--story-muted);
  line-height: 1.6;
  margin: 0;
}
.story-next {
  background: var(--story-paper);
  padding-block: 72px;
}
.story-next .story-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.story-next h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
}
.story-next .story-kicker {
  margin-bottom: 12px;
}
.story-next .story-link {
  margin: 0;
  white-space: nowrap;
}

/* A compact product ribbon gives the feature's benefit the first word. */
.product-story .apple-ribbon-hero {
  display: flex;
  flex-direction: column;
  padding: 0 0 70px;
  border: 0;
  background: #fff;
  text-align: center;
}
.product-story .apple-ribbon-nav {
  order: -1;
  align-self: stretch;
  max-width: none;
  margin: 0 0 72px;
  padding: 18px 24px;
  gap: 44px;
  background: #fafafc;
  border-bottom: 1px solid #e8e8ed;
}
.product-story .apple-ribbon-item {
  min-width: 75px;
  gap: 7px;
}
.product-story .apple-ribbon-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 0;
}
.product-story .apple-ribbon-icon svg {
  width: 26px;
  height: 26px;
}
.product-story .apple-ribbon-label {
  font-size: 11px;
}
.product-story .apple-ribbon-hero .story-kicker {
  margin: 0 20px 18px;
  color: #1d1d1f;
  font-size: 19px;
}
.product-story .apple-ribbon-hero__title {
  max-width: 1000px;
  margin: 0 auto;
  padding-inline: 24px;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}
.product-story .apple-ribbon-hero__sub {
  max-width: 630px;
  margin: 24px auto 0;
  padding-inline: 24px;
  color: #6e6e73;
  font-size: 20px;
  line-height: 1.5;
}

/* Analysis: a full-width, touchable week, not a chart inside a tiny card. */
.insight-section {
  padding-top: 0;
}
.insight-stage {
  padding: 52px 64px 30px;
  border-radius: 32px;
  background: #f5f5f7;
}
.insight-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.insight-value {
  display: block;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.insight-label {
  margin-bottom: 8px;
  font-size: 14px;
  color: #6e6e73;
}
.insight-context {
  margin: 12px 0 0;
  font-size: 14px;
  color: #0066cc;
}
.insight-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
  height: 270px;
  margin-top: 38px;
  border-bottom: 1px solid #d2d2d7;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 79px,
    #d2d2d760 80px,
    transparent 81px
  );
}
.insight-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  min-width: 0;
}
.insight-bar__value {
  font-size: 12px;
  color: #6e6e73;
  white-space: nowrap;
}
.insight-bar__fill {
  display: block;
  width: min(100%, 70px);
  height: var(--bar-height);
  min-height: 8px;
  background: #bdd6ed;
  border-radius: 9px 9px 0 0;
  transition:
    height 0.45s ease,
    background 0.2s;
}
.insight-bar[aria-pressed="true"] .insight-bar__fill,
.insight-bar:hover .insight-bar__fill {
  background: #0071e3;
}
.insight-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: #6e6e73;
}
.insight-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}
.insight-bottom p {
  margin: 0;
}
.insight-stage .story-segments {
  flex-shrink: 0;
}
.insight-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
}
.insight-summary div {
  padding-inline: 32px;
  border-left: 1px solid #d2d2d7;
}
.insight-summary div:first-child {
  border: 0;
  padding-left: 0;
}
.insight-summary strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.insight-summary p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
}
.attempt-timeline {
  border-left: 1px solid #424245;
  margin-left: 8px;
  padding-left: 32px;
}
.attempt-event {
  position: relative;
  padding: 25px 0;
  border-bottom: 1px solid #29292c;
}
.attempt-event::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: -37px;
  top: 34px;
  border-radius: 50%;
  background: #2997ff;
  box-shadow: 0 0 0 6px #000;
}
.attempt-event time {
  color: #a1a1a6;
  font-size: 13px;
}
.attempt-event strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.attempt-event p {
  margin: 0;
  color: #a1a1a6;
  line-height: 1.5;
  font-size: 15px;
}

/* Location: three individual maps, one automatic arrival/departure story. */
.place-section {
  padding-top: 0;
}
.place-stage {
  background: #f5f5f7;
  border-radius: 32px;
  overflow: hidden;
}
.place-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
}
.place-scene-picker {
  display: flex;
  gap: 28px;
}
.place-scene-picker button {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: #6e6e73;
  font-size: 14px;
  cursor: pointer;
  min-width: 58px;
}
.place-scene-picker button[aria-pressed="true"] {
  color: #1d1d1f;
  font-weight: 600;
}
.place-scene-picker button > span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  overflow: hidden;
  border-radius: 2px;
}
.place-scene-picker button[aria-pressed="true"] > span {
  background: #d2d2d7;
}
.place-scene-picker button[aria-pressed="true"] > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1d1d1f;
  transform: translateX(calc(var(--scene-progress, 0%) - 100%));
}
.place-playback {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  border: 1px solid #d2d2d7;
  background: transparent;
  color: #515154;
  cursor: pointer;
}
.place-playback:hover {
  background: #e8e8ed;
}
.place-playback svg {
  width: 20px;
  height: 20px;
  grid-area: 1 / 1;
}
.place-playback .place-play-icon {
  display: none;
}
.place-stage.is-paused .place-pause-icon {
  display: none;
}
.place-stage.is-paused .place-play-icon {
  display: block;
}
.place-playback[hidden] {
  display: none;
}
.place-map {
  position: relative;
  height: 460px;
  background: #eeefed;
  overflow: hidden;
}
.place-map-art {
  width: 100%;
  height: 100%;
  display: block;
}
.place-scene {
  pointer-events: none;
}
.place-buildings {
  fill: #dedfe0;
  stroke: #d1d3d4;
  stroke-width: 1;
}
.place-street-label {
  fill: #686a70;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 500;
}
.place-zone {
  fill: #0071e30a;
  stroke: #0071e3;
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  transition:
    fill 0.65s ease,
    stroke 0.65s ease;
}
.place-scene.is-locked .place-zone {
  fill: #e3383514;
  stroke: #d73532;
  stroke-dasharray: none;
}
.place-route {
  fill: none;
  stroke: #7d9fb9;
  stroke-width: 2.5;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
}
.place-person {
  will-change: transform;
}
.place-person-halo {
  fill: #0071e31c;
}
.place-landmark {
  color: #515154;
}
.place-landmark > circle {
  fill: #fff;
  stroke: #dedee3;
  stroke-width: 1;
}
.place-landmark-label {
  text-anchor: middle;
  font-size: 16px;
  font-weight: 600;
  fill: #1d1d1f;
  paint-order: stroke;
  stroke: #ffffff90;
  stroke-width: 3;
  stroke-linejoin: round;
}
.place-radius-label {
  font-size: 11px;
  font-weight: 400;
  fill: #515154;
  stroke-width: 2;
}
.place-map-label {
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #515154;
  background: #ffffffc7;
  backdrop-filter: blur(12px);
  padding: 9px 13px;
  border-radius: 8px;
}
.place-state-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #ffffffed;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 12px;
  color: #515154;
}
.place-state-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #0071e3;
  border-radius: 50%;
  transition: background 0.5s;
}
.place-stage[data-locked="true"] .place-state-badge {
  color: #b82b28;
}
.place-stage[data-locked="true"] .place-state-badge::before {
  background: #d73532;
}
.place-controls {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.place-status {
  min-height: 56px;
}
.place-status strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.place-status p {
  color: #6e6e73;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.place-legend {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  font-size: 11px;
  color: #6e6e73;
}
.place-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.place-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0071e3;
}
.place-legend span:last-child i {
  background: #d73532;
}
.place-map-caption {
  text-align: center;
  margin-top: 20px;
}

/* Web: a browser window tells the story without another phone screenshot. */
.web-demo-section {
  padding-top: 0;
}
.web-demo {
  width: min(860px, 100%);
  margin: 0 auto;
  border: 1px solid #dedee3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 60px -35px #0005;
}
.web-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 17px 22px;
  background: #eeeef0;
}
.web-window-dots {
  display: flex;
  gap: 6px;
}
.web-window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3c3c9;
}
.web-address {
  flex: 1;
  margin-right: 51px;
  text-align: center;
  font-size: 13px;
  border-radius: 7px;
  padding: 9px 12px;
  background: #ffffffc9;
  color: #6e6e73;
}
.web-shield {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  background: #fff;
}
.web-shield svg {
  width: 66px;
  height: 76px;
  color: #0071e3;
  margin-bottom: 24px;
}
.web-shield h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
}
.web-shield p {
  color: #6e6e73;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 360px;
}
.web-domain-picker {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.pause-dial {
  width: 300px;
  height: 300px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
}
.pause-dial svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.pause-dial circle {
  fill: none;
  stroke: #29292c;
  stroke-width: 3;
}
.pause-dial .pause-progress {
  stroke: #2997ff;
  stroke-dasharray: 879.65;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.pause-digit {
  font-size: 108px;
  font-weight: 600;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.pause-digit small {
  font-size: 28px;
  color: #a1a1a6;
  margin-left: 7px;
}
.pause-demo {
  text-align: center;
}
.pause-demo .story-caption {
  color: #a1a1a6;
  min-height: 18px;
}

/* Supporting pages receive the same editorial care as the feature pages. */
.account-intro {
  background: #fff;
  text-align: center;
  padding: 88px 24px 72px;
}
.account-intro h1,
.permission-intro h1 {
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}
.account-intro .story-copy {
  max-width: 530px;
  margin-inline: auto;
}
.account-orbit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 60px auto 40px;
}
.account-orbit__core {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: #f5f5f7;
}
.account-orbit__core img {
  width: 76px;
  height: 76px;
  border-radius: 19px;
}
.account-orbit__side {
  flex: 1;
  display: grid;
  gap: 24px;
  text-align: left;
}
.account-orbit__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  white-space: nowrap;
}
.account-orbit__item svg {
  width: 24px;
  height: 24px;
  stroke: #6e6e73;
  fill: none;
  stroke-width: 1.5;
}
.account-orbit__line {
  width: 50px;
  height: 1px;
  background: #d2d2d7;
}
.account-jumps {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #0066cc;
}
.account-jumps a:hover {
  text-decoration: underline;
}
.apple-acc-page .apple-acc-sections {
  max-width: 1050px;
  padding-block: 32px 90px;
}
.apple-acc-page .apple-acc-row {
  padding-block: 44px;
}
.apple-acc-page .apple-acc-row__title {
  font-size: 25px;
  letter-spacing: -0.03em;
}
.apple-acc-page .apple-acc-row__text {
  font-size: 17px;
  line-height: 1.6;
}
.apple-acc-page .apple-acc-tags {
  gap: 20px;
}
.apple-acc-page .apple-acc-link {
  color: #0066cc;
}
.permission-page .platform-tab-btn:not(.is-active) {
  color: #6e6e73 !important;
}
.apple-acc-page .apple-acc-tag {
  background: none;
  border: 0;
  padding: 0;
  color: #6e6e73;
  font-size: 13px;
}
.permission-intro {
  padding-block: 96px;
  background: #fff;
}
.permission-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  position: relative;
}
.permission-art::before,
.permission-art::after {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid #e1e1e6;
  border-radius: 50%;
}
.permission-art::after {
  width: 65%;
}
.permission-art svg {
  width: 150px;
  height: 180px;
  stroke: #1d1d1f;
  fill: #f5f5f7;
  stroke-width: 1.4;
}
.permission-art span {
  position: absolute;
  background: #fff;
  padding: 8px 16px;
  font-size: 13px;
  color: #6e6e73;
}
.permission-art span:nth-of-type(1) {
  top: 13%;
  left: 5%;
}
.permission-art span:nth-of-type(2) {
  right: 0;
  top: 48%;
}
.permission-art span:nth-of-type(3) {
  bottom: 9%;
  left: 15%;
}
.permission-ledger-heading {
  text-align: center;
  margin-bottom: 36px;
}
.permission-ledger-heading .story-copy {
  margin-inline: auto;
}
.permission-page .apple-ledger-row {
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.permission-page .apple-ledger-row__badge {
  background: #e8e8ed !important;
  color: #515154 !important;
  font-size: 11px;
}
.permission-page .apple-ledger-row__desc {
  font-size: 16px;
  line-height: 1.55;
}
.privacy-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 60px;
}
.privacy-principles h3 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.025em;
}
.privacy-principles p {
  color: #a1a1a6;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.intensity-page .apple-spotlight--cards {
  background: #fff;
  padding-top: 0;
  border: 0;
}
.intensity-page .apple-twin-cards {
  max-width: 1120px;
  gap: 24px;
}
.intensity-page .apple-twin-card {
  border: 0;
  box-shadow: none;
  background: #f5f5f7;
}
.intensity-page .apple-twin-card:hover {
  transform: none;
  box-shadow: none;
}
.intensity-page .apple-twin-card--strict {
  background: #000;
}
.intensity-page .apple-stage-sub {
  color: #6e6e73;
}
.intensity-page
  .apple-twin-card--strict
  :is(.apple-twin-card__title, .apple-app-name, .apple-stage-headline) {
  color: #f5f5f7;
}
.intensity-page
  .apple-twin-card--strict
  :is(.apple-twin-card__desc, .apple-stage-sub, .apple-app-status) {
  color: #a1a1a6;
}
.intensity-page .apple-twin-card__badge {
  background: none;
  padding: 0;
  color: #0066cc;
}
.intensity-page .apple-app-status--soft {
  color: #0060bf;
}
.intensity-page .apple-twin-card--strict .apple-twin-card__badge {
  color: #2997ff;
}
.intensity-page .apple-twin-card__stage {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.intensity-page .apple-twin-card__stage:focus-visible {
  outline-offset: -7px;
}
.intensity-page .apple-twin-card__footer {
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.intensity-page .apple-twin-card--strict .apple-app-status {
  background: #1d1d1f;
}
.intensity-page .apple-spotlight__heading {
  letter-spacing: -0.035em;
}
.intensity-hint {
  text-align: center;
  margin: 24px 0 0;
  font-size: 13px;
  color: #6e6e73;
}
.intensity-demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.intensity-demo-controls .intensity-hint {
  margin: 0;
}
.intensity-demo-pause {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #0066cc;
  padding: 8px 4px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.intensity-demo-pause[hidden] {
  display: none;
}
.intensity-demo-pause svg {
  width: 17px;
  height: 17px;
}
.intensity-demo-pause .intensity-play-icon,
.intensity-demo-pause.is-paused .intensity-pause-icon {
  display: none;
}
.intensity-demo-pause.is-paused .intensity-play-icon {
  display: block;
}
.intensity-page .app-mock-finger {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: #ffffffab;
  border: 1px solid #fff;
  box-shadow: 0 0 0 6px #ffffff24;
  transition: none;
}
.intensity-page .app-mock-finger::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #2997ff;
  border-radius: 50%;
  opacity: 0;
}
.intensity-page .is-demo-tapping .app-mock-finger {
  animation: intensity-demo-touch 800ms ease both;
}
.intensity-page .is-demo-tapping .app-mock-finger::after {
  animation: intensity-demo-ripple 800ms ease-out both;
}
.intensity-page .is-demo-tapping .apple-app-icon-wrap {
  animation: intensity-demo-press 800ms ease both;
}
.intensity-page .is-demo-suspended :is(.app-mock-finger, .apple-app-icon-wrap),
.intensity-page .is-demo-suspended .app-mock-finger::after {
  animation-play-state: paused;
}
@keyframes intensity-demo-touch {
  0% {
    opacity: 0;
    transform: scale(1.3);
  }
  25% {
    opacity: 1;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(0.88);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
@keyframes intensity-demo-ripple {
  0%,
  20% {
    opacity: 0;
    transform: scale(0.75);
  }
  30% {
    opacity: 0.9;
    transform: scale(0.85);
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}
@keyframes intensity-demo-press {
  0%,
  100% {
    transform: scale(1);
  }
  30%,
  50% {
    transform: scale(0.92);
  }
}
.legal-page {
  background: #fff;
}
.legal-page .legal-hero {
  padding: 90px 0 64px;
  border: 0;
  background: #f5f5f7;
}
.legal-page .legal-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.legal-page .legal-hero .lead {
  max-width: 650px;
  color: #6e6e73;
  line-height: 1.6;
  font-size: 19px;
}
.legal-page .legal-body :is(p, li) {
  color: #515154;
}
.legal-page .eyebrow {
  color: #6e6e73;
  font-size: 13px;
}
.legal-page .legal-nav a {
  padding-block: 7px;
}
.legal-page .legal-body h2 {
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.home-page .apple-card:not(.apple-card--dark) {
  background: #fff;
}
.home-routines .story-split {
  align-items: start;
}
.home-routines__list {
  display: grid;
  gap: 0;
}
.home-routines__item {
  position: relative;
  display: block;
  padding: 28px 42px 28px 0;
  border-bottom: 1px solid #d2d2d7;
}
.home-routines__item:first-child {
  padding-top: 0;
}
.home-routines__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.home-routines__item .story-kicker {
  margin-bottom: 10px;
  font-size: 12px;
}
.home-routines__item h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.home-routines__item p {
  color: #6e6e73;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.home-routines__item::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 0;
  color: #0071e3;
  font-size: 24px;
  transform: translateY(-50%);
  transition: transform 0.2s;
}
.home-routines__item:hover::after {
  transform: translate(3px, -60%);
}
.home-routines__item:hover h3 {
  color: #0066cc;
}
.trial-page .apple-trial-hero__gradient {
  background: none;
  color: #0071e3;
  -webkit-text-fill-color: currentColor;
}
.trial-page .apple-trial-equation {
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.trial-page .apple-stepper-step:focus-visible {
  outline-offset: 8px;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .site-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    color: #1d1d1f;
    cursor: pointer;
    margin-left: auto;
  }
  .site-menu-toggle svg {
    width: 22px;
    height: 22px;
  }
  .site-nav__inner {
    gap: 12px;
  }
  .site-nav__links {
    display: none;
  }
  .site-nav__actions > a:not(.nav-buy) {
    display: none;
  }
  .site-nav.is-menu-open .site-nav__links {
    display: flex;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    padding: 24px 32px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fafafc;
    max-height: calc(100dvh - 48px);
    overflow: auto;
    box-shadow: 0 16px 24px #0000000d;
  }
  .site-nav.is-menu-open .site-nav__links > a {
    padding: 13px 0;
    font-size: 20px;
  }
  .site-nav.is-menu-open .site-nav__item--dropdown {
    display: block;
    height: auto;
  }
  .site-nav.is-menu-open .nav-features-link {
    height: auto;
    padding: 10px 0;
    font-size: 13px;
    color: #6e6e73;
  }
  .site-nav.is-menu-open .nav-dropdown-menu {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 14px;
  }
  .site-nav.is-menu-open .nav-dropdown-item {
    font-size: 20px;
    padding: 10px 0;
    border: 0;
  }
  .site-nav.is-menu-open .nav-dropdown-menu::before {
    display: none;
  }
  .story-split {
    gap: 40px;
  }
  .story-facts {
    gap: 28px;
  }
  .insight-stage {
    padding: 36px;
  }
  .account-orbit {
    gap: 20px;
  }
  .account-orbit__line {
    width: 24px;
  }
}
@media (max-width: 650px) {
  .story-width {
    width: calc(100% - 40px);
  }
  .story-section {
    padding-block: 72px;
  }
  .story-split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .story-heading {
    font-size: 38px;
  }
  .story-copy {
    font-size: 17px;
  }
  .story-facts {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .story-next {
    padding-block: 48px;
  }
  .story-next .story-width {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .story-next h2 {
    font-size: 32px;
  }
  .product-story .apple-ribbon-nav {
    gap: 20px;
    justify-content: flex-start;
    padding-inline: 24px;
    overflow-x: auto;
    margin-bottom: 48px;
  }
  .product-story .apple-ribbon-item {
    min-width: 65px;
    flex-shrink: 0;
  }
  .product-story .apple-ribbon-hero {
    padding-bottom: 44px;
  }
  .product-story .apple-ribbon-hero__title {
    font-size: clamp(38px, 9.5vw, 58px);
  }
  .product-story .apple-ribbon-hero__sub {
    font-size: 17px;
  }
  .insight-section,
  .place-section,
  .web-demo-section {
    padding-top: 0;
  }
  .insight-stage {
    padding: 28px 20px 24px;
    border-radius: 24px;
  }
  .insight-top {
    flex-direction: column-reverse;
    gap: 28px;
  }
  .insight-stage .story-segments {
    align-self: center;
  }
  .insight-chart {
    height: 215px;
    gap: 11px;
  }
  .insight-days {
    gap: 11px;
    font-size: 10px;
  }
  .insight-bar__value {
    font-size: 9px;
  }
  .insight-bar__fill {
    border-radius: 5px 5px 0 0;
  }
  .insight-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
  }
  .insight-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
  }
  .insight-summary div {
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid #d2d2d7;
  }
  .story-phone-wrap {
    min-height: 530px;
  }
  .story-phone {
    width: 230px;
  }
  .place-toolbar {
    padding: 16px 20px;
    flex-direction: row;
    gap: 12px;
  }
  .place-scene-picker {
    gap: 22px;
  }
  .place-scene-picker button {
    font-size: 13px;
    min-width: 52px;
  }
  .story-segments button {
    padding-inline: 18px;
  }
  .place-map {
    height: auto;
    aspect-ratio: 1;
  }
  .place-map-art {
    position: absolute;
    inset: 0;
  }
  .place-map-label {
    font-size: 10px;
    left: 12px;
    top: 12px;
    padding: 8px 10px;
    gap: 5px;
  }
  .place-state-badge {
    top: auto;
    bottom: 12px;
    right: 12px;
    font-size: 11px;
  }
  .place-controls {
    padding: 24px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .place-status {
    min-height: 110px;
  }
  .place-status strong {
    font-size: 20px;
    line-height: 1.25;
  }
  .place-status p {
    font-size: 13px;
    max-width: 290px;
  }
  .place-legend {
    gap: 20px;
  }
  .web-toolbar {
    padding: 12px;
    gap: 10px;
  }
  .web-address {
    margin-right: 0;
  }
  .web-window-dots {
    display: none;
  }
  .web-shield {
    min-height: 340px;
  }
  .web-domain-picker .story-segments button {
    padding-inline: 13px;
    font-size: 13px;
  }
  .pause-dial {
    width: 250px;
    height: 250px;
  }
  .pause-digit {
    font-size: 90px;
  }
  .account-intro {
    padding: 64px 20px 48px;
  }
  .account-orbit {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
  }
  .account-orbit__line {
    display: none;
  }
  .account-orbit__core {
    order: -1;
    margin: 0 calc(50% - 56px);
  }
  .account-orbit__side {
    flex: 0 1 auto;
    gap: 20px;
  }
  .account-orbit__item {
    font-size: 12px;
    gap: 7px;
  }
  .account-orbit__item svg {
    width: 19px;
    height: 19px;
  }
  .account-jumps {
    gap: 16px 22px;
  }
  .permission-intro {
    padding-block: 64px 32px;
  }
  .permission-art {
    max-width: 360px;
    width: 100%;
    margin-inline: auto;
  }
  .permission-art svg {
    width: 115px;
    height: 140px;
  }
  .privacy-principles {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intensity-page .apple-spotlight--cards {
    padding-inline: 20px;
  }
  .intensity-page .apple-twin-cards {
    grid-template-columns: 1fr;
  }
  .permission-page .platform-tab-btn {
    padding-inline: 24px !important;
  }
  .legal-page .legal-hero {
    padding-block: 64px 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intensity-demo-pause {
    display: none;
  }
  .place-playback {
    display: none;
  }
  .place-scene-picker button > span::after {
    display: none;
  }
  .home-page .apple-pricing-showcase-card:not(.is-manual) .apple-scene--blocks {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
