:root {
  --coral: #ff9276;
  --coral-ghost: #f8b898;
  --coral-ghost-2: #fbdfd1;
  --coral-dark: #e06a50;
  --bg-light: #eeeeee;
  --navy: #1a1a2e;
  --text-dark: #000000;
  --text-body: #454742;
  --text-muted: #6e7868;
  --white: #ffffff;
  --yellow: #f5c842;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
}

p {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text-body);
  font-size: 1.22rem;
  line-height: 1.7;
}




/*---------------------*/
/*--- TRUST - BAR ---*/
/*---------------------*/
.proof-bar--white {
  background: #ffffff;
  padding: 48px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.proof-bar--white .proof-stat__num {
  color: #ff9276;
}

.proof-stat__label {
  margin-top: 10px;
}
.proof-bar--white .proof-stat__label {
  color: #374151;
  font-weight: 600;
}

.stat-bar__logo {
  width: 60px;
}

@media (max-width: 768px) {
  .proof-bar--white .proof-bar__stats {
    gap: 32px;
  }
  .proof-bar--white .proof-stat {
    min-width: 110px;
  }
  .proof-bar--white .proof-stat__num {
    font-size: 1.85rem;
  }
}


 .blueColor {
   color: #5ba4d9 !important;
 }
.blueButton {
  border-color: #5ba4d9 !important;
  background-color: #5ba4d9 !important;
}

.withoutBorderColor {
  border-left: 0px !important;
  padding-left: 35px !important;
}
@media (max-width: 768px) {
  .withoutBorderColor {
    border-left: 0px !important;
    padding-left: 0px !important;
  }
}
.section3__title {
  color: #e6edf3 !important;
}
.section3__sub {
  font-size: 17px;
  max-width: 650px;
  z-index: 1;
  margin-bottom: 36px;

  color: #e6edf3;
}
@media (max-width: 768px) {
  .section3__sub {
    font-size: 17px;
  }
}
.btn3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;

  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  background-color: #ff9276;
}

.btn-group2 .btn {
  background-color: #ff9276;
}
.section3__label.section3--hidden,
.section3__sub.section3--hidden,
.d2group .btn-group2.section3--hidden {
  opacity: 0 !important;
  animation: none !important;
  transition: opacity 0.8s ease;
}

.hero__label.section3--visible,
.hero__sub.section3--visible,
.d2group .btn-group2.section3--visible {
  opacity: 1 !important;
  animation: none !important;
  transition: opacity 0.8s ease;
}

.d2-block {
  --coral: #5ba4d9;
  --bg: #edecea;
  --text-muted: #5c5a57;
}

.d2-block .d2group {
  padding: 80px 0px;
  z-index: 1;

  position: relative;

  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .d2-block .d2group {

    min-height: max-content !important;
  }
}

.d2-block .matrix-canvas {
  background-color: #0d1117;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.99;
  pointer-events: none;
}

.d2-block .hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 38vw;
  font-weight: 900;
  color: rgba(91, 164, 217, 0.07);
  z-index: 1;
  pointer-events: none;
}

.d2-block .hero__inner {
  position: relative;
  z-index: 5;
  max-width: 1160px;
  margin: 0 auto;
}

