/* ============================================================
   Nexora AI — v3 "Soft Modern"
   Cream paper · deep navy · honey gold · Inter throughout
   ============================================================ */

/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3dc38d50.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3e3be7f6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-04bc480e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3dc38d50.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3e3be7f6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-04bc480e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3dc38d50.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3e3be7f6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-04bc480e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3dc38d50.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-3e3be7f6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-04bc480e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-d1e40876.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-9f960956.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-165c3984.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-ac7a786a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-55d0bac8.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-197aa1a6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/landing/font-e8a2aaed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-d1e40876.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-9f960956.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-165c3984.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-ac7a786a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-55d0bac8.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-197aa1a6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-e8a2aaed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-d1e40876.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-9f960956.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-165c3984.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-ac7a786a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-55d0bac8.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-197aa1a6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-e8a2aaed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-d1e40876.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-9f960956.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-165c3984.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-ac7a786a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-55d0bac8.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-197aa1a6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-e8a2aaed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-d1e40876.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-9f960956.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-165c3984.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-ac7a786a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-55d0bac8.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-197aa1a6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/landing/font-e8a2aaed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-d1e40876.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-9f960956.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-165c3984.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-ac7a786a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-55d0bac8.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-197aa1a6.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/landing/font-e8a2aaed.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-33029a27.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-dbf6e3b5.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-7cc0f1bc.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-eabcd504.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-46b8ce18.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/font-4c8398f1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-33029a27.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-dbf6e3b5.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-7cc0f1bc.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-eabcd504.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-46b8ce18.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/landing/font-4c8398f1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-33029a27.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-dbf6e3b5.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-7cc0f1bc.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-eabcd504.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-46b8ce18.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/landing/font-4c8398f1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* ── PAPER & SURFACES ── */
  --paper:        #fafdff;   /* light page background */
  --paper-2:      #f2f6fa;   /* hover · subtle row */
  --surface:      #FFFFFF;   /* lifted cards */
  --surface-2:    #f6f9fc;   /* nested */

  /* ── NAVY ── */
  --navy:         #1A2238;   /* dark section background */
  --navy-2:       #2A3450;   /* hover · slight lift */
  --navy-3:       #3F4A6B;

  /* ── TEXT RAMP ── */
  --ink:          #1A2238;
  --ink-1:        #2F3850;   /* body */
  --ink-2:        #5C6479;   /* sub copy */
  --ink-3:        #8C8E9C;   /* meta · hints */
  --ink-4:        #C4C0B5;   /* faint dividers */

  /* ── BORDERS ── */
  --line:         rgba(26, 34, 56, 0.08);
  --line-2:       rgba(26, 34, 56, 0.14);
  --line-strong:  rgba(26, 34, 56, 0.22);

  /* ── GOLD ACCENT ── */
  --gold:         #C89D3B;   /* primary accent — warm honey gold */
  --gold-deep:    #A77F22;   /* hover · pressed */
  --gold-soft:    rgba(200, 157, 59, 0.10);
  --gold-light:   #E5C97A;
  --gold-glow:    rgba(200, 157, 59, 0.25);

  /* ── PEACH (from the logo bg) ── */
  --peach:        #F5E3D3;
  --peach-deep:   #E5C9AE;

  /* ── SECONDARY DATA-VIZ TONES ── */
  --clay:         #B8693E;
  --moss:         #6B7A4F;
  --rust:         #8B3A1F;
  --slate:        #4A5C6E;

  /* ── SEMANTIC ── */
  --good:         #4A6B3A;
  --warn:         #C89D3B;
  --bad:          #8B3A1F;

  /* ── RADII ── */
  --r-1:   4px;
  --r-2:   8px;
  --r-3:  12px;
  --r-4:  20px;
  --r-pill: 999px;

  /* ── SHADOWS — soft, warm ── */
  --shadow-1:  0 1px 2px rgba(26, 34, 56, .04), 0 1px 3px rgba(26, 34, 56, .06);
  --shadow-2:  0 4px 12px rgba(26, 34, 56, .06), 0 2px 4px rgba(26, 34, 56, .04);
  --shadow-3:  0 12px 32px rgba(26, 34, 56, .08), 0 4px 8px rgba(26, 34, 56, .04);
  --shadow-4:  0 24px 64px rgba(26, 34, 56, .12), 0 8px 16px rgba(26, 34, 56, .06);
  --shadow-gold: 0 8px 24px rgba(200, 157, 59, .22);

  /* ── SPACING ── */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* ── TYPE ── */
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Consolas, monospace;
  --font-arabic:  'Cairo', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 1, "cv11" 1;
  letter-spacing: -0.01em;
}

::selection { background: var(--gold); color: var(--navy); }
[dir="rtl"] { font-family: var(--font-arabic); }

/* ============================================================
   SHARED CHROME
   ============================================================ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--s-5); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 253, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-l { display: flex; align-items: center; gap: var(--s-8); }

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 80px; width: auto;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.nav-logo-name .alt-line {
  display: block;
  font-weight: 800;
}
.nav-logo-tag {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 0 6px;
}
.nav-logo-tag::before, .nav-logo-tag::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 4px;
}

.nav-links { display: flex; gap: var(--s-6); }
.nav-link {
  color: var(--ink-1);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s;
  letter-spacing: -0.005em;
}
.nav-link:hover { color: var(--navy); }

.nav-r { display: flex; align-items: center; gap: var(--s-3); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-2);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .18s ease;
  letter-spacing: -0.005em;
}
.btn:hover { background: var(--paper-2); }
.btn-primary {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-2);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26, 34, 56, .25);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  border-color: var(--line-2);
  background: var(--surface);
}
.btn-outline:hover { border-color: var(--navy); background: var(--surface); }
.btn-link {
  background: transparent;
  padding: 11px 6px;
  color: var(--ink);
}
.btn-link:hover { background: transparent; color: var(--gold-deep); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-arrow { transition: transform .18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  right: -120px; top: 80px;
  background: radial-gradient(circle, var(--peach) 0%, transparent 65%);
  opacity: 0.7;
}
.hero::after {
  width: 360px; height: 360px;
  right: 80px; top: 280px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-1);
  letter-spacing: -0.005em;
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 157, 59, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(200, 157, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 157, 59, 0); }
}

.hero-h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 var(--s-5);
}
.hero-h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 0 var(--s-6);
  letter-spacing: -0.005em;
}

.hero-cta {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  margin-bottom: var(--s-7);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-item .icon { color: var(--gold); }

/* ── Hero visual — interactive multi-view ───── */
.hero-vis {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-4);
  padding: var(--s-4);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 480px;
}
.hv-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-3);
}
.hv-dot { width: 10px; height: 10px; border-radius: 50%; }
.hv-dot.r { background: #E5947F; }
.hv-dot.y { background: var(--gold); }
.hv-dot.g { background: var(--moss); }
.hv-tabs {
  display: flex; gap: 2px;
  margin-left: auto;
  padding: 3px;
  background: var(--paper-2);
  border-radius: var(--r-pill);
}
.hv-tab {
  padding: 5px 11px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: all .18s ease;
}
.hv-tab:hover { color: var(--navy); }
.hv-tab.is-on { background: var(--navy); color: var(--paper); }

.hv-views { position: relative; min-height: 380px; }
.hv-view {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.hv-view.is-on {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* histogram view */
.hv-hist-wrap { display: flex; flex-direction: column; gap: 8px; }
.hv-hist-big { width: 100%; height: 140px; }
.hv-hist-legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 10.5px; color: var(--ink-2);
  margin-top: 4px;
}
.hv-leg { display: inline-flex; align-items: center; gap: 5px; }
.hv-leg-sq { width: 9px; height: 9px; border-radius: 2px; }
.hv-leg-line .hv-leg-l { width: 12px; height: 0; border-top: 1.5px dashed var(--navy); display: inline-block; }

/* narrative view */
.hv-narrative { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.hv-narr-doc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 14px 16px;
}
.hv-narr-eyebrow {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.hv-narr-h {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 8px;
}
.hv-narr-p {
  font-size: 12.5px;
  color: var(--ink-1);
  line-height: 1.55;
  margin: 0 0 10px;
}
.hv-narr-p b { color: var(--navy); font-weight: 600; }
.hv-narr-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.hv-narr-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hv-narr-lbl { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.hv-narr-pick {
  background: var(--paper-2);
  border-radius: var(--r-3);
  padding: 14px;
}
.hv-narr-pick-h {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.hv-narr-pick-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.hv-pill {
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-1);
  font-weight: 500;
}
.hv-pill.on {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  font-weight: 600;
}

/* agent view */
.hv-chat { display: flex; flex-direction: column; gap: 10px; padding: 4px 2px; }
.hv-msg { display: flex; gap: 10px; }
.hv-msg.user { justify-content: flex-end; }
.hv-bub {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--ink);
  max-width: 360px;
  line-height: 1.45;
}
.hv-msg.user .hv-bub {
  background: var(--gold-soft);
  border-color: rgba(200, 157, 59, .35);
  color: var(--navy);
}
.hv-bub b { color: var(--navy); font-weight: 600; }
.hv-ai-ico {
  width: 26px; height: 26px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.hv-opts { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.hv-opt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 7px 11px;
}
.hv-opt.is-picked {
  background: var(--gold-soft);
  border-color: rgba(200, 157, 59, .5);
}
.hv-opt-h { font-size: 11.5px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.hv-opt-tick { color: var(--gold-deep); font-family: var(--font-mono); font-size: 10px; font-weight: 600; }
.hv-opt-stats { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); margin-top: 2px; }
.hv-result {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--navy);
  border-radius: var(--r-pill);
  margin-top: 6px;
  align-self: flex-start;
  color: var(--paper);
}
.hv-result-lbl { font-family: var(--font-mono); font-size: 14px; color: rgba(250,246,238,.6); text-decoration: line-through; }
.hv-result-new { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--gold); }
.hv-result-delta { font-family: var(--font-mono); font-size: 11px; color: var(--gold); margin-left: 4px; }

/* hint dots at bottom */
.hv-hint {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s-3);
  margin-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.hv-hint-dots { display: flex; gap: 6px; }
.hv-hint-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-4);
  cursor: pointer;
  transition: all .2s;
}
.hv-hint-dot.is-on { width: 24px; border-radius: var(--r-pill); background: var(--gold); }
.hv-hint-txt { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); }

