/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/de7f2e82-0077-44d2-95be-baace3d2d0c9.woff2") format("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: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/f4c6c0b6-d8af-49bd-bdb3-70d4acdd2ad1.woff2") format("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: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/428e2c3c-8572-4297-9b77-25fda9572698.woff2") format("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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/56f24e29-66a4-4968-8859-fa14e532788d.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/8ee79bac-f089-4994-af9f-a226af09e9aa.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/48ee7a6a-e615-4691-834a-fa2fee402a04.woff2") format("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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/56f24e29-66a4-4968-8859-fa14e532788d.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/8ee79bac-f089-4994-af9f-a226af09e9aa.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/48ee7a6a-e615-4691-834a-fa2fee402a04.woff2") format("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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/56f24e29-66a4-4968-8859-fa14e532788d.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/8ee79bac-f089-4994-af9f-a226af09e9aa.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/48ee7a6a-e615-4691-834a-fa2fee402a04.woff2") format("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;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/56f24e29-66a4-4968-8859-fa14e532788d.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/8ee79bac-f089-4994-af9f-a226af09e9aa.woff2") format("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: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/48ee7a6a-e615-4691-834a-fa2fee402a04.woff2") format("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("/fonts/3d55fc7e-31f5-49dd-a777-e0f997717deb.woff2") format("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("/fonts/4dfc1580-e623-47a1-a203-f44827babb3c.woff2") format("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("/fonts/06c4073d-a938-429e-b09b-b6d50f5e6be1.woff2") format("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("/fonts/f0a2d255-289b-405f-90e1-677302c3a293.woff2") format("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("/fonts/993255b0-6925-4a9e-82b7-cdcef7d1ec2a.woff2") format("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("/fonts/2ccd5d7b-658c-4bbf-aa4f-d8e6e8f17d80.woff2") format("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("/fonts/ca3c42ed-827b-4afe-bd81-af82e57b05c8.woff2") format("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("/fonts/3d55fc7e-31f5-49dd-a777-e0f997717deb.woff2") format("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("/fonts/4dfc1580-e623-47a1-a203-f44827babb3c.woff2") format("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("/fonts/06c4073d-a938-429e-b09b-b6d50f5e6be1.woff2") format("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("/fonts/f0a2d255-289b-405f-90e1-677302c3a293.woff2") format("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("/fonts/993255b0-6925-4a9e-82b7-cdcef7d1ec2a.woff2") format("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("/fonts/2ccd5d7b-658c-4bbf-aa4f-d8e6e8f17d80.woff2") format("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("/fonts/ca3c42ed-827b-4afe-bd81-af82e57b05c8.woff2") format("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("/fonts/3d55fc7e-31f5-49dd-a777-e0f997717deb.woff2") format("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("/fonts/4dfc1580-e623-47a1-a203-f44827babb3c.woff2") format("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("/fonts/06c4073d-a938-429e-b09b-b6d50f5e6be1.woff2") format("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("/fonts/f0a2d255-289b-405f-90e1-677302c3a293.woff2") format("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("/fonts/993255b0-6925-4a9e-82b7-cdcef7d1ec2a.woff2") format("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("/fonts/2ccd5d7b-658c-4bbf-aa4f-d8e6e8f17d80.woff2") format("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("/fonts/ca3c42ed-827b-4afe-bd81-af82e57b05c8.woff2") format("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("/fonts/3d55fc7e-31f5-49dd-a777-e0f997717deb.woff2") format("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("/fonts/4dfc1580-e623-47a1-a203-f44827babb3c.woff2") format("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("/fonts/06c4073d-a938-429e-b09b-b6d50f5e6be1.woff2") format("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("/fonts/f0a2d255-289b-405f-90e1-677302c3a293.woff2") format("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("/fonts/993255b0-6925-4a9e-82b7-cdcef7d1ec2a.woff2") format("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("/fonts/2ccd5d7b-658c-4bbf-aa4f-d8e6e8f17d80.woff2") format("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("/fonts/ca3c42ed-827b-4afe-bd81-af82e57b05c8.woff2") format("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("/fonts/84a398be-070c-40f3-b0f4-f30ef486db92.woff2") format("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("/fonts/fabee943-ea48-421d-8214-d414c4462b10.woff2") format("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("/fonts/ca651b69-48e3-496d-b8ee-fbca3979e38a.woff2") format("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("/fonts/c002d16a-2110-456f-be38-b5982a3f92c0.woff2") format("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("/fonts/c8354a24-d63a-4dd0-a3ac-92d62c26daee.woff2") format("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("/fonts/d7cbf4cf-e2bb-43c4-a59b-997c7e81a13f.woff2") format("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("/fonts/84a398be-070c-40f3-b0f4-f30ef486db92.woff2") format("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("/fonts/fabee943-ea48-421d-8214-d414c4462b10.woff2") format("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("/fonts/ca651b69-48e3-496d-b8ee-fbca3979e38a.woff2") format("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("/fonts/c002d16a-2110-456f-be38-b5982a3f92c0.woff2") format("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("/fonts/c8354a24-d63a-4dd0-a3ac-92d62c26daee.woff2") format("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("/fonts/d7cbf4cf-e2bb-43c4-a59b-997c7e81a13f.woff2") format("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;
}



  /* ---------- TOKENS ---------- */
  :root {
    /* warm paper light theme (default) */
    /* opt out of Chrome's Auto Dark Mode, which force-inverts our palettes
       (light pages get darkened, the dark map got lightened). The dark theme
       re-declares color-scheme: dark below. */
    color-scheme: only light;
    --bg: #F5F0E8;
    --bg-2: #ECE4D6;
    --paper: #FBF7EF;
    --ink: #1B1A17;
    --ink-soft: #4A463F;
    --ink-mute: #6E685C;
    --rule: #DCD3C0;
    --rule-strong: #B8AD94;
    --card: #FFFBF3;
    --accent: #B54A1A;        /* burnt sienna */
    --accent-2: #3C5E3D;      /* forest */
    --accent-3: #C8912A;      /* amber */
    --visa-free: #3C5E3D;
    --visa-arrival: #C8912A;
    --visa-required: #B54A1A;
    --visa-eta: #2F5D7C;
    --visa-none: #CFC6B2;
    --drive-right: #3C5E3D;
    --drive-left: #B54A1A;
    /* plug type palette — 15 types clustered into readable hues */
    --plug-A: #C8912A;
    --plug-B: #B06A22;
    --plug-C: #3C5E3D;
    --plug-D: #7A3E2A;
    --plug-E: #4A7A6B;
    --plug-F: #6A8B4D;
    --plug-G: #B54A1A;
    --plug-H: #8C4B7A;
    --plug-I: #2F4A7C;
    --plug-J: #5B6E8F;
    --plug-K: #8B3A4C;
    --plug-L: #A6622C;
    --plug-M: #3E2E5A;
    --plug-N: #2F6B4E;
    --plug-O: #6E5A2E;

    --radius: 10px;
    --radius-lg: 18px;
    --transition: 0.2s ease;
    --shadow-sm: 0 1px 0 rgba(27,26,23,.04), 0 2px 4px rgba(27,26,23,.04);
    --shadow-md: 0 2px 8px rgba(27,26,23,.06), 0 20px 40px -20px rgba(27,26,23,.12);
    --font-display: 'Fraunces', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  }
  [data-theme="dark"] {
    color-scheme: dark;
    --bg: #14120F;
    --bg-2: #1C1915;
    --paper: #1F1B16;
    --ink: #F2ECDF;
    --ink-soft: #C9C1AE;
    --ink-mute: #958D7A;
    /* re-resolve inherited text color inside scoped dark wrappers (tool pages
       in light mode) — without this, text inherits body's light-theme ink */
    color: var(--ink);
    --rule: #342F27;
    --rule-strong: #4A4339;
    --card: #201C17;
    --accent: #E08758;
    --accent-2: #7FA47E;
    --accent-3: #E5B65E;
    --visa-free: #7FA47E;
    --visa-arrival: #E5B65E;
    --visa-required: #E08758;
    --visa-eta: #8FB4D9;
    --visa-none: #3A342B;
    --drive-right: #7FA47E;
    --drive-left: #E08758;
    --plug-A: #E5B65E;
    --plug-B: #D69458;
    --plug-C: #7FA47E;
    --plug-D: #B88468;
    --plug-E: #7FBAA8;
    --plug-F: #A4C07F;
    --plug-G: #E08758;
    --plug-H: #C689B8;
    --plug-I: #8AA0CC;
    --plug-J: #A0B4D6;
    --plug-K: #C68292;
    --plug-L: #DBA075;
    --plug-M: #8878B8;
    --plug-N: #7FC2A0;
    --plug-O: #B8A47F;
    --shadow-sm: 0 1px 0 rgba(0,0,0,.3);
    --shadow-md: 0 10px 30px rgba(0,0,0,.4);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  /* ---------- NAV ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklab, var(--bg) 85%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--rule);
  }
  .nav-row {
    max-width: 1440px; margin: 0 auto;
    padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .brand {
    display: flex; align-items: baseline; gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
  }
  .brand .dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent);
    transform: translateY(-2px);
  }
  .brand em { font-style: italic; font-weight: 400; color: var(--ink-soft); }
  .nav-links {
    display: flex; gap: 4px; align-items: center;
  }
  .nav-links a {
    font-size: 13.5px; font-weight: 500;
    padding: 8px 14px; border-radius: 999px;
    color: var(--ink-soft);
    transition: color .15s, background .15s;
  }
  .nav-links a:hover { color: var(--ink); background: var(--bg-2); }
  .nav-links a.active { color: var(--ink); background: var(--paper); box-shadow: var(--shadow-sm); }
  .nav-cta {
    display: flex; gap: 10px; align-items: center;
  }
  .theme-toggle {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--rule);
    background: var(--paper);
    display: grid; place-items: center;
    font-size: 14px;
    transition: background .15s, border-color .15s;
  }
  .theme-toggle:hover { border-color: var(--rule-strong); }

  /* ---------- HOMEPAGE ---------- */
  .home {
    max-width: 1440px; margin: 0 auto;
    padding: 0 32px 80px;
    position: relative;
  }

  /* ---------- FULL-BLEED HERO (photo / video / drawn-scene fallback) ---------- */
  .hero-bleed {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: clamp(460px, 64vh, 660px);
    overflow: hidden;
    background: var(--bg-2);
  }
  /* the drag-drop photo slot fills the hero */
  .hero-slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
  }
  /* real video (hero-loop.mp4 at project root) sits above the slot when playing */
  .hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    /* mirrored so the aircraft lifts off from the left corner */
    transform: scaleX(-1);
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 3;
    pointer-events: none;
  }
  .hero-video.ready { opacity: 1; }
  /* legibility wash — only when real media is present */
  .hero-wash {
    position: absolute; inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity .8s ease;
    background:
      linear-gradient(to bottom, rgba(12, 9, 6, 0.72) 0%, rgba(12, 9, 6, 0.28) 45%, rgba(12, 9, 6, 0.06) 75%),
      linear-gradient(to right, rgba(12, 9, 6, 0.35) 0%, transparent 55%);
  }
  .hero-bleed.has-media .hero-wash { opacity: 1; }
  /* text overlays everything; lets drags pass through to the slot */
  .hero-inner {
    position: absolute;
    left: 50%; top: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    padding: 52px 32px 0;
    z-index: 5;
    pointer-events: none;
  }
  /* light-on-media text treatment, like a photographic travel hero */
  .hero-bleed.has-media .eyebrow { color: rgba(245, 239, 224, 0.85); }
  .hero-bleed.has-media .display { color: #F5EFE0; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
  .hero-bleed.has-media .display em { color: color-mix(in oklab, var(--accent) 45%, #F5EFE0); }
  .hero-bleed.has-media .lede { color: rgba(245, 239, 224, 0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
  .hero-bleed .lede { max-width: 52ch; margin-top: 18px; }

  /* ---------- DRAWN SUNSET SCENE (empty-state fallback) ---------- */
  .hero-motion {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
  }
  .stat-strip { position: relative; z-index: 1; }

  /* sky — warm dusk built from theme tokens so it adapts to Paper/Dusk */
  .hm-sky {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 48% at 72% 88%, color-mix(in oklab, var(--accent-3) 38%, transparent) 0%, transparent 70%),
      radial-gradient(ellipse 90% 70% at 60% 100%, color-mix(in oklab, var(--accent) 22%, transparent) 0%, transparent 75%),
      linear-gradient(to bottom, transparent 0%, color-mix(in oklab, var(--accent-3) 10%, transparent) 60%, color-mix(in oklab, var(--accent) 14%, transparent) 100%);
    opacity: .5;
  }
  /* low sun disc */
  .hm-sun {
    position: absolute;
    bottom: 6%; left: 71%;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in oklab, var(--accent-3) 85%, white) 0%, color-mix(in oklab, var(--accent-3) 50%, transparent) 45%, transparent 70%);
    filter: blur(2px);
    opacity: .55;
  }
  /* drifting cloud bands */
  .hm-cloud {
    position: absolute;
    height: 44px;
    width: 46%;
    border-radius: 999px;
    background: color-mix(in oklab, var(--paper) 70%, transparent);
    filter: blur(26px);
    opacity: .5;
  }
  .hm-cloud.c1 { top: 22%; animation: hmDrift 68s linear infinite; }
  .hm-cloud.c2 { top: 46%; height: 30px; width: 34%; opacity: .35; animation: hmDrift 94s linear infinite reverse; animation-delay: -30s; }
  .hm-cloud.c3 { top: 64%; height: 26px; width: 28%; opacity: .3; animation: hmDrift 120s linear infinite; animation-delay: -70s; }
  @keyframes hmDrift {
    from { transform: translateX(-60%); }
    to   { transform: translateX(calc(100vw + 60%)); }
  }

  /* the jet — flies across on a long clean loop; vertical path set per tweak */
  .hm-jet-track {
    position: absolute;
    top: 27%;
    left: 0; width: 100%;
    animation: hmFly 52s linear infinite;
  }
  /* "Between lines" — crosses the gap between the two headline lines */
  .hero-bleed.jet-mid .hm-jet-track { top: 27%; }
  /* "Below text" — crosses under the whole hero text block */
  .hero-bleed.jet-low .hm-jet-track { top: 74%; }
  @keyframes hmFly {
    from { transform: translateX(-16vw); }
    to   { transform: translateX(108vw); }
  }
  .hm-jet {
    width: 250px;
    animation: hmBob 7s ease-in-out infinite;
    position: relative;
  }
  @keyframes hmBob {
    0%, 100% { transform: translateY(0) rotate(0.4deg); }
    50%      { transform: translateY(-9px) rotate(-0.6deg); }
  }
  .hm-jet svg { display: block; width: 100%; height: auto; opacity: .95; filter: brightness(1.2); /* lift the plane ~20% off the dusk background */ }
  .hm-jet svg .jet-body  { fill: color-mix(in oklab, var(--ink) 72%, var(--accent)); }
  .hm-jet svg .jet-dark  { fill: color-mix(in oklab, var(--ink) 88%, black); }
  .hm-jet svg .jet-light { fill: color-mix(in oklab, var(--paper) 88%, transparent); }
  /* contrail streams behind the jet */
  .hm-contrail {
    position: absolute;
    top: 64%; right: 92%;
    width: 42vw; height: 2.5px;
    background: linear-gradient(to left, color-mix(in oklab, var(--paper) 85%, transparent) 0%, transparent 100%);
    border-radius: 999px;
    opacity: .5;
    filter: blur(1px);
  }

  /* legacy video-in-scene styles removed — video now lives at .hero-video */

  @media (prefers-reduced-motion: reduce) {
    .hero-motion * { animation: none !important; }
    .hm-jet-track { transform: translateX(30vw); }
  }
  @media (max-width: 980px) {
    .hero-bleed { height: clamp(420px, 58vh, 560px); }
    .hm-jet { width: 120px; }
  }
  @media (max-width: 620px) {
    .home { padding: 0 20px 60px; }
    .hero-inner { padding: 36px 20px 0; }
    .hero-bleed { height: clamp(380px, 52vh, 480px); }
    .hero-bleed .lede { font-size: 16px; max-width: 100%; }
    .hm-jet { width: 104px; }
    .hero-bleed.jet-low .hm-jet-track { top: 78%; }
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 28px;
  }
  .eyebrow .pill {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  .display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(48px, 6.5vw, 104px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--ink);
  }
  .display em {
    font-style: italic; font-weight: 400;
    color: var(--accent);
  }
  .lede {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.45;
    color: var(--ink-soft);
    max-width: 42ch;
    padding-bottom: 8px;
  }
  .lede .underline {
    background: linear-gradient(transparent 62%, color-mix(in oklab, var(--accent) 30%, transparent) 62%, color-mix(in oklab, var(--accent) 30%, transparent) 92%, transparent 92%);
  }

  /* stat strip */
  .stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-top: 40px;
  }
  .stat {
    padding: 22px 24px;
    border-right: 1px solid var(--rule);
  }
  .stat:last-child { border-right: none; }
  .stat .num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    /* Fraunces defaults to oldstyle figures (uneven digit heights); force
       lining figures so "15" reads as one number */
    font-variant-numeric: lining-nums;
    font-feature-settings: 'lnum' 1;
  }
  .stat .num .unit {
    font-size: 18px;
    color: var(--ink-mute);
    margin-left: 4px;
  }
  .stat .label {
    font-size: 12px;
    color: var(--ink-mute);
    margin-top: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* tools grid */
  .tools-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin: 72px 0 28px;
  }
  .section-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.15em;
  }
  .section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 36px;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .section-title em { font-style: italic; font-weight: 400; color: var(--ink-mute); }

  .tool-grid {
    display: grid;
    /* 6 tracks; the first three cards span 2 tracks (three across), the last
       two span 3 (two across, slightly wider) → balanced 3 + 2 layout with
       no empty cells in the bordered grid. */
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .tool-card { grid-column: span 2; }
  .tool-card:nth-child(n+4) { grid-column: span 3; }
  .tool-card {
    background: var(--paper);
    padding: 32px;
    display: flex; flex-direction: column;
    min-height: 340px;
    cursor: pointer;
    transition: background .25s, transform .25s;
    position: relative;
    overflow: hidden;
  }
  /* photo strip at the top of each tool card */
  .card-photo {
    margin: -32px -32px 22px;
    height: 230px;
    overflow: hidden;
    position: relative;
  }
  .card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.88) contrast(0.98);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s;
  }
  .card-photo::after {
    /* warm wash so photos sit in the palette */
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, color-mix(in oklab, var(--accent) 6%, transparent), color-mix(in oklab, var(--paper) 22%, transparent) 88%);
    pointer-events: none;
  }
  .tool-card:hover .card-photo img {
    transform: scale(1.045);
    filter: saturate(1) contrast(1);
  }
  .tool-card:hover { background: var(--card); }
  .tool-card .mono {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
  }
  .tool-card .mono::before {
    content: ''; width: 24px; height: 1px; background: var(--ink-mute);
  }
  .tool-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 12px;
  }
  .tool-card h3 em { font-style: italic; font-weight: 400; color: var(--accent); }
  .tool-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: auto;
    max-width: 34ch;
  }
  .tool-card .open {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600;
    margin-top: 24px;
    color: var(--paper);
    background: var(--accent);
    padding: 10px 18px;
    border-radius: 999px;
    align-self: flex-start;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
  }
  .tool-card:hover .open {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--accent) 60%, transparent);
  }
  .tool-card .open .arrow {
    display: inline-block; width: 24px; height: 24px;
    border-radius: 50%; background: color-mix(in oklab, var(--paper) 25%, transparent);
    display: grid; place-items: center;
    transition: transform .25s, background .25s;
    font-family: var(--font-mono);
    font-size: 12px;
  }
  .tool-card:hover .open .arrow {
    transform: translateX(4px);
    background: var(--paper);
    color: var(--accent);
  }

  .tool-card .visual {
    margin-top: 24px;
    height: 80px;
    border-top: 1px solid var(--rule);
    padding-top: 20px;
    position: relative;
  }
  /* distinct visuals per tool */
  .viz-road { display: flex; align-items: center; gap: 20px; height: 100%; font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
  .viz-road .lane {
    flex: 1; height: 10px; border-radius: 5px;
    background: repeating-linear-gradient(90deg, var(--accent-2) 0 18px, transparent 18px 30px);
    opacity: 0.55;
  }
  .viz-visa { display: flex; gap: 4px; align-items: center; height: 100%; }
  .viz-visa span { flex: 1; height: 32px; border-radius: 3px; background: var(--visa-none); opacity: 0.5; }
  .viz-visa span:nth-child(3n) { background: var(--visa-free); }
  .viz-visa span:nth-child(5n) { background: var(--visa-arrival); }
  .viz-visa span:nth-child(7n) { background: var(--visa-required); }
  .viz-plug { display: flex; align-items: center; gap: 12px; height: 100%; font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
  .viz-plug .plug { width: 28px; height: 42px; border: 1.5px solid var(--ink-mute); border-radius: 4px 4px 14px 14px; position: relative; }
  .viz-plug .plug::before, .viz-plug .plug::after { content: ''; position: absolute; top: 10px; width: 3px; height: 12px; background: var(--ink-mute); }
  .viz-plug .plug::before { left: 8px; } .viz-plug .plug::after { right: 8px; }
  .viz-pack { display: flex; gap: 5px; align-items: flex-end; }
  .viz-pack span { flex: 1; border-radius: 2px 2px 0 0; background: var(--rule); height: 100%; }
  .viz-pack span:nth-child(2) { background: var(--accent-2); height: 70%; }
  .viz-pack span:nth-child(4) { background: var(--accent-3); height: 90%; }
  .viz-pack span:nth-child(6) { background: var(--accent); height: 55%; }
  .tool-card-new::after {
    content: 'NEW';
    position: absolute;
    top: 248px; right: 18px;
    font-family: var(--font-mono);
    font-size: 8px; letter-spacing: .18em;
    color: var(--accent-2);
    border: 1px solid var(--accent-2);
    padding: 3px 7px;
    border-radius: 4px;
  }

  /* ---------- VISA TOOL PAGE ---------- */
  .visa-view {
    display: grid;
    grid-template-columns: 1fr;
    height: calc(100vh - 73px);
    position: relative;
    overflow: hidden;
  }
  .map-canvas {
    position: absolute; inset: 0;
    background: var(--bg-2);
  }
  .map-canvas svg {
    width: 100%; height: 100%;
    display: block;
    cursor: grab;
  }
  .map-canvas svg.grabbing { cursor: grabbing; }
  .country {
    stroke: var(--bg);
    stroke-width: 0.4;
    transition: fill .2s, stroke-width .15s;
  }
  [data-theme="dark"] .country { stroke: var(--bg); }
  .country.hover { stroke-width: 1.5; stroke: var(--ink); }
  .country.selected { stroke: var(--ink); stroke-width: 2; }
  .ocean {
    fill: var(--bg-2);
  }

  /* Floating query bar (Felt-inspired) */
  .query-float {
    position: absolute;
    top: 24px; left: 50%;
    transform: translateX(-50%);
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center;
    padding: 6px;
    gap: 2px;
    max-width: 780px;
    width: calc(100% - 380px);
    z-index: 10;
    transition: max-width .38s cubic-bezier(0.2, 0.8, 0.2, 1), width .38s cubic-bezier(0.2, 0.8, 0.2, 1), left .38s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  /* when the country panel is open, shrink + shift left so the bar
     never overlaps the 420px side panel */
  @media (min-width: 981px) {
    .visa-view.panel-open .query-float {
      left: calc((100% - 420px) / 2);
      width: calc(100% - 520px);
      max-width: 620px;
    }
  }
  .qf-label {
    padding: 0 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    white-space: nowrap;
  }
  .qf-select {
    flex: 1;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px; font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .15s;
    min-width: 0;
  }
  .qf-select:hover { background: var(--bg-2); }
  .qf-select .flag { font-size: 18px; }
  .qf-select .name { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qf-select .caret { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); }
  .qf-arrow {
    padding: 0 6px; color: var(--ink-mute);
    font-family: var(--font-mono);
  }

  /* Country search popover */
  .popover {
    position: absolute;
    top: 78px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    width: 340px;
    max-height: 420px;
    display: flex; flex-direction: column;
    z-index: 30;
    overflow: hidden;
  }
  .popover input {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    border: none;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    font-family: inherit;
    color: var(--ink);
    outline: none;
  }
  .popover input::placeholder { color: var(--ink-mute); }
  .popover .list {
    overflow-y: auto;
    flex: 1;
  }
  .popover .opt {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background .1s;
  }
  .popover .opt:hover, .popover .opt.focused { background: var(--bg-2); }
  .popover .opt .flag { font-size: 18px; }
  .popover .opt .sub { font-size: 11px; color: var(--ink-mute); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

  /* Legend */
  /* Between 981–1360px the centered query bar's left edge reaches the
     legend's box — drop the legend below the bar in that band. */
  @media (min-width: 981px) and (max-width: 1360px) {
    .legend { top: 96px !important; }
  }
  .legend {
    position: absolute;
    top: 24px; left: 24px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    z-index: 5;
    min-width: 180px;
  }
  .legend .title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 10px;
  }
  .legend .row {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px;
    padding: 3px 0;
  }
  .legend .swatch {
    width: 14px; height: 14px; border-radius: 3px;
  }

  /* Zoom controls (Felt-style) */
  .zoom-ctl {
    position: absolute;
    right: 24px; bottom: 24px;
    display: flex; flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    z-index: 5;
  }
  .zoom-ctl button {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    transition: background .1s;
  }
  .zoom-ctl button:last-child { border-bottom: none; }
  .zoom-ctl button:hover { background: var(--bg-2); }

  /* Scale indicator */
  .scale-ind {
    position: absolute;
    left: 24px; bottom: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    background: color-mix(in oklab, var(--paper) 80%, transparent);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--rule);
    z-index: 5;
    display: flex; align-items: center; gap: 10px;
  }
  .scale-ind .bar {
    display: inline-block; width: 48px; height: 2px;
    background: var(--ink);
  }

  /* Hover tooltip */
  .tooltip {
    position: absolute;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 40;
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 12px));
    opacity: 0;
    transition: opacity .12s;
    box-shadow: var(--shadow-md);
  }
  .tooltip.show { opacity: 1; }
  .tooltip::after {
    content: ''; position: absolute;
    left: 50%; top: 100%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink);
  }
  .tooltip .t-flag { margin-right: 6px; }
  .tooltip .t-status {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 9px;
  }

  /* Country side panel */
  .side-panel {
    position: absolute;
    top: 0; right: 0;
    width: 420px;
    height: 100%;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    padding: 28px 32px 32px;
    overflow-y: auto;
    z-index: 8;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -20px 0 40px -20px rgba(27,26,23,.1);
  }
  .side-panel.open { transform: translateX(0); }
  .sp-close {
    position: absolute; top: 18px; right: 18px;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ink-mute);
    transition: background .15s;
  }
  .sp-close:hover { background: var(--bg-2); color: var(--ink); }
  /* mobile: explicit "back to map" pill (the ✕ alone is easy to miss) */
  .sp-back { display: none; }
  @media (max-width: 980px) {
    .sp-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: -6px 0 18px;
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid var(--rule);
      background: var(--bg-2);
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--ink-soft);
      min-height: 44px;
      cursor: pointer;
    }
    .sp-back:active { background: var(--bg); }
    /* keep the query bar visible; back pill sits below it, right-aligned */
    .side-panel { padding-top: 96px; }
    .sp-back {
      display: flex;
      width: fit-content;
      margin: 0 0 18px auto;
    }
    .sp-close { display: none; }
  }
  .sp-flag-row {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 4px;
  }
  .sp-flag { font-size: 44px; line-height: 1; }
  .sp-iso { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; }
  .sp-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 8px 0 6px;
  }
  .sp-sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; }

  .result-hero {
    padding: 22px 20px;
    border-radius: 14px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
  }
  .result-hero .tag {
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
  }
  .result-hero .verdict {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .result-hero .verdict em { font-style: italic; font-weight: 400; }
  .result-hero .days { font-size: 13px; margin-top: 10px; color: var(--ink-soft); }
  .result-hero.free { background: color-mix(in oklab, var(--visa-free) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--visa-free) 30%, var(--rule)); }
  .result-hero.free .tag { color: var(--visa-free); }
  .result-hero.arrival { background: color-mix(in oklab, var(--visa-arrival) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--visa-arrival) 30%, var(--rule)); }
  .result-hero.arrival .tag { color: color-mix(in oklab, var(--visa-arrival) 80%, black); }
  .result-hero.required { background: color-mix(in oklab, var(--visa-required) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--visa-required) 30%, var(--rule)); }
  .result-hero.required .tag { color: var(--visa-required); }
  .result-hero.eta { background: color-mix(in oklab, var(--visa-eta) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--visa-eta) 30%, var(--rule)); }
  .result-hero.eta .tag { color: var(--visa-eta); }
  .result-hero.none { background: var(--bg-2); border: 1px solid var(--rule); }
  .result-hero.none .tag { color: var(--ink-mute); }
  .result-hero.right { background: color-mix(in oklab, var(--drive-right) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--drive-right) 30%, var(--rule)); }
  .result-hero.right .tag { color: var(--drive-right); }
  .result-hero.left { background: color-mix(in oklab, var(--drive-left) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--drive-left) 30%, var(--rule)); }
  .result-hero.left .tag { color: var(--drive-left); }
  .result-hero.compatible { background: color-mix(in oklab, var(--drive-right) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--drive-right) 30%, var(--rule)); }
  .result-hero.compatible .tag { color: var(--drive-right); }
  .result-hero.adapter { background: color-mix(in oklab, var(--plug-A) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--plug-A) 30%, var(--rule)); }
  .result-hero.adapter .tag { color: color-mix(in oklab, var(--plug-A) 80%, black); }
  .result-hero.converter { background: color-mix(in oklab, var(--drive-left) 14%, var(--paper)); border: 1px solid color-mix(in oklab, var(--drive-left) 30%, var(--rule)); }
  .result-hero.converter .tag { color: var(--drive-left); }

  .speed-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
    margin: 18px 0 22px;
  }
  .speed-cell {
    background: var(--paper);
    padding: 14px 16px;
  }
  .speed-cell .k {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-mute);
    margin-bottom: 6px;
  }
  .speed-cell .v {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .speed-cell .v .unit {
    font-size: 11px;
    color: var(--ink-mute);
    margin-left: 3px;
    font-family: var(--font-mono);
  }

  .plug-chips {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 6px;
  }
  .plug-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--rule);
  }
  .plug-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

  .plug-ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
  }
  .plug-ref-cell {
    background: var(--paper);
    padding: 12px;
    font-size: 12px;
    display: flex; flex-direction: column; gap: 6px;
    cursor: pointer;
    transition: background .2s, transform .25s cubic-bezier(.2,.9,.3,1.3);
    position: relative;
    align-items: center;
    text-align: center;
  }
  .plug-ref-cell:hover {
    background: var(--card);
    transform: scale(1.06);
    z-index: 2;
    box-shadow: var(--shadow-md);
  }
  .plug-ref-cell .t {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
  }
  .plug-ref-cell .d { color: var(--ink-mute); font-size: 11px; line-height: 1.35; }
  .plug-ref-cell .face {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--paper) 60%, var(--rule));
    display: grid; place-items: center;
    border: 1.5px solid var(--rule);
    transition: border-color .2s;
  }
  .plug-ref-cell:hover .face {
    border-color: var(--ink-mute);
  }

  /* Plug modal */
  .plug-modal-overlay {
    position: fixed; inset: 0;
    background: color-mix(in oklab, var(--ink) 55%, transparent);
    backdrop-filter: blur(6px);
    z-index: 200;
    display: grid; place-items: center;
    padding: 24px;
    animation: fadeIn .18s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .plug-modal {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 520px;
    padding: 36px 36px 30px;
    position: relative;
    animation: popIn .24s cubic-bezier(.2,.9,.3,1.15);
  }
  @keyframes popIn {
    from { opacity: 0; transform: scale(.92) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
  .plug-modal .close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ink-mute);
    transition: background .15s;
  }
  .plug-modal .close:hover { background: var(--bg-2); color: var(--ink); }
  .plug-modal .pm-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 10px;
  }
  .plug-modal h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .plug-modal h3 em { font-style: italic; font-weight: 400; color: var(--accent); }
  .plug-modal .pm-desc {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .plug-modal .pm-face {
    display: grid; place-items: center;
    padding: 32px;
    background: color-mix(in oklab, var(--paper) 60%, var(--rule));
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--rule);
  }
  .plug-modal .pm-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 10px;
    overflow: hidden;
  }
  .plug-modal .pm-meta-cell {
    background: var(--paper);
    padding: 12px 14px;
  }
  .plug-modal .pm-meta-cell .k {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-mute);
    margin-bottom: 4px;
  }
  .plug-modal .pm-meta-cell .v { font-size: 14px; font-weight: 500; }
  .plug-modal .pm-used {
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--bg-2);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .plug-modal .pm-used strong {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-mute);
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
  }

  .fact-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .fact-row:last-child { border-bottom: none; }
  .fact-row .k {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 2px;
    min-width: 110px;
  }
  .fact-row .v { font-size: 14.5px; color: var(--ink); line-height: 1.5; }

  /* empty state */
  .empty-state {
    position: absolute;
    bottom: 80px; left: 50%;
    transform: translateX(-50%);
    background: var(--paper);
    padding: 16px 22px;
    border-radius: 999px;
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-sm);
    font-size: 13px; color: var(--ink-soft);
    display: flex; align-items: center; gap: 10px;
    z-index: 5;
  }
  .empty-state .key {
    font-family: var(--font-mono);
    background: var(--bg-2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--ink);
  }

  /* Tweaks panel */
  .tweaks {
    position: fixed;
    bottom: 24px; left: 24px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 18px 20px;
    width: 280px;
    z-index: 100;
    display: none;
    font-size: 13px;
  }
  .tweaks.open { display: block; }
  .tweaks h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
  }
  .tweaks .tw-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
  }
  .tweaks .tw-row:last-child { border-bottom: none; }
  .tweaks label { font-size: 12px; color: var(--ink-soft); }
  .tweaks .swatches { display: flex; gap: 6px; }
  .tweaks .sw {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
  }
  .tweaks .sw.active { border-color: var(--ink); }

  /* utility */
  .hidden { display: none !important; }

  /* ---------- MOBILE TAB BAR (phone-native navigation) ---------- */
  .mobile-tabs { display: none; }

  /* ---------- PACK PAGE ---------- */
  .pack-page {
    max-width: 1180px; margin: 0 auto;
    padding: 44px 32px 90px;
  }
  .pk-eyebrow {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-mute);
    display: flex; align-items: center; gap: 8px;
  }
  .pk-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--ink-mute); }
  .pk-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: -0.025em; line-height: 0.98;
    margin: 16px 0 12px;
  }
  .pk-title em { font-style: italic; font-weight: 400; color: var(--accent); }
  .pk-lede { font-size: 15px; color: var(--ink-soft); max-width: 50ch; margin-bottom: 30px; }

  .pk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .pk-card {
    background: var(--paper);
    padding: 26px;
    min-height: 250px;
    display: flex; flex-direction: column;
    cursor: pointer;
    transition: background .2s, transform .22s, box-shadow .22s;
    position: relative;
  }
  .pk-card:hover {
    background: var(--card);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -12px rgba(27,26,23,.28), inset 0 0 0 1.5px var(--accent);
    z-index: 2;
  }
  .pk-card-smart { background: color-mix(in oklab, var(--accent-2) 7%, var(--paper)); }
  .pk-card-smart:hover { box-shadow: 0 14px 32px -12px rgba(27,26,23,.28), inset 0 0 0 1.5px var(--accent-2); }
  .pk-card-mono {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 12px;
  }
  .pk-card h4 {
    font-family: var(--font-display); font-weight: 500;
    font-size: 26px; letter-spacing: -0.02em; margin-bottom: 10px;
  }
  .pk-card h4 em { font-style: italic; font-weight: 400; color: var(--accent); }
  .pk-card-smart h4 em { color: var(--accent-2); }
  .pk-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
  .pk-card li { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: baseline; }
  .pk-card li::before { content: '·'; color: var(--accent); font-weight: 700; }
  .pk-card-smart li::before { color: var(--accent-2); }
  .pk-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
  .pk-count { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
  .pk-open {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 15px; border-radius: 999px;
    background: var(--accent); color: var(--paper);
    font-size: 12px; font-weight: 600;
    transition: filter .15s, transform .2s;
  }
  .pk-open-smart { background: var(--accent-2); }
  .pk-card:hover .pk-open { filter: brightness(1.08); transform: translateX(2px); }

  .pk-foot-note {
    margin-top: 18px;
    display: flex; justify-content: space-between;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-mute);
  }

  /* overlay + sheet */
  .pk-overlay {
    position: fixed; inset: 0;
    background: color-mix(in oklab, var(--ink) 50%, transparent);
    backdrop-filter: blur(6px);
    z-index: 200;
    display: grid; place-items: center;
    padding: 24px;
    animation: pkFade .18s ease;
  }
  @keyframes pkFade { from { opacity: 0; } to { opacity: 1; } }
  .pk-sheet {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    width: 100%; max-width: 680px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 34px 36px 28px;
    position: relative;
    animation: pkPop .24s cubic-bezier(.2,.9,.3,1.15);
    color: var(--ink);
  }
  @keyframes pkPop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
  .pk-close {
    position: absolute; top: 16px; right: 16px;
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ink-mute);
    transition: background .15s;
  }
  .pk-close:hover { background: var(--bg-2); color: var(--ink); }
  .pk-sheet-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: 36px; letter-spacing: -0.025em; line-height: 1;
    margin: 10px 0 6px;
  }
  .pk-sheet-title em { font-style: italic; font-weight: 400; color: var(--accent); }
  .pk-sponsored-note {
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: .13em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 16px;
  }
  .pk-list { display: flex; flex-direction: column; }
  .pk-row {
    display: grid;
    grid-template-columns: 30px 1fr auto auto;
    gap: 14px; align-items: center;
    padding: 13px 10px;
    margin: 0 -10px;
    border-bottom: 1px solid var(--rule);
    border-radius: 10px;
    transition: background .15s;
    cursor: default;
  }
  .pk-row:last-child { border-bottom: none; }
  .pk-row:hover { background: color-mix(in oklab, var(--accent) 7%, transparent); }
  .pk-row:hover .pk-what { color: var(--accent); }
  .pk-idx { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
  .pk-what { font-size: 14px; font-weight: 600; transition: color .15s; }
  .pk-why { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; max-width: 44ch; }
  .pk-price { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); white-space: nowrap; }
  .pk-shop {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 14px; border-radius: 999px;
    background: var(--accent); color: var(--paper);
    font-size: 11.5px; font-weight: 600;
    text-decoration: none;
    transition: filter .15s, transform .2s;
    white-space: nowrap;
  }
  .pk-row:hover .pk-shop { filter: brightness(1.08); transform: translateX(2px); }
  .pk-badge {
    display: inline-block;
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 4px;
    border: 1px solid var(--rule);
    color: var(--accent-3);
    margin-left: 8px;
    vertical-align: 1px;
  }
  .pk-kit-cta {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: color-mix(in oklab, var(--accent) 8%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--rule));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .pk-kit-cta-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.015em;
  }
  .pk-kit-cta-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; max-width: 40ch; }
  .pk-shop-lg { padding: 10px 18px; font-size: 12.5px; }
  .pk-kit-cta .pk-shop:hover { filter: brightness(1.08); transform: translateX(2px); }

  /* smart builder (dark sheet) */
  .pk-smart { background: var(--paper); }
  .pk-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    margin: 18px 0 20px;
  }
  .pk-ctl { display: flex; flex-direction: column; gap: 6px; }
  .pk-ctl span {
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-mute);
  }
  .pk-ctl select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--rule);
    background: var(--bg-2);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
  }
  .pk-build {
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--accent-2); color: var(--paper);
    font-size: 13px; font-weight: 600;
    transition: filter .15s;
    white-space: nowrap;
  }
  .pk-build:hover { filter: brightness(1.1); }
  .pk-verdict {
    background: color-mix(in oklab, var(--visa-free) 12%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--visa-free) 30%, var(--rule));
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
  }
  .pk-verdict .tag {
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--visa-free); margin-bottom: 8px;
  }
  .pk-verdict .v {
    font-family: var(--font-display); font-weight: 500;
    font-size: 26px; letter-spacing: -0.02em; line-height: 1.1;
  }
  .pk-verdict .v em { font-style: italic; font-weight: 400; color: var(--accent-3); }
  .pk-verdict .sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

  @media (max-width: 980px) {
    .pk-grid { grid-template-columns: 1fr; }
    .pk-controls { grid-template-columns: 1fr 1fr; }
    .pk-build { grid-column: span 2; }
    .pk-row { grid-template-columns: 24px 1fr auto; }
    .pk-price { display: none; }
    .pk-sheet { padding: 26px 22px 22px; }
  }

  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .tool-grid { grid-template-columns: 1fr; }
    .tool-card, .tool-card:nth-child(n+4) { grid-column: auto; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2n) { border-right: none; }
    .side-panel { width: 100%; padding-bottom: 130px; }
    .query-float { width: calc(100% - 48px); flex-wrap: wrap; }
    .nav-links { display: none; }

    /* bottom tab bar */
    .mobile-tabs {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: color-mix(in oklab, var(--paper) 94%, transparent);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-top: 1px solid var(--rule);
      z-index: 300;
      padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 8px));
    }
    .mtab {
      display: flex; flex-direction: column; align-items: center; gap: 5px;
      font-family: var(--font-mono);
      font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
      color: var(--ink-mute);
      padding: 4px 0;
      min-height: 44px;
      justify-content: center;
    }
    .mtab .mtab-dot {
      width: 5px; height: 5px; border-radius: 50%;
      background: currentColor; opacity: .35;
      transition: opacity .15s;
    }
    .mtab.active { color: var(--accent); }
    .mtab.active .mtab-dot { opacity: 1; }

    /* keep map furniture clear of the tab bar */
    .zoom-ctl { bottom: 96px; }
    .scale-ind { bottom: 96px; }
    .empty-state { bottom: 96px; }
    /* legend below the query bar instead of colliding with it — the bar
       wraps to two rows at this width, so clear ~130px */
    .legend {
      top: 140px; left: 16px;
      min-width: 0;
      padding: 10px 12px;
      font-size: 12px;
      max-height: 200px !important;
      overflow-y: auto;
    }
    /* homepage content clears the tab bar */
    .home { padding-bottom: 140px; }
  }

  @media (max-width: 620px) {
    .nav-row { padding: 14px 20px; }
    .brand { font-size: 19px; }
    .side-panel { padding-top: 72px; }
    /* compact query bar: drop the mono labels, full width */
    .query-float { top: 12px; width: calc(100% - 24px); padding: 4px; }
    .qf-label { display: none; }
    .qf-arrow { padding: 0 2px; }
    /* popovers become full-width sheets under the query bar */
    .popover {
      left: 12px !important;
      right: 12px !important;
      width: auto !important;
      top: 64px !important;
      transform: none !important;
      max-height: 50vh;
    }
    .legend { top: 68px; font-size: 11px; max-height: 160px !important; }
    .scale-ind { display: none; }
    .empty-state { display: none; }
    .sp-name { font-size: 28px; }
  }

  /* ---------- PHONE LANDSCAPE (short viewport) ---------- */
  @media (orientation: landscape) and (max-height: 520px) {
    .nav-row { padding: 8px 24px; }
    /* hero fits the short viewport instead of forcing 420px+ */
    .hero-bleed { height: calc(100vh - 54px); min-height: 0; }
    .hero-inner { padding: 18px 32px 0; }
    .eyebrow { margin-bottom: 10px; }
    .display { font-size: clamp(32px, 9vh, 52px); }
    .hero-bleed .lede { font-size: 13px; margin-top: 8px; max-width: 46ch; }
    .hm-jet { width: 110px; }
    .hero-bleed.jet-low .hm-jet-track { top: 64%; }

    /* map views use the full short height */
    .visa-view { height: calc(100vh - 54px); }
    /* query bar anchors left over the map */
    .query-float { left: 24px; transform: none; width: calc(100% - 48px); max-width: 560px; top: 12px; padding: 4px; }
    .qf-label { display: none; }
    .visa-view.panel-open .query-float { max-width: min(400px, calc(46vw - 40px)); }
    .popover {
      left: 24px !important;
      right: auto !important;
      width: 340px !important;
      transform: none !important;
      top: 68px !important;
      max-height: calc(100vh - 130px);
    }
    .legend { top: 70px; left: 16px; max-height: 38vh !important; overflow-y: auto; font-size: 11px; padding: 10px 12px; min-width: 0; }
    .scale-ind { display: none; }
    .empty-state { bottom: 58px; }

    /* side panel returns to a partial sheet so the map stays visible */
    .side-panel { width: min(440px, 54vw); padding: 20px 24px 90px; }
    .sp-back { margin: 0 0 14px auto; }

    /* slimmer tab bar */
    .mobile-tabs { padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 4px)); }
    .mtab { min-height: 34px; gap: 3px; font-size: 9px; }
    .zoom-ctl { bottom: 60px; }
    .zoom-ctl button { width: 34px; height: 34px; }
  }


