/* Focused product pages: neutral surfaces, readable hierarchy and gentle motion. */
.clean-product-page {
  background: var(--bg);
  color: var(--on-bg);
}

.clean-product-page .product-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(58px, 8vw, 96px) clamp(58px, 8vw, 78px);
  background: var(--bg);
  border-block-end: 1px solid var(--outline-soft);
}

.clean-product-page .product-ambient {
  display: none;
}

.clean-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.clean-product-layout.clean-product-text {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.clean-product-copy {
  min-width: 0;
  max-width: 760px;
}

.clean-product-copy .back-link {
  margin-block: 0 34px;
  color: var(--on-dim);
  font-size: .88rem;
  text-decoration: none;
}

.clean-product-copy .back-link:hover {
  color: var(--primary);
}

.clean-product-copy h1 {
  max-width: 18ch;
  margin: 0 0 21px;
  font-size: clamp(2.7rem, 5.2vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  overflow-wrap: normal;
}

.clean-product-copy .product-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--on-dim);
  font-size: clamp(1.04rem, 1.3vw, 1.16rem);
  line-height: 1.82;
}

.clean-product-copy .product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 27px;
}

.clean-product-note {
  max-width: 64ch;
  margin: 22px 0 0;
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--primary);
  color: var(--on-dim);
  font-size: .9rem;
  line-height: 1.75;
}

.clean-product-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--outline-soft);
  border-radius: 14px;
  background: var(--surface);
}

.clean-product-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.clean-product-diagram {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  color: #f5f5f5;
  background: #111315;
  border: 1px solid #303336;
  border-radius: 16px;
}

.clean-diagram-caption {
  display: block;
  margin: 0 0 24px;
  color: #c4c7ca;
  font-size: .9rem;
  line-height: 1.5;
}

.clean-diagram-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  margin-block-end: 22px;
}

.clean-diagram-logo img {
  display: block;
  width: min(76%, 330px);
  max-height: 76px;
  object-fit: contain;
}

.clean-diagram-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-diagram-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.clean-diagram-list li:nth-child(2) {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.075);
}

.clean-diagram-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font: 600 .76rem/1 var(--mono);
}

.clean-diagram-list b {
  display: block;
  margin-block-end: 4px;
  color: #f5f5f5;
  font-size: .92rem;
}

.clean-diagram-list small {
  color: #b2b6ba;
  font-size: .78rem;
  line-height: 1.5;
}

.clean-diagram-link {
  width: 1px;
  height: 15px;
  margin-inline-start: 31px;
  background: rgba(255,255,255,.3);
}

.clean-wasl-diagram .clean-diagram-logo img {
  width: min(88%, 380px);
}

.clean-wasl-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block: 20px;
}

.clean-wasl-step {
  min-width: 0;
  padding: 13px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}

.clean-wasl-step:nth-child(2) {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.09);
}

.clean-wasl-step span {
  display: block;
  margin-block-end: 10px;
  color: #c0c4c8;
  font: 600 .72rem/1 var(--mono);
}

.clean-wasl-step b {
  display: block;
  margin-block-end: 5px;
  color: #fff;
  font-size: .9rem;
}

.clean-wasl-step small {
  display: block;
  color: #b2b6ba;
  font-size: .74rem;
  line-height: 1.5;
}

.clean-diagram-foot {
  margin: 0;
  padding-block-start: 14px;
  border-block-start: 1px solid rgba(255,255,255,.13);
  color: #c3c6c9;
  font-size: .82rem;
  line-height: 1.6;
}

.clean-product-section {
  padding-block: clamp(58px, 8vw, 92px);
}

.clean-product-section + .clean-product-section {
  border-block-start: 1px solid var(--outline-soft);
}

.clean-section-heading {
  max-width: 760px;
  margin-block-end: 30px;
}

.clean-section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -.03em;
}

.clean-section-heading p {
  max-width: 64ch;
  margin: 0;
  color: var(--on-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.clean-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--outline-soft);
}

