/* SupaSet — landing page.
   Tokens mirror Packages/DesignSystem (Surface, Ink, Line, Theme). */

:root {
  --canvas: #f4f3ef;
  --sunken: #e6e5e1;
  --surface: #ffffff;
  --raised: #fbfaf7;
  --ink: #17181a;
  --ink-2: #5a5c5e;
  --ink-3: #84868a;
  --ink-4: #aeb0b2;
  --line: #e0dfda;
  --line-strong: #c9c7c1;
  --fill: rgba(23, 24, 26, 0.055);
  --accent: #b4462a;
  --on-accent: #ffffff;
  --accent-ink: #87301a;
  --accent-soft: rgba(180, 70, 42, 0.1);
  --success: #0d6640;
  --sage: #4f7a5f;
  --record: #96742f;
  --record-edge: #c7a36a;
  --warning: #b4681c;
  /* the app's slate data ink: history shading and weekly bars */
  --slate-1: #c3ccd7;
  --slate: #7a8ca3;
  --slate-strong: #5a7393;
  --cell: #ecebe6;
  --frame: #c8c6c1;

  /* always-dark stage, as in the app's HeroStage */
  --stage: #151515;
  --stage-raised: #1e1e1e;
  --stage-ink: #f2f1ed;
  --stage-ink-2: #9c9c9c;
  --stage-line: rgba(255, 255, 255, 0.1);

  --shadow-phone:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 80px -30px rgba(23, 24, 26, 0.35),
    0 18px 36px -18px rgba(23, 24, 26, 0.25);
  --shadow-card:
    0 1px 2px rgba(23, 24, 26, 0.06), 0 12px 32px -12px rgba(23, 24, 26, 0.18);

  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --round:
    ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0d0e0f;
    --sunken: #08090a;
    --surface: #151719;
    --raised: #1b1d20;
    --ink: #f2f1ed;
    --ink-2: #a2a3a0;
    --ink-3: #7e807e;
    --ink-4: #5c5e5d;
    --line: #2c2f33;
    --line-strong: #3b3f45;
    --fill: rgba(255, 255, 255, 0.055);
    --accent: #f08a5d;
    --on-accent: #0a0a0a;
    --accent-ink: #f7a784;
    --accent-soft: rgba(240, 138, 93, 0.16);
    --success: #68d69a;
    --sage: #8fb79c;
    --record: #d9b26a;
    --record-edge: #f0d49a;
    --slate-1: #34404e;
    --slate: #56697f;
    --slate-strong: #7f97b5;
    --cell: #202326;
    --frame: #3a3c41;
    --stage: #1e1e1e;
    --stage-raised: #262626;
    --shadow-phone:
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 40px 80px -30px rgba(0, 0, 0, 0.8);
    --shadow-card:
      0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
picture {
  display: contents;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(42px, 11.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 730;
}
h2 {
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 710;
}
h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 650;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
.overline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.fine {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}
.text-link {
  display: inline-flex;
  padding-block: 10px;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--accent-ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  padding: 12px 24px;
  border: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--ink {
  background: var(--ink);
  color: var(--canvas);
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  color: #17181a;
  background: #edc99e;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.badge--quiet {
  background: var(--fill);
  color: var(--ink-2);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--canvas);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.brand img {
  border-radius: 7px;
}
.brand picture {
  display: flex;
}
.nav .brand {
  height: 50px;
}
.nav__status {
  margin-left: auto;
  font-size: 11px;
  color: var(--ink-2);
}
.nav__links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-bottom: 8px;
}
.nav__links a {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.nav__links a[aria-current="page"] {
  color: var(--ink);
  background: var(--fill);
  font-weight: 600;
}
.nav__download {
  display: none;
}
.foot {
  border-top: 1px solid var(--line);
}
.foot__inner {
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.foot .brand {
  font-size: 16px;
}
.foot nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  order: 3;
  gap: 16px;
}
.foot a:not(.brand) {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 4px;
}
.foot__inner > span {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-2);
}
.contact {
  padding-block: 38px 44px;
  display: grid;
  gap: 30px;
}
.contact__intro > .overline {
  margin-bottom: 18px;
}
.contact__intro .lede {
  margin-top: 20px;
  max-width: 24em;
}
.contact-address {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 18px;
}
.contact-address p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.text-button {
  padding: 10px 0;
  background: none;
  border: 0;
  text-decoration: underline;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
}
.note {
  display: grid;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  min-width: 0;
}
.note h2 {
  font-size: 25px;
  margin-bottom: 2px;
}
.note__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.note__field > span {
  font-size: 13px;
  font-weight: 550;
}
.note__field small {
  color: var(--ink-2);
  margin-left: 6px;
  font-weight: 400;
}
.note__field input,
.note__field select,
.note__field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--canvas);
  font-size: 16px;
}
.note__field textarea {
  min-height: 150px;
  resize: vertical;
}
.note .btn {
  width: 100%;
}
.note .fine {
  margin-top: -10px;
  font-size: 12px;
}
.note__error {
  color: var(--warning);
  font-size: 13px;
}
.contact-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact-help > span {
  font-size: 13px;
  color: var(--ink-2);
}
.contact-help a {
  display: inline-flex;
  gap: 24px;
  padding-block: 6px;
  font-size: 14px;
  text-underline-offset: 4px;
}
.missing {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 28px;
}
.faq {
  display: grid;
  gap: 28px;
  padding-block: 40px 56px;
  border-top: 1px solid var(--line);
}
.faq h2 {
  margin-top: 16px;
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  position: relative;
  padding: 18px 30px 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 550;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 16px;
  color: var(--ink-2);
  font-size: 20px;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  padding-bottom: 20px;
  padding-right: 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.tools-section {
  padding-block: 48px;
}
.chapter-head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.chapter-head > p:last-child:not(.overline) {
  color: var(--ink-2);
  max-width: 34em;
}
.feature-pair {
  display: grid;
  gap: 30px;
}
.screen-stage {
  background: var(--surface);
  border-radius: 24px;
  padding: 26px 16px 22px;
  display: grid;
  justify-items: center;
  gap: 20px;
}
.screen-stage--sage {
  background: #e0e3d8;
}
.screen-stage--clay {
  background: #e8dacf;
}
.screen-stage figcaption {
  color: #565b52;
  font-size: 12px;
  text-align: center;
}
.feature-notes {
  display: grid;
  align-content: center;
  gap: 28px;
}
.feature-notes p {
  margin-top: 10px;
  color: var(--ink-2);
}
.feature-notes article + article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.rest-note img {
  width: min(100%, 340px);
  height: auto;
  margin-top: 22px;
  border-radius: 24px;
}
.pro-section {
  padding-block: 48px;
  background: #191b19;
  color: #f1f1e9;
}
.pro-section .overline,
.pro-section .lede,
.pro-section .fine {
  color: #a6ada4;
}
.pro-head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}
.pro-head .lede {
  max-width: 30em;
}
.pro-program {
  display: grid;
  gap: 28px;
}
.feature-number {
  display: block;
  font-size: 12px;
  color: #a6ada4;
  margin-bottom: 14px;
}
.pro-program h3,
.pro-tools h3 {
  font-size: 28px;
  max-width: 12em;
}
.pro-program p,
.pro-tools p {
  color: #b6bcb3;
  margin-top: 14px;
}
.program-facts {
  display: flex;
  gap: 26px;
  border-top: 1px solid #ffffff20;
  margin-top: 24px;
  padding-top: 18px;
}
.program-facts span {
  font-size: 11px;
  color: #a6ada4;
}
.program-facts b {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #f1f1e9;
}
.screen-stage--pro {
  background: #2c322b;
}
.screen-stage--pro figcaption {
  color: #c0c7bc;
}
.pro-tools {
  display: grid;
  gap: 36px;
  margin-top: 36px;
}
.pro-tools > article {
  padding-top: 30px;
  border-top: 1px solid #ffffff20;
}
.target-steps {
  margin-block: 22px 14px;
}
.target-steps > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  border-bottom: 1px solid #ffffff15;
}
.target-steps > div:last-child {
  background: #dce5d3;
  border-radius: 10px;
  color: #283027;
  border: 0;
}
.target-steps span {
  font-size: 12px;
  white-space: nowrap;
}
.target-steps b {
  font-size: 17px;
  font-weight: 600;
}
.target-steps em {
  font-style: normal;
  font-size: 11px;
}
.target-steps + .fine {
  font-size: 11px;
}
.ask-example {
  border: 1px solid #ffffff24;
  border-radius: 18px;
  padding: 20px;
  margin-block: 22px;
  position: relative;
  background: #ffffff05;
}
.ask-example p {
  margin: 0;
}
.ask-example p + p {
  color: #f1f1e9;
  font-size: 22px;
  line-height: 1.4;
  margin-top: 14px;
  padding-bottom: 36px;
}
.ask-example > span {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1d251b;
  background: #dce5d3;
}
.pro-foot {
  border-top: 1px solid #ffffff20;
  margin-top: 36px;
  padding-top: 24px;
  display: grid;
  gap: 18px;
}
.pro-foot p {
  color: #a6ada4;
  font-size: 14px;
}
.pro-foot b {
  color: #f1f1e9;
  font-weight: 500;
}
.pro-foot > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.record-example {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--record-edge);
  border-radius: 14px;
}
.record-example > span {
  font-size: 11px;
  color: var(--ink-2);
}
.record-example strong {
  display: block;
  font-size: 36px;
  line-height: 1.2;
  margin-top: 6px;
  letter-spacing: -0.04em;
}
.record-example small {
  font-size: 18px;
  color: var(--ink-2);
  font-weight: 500;
}
.record-example em {
  float: right;
  margin-top: 10px;
  font-size: 18px;
  color: var(--record);
  font-style: normal;
  letter-spacing: 0;
}
.tools-section {
  border-top: 1px solid var(--line);
}
.tools-grid {
  display: grid;
  gap: 26px;
}
.tools-copy > p {
  color: var(--ink-2);
  margin-top: 10px;
}
.demo-label {
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 4px;
}
.warmup-note {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 26px;
}
.warmup-note > p {
  color: var(--ink-2);
  margin-top: 10px;
}
.warmup-ramp {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.warmup-ramp > span {
  padding: 10px;
  flex: 1;
  background: var(--fill);
  border-radius: 10px;
  font-size: 11px;
  white-space: nowrap;
}
.warmup-ramp > span:nth-child(2) {
  padding-top: 24px;
}
.warmup-ramp > span:nth-child(3) {
  padding-top: 38px;
}
.warmup-ramp b {
  display: block;
  font-size: 24px;
}
.data-section {
  border-top: 1px solid var(--line);
  padding-block: 48px;
  display: grid;
  gap: 28px;
}
.data-section h2 {
  margin-top: 16px;
}
.data-list {
  display: grid;
  gap: 24px;
}
.data-list p {
  margin-top: 10px;
  color: var(--ink-2);
}
.loader {
  padding: 22px 22px 24px;
  border-radius: 30px;
  background: #f4f3ef;
  color: #17181a;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.loader__top {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
}
.loader__total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.loader__total output {
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.loader__total span {
  font-size: 20px;
  font-weight: 650;
  color: #84868a;
  text-transform: uppercase;
}
.step-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #e0dfda;
  background: #fbfaf7;
  color: #17181a;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition:
    background-color 0.2s,
    transform 0.2s var(--spring);
}
.step-btn:hover {
  background: #fff;
}
.step-btn:active {
  transform: scale(0.9);
}
.loader__bar {
  width: 100%;
  height: auto;
  margin: 14px 0 4px;
  overflow: visible;
}
.loader__bar .plate {
  cursor: pointer;
}
.loader__bar .plate.is-new {
  transform-box: fill-box;
  transform-origin: left center;
  animation: slide-on 0.45s var(--spring) both;
}
.loader__bar .plate:hover rect:first-child {
  filter: brightness(1.08);
}
.loader__bar text {
  font: 700 15px var(--font);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
@keyframes slide-on {
  from {
    transform: translateX(70px);
    opacity: 0;
  }
}
.loader__side {
  text-align: center;
  font-weight: 500;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  min-height: 1.4em;
}
.loader__hint {
  text-align: center;
  font-size: 14px;
  color: #84868a;
  margin-top: 2px;
}
.loader__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
}
.loader__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #84868a;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #e6e5e1;
}
.seg button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  color: #5a5c5e;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.seg button[aria-checked="true"] {
  background: #fff;
  color: #17181a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-plate {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font: 700 14px var(--font);
  font-variant-numeric: tabular-nums;
  background: var(--fill-c);
  color: var(--ink-c);
  border: 2px solid var(--edge-c);
  box-shadow:
    inset 0 0 0 4px var(--fill-c),
    inset 0 0 0 5px color-mix(in srgb, var(--edge-c) 55%, transparent);
  transition:
    transform 0.25s var(--spring),
    opacity 0.2s;
}
.chip-plate:hover {
  transform: translateY(-2px);
}
.chip-plate:active {
  transform: scale(0.92);
}
.chip-plate:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.loader {
  padding: 20px 16px;
  border-radius: 24px;
  min-width: 0;
  align-self: start;
}
.chips {
  justify-content: center;
  gap: 6px;
}
.chip-plate {
  width: 44px;
  height: 44px;
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 699px) {
  .home-basics {
    gap: 14px;
    padding-block: 36px;
  }
  .home-basics h2 {
    font-size: 28px;
  }
  .benefit-list li {
    padding-block: 18px;
  }
  .benefit-list h3 {
    font-size: 19px;
  }
  .benefit-list p {
    margin-top: 5px;
    font-size: 14px;
  }
  .next-session {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .next-session > .overline,
  .next-session > .fine {
    grid-column: 1 / -1;
  }
  .next-session__done {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 4px 12px 4px 0;
  }
  .next-session__done strong {
    display: block;
    line-height: 1.4;
  }
  .next-session__done strong span {
    display: block;
  }
  .next-session__done > b {
    display: none;
  }
  .next-session__next {
    padding: 4px 0;
  }
  .next-session__next strong {
    font-size: 32px;
    line-height: 1.4;
  }
  .next-session__next small {
    font-size: 14px;
  }
  .next-session__next p {
    font-size: 11px;
  }
  .launch {
    padding-block: 48px;
  }
}

@media (max-width: 699px) {
  .chips {
    max-width: 220px;
    margin-inline: auto;
  }
}

/* Product tour: real app screens, open layouts and SupaSet's existing palette. */
.home-page h1,
.features-page h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1.01;
  letter-spacing: -0.065em;
  font-weight: 720;
}
.home-page h2,
.features-page h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.badge {
  color: var(--canvas);
  background: var(--ink);
  border-radius: 5px;
}
.badge--quiet {
  color: var(--ink-2);
  background: var(--fill);
}
.device {
  width: 240px;
  max-width: 100%;
  padding: 5px;
  background: var(--frame);
  border: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
  border-radius: 35px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
}
.small-rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.home-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding-block: 68px 56px;
}
.home-hero__copy {
  position: relative;
  z-index: 2;
}
.home-hero h1 {
  margin-block: 26px;
}
.home-hero .lede {
  font-size: 20px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.hero-actions p {
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.5;
}
.hero-actions .btn {
  padding-inline: 21px;
  white-space: nowrap;
}
.app-spread {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  padding: 26px 0 60px;
  min-width: 0;
}
.app-spread__back {
  transform: rotate(-6deg) translateX(10px);
}
.app-spread__front {
  transform: rotate(5deg) translateX(-5px);
  margin-top: 74px;
}
.app-spread .device {
  width: 100%;
}
.app-spread__front .device {
  position: relative;
  z-index: 1;
}
.screen-label {
  display: block;
  font-size: 10px;
  color: var(--ink-2);
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.04em;
}
.app-spread figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: var(--ink-3);
  font-size: 11px;
}
.everyday {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  border-block: 1px solid var(--line);
  padding-block: 42px;
}
.section-number {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.everyday h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  margin-block: 18px 12px;
}
.everyday p {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 24em;
}
.story-copy {
  display: grid;
  gap: 24px;
  align-content: center;
  justify-items: start;
  min-width: 0;
}
.story-copy > p:not(.overline) {
  color: var(--ink-2);
  max-width: 30em;
  font-size: 17px;
}
.story-copy .text-link {
  padding-block: 4px;
}
.story-aside {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 22em;
  font-size: 13px;
}
.story-aside b {
  font-weight: 550;
}
.story-aside span {
  color: var(--ink-2);
}
.program-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 64px;
  margin-top: 72px;
  border-radius: 32px;
  background: var(--stage);
  color: var(--stage-ink);
}
.program-preview .story-copy > p,
.program-preview .overline,
.program-preview .story-aside span {
  color: var(--stage-ink-2);
}
.program-preview .story-aside {
  border-color: var(--stage-line);
}
.program-preview .badge {
  background: var(--stage-ink);
  color: var(--stage);
}
.program-preview__screens {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.program-preview__screens .device {
  width: 266px;
  transform: rotate(3deg);
}
.program-preview figcaption {
  color: var(--stage-ink-2);
  font-size: 11px;
}
.activity-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding-block: 92px;
}
.activity-demo {
  justify-self: center;
  width: 270px;
  max-width: 100%;
}
.activity-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 1392;
  padding: 5px;
  border-radius: 39px;
  border: 1px solid #5b5c5d;
  background: #242527;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  isolation: isolate;
}
.activity-frame {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
  border-radius: 33px;
  opacity: 0;
  animation: 14s linear infinite;
  background: #000;
}
.activity-frame--lock {
  opacity: 1;
  animation-name: activity-lock;
  z-index: 1;
}
.activity-frame--compact {
  animation-name: activity-compact;
  z-index: 2;
}
.activity-frame--expanded {
  animation-name: activity-expanded;
  z-index: 3;
}
.activity-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  min-height: 36px;
}
.activity-label {
  position: relative;
  width: 140px;
  height: 20px;
  font-size: 11px;
  color: var(--ink-2);
}
.activity-label > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.activity-label--lock {
  animation: activity-lock-label 14s linear infinite;
}
.activity-label--island {
  opacity: 0;
  animation: activity-island-label 14s linear infinite;
}
.activity-controls button {
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  background: transparent;
  padding: 7px 11px;
  border-radius: 100px;
  min-height: 36px;
  font-size: 11px;
  cursor: pointer;
}
.activity-controls button span {
  margin-left: 8px;
}
.activity-demo.is-paused *,
.activity-demo.is-offscreen * {
  animation-play-state: paused !important;
}
.activity-still {
  display: none;
}
@keyframes activity-lock {
  0%,
  31% {
    opacity: 1;
  }
  35%,
  94% {
    opacity: 0;
  }
  98%,
  100% {
    opacity: 1;
  }
}
@keyframes activity-compact {
  0%,
  31% {
    opacity: 0;
  }
  35%,
  46% {
    opacity: 1;
  }
  50%,
  80% {
    opacity: 0;
  }
  84%,
  94% {
    opacity: 1;
  }
  98%,
  100% {
    opacity: 0;
  }
}
@keyframes activity-expanded {
  0%,
  46% {
    opacity: 0;
  }
  50%,
  80% {
    opacity: 1;
  }
  84%,
  100% {
    opacity: 0;
  }
}
@keyframes activity-lock-label {
  0%,
  31% {
    opacity: 1;
  }
  35%,
  94% {
    opacity: 0;
  }
  98%,
  100% {
    opacity: 1;
  }
}
@keyframes activity-island-label {
  0%,
  31% {
    opacity: 0;
  }
  35%,
  94% {
    opacity: 1;
  }
  98%,
  100% {
    opacity: 0;
  }
}
.section-intro {
  display: grid;
  gap: 22px;
  margin-bottom: 44px;
}
.section-intro > p:not(.overline) {
  color: var(--ink-2);
  max-width: 36em;
  font-size: 17px;
}
.home-details {
  padding-block: 20px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-story {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-decoration: none;
  min-width: 0;
}
.detail-story--places {
  background: var(--surface);
}
.detail-story--progress {
  background: var(--sunken);
}
.detail-story h3 {
  margin-block: 20px 14px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.detail-story p:not(.overline) {
  color: var(--ink-2);
  font-size: 14px;
}
.detail-story__link {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.detail-story .device {
  padding: 3px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transform: rotate(4deg);
}
.detail-story .device img {
  border-radius: 18px;
}
.detail-story--progress .device {
  transform: rotate(-4deg);
}
.launch {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
  padding-block: 110px;
}
.launch > p:not(.overline) {
  max-width: 30em;
  color: var(--ink-2);
}
.launch .fine a {
  display: block;
  margin-top: 14px;
  text-underline-offset: 4px;
}
.tour-intro {
  padding-top: 66px;
}
.tour-intro h1 {
  margin-block: 26px 32px;
}
.tour-intro h1 span {
  color: var(--ink-2);
}
.tour-intro__bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}
.tour-intro__bottom .fine {
  text-align: right;
}
.feature-index {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 48px;
  border-block: 1px solid var(--line);
}
.feature-index a {
  padding: 18px 8px 18px 0;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.feature-index a:hover {
  color: var(--accent-ink);
}
.feature-index span {
  color: var(--ink-3);
  display: block;
  font-size: 10px;
  margin-bottom: 8px;
}
.tour-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
  padding-block: 88px;
}
.feature-ledger {
  margin: 10px 0 0;
  width: 100%;
}
.feature-ledger > div {
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.feature-ledger > div:last-child {
  padding-bottom: 0;
}
.feature-ledger dt {
  font-size: 15px;
  font-weight: 600;
}
.feature-ledger dd {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  max-width: 30em;
}
.screen-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  min-width: 0;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.screen-pair > div:nth-child(2) {
  margin-top: 110px;
}
.screen-pair .device {
  width: 100%;
  padding: 4px;
  border-radius: 30px;
}
.screen-pair .device img {
  border-radius: 25px;
}
.screen-pair--places {
  background: var(--sunken);
}
.screen-pair--places > div:nth-child(2) {
  margin-top: 72px;
}
.features-page .activity-story {
  border-block: 1px solid var(--line);
}
.plain-list {
  list-style: none;
  width: 100%;
  margin-top: 8px;
}
.plain-list li {
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-block: 12px;
}
.plain-list li::before {
  content: "↗";
  display: inline-block;
  width: 28px;
  color: var(--ink-3);
}
.program-tour {
  padding-block: 78px;
  background: var(--stage);
  color: var(--stage-ink);
}
.program-tour .overline,
.program-tour .section-intro > p:not(.overline) {
  color: var(--stage-ink-2);
}
.program-tour .badge {
  background: var(--stage-ink);
  color: var(--stage);
}
.program-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.program-gallery figure {
  display: grid;
  justify-items: center;
  min-width: 0;
}
.program-gallery figure:nth-child(2) {
  padding-top: 60px;
}
.program-gallery figure:nth-child(3) {
  padding-top: 120px;
}
.program-gallery .device {
  width: 252px;
}
.program-gallery figcaption {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  width: 100%;
  text-align: center;
}
.program-gallery figcaption span {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stage-ink-2);
}
.program-gallery figcaption b {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.program-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--stage-line);
  color: var(--stage-ink-2);
  font-size: 14px;
}
.single-screen {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 44px 20px;
  border-radius: 28px;
  background: var(--sunken);
}
.single-screen .device {
  width: 260px;
}
.single-screen figcaption {
  font-size: 11px;
  color: var(--ink-2);
}
.tools-section {
  padding-block: 72px;
}
.chapter-head {
  display: grid;
  gap: 22px;
  margin-bottom: 36px;
}
.tools-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.tools-copy {
  min-width: 0;
}
.tools-copy h3,
.warmup-note h3 {
  font-size: 24px;
}
.tools-copy .demo-label {
  margin-top: 24px;
}
.direction-section {
  border-top: 1px solid var(--line);
  padding-block: 72px;
}
.pro-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.pro-tools > article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.feature-number {
  color: var(--ink-3);
  font-size: 11px;
  display: block;
  margin-bottom: 18px;
}
.pro-tools h3 {
  font-size: 28px;
  letter-spacing: -0.035em;
}
.pro-tools p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 18px;
}
.target-steps {
  margin-top: 24px;
}
.target-steps > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.target-steps > div:last-child {
  background: var(--sunken);
  border: 0;
  border-radius: 10px;
}
.target-steps b {
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}
.target-steps em {
  font-style: normal;
}
.pro-tools .fine {
  font-size: 11px;
}
.ask-example {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
}
.ask-example p {
  margin: 0;
}
.ask-example p + p {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.4;
  padding-block: 20px;
  letter-spacing: -0.025em;
}
.ask-example > span {
  display: block;
  text-align: right;
}
.direction-foot {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.data-section,
.faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  padding-block: 64px;
}