.d2-block .hero__label {
  color: var(--coral);
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.d2-block .hero__title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: white;
}
.d2-block .hero__sub {
  font-size: 1.25rem;
  max-width: 620px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.d2-block .btn {
  padding: 16px 36px;
  background: var(--coral);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.d2-block .btn:hover {
  background: #3a7ab8;
  transform: translateY(-3px);
}

.description {
  color: #e6edf3;
}

.description.dark {
  color: #454742;
}

.description p,
.description span,
.description strong,
.description a {
  color: inherit;
}
.design-wrapper2 {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 80vh;
  height: max-content;
  margin: auto;
  padding-top: 0px;
  padding: 80px 0px;
  font-family: "Arial Black", "Arial Bold", sans-serif;
  overflow: hidden;
}

@media (max-width: 768px) {
  .design-wrapper2 {
    min-height: max-content !important;
  }
  .inner-container2 {
    min-height: max-content !important;
  }
}
.dark-theme {
  background: linear-gradient(135deg, #110a1c 70%, #20172e 100%);
  color: #ffffff;
}

.content-area2 {
  max-width: 1160px;
  margin: auto;
  margin-bottom: 100px;

  display: flex;
  align-items: center;
}

.inner-container2 {
  display: flex;
  align-items: center;

  position: relative;
  width: 100%;
  min-height: 65vh;
  overflow: hidden;
}

#particles-devatiq {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.content-overlay {
  position: relative;
  z-index: 2;
}

.button_purple {
  background-color: #fe6ad7 !important;
}
/* Typography */
.top-purple-label {
  color: #fe6ad7 !important;
}
.top-label {
  font-size: 14px;
  letter-spacing: 3px;
  color: #ff9276;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.main-title {
  max-width: 37vw;
}

@media (min-width: 1824px) {
  .main-title {
    max-width: 37vw;
  }
}

@media (max-width: 768px) {
  .content-overlay {
    margin-bottom: 20px;
  }

  .main-title {
    max-width: 100vw;
  }
}
.dark-theme .main-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.description {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Open Sans", Arial, sans-serif;

  line-height: 1.6;
  color: #e6edf3;
  max-width: 650px;
}
.description .dark {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #444 !important;
}
.description p,
.description span,
.description strong,
.description a {
  color: inherit;
}
.description p {
  font-size: 17px;
}

@media (max-width: 768px) {
  .dark-theme .description {
    font-size: 17px;
  }
}
.action-bar2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 0px;
}

.btn-primary {
  background-color: #ff9276;
  font-family: "Open Sans", Arial, sans-serif;
  color: white;
  padding: 15px 32px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.dark-theme .btn-secondary {
  border: 2px solid #ffffff;
  color: white;
  padding: 13px 32px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  transition: 0.3s;
}

.dark-theme .btn-primary:hover,
.dark-theme .btn-secondary:hover {
  background-color: #ffffff;
  color: #000;
}

@media (max-width: 992px) {
  .design-wrapper2 {
    flex-direction: column;
  }
  .content-area2 {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }
}
.button2_section4 {
  display: none !important;
}
@media (max-width: 768px) {
  .button1_section4 {
    display: none !important;
  }
  .button2_section4 {
    display: block !important;
    margin-bottom: 20px;
  }
}
.container_section4 {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.design-wrapper3 {
  padding-top: 80px;
  padding-bottom: 80px;
  --spring-easing: linear(
          0,
          0.024,
          0.068 1%,
          0.22 2.2%,
          0.968 6.1%,
          1.221 7.7%,
          1.314,
          1.383,
          1.426 10%,
          1.438,
          1.445,
          1.447,
          1.445 11.4%,
          1.432,
          1.405,
          1.365 13.4%,
          1.272 14.6%,
          1.004 17.7%,
          0.892 19.3%,
          0.855,
          0.828,
          0.811,
          0.802,
          0.802,
          0.808,
          0.819,
          0.837 24.8%,
          0.879 26.1%,
          0.998 29.1%,
          1.048 30.8%,
          1.076 32.2%,
          1.084,
          1.088 33.6%,
          1.086,
          1.077,
          1.059 37.2%,
          1.006 40.3%,
          0.984 41.7%,
          0.968 43.4%,
          0.963,
          0.961 45%,
          0.962,
          0.966 47.3%,
          1.007 53.2%,
          1.014,
          1.017 56.4%,
          1.015 58.8%,
          0.997 64.6%,
          0.992 67.8%,
          0.993 70.2%,
          1.001 75.9%,
          1.003 78.9%,
          0.999 90.2%,
          1
  );

  display: flex;

  width: 100%;
  min-height: 60vh;

  margin: auto;
}

@media (max-width: 768px) {
  .design-wrapper3 {
    width: 100% !important;
    min-height: max-content !important;
  }
}
.content-area3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: max-content;
}
.sidebar-img {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}


.top-label {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 900;

  color: #ff9276;
}

@media (max-width: 768px) {
  .sidebar-img {
    border-radius: 14px;
  }
  .bottom_bar {
    display: flex !important;
    gap: 2px !important;
    flex-direction: column !important;
  }
}
.bottom_bar {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  width: 100%;
}

.main-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.orange-text {
  color: #ff9276;
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  min-width: 560px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .description {
    min-width: 100%;
    margin-bottom: 25px !important;
  }
}

.action-bar3 {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.btn-explore {
  display: inline-block;
  font-weight: 600;

  background-color: #ff9276;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-explore:hover {
  background-color: #cf6d38;
}

.website-link {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
}

.sidebar-placeholder_mobile {
  display: none;

  margin-top: 20px;
  padding: 0px 0px;
}

@media (min-width: 1024px) {
  .sidebar-placeholder.section__inner {
    display: flex;
    width: 100%;
  }
}

.section__inner {
  z-index: 1;
  width: min(1200px, calc(100% - 31px));
  max-width: 1200px;
  margin-inline: auto;
}
@media (max-width: 768px) {
  .sidebar-placeholder_mobile {
    display: flex;
  }
  .section__inner {
    width: min(1200px, calc(100% - 62px));
    max-width: 1200px;
    margin-inline: auto;
  }
}

.grid-background {
  background:
          linear-gradient(90deg, rgba(11, 48, 53, 0.035) 1px, transparent 1px),
          linear-gradient(0deg, rgba(11, 48, 53, 0.03) 1px, transparent 1px),
          #f3f4f2;
  background-size: 3rem 3rem;
}
.container_section1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .container_section1 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0px;
  }
}
.main-container_section1 {
  padding: 80px 0px;
  width: 100%;
}

.white-container {
  background: rgba(255, 255, 255, 0.48);

  border: 1px solid rgba(11, 48, 53, 0.18);
}
.container {
  margin: 30px auto;
  display: flex;
}
.inner__container {
  display: flex;
  flex-direction: column;

  height: 100%;
  width: 100%;
  border-left: 4px solid #ff9276 !important;
  padding: 54px 30px !important;
}

.design-wrapper {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important;
}

@media (max-width: 768px) {
  .design-wrapper {
    grid-template-columns: 1fr !important;
    min-height: max-content !important;
  }
}
.sidebar-placeholder {
  display: flex;
  padding: 35px 25px 35px 0px;
}
@media (max-width: 768px) {
  .sidebar-placeholder {
    display: none;
    padding: 0px 0px;
  }
  .inner__container {
    width: auto;
    border-left: 6px solid #ff9276 !important;
    padding: 31px 15px !important;
    margin-left: 10px;
  }
}
.design-wrapper {
  --spring-easing: linear(
          0,
          0.024,
          0.068 1%,
          0.22 2.2%,
          0.968 6.1%,
          1.221 7.7%,
          1.314,
          1.383,
          1.426 10%,
          1.438,
          1.445,
          1.447,
          1.445 11.4%,
          1.432,
          1.405,
          1.365 13.4%,
          1.272 14.6%,
          1.004 17.7%,
          0.892 19.3%,
          0.855,
          0.828,
          0.811,
          0.802,
          0.802,
          0.808,
          0.819,
          0.837 24.8%,
          0.879 26.1%,
          0.998 29.1%,
          1.048 30.8%,
          1.076 32.2%,
          1.084,
          1.088 33.6%,
          1.086,
          1.077,
          1.059 37.2%,
          1.006 40.3%,
          0.984 41.7%,
          0.968 43.4%,
          0.963,
          0.961 45%,
          0.962,
          0.966 47.3%,
          1.007 53.2%,
          1.014,
          1.017 56.4%,
          1.015 58.8%,
          0.997 64.6%,
          0.992 67.8%,
          0.993 70.2%,
          1.001 75.9%,
          1.003 78.9%,
          0.999 90.2%,
          1
  );

  display: flex;

  width: 100%;
  min-height: 60vh;

  margin: auto;
}

.content-area {
  flex: 0 0 60%;
  flex-direction: column;
  justify-content: center;
  height: max-content;
}
.top-label {
  display: flex;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 900;

  color: #ff9276;
}

.general-title-styles {
  font-family: "Oswald",serif ;
  line-height: 0.95;

  font-size: 72px !important;
}
@media (max-width: 768px) {
  .general-title-styles {
    line-height: 0.95;

    font-size: 40px !important;
  }
}
.main-title {
  line-height: 0.95 !important;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 50px;
}
.gray-text {
  color: #444;
}

.orange-text {
  color: #ff9276;
}

.description {
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 45px;
}

@media (min-width: 768px) {
  .description {
  }
}
.action-bar {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.action-bar2 {
  display: none !important;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-explore {
  display: inline-block;

  background-color: #ff9276;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-explore:hover {
  background-color: #cf6d38;
}

.website-link {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
}

@media (max-width: 1200px) {
  :root {
    --key-size: 3.15rem;
    --key-gap: 5px;
    --screen-padding: 1rem;
  }
}
@media (max-width: 420px) {
  .action-bar2 {
    display: flex !important;
    margin: 6px 10px 10px 0px;
    padding-left: 0px;
  }
  .action-bar {
    display: none !important;
  }

  .design-wrapper {
    flex-direction: column;
  }
  :root {
    --key-size: 2.65rem;
  }

  .signature-screen {
    min-height: 22rem;
  }

  .signature-screen-sign {
    min-height: 18rem;
  }
}


/*--------------*/
/*--- PATENTS ---*/
/*--------------*/
.section2 {
  padding: 80px 0px;
}
.localcontainer {
  padding: 0px 33.5px;
}
@media (max-width: 768px) {
  .localcontainer {
    padding: 0px 0px;
  }
}

.section__inner2 {
  width: 1200px;
  max-width: 1200px;
}
* {
  box-sizing: border-box;
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.section__label__patents {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--coral);
  margin-bottom: 20px;
}
.section__title__patents {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 73px;
  line-height: 0.95;
  text-transform: uppercase;
  max-width: none;
}

@media (max-width: 768px) {
  .section__title__patents {
    font-size: 40px !important;
  }
}

.section__lead__patents {
  font-size: 17px;
  line-height: 1.58;
  font-family: "Open Sans", Arial, sans-serif;
  margin-top: 30px;
}

.patent-card {
  padding: 30px;
}

@media (max-width: 768px) {
  .patent-card {
    padding: 20px;
  }
}

.patent-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--white);
  background: #ff9276;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 900;
  font-family: "Oswald", sans-serif;
}

.patent-card h3 {
  font-family: "Oswald", "Open Sans", Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.patent-card p {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px;
  margin-top: 10px;
  line-height: 1.58;
}

.glass-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

@media (max-width: 900px) {
  .patent-grid {
    grid-template-columns: 1fr;
  }

  .section__title__patents br {
    display: none;
  }
}

/*-----------------*/
/*--- CONTACT ---*/
/*-----------------*/
.solution-section {
  padding-bottom: 0;
}

.solution__result-banner {
  background: #ff9276ff;
  text-align: left;
  padding: 72px 24px;
  margin-top: 0px;
}

.solution__result-banner__label {
  display: block;
  font-size: 14px;
  font-weight: 900;
  font-family: "Open Sans";
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
  padding-left: 32px;
  text-align: left;
}

@media (max-width: 768px) {
  .solution__result-banner__label {
    padding-left: 0px;
  }
}

.solution__result-banner__text {
  padding-left: 31px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
  color: #f8b898;
  line-height: 0.95;

  letter-spacing: 0px;
}

@media (max-width: 768px) {
  .solution__result-banner {
    padding: 72px 0px;

    text-align: left;
  }
  .solution__result-banner__text {
    text-align: left;

    padding-left: 0px;
  }
}


:root {
  --bg-white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5a57;
  --text-light: #8c8a87;
  --border: #d8d6d3;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --max-w: 1160px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #eeeeee;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.h-display {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}

.h1 {
  font-size: clamp(7.3rem, 10.5vw, 22rem);
  line-height: 93%;
}
@media (max-width: 768px) {
  .h1 {
    font-size: clamp(4.5rem, 6.5vw, 12rem) !important;
  }
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.h4 {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.body-sm {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .container {
    padding: 0;
  }
}

.section {
  padding: 96px 0;
}

.section--sm {
  padding: 64px 0;
}

.section--coral {
  background: var(--coral);
  color: white;
}

.section--white {
  background: var(--bg-white);
}

.section--bg {
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: #ff9276;
  color: white;
  border-color: #ff9276;
}

.btn--primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: white;
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: white;
}

.btn--outline-white:hover {
  background: white;
  color: var(--coral);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img--dark,
.nav__logo-img--compact {
  display: none;
}

body.dark-mode .nav__logo-img--light.nav__logo-img--full {
  display: none;
}

body.dark-mode .nav__logo-img--dark.nav__logo-img--full {
  display: block;
}

.nav--scrolled .nav__logo-img--full {
  display: none !important;
}

.nav--scrolled .nav__logo-img--compact.nav__logo-img--light {
  display: block;
}

body.dark-mode .nav--scrolled .nav__logo-img--compact.nav__logo-img--light {
  display: none;
}

body.dark-mode .nav--scrolled .nav__logo-img--compact.nav__logo-img--dark {
  display: block;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links .nav__divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 8px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav__cta {
  padding: 9px 20px;
  font-size: 0.875rem;
}

.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition:
          color 0.2s,
          border-color 0.2s,
          background 0.2s;
}

.nav__theme-toggle:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.nav__theme-icon--sun {
  display: none;
}

body.dark-mode .nav__theme-icon--sun {
  display: block;
}

body.dark-mode .nav__theme-icon--moon {
  display: none;
}

.hero {
  border-radius: 0px;
  background: #f3f4f2 !important;
  padding: 85px 0 40px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 85px);
    padding: 0px 0 20px !important;
  }
}

.hero__bg-text {
  display: none;
}

.hero__bg-img-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.35;
  display: block;
}

.hero__bg-img:not([src]),
.hero__bg-img[src=""] {
}

.hero__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff9276;
  margin-bottom: 20px;
}

.hero__title {
  min-height: 80vh;
  margin-top: 0px;
  margin-left: 8.4vw;
  margin-bottom: 24px;
  width: auto;
  color: #ff9276;
}

@media (max-width: 768px) {
  .hero__title {
    line-height: 0.9;

    position: absolute;
    top: 15vh;

    margin-left: 10px;
  }
}

.hero__sub {
  max-width: 540px;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.65;
}

.proof-bar {
  background: var(--bg-white);
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-bar__stats {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proof-stat__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: #ff9276;
  line-height: 1;
}

.proof-stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-bar__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.proof-bar__awards {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.award-badge {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
}

/* =========================================
 PROBLEM SECTION
 ========================================= */
.problem__title-wrap {
  margin-bottom: 56px;
}

.problem__title-wrap .section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-light);
  margin-bottom: 16px;
}

.problem__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem__body {
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.9;
  margin-bottom: 32px;
}

.failure-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* =========================================
 SOLUTION SECTION
 ========================================= */
.section-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-top: 16px;
}

