
/* ==========================================
   PAVIONX - DESIGN SYSTEM HERO
   White | Navy Blue | Electric Blue
   Desktop | Tablet | Mobile
=========================================== */

/* ==========================================
   1. HERO SECTION
=========================================== */

.design-system-hero {
    position: relative;
    isolation: isolate;
    padding: 85px 0 75px;
    overflow: hidden;
    background: #f5f9ff;
    font-family: inherit;
}

/* Background image */

.design-system-hero .webinterface-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* White overlay */

.design-system-hero .webinterface-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 45%,
        rgba(255, 255, 255, 0.89) 75%,
        rgba(255, 255, 255, 0.82) 100%
    );
    pointer-events: none;
}

/* ==========================================
   2. MAIN CONTAINER
=========================================== */

.design-system-hero .container.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 45px;

    width: calc(100% - 60px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;

    font-family: inherit;
}

.design-system-hero .hero-copy,
.design-system-hero .hero-visual {
    position: relative;
    min-width: 0;
}

/* ==========================================
   3. EYEBROW
=========================================== */

.design-system-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 20px;
    color: #1769e8;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.design-system-hero .eyebrow i {
    font-size: 16px;
}

/* ==========================================
   4. HERO HEADING
=========================================== */

.design-system-hero .hero-copy h1 {
    max-width: 720px;
    margin: 0 0 22px;

    color: #10264b;
    font-family: inherit;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.6px;
}

.design-system-hero .hero-copy h1 span {
    display: block;
    margin-top: 7px;
    color: #1769e8;
}

/* ==========================================
   5. HERO DESCRIPTION
=========================================== */

.design-system-hero .hero-copy > p {
    max-width: 620px;
    margin: 0 0 27px;

    color: #5d6c82;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.95;
}

/* ==========================================
   6. ACTION BUTTONS
=========================================== */

.design-system-hero .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 28px;
}

.design-system-hero .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    min-height: 50px;
    padding: 14px 20px;

    border: 1px solid transparent;
    border-radius: 6px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Primary button */

.design-system-hero .hero-actions .btn-primary {
    background: #1769e8;
    color: #ffffff;
    border-color: #1769e8;
}

.design-system-hero .hero-actions .btn-primary:hover {
    background: #1054c4;
    color: #ffffff;
    border-color: #1054c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 105, 232, 0.18);
}

.design-system-hero .hero-actions .btn-primary i {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.design-system-hero .hero-actions .btn-primary:hover i {
    transform: translateX(4px);
}

/* Secondary button */

.design-system-hero .hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.88);
    color: #17345f;
    border-color: #d6e1ef;
}

.design-system-hero .hero-actions .btn-secondary:hover {
    background: #edf4ff;
    color: #1769e8;
    border-color: #1769e8;
    transform: translateY(-2px);
}

/* ==========================================
   7. CHECK LIST
=========================================== */

.design-system-hero .check-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.design-system-hero .check-list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 0;
    color: #42546d;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.75;
}

.design-system-hero .check-list p i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #1769e8;
    font-size: 15px;
}

/* ==========================================
   8. RIGHT VISUAL
=========================================== */

.design-system-hero .hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0 30px;
}

/* Main image */

.design-system-hero .designsystem-image-wrap {
    position: relative;
    width: 100%;
    height: 435px;
    overflow: hidden;

    border: 1px solid rgba(214, 225, 239, 0.8);
    border-radius: 15px;

    background: #eaf2ff;
    box-shadow: 0 15px 45px rgba(16, 38, 75, 0.09);
}

.design-system-hero .designsystem-image-wrap::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(16, 38, 75, 0.10) 100%
    );
    content: "";
    pointer-events: none;
}

.design-system-hero .designsystem-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.design-system-hero .designsystem-image-wrap:hover img {
    transform: scale(1.035);
}

/* ==========================================
   9. FLOATING FEATURE
=========================================== */