/* ───── original static hero-vis bits kept for fallback ───── */
.hero-vis {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-4);
  padding: var(--s-4);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hv-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-3);
}
.hv-dot { width: 10px; height: 10px; border-radius: 50%; }
.hv-dot.r { background: #E5947F; }
.hv-dot.y { background: var(--gold); }
.hv-dot.g { background: var(--moss); }
.hv-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.hv-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.hv-kpi {
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.hv-kpi .lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 6px;
}
.hv-kpi .val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hv-kpi .val .unit {
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 4px;
  font-weight: 500;
}
.hv-kpi .delta {
  font-size: 11px;
  color: var(--gold-deep);
  margin-top: 4px;
  font-weight: 500;
}

.hv-chart {
  padding: var(--s-3);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.hv-chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s-3);
}
.hv-chart-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hv-chart-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.hv-gantt-row {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0;
}
.hv-gantt-lbl {
  width: 90px;
  font-size: 11.5px;
  color: var(--ink-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-gantt-trk {
  flex: 1;
  height: 12px;
  position: relative;
}
.hv-gantt-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 8px;
  border-radius: 4px;
}
.hv-gantt-bar.navy { background: var(--navy); }
.hv-gantt-bar.gold { background: var(--gold); }
.hv-gantt-bar.peach { background: var(--peach-deep); }
.hv-gantt-bar.slate { background: var(--slate); }
.hv-gantt-bar.crit { background: var(--rust); box-shadow: 0 0 10px rgba(139, 58, 31, .35); }
.hv-gantt-ms {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 1px;
}

/* ============================================================
   FEATURE STRIP (under hero)
   ============================================================ */
.feature-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-6) 0;
  background: var(--paper);
  position: relative;
  z-index: 2;
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.feature-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-strip-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold);
  flex-shrink: 0;
  background: var(--surface);
}
.feature-strip-text { display: flex; flex-direction: column; gap: 2px; }
.feature-strip-h {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.feature-strip-p {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
}

/* ============================================================
   SECTION CHROME
   ============================================================ */
.section { padding: var(--s-9) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-8); }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: var(--s-3);
}
.section-h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 var(--s-4);
}
.section-h2 .gold { color: var(--gold); }
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   METRICS BANNER (dark navy)
   ============================================================ */
.section-dark {
  background: var(--navy);
  color: var(--paper);
}
.section-dark .section-h2 { color: var(--paper); }
.section-dark .section-h2 .gold { color: var(--gold-light); }
.section-dark .section-sub { color: rgba(250, 246, 238, .7); }
.section-dark .section-eyebrow { color: var(--gold-light); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}
.metric {
  text-align: center;
  padding: 0 var(--s-5);
  border-right: 1px solid rgba(250, 246, 238, .12);
}
.metric:last-child { border-right: none; }
.metric .num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin-bottom: var(--s-3);
}
.metric .num .gold { color: var(--gold-light); }
.metric .num .small { font-size: 0.4em; font-weight: 600; }
.metric .lbl {
  font-size: 14px;
  color: rgba(250, 246, 238, .7);
  line-height: 1.4;
  max-width: 200px;
  margin: 0 auto;
}

/* ── About section ── */
.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 520px;
  margin: 0 auto var(--s-6);
  gap: var(--s-5);
}
.about-metric {
  text-align: center;
  padding: var(--s-5) var(--s-4);
  background: var(--paper-2);
  border-radius: var(--r-4);
  border: 1px solid var(--line);
}
.about-metric-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.about-metric-lbl {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}
.about-mission {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s-6);
  background: var(--paper-2);
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  text-align: center;
}
.about-mission-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-1);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  max-width: 1080px;
  margin: 0 auto;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: var(--s-7);
}
.compare-card.bad {
  background: var(--paper-2);
}
.compare-card.good {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.compare-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.compare-card.good .compare-tag { color: var(--gold-light); }
.compare-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-3);
  margin-bottom: var(--s-3);
}
.compare-card.good .compare-num { color: var(--gold-light); }
.compare-card.bad  .compare-num { color: var(--rust); }
.compare-num .unit {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  vertical-align: 0.6em;
  margin-left: 8px;
  letter-spacing: -0.005em;
}
.compare-card.good .compare-num .unit { color: rgba(250, 246, 238, .6); }
.compare-h {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
  color: var(--navy);
}
.compare-card.good .compare-h { color: var(--paper); }
.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-1); line-height: 1.5; align-items: flex-start; }
.compare-card.good .compare-list li { color: rgba(250, 246, 238, .82); }
.compare-list .icon { flex-shrink: 0; margin-top: 3px; color: var(--ink-3); }
.compare-card.bad .compare-list .icon { color: var(--rust); }
.compare-card.good .compare-list .icon { color: var(--gold-light); }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.feat {
  padding: var(--s-6) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: all .22s ease;
}
.feat:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.feat-ico {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  background: var(--gold-soft);
  display: grid; place-items: center;
  color: var(--gold-deep);
  margin-bottom: var(--s-4);
}
.feat-h {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 8px;
}
.feat-p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.platform-grid .feat { display: flex; flex-direction: column; }
.feat-step {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 6px;
}
.feat-plan {
  margin-top: auto; padding-top: var(--s-4);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.platform-note { max-width: 760px; margin: var(--s-6) auto 0; text-align: center; font-size: 13px; color: var(--ink-2); }

/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */
.steps-list { max-width: 880px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-6);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
}
.step-h {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: var(--s-3);
}
.step-p { font-size: 16px; color: var(--ink-2); line-height: 1.55; max-width: 60ch; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section { max-width: 880px; margin: 0 auto; text-align: center; }
.quote-marks {
  font-family: serif;
  font-size: 96px;
  line-height: 0.4;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.quote-body {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 var(--s-6);
}
.quote-body .gold { color: var(--gold); }
.quote-attr { display: inline-flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
}
.quote-name { font-weight: 600; color: var(--navy); font-size: 14.5px; line-height: 1.2; }
.quote-role { color: var(--ink-3); font-size: 13px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  max-width: 1080px;
  margin: 0 auto;
}

/* ── billing toggle ── */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto var(--s-6);
  max-width: 1080px;
  grid-column: 1 / -1;
  background: var(--paper-2);
  padding: 4px;
  border-radius: var(--r-pill);
}
.billing-toggle button {
  flex: 1;
  padding: 8px 20px;
  border: none;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  white-space: nowrap;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button.active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.billing-toggle .b-badge {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}
.price.featured {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  position: relative;
}
.price.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -10px; right: 24px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.price.featured .price-name { color: var(--paper); }
.price-tag { font-size: 13.5px; color: var(--ink-3); margin-bottom: var(--s-5); }
.price.featured .price-tag { color: rgba(250, 246, 238, .6); }

/* billing period rows inside card */
.price-billing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.price.featured .price-display { border-bottom-color: rgba(250, 246, 238, .12); }

.price-display {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.price.featured .price-display { border-bottom-color: rgba(250, 246, 238, .12); }
.price-display .num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 2px;
}
.price.featured .price-display .num { color: var(--paper); }
.price-display .was {
  font-size: 15px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-bottom: -2px;
}
.price.featured .price-display .was { color: rgba(250,246,238,.5); }
.price-display .save {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
}
.price.featured .price-display .save { color: var(--gold-light); }

.price-custom {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.price-custom-label {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 4px;
}
.price.featured .price-custom-label { color: var(--paper); }
.price-custom-sub {
  font-size: 14px;
  color: var(--ink-3);
}
.price.featured .price-custom-sub { color: rgba(250,246,238,.7); }

.billing-meta {
  text-align: center;
  margin: -8px auto var(--s-5);
  max-width: 1080px;
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.billing-meta .per { font-weight: 600; }
.billing-meta .save-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  background: rgba(200, 157, 59, .12);
  color: var(--gold);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}


.seats-remaining {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: var(--s-5);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.price.featured .seats-remaining { color: var(--gold-light); }
.sr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: sr-pulse 1.6s infinite;
}
.price.featured .sr-dot { background: var(--gold-light); }
@keyframes sr-pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ── Founder launch offer ─────────────────────────── */
.campaign-over .campaign-only { display: none !important; }
html:not(.campaign-over) .campaign-off { display: none !important; }
#countdownTimer {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(200, 157, 59, .15);
  border-radius: var(--r-pill);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.launch-banner {
  position: sticky;
  top: 108px;
  z-index: 40;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  padding: 12px 24px;
  background: linear-gradient(100deg, var(--navy) 0%, #232c48 100%);
  border-bottom: 1px solid rgba(200, 157, 59, .35);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.launch-banner .lb-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.launch-banner .lb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--navy);
  animation: lb-pulse 1.6s infinite;
}
@keyframes lb-pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.launch-banner .lb-text { color: var(--paper); font-size: 14.5px; font-weight: 500; }
.launch-banner .lb-text strong { color: var(--gold-light); font-weight: 700; }

.price.featured::before { content: 'Most chosen by teams'; }

/* founder badge on each card */
.price-badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 4px 11px;
  margin-bottom: 12px;
  background: rgba(200, 157, 59, .12);
  border: 1px solid rgba(200, 157, 59, .35);
  color: var(--gold);
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.price.featured .price-badge { background: rgba(229, 201, 122, .16); border-color: rgba(229, 201, 122, .4); color: var(--gold-light); }

.price-reassure { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px; }
.price.featured .price-reassure { color: rgba(250, 246, 238, .55); }
.price .btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.price .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.price-list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-1);
}
.price.featured .price-list li { color: rgba(250, 246, 238, .85); }
.price-list li .icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--gold);
}
.price.featured .price-list li .icon { color: var(--gold-light); }
.price-list-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price.featured .price-list-header { color: rgba(250, 246, 238, .5); }
.price-list-header .icon { opacity: 0.5; }