.clean-feature {
  display: grid;
  grid-template-columns: 44px minmax(190px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 20px;
  padding-block: 22px;
  border-block-end: 1px solid var(--outline-soft);
}

.clean-feature-index {
  padding-block-start: 3px;
  color: var(--on-faint);
  font: 600 .75rem/1.5 var(--mono);
  font-variant-numeric: tabular-nums;
}

.clean-feature h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.clean-feature p {
  max-width: 62ch;
  margin: 0;
  color: var(--on-dim);
  font-size: .94rem;
  line-height: 1.78;
}

.clean-subsection {
  margin-block-start: 54px;
}

.clean-subsection h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.clean-subsection > p {
  max-width: 64ch;
  margin: 0 0 22px;
  color: var(--on-dim);
  line-height: 1.8;
}

.clean-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block-start: 1px solid var(--outline-soft);
}

.clean-tool {
  padding: 18px 20px 18px 0;
  border-block-end: 1px solid var(--outline-soft);
}

.clean-tool:nth-child(odd) {
  border-inline-end: 1px solid var(--outline-soft);
}

.clean-tool:nth-child(even) {
  padding-inline-start: 20px;
}

.clean-tool h4 {
  margin: 0 0 5px;
  font-size: .98rem;
}

.clean-tool p {
  margin: 0;
  color: var(--on-dim);
  font-size: .88rem;
  line-height: 1.7;
}

.clean-product-page .clean-product-section.reveal {
  transition: opacity .46s ease, transform .46s cubic-bezier(.2,.8,.2,1);
}

html:not(.no-js) .clean-product-page .clean-product-section.reveal:not(.in) {
  opacity: 0;
  transform: translateY(12px);
}

@media (prefers-reduced-motion: no-preference) {
  .clean-product-page .clean-product-copy {
    animation: clean-product-enter .48s cubic-bezier(.2,.8,.2,1) both;
  }

  .clean-product-page .clean-product-visual,
  .clean-product-page .clean-product-diagram {
    animation: clean-product-enter .56s .04s cubic-bezier(.2,.8,.2,1) both;
  }

  .clean-product-page .product-actions .btn {
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
  }

  .clean-product-page .product-actions .btn:hover {
    transform: translateY(-1px);
  }
}

@keyframes clean-product-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .clean-product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .clean-product-copy {
    max-width: 820px;
  }

  .clean-product-visual,
  .clean-product-diagram {
    max-width: 720px;
  }

  .clean-feature {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px 16px;
  }

  .clean-feature p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .clean-product-page .product-hero {
    padding-block: 42px 54px;
  }

  .clean-product-copy .back-link {
    margin-block-end: 27px;
  }

  .clean-product-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 11.5vw, 3.55rem);
    line-height: 1.1;
  }

  .clean-product-copy .product-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .clean-product-copy .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .clean-product-copy .product-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .clean-product-note {
    font-size: .88rem;
  }

  .clean-product-section {
    padding-block: 52px;
  }

  .clean-section-heading {
    margin-block-end: 20px;
  }

  .clean-feature {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 12px;
    padding-block: 18px;
  }

  .clean-feature h3 {
    font-size: 1rem;
  }

  .clean-feature p {
    font-size: .9rem;
  }

  .clean-tool-grid {
    grid-template-columns: 1fr;
  }

  .clean-tool,
  .clean-tool:nth-child(even) {
    padding: 16px 0;
    border-inline-end: 0;
  }

  .clean-diagram-list li {
    padding: 11px;
  }

  .clean-wasl-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .clean-wasl-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0 10px;
    padding: 11px;
  }

  .clean-wasl-step span {
    grid-row: 1 / 3;
    margin: 2px 0 0;
  }

  .clean-wasl-step b {
    margin: 0 0 3px;
  }
}

html[lang="ar"] .clean-product-copy h1 {
  line-height: 1.42;
  letter-spacing: 0;
}