/* ========== PRODUCTION ADDITIONS — footer, legal, currency ========== */

.site-footer { border-top: 1px solid var(--rule); background: var(--bg-2); margin-top: 72px; padding: 44px 24px 28px; }
.sf-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.sf-brand { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sf-brand em { font-style: italic; color: var(--accent); }
.sf-brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.sf-tag { flex-basis: 100%; font-family: var(--font-sans); font-size: 13px; color: var(--ink-mute); margin-top: 6px; }
.sf-links { display: flex; gap: 22px; flex-wrap: wrap; }
.sf-links a { color: var(--ink-soft); text-decoration: none; font-size: 13.5px; font-family: var(--font-sans); }
.sf-links a:hover, .sf-links a:focus-visible { color: var(--accent); }
.sf-legal { max-width: 1080px; margin: 26px auto 0; border-top: 1px solid var(--rule); padding-top: 20px; }
.sf-legal p { font-size: 12px; line-height: 1.6; color: var(--ink-mute); max-width: 74ch; margin-bottom: 10px; font-family: var(--font-sans); }
.sf-copy { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px !important; }

.legal-page { padding: 120px 24px 40px; min-height: 60vh; }
.legal-inner { max-width: 680px; margin: 0 auto; }
.legal-title { font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; margin: 10px 0 34px; }
.legal-inner section { margin-bottom: 28px; }
.legal-inner h2 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.legal-inner p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-family: var(--font-sans); }

