/*
 * tinyimps.com. Colours, tone classes, fonts and the shared pieces (.btn, .card, .soon) come from
 * /design/tokens.css (packages/design, copied by sync-design.mjs); this file only lays out the site
 * and sets the few sizes where the site differs from the app window.
 */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(36px, 5.6vw, 62px);
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
}

h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0;
}

.faint {
  opacity: 0.5;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.sub {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 19px;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.top nav {
  display: flex;
  gap: 4px;
}

.top nav a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.top nav a:hover,
.top nav a[aria-current],
.menu summary:hover,
.menu summary[aria-current],
.menu[open] summary {
  background: var(--page);
}

.top nav {
  align-items: center;
}

.menu {
  position: relative;
}

.menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.menu[open] summary::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 6px;
  width: 330px;
  padding: 8px;
  border: 1px solid var(--edge-plain);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--edge-plain), 0 14px 30px rgba(38, 32, 30, 0.12);
}

.top nav .menu-imp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}

.top nav .menu-imp:hover,
.top nav .menu-imp[aria-current] {
  background: var(--soft);
}

.menu-imp img {
  flex: none;
  width: 64px;
  height: 50px;
  padding: 3px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--tone);
}

.menu-imp b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

/* Buttons */

.btn {
  height: 44px;
  padding: 0 20px;
  font-size: 16px;
}

a.btn:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #d97f64;
}

a.btn.plain:hover {
  box-shadow: 0 1px 0 var(--edge, var(--edge-plain));
}

.btn[aria-disabled] {
  cursor: default;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* Colour bands */

.band {
  border-bottom: 1px solid var(--edge, var(--line));
  background: var(--tone, var(--card));
}

.band.soft {
  background: var(--soft);
}

.band .sub,
.band .lead {
  color: rgba(38, 32, 30, 0.76);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 72px;
}

mark {
  display: inline-block;
  padding: 0 0.16em 0.04em;
  border-radius: 10px;
  background: var(--card);
  color: inherit;
  transform: rotate(-1.5deg);
}

.lead {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.45;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 44px 0 36px;
}

.crew {
  aspect-ratio: 1.12;
  padding: 0;
}

.crew img {
  position: absolute;
  width: 56%;
  height: auto;
  animation: bob 3.2s ease-in-out infinite alternate;
}

.crew .beat { left: 0; top: 0; animation-delay: -0.8s; }
.crew .caption { right: 0; top: 3%; animation-delay: -2.1s; }
.crew .paste { left: 3%; bottom: 0; animation-delay: -1.4s; }
.crew .motion { right: 1%; bottom: 2%; animation-delay: -0.2s; }

@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .crew img {
    animation: none;
  }
}

/* Three facts under the hero */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 32px;
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 14px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(38, 32, 30, 0.76);
}

.facts svg {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--edge);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facts b {
  align-self: end;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

/* Cards */

.card {
  padding: 24px;
}

.card p {
  color: rgba(38, 32, 30, 0.76);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature {
  display: grid;
  grid-template-columns: 190px 1fr;
  padding: 0;
  scroll-margin-top: 80px;
}

.feature .art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: 15px 0 0 15px;
  background: var(--deep);
}

.feature .body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.feature .body .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 20px;
}

.link {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Lists */

.ticks,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li,
.plain-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.ticks b {
  color: var(--ink);
  font-weight: 600;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8.5' fill='none' stroke='%233f9a4f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--edge-plain);
}

.stack {
  margin-top: 28px;
}

.narrow {
  max-width: 760px;
}

/* Table */

.table {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  border-top: 1px solid var(--line);
}

td:last-child {
  color: var(--muted);
}

/* Pricing */

.split {
  display: grid;
  grid-template-columns: 1.2fr minmax(280px, 400px);
  align-items: center;
  gap: 40px;
}

.price {
  background: var(--card);
}

.price .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}

.faces {
  display: flex;
  margin-top: 12px;
}

.faces img {
  width: 64px;
  height: auto;
  margin-right: -10px;
}

.price .hint {
  min-height: 3em;
  color: var(--muted);
  font-size: 15px;
}

.price .amount {
  margin: 10px 0 20px;
  color: var(--muted);
}

.price .amount b {
  margin-right: 6px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
}

.price .btn {
  width: 100%;
  margin-top: 24px;
}

.faq {
  margin: 12px 0 0;
}

.faq dt {
  margin-top: 24px;
  font-size: 19px;
  font-weight: 700;
}

.faq dd {
  margin: 4px 0 0;
  color: var(--muted);
}

/* Text pages (terms, privacy) */

.prose h1 {
  margin-top: 14px;
}

.prose .lead {
  max-width: none;
  margin-top: 14px;
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: 26px;
}

.prose p,
.prose dl,
.prose ul {
  margin: 0 0 12px;
  color: var(--muted);
}

