/*
 * Compact public-site composition for Kassa SRM 4.0.4.55.
 * The accepted carbon hero remains unchanged. Everything below it is
 * recomposed for shorter scanning paths on desktop, tablet and phone.
 */

html body.srm-marketing-page {
  --landing-section-space: clamp(50px, 5.2vw, 72px);
  --landing-section-space-compact: clamp(42px, 4.3vw, 58px);
  --landing-content-gap: clamp(20px, 2.6vw, 34px);
  --landing-card-radius: 10px;
}

html body.srm-marketing-page main > .section:not(.hero) {
  padding-block: var(--landing-section-space) !important;
}

html body.srm-marketing-page main > .section.compact:not(.hero) {
  padding-block: var(--landing-section-space-compact) !important;
}

html body.srm-marketing-page main > .section:not(.hero) .section-head {
  margin-bottom: 22px;
}

html body.srm-marketing-page main > .section:not(.hero) .section-head h2 {
  margin-bottom: 9px;
  font-size: clamp(32px, 3.35vw, 46px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

html body.srm-marketing-page main > .section:not(.hero) .section-head p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.48;
}

/* Capabilities: one compact explanation rail plus a dense working grid. */
html body.srm-marketing-page #features > .wrap {
  display: grid;
  grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
  gap: 24px var(--landing-content-gap);
  align-items: start;
}

html body.srm-marketing-page #features > .wrap > .section-head {
  position: sticky;
  top: 92px;
  grid-column: 1;
  margin: 0;
}

html body.srm-marketing-page #features .feature-grid {
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

html body.srm-marketing-page #features .feature-grid article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 8px 11px;
  min-height: 0;
  padding: 16px;
  border-radius: var(--landing-card-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), transparent 42%),
    rgba(15, 17, 19, .82);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}

html body.srm-marketing-page #features .feature-grid .icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 8px;
}

html body.srm-marketing-page #features .feature-grid h3 {
  align-self: center;
  margin: 0;
  font-size: 15px;
  line-height: 1.24;
}

html body.srm-marketing-page #features .feature-grid p {
  grid-column: 2;
  margin: 0;
  font-size: 12px;
  line-height: 1.43;
}

html body.srm-marketing-page #features .demo-board {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, .48fr) minmax(0, 1.52fr);
  gap: 22px;
  margin-top: 4px;
  padding: 20px;
  border-radius: 12px;
}

html body.srm-marketing-page #features .demo-copy {
  top: 90px;
}

html body.srm-marketing-page #features .demo-copy h2 {
  font-size: clamp(27px, 2.55vw, 36px);
}

html body.srm-marketing-page #features .demo-copy p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.48;
}

html body.srm-marketing-page #features .platform-logos {
  gap: 7px;
  margin-top: 15px;
}

html body.srm-marketing-page #features .platform-logos span {
  min-height: 48px;
  padding: 7px 9px;
}

html body.srm-marketing-page #features .platform-logos img {
  width: 34px;
  height: 34px;
}

html body.srm-marketing-page #features .demo-downloads {
  gap: 7px;
  margin-top: 14px;
}

html body.srm-marketing-page #features .demo-downloads .button {
  min-height: 39px;
  padding: 8px 9px;
  font-size: 12px;
}

html body.srm-marketing-page #features .demo-downloads .windows-store-entry--actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 7px;
}

html body.srm-marketing-page #features .demo-downloads .windows-store-entry--actions > a {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

html body.srm-marketing-page #features .demo-downloads .windows-store-page {
  color: var(--soft);
}

html body.srm-marketing-page #features .demo-downloads .windows-store-page:hover,
html body.srm-marketing-page #features .demo-downloads .windows-store-page:focus-visible {
  color: var(--text);
  border-color: rgba(222, 229, 238, .28);
  background: rgba(255, 255, 255, .08);
}

html body.srm-marketing-page #features .showcase-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .68fr);
  gap: 9px;
  margin-bottom: 10px;
}

html body.srm-marketing-page #features .showcase-media {
  height: clamp(330px, 36vw, 475px);
}

html body.srm-marketing-page #features .showcase-slide figcaption {
  min-height: 52px;
  padding-top: 10px;
}

html body.srm-marketing-page #features .showcase-footer {
  padding-top: 6px;
}

/* Purchase: heading and calculator form one horizontal decision workspace. */
html body.srm-marketing-page #purchase .purchase-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

html body.srm-marketing-page #purchase .purchase-head {
  position: static;
  max-width: 820px;
  margin: 0;
}