html[lang="ar"] .clean-section-heading h2 {
  line-height: 1.4;
  letter-spacing: 0;
}

html[lang="ar"] .clean-feature-list,
html[lang="ar"] .clean-tool-grid {
  text-align: start;
}



/* Product catalogue — a simple, readable index instead of decorative product mockups. */
.clean-catalog-page {
  background: var(--bg);
}

.clean-catalog-hero {
  padding-block: clamp(62px, 9vw, 104px) clamp(54px, 7vw, 78px);
}

.clean-catalog-hero h1 {
  max-width: 16ch;
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.clean-catalog-hero .lead {
  max-width: 64ch;
  margin: 0;
  color: var(--on-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

.clean-catalog-section {
  padding-block: clamp(54px, 7vw, 80px);
  border-block-start: 1px solid var(--outline-soft);
}

.clean-catalog-section > .container > h2,
.clean-catalog-heading h2 {
  margin: 0 0 26px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.clean-catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr);
  align-items: end;
  gap: 28px;
  margin-block-end: 26px;
}

.clean-catalog-heading h2 {
  margin: 0;
}

.clean-catalog-heading p {
  max-width: 52ch;
  margin: 0;
  color: var(--on-dim);
  line-height: 1.8;
}

.clean-catalog-list {
  border-block-start: 1px solid var(--outline-soft);
}

.clean-catalog-row {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 66px);
  padding-block: 25px;
  border-block-end: 1px solid var(--outline-soft);
}

.clean-catalog-row h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
}

.clean-catalog-transliteration {
  color: var(--on-dim);
  font-size: .76em;
  font-weight: 450;
}

.clean-catalog-copy p {
  max-width: 62ch;
  margin: 0 0 12px;
  color: var(--on-dim);
  line-height: 1.78;
}

.clean-catalog-copy .clean-catalog-note {
  margin-block-end: 14px;
  color: var(--on-faint);
  font-size: .88rem;
}

.clean-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.clean-catalog-actions .text-link,
.clean-catalog-copy > .text-link {
  display: inline-flex;
  width: fit-content;
  margin-block-start: 3px;
  color: var(--primary);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}

.clean-catalog-actions .text-link:hover,
.clean-catalog-copy > .text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.clean-catalog-id-note {
  margin: 28px 0 0;
  color: var(--on-dim);
  font-size: .9rem;
  line-height: 1.7;
}

.clean-catalog-id-note a {
  margin-inline-start: 7px;
  color: var(--primary);
  font-weight: 650;
  text-decoration: none;
}

.clean-catalog-id-note a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .clean-catalog-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .clean-catalog-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 21px;
  }
}

@media (max-width: 620px) {
  .clean-catalog-hero {
    padding-block: 48px 50px;
  }

  .clean-catalog-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.55rem, 11vw, 3.65rem);
    line-height: 1.1;
  }

  .clean-catalog-hero .lead {
    font-size: 1rem;
  }

  .clean-catalog-section {
    padding-block: 48px;
  }

  .clean-catalog-actions {
    gap: 12px 20px;
  }
}

html[lang="ar"] .clean-catalog-hero h1,
html[lang="ar"] .clean-catalog-heading h2 {
  line-height: 1.42;
  letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
  .clean-product-page *,
  .clean-product-page *::before,
  .clean-product-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  html:not(.no-js) .clean-product-page .clean-product-section.reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
}

.clean-redirect-main { padding-block: 72px; }

[data-product="wasl"] .clean-product-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
}

[data-product="wasl"] .clean-product-copy h1 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 4.6vw, 4.15rem);
}

.clean-redirect-main { padding-block: 72px; }

@media (max-width: 900px) {
  [data-product="wasl"] .clean-product-layout { grid-template-columns: 1fr; }
  [data-product="wasl"] .clean-product-copy h1 { max-width: 18ch; }
}