@media (min-width: 700px) {
  .nav__inner {
    flex-wrap: nowrap;
    gap: 28px;
    min-height: 70px;
  }
  .nav__status {
    display: none;
  }
  .nav__links {
    display: flex;
    width: auto;
    margin-left: auto;
    padding: 0;
  }
  .nav__links a {
    padding: 10px 16px;
  }
  .nav__download {
    display: block;
    font-size: 12px;
    text-decoration: none;
    color: var(--ink-2);
  }
  .foot nav {
    width: auto;
    order: initial;
    margin-left: auto;
    gap: 28px;
  }
  .foot__inner > span {
    margin-left: 20px;
  }
  .contact {
    grid-template-columns: 1fr 1.1fr;
    gap: 44px 64px;
    padding-block: 64px;
  }
  .contact h1 {
    font-size: clamp(48px, 6vw, 76px);
  }
  .contact__intro .lede {
    font-size: 20px;
  }
  .note {
    padding: 32px;
  }
  .contact-help {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1200px) {
  .wrap,
  .nav__inner {
    width: min(100% - 100px, 1160px);
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .home-hero__copy {
    text-align: center;
  }
  .home-hero__copy > .overline,
  .hero-actions {
    justify-content: center;
  }
  .app-spread {
    width: 480px;
    max-width: 100%;
    margin: 0 auto;
  }
  .program-preview {
    gap: 40px;
    padding: 40px;
  }
  .detail-story {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .detail-story figure {
    justify-self: center;
    width: 170px;
  }
  .tour-story {
    gap: 34px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .screen-pair {
    padding: 24px 18px;
    gap: 12px;
  }
  .screen-pair .device {
    border-radius: 22px;
    padding: 3px;
  }
  .screen-pair .device img {
    border-radius: 18px;
  }
  .feature-index {
    grid-template-columns: repeat(3, 1fr);
  }
  .program-gallery {
    gap: 24px;
  }
}
@media (max-width: 699px) {
  html {
    scroll-padding-top: 116px;
  }
  .home-page h1,
  .features-page h1 {
    font-size: clamp(46px, 12.7vw, 72px);
  }
  .home-page h2,
  .features-page h2 {
    font-size: clamp(34px, 9.3vw, 48px);
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 38px 30px;
  }
  .home-hero__copy {
    text-align: left;
  }
  .home-hero h1 {
    margin-block: 20px;
  }
  .home-hero .lede {
    font-size: 17px;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 26px;
  }
  .hero-actions .btn {
    padding-inline: 16px;
    font-size: 14px;
    gap: 20px;
  }
  .hero-actions p {
    font-size: 10px;
  }
  .app-spread {
    width: min(100%, 440px);
    justify-self: center;
    padding: 12px 10px 42px;
    gap: 2px;
  }
  .app-spread__front {
    margin-top: 56px;
  }
  .app-spread__back {
    transform: rotate(-5deg) translateX(4px);
  }
  .app-spread__front {
    transform: rotate(5deg) translateX(-4px);
  }
  .app-spread .device {
    border-radius: 25px;
    padding: 3px;
  }
  .app-spread .device img {
    border-radius: 20px;
  }
  .screen-label {
    font-size: 9px;
    margin-top: 16px;
  }
  .app-spread figcaption {
    font-size: 9px;
  }
  .everyday {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 8px;
  }
  .everyday article {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 10px;
    padding-block: 24px;
  }
  .everyday article + article {
    border-top: 1px solid var(--line);
  }
  .everyday .section-number {
    grid-row: span 2;
    padding-top: 3px;
  }
  .everyday h2 {
    font-size: 23px;
    margin: 0 0 10px;
  }
  .everyday h2 br {
    display: none;
  }
  .everyday p {
    font-size: 14px;
    max-width: 28em;
  }
  .story-copy {
    gap: 20px;
  }
  .story-copy > p:not(.overline) {
    font-size: 16px;
  }
  .program-preview {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 30px 24px;
    border-radius: 24px;
    margin-top: 40px;
  }
  .program-preview__screens .device {
    width: 244px;
    transform: none;
  }
  .program-preview__screens {
    gap: 20px;
  }
  .story-aside {
    margin-top: 4px;
    width: 100%;
    max-width: none;
  }
  .activity-story {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 54px;
  }
  .activity-demo {
    width: 248px;
  }
  .home-details {
    padding-top: 10px;
  }
  .section-intro {
    gap: 20px;
    margin-bottom: 30px;
  }
  .section-intro > p:not(.overline) {
    font-size: 16px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-story {
    padding: 26px 22px;
    gap: 20px;
    grid-template-columns: 1fr 0.8fr;
  }
  .detail-story h3 {
    font-size: 25px;
    margin-block: 16px 12px;
  }
  .detail-story p:not(.overline) {
    font-size: 13px;
  }
  .detail-story .overline {
    font-size: 9px;
  }
  .detail-story__link {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 18px;
  }
  .detail-story .device {
    border-radius: 20px;
    padding: 3px;
  }
  .detail-story .device img {
    border-radius: 15px;
  }
  .launch {
    padding-block: 64px;
    gap: 20px;
  }
  .launch > p:not(.overline) {
    font-size: 14px;
  }
  .launch .fine {
    font-size: 12px;
  }
  .tour-intro {
    padding-top: 38px;
  }
  .tour-intro h1 {
    margin-block: 22px 26px;
  }
  .tour-intro__bottom {
    display: block;
  }
  .tour-intro__bottom .lede {
    font-size: 16px;
  }
  .tour-intro__bottom .fine {
    display: none;
  }
  .feature-index {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
  }
  .feature-index a {
    font-size: 10px;
    padding-block: 14px;
  }
  .feature-index span {
    margin-bottom: 5px;
    font-size: 9px;
  }
  .feature-index a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .tour-story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 52px;
  }
  .feature-ledger {
    margin-top: 0;
  }
  .feature-ledger > div {
    padding-block: 16px;
  }
  .feature-ledger dt {
    font-size: 14px;
  }
  .feature-ledger dd {
    font-size: 13px;
    margin-top: 6px;
  }
  .screen-pair {
    padding: 24px 18px;
    gap: 12px;
    border-radius: 22px;
  }
  .screen-pair > div:nth-child(2) {
    margin-top: 66px;
  }
  .screen-pair .device {
    padding: 3px;
    border-radius: 22px;
  }
  .screen-pair .device img {
    border-radius: 17px;
  }
  .plain-list li {
    font-size: 13px;
  }
  .program-tour {
    padding-block: 50px;
  }
  .program-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .program-gallery figure,
  .program-gallery figure:nth-child(2),
  .program-gallery figure:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.65fr);
    align-items: center;
    justify-items: start;
    padding: 0;
    gap: 22px;
  }
  .program-gallery figure:nth-child(2) {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  }
  .program-gallery figure:nth-child(2) .device {
    grid-column: 2;
    grid-row: 1;
  }
  .program-gallery figure:nth-child(2) figcaption {
    grid-column: 1;
    grid-row: 1;
  }
  .program-gallery .device {
    width: min(100%, 230px);
    border-radius: 26px;
    padding: 3px;
  }
  .program-gallery .device img {
    border-radius: 21px;
  }
  .program-gallery figcaption {
    margin: 0;
    text-align: left;
    gap: 14px;
  }
  .program-gallery figcaption span {
    font-size: 9px;
    line-height: 1.5;
  }
  .program-gallery figcaption b {
    font-size: 23px;
    line-height: 1.2;
  }
  .program-notes {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
    font-size: 13px;
  }
  .single-screen {
    padding-block: 28px;
    gap: 20px;
  }
  .single-screen .device {
    width: 230px;
  }
  .tools-section {
    padding-block: 48px;
  }
  .tools-grid,
  .pro-tools {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tools-copy .demo-label {
    margin-bottom: 0;
  }
  .direction-section {
    padding-block: 50px;
  }
  .pro-tools h3 {
    font-size: 25px;
  }
  .pro-tools p {
    font-size: 14px;
  }
  .target-steps b {
    font-size: 17px;
  }
  .ask-example p + p {
    font-size: 22px;
  }
  .data-section,
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 48px;
  }
}
@media (max-width: 359px) {
  .hero-actions {
    align-items: start;
    gap: 14px;
  }
  .hero-actions .btn {
    padding-inline: 14px;
    font-size: 13px;
    gap: 14px;
  }
  .detail-story {
    padding: 22px 18px;
    gap: 16px;
  }
  .detail-story h3 {
    font-size: 22px;
  }
  .feature-index a {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .activity-frame--lock {
    opacity: 1;
  }
  .activity-frame--compact,
  .activity-frame--expanded,
  .activity-label--island {
    opacity: 0;
  }
  .activity-label--lock {
    opacity: 1;
  }
  .activity-still {
    display: block;
    width: min(100%, 320px);
    margin-top: 8px;
  }
  .activity-still img {
    width: 100%;
    height: auto;
    border-radius: 22px;
  }
  .activity-still p {
    color: var(--ink-2);
    font-size: 11px;
    margin-top: 12px;
  }
}

/* The expanded Island keeps its entire captured silhouette inside the phone. */
.activity-expanded-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 33px;
}
.activity-expanded-widget {
  position: absolute;
  top: 12px;
  left: 8px;
  width: calc(100% - 16px);
  height: auto;
  border-radius: 11% / 26%;
}

/* Allow screenshot columns to shrink with their grid tracks. */
.detail-story {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
}
.detail-story figure {
  min-width: 0;
  width: 100%;
}
.detail-story .device {
  width: 100%;
}
.screen-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.screen-pair > div {
  min-width: 0;
}
@media (min-width: 700px) and (max-width: 999px) {
  .detail-story {
    grid-template-columns: 1fr;
  }
  .detail-story figure {
    width: 170px;
  }
}

.program-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.program-gallery figure {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 699px) {
  .program-gallery {
    grid-template-columns: 1fr;
  }
  .program-gallery figure {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.65fr);
  }
  .program-gallery figure:nth-child(2) {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  }
}

/* Support and privacy reading pages. */
.legal { max-width: 820px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.08; margin: 18px 0 24px; }
.legal h2 { font-size: 1.45rem; line-height: 1.3; margin: 42px 0 14px; }
.legal p { line-height: 1.75; margin: 14px 0; overflow-wrap: anywhere; }
.legal p a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .legal { padding-top: 40px; padding-bottom: 64px; } .foot nav { flex-wrap: wrap; } }
