/* Self-hosted fonts (OFL-1.1) from @fontsource 5.3.0. Unicode ranges keep downloads per script. */
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/baloo-2-devanagari-500-normal.75e154f74b.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/baloo-2-latin-ext-500-normal.611a1e07f6.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}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/baloo-2-latin-500-normal.b533661a07.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}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/baloo-2-devanagari-700-normal.7a777ebe1f.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/baloo-2-latin-ext-700-normal.c813752d17.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}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/baloo-2-latin-700-normal.8e7ffc9b99.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}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/baloo-2-devanagari-800-normal.f997772fad.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/baloo-2-latin-ext-800-normal.d73eb61f07.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}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/baloo-2-latin-800-normal.3e36c57e37.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-ext-600-normal.d53e985163.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-600-normal.e61eb97bb5.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-latin-ext-600-normal.a7ba5f4fa4.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-latin-600-normal.45f437de32.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-ext-700-normal.5936f6acf4.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-700-normal.8fcefcc970.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-latin-ext-700-normal.0a4e4a02e1.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-latin-700-normal.fa89300b9b.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-ext-800-normal.796cf7bd0e.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-800-normal.d80292de37.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-latin-ext-800-normal.39f54b55b8.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-latin-800-normal.2363d3ed03.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-ext-900-normal.f5e6b53540.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-900-normal.50f32003ea.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/nunito-latin-ext-900-normal.f7e97aafcd.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}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/nunito-latin-900-normal.9ca32f5d83.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}
@font-face{font-family:'Baloo Bhaijaan 2';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/baloo-bhaijaan-2-arabic-500-normal.5f476ba567.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}
@font-face{font-family:'Baloo Bhaijaan 2';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/baloo-bhaijaan-2-arabic-700-normal.d14d2500ad.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}
@font-face{font-family:'Baloo Bhaijaan 2';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/baloo-bhaijaan-2-arabic-800-normal.6607c57381.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}
@font-face{font-family:'Baloo Da 2';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/baloo-da-2-bengali-500-normal.c48af7d149.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Baloo Da 2';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/baloo-da-2-bengali-700-normal.b937d43c79.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Baloo Da 2';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/baloo-da-2-bengali-800-normal.98af9f0718.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Noto Nastaliq Urdu';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/noto-nastaliq-urdu-arabic-400-normal.fecd45d694.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}
@font-face{font-family:'Noto Nastaliq Urdu';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/noto-nastaliq-urdu-arabic-700-normal.315f55145f.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}

/* Study Buddy Cat — website styles.
   Colours, type and the chunky "game-like" controls come from the app's design system (design/tokens/tokens.json, DS-v2).
   Layout uses logical properties so Arabic and Urdu mirror without extra rules. */

:root {
  --ink: #2B2150;
  --ink-2: #4A4270;
  --muted: #6B6390;
  --page: #FFF6E9;
  --card: #FFFFFF;
  --sunken: #F3EADB;
  --track: #EDE3D1;
  --line: #EADFCB;
  --edge: #DCCCB0;
  --grape: #6C4CF1;
  --grape-edge: #4A2FC0;
  --grape-soft: #EFEAFF;
  --grape-soft-edge: #CFC4F7;
  --grape-text: #4A2FC0;
  --honey: #FFC83D;
  --honey-edge: #E0A400;
  --honey-soft: #FFF1C7;
  --honey-text: #7A5200;
  --coral: #FF6A4D;
  --coral-soft: #FFE9E3;
  --coral-text: #B23A1F;
  --mint: #1FC7A6;
  --mint-soft: #CFF5EC;
  --mint-text: #0E6B58;
  --pink: #FF7FB0;
  --pink-soft: #FFE6F0;
  --ice: #3DA5F4;
  --ice-soft: #DDF0FF;
  --wall-top: #FFEBD8;
  --wall-bottom: #FFE1C7;
  --floor-top: #F4C59C;
  --floor-bottom: #EFB98A;
  --platform: #8B6CF5;
  --platform-edge: #6C4CF1;
  --shadow-float: 0 18px 40px -12px rgba(43, 33, 80, .22);

  --f-display: 'Baloo 2', 'Nunito', ui-rounded, system-ui, sans-serif;
  --f-text: 'Nunito', 'Baloo 2', ui-rounded, system-ui, sans-serif;
  --w-display: 800;
  --w-body: 600;
  --w-strong: 800;
  --lh-body: 1.62;
  --lh-head: 1.04;
  --track-head: -0.012em;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
}

/* Per-script type: each writing system gets a face that covers it and suitable rhythm. */
html[data-script="cyrl"] { --f-display: 'Nunito', system-ui, sans-serif; --w-display: 900; --track-head: -0.02em; }
html[data-script="deva"] { --f-display: 'Baloo 2', system-ui, sans-serif; --f-text: 'Nunito', 'Baloo 2', system-ui, sans-serif; --lh-body: 1.75; --lh-head: 1.25; --track-head: 0; }
html[data-script="beng"] { --f-display: 'Baloo Da 2', 'Baloo 2', system-ui, sans-serif; --f-text: 'Nunito', 'Baloo Da 2', system-ui, sans-serif; --lh-body: 1.8; --lh-head: 1.3; --track-head: 0; }
html[data-script="arab"] { --f-display: 'Baloo Bhaijaan 2', 'Baloo 2', system-ui, sans-serif; --f-text: 'Baloo Bhaijaan 2', 'Nunito', system-ui, sans-serif; --w-body: 500; --lh-body: 1.8; --lh-head: 1.3; --track-head: 0; }
html[data-script="urdu"] { --f-display: 'Noto Nastaliq Urdu', 'Baloo Bhaijaan 2', system-ui, serif; --f-text: 'Noto Nastaliq Urdu', 'Nunito', system-ui, serif; --w-display: 700; --w-body: 400; --w-strong: 700; --lh-body: 2.25; --lh-head: 1.95; --track-head: 0; }
html[data-script="hans"] { --f-display: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Noto Sans SC', 'Microsoft YaHei', 'Nunito', sans-serif; --f-text: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Noto Sans SC', 'Microsoft YaHei', 'Nunito', sans-serif; --w-display: 800; --w-body: 500; --lh-body: 1.8; --lh-head: 1.25; --track-head: 0; }
/* Endonyms in the language menu always use a face for their own script. */
:lang(ar) { font-family: 'Baloo Bhaijaan 2', system-ui, sans-serif; }
:lang(ur) { font-family: 'Noto Nastaliq Urdu', system-ui, serif; }
:lang(bn) { font-family: 'Baloo Da 2', system-ui, sans-serif; }
:lang(hi) { font-family: 'Baloo 2', system-ui, sans-serif; }
:lang(zh-Hans) { font-family: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif; }
[lang="en"] { font-family: inherit; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--f-text);
  font-weight: var(--w-body);
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: var(--w-display); line-height: var(--lh-head); letter-spacing: var(--track-head); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong, b { font-weight: var(--w-strong); }
a { color: var(--grape-text); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--grape); }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; color: #fff; }