html body.srm-marketing-page #purchase .purchase-form {
  width: 100%;
  min-width: 0;
  border-radius: 12px;
}

html body.srm-marketing-page #purchase .purchase-workspace {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
}

html body.srm-marketing-page #purchase .purchase-column {
  padding: 18px;
}

html body.srm-marketing-page #purchase .purchase-column-head {
  margin-bottom: 12px;
}

html body.srm-marketing-page #purchase .purchase-divider {
  margin-block: 13px;
}

html body.srm-marketing-page #purchase .purchase-guidance {
  margin-top: 12px;
  padding: 11px;
}

html body.srm-marketing-page #purchase .purchase-checkout .quote-box {
  padding: 13px;
}

html body.srm-marketing-page #purchase .purchase-checkout :where(.purchase-promo, .payment-methods) {
  margin-top: 11px;
}

html body.srm-marketing-page #purchase .purchase-checkout .consent {
  margin-top: 10px;
}

/* Payment and returns read as one short continuation of the calculator. */
html body.srm-marketing-page #payment-info {
  padding-top: 0 !important;
  border-top: 0 !important;
}

html body.srm-marketing-page #payment-info .payment-info-grid {
  gap: 10px;
}

html body.srm-marketing-page #payment-info .info-card {
  min-height: 0;
  padding: 18px;
  border-radius: 10px;
}

html body.srm-marketing-page #payment-info .info-card h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

html body.srm-marketing-page #payment-info .info-card :where(p, li) {
  font-size: 12.5px;
  line-height: 1.48;
}

html body.srm-marketing-page #payment-info .info-card ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  padding-left: 20px;
}

/* Support keeps every channel visible without oversized contact rows. */
html body.srm-marketing-page #support .support-layout {
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: var(--landing-content-gap);
}

html body.srm-marketing-page #support .section-head {
  margin: 0;
}

html body.srm-marketing-page #support .support-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 18px;
}

html body.srm-marketing-page #support .support-link {
  min-width: 0;
  min-height: 58px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 9px;
}

html body.srm-marketing-page #support .support-link strong {
  color: var(--text) !important;
  font-size: 14px;
}

html body.srm-marketing-page #support .support-link span {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.srm-marketing-page #support .support-form {
  padding: 18px;
  border-radius: 12px;
}

html body.srm-marketing-page #support .support-form :where(input, textarea) {
  min-height: 40px;
  padding: 9px 11px;
}

html body.srm-marketing-page #support .support-form textarea {
  min-height: 84px;
}

html body.srm-marketing-page #support .wide {
  margin-top: 10px;
}

/* FAQ uses the width, documents become a compact library rather than tiles. */
html body.srm-marketing-page #faq .faq-layout {
  grid-template-columns: minmax(220px, .32fr) minmax(0, 1fr);
  gap: var(--landing-content-gap);
}

html body.srm-marketing-page #faq .section-head {
  margin: 0;
}

html body.srm-marketing-page #faq .faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
}

html body.srm-marketing-page #faq .faq-list details {
  border-radius: 9px;
}

html body.srm-marketing-page #faq .faq-list summary {
  min-height: 48px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.28;
}

html body.srm-marketing-page #faq .faq-list p {
  padding: 0 13px 13px;
  font-size: 12px;
  line-height: 1.48;
}

html body.srm-marketing-page #documents > .wrap {
  display: grid;
  grid-template-columns: minmax(220px, .3fr) minmax(0, 1fr);
  gap: var(--landing-content-gap);
  align-items: start;
}

html body.srm-marketing-page #documents .section-head {
  margin: 0;
}

html body.srm-marketing-page #documents .document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

html body.srm-marketing-page #documents .document-grid a {
  min-height: 104px;
  justify-content: flex-start;
  gap: 8px;
  padding: 15px;
  border-radius: 9px;
}

html body.srm-marketing-page #documents .document-grid strong {
  font-size: 14px;
  line-height: 1.25;
}

html body.srm-marketing-page #documents .document-grid span {
  font-size: 11.5px;
  line-height: 1.42;
}

/* The legal footer remains complete, but no longer reads like another page. */
html body.srm-marketing-page .site-footer {
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
}

html body.srm-marketing-page .footer-wrap {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 20px;
  align-items: center;
}

html body.srm-marketing-page .footer-legal {
  grid-column: 1 / -1;
  gap: 7px;
}

html body.srm-marketing-page .footer-legal div {
  padding: 9px 10px;
}

html body.srm-marketing-page .footer-contacts {
  justify-content: flex-end;
  gap: 7px 11px;
  font-size: 11px;
}