/* comparison table */
.compare-wrap { max-width: 1080px; margin: var(--s-8) auto 0; overflow-x: auto; }
.compare-h { text-align: center; font-family: var(--font-sans); font-weight: 700; font-size: 22px; color: var(--navy); margin-bottom: var(--s-5); letter-spacing: -0.015em; }
table.compare-tbl { width: 100%; border-collapse: collapse; min-width: 620px; }
table.compare-tbl th, table.compare-tbl td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14px; }
table.compare-tbl thead th { font-family: var(--font-sans); font-weight: 700; color: var(--navy); font-size: 15px; }
table.compare-tbl thead th.pop { color: var(--gold); }
table.compare-tbl tbody th { text-align: left; font-weight: 600; color: var(--ink-1); }
table.compare-tbl td .ck { color: var(--gold); }
table.compare-tbl td .no { color: var(--ink-3); }
table.compare-tbl tbody tr:hover { background: rgba(200, 157, 59, .04); }
.compare-team { display: none; }
.compare-team.is-visible { display: table-cell; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icon { color: var(--ink-3); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .icon { transform: rotate(45deg); color: var(--gold); }
.faq-a {
  padding-top: var(--s-4);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  text-align: center;
  padding: var(--s-10) var(--s-5);
  max-width: 880px;
  margin: 0 auto;
}
.cta-h {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: var(--s-5);
}
.cta-h .gold { color: var(--gold); }
.cta-p { font-size: 18px; color: var(--ink-2); margin-bottom: var(--s-6); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { padding: var(--s-7) 0 var(--s-5); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr; gap: var(--s-6); margin-bottom: var(--s-6); }
.foot-about { color: var(--ink-2); font-size: 14px; line-height: 1.55; max-width: 320px; margin-top: var(--s-3); }
.foot-col h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: var(--s-3);
  letter-spacing: -0.005em;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color .15s; }
.foot-col a:hover { color: var(--navy); }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .compare, .feature-strip-grid, .price-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: var(--s-6) 0; }
  .metric { border-right: none; border-bottom: 1px solid rgba(250, 246, 238, .12); padding-bottom: var(--s-5); }
  .nav-links { display: none; }
  .step { grid-template-columns: 60px 1fr; gap: var(--s-4); }
  .step-num { font-size: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .compare, .feature-strip-grid, .price-grid, .features-grid { grid-template-columns: 1fr; }
  .section { padding: var(--s-7) 0; }
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .hero-h1 { font-size: 44px; }
}


/* ============================================================
   DEMO MODAL — cinematic walkthrough
   ============================================================ */
.demo { position: fixed; inset: 0; z-index: 1000; }
.demo[hidden] { display: none; }

.demo-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 19, 32, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  animation: demoFade .3s ease;
}
.demo-frame {
  position: absolute;
  inset: 2.5vh 2.5vw;
  background: var(--paper);
  border-radius: var(--r-4);
  box-shadow: 0 40px 100px rgba(15, 19, 32, .55);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  animation: demoPop .4s cubic-bezier(.2,.9,.2,1);
}
@keyframes demoFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes demoPop {
  from { opacity: 0; transform: translateY(20px) scale(.98) }
  to   { opacity: 1; transform: translateY(0) scale(1) }
}

/* ── TOP BAR ── */
.demo-bar {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex-wrap: nowrap;
}
.demo-bar-l { display: flex; align-items: center; gap: 12px; }
.demo-bar-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  letter-spacing: 0.04em;
}
.demo-bar-l > div { min-width: 0; }
.demo-bar-proj { font-weight: 700; font-size: 13.5px; color: var(--navy); letter-spacing: -0.005em; white-space: nowrap; }
.demo-bar-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; letter-spacing: 0.01em; white-space: nowrap; }
.demo-steps {
  display: flex; gap: 4px;
  list-style: none; margin: 0 auto; padding: 0;
}
.demo-steps li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--ink-3);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .22s ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.demo-steps .lbl { white-space: nowrap; }
.demo-steps li:hover { color: var(--ink-1); background: var(--paper-2); }
.demo-steps li.is-on {
  color: var(--navy);
  background: var(--gold-soft);
  border-color: rgba(200,157,59,.4);
}
.demo-steps .num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  color: var(--gold-deep);
  font-weight: 600;
}
.demo-steps .lbl { font-weight: 600; }
.demo-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-1);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s ease;
}
.demo-close:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }

/* ── STAGE ── */
.demo-body {
  position: relative;
  background:
    radial-gradient(ellipse 1100px 500px at 50% -10%, var(--gold-soft) 0%, transparent 65%),
    var(--paper);
  overflow: hidden;
}
.demo-stage { position: absolute; inset: 0; }

.demo-slide {
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.demo-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ── PHASE container — fills slide, only one visible per slide ── */
.ds-reel { position: absolute; inset: 0; }
.ds-phase {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 44px;
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .55s cubic-bezier(.3,.7,.3,1), transform .65s cubic-bezier(.3,.7,.3,1);
  pointer-events: none;
}
.ds-phase.phase-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.ds-phase.phase-played {
  opacity: 0;
  transform: translateY(-24px) scale(1.01);
  z-index: 1;
}

/* ── Card — content holder inside a phase ── */
.ds-card {
  width: min(1100px, 100%);
  max-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: 0 18px 50px rgba(26,34,56,.10);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

/* Every phase's single content child must fit the stage, never overflow */
.ds-phase > * {
  max-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── Shared atoms ── */
.ds-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--moss, #2D6A4F);
  margin-right: 8px;
  vertical-align: middle;
  animation: dsPulse 1.4s ease-in-out infinite;
}
.ds-pulse.rust { background: var(--rust); animation-name: dsPulseR; }
@keyframes dsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,106,79,.6); }
  50%      { box-shadow: 0 0 0 9px rgba(45,106,79,0); }
}
@keyframes dsPulseR {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,105,62,.6); }
  50%      { box-shadow: 0 0 0 9px rgba(184,105,62,0); }
}