/* ---- icons --------------------------------------------------------------------------------------- */
.i { width: 24px; height: 24px; flex: none; }
.i--s { width: 18px; height: 18px; }
.i--c { width: 26px; height: 26px; }
.i--tile { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--card); color: var(--grape); box-shadow: 0 3px 0 var(--line); }
[dir="rtl"] .i--flip, [dir="rtl"] [data-shelf] .i, [dir="rtl"] .doc__top .i { transform: scaleX(-1); }
.i--up { transform: rotate(90deg); }

/* ---- buttons (the app's chunky "game" buttons) ------------------------------------------------- */
.btn {
  --edge-c: var(--edge);
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 52px; padding: .7em 1.35em;
  border: 2px solid transparent; border-radius: 18px;
  font-family: var(--f-display); font-weight: var(--w-display); font-size: 1.125rem; line-height: 1.15;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--edge-c);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--edge-c); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge-c); }
.btn--grape { --edge-c: var(--grape-edge); background: var(--grape); color: #fff; }
.btn--grape:hover { color: #fff; background: #7558F3; }
.btn--white { background: var(--card); color: var(--grape-text); border-color: var(--line); }
.btn--white:hover { color: var(--grape-text); }
.btn--soon { --edge-c: #E3D6BF; background: var(--sunken); color: var(--muted); cursor: default; }
.btn--soon:hover, .btn--soon:active { transform: none; box-shadow: 0 5px 0 var(--edge-c); }
.btn--big { min-height: 64px; padding: .8em 1.6em; font-size: 1.3rem; border-radius: 22px; }
.btn--small { min-height: 44px; padding: .45em 1em; font-size: 1rem; border-radius: 14px; box-shadow: 0 3px 0 var(--edge-c); }
.btn--small:hover { box-shadow: 0 4px 0 var(--edge-c); }
.btn--small:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge-c); }
.btn--store { text-align: start; }
.btn--store small { display: block; font-family: var(--f-text); font-weight: 700; font-size: .78rem; line-height: 1.2; opacity: .85; }
.stores { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.roundbtn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 0 4px 0 var(--edge); cursor: pointer; }
.roundbtn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }

