/* White, product-led editorial layout. Variance 6 / motion 2 / density 4.
   Native controls, real algorithms, no scroll choreography or hidden content. */
.showcase-home {
  --demo-accent: #28644c;
}
.tool-index {
  display: flex;
  gap: 32px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.tool-index a {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
}
.tool-index a:hover {
  text-decoration: underline;
}
.saved-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.saved-shortcuts > span {
  color: var(--muted);
}
.saved-shortcuts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.saved-shortcuts a,
.save-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.save-shortcut {
  width: fit-content;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.save-shortcut:hover,
.save-shortcut[aria-pressed='true'] {
  color: var(--ink);
  text-decoration: underline;
}
.storage-notice {
  font-size: 12px;
}
.featured-tool {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: center;
  padding-block: 48px 64px;
}
.tool-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 22px;
}
.featured-copy h1,
.fx-copy h2,
.music-copy h2 {
  font-size: clamp(30px, 3.7vw, 49px);
  line-height: 1.4;
  letter-spacing: -0.045em;
  font-weight: 550;
  margin: 0 0 23px;
}
html[lang='en'] .featured-copy h1,
html[lang='en'] .fx-copy h2,
html[lang='en'] .music-copy h2 {
  font-size: clamp(36px, 4.4vw, 57px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.feature-lead {
  font-size: 15px;
  max-width: 40ch;
  margin: 0;
  line-height: 1.9;
}
.feature-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
  align-items: flex-start;
}
.feature-actions a {
  min-height: 44px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  font-size: 13px;
}
.launch-link {
  background: var(--ink);
  color: var(--bg);
  padding: 12px 19px;
  border-radius: 4px;
  text-decoration: none;
}
.launch-link:hover {
  opacity: 0.84;
}
.availability {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 18px;
  max-width: 44ch;
}
.rescue-demo {
  margin: 0;
  min-width: 0;
}
.demo-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--tint);
}
.demo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-image canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px #24242470;
  pointer-events: none;
}
.demo-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-block: 10px 17px;
}
.demo-controls {
  min-height: 118px;
}
.demo-start {
  width: 100%;
  min-height: 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  text-align: left;
  font-size: 13px;
}
.demo-start:hover {
  border-color: var(--ink);
}
.demo-start:disabled {
  opacity: 0.7;
}
.demo-status {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0 0;
}
.comparison-control > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  line-height: 20px;
}
.rescue-demo input[type='range'],
.fx-demo input[type='range'] {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: var(--ink);
  cursor: ew-resize;
}
.fx-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: center;
  padding-block: 64px 80px;
  border-top: 1px solid var(--line);
}
.fx-demo {
  background: #f3f6f4;
  border-radius: 6px;
  padding: 26px 30px;
  min-width: 0;
}
.fx-demo-heading {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 24px;
  font-size: 13px;
}
.fx-demo-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.example-position {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  margin-block: 8px;
  font-variant-numeric: tabular-nums;
}
.example-position b,
.example-position output {
  margin-left: 8px;
  font-weight: 550;
}
.exposure-unit {
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0 4px;
}
.exposure-key {
  display: flex;
  justify-content: space-around;
  padding-left: 50px;
  padding-right: 70px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 0;
}
.exposure-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 14px;
  height: 48px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.exposure-row b {
  font-weight: 550;
}
.exposure-row output {
  text-align: right;
}
.exposure-plot {
  position: relative;
  height: 100%;
}
.exposure-plot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #adb8b1;
}
.exposure-plot span {
  position: absolute;
  top: 15px;
  height: 18px;
  width: 0;
  left: 50%;
  background: #28644c;
  border-radius: 0 2px 2px 0;
}
.exposure-row[data-side='short'] .exposure-plot span {
  left: auto;
  right: 50%;
  background: #5d6862;
  border-radius: 2px 0 0 2px;
}
.exposure-row[data-currency='USD'] .exposure-plot span {
  width: 2.2727%;
}
.exposure-row[data-currency='EUR'] .exposure-plot span {
  width: 25%;
}
.exposure-row[data-currency='JPY'] .exposure-plot span {
  width: 22.7273%;
}
.fx-reading {
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0 10px;
  min-height: 2.5em;
}
.demo-assumptions {
  font-size: 11px;
  color: var(--muted);
}
.demo-assumptions summary {
  min-height: 44px;
  display: list-item;
  align-content: center;
  cursor: pointer;
  width: fit-content;
}
.demo-assumptions p {
  margin: 4px 0 0;
}
.music-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 64px 80px;
}
.music-copy > p:not(.tool-name) {
  font-size: 15px;
  max-width: 43ch;
}
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: 13px;
}
.platform-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 12px;
}
.music-image {
  display: block;
}
.music-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.other-tools {
  padding-block: 36px 64px;
  border-top: 1px solid var(--line);
}
.other-tools > h2 {
  font-size: 16px;
  font-weight: 550;
  margin: 0 0 32px;
}
.other-tools > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
.other-tools h3 {
  font-size: 26px;
  font-weight: 550;
  margin: 0 0 12px;
  letter-spacing: -0.035em;
}
.other-tools h3 a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.other-tools p {
  font-size: 14px;
  max-width: 50ch;
}
.quick-guides {
  padding-block: 36px 64px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr);
  gap: 56px;
}
.quick-guides h2,
.showcase-end h2 {
  font-size: 18px;
  font-weight: 550;
  margin: 0 0 15px;
}
.quick-guides > div > a {
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.quick-guides nav > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 18px;
  text-decoration: none;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.quick-guides nav > a:first-child {
  padding-top: 0;
}
.quick-guides nav > a > span:first-child {
  font-size: 11px;
  color: var(--muted);
}
.quick-guides nav strong {
  font-size: 14px;
  font-weight: 500;
  grid-row: 2;
}
.quick-guides nav > a > span:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
.quick-guides nav > a:hover strong {
  text-decoration: underline;
}
.showcase-end {
  border-top: 1px solid var(--line);
  padding-block: 36px 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}
.showcase-end p {
  font-size: 13px;
  color: var(--muted);
}
.showcase-end a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  margin-right: 24px;
  font-size: 13px;
}
[data-theme='dark'] .fx-demo {
  background: #242b27;
}
[data-theme='dark'] .exposure-plot span {
  background: #a7cdb4;
}
[data-theme='dark'] .exposure-row[data-side='short'] .exposure-plot span {
  background: #a4aaa6;
}
.product-showcase.interactive-showcase {
  background: transparent;
  padding: 0;
  max-width: 900px;
  margin-inline: auto;
}
.interactive-showcase .rescue-demo .demo-image img {
  border: 0;
  border-radius: 0;
}
.interactive-showcase .demo-caption {
  padding: 0;
}
@media (max-width: 1023px) {
  .featured-tool,
  .fx-feature {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .featured-copy h1,
  .fx-copy h2,
  .music-copy h2 {
    font-size: 31px;
  }
  html[lang='en'] .featured-copy h1,
  html[lang='en'] .fx-copy h2 {
    font-size: 40px;
  }
  .fx-demo {
    padding: 22px;
  }
}
@media (max-width: 767px) {
  .tool-index {
    gap: 0 22px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .tool-index a {
    font-size: 12px;
    gap: 12px;
  }
  .featured-tool,
  .fx-feature,
  .music-feature {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 32px 44px;
  }
  .tool-name {
    margin-bottom: 14px;
    font-size: 14px;
  }
  .featured-copy h1,
  .fx-copy h2,
  .music-copy h2 {
    font-size: clamp(29px, 7.7vw, 40px);
    margin-bottom: 15px;
  }
  html[lang='en'] .featured-copy h1,
  html[lang='en'] .fx-copy h2,
  html[lang='en'] .music-copy h2 {
    font-size: 42px;
  }
  .feature-lead {
    font-size: 14px;
    max-width: 45ch;
  }
  .feature-actions {
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
    align-items: center;
  }
  .feature-actions a {
    font-size: 12px;
    gap: 12px;
  }
  .availability {
    margin: 12px 0 0;
  }
  .demo-caption {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .demo-controls {
    min-height: 110px;
  }
  .fx-demo {
    padding: 20px 17px 12px;
  }
  .fx-demo-heading {
    margin-bottom: 20px;
  }
  .exposure-row {
    gap: 9px;
    grid-template-columns: 30px minmax(0, 1fr) 63px;
  }
  .other-tools > div {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .other-tools,
  .quick-guides {
    padding-block: 28px 40px;
  }
  .other-tools h3 {
    font-size: 24px;
  }
  .quick-guides {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quick-guides > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }
  .quick-guides h2 {
    font-size: 16px;
  }
  .showcase-end {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .feature-actions a,
  .text-action {
    transition: opacity 0.15s ease;
  }
}

/* Task-first entry: a product name, its job and its real tool link.
   Examples are optional disclosures, not the page's main destination. */
.featured-tool,
.fx-feature {
  display: block;
  padding-block: 36px;
}
.featured-copy,
.fx-copy {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
}
.featured-copy > :not(.tool-name),
.fx-copy > :not(.tool-name) {
  grid-column: 2;
}
.featured-copy .tool-name,
.fx-copy .tool-name {
  grid-column: 1;
  grid-row: 1 / span 5;
  margin-top: 8px;
}
.featured-copy h1,
.fx-copy h2,
html[lang='en'] .featured-copy h1,
html[lang='en'] .fx-copy h2 {
  font-size: clamp(28px, 2.7vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.feature-lead { max-width: 64ch; }
.featured-copy .feature-actions,
.fx-copy .feature-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 20px;
}
.optional-demo {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-tool > .optional-demo,
.fx-feature > .optional-demo {
  margin: 20px 0 0 230px;
  border-bottom: 0;
}
.optional-demo > summary {
  cursor: pointer;
  padding-block: 12px;
  min-height: 44px;
  font-size: 13px;
  color: var(--muted);
}
.optional-demo-content {
  max-width: 600px;
  padding-block: 12px 24px;
}
.optional-demo .demo-image { max-width: 480px; }
.optional-demo .demo-controls { min-height: 0; }
.product-status {
  font-size: 12px;
  font-weight: 400;
  margin-inline-start: 12px;
}
.product-intro { padding-block: 30px; }
.product-intro h1 { font-size: clamp(30px, 3.2vw, 44px); }
.product-intro .product-name { margin-top: 22px; }
.product-actions { margin-top: 22px; }
.project-grid.integrated .project-launch { font-weight: 600; }
@media (max-width: 767px) {
  .featured-copy,
  .fx-copy { display: block; }
  .featured-tool,
  .fx-feature { padding-block: 26px; }
  .featured-copy .tool-name,
  .fx-copy .tool-name { margin: 0 0 12px; }
  .featured-tool > .optional-demo,
  .fx-feature > .optional-demo { margin: 18px 0 0; }
  .featured-copy h1,
  .fx-copy h2,
  html[lang='en'] .featured-copy h1,
  html[lang='en'] .fx-copy h2 { font-size: 28px; }
  .product-intro { padding-block: 22px; }
}
