.product-inner {
  --reader-ink: #211631;
  --reader-copy: #534961;
  --reader-accent: #5524a2;
  --reader-line: #e3dceb;
  --reader-space: clamp(3.75rem, 7vw, 6rem);
  --reader-gap: clamp(.95rem, 2.1vw, 1.75rem);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  color: var(--reader-ink);
}

.product-inner main { flex: 1; }
.product-inner main [id] { scroll-margin-top: .85rem; }
.product-inner main :is(h1,h2,h3) { text-wrap: balance; }
.product-inner main :is(p,dd,td) { overflow-wrap: anywhere; }

.trail { padding-block: .35rem; color: var(--reader-copy); font-size: .875rem; }
.trail ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trail li + li::before { content: "/"; margin-right: .65rem; color: #786b85; }
.trail a { display: inline-flex; align-items: center; min-height: 40px; }

.interior-hero {
  padding-block: clamp(4.25rem, 7.5vw, 7.15rem);
  border-block: 1px solid #eee4f1;
  background:
    radial-gradient(ellipse at 54% 0%, #eadbf8 0%, transparent 62%),
    linear-gradient(120deg, #fbf6f0, #faf7fd 50%, #f4ecf9);
  text-align: center;
}
.interior-hero h1 {
  max-width: 52rem;
  margin-inline: auto;
  color: var(--reader-ink);
  font-size: clamp(2.6rem, 4.9vw, 4.35rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.interior-hero h1 em, .interior-heading h2 em { color: var(--reader-accent); font-style: normal; }
.interior-hero p {
  max-width: 36rem;
  margin: 1.2rem auto 0;
  color: var(--reader-copy);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.76;
  text-wrap: pretty;
}
.interior-hero p > span { display: block; }
.interior-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.25rem;
  margin-top: 1.55rem;
}
.interior-button {
  min-height: 48px;
  gap: .65rem;
  box-shadow: none;
  background: var(--reader-accent);
  color: #fff;
}
.interior-button:hover { background: #3f187e; color: #fff; }

.interior-section { padding-block: var(--reader-space); }
.interior-tint {
  border-block: 1px solid #eae4ef;
  background: linear-gradient(180deg, #f5f1fa, #faf8fc 82%);
}
.interior-heading {
  max-width: 47rem;
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  text-align: center;
}
.interior-heading h2 {
  font-size: clamp(1.88rem, 3.65vw, 2.75rem);
  font-weight: 820;
  line-height: 1.16;
  letter-spacing: -.036em;
}
.interior-heading p {
  max-width: 37.5rem;
  margin: .78rem auto 0;
  color: var(--reader-copy);
  font-size: .99rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--reader-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.route-card {
  --route-color: #7b4d25;
  --route-wash: #fcf5e9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.3rem, 2.55vw, 2rem);
  border: 1px solid var(--reader-line);
  border-radius: .95rem;
  background: linear-gradient(152deg, var(--route-wash), #fff 68%);
  box-shadow: 0 4px 10px #2c184b09;
}
.route-lilac { --route-color: #5824a5; --route-wash: #f5edf9; }
.route-blue { --route-color: #3e5182; --route-wash: #eef2fa; }
.route-step, .route-context {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 33px;
  margin-bottom: 1.15rem;
  padding: .15rem .65rem;
  border: 1px solid #bcaac65c;
  border-radius: .48rem;
  background: #ffffffad;
  color: var(--route-color, var(--reader-accent));
  font-size: .84rem;
  font-weight: 780;
  line-height: 1.4;
}
.route-step { font-variant-numeric: tabular-nums; letter-spacing: .045em; }
.route-card h3, .fact-grid :is(dt,h3), .tool-info h3 {
  color: var(--reader-ink);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 790;
  line-height: 1.25;
  letter-spacing: -.022em;
}
.route-card h3 + p {
  flex: 1;
  margin-block: .62rem 1rem;
  color: var(--reader-copy);
  font-size: .97rem;
  line-height: 1.72;
}
.interior-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  color: var(--reader-accent);
  font-size: .94rem;
  font-weight: 720;
  text-decoration: none;
}
.interior-link:hover { text-decoration: underline; text-underline-offset: .24em; }
.interior-link span, .interior-button span { flex: none; }
.route-card > .interior-link { align-self: stretch; border-top: 1px solid var(--reader-line); }

.scene-table-wrap {
  overflow: hidden;
  border: 1px solid var(--reader-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 32px #2b184a0f;
}
.scene-table { width: 100%; border-collapse: collapse; color: var(--reader-copy); font-size: .98rem; line-height: 1.63; }
.scene-table :is(th,td) { padding: 1rem clamp(.8rem, 2.15vw, 1.5rem); text-align: start; vertical-align: top; }
.scene-table thead { background: #332047; color: #fff; }
.scene-table thead th:first-child { width: 20%; }
.scene-table thead th:nth-child(2) { width: 32%; }
.scene-table tbody tr + tr { border-top: 1px solid var(--reader-line); }
.scene-table tbody th { color: var(--reader-ink); font-weight: 770; }
.scene-table tbody td:last-child { background: #fbf7fd; }
.scene-table td a {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 30px;
  margin-inline-start: .25rem;
  color: var(--reader-accent);
  font-size: .92rem;
  font-weight: 690;
  text-decoration: none;
}
.scene-table td a:hover { text-decoration: underline; }
.mobile-cell-label { display: none; }


.workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 1.6rem clamp(1.5rem, 3.9vw, 3.1rem);
  padding: clamp(1.3rem, 4.1vw, 3rem);
  border: 1px solid #e1d0ef;
  border-radius: 1rem;
  background: linear-gradient(115deg, #fbf7fd, #eee1f8);
}
.workflow-copy h3 { font-size: clamp(1.65rem, 3.15vw, 2.28rem); font-weight: 820; line-height: 1.18; }
.workflow-copy > p { max-width: 31em; margin-top: .8rem; color: var(--reader-copy); line-height: 1.73; }
.workflow-stages {
  display: flex;
  flex-wrap: wrap;
  gap: .46rem .75rem;
  margin: 1rem 0 0;
  padding: .85rem 0 0;
  border-top: 1px solid #d6c3e2;
  color: var(--reader-accent);
  font-size: .87rem;
  font-weight: 700;
  list-style: none;
}
.workflow-stages li:not(:last-child)::after { content: "→"; margin-inline-start: .75rem; }
.workflow-media img { width: 100%; height: auto; border: 1px solid #e8dcf0; border-radius: .66rem; }

.tool-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: var(--reader-gap);
  margin-top: var(--reader-gap);
}
.tool-item { border: 1px solid var(--reader-line); border-radius: .9rem; background: #fff; }
.tool-item > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  padding: .55rem;
  border-radius: .85rem .85rem 0 0;
  background: #f5eef9;
  object-fit: contain;
}
.tool-info { padding: 1rem; }
.tool-info h3 { font-size: 1.2rem; }
.tool-info > p { min-height: 4.9em; margin-block: .45rem .65rem; color: var(--reader-copy); line-height: 1.65; }
.tool-info details { border-top: 1px solid var(--reader-line); }
.tool-info details p { padding-top: .25rem; color: var(--reader-copy); font-size: .92rem; line-height: 1.65; }
.tool-info summary, .interior-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 44px;
  cursor: pointer;
  font-weight: 730;
  list-style: none;
}
.tool-info summary { color: var(--reader-accent); font-size: .91rem; }
:is(.tool-info,.interior-disclosure) summary::-webkit-details-marker { display: none; }
:is(.tool-info,.interior-disclosure) summary::after { content: "+"; flex: none; color: var(--reader-accent); font-size: 1.26em; }
.tool-info details[open] summary::after, .interior-disclosure[open] summary::after { content: "−"; }

.interior-disclosure {
  max-width: 49rem;
  margin-inline: auto;
  padding: 0 clamp(1rem, 3.2vw, 1.85rem);
  border: 1px solid var(--reader-line);
  border-radius: .88rem;
  background: #fff;
}
.interior-disclosure summary { padding-block: .95rem; line-height: 1.52; }
.disclosure-answer {
  display: grid;
  gap: .58rem;
  padding-block: .65rem .94rem;
  border-top: 1px solid var(--reader-line);
  color: var(--reader-copy);
  line-height: 1.7;
}
.disclosure-answer a { justify-self: start; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--reader-gap);
  max-width: 51rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.fact-grid > * {
  min-width: 0;
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
  border: 1px solid var(--reader-line);
  border-radius: .85rem;
  background: #fff;
}
.fact-grid :is(dd,p) { margin: .5rem 0 0; color: var(--reader-copy); line-height: 1.72; }
.activation-workflow > li { background: linear-gradient(145deg, #f8f3fc, #fff 72%); }
.activation-workflow .route-step { margin-bottom: .75rem; }

.interior-note {
  max-width: 51rem;
  margin: 1.1rem auto 0;
  padding: .8rem .95rem;
  border-inline-start: 3px solid #ad85d1;
  background: #f1ebf8;
  color: var(--reader-copy);
  font-size: .94rem;
  line-height: 1.65;
}
.interior-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.7rem;
  margin-block: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(1.3rem, 3.25vw, 2.5rem);
  border: 1px solid #dfcdec;
  border-radius: 1rem;
  background: linear-gradient(110deg, #fbf7fc, #efe3f8);
}
.interior-bottom h2 { font-size: clamp(1.55rem, 3vw, 2.22rem); font-weight: 800; line-height: 1.18; }
.interior-bottom p { margin-top: .58rem; color: var(--reader-copy); line-height: 1.7; }

@media (max-width: 900px) {
  .tool-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-info > p { min-height: 3.3em; }
}

@media (max-width: 720px) {
  .product-inner { --reader-space: 3.65rem; }
  .interior-hero { padding-block: 3.6rem; }
  .interior-hero h1 { font-size: clamp(2.1rem, 9.15vw, 3.1rem); }
  .interior-heading { margin-bottom: 1.85rem; }
  .interior-heading h2 { font-size: clamp(1.82rem, 7.7vw, 2.05rem); }
  .route-grid, .workflow-panel { grid-template-columns: minmax(0, 1fr); }
  .route-card { padding: 1.18rem; }
  .route-step, .route-context { margin-bottom: .82rem; }
  .route-card h3 + p { margin-bottom: .75rem; }
  .scene-table-wrap { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .scene-table, .scene-table tbody { display: grid; gap: var(--reader-gap); }
  .scene-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .scene-table tbody tr {
    display: grid;
    border: 1px solid var(--reader-line);
    border-radius: .8rem;
    background: #fff;
  }
  .scene-table :is(th,td) { display: block; padding: .82rem 1rem; }
  .scene-table tbody th { padding-bottom: .45rem; color: var(--reader-accent); font-size: 1.16rem; }
  .scene-table tbody td + td { border-top: 1px solid var(--reader-line); }
  .scene-table tbody td:last-child { border-radius: 0 0 .75rem .75rem; }
  .mobile-cell-label { display: block; margin-bottom: .25rem; color: var(--reader-ink); font-size: .8rem; font-weight: 750; }
  .scene-table td a { min-height: 44px; margin-inline-start: 0; }
  .fact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .trail { padding-block: .15rem; }
  .tool-index { grid-template-columns: minmax(0, 1fr); }
  .tool-info > p { min-height: 0; }
}

@media (max-width: 350px) {
  .interior-hero h1 { font-size: 1.82rem; }
}