.design-system-hero .designsystem-feature {
    position: absolute;
    z-index: 2;
    left: -25px;
    bottom: 5px;

    display: flex;
    align-items: center;
    gap: 15px;

    width: min(340px, calc(100% - 10px));
    padding: 17px 19px;

    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(16, 38, 75, 0.10);
}

.design-system-hero .designsystem-feature .svc-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    border-radius: 50%;
    background: #eaf2ff;
    color: #1769e8;
    font-size: 20px;
}

.design-system-hero .webinterface-feature-content {
    min-width: 0;
}

.design-system-hero .webinterface-feature-content h3 {
    margin: 0 0 5px;
    color: #142b50;

    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.design-system-hero .webinterface-feature-content p {
    margin: 0;
    color: #64748b;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.7;
}

/* ==========================================
   10. DESIGN LABEL
=========================================== */

.design-system-hero .webinterface-design-label {
    position: absolute;
    right: 14px;
    bottom: -15px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 11px 15px;

    border: 1px solid #e5edf8;
    border-radius: 30px;
    background: #ffffff;
    color: #304969;

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 1px;

    box-shadow: 0 5px 20px rgba(16, 38, 75, 0.06);
}

.design-system-hero .webinterface-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;

    border-radius: 50%;
    background: #1769e8;
}

/* ==========================================
   11. TABLET
=========================================== */

@media (max-width: 1100px) {
    .design-system-hero {
        padding: 70px 0 65px;
    }

    .design-system-hero .container.hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 30px;
        width: calc(100% - 48px);
    }

    .design-system-hero .hero-copy h1 {
        font-size: clamp(34px, 4.1vw, 46px);
        letter-spacing: -1px;
    }

    .design-system-hero .hero-copy > p {
        font-size: 15px;
        line-height: 1.85;
    }

    .design-system-hero .designsystem-image-wrap {
        height: 390px;
    }

    .design-system-hero .designsystem-feature {
        left: -12px;
        width: min(320px, calc(100% - 5px));
        padding: 15px;
    }

    .design-system-hero .webinterface-design-label {
        right: 5px;
        font-size: 9px;
    }
}

/* ==========================================
   12. MOBILE
=========================================== */

@media (max-width: 768px) {
    .design-system-hero {
        padding: 55px 0;
    }

    .design-system-hero .container.hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        width: calc(100% - 36px);
        max-width: 620px;
    }

    .design-system-hero .hero-copy {
        width: 100%;
    }

    .design-system-hero .eyebrow {
        gap: 8px;
        margin-bottom: 16px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .design-system-hero .hero-copy h1 {
        max-width: 600px;
        margin-bottom: 18px;
        font-size: clamp(34px, 7vw, 46px);
        line-height: 1.2;
        letter-spacing: -0.8px;
    }

    .design-system-hero .hero-copy h1 span {
        margin-top: 5px;
    }

    .design-system-hero .hero-copy > p {
        max-width: 600px;
        margin-bottom: 23px;
        font-size: 15px;
        line-height: 1.85;
    }

    .design-system-hero .hero-actions {
        align-items: stretch;
        gap: 12px;
        margin-bottom: 24px;
    }

    .design-system-hero .hero-actions .btn {
        min-height: 48px;
        padding: 13px 16px;
        font-size: 13px;
    }

    .design-system-hero .check-list {
        gap: 10px;
    }

    .design-system-hero .check-list p {
        font-size: 13px;
        line-height: 1.7;
    }

    .design-system-hero .hero-visual {
        width: 100%;
        padding: 0 0 25px;
    }

    .design-system-hero .designsystem-image-wrap {
        height: 360px;
        border-radius: 12px;
    }

    .design-system-hero .designsystem-feature {
        left: 10px;
        bottom: 0;
        width: min(340px, calc(100% - 20px));
        padding: 14px 15px;
    }

    .design-system-hero .designsystem-feature .svc-icon-wrap {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        font-size: 18px;
    }

    .design-system-hero .webinterface-feature-content h3 {
        font-size: 14px;
    }

    .design-system-hero .webinterface-feature-content p {
        font-size: 12px;
    }

    .design-system-hero .webinterface-design-label {
        right: 8px;
        bottom: -17px;
        padding: 9px 12px;
        font-size: 9px;
        letter-spacing: 0.7px;
    }
}