/* ---- header -------------------------------------------------------------------------------------- */
/* Language suggestion (site.js): only inserted when the visitor's language differs from the page's. */
.langbar { background: var(--grape-soft); border-block-end: 1px solid var(--grape-soft-edge); color: var(--ink); font-size: .95rem; position: relative; z-index: 21; }
.langbar__inner { display: flex; align-items: center; gap: 10px; padding-block: 6px; }
.langbar__text { margin: 0; font-weight: 700; flex: 1 1 auto; min-width: 0; padding-block: 4px; }
.langbar__go { font-weight: 800; color: var(--grape-text); text-decoration: underline; text-underline-offset: .18em; white-space: nowrap; margin-inline-start: .25em; }
.langbar__go:hover { color: var(--grape-edge); }
.langbar__close { flex: none; display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.langbar__close:hover { background: rgba(108, 76, 241, .12); color: var(--ink); }
.langbar__close .i { width: 18px; height: 18px; }
.top { position: relative; z-index: 20; background: var(--page); }
.is-home .top { background: var(--wall-top); }
.top__bar { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo:hover { color: var(--ink); }
.logo__cat { width: 44px; height: 44px; border-radius: 14px; background: var(--honey); padding: 2px; }
.logo__word { font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800; font-size: 1.32rem; letter-spacing: -0.01em; white-space: nowrap; }
.top__nav { margin-inline-start: auto; min-width: 0; overflow: hidden; }
.top__nav ul { display: flex; gap: 4px; }
.top__nav a { white-space: nowrap; }
.top.is-compact .top__nav { display: none; }
.top.is-compact .menu { display: block; }
.top.is-compact .top__end { margin-inline-start: auto; }
.top__nav a, .menu__panel a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: .98rem; }
.top__nav a:hover, .menu__panel a:hover { background: rgba(108, 76, 241, .1); color: var(--grape-text); }
.top__nav a { padding-inline: 9px; } /* seven links (with Blog and Exams) fit at desktop widths in de/es/fr/pt */
.top__end { display: flex; align-items: center; gap: 10px; margin-inline-start: 8px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.lang { position: relative; }
/* "Sign in" to the user web panel (app.studybuddycat.com, ADR-0063): a pill in the header; in the menu on small phones. */
.signin { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 6px 16px; border-radius: 999px; background: var(--grape); color: #fff; border: 2px solid transparent; box-shadow: 0 3px 0 var(--grape-edge); font-weight: 800; font-size: .95rem; white-space: nowrap; text-decoration: none; }
.signin:hover { color: #fff; background: #7558F3; }
.signin:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--grape-edge); }
.menu__signin { display: none; }
.lang__code { display: none; }
/* The header is a little wider than the page so the full nav fits beside "Sign in" on laptop screens. */
.top__bar.wrap { width: min(100% - 2 * var(--gutter), 1320px); }
/* A tight header (site.js) shows the language as its code before falling back to the menu button. */
.top.is-tight .lang__name { display: none; }
.top.is-tight .lang__code { display: inline; }
.lang > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--edge); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.lang > summary .i { width: 20px; height: 20px; color: var(--grape); }
.lang__list { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 30; width: min(340px, 86vw); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; background: var(--card); border: 2px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-float); }
.lang__list a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.5; }
.lang__list a:hover { background: var(--grape-soft); color: var(--grape-text); }
.lang__list a[aria-current] { background: var(--grape-soft); color: var(--grape-text); }
.menu { display: none; }
.menu > summary { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--edge); }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--ink); position: relative; content: ''; }
.menu__bars::before { position: absolute; top: -7px; }
.menu__bars::after { position: absolute; top: 7px; }
.menu[open] .menu__bars { background: transparent; }
.menu[open] .menu__bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu__bars::after { top: 0; transform: rotate(-45deg); }
.menu__panel { position: absolute; inset-inline: var(--gutter); top: calc(100% - 4px); z-index: 30; padding: 10px; background: var(--card); border: 2px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-float); }
.menu__panel a { padding: 12px 14px; font-size: 1.05rem; }
@media (max-width: 980px) {
  .top__nav { display: none; }
  .menu { display: block; }
  .top__end { margin-inline-start: auto; }
}
@media (max-width: 420px) {
  .logo__word { font-size: 1.12rem; }
  .logo__cat { width: 38px; height: 38px; }
  .lang > summary span { display: none; }
  .lang > summary { padding: 6px 11px; }
}
@media (max-width: 600px) {
  .signin { display: none; }
  .menu__signin { display: block; }
  .menu__signin a { color: var(--grape-text); }
}

/* ---- hero: the cat's room ------------------------------------------------------------------------ */
.room {
  --floor-h: 200px;
  position: relative;
  background: linear-gradient(180deg, var(--wall-top) 0, var(--wall-bottom) calc(100% - var(--floor-h)), var(--floor-top) calc(100% - var(--floor-h)), var(--floor-bottom) 100%);
}
.room::after { /* skirting board where the wall meets the floor */
  content: ''; position: absolute; inset-inline: 0; bottom: var(--floor-h); height: 12px;
  background: linear-gradient(180deg, #FBD7B4, #F6CBA3); box-shadow: 0 2px 0 rgba(176, 108, 52, .12);
}
.room__inner {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto var(--floor-h);
  column-gap: clamp(24px, 4vw, 56px);
}
.room__copy { grid-column: 1; grid-row: 1; align-self: center; padding-block: 40px 88px; }
.room__title { font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.4rem); line-height: .98; color: var(--ink); }
html:not([data-script="latn"]):not([data-script="cyrl"]) .room__title { line-height: var(--lh-head); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); }
html[data-script="urdu"] body { font-size: 1rem; }
html[data-script="urdu"] .room__title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); }
html[data-script="urdu"] .sechead h2, html[data-script="urdu"] .web h2, html[data-script="urdu"] .faq h2, html[data-script="urdu"] .cta h2, html[data-script="urdu"] .feat__copy h3 { font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.8rem); }
.room__title span { display: block; }
.room__lede { margin-block: 22px 30px; max-width: 36ch; font-size: 1.22rem; color: var(--ink-2); }
.room__platforms { margin-top: 18px; font-size: .93rem; color: var(--ink-2); max-width: 44ch; }

.room__stage { grid-column: 2; grid-row: 1; position: relative; min-height: 580px; }
.room__pills { position: absolute; top: 28px; inset-inline-start: 0; display: flex; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px 6px 10px; border-radius: 999px; background: var(--card); box-shadow: 0 4px 0 #F1D2B3; font-family: var(--f-text); font-weight: 900; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pill b { font-weight: 900; }
.pill.is-bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.window { position: absolute; top: 60px; inset-inline-end: 8px; width: 150px; height: auto; }
.room__clock { position: absolute; top: 18px; inset-inline-end: 196px; width: 78px; height: 78px; }
.room__plant { position: absolute; bottom: -8px; inset-inline-start: -34px; width: 128px; height: 128px; }
.bubble { position: absolute; top: 108px; inset-inline-start: 0; z-index: 2; max-width: 280px; padding: 14px 20px 16px; background: var(--card); border-radius: 22px; box-shadow: 0 6px 0 #F1D2B3; }
.bubble__mood { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; color: var(--mint-text); }
.bubble__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); flex: none; }
.bubble[data-tone="focus"] .bubble__mood { color: var(--grape-text); } .bubble[data-tone="focus"] .bubble__dot { background: var(--grape); }
.bubble[data-tone="joy"] .bubble__mood { color: var(--honey-text); } .bubble[data-tone="joy"] .bubble__dot { background: var(--honey); }
.bubble[data-tone="away"] .bubble__mood { color: var(--ice-text, #1E4E7A); } .bubble[data-tone="away"] .bubble__dot { background: var(--ice); }
.bubble strong { display: block; margin-top: 2px; font-family: var(--f-display); font-weight: var(--w-display); font-size: 1.4rem; line-height: 1.2; }
.platform { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); width: min(400px, 92%); height: 74px; border-radius: 50%; background: var(--platform); box-shadow: 0 10px 0 var(--platform-edge); }
.room__cat { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); width: min(340px, 78%); height: auto; z-index: 1; transition: opacity .2s ease; }
.bowl { position: absolute; bottom: -42px; inset-inline-end: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--card); box-shadow: 0 4px 0 #E0A87A; font-weight: 800; font-size: 1rem; }
.bowl.is-full { background: var(--honey-soft); }