html body.srm-marketing-page .footer-social {
  min-height: 32px;
  padding: 6px 9px;
}

html body.srm-marketing-page .footer-disclosure {
  grid-column: 1 / -1;
  max-width: none;
  font-size: 10.5px;
}

@media (max-width: 1100px) {
  html body.srm-marketing-page #features > .wrap,
  html body.srm-marketing-page #purchase .purchase-layout,
  html body.srm-marketing-page #documents > .wrap {
    grid-template-columns: 1fr;
  }

  html body.srm-marketing-page #features > .wrap > .section-head,
  html body.srm-marketing-page #features .feature-grid,
  html body.srm-marketing-page #features .demo-board {
    position: static;
    grid-column: 1;
  }

  html body.srm-marketing-page #features .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body.srm-marketing-page #features .demo-board {
    grid-template-columns: minmax(220px, .42fr) minmax(0, 1.58fr);
  }

  html body.srm-marketing-page #features .showcase-toolbar {
    grid-template-columns: 1fr;
  }

  html body.srm-marketing-page #purchase .purchase-head {
    position: static;
    max-width: 720px;
    margin-bottom: 0;
  }

  html body.srm-marketing-page #support .support-layout,
  html body.srm-marketing-page #faq .faq-layout {
    grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr);
  }

  html body.srm-marketing-page #documents .document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html body.srm-marketing-page {
    --landing-section-space: 46px;
    --landing-section-space-compact: 40px;
  }

  html body.srm-marketing-page #features .demo-board,
  html body.srm-marketing-page #support .support-layout,
  html body.srm-marketing-page #faq .faq-layout {
    grid-template-columns: 1fr;
  }

  html body.srm-marketing-page #features .showcase-toolbar {
    grid-template-columns: 1fr;
  }

  html body.srm-marketing-page #support .support-links {
    margin-top: 14px;
  }
}