/* ==========================================
   13. SMALL MOBILE
=========================================== */

@media (max-width: 480px) {
    .design-system-hero {
        padding: 42px 0 45px;
    }

    .design-system-hero .container.hero-inner {
        width: calc(100% - 28px);
        gap: 32px;
    }

    .design-system-hero .eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .design-system-hero .hero-copy h1 {
        font-size: clamp(30px, 8vw, 37px);
        line-height: 1.22;
        letter-spacing: -0.6px;
    }

    .design-system-hero .hero-copy > p {
        font-size: 14px;
        line-height: 1.85;
    }

    .design-system-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
    }

    .design-system-hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 47px;
    }

    .design-system-hero .designsystem-image-wrap {
        height: 290px;
    }

    .design-system-hero .designsystem-feature {
        gap: 10px;
        padding: 12px;
    }

    .design-system-hero .designsystem-feature .svc-icon-wrap {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 16px;
    }

    .design-system-hero .webinterface-feature-content h3 {
        font-size: 13px;
    }

    .design-system-hero .webinterface-feature-content p {
        font-size: 11px;
        line-height: 1.6;
    }

    .design-system-hero .webinterface-design-label {
        right: 3px;
        gap: 6px;
        padding: 8px 10px;
        font-size: 8px;
    }
}

/* ==========================================
   14. EXTRA SMALL MOBILE
=========================================== */

@media (max-width: 360px) {
    .design-system-hero .container.hero-inner {
        width: calc(100% - 24px);
    }

    .design-system-hero .hero-copy h1 {
        font-size: 29px;
    }

    .design-system-hero .designsystem-image-wrap {
        height: 255px;
    }

    .design-system-hero .designsystem-feature {
        width: calc(100% - 12px);
        left: 6px;
        padding: 10px;
    }

    .design-system-hero .webinterface-design-label {
        max-width: 90%;
        white-space: normal;
        text-align: center;
    }
}

/* ==========================================
   15. ACCESSIBILITY
=========================================== */

@media (prefers-reduced-motion: reduce) {
    .design-system-hero .hero-actions .btn,
    .design-system-hero .hero-actions .btn-primary i,
    .design-system-hero .designsystem-image-wrap img {
        transition: none;
    }

    .design-system-hero .hero-actions .btn:hover,
    .design-system-hero .designsystem-image-wrap:hover img {
        transform: none;
    }
}


/* ==========================================
   DESIGN SYSTEM HERO - BUTTON & MARGIN FIX
========================================== */

.design-system-hero,
.design-system-hero * {
    box-sizing: border-box;
}

.design-system-hero {
    width: 100%;
    padding: 85px 0 75px;
    overflow: hidden;
}

/* DESKTOP CONTAINER */