.room__demo { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding-top: 48px; padding-bottom: 20px; text-align: center; }
.demo__run { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 14px; border-radius: 22px; background: var(--card); box-shadow: 0 5px 0 #D9A375; }
.demo__clock { display: grid; text-align: start; line-height: 1.15; }
.demo__clock strong { font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.demo__clock span { font-size: .85rem; color: var(--muted); font-weight: 800; }
.demo__clock small { font-size: .85rem; font-weight: 800; color: var(--honey-text); min-height: 1.2em; }
.demo__note { max-width: 40ch; font-size: .88rem; color: #5A3B2A; }
.ring { width: 56px; height: 56px; transform: rotate(-90deg); }
[dir="rtl"] .ring { transform: rotate(-90deg) scaleY(-1); }
.ring__track { fill: none; stroke: var(--track); stroke-width: 6; }
.ring__bar { fill: none; stroke: var(--grape); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .4s linear; }
.ring--s { width: 30px; height: 30px; }
.floating { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 40; }
.floating__btn { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-float); font: 800 .95rem/1.2 var(--f-text); cursor: pointer; white-space: nowrap; }
.floating__btn b { font-variant-numeric: tabular-nums; color: var(--grape-text); }

@media (max-width: 900px) {
  .room { --floor-h: 210px; }
  .room__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto var(--floor-h); }
  .room__copy { grid-column: 1; grid-row: 1; padding-block: 20px 8px; }
  .room__stage { grid-column: 1; grid-row: 2; min-height: 430px; }
  .room__demo { grid-column: 1; grid-row: 3; padding-top: 52px; }
  .room__lede { font-size: 1.1rem; }
  .window { width: 104px; top: 56px; inset-inline-end: 4px; }
  .bubble { top: 76px; max-width: 220px; padding: 12px 16px; }
  .bubble strong { font-size: 1.2rem; }
  .room__cat { width: min(280px, 74%); }
  .platform { width: min(330px, 90%); height: 62px; bottom: -30px; }
  .bowl { bottom: -36px; padding: 8px 14px 8px 10px; font-size: .92rem; }
  .room__pills { top: 6px; }
  .room__clock { width: 60px; height: 60px; top: 2px; inset-inline-end: 130px; }
  .room__plant { width: 96px; height: 96px; bottom: -30px; inset-inline-start: -6px; }
}
@media (max-width: 600px) { .room__clock { display: none; } }
@media (max-width: 420px) {
  .room__stage { min-height: 400px; }
  .bubble { max-width: 190px; }
  .btn--big { font-size: 1.12rem; padding: .7em 1.2em; }
}

/* ---- section scaffolding ------------------------------------------------------------------------- */
.sechead { display: grid; gap: 14px; max-width: 760px; }
.sechead h2, .faq h2 { font-size: clamp(2.05rem, 1.25rem + 2.7vw, 3.4rem); }
.sechead p, .lede { font-size: 1.16rem; color: var(--ink-2); max-width: 56ch; }
.sechead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.sechead--row > div:first-child { display: grid; gap: 14px; max-width: 760px; }

/* ---- features: one row per feature, a real screen of the app beside a few words ------------------ */
.features { padding-block: clamp(56px, 8vw, 104px) clamp(64px, 10vw, 128px); }
.feats { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: clamp(36px, 5vw, 56px); }
.feat { --tone: var(--grape-soft); --tone-ink: var(--grape-text); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.feat--honey { --tone: var(--honey-soft); --tone-ink: var(--honey-text); }
.feat--pink { --tone: var(--pink-soft); --tone-ink: #A3285A; }
.feat--mint { --tone: var(--mint-soft); --tone-ink: var(--mint-text); }
.feat--ice { --tone: var(--ice-soft); --tone-ink: #1E4E7A; }
.feat--coral { --tone: var(--coral-soft); --tone-ink: var(--coral-text); }
.feat:nth-child(even) .feat__media { order: 2; }
.feat__media { display: grid; place-items: center; padding: clamp(24px, 3vw, 36px) 16px; border-radius: 40px;
  background: radial-gradient(ellipse 70% 42% at 50% 100%, rgba(255, 255, 255, .6), transparent 70%), var(--tone); }
.phone { width: min(270px, 74%); overflow: hidden; border-radius: 38px; border: 7px solid var(--card); background: var(--card); box-shadow: 0 2px 0 var(--line), var(--shadow-float); }
.phone img { width: 100%; height: auto; }
.feat__copy { display: grid; gap: 16px; justify-items: start; }
.feat__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--tone, var(--card)); color: var(--tone-ink, var(--grape-text)); font-weight: 900; font-size: .95rem; }
.feat__copy h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.feat__copy > p { font-size: 1.14rem; color: var(--ink-2); max-width: 44ch; }
.feat__points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.feat__points li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-weight: 800; font-size: .93rem; line-height: 1.35; }
.feat__points .i { color: var(--mint-text); }
.also { display: grid; justify-items: center; gap: 14px; margin-top: clamp(64px, 8vw, 104px); text-align: center; }
.also h3 { font-size: 1.25rem; color: var(--ink-2); }
.also__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.also__list li { padding: 8px 16px; border-radius: 999px; background: var(--sunken); font-weight: 800; font-size: .95rem; }
@media (max-width: 820px) {
  .feats { gap: 44px; }
  .feat { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feat:nth-child(even) .feat__media { order: 0; }
  .feat__media { padding: 18px 12px; border-radius: 28px; }
  .phone { width: min(210px, 60%); border-radius: 26px; border-width: 5px; }
  .feat__copy { gap: 10px; }
  .feat__copy h3 { font-size: 1.6rem; }
  .feat__copy > p { font-size: 1.02rem; }
  .feat__points li { font-size: .88rem; padding: 4px 12px 4px 8px; }
}

/* ---- web panel: the same account on a bigger screen (app.studybuddycat.com, ADR-0063) --------------- */
.web { padding-block: clamp(80px, 10vw, 128px); background: var(--grape-soft); overflow: hidden; }
.web__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.web__copy { display: grid; gap: 16px; justify-items: start; }
.web__copy .feat__tag { background: var(--card); }
.web__copy h2 { font-size: clamp(2.05rem, 1.25rem + 2.7vw, 3.4rem); }
.web__points { display: grid; gap: 12px; }
.web__points li { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 1.05rem; line-height: 1.35; }
.browser { position: relative; margin-top: clamp(112px, 12vw, 150px); border-radius: 26px; background: var(--card); border: 2px solid var(--grape-soft-edge); box-shadow: 0 8px 0 var(--grape-soft-edge), var(--shadow-float); }
.browser__cat { position: absolute; z-index: 1; bottom: calc(100% - 10px); inset-inline-end: 7%; width: clamp(96px, 11vw, 140px); height: auto; }
.browser__bar { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 2px solid var(--line); border-radius: 24px 24px 0 0; background: var(--card); }
.browser__bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF8A7A; flex: none; }
.browser__bar i:nth-child(2) { background: var(--honey); }
.browser__bar i:nth-child(3) { background: var(--mint); }
.browser__bar span { margin-inline: auto; padding: 4px 18px; border-radius: 999px; background: var(--sunken); color: var(--muted); font-size: .85rem; font-weight: 800; }
.browser__shot { width: 100%; height: auto; border-radius: 0 0 24px 24px; }
.web__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.web__note { color: var(--ink-2); font-size: .95rem; max-width: 62ch; }
@media (max-width: 860px) { .web__head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .browser { border-radius: 18px; } .browser__bar { padding: 9px 12px; border-radius: 16px 16px 0 0; } .browser__bar span { font-size: .75rem; padding: 3px 12px; } .browser__shot { border-radius: 0 0 16px 16px; } }

/* ---- promise: no pressure, no ads, your data ------------------------------------------------------ */
.promise { padding-block: clamp(80px, 10vw, 128px); }
.vows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.vow { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px; border-radius: 26px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.vow h3 { font-size: 1.2rem; margin-bottom: 4px; }
.vow p { color: var(--ink-2); font-size: .98rem; }
.doclinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.tile--mint { background: var(--mint-soft); color: var(--mint-text); }
.tile--grape { background: var(--grape-soft); color: var(--grape-text); }
.tile--honey { background: var(--honey-soft); color: var(--honey-text); }
.tile--coral { background: var(--coral-soft); color: var(--coral-text); }
@media (max-width: 980px) { .vows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .vows { grid-template-columns: minmax(0, 1fr); } .sechead--row { flex-direction: column; align-items: flex-start; } }

/* ---- premium: what is free, what Premium adds --------------------------------------------------------- */
.premium { padding-block: clamp(80px, 10vw, 128px); background: var(--honey-soft); }
.premium .sechead { justify-items: start; }
.sechead .tag-premium { font-size: .95rem; color: var(--honey); }
.tag-premium { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--ink); color: var(--honey); font-weight: 900; font-size: .95rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.plan { padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: var(--card); border: 2px solid #F0D88C; box-shadow: 0 5px 0 #F0D88C; }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 18px; }
.plan--premium { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 5px 0 #17112F; }
.plan--premium h3 { color: var(--honey); }
.plan__list { display: grid; gap: 12px; }
.plan__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 700; }
.plan__list .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--mint); color: #fff; }
.plan--premium .plan__list .i { background: var(--honey); color: var(--ink); }
.fine { font-size: .9rem; color: var(--ink-2); max-width: 70ch; margin-top: 22px; }
.ai { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 6px; padding: 1px 9px 1px 7px; border-radius: 999px; background: rgba(255, 200, 61, .18); color: var(--honey); font-size: .78rem; font-weight: 900; vertical-align: .1em; white-space: nowrap; }
.i--xs { width: 14px; height: 14px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---- faq ----------------------------------------------------------------------------------------- */
.faq { padding-block: clamp(80px, 10vw, 120px); background: var(--sunken); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__grid > header { display: grid; gap: 14px; position: sticky; top: 24px; }
.faq__grid > header p { color: var(--ink-2); }
.qa { border-bottom: 2px solid var(--edge); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.qa summary h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
html[data-script="urdu"] .qa summary h3 { line-height: 1.95; }
.qa__icon { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--card); color: var(--grape); transition: transform .2s ease; flex: none; }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa__a { padding-bottom: 22px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__grid > header { position: static; } }

/* ---- cta ----------------------------------------------------------------------------------------- */
.cta { background: var(--honey); padding-block: clamp(56px, 7vw, 88px); }
.cta__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.cta__cat { width: 220px; height: auto; }
.cta h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); }
.cta p { margin-block: 12px 26px; font-size: 1.15rem; max-width: 46ch; color: var(--ink); }
.cta .btn--soon { --edge-c: #D9A400; background: #FFE08A; color: var(--honey-text); }
@media (max-width: 680px) { .cta__grid { grid-template-columns: minmax(0, 1fr); } .cta__cat { width: 160px; } }

/* ---- footer -------------------------------------------------------------------------------------- */
.foot { background: var(--sunken); padding-block: 64px 28px; font-size: .96rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
.foot__col a span { overflow-wrap: anywhere; }
.foot__blog a { display: block; line-height: 1.4; padding-block: 2px; }
.foot__brand { display: grid; gap: 16px; align-content: start; }
.foot__brand p { color: var(--ink-2); max-width: 36ch; }
.foot h2 { font-size: 1.06rem; margin-bottom: 12px; }
.foot__col ul { display: grid; gap: 6px; }
.foot__col a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-weight: 700; }
.foot__col a:hover { color: var(--grape-text); text-decoration: underline; }
.foot__langs ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 2px solid var(--edge); color: var(--muted); font-size: .86rem; }
@media (max-width: 1100px) { .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- legal documents ----------------------------------------------------------------------------- */
.doc { padding-block: 40px 96px; }
.doc__grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc__aside { position: sticky; top: 20px; display: grid; gap: 28px; max-height: calc(100vh - 40px); overflow: auto; padding: 4px; }
.doc__aside h2 { font-size: 1rem; margin-bottom: 10px; }
.doc__toc ol { display: grid; gap: 2px; counter-reset: toc; }
.doc__toc a, .doc__others a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.4; }
html[data-script="urdu"] .doc__toc a, html[data-script="urdu"] .doc__others a { line-height: 2; }
.doc__toc a:hover, .doc__others a:hover { background: var(--grape-soft); color: var(--grape-text); }
.doc__toc a[aria-current="true"] { background: var(--grape-soft); color: var(--grape-text); }
.doc__others ul { display: grid; gap: 2px; }
.doc__body { max-width: 780px; }
.doc__head { display: grid; gap: 14px; margin-bottom: 28px; }
.doc__head h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.3rem); }
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.doc__meta span { padding: 4px 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-size: .86rem; font-weight: 800; color: var(--ink-2); }
.doc__translation { display: flex; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--ice-soft); color: #1E4E7A; font-size: .92rem; }
.doc__translation .i { margin-top: .2em; }
.doc__summary { margin-bottom: 36px; padding: 22px 28px 24px; border-radius: 24px; background: var(--grape-soft); border: 2px solid var(--grape-soft-edge); }
.doc__summary-title { font-size: 1.3rem; margin-bottom: 8px; }
.doc__summary ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.prose { font-size: 1.03rem; line-height: 1.72; overflow-wrap: anywhere; }
html[data-script="urdu"] .prose { line-height: 2.3; }
.prose > section + section { margin-top: 44px; }
.prose > :not(section) + section { margin-top: 36px; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 14px; scroll-margin-top: 20px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose h4 { font-size: 1.05rem; margin: 20px 0 6px; }
.prose p, .prose ul, .prose ol, .prose dl, .prose .table, .prose blockquote, .prose aside { margin: 0 0 14px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--grape); }
.prose .table { overflow-x: auto; border: 2px solid var(--line); border-radius: 16px; background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; text-align: start; vertical-align: top; border-bottom: 2px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--sunken); font-weight: 800; }
.prose .note, .prose aside { padding: 14px 18px; border-radius: 16px; background: var(--honey-soft); border: 2px solid var(--honey-line, #FFE08A); }
.prose .steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px; }
.prose .steps li { counter-increment: s; position: relative; padding-inline-start: 48px; min-height: 34px; padding-top: 4px; }
.prose .steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--grape); color: #fff; font: 800 1rem/1 'Baloo 2', 'Nunito', sans-serif; box-shadow: 0 3px 0 var(--grape-edge); }
.prose dl dt { font-weight: 800; margin-top: 12px; }
.prose dl dd { margin: 2px 0 0; }
.doc__top { margin-top: 48px; }
.doc__top a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
@media (max-width: 900px) {
  .doc__grid { grid-template-columns: minmax(0, 1fr); }
  .doc__aside { position: static; max-height: none; order: 2; padding: 0; }
  .doc__toc { display: none; }
}
@media print {
  .top, .foot, .doc__aside, .doc__top, .skip, .langbar { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .doc__grid { display: block; }
  .doc__summary { border: 1px solid #ccc; background: #fff; }
  a { color: inherit; }
}

/* ---- 404 ----------------------------------------------------------------------------------------- */
.lost { padding-block: 72px 120px; }
.lost__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 820px; }
.lost h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.3rem); margin-bottom: 14px; }
.lost p + p { margin-top: 24px; }
@media (max-width: 600px) { .lost__grid { grid-template-columns: minmax(0, 1fr); } .lost img { width: 160px; } }