.card-photo-fx { display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--accent-2) 16%, var(--paper)); min-height: 150px; }
.fx-glyph { font-family: var(--font-display); font-size: 42px; letter-spacing: 0.04em; color: var(--accent-2); }

.fx-view { padding: 120px 24px 40px; min-height: 70vh; }
.fx-inner { max-width: 720px; margin: 0 auto; }
.fx-title { font-family: var(--font-display); font-size: clamp(36px, 5.5vw, 54px); letter-spacing: -0.02em; margin: 10px 0 12px; }
.fx-title em { font-style: italic; color: var(--accent); }
.fx-lede { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); max-width: 58ch; margin-bottom: 30px; font-family: var(--font-sans); }
.fx-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.fx-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.fx-label { display: block; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); margin-bottom: 7px; }
.fx-amount input, .fx-select select { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); font-size: 16px; padding: 11px 12px; font-family: var(--font-sans); min-width: 130px; }
.fx-amount input { width: 140px; }
.fx-select select { max-width: 230px; }
.fx-amount input:focus-visible, .fx-select select:focus-visible, .fx-swap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fx-swap { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 999px; width: 42px; height: 42px; font-size: 17px; color: var(--accent); cursor: pointer; transition: var(--transition); }
.fx-swap:hover { background: var(--accent); color: var(--paper); }
.fx-result { margin-top: 26px; min-height: 76px; }
.fx-big { font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.02em; line-height: 1.05; }
.fx-rateline { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-top: 9px; letter-spacing: 0.03em; }
.fx-muted { color: var(--ink-mute); font-size: 14.5px; font-family: var(--font-sans); }
.fx-table { margin-top: 22px; border-top: 1px solid var(--rule); }
.fx-tr { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--rule); font-size: 14px; font-family: var(--font-sans); }
.fx-tr span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.fx-foot { margin-top: 20px; font-size: 12.5px; color: var(--ink-mute); line-height: 1.6; font-family: var(--font-sans); }

@media (max-width: 620px) {
  .fx-row { flex-direction: column; align-items: stretch; }
  .fx-amount input, .fx-select select { width: 100%; max-width: none; }
  .fx-swap { align-self: center; }
  .site-footer { padding-bottom: 96px; } /* clear the mobile tab bar */
}

/* keyboard focus for role=button tool cards */
.tool-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