.design-system-hero .container.hero-inner {
    width: calc(100% - 80px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

/* BUTTON CONTAINER */

.design-system-hero .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    margin: 0 0 28px;
}

/* BUTTON ALIGNMENT */

.design-system-hero .hero-actions .btn {
    position: relative;
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 50px;

    margin: 0;
    padding: 13px 20px;

    box-sizing: border-box;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;

    transform: none;
}

.design-system-hero .hero-actions .btn i {
    flex: 0 0 auto;
}

/* CHECKLIST SPACING */

.design-system-hero .check-list {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.design-system-hero .check-list p {
    margin: 0;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
    .design-system-hero {
        padding: 70px 0 60px;
    }

    .design-system-hero .container.hero-inner {
        width: calc(100% - 56px);
        gap: 30px;
    }

    .design-system-hero .hero-actions {
        gap: 10px;
    }

    .design-system-hero .hero-actions .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
    .design-system-hero {
        padding: 55px 0 45px;
    }

    .design-system-hero .container.hero-inner {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 40px);
        max-width: 620px;
        gap: 34px;
        margin-left: auto;
        margin-right: auto;
    }

    .design-system-hero .hero-copy,
    .design-system-hero .hero-visual {
        width: 100%;
        min-width: 0;
    }

    .design-system-hero .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        margin: 0 0 25px;
        padding: 0;
    }

    .design-system-hero .hero-actions .btn {
        display: flex;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 49px;

        margin: 0;
        padding: 13px 16px;

        justify-content: center;
        white-space: normal;
        overflow-wrap: anywhere;
        transform: none;
    }

    .design-system-hero .check-list {
        gap: 11px;
        margin-top: 0;
    }

    .design-system-hero .hero-visual {
        padding: 0 0 25px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {
    .design-system-hero {
        padding: 42px 0 40px;
    }

    .design-system-hero .container.hero-inner {
        width: calc(100% - 32px);
        gap: 30px;
    }

    .design-system-hero .hero-actions {
        gap: 11px;
        margin-bottom: 23px;
    }

    .design-system-hero .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 13px;
    }

    .design-system-hero .hero-copy h1 {
        overflow-wrap: break-word;
    }

    .design-system-hero .hero-copy > p {
        margin-bottom: 23px;
    }
}

/* ==========================================
   EXTRA SMALL MOBILE
========================================== */

@media (max-width: 360px) {
    .design-system-hero .container.hero-inner {
        width: calc(100% - 28px);
    }

    .design-system-hero .hero-actions .btn {
        padding: 12px 10px;
        font-size: 12px;
    }
}


.ds-main-content {
  --ds-primary: #1746d1;
  --ds-accent: #28a8ff;
  --ds-navy: #101d3a;
  --ds-text: #25324a;
  --ds-muted: #66738a;
  --ds-light: #f5f8ff;
  --ds-line: #e5eaf3;
  --ds-white: #ffffff;

  width: 100%;
  overflow: hidden;
  background: var(--ds-white);
  color: var(--ds-text);
  font-family: inherit;
}

.ds-main-content *,
.ds-main-content *::before,
.ds-main-content *::after {
  box-sizing: border-box;
}

.ds-main-content h2,
.ds-main-content h3,
.ds-main-content h4,
.ds-main-content p {
  margin-top: 0;
}

.ds-main-content a {
  text-decoration: none;
}

.ds-container {
  width: calc(100% - 60px);
  max-width: 1320px;
  margin: 0 auto;
}

.ds-section {
  position: relative;
  padding: 100px 0;
}

.ds-section + .ds-section {
  border-top: 1px solid var(--ds-line);
}

.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--ds-primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.8px;
  line-height: 1.5;
}

.ds-eyebrow i {
  font-size: 15px;
}

.ds-section-heading {
  max-width: 780px;
  margin-bottom: 55px;
}

.ds-section-heading h2,
.ds-component-content h2 {
  margin-bottom: 20px;
  color: var(--ds-navy);
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.ds-section-heading h2 span,
.ds-component-content h2 span {
  color: var(--ds-primary);
}

.ds-section-heading > p,
.ds-component-content > p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ds-muted);
  font-size: 16px;
  line-height: 1.9;
}