.solution-section {
  padding-bottom: 0;
}

.solution__result-banner {
  background: var(--coral);
  text-align: center;
  padding: 72px 24px;
  margin-top: 64px;
}


.solution__result-banner__text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
  color: #f8b898;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: left;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.principle-card {
  background: var(--bg-white);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.principle-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
 SERVICES SECTION
 ========================================= */
.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-white);
  padding: 40px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card__desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card__list li::before {
  content: "→ ";
  color: var(--coral);
  font-weight: 600;
}

.service-card__cta {
  margin-top: 24px;
}

/* =========================================
 INDUSTRIES SECTION
 ========================================= */
.industries-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-row {
  background: var(--bg-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 380px;
  gap: 0;
}

.industry-row:nth-child(even) .industry-row__text {
  order: 2;
}

.industry-row:nth-child(even) .industry-row__visual {
  order: 1;
}

.industry-row__text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.industry-row__visual {
  background: var(--bg);
  display: flex;
  align-items: stretch;
  min-height: 280px;
}

.industry-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder {
  width: 100%;
  min-height: 280px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-row__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.industry-row__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1;
}

.industry-row__desc {
  color: var(--text-muted);
  line-height: 1.65;
}

.industry-row__focus {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.industry-row__focus li::before {
  content: "→ ";
  color: var(--coral);
  font-weight: 600;
}

/* =========================================
 WHY D|2 SECTION
 ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.why-card {
  background: var(--bg-white);
  padding: 36px 28px;
}

.why-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.why-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
 SCENARIO SECTION
 ========================================= */
.scenario__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-light);
  margin-bottom: 16px;
}