@media (max-width: 767px) {
  html body.srm-marketing-page {
    --landing-section-space: 30px;
    --landing-section-space-compact: 27px;
    --landing-content-gap: 14px;
  }

  html body.srm-marketing-page main > .section:not(.hero) .section-head {
    margin-bottom: 14px;
  }

  html body.srm-marketing-page main > .section:not(.hero) .section-head h2 {
    margin-bottom: 7px;
    font-size: clamp(24px, 7.4vw, 29px);
    line-height: 1.04;
  }

  html body.srm-marketing-page main > .section:not(.hero) .section-head p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.42;
  }

  html body.srm-marketing-page #features > .wrap {
    gap: 14px;
  }

  html body.srm-marketing-page #features .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  html body.srm-marketing-page #features .feature-grid article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px 8px;
    min-height: 126px;
    padding: 11px !important;
  }

  html body.srm-marketing-page #features .feature-grid .icon {
    width: 30px;
    height: 30px;
  }

  html body.srm-marketing-page #features .feature-grid .icon svg {
    width: 15px;
    height: 15px;
  }

  html body.srm-marketing-page #features .feature-grid h3 {
    font-size: 12.5px;
    line-height: 1.22;
  }

  html body.srm-marketing-page #features .feature-grid p {
    grid-column: 1 / -1;
    font-size: 10.5px;
    line-height: 1.38;
  }

  html body.srm-marketing-page #features .demo-board {
    gap: 14px;
    margin-top: 2px;
    padding: 11px;
  }

  html body.srm-marketing-page #features .demo-copy h2 {
    margin-bottom: 8px;
    font-size: 24px;
  }

  html body.srm-marketing-page #features .platform-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body.srm-marketing-page #features .platform-logos span {
    min-width: 0;
    min-height: 42px;
    gap: 5px;
    padding: 5px 6px;
  }

  html body.srm-marketing-page #features .platform-logos img {
    width: 28px;
    height: 28px;
  }

  html body.srm-marketing-page #features .platform-logos b {
    min-width: 0;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html body.srm-marketing-page #features .demo-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  html body.srm-marketing-page #features .demo-downloads .button {
    min-height: 40px;
    padding: 7px 5px;
    font-size: 10px;
    line-height: 1.18;
  }

  html body.srm-marketing-page #features .showcase-tabs button,
  html body.srm-marketing-page #features .showcase-devices button {
    min-height: 40px;
  }

  html body.srm-marketing-page #features .showcase-media[data-device="desktop"],
  html body.srm-marketing-page #features .showcase-media[data-device="tablet"] {
    aspect-ratio: 16 / 10;
  }

  html body.srm-marketing-page #features .showcase-slide figcaption {
    min-height: 66px;
    gap: 3px;
    padding-top: 8px;
  }

  html body.srm-marketing-page #features .showcase-slide figcaption span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html body.srm-marketing-page #features .showcase-footer span:last-child {
    display: none;
  }

  html body.srm-marketing-page #purchase .purchase-layout {
    gap: 12px;
  }

  html body.srm-marketing-page #purchase .purchase-head {
    margin: 0;
  }

  html body.srm-marketing-page #purchase .purchase-column {
    padding: 13px !important;
  }

  html body.srm-marketing-page #purchase .purchase-stepper {
    width: calc(100% - 20px);
    margin: 10px 10px 0;
  }

  html body.srm-marketing-page #purchase .purchase-stepper button {
    min-height: 40px;
    padding: 7px 6px;
    font-size: 11px;
  }

  html body.srm-marketing-page #purchase .purchase-column-head {
    margin-bottom: 10px;
  }

  html body.srm-marketing-page #purchase .purchase-form :where(input, select) {
    min-height: 40px;
    padding: 8px 9px;
    font-size: 12px;
  }

  html body.srm-marketing-page #purchase .purchase-guidance .period-options button {
    min-height: 38px;
  }

  html body.srm-marketing-page #payment-info .payment-info-grid {
    gap: 7px;
  }

  html body.srm-marketing-page #payment-info .info-card {
    padding: 14px;
  }

  html body.srm-marketing-page #payment-info .info-card h2 {
    font-size: 20px;
  }

  html body.srm-marketing-page #payment-info .info-card ol {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  html body.srm-marketing-page #support .support-layout {
    gap: 12px;
  }

  html body.srm-marketing-page #support .support-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 11px;
  }

  html body.srm-marketing-page #support .support-link {
    min-height: 52px;
    padding: 9px 10px;
  }

  html body.srm-marketing-page #support .support-link.email {
    grid-column: 1 / -1;
  }

  html body.srm-marketing-page #support .support-form {
    padding: 12px;
  }

  html body.srm-marketing-page #support .support-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.srm-marketing-page #support .support-form textarea {
    min-height: 72px;
  }

  html body.srm-marketing-page #faq .faq-layout {
    gap: 12px;
  }

  html body.srm-marketing-page #faq .faq-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  html body.srm-marketing-page #faq .faq-list summary {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 12px;
  }

  html body.srm-marketing-page #documents > .wrap {
    gap: 12px;
  }

  html body.srm-marketing-page #documents .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  html body.srm-marketing-page #documents .document-grid a {
    min-height: 96px;
    gap: 6px;
    padding: 12px;
  }

  html body.srm-marketing-page #documents .document-grid a:last-child {
    grid-column: 1 / -1;
    min-height: 72px;
  }

  html body.srm-marketing-page #documents .document-grid strong {
    font-size: 12px;
  }

  html body.srm-marketing-page #documents .document-grid span {
    font-size: 10.5px;
  }

  html body.srm-marketing-page .site-footer {
    padding-block: 17px calc(17px + env(safe-area-inset-bottom));
  }

  html body.srm-marketing-page .footer-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  html body.srm-marketing-page .footer-brand {
    flex-direction: row;
    gap: 8px;
    font-size: 11px;
  }

  html body.srm-marketing-page .footer-legal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  html body.srm-marketing-page .footer-legal div {
    padding: 8px;
  }

  html body.srm-marketing-page .footer-legal span {
    margin-bottom: 3px;
    font-size: 9.5px;
  }

  html body.srm-marketing-page .footer-legal strong,
  html body.srm-marketing-page .footer-legal a {
    font-size: 10.5px;
  }

  html body.srm-marketing-page .footer-contacts {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px 9px;
    font-size: 9.5px;
  }

  html body.srm-marketing-page .footer-social {
    width: auto;
    min-height: 30px;
    padding: 5px 8px;
  }

  html body.srm-marketing-page .footer-disclosure {
    font-size: 9.5px;
    line-height: 1.42;
  }
}

@media (max-width: 360px) {
  html body.srm-marketing-page #features .feature-grid,
  html body.srm-marketing-page #support .support-form-grid,
  html body.srm-marketing-page #documents .document-grid,
  html body.srm-marketing-page .footer-legal {
    grid-template-columns: 1fr;
  }

  html body.srm-marketing-page #documents .document-grid a:last-child,
  html body.srm-marketing-page #support .support-link.email {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.srm-marketing-page main > .section:not(.hero) * {
    scroll-behavior: auto !important;
  }
}
