/* Broadcast tools, plans, and the desktop release. */
.tool-chapter, .tool-pricing, .tool-footer { background: #12070a; color: #fbf4f5; }
.tool-chapter, .tool-flow, .tool-pricing, .tool-notice, .tool-download, .tool-footer {
  --tools-muted: #c4b5ba;
  --tools-rule: #4a3039;
  --tools-link: #f1a9bb;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.tool-shell { padding-block: clamp(4.5rem, 9vw, 10rem); }
.tool-title, .tool-heading :is(h2, h3), .gif-copy h3, .download-inner h2 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.tool-title { font-size: clamp(2.9rem, 6.9vw, 6.8rem); line-height: 1.05; }
.tool-title span { display: block; color: #ec879d; }
.tool-list {
  margin-top: clamp(2rem, 4.8vw, 4.9rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.4rem, 5vw, 5.8rem);
}
.tool-list details { min-width: 0; border-top: 1px solid var(--tools-rule); }
.tool-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  list-style: none;
  cursor: pointer;
  font-weight: 550;
  line-height: 1.3;
}
.tool-list summary { font-size: clamp(1.13rem, 1.9vw, 1.72rem); padding-block: 1.05rem; letter-spacing: -.04em; }
.tool-list summary::-webkit-details-marker { display: none; }
.tool-list summary::after {
  content: ''; flex: none; width: .8rem; height: .8rem; margin-right: .25rem; color: #dfc9d0;
  background: linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat;
}
.tool-list details[open] summary::after { background-size: 100% 1px, 0 0; }
.tool-list details p { margin: -.18rem 2rem 1.1rem 0; color: var(--tools-muted); font-size: 1rem; line-height: 1.55; }
.tool-link, .price-columns button { color: var(--tools-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .26em; }
.tool-link { display: inline-block; }
.tool-link:hover, .price-columns button:hover { color: white; }

.tool-chapter + .tool-chapter > .tool-shell { padding-top: 0; }
.tool-heading h2, .tool-heading h3, .gif-copy h3, .download-inner h2 { font-size: clamp(2.05rem, 4.2vw, 4.4rem); line-height: 1.12; }
.tool-heading p, .gif-copy > p, .download-inner p { margin: .7rem 0 0; color: var(--tools-muted); font-size: clamp(1rem, 1.3vw, 1.13rem); line-height: 1.6; }
.record-pair { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(1.5rem, 5vw, 5.5rem); margin-top: clamp(1.6rem, 3.2vw, 3rem); }
.tool-ledger { align-self: start; min-width: 0; }
.tool-ledger table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tool-ledger caption, .tool-chart figcaption { font-size: 1.06rem; font-weight: 600; text-align: left; }
.tool-ledger caption { padding-bottom: 1.15rem; }
.tool-ledger th, .tool-ledger td { text-align: left; border-bottom: 1px solid var(--tools-rule); padding: .9rem .6rem .9rem 0; vertical-align: middle; }
.tool-ledger thead th { font-size: .875rem; font-weight: 500; color: var(--tools-muted); padding-top: 0; }
.tool-ledger tbody th, .tool-ledger td { font-size: 1rem; }
.tool-ledger tbody th { font-weight: 550; }
.tool-ledger time { display: inline-block; font-weight: 450; font-size: .875rem; color: var(--tools-muted); margin-right: .85rem; }
.tool-ledger th:last-child, .tool-ledger td:last-child { text-align: right; padding-right: 0; }
.tool-chart { background: #210b11; margin: 0; padding: clamp(1.3rem, 2.4vw, 2.2rem); }
.chart-stat { display: flex; align-items: baseline; gap: .4rem; margin-top: .9rem; }
.chart-stat b { font-size: clamp(2.9rem, 4.8vw, 4.85rem); line-height: .96; letter-spacing: -.065em; font-weight: 590; font-variant-numeric: tabular-nums; }
.chart-stat span, .tool-chart p, .chart-dates { color: var(--tools-muted); }
.tool-chart p { font-size: .9rem; margin: .4rem 0 0; }
.tool-chart svg { display: block; overflow: visible; width: 100%; height: 5rem; margin-top: 1.4rem; }
.tool-chart path { vector-effect: non-scaling-stroke; }
.chart-grid { stroke: #58353f; stroke-width: 1; fill: none; }
.chart-area { fill: #87152b; fill-opacity: .24; }
.chart-line { stroke: #e16a86; stroke-width: 2.5; fill: none; }
.tool-chart circle { fill: #f19bb1; }
.chart-dates { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; font-size: .82rem; font-variant-numeric: tabular-nums; }

.tool-gif {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: center; gap: clamp(1.65rem, 5vw, 5.5rem);
  margin-top: clamp(3.5rem, 8vw, 8rem); padding-top: clamp(2rem, 5vw, 4.8rem); border-top: 1px solid var(--tools-rule);
}
.gif-fields { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin: 1.6rem 0 1.1rem; }
.gif-fields label { display: grid; gap: .4rem; color: var(--tools-muted); font-size: .9rem; font-weight: 500; }
.gif-fields select {
  min-width: 7.5rem; min-height: 44px; padding: .56rem 2.3rem .56rem .85rem; border: 1px solid #74535d;
  border-radius: .35rem; appearance: none; font: inherit; font-size: 1rem; color: #fbf4f5;
  background: linear-gradient(45deg,transparent 46%,currentColor 47% 62%,transparent 63%) right .95rem center / 6px 6px no-repeat,
              linear-gradient(-45deg,transparent 46%,currentColor 47% 62%,transparent 63%) right .72rem center / 6px 6px no-repeat, #210b11;
}
.gif-fields option { background: #210b11; color: #fbf4f5; }
.tool-balloon {
  position: relative; display: grid; justify-items: center; margin: 0; padding: 1rem;
  background: radial-gradient(ellipse at 48% 42%, #570e1f 0%, #400c17 45%, #210b11 100%); color: #ebdce1;
}
#balloon-stage { position: relative; width: min(100%, 18rem); aspect-ratio: 1; }
#balloon-stage img { display: block; position: absolute; max-width: none; object-fit: contain; }
#balloon-caption { font-size: .9rem; padding: .25rem 0 .45rem; }

.profile-showcase, .miracle-showcase {
  margin-top: clamp(2.4rem, 5vw, 5.5rem);
  padding-top: clamp(2rem, 4.4vw, 4.6rem);
}
.profile-showcase { grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); }
.profile-showcase .gif-copy { grid-column: 2; grid-row: 1; }
.profile-showcase .profile-stage { grid-column: 1; grid-row: 1; }
:is(.profile-showcase,.miracle-showcase) .gif-copy > a { margin-top: 1.1rem; }
.tool-image-stage {
  position: relative; display: grid; justify-items: center; align-content: center; min-width: 0; margin: 0;
  padding: 1rem; color: #ebdce1; isolation: isolate;
}
.profile-stage { background: radial-gradient(ellipse at 45% 40%, #592333, #2d121d 72%, #210b11); }
.miracle-stage { background: radial-gradient(ellipse at 50% 43%, #551427, #390f1c 60%, #210b11); }
.profile-stage > img, .miracle-preview {
  display: block; width: min(100%, 20rem); height: auto; aspect-ratio: 1;
}
.profile-stage > img { object-fit: contain; padding: 1rem; }
.miracle-preview img { display: block; width: 100%; height: 100%; object-fit: contain; filter: url("#miracle-preview-key"); }
.gif-key-filter { position: absolute; overflow: hidden; pointer-events: none; }
.tool-image-stage figcaption {
  display: flex; min-height: 2.25rem; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0 1rem; font-size: .9rem; line-height: 1.3; text-align: center;
}
#miracle-motion {
  min-height: 44px; border: 0; padding: .32rem .2rem; background: transparent; color: #f5d7e0;
  font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; cursor: pointer;
}
@media (max-width: 43rem) {
  .profile-showcase { grid-template-columns: minmax(0,1fr); }
  .profile-showcase .gif-copy, .profile-showcase .profile-stage { grid-column: auto; grid-row: auto; }
}

.tool-flow { background: #210b11; color: #fbf4f5; }
.flow-layout, .tool-pricing > .section-shell { padding-block: clamp(3.7rem, 7vw, 7.8rem); }
.flow-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); }
.flow-layout .tool-link { margin-top: 1rem; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-steps li {
  display: grid; grid-template-columns: minmax(5.2rem, .48fr) minmax(0, 1fr); align-items: baseline;
  gap: .3rem .7rem; padding-block: .9rem; border-top: 1px solid #55343e;
}
.flow-steps strong { font-size: 1.12rem; line-height: 1.4; font-weight: 580; }
.flow-steps span { font-size: 1rem; line-height: 1.5; color: var(--tools-muted); }
.flow-steps code { font-family: inherit; color: #fbf4f5; }
.price-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: clamp(1.6rem,3.4vw,3.4rem); border-top: 1px solid var(--tools-rule); }
.price-columns article { min-width: 0; display: grid; align-content: start; padding: clamp(1.05rem,2vw,2rem); border-left: 1px solid var(--tools-rule); }
.price-columns article:first-child { border-left: 0; padding-left: 0; }
.price-columns h3 { font-size: clamp(1.05rem,1.5vw,1.4rem); font-weight: 600; margin: 0; }
.price-columns .price-value { margin: .82rem 0 .9rem; color: #fbf4f5; font-size: clamp(1.85rem,3.3vw,3.25rem); line-height: 1.1; font-weight: 620; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.price-value span { white-space: nowrap; margin-left: .25rem; font-size: .87rem; letter-spacing: -.025em; color: var(--tools-muted); font-weight: 500; }
.price-columns p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--tools-muted); }
.price-columns button, .tool-footer button {
  display: inline-block; width: fit-content; background: none; border: 0; border-radius: 0; padding: 0; min-height: 44px; font: inherit; cursor: pointer;
}
.price-columns button { margin-top: .8rem; font-size: .92rem; }
.tool-notice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .5rem clamp(.85rem, 2.5vw, 2.4rem);
  padding-block: 1.25rem; border-top: 1px solid var(--tools-rule); color: #fbf4f5;
}
.tool-notice span, .tool-notice time { font-size: .875rem; color: var(--tools-muted); }
.tool-notice a { color: #fbf4f5; }
.tool-notice a:hover { text-decoration: underline; text-underline-offset: .2em; }
.tool-download { background: linear-gradient(115deg, #400c17, #721027 88%, #8d1328); color: #fbf4f5; }
.download-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.55rem;
  padding-block: clamp(3rem,6.5vw,7.5rem);
}
.download-inner p { color: #e4cdd3; }
a.download-action {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .82rem 1.6rem;
  background: #fbf4f5; color: #270b13; border: 1px solid #fbf4f5; border-radius: 2rem; font-size: 1rem; font-weight: 650; text-decoration: none;
}
a.download-action:hover { background: white; color: #400c17; }
.tool-footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 2rem;
  padding-block: 1.5rem; color: var(--tools-muted); font-size: .87rem;
}
.tool-footer .footer-mark { display: inline-flex; align-items: center; min-height: 44px; }
.tool-footer img { width: 6rem; height: auto; }
.tool-footer nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.tool-footer :is(button,nav a) { display: inline-flex; align-items: center; min-height: 44px; color: var(--tools-muted); font-size: .9rem; }
.tool-footer :is(button,nav a):hover { color: #fbf4f5; text-decoration: underline; text-underline-offset: .2rem; }
.tool-footer p { margin: 0; }
:is(.tool-chapter,.tool-flow,.tool-pricing,.tool-download,.tool-footer,.tool-notice) :focus-visible { outline: 2px solid #f0a0b4; outline-offset: 3px; }

@media (max-width: 56rem) {
  .price-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .price-columns article:nth-child(odd) { border-left: 0; padding-left: 0; }
  .price-columns article:nth-child(n+3) { border-top: 1px solid var(--tools-rule); }
}
@media (max-width: 43rem) {
  .record-pair, .tool-gif, .flow-layout { grid-template-columns: minmax(0,1fr); }
  .tool-list { grid-template-columns: minmax(0,1fr); }
  .tool-title { font-size: clamp(2.65rem,10vw,4.3rem); }
  .tool-chart { padding: 1.3rem; }
  .flow-steps li { grid-template-columns: minmax(5.5rem, .38fr) minmax(0,1fr); }
  .tool-notice { grid-template-columns: 1fr auto; }
  .tool-notice a { grid-row: 2; grid-column: 1/-1; }
  .tool-footer nav { width: 100%; order: 3; }
}
@media (max-width: 27rem) {
  .price-columns .price-value { font-size: clamp(1.47rem,6.2vw,1.9rem); }
  .price-value span { font-size: .8rem; }
  .price-columns article { padding: 1rem .65rem; }
  .tool-ledger time { display: block; margin-right: 0; }
  .tool-ledger tbody th, .tool-ledger td { font-size: .92rem; }
  .download-inner { display: grid; }
}
@media (forced-colors: active) {
  .tool-list summary::after { content: '+'; width: auto; height: auto; background: none; }
  .tool-list details[open] summary::after { content: '−'; }
  .chart-line { stroke: CanvasText; }
  .tool-chart circle { fill: CanvasText; }
}