.scenario__title {
  margin-bottom: 48px;
}

.scenario__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scenario-col {
  border-radius: var(--radius);
  overflow: hidden;
}

.scenario-col__head {
  padding: 16px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-col--before .scenario-col__head {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.scenario-col--after .scenario-col__head {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.scenario-col__body {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.scenario-step__arrow {
  color: var(--coral-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.scenario-col--after .scenario-step__arrow {
  color: white;
}

.scenario-step__text {
  line-height: 1.5;
}

.scenario-col--before .scenario-step__text {
  opacity: 0.8;
}

.scenario__result {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

/* =========================================
 FINAL CTA SECTION
 ========================================= */
.cta-final {
  text-align: center;
  padding: 112px 0 48px;
  background: var(--bg);
}

.cta-final__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-final__title {
  margin-bottom: 16px;
}

.cta-final__sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* =========================================
 CONTACT SECTION
 ========================================= */
.contact-section {
  background: var(--bg-white);
  padding: 48px 0 96px;
}

.contact-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.contact-info--full {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info__title {
  margin-bottom: 32px;
}

.contact-card {
  text-align: center;
}

.contact-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-card__role {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-card__org {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-card__address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-card__email {
  text-align: center;
  margin-top: 16px;
}

.contact-card__email-img {
  height: 36px;
  width: auto;
  display: inline-block;
  color: var(--coral);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C5A57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--bg-white);
  padding-right: 42px;
  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--coral);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn[type="submit"] {
  width: 100%;
  justify-content: center;
}

/* =========================================
 FOOTER
 ========================================= */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 40px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer__logo {
  margin-bottom: 12px;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 240px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer__links a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================
 FAILURE DETAIL PANEL
 ========================================= */
.failure-pill {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition:
          transform 0.2s ease,
          background 0.2s ease,
          color 0.2s ease,
          border-color 0.2s ease;
}

.failure-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.failure-pill.active {
  background: white;
  color: var(--coral);
  border-color: white;
  font-weight: 600;
}

.failure-detail {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  border-left: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
}

@keyframes panel-pop {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.failure-detail.is-animating {
  animation: panel-pop 0.28s ease both;
}

.failure-detail__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.failure-detail__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  text-transform: uppercase;
  color: white;
  line-height: 1.1;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.failure-detail__desc {
  font-size: 0.975rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.failure-detail__impacts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: none;
  padding-top: 0;
}

.failure-detail__impact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  font-size: 0.875rem;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-label {
  background: white;
  color: var(--coral);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.impact-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* =========================================
 ANIMATIONS
 ========================================= */

/* Hero entrance */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__label {
  animation: fade-up 0.55s 0.05s ease both;
}

.hero__title {
  animation: fade-up 0.6s 0.18s ease both;
}

.hero__sub {
  animation: fade-up 0.6s 0.32s ease both;
}

.hero .btn-group {
  animation: fade-up 0.6s 0.46s ease both;
}

/* Hero background text drift */
@keyframes drift {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(-14px) translateY(6px);
  }
}

.hero__bg-text {
  animation: drift 9s ease-in-out infinite;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
          opacity 0.55s ease,
          transform 0.55s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal][data-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal][data-delay="4"] {
  transition-delay: 0.4s;
}

/* Card hover lifts */
.service-card,
.why-card,
.principle-card {
  transition:
          transform 0.22s ease,
          box-shadow 0.22s ease,
          background 0.22s ease;
}

.service-card:hover,
.why-card:hover,
.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.09);
  background: #fff;
}

/* Button lift */
.btn {
  transition:
          background 0.2s ease,
          border-color 0.2s ease,
          color 0.2s ease,
          transform 0.15s ease,
          box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Industry row accent on hover */
.industry-row {
  transition: box-shadow 0.2s ease;
}

.industry-row:hover {
  box-shadow: inset 4px 0 0 var(--coral);
}

.industry-row:nth-child(even):hover {
  box-shadow: inset -4px 0 0 var(--coral);
}

.scenario-toggle {
  display: none;
}

/* =========================================
 RESPONSIVE
 ========================================= */
@media (max-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* ---- Global spacing ---- */
  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-sub {
    font-size: 0.95rem;
    margin-top: 10px;
  }

  /* ---- Typography ---- */
  .h2 {
    font-size: 1.5rem;
  }

  .section-label {
    margin-bottom: 8px;
  }

  /* ---- Nav ---- */
  .nav__links {
    display: none;
  }

  .nav__cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* ---- Hero ---- */
  .hero__bg-img-wrap {
    width: 100%;
  }
  .hero__bg-img {
    opacity: 0.15;
  }
  .hero__bg-img-wrap::after {
    background: linear-gradient(to right, var(--bg) 10%, transparent 60%);
  }

  /* ---- Hide proof bar ---- */
  .proof-bar {
    display: none;
  }

  /* ---- Prevent horizontal page overflow ---- */
  body {
    overflow-x: hidden;
  }

  /* ---- Problem section ---- */
  .problem__title-wrap {
    margin-bottom: 16px;
  }

  .problem__body {
    display: none;
  }

  .problem__cols {
    grid-template-columns: 1fr;
    gap: 12px;
    min-width: 0;
  }

  .problem__cols > * {
    min-width: 0;
  }

  .failure-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }

  .failure-pill {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .failure-detail {
    padding: 14px;
    min-height: auto;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .failure-detail__title {
    font-size: 1rem;
    padding-bottom: 8px;
  }

  .failure-detail__desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .failure-detail__impacts {
    display: none;
  }

  /* ---- Solution section ---- */
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .principle-card {
    padding: 0;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
  }

  .principle-card__title {
    font-size: 0.85rem;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .principle-card__title::after {
    content: "+";
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .principle-card.is-open .principle-card__title::after {
    content: "−";
  }

  .principle-card__desc {
    font-size: 0.8rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    opacity: 0;
    transition:
            max-height 0.3s ease,
            opacity 0.2s ease,
            padding 0.3s ease;
  }

  .principle-card.is-open .principle-card__desc {
    max-height: 120px;
    opacity: 1;
    padding: 0 16px 14px;
  }

  .solution__result-banner {
    padding: 28px 20px;
    margin-top: 24px;
  }

  .solution__result-banner__text {
    font-size: 1.3rem;
  }

  /* ---- Services — collapse to title + short desc, hide lists ---- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card__title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .service-card__desc {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .service-card__list {
    display: none;
  }

  /* ---- Industries — compact rows, hide redundant label ---- */
  .industry-row {
    grid-template-columns: 1fr;
  }

  .industry-row__visual {
    display: none;
  }

  .industry-row__text {
    padding: 20px;
    gap: 8px;
  }

  .industry-row__label {
    display: none;
  }

  .industry-row__title {
    font-size: 1.3rem;
  }

  .industry-row__desc {
    display: none;
  }

  .industry-row__focus {
    font-size: 0.8rem;
    gap: 3px;
  }

  .industry-row:nth-child(even) .industry-row__text {
    order: 1;
  }

  .industry-row:nth-child(even) .industry-row__visual {
    order: 2;
  }

  /* ---- Why grid — accordion on mobile ---- */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .why-card {
    padding: 0;
    cursor: pointer;
  }

  .why-card__title {
    font-size: 0.85rem;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
  }

  .why-card__title::after {
    content: "+";
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
  }

  .why-card.is-open .why-card__title::after {
    content: "−";
  }

  .why-card__desc {
    font-size: 0.8rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    opacity: 0;
    transition:
            max-height 0.3s ease,
            opacity 0.2s ease,
            padding 0.3s ease;
    margin-bottom: 0;
  }

  .why-card.is-open .why-card__desc {
    max-height: 120px;
    opacity: 1;
    padding: 0 16px 14px;
  }

  /* ---- Scenario — toggle between with/without on mobile ---- */
  .scenario__title {
    margin-bottom: 16px;
  }

  .scenario__cols {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }

  .scenario-col--before,
  .scenario-col--after {
    display: none;
  }

  .scenario-col--before.is-active,
  .scenario-col--after.is-active {
    display: block;
  }

  /* Toggle switch */
  .scenario-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .scenario-toggle__label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition:
            color 0.2s,
            opacity 0.2s;
  }

  .scenario-toggle__label.is-active {
    color: rgba(255, 255, 255, 0.85);
  }

  .scenario-toggle__switch {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .scenario-toggle__knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease;
  }

  .scenario-toggle__switch.is-on .scenario-toggle__knob {
    transform: translateX(16px);
  }

  .scenario-toggle__switch.is-on {
    background: var(--color-resilient, #5ba4d9);
  }

  .scenario-col__head {
    padding: 10px 14px;
    font-size: 0.7rem;
  }

  .scenario-col__body {
    padding: 12px 14px;
    gap: 6px;
  }

  .scenario-step {
    font-size: 0.85rem;
    gap: 8px;
  }

  .scenario__result {
    padding: 12px;
    font-size: 0.85rem;
    margin-top: 12px;
  }

  /* ---- CTA ---- */
  .cta-final {
    padding: 40px 0;
  }

  .cta-final__title {
    font-size: 1.5rem;
  }

  .cta-final__sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .cta-final .btn-group {
    align-items: center;
  }

  /* ---- Contact ---- */
  .contact-section {
    padding: 40px 0;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info__desc {
    display: none;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 32px 0 20px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 16px;
  }

  .footer__tagline {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 32px 0;
  }

  .h2 {
    font-size: 1.3rem;
  }

  .cta-final {
    padding: 32px 0;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
 DARK MODE
 ========================================= */

/* Dark mode wipe — light overlay that slides away top-to-bottom */
body.dark-wipe::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  background: var(--bg-light, #edecea);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.35s ease-in-out;
}

body.dark-wipe.dark-wipe-go::after {
  clip-path: inset(100% 0 0 0);
}

/* Dark mode variable overrides */
body.dark-mode {
  --coral: #5ba4d9;
  --coral-light: #8dc4f0;
  --coral-dark: #3a7ab8;
  --bg: #0d1117;
  --bg-white: #161b22;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-light: #6e7681;
  --border: #30363d;
  --color-resilient: #5ba4d9;
  --color-failure: #1b3a5c;
}

/* Section overrides that would break with variable swap */
body.dark-mode .section--coral {
  background: #0a1628;
}

body.dark-mode .footer {
  background: #010409;
}

body.dark-mode .solution__result-banner {
  background: rgba(91, 164, 217, 0.15);
}



/* Nav in dark mode */
body.dark-mode .nav {
  border-bottom-color: var(--border);
}

body.dark-mode .nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .hero {
  background: #0d1117;
}

body.dark-mode .hero__bg-img-wrap::after {
  background: linear-gradient(to right, #0d1117 0%, transparent 45%);
}

/* Matrix rain canvas */
.matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
  transform: translateZ(0);
}

body.dark-mode .hero__bg-text {
  color: #5ba4d9;
  opacity: 0.35;
  text-shadow:
          0 0 20px rgba(91, 164, 217, 0.6),
          0 0 60px rgba(91, 164, 217, 0.4),
          0 0 120px rgba(91, 164, 217, 0.2);
  transition:
          opacity 1.5s ease,
          text-shadow 1.5s ease,
          color 1.5s ease;
  animation:
          drift 9s ease-in-out infinite,
          spotlight-pulse 3s ease-in-out infinite;
}

@keyframes spotlight-pulse {
  0%,
  100% {
    text-shadow:
            0 0 20px rgba(91, 164, 217, 0.6),
            0 0 60px rgba(91, 164, 217, 0.4),
            0 0 120px rgba(91, 164, 217, 0.2);
  }
  50% {
    text-shadow:
            0 0 30px rgba(91, 164, 217, 0.8),
            0 0 80px rgba(91, 164, 217, 0.5),
            0 0 160px rgba(91, 164, 217, 0.3);
  }
}

/* ---- Matrix Typing Effect ---- */

.matrix-cursor {
  color: #ff9276;
  font-weight: 400;
  animation: cursor-blink 0.6s step-end infinite;
  text-shadow: 0 0 1px #ff9276;
}

@keyframes cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero__label.hero--hidden,
.hero__sub.hero--hidden,
.hero .btn-group.hero--hidden {
  opacity: 0 !important;
  animation: none !important;
  transition: opacity 0.8s ease;
}

.hero__label.hero--visible,
.hero__sub.hero--visible,
.hero .btn-group.hero--visible {
  opacity: 1 !important;
  animation: none !important;
  transition: opacity 0.8s ease;
}


body.dark-mode .scenario-col--before .scenario-col__head {
  background: var(--color-failure);
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .scenario-col--before .scenario-col__body {
  background: rgba(27, 58, 92, 0.2);
}

body.dark-mode .scenario-col--before .scenario-step__text {
  opacity: 0.4;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .scenario-col--before .scenario-step__arrow {
  color: var(--color-failure);
}

body.dark-mode .scenario-col--after .scenario-col__head {
  background: var(--color-resilient);
  color: white;
}

body.dark-mode .scenario-col--after .scenario-col__body {
  background: rgba(91, 164, 217, 0.12);
  border: 1px solid rgba(91, 164, 217, 0.25);
}

body.dark-mode .scenario-col--after .scenario-step__arrow {
  color: var(--color-resilient);
}

body.dark-mode .scenario-col--after .scenario-step__text {
  opacity: 1;
  color: #e6edf3;
}

body.dark-mode .scenario__result {
  background: rgba(91, 164, 217, 0.2);
  color: var(--color-resilient);
}

/* Failure pills — dark blue */
body.dark-mode .failure-pill {
  border-color: var(--color-failure);
  color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .failure-pill:hover {
  background: rgba(27, 58, 92, 0.4);
  border-color: var(--color-failure);
}

body.dark-mode .failure-pill.active {
  background: var(--color-failure);
  color: white;
  border-color: var(--color-failure);
}

/* Failure detail panel */
body.dark-mode .failure-detail {
  background: rgba(27, 58, 92, 0.3);
  border-left-color: var(--color-failure);
}

body.dark-mode .impact-label {
  background: var(--color-failure);
  color: white;
}

/* Principle/solution cards — resilient capabilities */
body.dark-mode .principle-card__title {
  color: var(--color-resilient);
}

body.dark-mode .principle-card:hover {
  box-shadow:
          inset 3px 0 0 var(--color-resilient),
          0 10px 32px rgba(0, 0, 0, 0.3);
}

/* Service cards — resilient offerings */
body.dark-mode .service-card__title {
  color: var(--color-resilient);
}

body.dark-mode .service-card:hover {
  background: #1c2128;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .why-card:hover,
body.dark-mode .principle-card:hover {
  background: #1c2128;
}

/* Industry rows */
body.dark-mode .industry-row:hover {
  box-shadow: inset 4px 0 0 var(--color-resilient);
}

body.dark-mode .industry-row:nth-child(even):hover {
  box-shadow: inset -4px 0 0 var(--color-resilient);
}

/* Form inputs */
body.dark-mode .form-field input,
body.dark-mode .form-field textarea,
body.dark-mode .form-field select {
  background: #0d1117;
  border-color: var(--border);
  color: var(--text);
}

body.dark-mode .form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B949E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* CTA section */
body.dark-mode .cta-final {
  background: #0d1117;
}

/* Proof bar */
body.dark-mode .proof-bar {
  background: #161b22;
  border-color: var(--border);
}

/* Image placeholders */
body.dark-mode .img-placeholder {
  background: #1c2128;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.dark-mode .hero__bg-text {
    animation: none;
  }

  .matrix-canvas {
    display: none;
  }
}

/*----------------------*/
/*--- CAROUSEL CARD ---*/
/*----------------------*/
.carousel-shell {
  margin: 80px 0;
  overflow: visible;
}


@media (max-width: 768px) {

  .advisory__container{
    width: 100% !important;
  }
}
.section__title__advisory {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 73px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 0 0 45px 35px;
  text-align: left;
}

.advisor-eyebrow {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff9276;
  font-size: 16px;
  margin: 0 0 20px 35px;
  text-align: left;
}

#advisor-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: visible !important;
}

.advisor-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  box-sizing: border-box;
  transition:
          transform 0.6s ease,
          opacity 0.6s ease,
          box-shadow 0.3s ease;
}

.advisor-card:hover {
  transform: translateY(-8px) rotateY(6deg);
  box-shadow: 0 35px 85px rgb(221 122 60 / 0.35);
}

.advisor-photo {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 24px;
  align-self: center;
}

.advisor-card h3 {
  width: 100%;
  margin: 0;
  margin-bottom: 12px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(30px, 2vw, 20px);
  line-height: 0.95;
  text-align: center;
  color: var(--navy);
}

.advisor-card p {
  width: 100%;
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.2;
  font-family: "Open Sans", Arial, sans-serif;
  text-align: left;
}

@media (max-width: 768px) {

  .advisor-card p {
    width: 100%;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.2;
    font-family: "Open Sans", Arial, sans-serif;
    text-align: left;
  }

}
#advisor-slider .keen-slider__slide {
  opacity: 0.45;
  transform: scale(0.92);
  transition: all 0.5s ease;
}

#advisor-slider .keen-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 700px) {
  .carousel-shell {
    padding: 0 31px;
    overflow: hidden;
  }

  .section__title__advisory {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-left: 0;
  }

  .advisor-eyebrow {
    margin-left: 0;
    font-size: 12px;
  }

  #advisor-slider {
    width: 100%;
    margin-left: 0;
  }

  .advisor-card {
    padding: 20px;
  }

  .advisor-photo {
    width: 100%;
    max-width: 240px;
    height: 280px;
  }
}
/* =========================================
 NAVIGATION
 ========================================= */

.navigation {
  background: #f3f4f2;
  height: 120px;
  display: flex;
}
@media (max-width: 768px) {

  .navigation {
    padding-right: 5px;
    background: #f3f4f2;
    height: 75px;
    display: flex;
  }
}

.inner_container {
  display: flex;
  width: 100%;
  max-width: 1160px;
  margin: auto;
  justify-content: end;
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
  transition: height 0.25s ease;
  margin-left: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 78px;
}
.nav__logo img {
  height: 106px;
}

@media (max-width: 768px) {
  .nav__logo img {
    height: 65px;
  }
}

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}

.nav__inner {
  max-width: 1160px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
  transition: height 0.3s;
  margin-left: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 85px !important;
}
.footer__logo {
  margin-left: -10px;
}
.footer {
  margin-top: 0px;
  background: #f3f4f2;
  color: rgb(34 34 34);
  padding: 64px 0 40px;
  font-family: "Open Sans", Arial, sans-serif;
}
@media (max-width: 768px) {
  .footer {
    margin-top: 0;
  }
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1.8fr 1fr 0.9fr;
  gap: 100px;
  align-items: start;
  border: none !important;
}

.footer__tagline {
  margin-top: 40px;
  max-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(0 0 0 / 0.72);
  font-weight: 500;
}

.footer__col-title {
  margin-bottom: 28px;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: black;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li + li {
  margin-top: 22px;
}

.footer__links a {
  text-decoration: none;
  line-height: 1.6;
  line-height: 1.2;
  font-weight: 500;
  color: rgb(0 0 0 / 0.72);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #171717;
}

.footer__bottom {
  position: relative;
  margin-top: 70px;
  padding-top: 40px;
  border-top: none;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  font-size: 16px;
  color: rgb(0 0 0 / 0.65);
  font-weight: 400;
  font-family: "Open Sans", Arial, sans-serif;
}

.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 600px) {
  .footer {
    padding: 48px 0 34px;
  }

  .footer__inner {
    padding: 0 22px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__tagline {
    margin-top: 0;
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }

  .footer__col-title {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 0px;
  }

  .footer__links li + li {
    margin-top: 12px;
  }

  .footer__links a {
    font-size: 15px;
    line-height: 1.35;
  }

  .footer__bottom {
    margin-top: 38px;
    padding-top: 24px;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
  }

  .footer__bottom::before {
    left: 0;
    right: 0;
  }
}
.section-label {
  color: white;
}

.contact-section {
  background: var(--bg);
  padding: 48px 0 96px;
}

.contact-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.contact-info--full {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info__title {
  font-size: 50px;
  color: #f8b898;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .contact-info__title {
    font-size: 33px;
  }
}

.contact-card {
  text-align: center;
}

.contact-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-card__role {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-card__org {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-card__address {
  font-style: normal;
  font-size: 0.9rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-card__email {
  text-align: center;
  margin-top: 16px;
}

.contact-card__email-img {
  height: 36px;
  width: auto;
  display: inline-block;
  color: var(--coral);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.duo-input-section {
  width: 100%;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.duo-input-section__inner {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  display: grid;
  gap: clamp(1rem, 3vw, 2.5rem);
  perspective: 450px;
}
.duo-input-section__title {
  font-family: "Oswald", "Open Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.duo-input-section__lead {
  color: var(--text-body);
  margin: 14px 0 20px;
  font-size: 1.22rem;
  line-height: 1.58;
  font-family: "Open Sans", Arial, sans-serif;
}

.duo-input-section__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-family: "oswald", sans-serif;
}

:root {
  --ink: #0b3035;
  --signal: #ffd817;
  --key-size: clamp(2.1rem, 2vw, 3rem);
  --key-gap: 4px;
}
@media (max-width: 1200px) {
  :root {
    --key-size: 2.1rem;
  }
}
@media (max-width: 390px) {
  :root {
    --key-size: 2.65rem;
  }
}

.signature-usecase-animation {
  display: flex;
  flex-direction: column;
  gap: 4vw;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 450px;
}

/*----------------------------*/
/*--- COMPONENT - DUOSCREENS ---*/
/*----------------------------*/
.duo-input-section__image-wrap {
  align-self: center;
  overflow: visible;
}
@media (max-width: 768px) {
  .duo-input-section__image-wrap {
    transform: scale(1);
  }

  .duo-input-section__image-wrap .signature-usecase-animation {
    padding-bottom: 10px !important;
  }
}
.duo-input-section__image-wrap .signature-usecase-animation {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  padding-bottom: 0px;
}

.signature-screen {
  position: relative;
  width: 100%;
  height: clamp(320px, 24vh, 480px);
  padding: clamp(0.8rem, 1vh, 1.2rem);
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.2rem;
  background:
          linear-gradient(135deg, rgba(255, 216, 23, 0.14), transparent 24%),
          linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
          var(--ink);
  background-size:
          auto,
          2rem 2rem,
          2rem 2rem,
          auto;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow:
          0 0 0 2px rgba(11, 48, 53, 0.38),
          0 1.4vh 3.6vh rgba(11, 48, 53, 0.18),
          0 0 3.8vh rgba(255, 216, 23, 0.16);
}

.signature-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
          135deg,
          rgba(255, 255, 255, 0.14),
          transparent 24%
  );
  pointer-events: none;
  z-index: -1;
}

.signature-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
          180deg,
          transparent,
          rgba(255, 255, 255, 0.08),
          transparent
  );
  opacity: 0.3;
  transform: translateY(-100%);
  animation: duoScan 5.5s ease-in-out infinite;
  pointer-events: none;
}
.signature-screen-sign::after {
  animation-delay: -2.6s;
}

@keyframes duoScan {
  0%,
  26% {
    transform: translateY(-100%);
  }
  52%,
  100% {
    transform: translateY(100%);
  }
}

.signature-screen-form {
  justify-self: end;
  transform-origin: center center;
}
.signature-screen-sign {
  justify-self: start;
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.signature-screen-sign .signature-screen-label {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  margin: 0;
  color: #f8f8f6;
}

.signature-screen-label {
  margin: 0 0 1.5vh;
  color: #f8f8f6;
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signature-usecase-animation .signature-input-screen {
  position: absolute;
  left: calc(50% - ((5 * var(--key-size)) + (4 * var(--key-gap))) / 2);
  top: clamp(3.5rem, 12%, 4.4rem);
  width: calc((5 * var(--key-size)) + (4 * var(--key-gap)));
  max-width: calc(100% - 3rem);
  min-height: 2.5rem;
  margin: 0;
  border-bottom: rgba(255, 255, 255, 0.62) 1px solid;
  display: flex;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
}

.signature-output {
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(1rem, 3.2vh, 1.8rem);
  letter-spacing: 0.2em;
  font-family: "Open Sans", Arial, sans-serif;
  color: rgba(255, 255, 255, 0.78);
  width: 100%;
}

.signature-context-note {
  position: absolute;
  left: calc(50% - ((5 * var(--key-size)) + (4 * var(--key-gap))) / 2);
  top: clamp(6.3rem, 23%, 7.9rem);
  width: calc((5 * var(--key-size)) + (4 * var(--key-gap)));
  max-width: calc(100% - 3rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Barlow", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.signature-left-signature-line {
  position: absolute;
  left: calc(50% - ((5 * var(--key-size)) + (4 * var(--key-gap))) / 2);
  top: clamp(8.15rem, 35%, 9.15rem);
  width: calc((5 * var(--key-size)) + (4 * var(--key-gap)));
  max-width: calc(100% - 3rem);
  min-height: 2.65rem;
  border-bottom: rgba(255, 255, 255, 0.45) 1px solid;
}

.signature-stroke-left {
  position: absolute;
  left: 50%;
  bottom: -2.5rem;
  width: 72%;
  min-height: 3rem;
  transform: translateX(-50%);
}

.signature-caption {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Barlow", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}
.signature-caption-left {
  position: absolute;
  left: calc(50% - ((5 * var(--key-size)) + (4 * var(--key-gap))) / 2);
  top: clamp(10.7rem, 44%, 11.1rem);
  max-width: calc(100% - 3rem);
  margin: 0;
  text-align: left;
  z-index: 2;
}

.signature-keys {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  width: calc((5 * var(--key-size)) + (4 * var(--key-gap)));
  max-width: calc(100% - 3rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--key-gap);
}

.screen-button {
  background: #f8f8f6;
  color: #0b3035;
  border-radius: 0.7vh;
  border: 0;
  box-shadow:
          0 0 0 1px rgba(11, 48, 53, 0.18),
          0 0.4vh 0.9vh rgba(11, 48, 53, 0.14);
  font-family: "Barlow", Arial, sans-serif;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  font-weight: 400;
  width: var(--key-size);
  height: calc(var(--key-size) * 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.screen-button.key-wide {
  grid-column: 4 / -1;
  grid-row: 1;
  width: auto;
  justify-self: stretch;
}
.screen-button.key-blancspace {
  grid-column: 1 / -1;
  width: auto;
  height: calc(var(--key-size) * 0.82);
  justify-self: stretch;
}
.screen-button:active,
.screen-button.pressed {
  transform: scale(0.97);
  background: #ffd817;
  color: #0b3035;
  box-shadow:
          0 0 0 1px rgba(11, 48, 53, 0.3),
          0 0 1.2vh rgba(255, 216, 23, 0.3);
}

.signature-stroke {
  width: 82%;
  min-height: 8rem;
  margin-top: 3vh;
  overflow: visible;
}
.signature-stroke-customer {
  width: 86%;
  min-height: 8rem;
  margin-top: 1rem;
}
.signature-stroke path {
  fill: none;
  stroke-width: 4.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: draw-signature 5.6s ease-in-out infinite;
}
.signature-stroke-left path {
  stroke: var(--signal);
  filter: drop-shadow(0 0 0.8vh rgba(255, 255, 255, 0.32));
}
.signature-stroke-customer path {
  stroke: var(--signal);
  filter: drop-shadow(0 0 1vh rgba(255, 216, 23, 0.42));
}
@keyframes draw-signature {
  0%,
  20% {
    stroke-dashoffset: 760;
  }
  60%,
  86% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 760;
  }
}

@media (max-width: 1200px) {
  :root {
    --key-size: 3.15rem;
    --key-gap: 5px;
    --screen-padding: 1rem;
  }

  .signature-usecase-animation,
  .duo-input-section__image-wrap .signature-usecase-animation {
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 38rem;
    margin: 0 auto;
    gap: 2rem;
    perspective: none;
  }

  .signature-screen {
    width: 100%;
    max-width: 38rem;
    min-height: 24rem;
    padding: 1rem;
    border-radius: 1.55rem;
  }

  .signature-screen-form,
  .signature-screen-sign {
    transform: none;
    justify-self: stretch;
  }

  .signature-screen-sign {
    min-height: 26rem;
  }

  .signature-screen-sign .signature-screen-label {
    top: 1rem;
    left: 1rem;
  }

  .signature-usecase-animation .signature-input-screen,
  .signature-context-note,
  .signature-left-signature-line,
  .signature-caption-left {
    left: calc(50% - ((5 * var(--key-size)) + (4 * var(--key-gap))) / 2);
    width: calc((5 * var(--key-size)) + (4 * var(--key-gap)));
    max-width: calc(100% - 2rem);
    right: auto;
  }

  .signature-usecase-animation .signature-input-screen {
    top: 3.45rem;
  }

  .signature-context-note {
    top: 6rem;
  }

  .signature-left-signature-line {
    top: 8.35rem;
    min-height: 3.05rem;
  }

  .signature-caption-left {
    top: 11.65rem;
  }

  .signature-keys {
    left: 1rem;
    right: 1rem;
    bottom: 1.25rem;
    width: calc((5 * var(--key-size)) + (4 * var(--key-gap)));
    max-width: calc(100% - 2rem);
    gap: var(--key-gap);
  }

  .signature-stroke-left {
    width: 70%;
    bottom: -2.5rem;
  }

  .signature-stroke-customer {
    width: 88%;
    min-height: 9rem;
  }

  .signature-screen::after {
    content: none;
  }
}

@media (max-width: 390px) {
  :root {
    --key-size: 2.65rem;
  }

  .signature-screen {
    min-height: 22rem;
  }

  .signature-screen-sign {
    min-height: 18rem;
  }
}