.ds-heading-centered {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Foundations */

.ds-foundations {
  background: #ffffff;
}

.ds-foundation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.ds-foundation-item {
  position: relative;
  min-width: 0;
  padding: 12px 27px 28px;
  border-left: 1px solid var(--ds-line);
}

.ds-foundation-item:first-child {
  padding-left: 0;
  border-left: none;
}

.ds-foundation-item:last-child {
  padding-right: 0;
}

.ds-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border-radius: 50%;
  font-size: 22px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.ds-icon-blue {
  color: #1746d1;
  background: #eaf0ff;
}

.ds-icon-purple {
  color: #7850cf;
  background: #f1eaff;
}

.ds-icon-cyan {
  color: #008cb8;
  background: #e5f8ff;
}

.ds-icon-orange {
  color: #d97924;
  background: #fff0df;
}

.ds-foundation-item:hover .ds-icon-circle {
  transform: translateY(-5px);
}

.ds-foundation-item h3 {
  margin-bottom: 13px;
  color: var(--ds-navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.ds-foundation-item p {
  margin-bottom: 20px;
  color: var(--ds-muted);
  font-size: 14px;
  line-height: 1.85;
}

.ds-item-number {
  display: inline-block;
  color: #a3afc4;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
}

/* Reusable components */

.ds-components {
  background: #f8faff;
}

.ds-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(45px, 7vw, 105px);
}

.ds-component-visual {
  min-width: 0;
  padding: 27px;
  background: #ffffff;
  border: 1px solid #e6ebf5;
  border-radius: 15px;
  box-shadow: 0 14px 45px rgba(26, 55, 115, 0.045);
}

.ds-visual-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ds-line);
  color: #52617a;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.3px;
}

.ds-visual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2cbb83;
}

.ds-visual-version {
  margin-left: auto;
  color: #9aa7bb;
  font-size: 10px;
}

.ds-component-preview {
  padding: 27px 0 12px;
}

.ds-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 23px;
}

.ds-preview-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ds-primary);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

.ds-preview-top h3 {
  margin-bottom: 0;
  color: var(--ds-navy);
  font-size: 21px;
  line-height: 1.4;
}

.ds-preview-main-icon {
  color: var(--ds-primary);
  font-size: 31px;
}

.ds-preview-row {
  display: grid;
  grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid #edf0f6;
}

.ds-preview-name {
  color: #69768c;
  font-size: 12px;
  line-height: 1.5;
}

.ds-demo-button {
  justify-self: start;
  padding: 11px 19px;
  border: none;
  border-radius: 6px;
  background: var(--ds-primary);
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: default;
}

.ds-demo-input {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce4f2;
  border-radius: 6px;
  color: #8a96aa;
  font-size: 11px;
}

.ds-demo-input i {
  color: var(--ds-primary);
}

.ds-demo-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  padding: 7px 11px;
  border-radius: 30px;
  background: #eaf9f1;
  color: #188451;
  font-size: 11px;
  font-weight: 650;
}

.ds-demo-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22a96b;
}

.ds-demo-icons {
  display: flex;
  align-items: center;
  gap: 19px;
  color: var(--ds-primary);
  font-size: 15px;
}

.ds-visual-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid var(--ds-line);
  color: #586780;
  font-size: 12px;
  line-height: 1.6;
}

.ds-visual-footer i {
  color: #1ba875;
}

.ds-component-content {
  min-width: 0;
}

.ds-component-content h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.ds-feature-list {
  display: grid;
  gap: 23px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.ds-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ds-feature-list > li > i {
  margin-top: 4px;
  color: var(--ds-primary);
  font-size: 17px;
}

.ds-feature-list h4 {
  margin-bottom: 6px;
  color: var(--ds-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ds-feature-list p {
  margin-bottom: 0;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 1.8;
}

.ds-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ds-primary);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
  transition: gap 0.25s ease;
}

.ds-text-link:hover {
  gap: 18px;
}

/* Design tokens */

.ds-tokens {
  background: #ffffff;
}

.ds-token-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.ds-token-content {
  min-width: 0;
}

.ds-token-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--ds-line);
}

.ds-token-row:first-child {
  padding-top: 0;
}

.ds-token-row:last-child {
  border-bottom: none;
}

.ds-token-icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--ds-primary);
  font-size: 18px;
}

.ds-token-description {
  min-width: 0;
  flex: 1;
}

.ds-token-description h3 {
  margin-bottom: 8px;
  color: var(--ds-navy);
  font-size: 17px;
  line-height: 1.5;
}