/* ---- iPhone and iPad page (App Store button) ----------------------------------------------------- */
.notify { padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 120px); }
.notify__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; }
.notify__art img { width: 220px; height: auto; }
.notify__main { display: grid; gap: 18px; }
.notify__card { display: grid; gap: 16px; padding: clamp(22px, 4vw, 40px); background: var(--card); border: 2px solid var(--line); border-radius: 28px; box-shadow: 0 6px 0 var(--edge); }
.notify h1 { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.2rem); }
.notify__lede { font-size: 1.16rem; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 700px) {
  .notify__grid { grid-template-columns: minmax(0, 1fr); }
  .notify__art img { width: 132px; }
}

/* ---- blog ---------------------------------------------------------------------------------------- */
.tile--ice { background: var(--ice-soft); color: #1E4E7A; }
.tile--pink { background: var(--pink-soft); color: #A3285A; }
.i--tile.tile--grape { background: var(--grape-soft); color: var(--grape-text); }
.i--tile.tile--mint { background: var(--mint-soft); color: var(--mint-text); }
.i--tile.tile--honey { background: var(--honey-soft); color: var(--honey-text); }
.i--tile.tile--ice { background: var(--ice-soft); color: #1E4E7A; }
.i--tile.tile--pink { background: var(--pink-soft); color: #A3285A; }
.i--tile.tile--coral { background: var(--coral-soft); color: var(--coral-text); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; font-weight: 700; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: '/'; margin-inline: .55em; color: var(--edge); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--grape-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bloghero { background: linear-gradient(180deg, var(--wall-top), var(--page)); padding-block: 28px clamp(40px, 6vw, 72px); }
.bloghero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: clamp(24px, 5vw, 64px); align-items: end; }
.bloghero__copy { display: grid; gap: 16px; justify-items: start; }
.bloghero h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.8rem); }
.bloghero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.bloghero__cat { width: 200px; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--edge); color: var(--ink); font-weight: 800; font-size: .95rem; text-decoration: none; }
.chip:hover { color: var(--grape-text); background: var(--grape-soft); }
.chip--grape .i { color: var(--grape); } .chip--mint .i { color: var(--mint-text); } .chip--ice .i { color: var(--ice); } .chip--honey .i { color: var(--honey-edge); } .chip--pink .i { color: var(--pink); } .chip--coral .i { color: var(--coral); }
@media (max-width: 640px) { .bloghero__grid { grid-template-columns: minmax(0, 1fr); } .bloghero__cat { display: none; } }

.blog { padding-block: 8px clamp(64px, 8vw, 104px); }
.blog__empty { padding: 32px 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards--lead { grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(40px, 6vw, 64px); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { min-width: 0; }
.card__link { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border-radius: 26px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.card__link:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 8px 0 var(--line), var(--shadow-float); }
.card__link:hover .card__title { color: var(--grape-text); }
.cover { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--grape-soft); }
.cover img { width: auto; max-width: none; height: 100%; }
.cover--grape { background: radial-gradient(circle at 50% 120%, #DCD2FF 0 45%, var(--grape-soft) 46%); }
.cover--mint { background: radial-gradient(circle at 50% 120%, #A9EBDB 0 45%, var(--mint-soft) 46%); }
.cover--ice { background: radial-gradient(circle at 50% 120%, #BFE2FF 0 45%, var(--ice-soft) 46%); }
.cover--honey { background: radial-gradient(circle at 50% 120%, #FFE08A 0 45%, var(--honey-soft) 46%); }
.cover--pink { background: radial-gradient(circle at 50% 120%, #FFC6DC 0 45%, var(--pink-soft) 46%); }
.cover--coral { background: radial-gradient(circle at 50% 120%, #FFC9BC 0 45%, var(--coral-soft) 46%); }
.card__cover { height: 168px; padding-top: 14px; }
.card__body { display: grid; align-content: start; gap: 8px; padding: 18px 22px 22px; }
.card__topic { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 800; color: var(--grape-text); text-transform: none; }
.card__topic a { color: inherit; text-decoration: none; }
.card__title { font-size: 1.28rem; line-height: 1.22; transition: color .15s ease; }
html[data-script="urdu"] .card__title { line-height: 1.9; }
.card__desc { color: var(--ink-2); font-size: .97rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: .84rem; font-weight: 700; color: var(--muted); }
.card--big .card__link { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: none; }
.card--big .card__cover { height: 320px; padding-top: 28px; }
.card--big .card__body { align-content: center; padding: clamp(24px, 4vw, 44px); gap: 12px; }
.card--big .card__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.card--big .card__desc { font-size: 1.06rem; -webkit-line-clamp: 4; }
@media (max-width: 760px) { .card--big .card__link { grid-template-columns: minmax(0, 1fr); } .card--big .card__cover { min-height: 200px; height: 200px; } }

.topic { margin-top: clamp(48px, 6vw, 72px); scroll-margin-top: 20px; }
.topic__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.topic__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
.topic__head p { color: var(--ink-2); margin-top: 2px; }
.blog__feed { margin-top: 28px; font-weight: 800; }
.blog__feed a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

.appbox { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: var(--honey); box-shadow: 0 6px 0 var(--honey-edge); }
.appbox__cat { width: 150px; height: auto; }
.appbox h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.appbox p { margin-block: 10px 20px; font-size: 1.08rem; max-width: 56ch; }
.appbox .btn--soon { --edge-c: #D9A400; background: #FFE08A; color: var(--honey-text); }
@media (max-width: 620px) { .appbox { grid-template-columns: minmax(0, 1fr); } .appbox__cat { width: 110px; } }

/* ---- exams by country (index, country pages, the box on guides) ------------------------------------------ */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.topic__more { margin-top: 6px; }
.topic__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.country { display: grid; gap: 6px; align-content: start; min-width: 0; padding: 14px 16px; border-radius: 20px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); scroll-margin-top: 20px; }
.country__link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink); font-weight: 800; font-size: 1.08rem; text-decoration: none; }
.country__link:hover { color: var(--ink); }
.country__link:hover .country__name { color: var(--grape-text); text-decoration: underline; }
.country__link--plain { color: var(--ink-2); }
.country__name { min-width: 0; overflow-wrap: anywhere; }
.country__go { margin-inline-start: auto; color: var(--muted); }
.country__lang { display: inline-flex; padding: 1px 9px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-text); font-size: .78rem; font-weight: 800; }
.country__exams { font-size: .9rem; color: var(--muted); font-weight: 700; text-align: match-parent; }
.country__exams span { white-space: nowrap; }
.hub__intro { display: grid; gap: 12px; max-width: 64ch; }
.hub__intro p { font-size: 1.1rem; color: var(--ink-2); }
.hub__intro .lede { font-size: 1rem; color: var(--muted); }
.examcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.examcard { display: grid; gap: 8px; align-content: start; min-width: 0; padding: 18px 20px; border-radius: 24px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); scroll-margin-top: 20px; }
.examcard__name { font-size: 1.3rem; }
.examcard__full { color: var(--ink-2); font-size: .95rem; overflow-wrap: anywhere; }
.examcard__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.examcard__level { color: var(--coral-text); font-weight: 800; }
.examcard__tracks { display: flex; flex-wrap: wrap; gap: 6px; }
.examcard__tracks li { padding: 2px 10px; border-radius: 999px; background: var(--ice-soft); color: #1E4E7A; font-size: .82rem; font-weight: 800; }
.examcard__subjects { font-size: .92rem; color: var(--ink-2); }
.examcard__guide { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 4px; font-weight: 800; }
.exams__note { display: flex; align-items: flex-start; gap: 8px; margin-top: 22px; max-width: 80ch; font-size: .9rem; color: var(--muted); }
.exams__note .i { flex: none; margin-top: 2px; }
.countrybox { margin-top: 28px; padding: 18px 22px; border-radius: 22px; background: var(--coral-soft); }
.countrybox h2 { font-size: 1.08rem; }
.countrybox h2 a { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-text); }
.countrybox ul { display: grid; gap: 6px; margin-top: 10px; }
.countrybox li a { font-weight: 700; }
html[data-script="urdu"] .country__link, html[data-script="urdu"] .examcard__name { line-height: 1.9; }

.posthead { background: linear-gradient(180deg, var(--wall-top), var(--page)); padding-block: 24px 8px; }
.posthead__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(24px, 5vw, 64px); align-items: center; }
.posthead__copy { display: grid; gap: 14px; justify-items: start; max-width: 820px; }
.posthead h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); }
.posthead__lede { font-size: 1.16rem; color: var(--ink-2); max-width: 62ch; }
.posthead__cover { width: 260px; height: 260px; border-radius: 40px; padding-top: 22px; box-shadow: 0 6px 0 var(--line); }
.postmeta { display: flex; flex-wrap: wrap; gap: 8px; }
.postmeta > span { padding: 4px 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-size: .86rem; font-weight: 800; color: var(--ink-2); }
@media (max-width: 760px) { .posthead__grid { grid-template-columns: minmax(0, 1fr); } .posthead__cover { display: none; } .postmeta__pub { display: none; } }
.is-post .doc { padding-top: 28px; }
.posttoc { display: none; margin-bottom: 22px; border: 2px solid var(--line); border-radius: 18px; background: var(--card); }
.posttoc summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 800; }
.posttoc ol { margin: 0; padding: 0 18px 14px 2.4em; display: grid; gap: 6px; }
.posttoc a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .posttoc { display: block; } .is-post .doc__aside { display: none; } }
.asidecta { display: grid; gap: 12px; justify-items: start; padding: 18px; border-radius: 22px; background: var(--honey-soft); border: 2px solid #FFE08A; font-size: .94rem; }
.asidecta img { width: 84px; height: auto; }

.prose .callout { position: relative; margin: 22px 0; padding: 18px 22px; border-radius: 20px; border: 2px solid var(--grape-soft-edge); background: var(--grape-soft); }
.prose .callout > :last-child, .prose .callout > div > :last-child { margin-bottom: 0; }
.prose .callout--tip { border-color: #A9EBDB; background: var(--mint-soft); }
.prose .callout--note { border-color: #FFE08A; background: var(--honey-soft); }
.prose .callout--app { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; border-color: var(--honey-edge); background: var(--honey); box-shadow: 0 4px 0 var(--honey-edge); }
.prose .callout--app .btn--soon { --edge-c: #D9A400; background: #FFE08A; color: var(--honey-text); }
.callout__cat { width: 96px; height: auto; }
.prose .callout__title { font-family: var(--f-display); font-weight: var(--w-display); font-size: 1.12rem; margin-bottom: 6px; }
@media (max-width: 520px) { .prose .callout--app { grid-template-columns: minmax(0, 1fr); } .callout__cat { width: 72px; } }
.stores--inline { margin-top: 12px; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 18px; border-inline-start: 4px solid var(--grape); color: var(--ink-2); font-style: italic; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--sunken); font-size: .92em; }
.figure { margin: 24px 0; }
.figure img { margin-inline: auto; }
.figure--cat img { width: 180px; height: auto; }
.figure--screen img { width: min(320px, 100%); height: auto; border-radius: 28px; border: 6px solid var(--card); box-shadow: 0 2px 0 var(--line), var(--shadow-float); }
.figure figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--muted); }

.sources { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--line); }
.sources h2 { font-size: 1.15rem; margin-bottom: 10px; }
.sources ol { margin: 0; padding-inline-start: 1.4em; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }
.byline { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; margin-top: 36px; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 2px solid var(--line); }
.byline img { width: 56px; height: 56px; border-radius: 16px; background: var(--honey); padding: 3px; }
.byline h2 { font-size: 1.08rem; margin-bottom: 4px; }
.byline p { font-size: .95rem; color: var(--ink-2); }
.byline__review { display: flex; gap: 8px; margin-top: 10px; }
.byline__review .i { color: var(--mint-text); margin-top: .2em; }

.related { padding-block: clamp(48px, 6vw, 72px) 8px; background: var(--sunken); }
.related h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 24px; }
.is-post .appbox { margin-bottom: clamp(56px, 7vw, 88px); }

.fromblog { padding-block: clamp(72px, 9vw, 112px); }
.fromblog .sechead { margin-bottom: 28px; }