.prose strong,
.prose dt {
  color: var(--ink);
}

.prose dt {
  margin-top: 14px;
  font-weight: 600;
}

.prose dd {
  margin-left: 0;
}

/* Inner page intro */

.intro {
  padding-top: 64px;
  padding-bottom: 64px;
}

.intro h1 {
  max-width: 17ch;
}

.intro .lead {
  max-width: 46ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Footer */

.foot {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.foot .wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 32px;
}

.foot .brand {
  color: #fff;
}

.foot .about p {
  max-width: 34ch;
  margin-top: 14px;
}

.foot h4 {
  margin: 6px 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.foot ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot a {
  text-decoration: none;
}

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

.foot .legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

@media (max-width: 760px) {
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 52px;
  }

  .stage {
    max-width: 300px;
    order: -1;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .intro {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .foot .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .foot .about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top nav a {
    padding: 7px 8px;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature .art {
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 15px 15px 0 0;
  }
}

/* Imp characters (packages/design/imps): on the home cards and next to an imp's page intro */

.feature .art img {
  width: 100%;
  max-width: 168px;
  height: auto;
}

.intro.with-imp {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
}

.intro-imp {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
}

@media (max-width: 760px) {
  .intro.with-imp {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .intro-imp {
    order: -1;
    max-width: 220px;
  }
}

@media (max-width: 520px) {
  .feature .art img {
    max-width: 150px;
  }
}

/* Pricing: the pack on top, then one card per imp */

.pack-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--card);
}

.pack-plan .faces img {
  width: 120px;
  margin-right: -14px;
}

.pack-plan .actions {
  margin-top: 20px;
}

.pack-plan .btn {
  width: auto;
  min-width: 220px;
  margin-top: 0;
}

.pack-plan .label {
  justify-content: flex-start;
}

.pack-plan .amount {
  margin: 10px 0 8px;
}

.imp-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.imp-plan {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.imp-plan img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: -6px auto 6px;
}

.imp-plan h3 a {
  text-decoration: none;
}

.imp-plan .amount {
  margin: 14px 0 16px;
  color: var(--muted);
}

.imp-plan .amount b {
  margin-right: 4px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.imp-plan .btn {
  width: 100%;
  margin-top: auto;
}

.every {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 28px;
}

.every li {
  white-space: nowrap;
}

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

@media (max-width: 760px) {
  .pack-plan {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .pack-plan .faces {
    order: -1;
  }

  .pack-plan .faces img {
    width: 25%;
  }
}

@media (max-width: 440px) {
  .price .amount {
    white-space: nowrap;
  }

  .price .amount b {
    font-size: 44px;
  }

  .imp-plans {
    grid-template-columns: 1fr;
  }

  .imp-plan img {
    max-width: 120px;
  }
}

/* Imp pages: the motion scene full width, the steps under it, then the price band */

.watch-scene {
  max-width: 1000px;
  margin: 0 auto 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 46px;
  color: var(--muted);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--tone);
  box-shadow: 0 2px 0 var(--edge);
  color: var(--ink);
  font-weight: 700;
}

.steps b {
  color: var(--ink);
  font-weight: 600;
}

.cta {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 32px;
}

.cta img {
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .watch-scene {
    margin-bottom: 36px;
  }
}

@media (max-width: 520px) {
  .cta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta img {
    max-width: 160px;
  }
}

/* Header: Download button */

.top nav .nav-cta {
  height: 36px;
  margin-left: 6px;
  padding: 0 14px;
  font-size: 15px;
}

.top nav .nav-cta:hover,
.top nav .nav-cta[aria-current] {
  background: #ffc4b0;
}

@media (max-width: 520px) {
  .top nav .nav-cta {
    margin-left: 2px;
    padding: 0 10px;
  }
}

code {
  overflow-wrap: anywhere;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--line);
  font-size: 0.9em;
}

/* Phones: the header keeps the logo mark and drops its words so Imps, Pricing and Download fit */
@media (max-width: 440px) {
  .top .brand {
    font-size: 0;
    gap: 0;
  }

  .top nav a,
  .menu summary {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 360px) {
  .price .amount b {
    font-size: 38px;
  }
}

/* Install steps with pictures of the app (download, after download, welcome) */

.install {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.install-step h3 span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  border: 1px solid #5aaa67;
  border-radius: 9px;
  background: #aee3b4;
  box-shadow: 0 2px 0 #5aaa67;
  font-size: 15px;
  vertical-align: 2px;
}

.install-step p {
  color: var(--muted);
}

.install-step b {
  color: var(--ink);
  font-weight: 600;
}

.shot {
  display: block;
  width: 100%;
  height: 240px;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
  box-shadow: 0 2px 0 var(--line);
}

.smartscreen {
  padding: 22px;
  border-color: #0b3b6e;
  background: #0f5ea8;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.install-step .smartscreen p {
  margin: 0;
  color: #fff;
}

.ss-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.ss-text {
  margin-top: 12px !important;
  font-size: 13px;
  opacity: 0.9;
}

.ss-link {
  margin-top: 10px !important;
  font-size: 13px;
  text-decoration: underline;
}

.ss-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 40px !important;
}

.ss-buttons span {
  padding: 6px 14px;
  border: 1px solid #fff;
  font-size: 13px;
}

.ss-run {
  outline: 2px solid #ffdf85;
  outline-offset: 2px;
}

.help {
  margin-top: 40px;
  color: var(--muted);
}

.get-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.install-step .get-app p {
  color: var(--muted);
  font-size: 14px;
}

.get-app b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

@media (max-width: 860px) {
  .install {
    grid-template-columns: 1fr;
  }

  .shot {
    height: auto;
    max-width: 420px;
  }

  .smartscreen,
  .get-app {
    height: 240px;
  }
}

/* Help: one guide card per imp, questions grouped */

.guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.guide {
  position: relative;
  scroll-margin-top: 80px;
}

.guide img {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 92px;
  height: auto;
}

.guide h3 {
  min-height: 60px;
  padding-right: 100px;
}

.guide h3 a {
  text-decoration: none;
}

.guide ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: rgba(38, 32, 30, 0.8);
}

.guide b {
  color: var(--ink);
  font-weight: 600;
}

.faq-group {
  margin-top: 40px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-group:first-of-type {
  margin-top: 24px;
}

.faq b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 760px) {
  .guides {
    grid-template-columns: 1fr;
  }
}

/* Text pages under a band: no extra gap above the first heading */
.prose > h2:first-of-type {
  margin-top: 0;
}

/* Pricing: monthly / yearly switch (shown once prices.json has showYearly) */

.billing {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid #5aaa67;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 2px 0 #5aaa67;
}

.billing[hidden] {
  display: none;
}

.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font: 600 15px/1 var(--text);
  cursor: pointer;
}

.billing button[aria-pressed="true"] {
  background: #aee3b4;
  color: var(--ink);
}

.billing button:focus-visible {
  outline: 2px solid var(--imp-deep);
  outline-offset: 2px;
}

.billing .save {
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffdf85;
  color: var(--ink);
  font-size: 12px;
}

.per-year,
.billing-yearly .per-month {
  display: none;
}

.billing-yearly .per-year {
  display: inline;
}

.amount small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* Local preview with ?claims: every feature claim outlined by its evidence (site/CLAIMS.md) */

.show-claims [data-claim] {
  position: relative;
  outline: 3px solid var(--claim);
  outline-offset: 3px;
}

.show-claims [data-claim]::after {
  content: attr(data-claim) " · " attr(data-claim-note);
  position: absolute;
  z-index: 5;
  left: 0;
  top: -14px;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--claim);
  color: #fff;
  font: 600 11px/1.3 var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-claim="seen"] { --claim: #3f9a4f; }
[data-claim="beta"] { --claim: #c98a12; }
[data-claim="stand-in"] { --claim: #d23b2c; }
[data-claim="unconfirmed"] { --claim: #6a605b; }

/* Risk line under buttons, requirement chips, by hand vs with the imp, the saving of the pack */

.risk {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.band .risk {
  color: rgba(38, 32, 30, 0.7);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 4px 10px;
  border: 1px solid rgba(38, 32, 30, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
}

.versus {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.versus ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.versus-hand {
  background: var(--card);
}

.versus-hand ol {
  color: var(--muted);
}

.versus-imp ol {
  font-size: 19px;
  font-weight: 600;
}

.separately {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .versus {
    grid-template-columns: 1fr;
  }
}

/* Real recordings from Premiere (media.json; shown only when the file exists) */

.recordings {
  max-width: 1000px;
  margin: 0 auto 48px;
}

.recordings h2 {
  font-size: 26px;
}

.recording-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 16px;
}

.recording {
  margin: 0;
}

.recording video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #000;
  border-radius: 14px;
  background: #1e1c1b;
  box-shadow: 0 3px 0 #000;
}

.recording figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.recording figcaption b {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

/* A requirement chip for something planned, not available yet (Mac) */
.chips .chip-soon {
  border-style: dashed;
  background: transparent;
  color: rgba(38, 32, 30, 0.7);
}

[data-claim="plan"] { --claim: #5b6ad0; }
[data-claim="measured"] { --claim: #1f9a8f; }

/* The first-month price, right under the regular price and as easy to read */
.intro-price {
  margin: -12px 0 18px;
  color: var(--ink);
  font-size: 15px;
}

.intro-price b {
  font-weight: 700;
}

.billing-yearly .intro-price {
  display: none;
}