.ds-stat {
  display: flex; flex-direction: column;
  padding: 10px 14px;
  background: var(--paper-2);
  border-radius: var(--r-2);
  border-left: 3px solid var(--gold);
  min-width: 0;
}
.ds-stat .lbl {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); font-weight: 600;
}
.ds-stat .val {
  font-size: 24px; color: var(--navy); font-weight: 800;
  letter-spacing: -0.02em; margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.ds-stat .val.rust { color: var(--rust); }
.ds-stat .val.moss { color: var(--moss, #2D6A4F); }
.ds-stat .unit { font-size: 11px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }

/* Section headers used inside cards */
.ds-map-h, .ds-rain-h, .ds-tab-h, .ds-wbs-h, .ds-cpm-h, .ds-res-h, .ds-comp-h, .ds-ex-h, .ds-parse-h {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--ink-2); font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 1 — UPLOAD (3 phases: drop → parse → done)
   ═══════════════════════════════════════════════════════════════ */
.ds-up-drop {
  border: 2px dashed var(--line-2);
  background: var(--paper-2);
  border-radius: var(--r-3);
  text-align: center;
  align-items: center;
  padding: 40px 36px;
  width: min(720px, 100%);
  display: flex; flex-direction: column; gap: 4px;
}
.ds-up-ico {
  color: var(--gold-deep);
  margin: 0 auto 10px;
  animation: dsBounce 2.4s ease-in-out infinite;
}
@keyframes dsBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.ds-up-h {
  font-size: 28px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.ds-up-p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.ds-up-files { display: grid; gap: 10px; width: 100%; max-width: 580px; margin: 0 auto; }
.ds-phase.phase-on .ds-up-file {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font-size: 13.5px;
  text-align: left;
  opacity: 0;
  animation: dsDrop .65s cubic-bezier(.2,.9,.3,1.05) both;
}
.ds-phase.phase-on .ds-up-file:nth-child(1) { animation-delay: .35s; }
.ds-phase.phase-on .ds-up-file:nth-child(2) { animation-delay: .85s; }
.ds-phase.phase-on .ds-up-file:nth-child(3) { animation-delay: 1.35s; }
@keyframes dsDrop {
  from { opacity: 0; transform: translateY(-30px) scale(.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.ds-up-tag {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px;
  color: var(--paper);
  letter-spacing: 0.05em;
}
.ds-up-tag.xl  { background: var(--moss, #2D6A4F); }
.ds-up-tag.pdf { background: var(--rust); }
.ds-up-tag.dwg { background: var(--slate, #4A5468); }
.ds-up-name { color: var(--navy); font-weight: 600; letter-spacing: -0.005em; }
.ds-up-sz   { color: var(--ink-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ds-up-ok   { color: var(--moss, #2D6A4F); font-weight: 700; font-size: 16px; }

/* Parsing stream */
.ds-parse { width: min(880px, 100%); }
.ds-parse-count { margin-left: auto; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: var(--ink-3); }
.ds-parse-num   { color: var(--navy); font-weight: 700; font-size: 15px; }
.ds-parse-of    { color: var(--ink-3); margin-left: 4px; }
.ds-parse-stream {
  position: relative;
  height: min(360px, 44vh);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--paper-2);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.ds-phase.phase-on .ds-parse-row {
  display: grid;
  grid-template-columns: 100px 1fr 60px 100px;
  gap: 16px;
  padding: 11px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: absolute; left: 0; right: 0;
  animation: dsParseFlow 4.5s linear infinite;
}
.ds-phase.phase-on .ds-parse-row:nth-child(1)  { animation-delay: 0.0s; }
.ds-phase.phase-on .ds-parse-row:nth-child(2)  { animation-delay: 0.32s; }
.ds-phase.phase-on .ds-parse-row:nth-child(3)  { animation-delay: 0.64s; }
.ds-phase.phase-on .ds-parse-row:nth-child(4)  { animation-delay: 0.96s; }
.ds-phase.phase-on .ds-parse-row:nth-child(5)  { animation-delay: 1.28s; }
.ds-phase.phase-on .ds-parse-row:nth-child(6)  { animation-delay: 1.60s; }
.ds-phase.phase-on .ds-parse-row:nth-child(7)  { animation-delay: 1.92s; }
.ds-phase.phase-on .ds-parse-row:nth-child(8)  { animation-delay: 2.24s; }
.ds-phase.phase-on .ds-parse-row:nth-child(9)  { animation-delay: 2.56s; }
.ds-phase.phase-on .ds-parse-row:nth-child(10) { animation-delay: 2.88s; }
@keyframes dsParseFlow {
  0%   { transform: translateY(360px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-44px); opacity: 0; }
}
.ds-parse-row .c1 { font-family: var(--font-mono, ui-monospace, monospace); color: var(--gold-deep); font-weight: 600; font-size: 11.5px; }
.ds-parse-row .c2 { color: var(--navy); font-weight: 500; }
.ds-parse-row .c3 { color: var(--ink-3); font-size: 11.5px; text-align: right; }
.ds-parse-row .c4 { color: var(--navy); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* Parsed summary */
.ds-parsed { text-align: center; align-items: center; padding: 48px 40px; width: min(680px, 100%); }
.ds-parsed-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--moss, #2D6A4F);
  color: white;
  display: grid; place-items: center;
  margin: 0 auto 6px;
}
.ds-phase.phase-on .ds-parsed-check {
  animation: dsPop .65s cubic-bezier(.2,1.4,.4,1) .15s both;
}
@keyframes dsPop {
  from { opacity: 0; transform: scale(.3); }
  to   { opacity: 1; transform: scale(1); }
}
.ds-parsed-h {
  font-size: 32px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.025em;
}
.ds-parsed-p { font-size: 14px; color: var(--ink-2); max-width: 480px; margin: 0 auto; line-height: 1.5; }
.ds-parsed-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; width: 100%; max-width: 600px; margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 2 — MAPPING (BOQ → Activities, then rain cascade)
   ═══════════════════════════════════════════════════════════════ */
.ds-map { width: min(1100px, 100%); }
.ds-map-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1.3fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 8px;
}
.ds-map-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--ink-3); font-weight: 700; margin-bottom: 10px;
}
.ds-map-col { display: flex; flex-direction: column; gap: 12px; }
.ds-map-src, .ds-map-dst {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-2);
  padding: 13px 16px; display: flex; flex-direction: column; gap: 4px;
}
.ds-map-src .code { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.04em; }
.ds-map-src .t    { font-size: 14px; color: var(--navy); font-weight: 600; }
.ds-map-src .q    { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ds-map-dst .t    { font-size: 14px; color: var(--navy); font-weight: 700; letter-spacing: -0.005em; }
.ds-map-dst .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; align-items: center; }
.ds-map-dst .meta .dur  { color: var(--gold-deep); font-weight: 700; margin-left: auto; }
.ds-map-dst .meta .cost { color: var(--navy); font-weight: 700; }
.ds-map-arrow { display: grid; place-items: center; color: var(--gold); }
.ds-phase.phase-on .ds-map-line {
  stroke-dasharray: 3,3;
  stroke-dashoffset: 60;
  animation: dsLine 1.2s cubic-bezier(.6,0,.4,1) both;
}
@keyframes dsLine { to { stroke-dashoffset: 0; } }
.ds-phase.phase-on .ds-map-dst {
  opacity: 0;
  animation: dsSlideR .65s cubic-bezier(.2,.9,.3,1.05) both;
}
.ds-phase.phase-on .ds-map-dst[data-i="1"] { animation-delay: .65s; }
.ds-phase.phase-on .ds-map-dst[data-i="2"] { animation-delay: 1.25s; }
.ds-phase.phase-on .ds-map-dst[data-i="3"] { animation-delay: 1.85s; }
.ds-phase.phase-on .ds-map-dst[data-i="4"] { animation-delay: 2.45s; }
.ds-phase.phase-on .ds-map-dst.pop {
  animation: dsSlideRPop .7s cubic-bezier(.2,1.2,.3,1.05) both;
}
@keyframes dsSlideR {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Rain cascade */
.ds-rain { width: min(1100px, 100%); }
.ds-rain-counter { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.ds-rain-num { font-family: var(--font-mono, ui-monospace, monospace); color: var(--navy); font-weight: 800; font-size: 15px; margin-right: 4px; }
.ds-rain-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; height: min(340px, 42vh); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 92%, transparent 100%);
}
.ds-rain-col { display: flex; flex-direction: column; gap: 7px; }
.ds-phase.phase-on .ds-rain-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px;
  padding: 9px 12px; font-size: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  opacity: 0;
  animation: dsRain 1.4s cubic-bezier(.2,.7,.3,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes dsRain {
  0%   { opacity: 0; transform: translateY(-120px) scale(.92); filter: blur(3px); }
  35%  { opacity: 1; }
  60%  { opacity: 1; transform: translateY(2px)    scale(1);   filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)      scale(1); }
}
.ds-rain-row .c { font-family: var(--font-mono, ui-monospace, monospace); color: var(--gold-deep); font-weight: 700; font-size: 10.5px; }
.ds-rain-row span:nth-child(2) { color: var(--navy); font-weight: 500; font-size: 11.5px; }
.ds-rain-row .d { color: var(--ink-2); font-family: var(--font-mono, ui-monospace, monospace); font-weight: 700; font-size: 11px; }
.ds-rain-foot {
  display: flex; gap: 14px; padding: 14px 18px;
  background: var(--navy); color: var(--paper);
  border-radius: var(--r-2);
  font-size: 13.5px; align-items: center;
  opacity: 0;
}
.ds-phase.phase-on .ds-rain-foot {
  animation: dsFadeIn .6s 2.4s both;
}
.ds-rain-foot b { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes dsFadeIn { to { opacity: 1; } }

/* ── Calculation engine (qty → rate → crews → duration) ── */
.ds-calc { width: min(1100px, 100%); display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-4);
  box-shadow: 0 18px 50px rgba(26,34,56,.10); padding: 26px 30px; }
.ds-calc-tbl { display: flex; flex-direction: column; gap: 0; }
.ds-calc-head, .ds-calc-row {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 24px 1.2fr 24px 1.1fr 28px 1.2fr 24px 0.8fr;
  align-items: center;
  gap: 8px;
}
.ds-calc-head {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-3); font-weight: 700;
  padding: 0 12px 10px; border-bottom: 1px solid var(--line-2);
}
.ds-calc-head .col-op { color: transparent; }
.ds-calc-row {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}
.ds-calc-row:last-child { border-bottom: 0; }
.ds-calc-row .col-item b { color: var(--navy); font-weight: 700; font-size: 13.5px; }
.ds-calc-row .col-op { text-align: center; color: var(--ink-3); font-weight: 700; font-size: 14px; }
.ds-calc-row .col-qty { color: var(--ink-1); font-weight: 600; }
.ds-calc-row .col-rate { color: var(--gold-deep); font-weight: 600; }
.ds-calc-row .col-cd { color: var(--ink-2); }
.ds-calc-row .col-crew { color: var(--navy); font-weight: 600; }
.ds-calc-row .col-dur {
  color: var(--paper); font-weight: 800; text-align: center;
  background: var(--gold-deep); border-radius: 6px; padding: 5px 0; font-size: 13px;
}
/* reveal columns left → right per row */
.ds-phase.phase-on .ds-calc-row { opacity: 0; }
.ds-phase.phase-on .ds-calc-row[data-i="1"] { animation: dsFadeIn .01s .3s forwards; }
.ds-phase.phase-on .ds-calc-row[data-i="2"] { animation: dsFadeIn .01s .55s forwards; }
.ds-phase.phase-on .ds-calc-row[data-i="3"] { animation: dsFadeIn .01s .8s forwards; }
.ds-phase.phase-on .ds-calc-row[data-i="4"] { animation: dsFadeIn .01s 1.05s forwards; }
.ds-phase.phase-on .ds-calc-row > span { opacity: 0; animation: dsCalcCol .45s cubic-bezier(.2,.9,.3,1) both; }
.ds-phase.phase-on .ds-calc-row > span:nth-child(1) { animation-delay: calc(var(--rb, 0s) + .00s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(2) { animation-delay: calc(var(--rb, 0s) + .15s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(3) { animation-delay: calc(var(--rb, 0s) + .25s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(4) { animation-delay: calc(var(--rb, 0s) + .35s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(5) { animation-delay: calc(var(--rb, 0s) + .50s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(6) { animation-delay: calc(var(--rb, 0s) + .60s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(7) { animation-delay: calc(var(--rb, 0s) + .75s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(8) { animation-delay: calc(var(--rb, 0s) + .85s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(9) { animation-delay: calc(var(--rb, 0s) + .95s); }
.ds-phase.phase-on .ds-calc-row > span:nth-child(10){ animation-delay: calc(var(--rb, 0s) + 1.05s); }
.ds-phase.phase-on .ds-calc-row[data-i="1"] > span { --rb: .35s; }
.ds-phase.phase-on .ds-calc-row[data-i="2"] > span { --rb: .9s; }
.ds-phase.phase-on .ds-calc-row[data-i="3"] > span { --rb: 1.45s; }
.ds-phase.phase-on .ds-calc-row[data-i="4"] > span { --rb: 2.0s; }
@keyframes dsCalcCol {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ds-calc-note {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5;
  background: var(--paper-2); border-radius: var(--r-2); padding: 12px 16px;
  border-left: 3px solid var(--gold);
}
.ds-calc-chip {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--gold-deep); background: var(--gold-soft);
  border-radius: var(--r-pill); padding: 3px 9px; margin-right: 8px;
}

/* ── Engineering logic network ── */
.ds-logic { width: min(1100px, 100%); }
.ds-logic-key {
  display: inline-block; font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
  margin-left: 8px; margin-right: 4px; letter-spacing: 0.03em;
}
.ds-logic-key.fs { background: var(--slate, #4A5468); color: var(--paper); }
.ds-logic-key.ss { background: var(--gold); color: var(--paper); }
.ds-logic-stage {
  position: relative;
  height: min(300px, 38vh);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}
.ds-logic-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.ds-phase.phase-on .ds-link {
  stroke-dasharray: 260; stroke-dashoffset: 260;
  animation: dsLink .6s ease-out both;
  animation-delay: var(--ld, 0s);
}
@keyframes dsLink { to { stroke-dashoffset: 0; } }
.ds-node {
  position: absolute;
  left: calc(var(--nx) / 900 * 100%);
  top: var(--ny);
  width: 120px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 9px 12px;
  box-shadow: 0 4px 14px rgba(26,34,56,.08);
  display: flex; flex-direction: column; gap: 1px;
}
.ds-node.crit { border-color: var(--rust); box-shadow: 0 4px 16px rgba(184,105,62,.18); }
.ds-node-t { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.ds-node-m { font-size: 10.5px; color: var(--ink-3); font-family: var(--font-mono, ui-monospace, monospace); }
.ds-node-lg {
  position: absolute; top: -9px; left: 10px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
  color: var(--paper); letter-spacing: 0.02em;
}
.ds-node-lg.fs { background: var(--slate, #4A5468); }
.ds-node-lg.ss { background: var(--gold); }
.ds-phase.phase-on .ds-node {
  opacity: 0;
  animation: dsNodePop .5s cubic-bezier(.2,1.3,.4,1) both;
  animation-delay: var(--nd, 0s);
}
@keyframes dsNodePop {
  from { opacity: 0; transform: scale(.7) translateY(8px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}


/* ── Mapping storyboard replacement — BOQ groups → Activities → WBS tree ── */
.ds-mapx{
  width:min(1100px,100%);
  height:min(430px,100%);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-4);
  box-shadow:0 18px 50px rgba(26,34,56,.10);
  padding:24px 30px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:hidden;
}
.ds-mapx-top{display:flex;align-items:center;gap:12px;min-height:26px;}
.ds-mapx-h{display:flex;align-items:center;gap:8px;font-size:12px;text-transform:uppercase;letter-spacing:.10em;color:var(--ink-2);font-weight:800;}
.ds-mapx-sub{margin-left:auto;font-size:11.5px;color:var(--ink-3);font-weight:600;}
.ds-mapx-stage{position:relative;flex:1;min-height:0;background:linear-gradient(135deg,var(--paper-2),rgba(255,255,255,.62));border:1px solid var(--line);border-radius:var(--r-3);overflow:hidden;padding:20px;}
.ds-mapx-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--ink-3);font-weight:800;margin-bottom:10px;}
.ds-mapx-col{display:flex;flex-direction:column;gap:10px;}
.ds-boq-card,.ds-act-card,.ds-tree-pill,.ds-mapx-mini-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 5px 16px rgba(26,34,56,.06);}
.ds-boq-card{padding:10px 12px;display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:10px;position:relative;}
.ds-boq-card .code,.ds-mapx-code{font-family:var(--font-mono,ui-monospace,monospace);font-size:10px;color:var(--gold-deep);font-weight:800;letter-spacing:.035em;}
.ds-boq-card .name{font-size:12.5px;color:var(--navy);font-weight:700;letter-spacing:-.01em;}
.ds-boq-card .qty{font-size:11px;color:var(--ink-3);font-variant-numeric:tabular-nums;}
.ds-act-card{padding:13px 15px;display:flex;flex-direction:column;gap:4px;position:relative;}
.ds-act-card.navy{background:linear-gradient(180deg,#111B2E,#0D1628);border-color:rgba(15,27,45,.92);box-shadow:0 10px 28px rgba(15,27,45,.20);color:var(--paper);}
.ds-act-card .t{font-size:14px;font-weight:800;color:var(--navy);letter-spacing:-.012em;}
.ds-act-card.navy .t{color:#fff;}
.ds-act-card .m{display:flex;gap:11px;align-items:center;font-size:11.5px;color:var(--ink-2);font-variant-numeric:tabular-nums;}
.ds-act-card.navy .m{color:rgba(255,255,255,.78);}
.ds-act-card .dur{margin-left:auto;color:var(--gold-deep);font-weight:900;}
.ds-act-card.navy .dur{color:#E8BC57;}
.ds-dash-arrow{position:absolute;border-top:2px dashed var(--gold);height:0;opacity:.9;}
.ds-dash-arrow:after{content:'';position:absolute;right:-2px;top:-5px;width:8px;height:8px;border-top:2px solid var(--gold);border-right:2px solid var(--gold);transform:rotate(45deg);}
.ds-mapx-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid color-mix(in oklab,var(--gold) 35%,transparent);background:var(--gold-soft);color:var(--gold-deep);border-radius:999px;padding:5px 10px;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.ds-mapx-note{font-size:11.5px;color:var(--ink-2);line-height:1.45;}

/* Phase 1 — raw lines + related group detection */
.ds-mapx-detect{display:grid;grid-template-columns:1fr 1fr;gap:30px;height:100%;align-items:start;}
.ds-mapx-detect .left,.ds-mapx-detect .right{position:relative;}
.ds-mapx-detect .right .ds-boq-card.grouped{border-color:color-mix(in oklab,var(--gold) 55%,var(--line));background:linear-gradient(90deg,var(--gold-soft),var(--surface));}
.ds-mapx-bracket{position:absolute;right:-20px;top:35px;width:15px;height:157px;border-right:2px solid var(--gold);border-top:2px solid var(--gold);border-bottom:2px solid var(--gold);border-radius:0 8px 8px 0;opacity:0;}
.ds-mapx-bracket span{position:absolute;left:22px;top:55px;width:72px;font-size:11px;color:var(--ink-2);font-weight:800;line-height:1.15;}
.ds-mapx-scan{position:absolute;left:0;right:0;top:42px;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:0;}
.ds-phase.phase-on .ds-mapx-detect .left .ds-boq-card{opacity:0;animation:dsMapxRise .55s cubic-bezier(.2,.9,.3,1) both;animation-delay:calc(.15s + var(--i)*.14s);}
.ds-phase.phase-on .ds-mapx-detect .right{opacity:0;animation:dsMapxFade .01s 1.15s forwards;}
.ds-phase.phase-on .ds-mapx-detect .right .ds-boq-card{opacity:0;animation:dsMapxRise .48s cubic-bezier(.2,.9,.3,1) both;animation-delay:calc(1.2s + var(--i)*.12s);}
.ds-phase.phase-on .ds-mapx-detect .right .grouped{animation-name:dsMapxGroupPop;}
.ds-phase.phase-on .ds-mapx-bracket{animation:dsMapxBracket .45s ease-out 1.95s forwards;}
.ds-phase.phase-on .ds-mapx-scan{animation:dsMapxScan 1.1s ease-in-out 1.55s both;}

/* Phase 2 — collapse into activities */
.ds-mapx-collapse{display:grid;grid-template-columns:.9fr 82px 1.25fr;gap:18px;height:100%;align-items:center;}
.ds-mapx-stack{position:relative;height:246px;}
.ds-mapx-stack .ds-boq-card{position:absolute;left:0;right:0;}
.ds-mapx-stack .ds-boq-card:nth-child(1){top:0;}.ds-mapx-stack .ds-boq-card:nth-child(2){top:58px;}.ds-mapx-stack .ds-boq-card:nth-child(3){top:116px;}.ds-mapx-stack .ds-boq-card:nth-child(4){top:174px;}
.ds-mapx-collapse-mid{height:100%;display:grid;place-items:center;color:var(--gold-deep);font-weight:900;font-size:24px;}
.ds-mapx-act-list{display:flex;flex-direction:column;gap:10px;}
.ds-mapx-count{border:1px dashed color-mix(in oklab,var(--ink-3) 40%,transparent);border-radius:8px;padding:9px 12px;text-align:center;font-size:12px;color:var(--ink-2);font-weight:800;background:rgba(255,255,255,.45);}
.ds-phase.phase-on .ds-mapx-stack .ds-boq-card{animation:dsMapxCollapse 1.1s cubic-bezier(.45,0,.2,1) both;animation-delay:calc(.25s + var(--i)*.08s);}
.ds-phase.phase-on .ds-mapx-collapse-mid{opacity:0;animation:dsMapxFade .25s 1.0s forwards;}
.ds-phase.phase-on .ds-mapx-act-list .ds-act-card,.ds-phase.phase-on .ds-mapx-count{opacity:0;animation:dsMapxSlideR .65s cubic-bezier(.2,1.05,.3,1) both;animation-delay:calc(1.15s + var(--i)*.35s);}

/* Phase 3 — WBS levels build from inside to outside */
.ds-mapx-wbsbuild{position:relative;height:100%;display:grid;grid-template-columns:1fr 1.2fr;gap:26px;align-items:center;}
.ds-mapx-activity-stack{display:flex;flex-direction:column;gap:10px;}
.ds-mapx-treebox{position:relative;height:278px;border:1px solid var(--line);border-radius:var(--r-3);background:rgba(255,255,255,.46);padding:18px 20px;overflow:hidden;}
.ds-tree-pill{height:38px;display:flex;align-items:center;gap:8px;padding:0 13px;font-size:12px;font-weight:800;color:var(--navy);position:absolute;left:var(--x);top:var(--y);min-width:var(--w,170px);}
.ds-tree-pill.parent{background:color-mix(in oklab,var(--moss,#2D6A4F) 14%,var(--surface));border-color:color-mix(in oklab,var(--moss,#2D6A4F) 25%,var(--line));}
.ds-tree-pill.node{background:color-mix(in oklab,var(--gold) 13%,var(--surface));border-color:color-mix(in oklab,var(--gold) 30%,var(--line));}
.ds-tree-pill.activity{background:linear-gradient(180deg,#111B2E,#0D1628);color:#fff;border-color:rgba(15,27,45,.92);}
.ds-tree-pill .ico{width:18px;height:18px;border-radius:5px;display:grid;place-items:center;background:var(--gold-soft);color:var(--gold-deep);font-family:var(--font-mono,ui-monospace,monospace);font-size:9px;}
.ds-tree-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.ds-mapx-zoomrings{position:absolute;inset:auto 28px 28px auto;width:150px;height:150px;border-radius:50%;border:1px solid color-mix(in oklab,var(--gold) 22%,transparent);opacity:.28;}
.ds-mapx-zoomrings:before,.ds-mapx-zoomrings:after{content:'';position:absolute;inset:22px;border:1px solid color-mix(in oklab,var(--gold) 28%,transparent);border-radius:50%;}.ds-mapx-zoomrings:after{inset:46px;}
.ds-phase.phase-on .ds-mapx-activity-stack .ds-act-card{opacity:0;animation:dsMapxZoomIn .55s cubic-bezier(.2,1.05,.3,1) both;animation-delay:calc(.2s + var(--i)*.18s);}
.ds-phase.phase-on .ds-tree-lines path{stroke-dasharray:240;stroke-dashoffset:240;animation:dsMapxDraw .75s ease-out both;animation-delay:var(--d,.8s);}
.ds-phase.phase-on .ds-tree-pill{opacity:0;animation:dsMapxTreeIn .62s cubic-bezier(.2,1.15,.3,1) both;animation-delay:var(--d,.6s);}
.ds-phase.phase-on .ds-mapx-zoomrings{animation:dsMapxRing 2.4s ease-out .8s both;}

/* Phase 4 — final overview */
.ds-mapx-final{display:grid;grid-template-columns:.78fr .95fr 1.05fr;gap:18px;height:100%;align-items:stretch;}
.ds-mapx-panel{border:1px solid var(--line);border-radius:var(--r-3);background:rgba(255,255,255,.52);padding:13px;overflow:hidden;position:relative;}
.ds-mapx-group{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:10px 11px;margin-bottom:8px;box-shadow:0 5px 15px rgba(26,34,56,.05);}
.ds-mapx-group .row{display:flex;gap:8px;font-size:11px;color:var(--navy);font-weight:650;margin-bottom:4px;}
.ds-mapx-group .badge{display:inline-flex;border-radius:999px;background:var(--gold-soft);color:var(--gold-deep);font-size:10px;font-weight:900;padding:3px 8px;margin-top:4px;}
.ds-mapx-final .ds-act-card{margin-bottom:9px;}
.ds-mapx-final-tree{position:relative;height:100%;min-height:244px;}
.ds-mapx-final-tree .ds-tree-pill{height:30px;font-size:10.8px;min-width:var(--w,150px);padding:0 10px;border-radius:9px;}
.ds-phase.phase-on .ds-mapx-final .ds-mapx-panel{opacity:0;animation:dsMapxFinal .65s cubic-bezier(.2,.9,.3,1) both;animation-delay:var(--d,.2s);}
.ds-phase.phase-on .ds-mapx-final .ds-act-card{animation:dsMapxPulseCard 1.3s ease-in-out infinite;animation-delay:var(--d,.8s);}
.ds-phase.phase-on .ds-mapx-final-tree .ds-tree-pill{opacity:0;animation:dsMapxTreeIn .5s cubic-bezier(.2,1.1,.3,1) both;animation-delay:var(--d,.7s);}

@keyframes dsMapxRise{from{opacity:0;transform:translateY(18px) scale(.98);}to{opacity:1;transform:translateY(0) scale(1);}}
@keyframes dsMapxFade{to{opacity:1;}}
@keyframes dsMapxGroupPop{0%{opacity:0;transform:translateY(18px) scale(.98);}65%{opacity:1;transform:translateY(0) scale(1.012);box-shadow:0 0 0 4px var(--gold-soft);}100%{opacity:1;transform:translateY(0) scale(1);}}
@keyframes dsMapxBracket{from{opacity:0;transform:scaleY(.4);}to{opacity:1;transform:scaleY(1);}}
@keyframes dsMapxScan{0%{opacity:0;transform:translateY(0);}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;transform:translateY(176px);}}
@keyframes dsMapxCollapse{0%{opacity:1;transform:translate(0,0) scale(1);}55%{opacity:1;transform:translate(44px,calc(86px - var(--i)*58px)) scale(.88);filter:blur(0);}100%{opacity:0;transform:translate(350px,calc(86px - var(--i)*58px)) scale(.28);filter:blur(2px);}}
@keyframes dsMapxSlideR{from{opacity:0;transform:translateX(-28px) scale(.97);}to{opacity:1;transform:translateX(0) scale(1);}}
@keyframes dsMapxZoomIn{from{opacity:0;transform:translateX(-20px) scale(.88);}to{opacity:1;transform:translateX(0) scale(1);}}
@keyframes dsMapxDraw{to{stroke-dashoffset:0;}}
@keyframes dsMapxTreeIn{from{opacity:0;transform:scale(.86) translateY(8px);}to{opacity:1;transform:scale(1) translateY(0);}}
@keyframes dsMapxRing{0%{opacity:.0;transform:scale(.65);}20%{opacity:.34;}100%{opacity:.0;transform:scale(1.4);}}
@keyframes dsMapxFinal{from{opacity:0;transform:translateY(18px) scale(.985);}to{opacity:1;transform:translateY(0) scale(1);}}
@keyframes dsMapxPulseCard{0%,100%{box-shadow:0 10px 28px rgba(15,27,45,.20);}50%{box-shadow:0 10px 30px rgba(200,157,59,.26),0 0 0 3px var(--gold-soft);}}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 3 — WBS (tree builds level by level, then accelerates)
   ═══════════════════════════════════════════════════════════════ */
.ds-wbs { width: min(900px, 100%); }
.ds-tree {
  list-style: none; padding: 0; margin: 0;
  font-size: 13.5px; line-height: 1.55;
}
.ds-phase.phase-on .ds-tree li {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  border-radius: 6px;
  position: relative;
  opacity: 0;
  animation: dsRowIn .55s cubic-bezier(.3,.8,.4,1) both;
}
.ds-phase.phase-on .ds-tree li:nth-child(1)  { animation-delay: .15s; }
.ds-phase.phase-on .ds-tree li:nth-child(2)  { animation-delay: .35s; }
.ds-phase.phase-on .ds-tree li:nth-child(3)  { animation-delay: .55s; }
.ds-phase.phase-on .ds-tree li:nth-child(4)  { animation-delay: .70s; }
.ds-phase.phase-on .ds-tree li:nth-child(5)  { animation-delay: .85s; }
.ds-phase.phase-on .ds-tree li:nth-child(6)  { animation-delay: 1.05s; }
.ds-phase.phase-on .ds-tree li:nth-child(7)  { animation-delay: 1.20s; }
.ds-phase.phase-on .ds-tree li:nth-child(8)  { animation-delay: 1.35s; }
.ds-phase.phase-on .ds-tree li:nth-child(9)  { animation-delay: 1.50s; }
.ds-phase.phase-on .ds-tree li:nth-child(10) { animation-delay: 1.65s; }
.ds-phase.phase-on .ds-tree li:nth-child(11) { animation-delay: 1.80s; }
.ds-phase.phase-on .ds-tree li:nth-child(12) { animation-delay: 2.00s; }
.ds-phase.phase-on .ds-tree li:nth-child(13) { animation-delay: 2.15s; }
.ds-phase.phase-on .ds-tree li:nth-child(14) { animation-delay: 2.30s; }
.ds-phase.phase-on .ds-tree li:nth-child(15) { animation-delay: 2.45s; }
.ds-phase.phase-on .ds-tree li:nth-child(16) { animation-delay: 2.60s; }
/* fast variant for second phase */
.ds-phase.phase-on .ds-tree-fast li:nth-child(1)  { animation-delay: .04s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(2)  { animation-delay: .10s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(3)  { animation-delay: .16s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(4)  { animation-delay: .22s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(5)  { animation-delay: .28s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(6)  { animation-delay: .34s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(7)  { animation-delay: .40s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(8)  { animation-delay: .46s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(9)  { animation-delay: .52s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(10) { animation-delay: .58s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(11) { animation-delay: .64s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(12) { animation-delay: .70s; }
.ds-phase.phase-on .ds-tree-fast li:nth-child(13) { animation-delay: .76s; }
@keyframes dsRowIn {
  from { opacity: 0; transform: translateX(-14px) translateY(-4px); }
  to   { opacity: 1; transform: translateX(0)     translateY(0); }
}
.ds-tree .lvl0 { font-weight: 800; font-size: 15px; color: var(--navy); background: var(--gold-soft); }
.ds-tree .lvl1 { font-weight: 700; color: var(--navy); padding-left: 26px !important; }
.ds-tree .lvl1::before { content: ""; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.ds-tree .lvl2 { padding-left: 50px !important; color: var(--ink-1); font-size: 12.5px; }
.ds-tree .lvl2::before { content: ""; position: absolute; left: 32px; top: 50%; width: 10px; height: 1px; background: var(--line-2); }
.ds-tree-c { margin-left: auto; font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; color: var(--ink-3); font-weight: 500; }
.ds-wbs-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; opacity: 0; }
.ds-phase.phase-on .ds-wbs-foot { animation: dsFadeIn .55s 1s both; }

/* ═══════════════════════════════════════════════════════════════
   SLIDE 4 — CPM & GANTT
   ═══════════════════════════════════════════════════════════════ */
.ds-cpm { width: min(1100px, 100%); }
.ds-cpm-h {
  display: flex; justify-content: space-between; align-items: center;
  text-transform: uppercase;
}
.ds-cpm-lg { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 0.05em; text-transform: none; color: var(--ink-2); font-weight: 500; }
.ds-cpm-sw { width: 12px; height: 8px; border-radius: 2px; display: inline-block; margin-left: 6px; }
.ds-cpm-sw.crit { background: var(--rust); }
.ds-cpm-sw.nav  { background: var(--navy); }
.ds-cpm-sw.sand { background: var(--gold-light); }
.ds-cpm-axis {
  display: grid; grid-template-columns: 150px repeat(9, 1fr);
  font-size: 10.5px; color: var(--ink-3); text-align: center;
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.ds-cpm-axis > span:first-child { visibility: hidden; }
.ds-cpm-axis > span { padding: 0 4px; font-family: var(--font-mono, ui-monospace, monospace); font-weight: 600; }
.ds-cpm-rows { display: grid; gap: 7px; }
.ds-cpm-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; }
.ds-cpm-row .lbl { font-size: 12.5px; color: var(--ink-1); font-weight: 500; }
.ds-cpm-row.crit .lbl { color: var(--rust); font-weight: 700; }
.ds-cpm-row .trk { position: relative; height: 22px; background: var(--paper-2); border-radius: 4px; }
.ds-phase.phase-on .ds-cpm-row .bar {
  position: absolute; top: 2px; bottom: 2px;
  left: var(--l, 0);
  width: var(--w, 0);
  border-radius: 3px;
  transform: scaleX(0); transform-origin: left;
  animation: dsBar .8s cubic-bezier(.4,.6,.2,1) both;
  animation-delay: var(--d, 0s);
}
.ds-phase.phase-on .ds-cpm-rows-fast .ds-cpm-row .bar {
  animation-duration: .5s;
}
@keyframes dsBar { to { transform: scaleX(1); } }
.ds-cpm-row .bar.nav  { background: var(--navy); }
.ds-cpm-row .bar.crit { background: var(--rust); }
.ds-phase.phase-on .ds-cpm-row.crit .bar.crit {
  animation: dsBar .8s cubic-bezier(.4,.6,.2,1) both, dsBarPulse 2.4s ease-in-out 1.6s infinite;
  animation-delay: var(--d, 0s), 1.6s;
}
@keyframes dsBarPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,105,62,.55); }
  50%      { box-shadow: 0 0 0 8px rgba(184,105,62,0); }
}
.ds-cpm-row .bar.sand { background: var(--gold-light); }
.ds-phase.phase-on .ds-cpm-row .ms {
  position: absolute; top: 50%;
  left: var(--l, 0);
  width: 12px; height: 12px;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  background: var(--gold);
  border: 1.5px solid var(--navy);
  animation: dsMs .5s cubic-bezier(.2,1.4,.4,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes dsMs { to { transform: translate(-50%, -50%) rotate(45deg) scale(1); } }
.ds-cpm-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; opacity: 0; }
.ds-phase.phase-on .ds-cpm-foot { animation: dsFadeIn .55s 1.4s both; }

/* ═══════════════════════════════════════════════════════════════
   SLIDE 5 — RESOURCES (histogram → tabulation)
   ═══════════════════════════════════════════════════════════════ */
.ds-res { width: min(1100px, 100%); }
.ds-res-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ds-res-kpi {
  display: flex; flex-direction: column;
  padding: 12px 16px;
  background: var(--paper-2); border-radius: var(--r-2);
  border-left: 3px solid var(--gold);
}
.ds-res-kpi .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 600; }
.ds-res-kpi .val { font-size: 26px; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ds-res-kpi .unit { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.ds-res-chart { width: 100%; height: 260px; display: block; overflow: visible; }
.ds-res-bar {
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.ds-phase.phase-on .ds-res-bar {
  animation: dsResBar .75s cubic-bezier(.3,.7,.3,1) both;
  animation-delay: var(--bar-d, 0s);
}
@keyframes dsResBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.ds-phase.phase-on #sCurve {
  animation: dsCurve 1.8s cubic-bezier(.4,.6,.2,1) 1.4s both;
}
@keyframes dsCurve { to { stroke-dashoffset: 0; } }
.ds-phase.phase-on .ds-res-pk,
.ds-phase.phase-on .ds-res-pkl {
  opacity: 0;
  animation: dsFadeIn .5s 2.8s both;
}

/* Tabulation */
.ds-tab { width: min(1100px, 100%); }
.ds-tab-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-2); }
.ds-tab-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ds-tab-tbl thead th {
  text-align: left; padding: 11px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-2);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); font-weight: 700;
}
.ds-tab-tbl tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}
.ds-tab-tbl tbody tr:last-child td { border-bottom: 0; }
.ds-tab-tbl td.wk { color: var(--gold-deep); font-family: var(--font-mono, ui-monospace, monospace); font-weight: 700; }
.ds-tab-tbl td.tot { color: var(--navy); font-weight: 700; }
.ds-tab-tbl td.cum { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.cum-bar { flex: 1; height: 5px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.cum-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); width: 0; }
.ds-phase.phase-on .ds-tab-tbl tbody tr {
  opacity: 0;
  animation: dsTabRow .5s cubic-bezier(.2,.9,.3,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes dsTabRow {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ds-phase.phase-on .cum-fill {
  animation: dsCum 1.1s cubic-bezier(.4,.6,.2,1) both;
  animation-delay: calc(var(--d, 0s) + .25s);
}
@keyframes dsCum {
  from { width: 0; }
  to   { width: var(--w, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 6 — AI COMPRESS
   ═══════════════════════════════════════════════════════════════ */
.ds-chat { width: min(880px, 100%); display: flex; flex-direction: column; gap: 14px; }
.ds-msg { display: flex; gap: 10px; align-items: flex-start; }
.ds-msg.user { justify-content: flex-end; }
.ds-bub {
  padding: 12px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  font-size: 14px; line-height: 1.5;
  color: var(--ink-1);
  max-width: 540px;
}
.ds-bub b { color: var(--navy); font-weight: 700; }
.ds-msg.user .ds-bub {
  background: var(--gold-soft);
  border-color: rgba(200,157,59,.4);
  color: var(--navy);
  font-weight: 500;
}
.ds-phase.phase-on #aiPrompt .ds-type {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--navy);
  animation: dsType 1.8s steps(70, end) .3s both, dsCaret .7s step-end 1.7s 5;
  max-width: 0;
}
@keyframes dsType { to { max-width: 540px; } }
@keyframes dsCaret { 50% { border-color: transparent; } }
.ds-phase.phase-on .ds-thinking { display: inline-flex; align-items: center; gap: 4px; opacity: 0; animation: dsFadeIn .3s 2.3s both; }
.ds-thinking .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); animation: dsDot 1.2s ease-in-out infinite; }
.ds-thinking .dot:nth-child(2) { animation-delay: .15s; }
.ds-thinking .dot:nth-child(3) { animation-delay: .30s; }
.ds-thinking-l { color: var(--ink-3); font-size: 12px; margin-left: 8px; }
@keyframes dsDot { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ds-phase.phase-on .ds-found { opacity: 0; animation: dsFadeIn .45s 3.6s both; }
.ds-ai-ico {
  width: 32px; height: 32px;
  background: var(--navy); color: var(--gold);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.ds-opts { display: grid; gap: 7px; margin-top: 10px; max-width: 540px; }
.ds-phase.phase-on .ds-opt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  opacity: 0;
  animation: dsSlideU .5s cubic-bezier(.2,.9,.3,1) both;
}
.ds-phase.phase-on .ds-opts .ds-opt:nth-child(1) { animation-delay: 3.9s; }
.ds-phase.phase-on .ds-opts .ds-opt:nth-child(2) { animation-delay: 4.15s; }
.ds-phase.phase-on .ds-opts .ds-opt:nth-child(3) { animation-delay: 4.40s; }
@keyframes dsSlideU {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ds-opt.pick { border-color: var(--gold); background: var(--gold-soft); }
.ds-opt-h { font-size: 13px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.ds-opt-m { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11.5px; color: var(--ink-2); }
.ds-opt.pick .ds-opt-m { color: var(--gold-deep); font-weight: 700; }
.ds-opt-pill { font-size: 9.5px; padding: 2px 7px; border-radius: var(--r-pill); background: var(--gold); color: var(--paper); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* Compression view */
.ds-compress { width: min(1100px, 100%); }
.ds-comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.ds-comp-row { display: grid; grid-template-columns: 120px 1fr 46px; gap: 10px; align-items: center; margin-bottom: 10px; }
.ds-comp-row .lbl { font-size: 12.5px; color: var(--ink-1); font-weight: 600; }
.ds-comp-row .trk { position: relative; height: 20px; background: var(--paper-2); border-radius: 4px; }
.ds-phase.phase-on .ds-comp-row .bar {
  position: absolute; top: 2px; bottom: 2px; left: 0;
  background: var(--rust);
  border-radius: 3px;
  width: var(--from, 20%);
  animation: dsShrink 1.8s cubic-bezier(.4,.6,.2,1) .8s both;
}
.ds-phase.phase-on .ds-comp-row:nth-child(2) .bar { animation-delay: 1.1s; }
.ds-phase.phase-on .ds-comp-row:nth-child(3) .bar { animation-delay: 1.4s; }
.ds-phase.phase-on .ds-comp-row:nth-child(4) .bar { animation-delay: 1.7s; }
@keyframes dsShrink { from { width: var(--from); } to { width: var(--to); } }
.ds-comp-row .sav {
  font-size: 12px; font-weight: 700; color: var(--moss, #2D6A4F);
  font-family: var(--font-mono, ui-monospace, monospace); text-align: right;
  opacity: 0;
}
.ds-phase.phase-on .ds-comp-row:nth-child(1) .sav { animation: dsFadeIn .4s 2.4s both; }
.ds-phase.phase-on .ds-comp-row:nth-child(2) .sav { animation: dsFadeIn .4s 2.7s both; }
.ds-phase.phase-on .ds-comp-row:nth-child(3) .sav { animation: dsFadeIn .4s 3.0s both; }
.ds-phase.phase-on .ds-comp-row:nth-child(4) .sav { animation: dsFadeIn .4s 3.3s both; }
.ds-comp-big { background: var(--navy); color: var(--paper); border-radius: var(--r-4); padding: 26px 30px; margin-bottom: 14px; }
.ds-comp-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.10em; color: rgba(250,246,238,.55); margin-bottom: 8px; }
.ds-comp-num { display: flex; align-items: baseline; gap: 12px; }
.ds-comp-old { font-size: 34px; font-weight: 700; color: rgba(250,246,238,.4); text-decoration: line-through; text-decoration-color: var(--rust); text-decoration-thickness: 3px; font-variant-numeric: tabular-nums; }
.ds-comp-arrow { font-size: 24px; color: var(--gold); font-weight: 700; }
.ds-comp-new {
  font-size: 56px; font-weight: 800; color: var(--gold);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  opacity: 0;
}
.ds-phase.phase-on .ds-comp-new {
  animation: dsCount 1.4s cubic-bezier(.4,.6,.2,1) 1.2s both;
}
@keyframes dsCount {
  0%   { opacity: 0; transform: translateY(-20px) scale(.7); }
  60%  { opacity: 1; transform: translateY(4px)   scale(1.08); }
  100% { opacity: 1; transform: translateY(0)     scale(1); }
}
.ds-comp-unit { font-size: 18px; color: rgba(250,246,238,.7); font-weight: 500; }
.ds-comp-save { font-size: 13px; color: var(--gold); margin-top: 6px; font-weight: 600; opacity: 0; }
.ds-phase.phase-on .ds-comp-save { animation: dsFadeIn .5s 2.6s both; }
.ds-comp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; opacity: 0; }
.ds-phase.phase-on .ds-comp-stats { animation: dsFadeIn .5s 3.6s both; }

/* ═══════════════════════════════════════════════════════════════
   SLIDE 7 — EXPORT
   ═══════════════════════════════════════════════════════════════ */
.ds-export { width: min(1000px, 100%); }
.ds-ex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ds-phase.phase-on .ds-ex-card {
  padding: 18px 22px;
  background: var(--paper-2);
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  position: relative;
  opacity: 0;
  animation: dsSlideU .55s cubic-bezier(.2,.9,.3,1) both;
}
.ds-phase.phase-on .ds-ex-grid .ds-ex-card:nth-child(1) { animation-delay: .2s; }
.ds-phase.phase-on .ds-ex-grid .ds-ex-card:nth-child(2) { animation-delay: .4s; }
.ds-phase.phase-on .ds-ex-grid .ds-ex-card:nth-child(3) { animation-delay: .55s; }
.ds-phase.phase-on .ds-ex-grid .ds-ex-card:nth-child(4) { animation-delay: .70s; }
.ds-ex-card.ds-ex-pick {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.ds-phase.phase-on .ds-ex-pick {
  animation: dsSlideU .55s cubic-bezier(.2,.9,.3,1) .2s both, dsPickPulse 2.2s ease-in-out 1.4s infinite;
}
@keyframes dsPickPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,157,59,.55); }
  50%      { box-shadow: 0 0 0 12px rgba(200,157,59,0); }
}
.ds-ex-ic {
  display: inline-block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px; font-weight: 700;
  padding: 4px 9px; border-radius: 4px;
  background: var(--navy); color: var(--gold);
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.ds-ex-ic.msp { background: var(--slate, #4A5468); }
.ds-ex-ic.pdf { background: var(--rust); color: var(--paper); }
.ds-ex-ic.xls { background: var(--moss, #2D6A4F); color: var(--paper); }
.ds-ex-t { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.ds-ex-s { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.ds-ex-btn {
  margin-top: 14px;
  display: inline-block;
  padding: 9px 16px;
  background: var(--navy); color: var(--paper);
  border: 0; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
}

/* Download progress */
.ds-dl { width: min(760px, 100%); gap: 14px; }
.ds-dl-file {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--paper-2);
  border-radius: var(--r-2);
}
.ds-dl-ic {
  width: 48px; height: 48px;
  background: var(--navy); color: var(--gold);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.04em;
}
.ds-dl-meta { flex: 1; }
.ds-dl-name { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.005em; }
.ds-dl-sub  { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ds-dl-state { font-size: 12px; color: var(--ink-2); font-family: var(--font-mono, ui-monospace, monospace); font-weight: 600; }
.ds-dl-bar { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.ds-phase.phase-on .ds-dl-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  width: 0;
  animation: dsDl 2.4s cubic-bezier(.5,.2,.3,1) .5s both;
}
@keyframes dsDl {
  0%  { width: 0%; }
  35% { width: 32%; }
  65% { width: 68%; }
  100%{ width: 100%; }
}
.ds-phase.phase-on .ds-dl-success {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--moss, #2D6A4F); color: var(--paper);
  border-radius: var(--r-3);
  opacity: 0;
  animation: dsFadeIn .55s 3.1s both;
}
.ds-dl-check { color: var(--paper); }
.ds-dl-st { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.ds-dl-sb { font-size: 12.5px; color: rgba(250,246,238,.8); margin-top: 2px; }

/* ── FOOTER ── */
.demo-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 26px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.demo-foot-text .demo-h {
  font-size: 19px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.015em;
  margin: 0 0 2px;
}
.demo-foot-text .demo-p {
  font-size: 13px; color: var(--ink-2); margin: 0;
  letter-spacing: -0.003em; max-width: 760px;
}
.demo-foot-nav { display: flex; align-items: center; gap: 14px; }
.demo-progress {
  width: 240px; height: 4px;
  background: var(--paper-2);
  border-radius: 2px; overflow: hidden;
}
.demo-progress-fill {
  height: 100%; width: 0;
  background: var(--gold);
}
.demo-nav { display: flex; gap: 6px; }
.demo-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-1);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s ease;
}
.demo-arrow:hover { border-color: var(--navy); color: var(--navy); }
.demo-arrow-primary { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.demo-arrow-primary:hover { background: var(--navy-2, var(--navy)); color: var(--paper); }

@media (max-width: 900px) {
  .demo-frame { inset: 0; border-radius: 0; }
  .demo-steps { display: none; }
  .ds-phase { padding: 16px 20px; }
  .ds-card { padding: 18px 20px; }
  .ds-res-kpis { grid-template-columns: repeat(2, 1fr); }
  .ds-ex-grid, .ds-comp-grid { grid-template-columns: 1fr; }
  .demo-progress { width: 110px; }
  .ds-map-grid { grid-template-columns: 1fr; }
  .ds-map-arrow { display: none; }
  .ds-rain-cols { grid-template-columns: repeat(2, 1fr); }
}


/* Mapping step: exact 9-shot content only, full-height fit for better clarity */
.demo-slide[data-step="1"] .ds-phase{
  padding:0!important;
}
.ds-story-content-only{
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  overflow:hidden;
  background:linear-gradient(115deg,var(--paper) 0%,var(--paper-2) 50%,#f3f6f8 100%);
}
.ds-story-content-frame{
  width:100%;
  height:100%;
  display:block;
  border:0;
  background:transparent;
}

/* Mapping only: keep the same landing footer/progress bar visible like all other steps,
   while using a slightly larger modal inset to preserve as much clarity as possible. */
#demoModal:has(.demo-slide[data-step="1"].is-on) .demo-frame{
  inset:1.2vh 1.2vw;
  grid-template-rows:auto 1fr auto;
}
#demoModal:has(.demo-slide[data-step="1"].is-on) .demo-foot{
  display:grid!important;
}
#demoModal:has(.demo-slide[data-step="1"].is-on) .demo-body{
  min-height:0;
}
.fullheight-fit,.fullheight-frame{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

/* WBS step: use larger available modal area and keep iframe truly fitted */
.demo-slide[data-step="2"] .ds-phase{
  padding:0!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-frame{
  inset:1.2vh 1.2vw;
  grid-template-rows:auto 1fr auto;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot{
  display:grid!important;
  padding:10px 18px!important;
  gap:14px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot-text .demo-h{
  font-size:16px!important;
  margin-bottom:1px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot-text .demo-p{
  font-size:11.5px!important;
  max-width:620px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-progress{
  width:180px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-arrow{
  width:36px!important;
  height:36px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-body{
  min-height:0;
}
.demo-slide[data-step="2"] .ds-story-content-only{
  background:linear-gradient(115deg,var(--paper) 0%,var(--paper-2) 50%,#f3f6f8 100%);
}


/* V70 outer WBS modal fit */
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-frame{inset:.65vh .65vw!important;grid-template-rows:auto minmax(0,1fr) auto!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-bar{padding:8px 18px!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-bar-mark{width:32px!important;height:32px!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-body{min-height:0!important;overflow:hidden!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot{display:grid!important;padding:8px 18px!important;min-height:58px!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot-text .demo-h{font-size:15px!important;margin:0!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot-text .demo-p{font-size:11px!important;line-height:1.35!important;max-width:640px!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-progress{width:170px!important;}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-arrow{width:34px!important;height:34px!important;}


/* V78 STANDARD OUTER FRAME + CENTERED FULL INNER WBS */
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-frame{
  inset:2.5vh 2.5vw!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  border-radius:var(--r-4)!important;
  overflow:hidden!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-bar{
  padding:12px 24px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-bar-mark{
  width:38px!important;
  height:38px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-body{
  min-height:0!important;
  overflow:hidden!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:24px!important;
  padding:18px 26px!important;
  min-height:auto!important;
  background:var(--surface)!important;
  border-top:1px solid var(--line)!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot-text .demo-h{
  font-size:19px!important;
  font-weight:800!important;
  margin:0 0 2px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-foot-text .demo-p{
  font-size:13px!important;
  line-height:normal!important;
  max-width:760px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-progress{
  width:240px!important;
}
#demoModal:has(.demo-slide[data-step="2"].is-on) .demo-arrow{
  width:40px!important;
  height:40px!important;
}
.demo-slide[data-step="2"] .ds-phase{
  padding:24px 44px!important;
  align-items:center!important;
  justify-content:center!important;
}
.demo-slide[data-step="2"] .ds-story-content-only{
  width:100%!important;
  height:100%!important;
  border-radius:26px!important;
  border:1px solid rgba(20,33,61,.10)!important;
  box-shadow:0 24px 68px rgba(20,33,61,.10)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,253,255,.98))!important;
  overflow:hidden!important;
}
.demo-slide[data-step="2"] .ds-story-content-frame{
  width:100%!important;
  height:100%!important;
  display:block!important;
  border:0!important;
  border-radius:26px!important;
  overflow:hidden!important;
  background:transparent!important;
}



/* V81 CPM/GANTT REAL STEP — use uploaded CPM file inside the same white landing frame */
.demo-slide[data-step="3"] .ds-phase{padding:24px 44px!important;align-items:center!important;justify-content:center!important;}
.demo-slide[data-step="3"] .ds-story-content-only{
  width:100%!important;height:100%!important;border-radius:26px!important;
  border:1px solid rgba(20,33,61,.10)!important;
  box-shadow:0 24px 68px rgba(20,33,61,.10)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,253,255,.98))!important;
  overflow:hidden!important;
}
.demo-slide[data-step="3"] .ds-story-content-frame{width:100%!important;height:100%!important;display:block!important;border:0!important;border-radius:26px!important;overflow:hidden!important;background:transparent!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-frame{
  inset:2.5vh 2.5vw!important;grid-template-rows:auto minmax(0,1fr) auto!important;border-radius:var(--r-4)!important;overflow:hidden!important;
}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-bar{padding:12px 24px!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-bar-mark{width:38px!important;height:38px!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-body{min-height:0!important;overflow:hidden!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-foot{
  display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:24px!important;padding:18px 26px!important;min-height:auto!important;background:var(--surface)!important;border-top:1px solid var(--line)!important;
}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-foot-text .demo-h{font-size:19px!important;font-weight:800!important;margin:0 0 2px!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-foot-text .demo-p{font-size:13px!important;line-height:normal!important;max-width:760px!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-progress{width:240px!important;}
#demoModal:has(.demo-slide[data-step="3"].is-on) .demo-arrow{width:40px!important;height:40px!important;}

/* FULL-FIT — clean iframe (no 118%/scale hack); the embedded scene now scales its
   own .shell to fit via an inline fit script, so the content fills the frame. */
.demo-slide[data-step="3"] .cpm-embed-frame{
  width:100%!important;
  height:100%!important;
  border:0!important;
  display:block!important;
  transform:none!important;
  background:#fff!important;
}

/* Keep the descriptive SEO heading and workflow labels within the original cards. */
.hero-h1{font-size:clamp(36px,4.4vw,58px);line-height:1.08}
.metric .num{font-size:clamp(36px,4vw,56px)}
.compare-num{font-size:clamp(30px,4vw,46px);overflow-wrap:anywhere}
.compare-num .unit{display:block;margin:12px 0 0;vertical-align:baseline}
.hero-eyebrow{flex-wrap:wrap}
#workflow-tools .feat-h a{text-decoration:underline;text-underline-offset:4px}

/* ── Starter (the new entry plan): a fourth card, a NEW ribbon ── */
.price-grid.price-grid--4 { grid-template-columns: repeat(4, 1fr); max-width: 1240px; }
.price.price-new { position: relative; border: 2px solid #0E8A6A; background: linear-gradient(180deg, rgba(31,179,134,.07), var(--surface) 45%); }
.price.price-new::before {
  content: 'New';
  position: absolute;
  top: -10px; right: 24px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #1FB386, #0E8A6A);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14,138,106,.35);
}
.price.price-new .price-badge { color: #0E8A6A; }
.compare-basic { display: none; }
.compare-basic.is-visible { display: table-cell; }
.compare-new { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #0E8A6A; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
@media (max-width: 1100px) { .price-grid.price-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .price-grid.price-grid--4 { grid-template-columns: 1fr; } }

/* ── "try it first": the one free trial generation ── */
.hero-trial-note { margin-top: 12px; font-size: 13px; font-weight: 600; color: #0E8A6A; }
.trial-first { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 860px; margin: 18px auto 0; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(14,138,106,.35); background: rgba(31,179,134,.07); font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: left; }
.trial-first b { color: var(--navy); }
.trial-first .tf-badge { flex: none; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg,#1FB386,#0E8A6A); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.trial-first a { flex: none; font-weight: 700; color: #0E8A6A; text-decoration: none; }
.trial-first a:hover { text-decoration: underline; }