.ds-token-description p {
  margin-bottom: 0;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 1.85;
}

.ds-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.ds-swatch {
  display: inline-block;
  width: 27px;
  height: 27px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #dce3ef;
}

.ds-swatch-navy {
  background: #101d3a;
}

.ds-swatch-blue {
  background: #1746d1;
}

.ds-swatch-cyan {
  background: #28a8ff;
}

.ds-swatch-grey {
  background: #8996ab;
}

.ds-swatch-light {
  background: #f0f3f9;
}

.ds-type-sample {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 13px;
  color: var(--ds-navy);
}

.ds-type-large {
  font-size: 28px;
  font-weight: 750;
}

.ds-type-medium {
  font-size: 16px;
  font-weight: 700;
}

.ds-type-small {
  color: var(--ds-muted);
  font-size: 12px;
}

.ds-spacing-sample {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
}

.ds-spacing-sample span {
  display: block;
  max-width: 100%;
  height: 7px;
  border-radius: 10px;
  background: #b6ccff;
}

.ds-spacing-sample span:nth-child(2) {
  background: #8eafff;
}

.ds-spacing-sample span:nth-child(3) {
  background: #5b87f2;
}

.ds-spacing-sample span:nth-child(4) {
  background: var(--ds-primary);
}

.ds-token-aside {
  min-width: 0;
  padding: 29px;
  border-radius: 13px;
  background: #101d3a;
  color: #ffffff;
}

.ds-token-aside-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ds-code-label {
  color: #a7c5ff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.5px;
}

.ds-token-aside-top i {
  color: #69b7ff;
  font-size: 19px;
}

.ds-code-example {
  overflow-x: auto;
  padding: 24px 0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 2.1;
}

.ds-code-example p {
  margin-bottom: 4px;
  white-space: nowrap;
}

.ds-code-muted {
  color: #8e9dbb;
}

.ds-code-key {
  color: #a7c5ff;
}

.ds-code-value {
  color: #7ce4c0;
}

.ds-token-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ds-token-note > i {
  margin-top: 3px;
  color: #ffd36b;
  font-size: 17px;
}

.ds-token-note p {
  display: grid;
  gap: 7px;
  margin-bottom: 0;
}

.ds-token-note strong {
  color: #ffffff;
  font-size: 13px;
}

.ds-token-note p span {
  color: #b9c6dd;
  font-size: 12px;
  line-height: 1.8;
}

/* Workflow */

.ds-workflow {
  background: #f7f9fe;
}

.ds-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 65px;
}

.ds-workflow-step {
  position: relative;
  min-width: 0;
  padding: 10px 25px 20px;
  border-left: 1px solid #dfe6f2;
}

.ds-workflow-step:first-child {
  padding-left: 0;
  border-left: none;
}

.ds-workflow-step:last-child {
  padding-right: 0;
}

.ds-step-number {
  display: block;
  margin-bottom: 24px;
  color: #9aaaca;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.6px;
}

.ds-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e8efff;
  color: var(--ds-primary);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.ds-workflow-step:hover .ds-step-icon {
  transform: translateY(-5px);
}

.ds-workflow-step h3 {
  margin-bottom: 12px;
  color: var(--ds-navy);
  font-size: 18px;
  line-height: 1.5;
}

.ds-workflow-step p {
  margin-bottom: 19px;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 1.9;
}

.ds-step-label {
  color: var(--ds-primary);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
}

.ds-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px 42px;
  border-radius: 12px;
  background: #101d3a;
}

.ds-cta-content {
  min-width: 0;
}

.ds-cta-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #8fcaff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
}

.ds-cta-content h3 {
  max-width: 680px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.ds-cta-content p {
  margin-bottom: 0;
  color: #c0cce0;
  font-size: 14px;
  line-height: 1.8;
}

.ds-cta-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 13px 20px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  background: #ffffff;
  color: var(--ds-primary);
  font-size: 13px;
  font-weight: 750;
  transition: background 0.25s ease, color 0.25s ease;
}

.ds-cta-button:hover {
  border-color: #8fcaff;
  background: #8fcaff;
  color: #101d3a;
}

/* Tablet */

@media (max-width: 1100px) {
  .ds-section {
    padding: 80px 0;
  }

  .ds-foundation-grid,
  .ds-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 35px;
  }

  .ds-foundation-item {
    padding: 10px 24px 20px;
  }

  .ds-foundation-item:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }

  .ds-foundation-item:nth-child(even) {
    padding-right: 0;
  }

  .ds-workflow-step {
    padding: 10px 24px 20px;
  }

  .ds-workflow-step:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }

  .ds-workflow-step:nth-child(even) {
    padding-right: 0;
  }

  .ds-two-column,
  .ds-token-layout {
    gap: 40px;
  }

  .ds-component-visual {
    padding: 22px;
  }

  .ds-cta-strip {
    padding: 32px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .ds-container {
    width: calc(100% - 40px);
  }

  .ds-section {
    padding: 65px 0;
  }

  .ds-section-heading {
    margin-bottom: 35px;
  }

  .ds-section-heading h2,
  .ds-component-content h2 {
    font-size: clamp(28px, 7vw, 36px);
    letter-spacing: -0.7px;
  }

  .ds-section-heading > p,
  .ds-component-content > p {
    font-size: 14px;
    line-height: 1.85;
  }

  .ds-heading-centered {
    text-align: left;
  }

  .ds-two-column,
  .ds-token-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .ds-component-visual {
    order: 2;
  }

  .ds-component-content {
    order: 1;
  }

  .ds-token-aside {
    padding: 24px;
  }

  .ds-workflow-grid {
    margin-bottom: 40px;
  }

  .ds-cta-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding: 28px 24px;
  }

  .ds-cta-button {
    width: 100%;
  }
}

/* Small mobile */

@media (max-width: 480px) {
  .ds-container {
    width: calc(100% - 32px);
  }

  .ds-section {
    padding: 52px 0;
  }

  .ds-eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .ds-section-heading h2,
  .ds-component-content h2 {
    font-size: 28px;
  }

  .ds-foundation-grid,
  .ds-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 27px;
  }

  .ds-foundation-item,
  .ds-foundation-item:nth-child(n),
  .ds-workflow-step,
  .ds-workflow-step:nth-child(n) {
    padding: 0 0 23px;
    border-left: none;
    border-bottom: 1px solid var(--ds-line);
  }

  .ds-foundation-item:last-child,
  .ds-workflow-step:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .ds-icon-circle {
    width: 49px;
    height: 49px;
    margin-bottom: 17px;
    font-size: 19px;
  }

  .ds-foundation-item h3,
  .ds-workflow-step h3 {
    font-size: 17px;
  }

  .ds-foundation-item p,
  .ds-workflow-step p {
    font-size: 13px;
  }

  .ds-component-visual {
    padding: 17px;
    border-radius: 10px;
  }

  .ds-preview-top h3 {
    font-size: 17px;
  }

  .ds-preview-main-icon {
    font-size: 25px;
  }

  .ds-preview-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }

  .ds-demo-button {
    justify-self: start;
  }

  .ds-demo-input {
    width: 100%;
  }

  .ds-token-row {
    gap: 14px;
    padding: 20px 0;
  }

  .ds-token-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .ds-token-description h3 {
    font-size: 15px;
  }

  .ds-token-description p {
    font-size: 12px;
  }

  .ds-token-aside {
    padding: 19px;
  }

  .ds-code-example {
    font-size: 10px;
  }

  .ds-cta-strip {
    padding: 24px 19px;
  }

  .ds-cta-content h3 {
    font-size: 23px;
  }

  .ds-cta-content p {
    font-size: 13px;
  }

  .ds-cta-button {
    padding: 12px 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-main-content *,
  .ds-main-content *::before,
  .ds-main-content *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
