/* CiteChain landing · design system tokens */
/* ============================================================
   CiteChain Design System , global entry point
   Consumers link THIS file. It only @imports the token layer.
   ============================================================ */
/* ============================================================
   CiteChain · Fonts
   ------------------------------------------------------------
   Loaded from Google Fonts (binaries are not vendored locally ,
   see CAVEATS in readme.md). Display = Space Grotesk, a precise
   "scientific instrument" grotesque; Body = Hanken Grotesk, a
   warm, highly legible humanist sans; Mono = Space Mono for
   $CITE amounts, hashes, wallet addresses and on-chain data.
   ============================================================ */

/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-4b17538334.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-560d9f41c0.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-2cba32d0c1.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-38c3847fad.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-4b17538334.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-560d9f41c0.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-2cba32d0c1.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-38c3847fad.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-4b17538334.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-560d9f41c0.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-2cba32d0c1.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-38c3847fad.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-4b17538334.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-560d9f41c0.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-2cba32d0c1.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-38c3847fad.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/cc-4b17538334.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/cc-560d9f41c0.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/cc-2cba32d0c1.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/cc-38c3847fad.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-c40fec4ca5.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-1742d56d13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-c0781ea2f2.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-c40fec4ca5.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-1742d56d13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cc-c0781ea2f2.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-c40fec4ca5.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-1742d56d13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cc-c0781ea2f2.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-c40fec4ca5.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-1742d56d13.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-c0781ea2f2.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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-f70052cd5b.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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-68c6b8516d.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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cc-e2ee2d370f.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: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-e2eae328d2.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: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-646b6f2792.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: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cc-d0c504bd8f.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;
}


/* ============================================================
   CiteChain · Color Tokens
   Brand primaries sampled from the logo:
     amethyst #8e44ad · emerald #2fcc71 · butter cream #ffffe3
   ============================================================ */

:root {
  /* ---- Amethyst (primary brand) ---- */
  --amethyst-50:  #f7eefb;
  --amethyst-100: #eddcf6;
  --amethyst-200: #d9b9ec;
  --amethyst-300: #c293e1;
  --amethyst-400: #a865cf;
  --amethyst-500: #8e44ad;   /* brand */
  --amethyst-600: #793897;
  --amethyst-700: #632d7c;
  --amethyst-800: #4e2362;
  --amethyst-900: #391a48;
  --amethyst-950: #261030;

  /* ---- Emerald (accent · verified · reward) ---- */
  --emerald-50:  #e9faf0;
  --emerald-100: #d0f5e0;
  --emerald-200: #a3ebc3;
  --emerald-300: #6fdfa1;
  --emerald-400: #43d683;
  --emerald-500: #2fcc71;   /* accent */
  --emerald-600: #22a85c;
  --emerald-700: #1c8549;
  --emerald-800: #18683b;
  --emerald-900: #145232;
  --emerald-950: #0a2e1c;

  /* ---- Butter (cream surface · academic paper) ---- */
  --butter-50:  #fffffa;
  --butter-100: #ffffe3;    /* logo cream */
  --butter-200: #f7f4c4;
  --butter-300: #ece49a;

  /* ---- Paper (warm neutral surfaces) ---- */
  --paper-0:   #ffffff;
  --paper-25:  #fdfcf7;
  --paper-50:  #f8f6ee;
  --paper-100: #f0ede2;
  --paper-200: #e4dfce;
  --paper-300: #cfc8b4;

  /* ---- Plum (ink + deep surfaces, purple-tinted neutrals) ---- */
  --plum-300: #cbc4d2;
  --plum-400: #a99fb3;
  --plum-500: #7d7189;
  --plum-600: #5a4d68;
  --plum-700: #3c2f49;
  --plum-800: #2a2033;
  --plum-900: #1c1424;   /* ink */
  --plum-950: #120c18;

  /* ---- Status hues ---- */
  --amber-50:  #fef4e2;
  --amber-100: #fbe6bf;
  --amber-500: #f2a73d;
  --amber-600: #d8861a;
  --amber-700: #a9650f;

  --red-50:  #fdeceb;
  --red-100: #f9d3cf;
  --red-500: #e2503f;
  --red-600: #c43a2b;
  --red-700: #9a2a1f;

  /* ============================================================
     Semantic aliases , reference these in product code
     ============================================================ */

  /* Text */
  --text-strong:   var(--plum-900);
  --text-body:     var(--plum-800);
  --text-muted:    var(--plum-500);
  --text-faint:    var(--plum-400);
  --text-on-brand: var(--butter-50);
  --text-on-accent: var(--emerald-950);
  --text-brand:    var(--amethyst-600);
  --text-accent:   var(--emerald-700);
  --text-link:     var(--amethyst-600);

  /* Surfaces */
  --surface-page:        var(--paper-25);
  --surface-card:        var(--paper-0);
  --surface-sunken:      var(--paper-50);
  --surface-raised:      var(--paper-0);
  --surface-cream:       var(--butter-100);
  --surface-brand:       var(--amethyst-500);
  --surface-brand-soft:  var(--amethyst-50);
  --surface-brand-deep:  var(--amethyst-900);
  --surface-accent:      var(--emerald-500);
  --surface-accent-soft: var(--emerald-50);
  --surface-ink:         var(--plum-900);
  --surface-ink-soft:    var(--plum-800);

  /* Borders */
  --border-subtle:  var(--paper-200);
  --border-default: var(--paper-300);
  --border-strong:  var(--plum-300);
  --border-brand:   var(--amethyst-500);
  --border-accent:  var(--emerald-500);

  /* Status */
  --success:       var(--emerald-600);
  --success-soft:  var(--emerald-50);
  --warning:       var(--amber-600);
  --warning-soft:  var(--amber-50);
  --danger:        var(--red-500);
  --danger-soft:   var(--red-50);
  --info:          var(--amethyst-600);
  --info-soft:     var(--amethyst-50);

  /* Focus ring */
  --ring-focus: var(--amethyst-400);

  /* Chain / token chrome */
  --token-cite: var(--emerald-500);   /* $CITE accent */
  --polygon:    #8247e5;              /* Polygon network purple */
}

/* ============================================================
   CiteChain · Typography Tokens
   Space Grotesk (display) · Hanken Grotesk (body) · Space Mono (data)
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: 'Space Grotesk', 'Hanken Grotesk', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- Weights ---- */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    800;

  /* ---- Type scale (fluid-friendly, rem) ---- */
  --text-display: 4.5rem;   /* 72px hero */
  --text-h1:      3rem;     /* 48px */
  --text-h2:      2.25rem;  /* 36px */
  --text-h3:      1.75rem;  /* 28px */
  --text-h4:      1.375rem; /* 22px */
  --text-h5:      1.125rem; /* 18px */
  --text-lg:      1.125rem; /* 18px lead */
  --text-base:    1rem;     /* 16px body */
  --text-sm:      0.875rem; /* 14px */
  --text-xs:      0.75rem;  /* 12px label/caption */
  --text-mono:    0.875rem;

  /* ---- Line heights ---- */
  --leading-tight:   1.05;
  --leading-snug:    1.2;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* ---- Letter spacing ---- */
  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.12em;   /* eyebrows / overlines */
}

/* ---- Foundational element defaults ---- */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  font-feature-settings: 'ss01', 'cv01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  font-weight: var(--weight-bold);
  margin: 0;
}

/* Eyebrow / overline , used widely across the brand */
.cc-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-700, 700);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-brand);
}

/* ============================================================
   CiteChain · Spacing, Radii, Shadows, Borders, Motion, Layout
   4px base unit · rounded geometry (echoes the circular mark)
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-32:  128px;

  /* ---- Radii (friendly, rounded) ---- */
  --radius-xs:    6px;
  --radius-sm:    10px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-2xl:   36px;
  --radius-pill:  999px;
  --radius-circle: 50%;

  /* ---- Borders ---- */
  --border-width:       1px;
  --border-width-thick: 2px;
  --border-hairline:    1px solid var(--border-subtle);

  /* ---- Shadows (warm plum-tinted, soft) ---- */
  --shadow-xs:  0 1px 2px rgba(28, 20, 36, 0.06);
  --shadow-sm:  0 2px 8px rgba(28, 20, 36, 0.07);
  --shadow-md:  0 8px 24px -6px rgba(28, 20, 36, 0.12);
  --shadow-lg:  0 20px 48px -12px rgba(28, 20, 36, 0.18);
  --shadow-xl:  0 32px 70px -16px rgba(28, 20, 36, 0.24);
  --shadow-brand: 0 10px 28px -8px rgba(142, 68, 173, 0.45);
  --shadow-accent: 0 10px 28px -8px rgba(47, 204, 113, 0.40);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:  120ms; /* @kind other */
  --dur-base:  200ms; /* @kind other */
  --dur-slow:  360ms; /* @kind other */
  --dur-slower: 560ms; /* @kind other */

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  840px;
  --container-lg:  1080px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
  --gutter:  var(--space-6);
  --nav-height: 72px;

  /* ---- Z-index ---- */
  --z-base:    1; /* @kind other */
  --z-sticky:  100; /* @kind other */
  --z-nav:     200; /* @kind other */
  --z-overlay: 300; /* @kind other */
  --z-modal:   400; /* @kind other */
  --z-toast:   500; /* @kind other */
}


/* components */

.cc-badge{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-mono); font-weight:700; font-size:11px; line-height:1;
  letter-spacing:0.02em; padding:5px 10px; border-radius:var(--radius-pill);
  border:1px solid transparent; white-space:nowrap;
}
.cc-badge svg, .cc-badge i{ width:13px; height:13px; }
.cc-badge--neutral{ background:var(--paper-100); color:var(--plum-700); border-color:var(--paper-200); }
.cc-badge--brand{ background:var(--amethyst-50); color:var(--amethyst-700); border-color:var(--amethyst-200); }
.cc-badge--verified{ background:var(--emerald-50); color:var(--emerald-800); border-color:var(--emerald-200); }
.cc-badge--success{ background:var(--emerald-500); color:var(--emerald-950); }
.cc-badge--warning{ background:var(--amber-50); color:var(--amber-700); border-color:var(--amber-100); }
.cc-badge--danger{ background:var(--red-50); color:var(--red-700); border-color:var(--red-100); }
.cc-badge--solid{ background:var(--amethyst-500); color:var(--butter-50); }
.cc-badge__dot{ width:6px; height:6px; border-radius:50%; background:currentColor; }


.cc-btn{
  --_bg: var(--amethyst-500); --_fg: var(--butter-50); --_bd: transparent;
  --_bg-hover: var(--amethyst-600); --_shadow: var(--shadow-brand);
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-display); font-weight:600; letter-spacing:-0.01em;
  border:1.5px solid var(--_bd); background:var(--_bg); color:var(--_fg);
  border-radius:var(--radius-pill); cursor:pointer; white-space:nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast);
  -webkit-tap-highlight-color:transparent; text-decoration:none;
}
.cc-btn:hover{ background:var(--_bg-hover); }
.cc-btn:active{ transform:translateY(1px) scale(0.985); }
.cc-btn:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--surface-page), 0 0 0 5px var(--ring-focus); }
.cc-btn[disabled]{ opacity:0.45; cursor:not-allowed; transform:none; box-shadow:none; }
.cc-btn--primary{ box-shadow:var(--shadow-brand); }
.cc-btn--primary:hover{ box-shadow:var(--shadow-lg); }
.cc-btn--accent{ --_bg:var(--emerald-500); --_fg:var(--emerald-950); --_bg-hover:var(--emerald-600); box-shadow:var(--shadow-accent); }
.cc-btn--secondary{ --_bg:var(--surface-card); --_fg:var(--text-strong); --_bd:var(--border-default); --_bg-hover:var(--paper-50); box-shadow:var(--shadow-xs); }
.cc-btn--ghost{ --_bg:transparent; --_fg:var(--text-brand); --_bg-hover:var(--amethyst-50); }
.cc-btn--danger{ --_bg:var(--red-500); --_fg:#fff; --_bg-hover:var(--red-600); }
.cc-btn--sm{ height:34px; padding:0 16px; font-size:13px; }
.cc-btn--md{ height:44px; padding:0 22px; font-size:15px; }
.cc-btn--lg{ height:54px; padding:0 30px; font-size:17px; }
.cc-btn--block{ width:100%; }
.cc-btn__spin{ width:1em; height:1em; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:cc-spin 0.6s linear infinite; }
@keyframes cc-spin{ to{ transform:rotate(360deg); } }
.cc-btn svg{ width:1.15em; height:1.15em; }


.cc-iconbtn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1.5px solid transparent; background:transparent; color:var(--text-body);
  border-radius:var(--radius-md); cursor:pointer; padding:0;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast), transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
  -webkit-tap-highlight-color:transparent;
}
.cc-iconbtn:hover{ background:var(--paper-100); color:var(--text-strong); }
.cc-iconbtn:active{ transform:scale(0.92); }
.cc-iconbtn:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--surface-page), 0 0 0 5px var(--ring-focus); }
.cc-iconbtn[disabled]{ opacity:0.4; cursor:not-allowed; }
.cc-iconbtn--solid{ background:var(--amethyst-500); color:var(--butter-50); }
.cc-iconbtn--solid:hover{ background:var(--amethyst-600); }
.cc-iconbtn--outline{ border-color:var(--border-default); }
.cc-iconbtn--outline:hover{ background:var(--paper-50); border-color:var(--border-strong); }
.cc-iconbtn--sm{ width:34px; height:34px; }
.cc-iconbtn--sm svg, .cc-iconbtn--sm i{ width:16px; height:16px; }
.cc-iconbtn--md{ width:44px; height:44px; }
.cc-iconbtn--md svg, .cc-iconbtn--md i{ width:20px; height:20px; }
.cc-iconbtn--lg{ width:54px; height:54px; }
.cc-iconbtn--lg svg, .cc-iconbtn--lg i{ width:24px; height:24px; }


.cc-tag{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-body); font-weight:600; font-size:13px; line-height:1;
  padding:7px 12px; border-radius:var(--radius-pill);
  background:var(--surface-card); color:var(--text-body);
  border:1px solid var(--border-default); cursor:default;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.cc-tag--clickable{ cursor:pointer; }
.cc-tag--clickable:hover{ border-color:var(--border-strong); background:var(--paper-50); }
.cc-tag--active{ background:var(--amethyst-50); border-color:var(--amethyst-300); color:var(--amethyst-700); }
.cc-tag__x{ display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:16px; border-radius:50%; cursor:pointer; opacity:0.6;
  transition: opacity var(--dur-fast), background var(--dur-fast); }
.cc-tag__x:hover{ opacity:1; background:rgba(0,0,0,0.08); }
.cc-tag__x svg, .cc-tag__x i{ width:11px; height:11px; }
.cc-tag__hash{ color:var(--text-faint); font-family:var(--font-mono); }


.cc-addr{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:13px;
  background:var(--paper-50); border:1px solid var(--border-subtle); border-radius:var(--radius-pill);
  padding:5px 6px 5px 12px; color:var(--text-body); }
.cc-addr__net{ width:7px; height:7px; border-radius:50%; background:var(--polygon); flex:none; }
.cc-addr__val{ letter-spacing:0.02em; }
.cc-addr__copy{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px;
  border:none; background:transparent; border-radius:50%; cursor:pointer; color:var(--text-muted);
  transition: background var(--dur-fast), color var(--dur-fast); }
.cc-addr__copy:hover{ background:var(--paper-200); color:var(--text-strong); }
.cc-addr__copy svg, .cc-addr__copy i{ width:14px; height:14px; }
.cc-addr--copied .cc-addr__copy{ color:var(--emerald-600); }


.cc-avatar{ position:relative; display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; font-family:var(--font-display); font-weight:700; color:var(--butter-50);
  background:var(--amethyst-500); overflow:visible; flex:none; user-select:none; }
.cc-avatar img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.cc-avatar--sm{ width:32px; height:32px; font-size:13px; }
.cc-avatar--md{ width:44px; height:44px; font-size:16px; }
.cc-avatar--lg{ width:64px; height:64px; font-size:22px; }
.cc-avatar--xl{ width:88px; height:88px; font-size:30px; }
.cc-avatar__ring{ position:absolute; inset:-3px; border-radius:50%; border:2.5px solid var(--emerald-500); }
.cc-avatar__check{ position:absolute; right:-2px; bottom:-2px; width:38%; height:38%;
  min-width:16px; min-height:16px; background:var(--emerald-500); border:2px solid var(--surface-page);
  border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; }
.cc-avatar__check svg{ width:60%; height:60%; }


.cc-card{
  background:var(--surface-card); border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.cc-card--pad{ padding:var(--space-6); }
.cc-card--interactive{ cursor:pointer; }
.cc-card--interactive:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); border-color:var(--border-default); }
.cc-card--interactive:active{ transform:translateY(0); }
.cc-card--cream{ background:var(--surface-cream); border-color:var(--butter-200); }
.cc-card--ink{ background:var(--surface-ink); border-color:var(--plum-800); color:var(--paper-100); }
.cc-card--brand{ background:var(--amethyst-500); border-color:var(--amethyst-600); color:var(--butter-50); }
.cc-card--accent-edge{ border-top:3px solid var(--emerald-500); }
.cc-card--flat{ box-shadow:none; }


.cc-stat{ display:flex; flex-direction:column; gap:6px; }
.cc-stat__label{ display:flex; align-items:center; gap:7px; font-family:var(--font-mono); font-size:11px;
  letter-spacing:0.08em; text-transform:uppercase; color:var(--text-muted); }
.cc-stat__label svg, .cc-stat__label i{ width:14px; height:14px; }
.cc-stat__value{ font-family:var(--font-display); font-weight:700; font-size:32px; line-height:1;
  letter-spacing:-0.02em; color:var(--text-strong); }
.cc-stat--lg .cc-stat__value{ font-size:44px; }
.cc-stat__delta{ display:inline-flex; align-items:center; gap:4px; font-family:var(--font-mono);
  font-weight:700; font-size:12px; }
.cc-stat__delta svg, .cc-stat__delta i{ width:13px; height:13px; }
.cc-stat__delta--up{ color:var(--emerald-700); }
.cc-stat__delta--down{ color:var(--red-600); }
.cc-stat__delta--flat{ color:var(--text-muted); }
.cc-stat--ink .cc-stat__value{ color:var(--butter-50); }
.cc-stat--ink .cc-stat__label{ color:var(--plum-400); }


.cc-token{ display:inline-flex; align-items:center; gap:7px; font-family:var(--font-mono); font-weight:700; line-height:1; white-space:nowrap; }
.cc-token__coin{ display:inline-flex; align-items:center; justify-content:center; border-radius:50%;
  background:var(--emerald-500); color:#fff; font-family:var(--font-display); font-weight:700; flex:none; }
.cc-token--sm{ font-size:13px; } .cc-token--sm .cc-token__coin{ width:18px; height:18px; font-size:10px; }
.cc-token--md{ font-size:16px; } .cc-token--md .cc-token__coin{ width:22px; height:22px; font-size:12px; }
.cc-token--lg{ font-size:24px; } .cc-token--lg .cc-token__coin{ width:30px; height:30px; font-size:15px; }
.cc-token--xl{ font-size:40px; letter-spacing:-0.01em; } .cc-token--xl .cc-token__coin{ width:46px; height:46px; font-size:22px; }
.cc-token__sym{ color:var(--text-muted); font-weight:700; font-size:0.7em; }
.cc-token--pos .cc-token__val{ color:var(--emerald-700); }
.cc-token--neg .cc-token__val{ color:var(--red-600); }
.cc-token--default .cc-token__val{ color:var(--text-strong); }


.cc-check{ display:inline-flex; align-items:flex-start; gap:10px; cursor:pointer; font-family:var(--font-body); font-size:14px; color:var(--text-body); line-height:1.4; -webkit-tap-highlight-color:transparent; }
.cc-check input{ position:absolute; opacity:0; width:0; height:0; }
.cc-check__box{
  flex:none; width:22px; height:22px; border-radius:7px; margin-top:1px;
  border:1.5px solid var(--border-strong); background:var(--surface-card);
  display:flex; align-items:center; justify-content:center; color:#fff;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast), transform var(--dur-fast);
}
.cc-check__box svg{ width:14px; height:14px; opacity:0; transform:scale(0.5); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-spring); }
.cc-check input:checked + .cc-check__box{ background:var(--amethyst-500); border-color:var(--amethyst-500); }
.cc-check input:checked + .cc-check__box svg{ opacity:1; transform:scale(1); }
.cc-check input:focus-visible + .cc-check__box{ box-shadow:0 0 0 3px var(--surface-page), 0 0 0 5px var(--ring-focus); }
.cc-check:active .cc-check__box{ transform:scale(0.9); }
.cc-check--disabled{ opacity:0.5; cursor:not-allowed; }


.cc-field{ display:flex; flex-direction:column; gap:7px; font-family:var(--font-body); }
.cc-field__label{ font-size:13px; font-weight:600; color:var(--text-strong); }
.cc-field__hint{ font-size:12px; color:var(--text-muted); }
.cc-field__error{ font-size:12px; color:var(--danger); font-weight:600; }
.cc-input-wrap{ position:relative; display:flex; align-items:center; }
.cc-input{
  width:100%; box-sizing:border-box; font-family:var(--font-body); font-size:15px;
  color:var(--text-strong); background:var(--surface-card);
  border:1.5px solid var(--border-default); border-radius:var(--radius-md);
  height:46px; padding:0 14px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-base) var(--ease-out), background var(--dur-fast);
}
.cc-input::placeholder{ color:var(--text-faint); }
.cc-input:hover{ border-color:var(--border-strong); }
.cc-input:focus{ outline:none; border-color:var(--amethyst-400); box-shadow:0 0 0 4px var(--amethyst-50); background:var(--surface-card); }
.cc-input--mono{ font-family:var(--font-mono); letter-spacing:0.01em; }
.cc-input--has-icon{ padding-left:42px; }
.cc-input--has-suffix{ padding-right:64px; }
.cc-input--error{ border-color:var(--danger); }
.cc-input--error:focus{ box-shadow:0 0 0 4px var(--red-50); }
.cc-input__icon{ position:absolute; left:14px; display:flex; color:var(--text-faint); pointer-events:none; }
.cc-input__icon svg, .cc-input__icon i{ width:18px; height:18px; }
.cc-input__suffix{ position:absolute; right:14px; font-family:var(--font-mono); font-size:13px; font-weight:700; color:var(--text-muted); }
.cc-input:disabled{ background:var(--paper-50); color:var(--text-faint); cursor:not-allowed; }


.cc-switch{ display:inline-flex; align-items:center; gap:10px; cursor:pointer; font-family:var(--font-body); font-size:14px; color:var(--text-body); -webkit-tap-highlight-color:transparent; }
.cc-switch input{ position:absolute; opacity:0; width:0; height:0; }
.cc-switch__track{
  position:relative; width:46px; height:27px; border-radius:var(--radius-pill);
  background:var(--paper-300); transition: background var(--dur-base) var(--ease-out);
  flex:none;
}
.cc-switch__thumb{
  position:absolute; top:3px; left:3px; width:21px; height:21px; border-radius:50%;
  background:#fff; box-shadow:var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-spring);
}
.cc-switch input:checked + .cc-switch__track{ background:var(--emerald-500); }
.cc-switch input:checked + .cc-switch__track .cc-switch__thumb{ transform:translateX(19px); }
.cc-switch input:focus-visible + .cc-switch__track{ box-shadow:0 0 0 3px var(--surface-page), 0 0 0 5px var(--ring-focus); }
.cc-switch--disabled{ opacity:0.5; cursor:not-allowed; }

/* page */

    html { scroll-behavior: smooth; }
    @keyframes cc-coin-float {
      0%, 100% { transform: perspective(600px) translateY(0) rotateY(-14deg); }
      50% { transform: perspective(600px) translateY(-7px) rotateY(14deg); }
    }
    @keyframes cc-ring-ripple {
      0% { transform: scale(0.58); opacity: 0.85; }
      100% { transform: scale(1.55); opacity: 0; }
    }
    @keyframes cc-coin-sheen {
      0%, 55% { transform: translateX(-220%) rotate(18deg); }
      90%, 100% { transform: translateX(320%) rotate(18deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      .cc-anim, .cc-anim * { animation: none !important; }
    }
    body { margin: 0; background: var(--paper-25); }
    .cc-mobile-menu { display: none; }
    .cc-mobile-menu > summary { list-style: none; }
    .cc-mobile-menu > summary::-webkit-details-marker { display: none; }
    .cc-mobile-menu[open] > summary .cc-menu-open { display: flex; }
    .cc-mobile-menu[open] > summary .cc-menu-closed { display: none; }
    @media (min-width: 881px) { .cc-mobile-menu { display: none !important; } }
    @media (max-width: 880px) {
      .cc-nav-links { display: none !important; }
      .cc-mobile-menu { display: block !important; }
      .cc-contact-btn { display: none !important; }
    }
    @media (max-width: 760px) {
      .cc-section { padding-top: 68px !important; padding-bottom: 68px !important; }
      .cc-hero { padding-top: 116px !important; padding-bottom: 60px !important; }
      .cc-cta { padding-top: 76px !important; padding-bottom: 76px !important; }
      .cc-footer { padding-top: 52px !important; }
    }
    @media (max-width: 560px) {
      .cc-pad-x { padding-left: 18px !important; padding-right: 18px !important; }
      .cc-hero-stats { gap: 28px 32px !important; margin-top: 38px !important; }
      .cc-hero-cta > * { flex: 1 1 100%; }
      .cc-road-row { grid-template-columns: 60px 22px 1fr !important; }
      .cc-form { flex-direction: column !important; }
      .cc-form > * { width: 100% !important; flex: 1 1 100% !important; }
    }
  
/* ===== CiteChain live launch additions ===== */
html { scroll-padding-top: 124px; }
.cc-arrow { display:inline-block; vertical-align:middle; flex:0 0 auto; transition: transform 160ms var(--ease-out); }
a:hover > .cc-arrow, a:hover .cc-arrow { transform: translateX(3px); }

/* hover states (inline styles need !important) */
.scp0:hover { color: var(--text-brand) !important; }
.scp1:hover { background: var(--amethyst-50) !important; color: var(--text-brand) !important; }
.scp2:hover { background: var(--amethyst-50) !important; }
.scp3:hover { color: var(--amethyst-700) !important; }
.scp7:hover { color: var(--emerald-300) !important; }
.scp8:hover { color: var(--text-brand) !important; border-color: var(--amethyst-300) !important; }

/* live dot */
.cc-live-dot { position:relative; width:8px; height:8px; border-radius:50%; background: var(--emerald-500); display:inline-block; flex:0 0 auto; }
.cc-live-dot::after { content:''; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--emerald-400); opacity:0; animation: cc-live-ping 2s var(--ease-out) infinite; }
.cc-live-dot--amber { background: #E0A100; }
.cc-live-dot--amber::after { border-color: #E0A100; }
@keyframes cc-live-ping { 0% { transform: scale(.6); opacity:.9 } 100% { transform: scale(1.8); opacity:0 } }

/* announcement bar */
.cc-livebar { display:flex; align-items:center; justify-content:center; gap:10px; height:36px; padding:0 16px;
  background: linear-gradient(90deg, #150B2E, #2A1450 50%, #150B2E); color: var(--paper-50); text-decoration:none;
  font-family: var(--font-body); font-size:13.5px; white-space:nowrap; overflow:hidden; }
.cc-livebar strong { font-weight:700; }
.cc-livebar-sub { color: var(--plum-300); }
.cc-livebar-go { display:inline-flex; align-items:center; gap:4px; font-weight:700; color: var(--emerald-400); }
.cc-livebar-go .cc-arrow { width:15px; height:15px; }
.cc-livebar:hover .cc-livebar-go { color: var(--emerald-300); }
.cc-mobile-menu > div { top: 100px !important; }

/* nav button */
.cc-nav-join { display:inline-flex !important; align-items:center; gap:6px; }
.cc-nav-join .cc-arrow { width:15px; height:15px; }
.cc-menu-join { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; padding:12px 14px; border-radius: var(--radius-md);
  background: var(--amethyst-500); color: var(--butter-50); font-family: var(--font-body); font-weight:700; font-size:15px; text-decoration:none; }
.cc-menu-join .cc-arrow { width:16px; height:16px; }

/* hero */
.cc-live-pill { display:inline-flex; align-items:center; gap:10px; padding:7px 14px 7px 12px; border-radius:999px;
  background: var(--emerald-50); color: var(--emerald-700); border:1px solid color-mix(in srgb, var(--emerald-500) 30%, transparent);
  font-family: var(--font-mono); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.cc-live-pill--dark { background: color-mix(in srgb, var(--emerald-500) 14%, transparent); color: var(--emerald-300); border-color: color-mix(in srgb, var(--emerald-400) 35%, transparent); }
.cc-hero-join { display:inline-flex !important; align-items:center; gap:10px; padding-left:30px !important; padding-right:26px !important;
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--amethyst-500) 65%, transparent) !important; }
.cc-hero-micro { margin:16px 0 0; font-family: var(--font-mono); font-size:12.5px; color: var(--text-muted); }

/* token note */
.cc-token-note { display:inline-flex; align-items:flex-start; gap:10px; text-align:left; margin:22px auto 0; max-width:600px; padding:12px 16px;
  border-radius: var(--radius-md); background: var(--surface-card); border:1px solid var(--butter-200); font-size:14px; line-height:1.55; color: var(--text-body); }
.cc-token-note .cc-live-dot { margin-top:6px; }
.cc-inline-join { display:inline-flex; align-items:center; gap:4px; font-weight:700; color: var(--text-brand); text-decoration:none; white-space:nowrap; }
.cc-inline-join .cc-arrow { width:14px; height:14px; }

/* ===== JOIN section ===== */
.cc-join { position:relative; overflow:hidden; padding:120px 24px !important; background: var(--surface-ink); }
.cc-join-glow { position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(600px 380px at 12% 18%, color-mix(in srgb, var(--amethyst-500) 38%, transparent), transparent 70%),
    radial-gradient(520px 360px at 92% 85%, color-mix(in srgb, var(--emerald-500) 26%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,227,.035) 1px, transparent 1px) 0 0/44px 44px,
    linear-gradient(90deg, rgba(255,255,227,.035) 1px, transparent 1px) 0 0/44px 44px; }
.cc-join-grid { position:relative; max-width:1180px; margin:0 auto; display:grid; grid-template-columns: 1.08fr .92fr; gap:64px; align-items:center; }
.cc-join-title { font-family: var(--font-display); font-weight:700; font-size: clamp(34px, 4.4vw, 58px); line-height:1.04; letter-spacing:-.025em; color: var(--paper-50); margin:22px 0 18px; text-wrap: balance; }
.cc-join-hl { background: linear-gradient(90deg, var(--emerald-400), #7EF0B0); -webkit-background-clip:text; background-clip:text; color:transparent; }
.cc-join-lead { font-size:18px; line-height:1.6; color: var(--plum-300); margin:0 0 30px; max-width:560px; text-wrap: pretty; }
.cc-join-steps { list-style:none; margin:0 0 36px; padding:0; display:grid; gap:14px; }
.cc-join-steps li { display:flex; gap:14px; align-items:flex-start; }
.cc-join-steps strong { display:block; font-family: var(--font-display); font-size:16px; color: var(--paper-50); margin-bottom:2px; }
.cc-join-steps span:not(.cc-step-n) { font-size:14.5px; line-height:1.5; color: var(--plum-400); }
.cc-step-n { width:30px; height:30px; flex:0 0 auto; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-weight:700; font-size:13px; color: var(--emerald-300);
  background: color-mix(in srgb, var(--emerald-500) 14%, transparent); border:1px solid color-mix(in srgb, var(--emerald-400) 40%, transparent); }

.cc-mega-join { box-sizing:border-box; max-width:100%; position:relative; display:inline-flex; align-items:center; gap:22px; padding:16px 16px 16px 32px; border-radius:999px; text-decoration:none;
  background: linear-gradient(135deg, #2ECC71 0%, #27B862 55%, #1FA455 100%); color:#0E2418;
  box-shadow: 0 18px 50px -12px rgba(46,204,113,.65), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); isolation:isolate; }
.cc-mega-join::before { content:''; position:absolute; inset:-6px; border-radius:999px; border:2px solid rgba(46,204,113,.55); z-index:-1; animation: cc-mega-ring 2.6s var(--ease-out) infinite; }
@keyframes cc-mega-ring { 0% { transform: scale(.96); opacity:.9 } 100% { transform: scale(1.12); opacity:0 } }
.cc-mega-join:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -12px rgba(46,204,113,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.cc-mega-join:active { transform: translateY(0) scale(.99); }
.cc-mega-text { display:flex; flex-direction:column; line-height:1.1; }
.cc-mega-main { font-family: var(--font-display); font-weight:700; font-size: clamp(22px, 2.2vw, 28px); letter-spacing:-.01em; }
.cc-mega-sub { font-family: var(--font-mono); font-size:13px; font-weight:700; opacity:.78; margin-top:5px; }
.cc-mega-arrow { width:58px; height:58px; border-radius:50%; background:#150B2E; color: var(--emerald-400); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.cc-mega-arrow .cc-arrow { width:24px; height:24px; }
.cc-mega-join:hover .cc-arrow { transform: translateX(3px); }

.cc-join-trust { list-style:none; padding:0; margin:26px 0 0; display:flex; flex-wrap:wrap; gap:10px 22px; }
.cc-join-trust li { display:inline-flex; align-items:center; gap:8px; font-size:14px; color: var(--plum-300); }
.cc-join-trust li::before { content:''; width:16px; height:16px; border-radius:50%; flex:0 0 auto;
  background: var(--emerald-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23150B2E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.cc-join-help { margin:22px 0 0; font-family: var(--font-mono); font-size:12.5px; color: var(--plum-400); }
.cc-join-help a { color: var(--emerald-400); text-decoration:none; }

/* browser mock */
.cc-browser { display:block; text-decoration:none; border-radius:20px; overflow:hidden; background:#FFFFF5;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,227,.12), 0 0 0 10px rgba(255,255,227,.04);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 400ms var(--ease-out); }
.cc-browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-4px); }
.cc-browser-bar { display:flex; align-items:center; gap:14px; padding:12px 16px; background:#F1EEDC; border-bottom:1px solid #E4DFC6; }
.cc-dots { display:flex; gap:7px; }
.cc-dots i { width:11px; height:11px; border-radius:50%; background:#D9D3B8; display:block; }
.cc-dots i:nth-child(1){ background:#F0716A } .cc-dots i:nth-child(2){ background:#F4BF4F } .cc-dots i:nth-child(3){ background:#5BC560 }
.cc-url { flex:1; display:flex; align-items:center; justify-content:center; gap:7px; height:30px; border-radius:999px; background:#FFFFFF; border:1px solid #E4DFC6;
  font-family: var(--font-mono); font-size:13px; font-weight:700; color:#3B2A5C; }
.cc-url svg { color: var(--emerald-600, #1FA455); }
.cc-browser-body { padding:34px 34px 26px; text-align:center; }
.cc-browser-icon { width:56px; height:56px; border-radius:50%; display:block; margin:0 auto 14px; }
.cc-browser-h { font-family: var(--font-display); font-weight:700; font-size:22px; color:#1C1424; margin:0 0 6px; }
.cc-browser-p { font-size:14.5px; line-height:1.55; color:#6A5F78; margin:0 auto 20px; max-width:320px; }
.cc-browser-btn { display:inline-flex; align-items:center; justify-content:center; width:100%; max-width:330px; height:48px; border-radius:12px;
  background:#2ECC71; color:#0E2418; font-family: var(--font-body); font-weight:700; font-size:16px; box-shadow: 0 8px 20px -8px rgba(46,204,113,.8); }
.cc-browser-rows { margin:24px 0 0; text-align:left; border-top:1px solid #ECE7D2; }
.cc-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 2px; border-bottom:1px solid #ECE7D2; }
.cc-row-t { font-size:13.5px; color:#3B2A5C; }
.cc-chip { font-family: var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.04em; padding:4px 10px; border-radius:999px; white-space:nowrap; }
.cc-chip--ok { background:#E3F8EC; color:#16804A; }
.cc-chip--self { background:#F3E8FA; color:#7A2E9C; }
.cc-chip--dup { background:#FFF2D6; color:#9A6500; }
.cc-browser-note { margin:14px 0 0; font-family: var(--font-mono); font-size:11px; color:#9A90A6; }

/* mobile sticky CTA */
.cc-sticky-join { display:none; }
@media (max-width: 760px) {
  .cc-sticky-join { position:fixed; left:12px; right:12px; bottom:12px; z-index:300; display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:14px 18px; border-radius:16px; text-decoration:none; background:#2ECC71; color:#0E2418;
    font-family: var(--font-display); font-weight:700; font-size:17px; box-shadow: 0 14px 34px -10px rgba(21,11,46,.55); }
  .cc-sticky-url { display:inline-flex; align-items:center; gap:6px; font-family: var(--font-mono); font-size:12px; }
  .cc-sticky-url .cc-arrow { width:16px; height:16px; }
  .cc-footer { padding-bottom: 96px !important; }
  .cc-hero { padding-top: 140px !important; }
  .cc-livebar-sub { display:none; }
  .cc-join { padding: 84px 20px !important; }
}
@media (max-width: 980px) {
  .cc-join-grid { grid-template-columns: 1fr; gap:52px; }
  .cc-browser { transform:none; max-width:520px; margin:0 auto; width:100%; }
}
@media (max-width: 560px) {
  .cc-mega-join { display:flex; width:100%; padding:14px 14px 14px 22px; justify-content:space-between; }
  .cc-mega-arrow { width:50px; height:50px; }
  .cc-browser-body { padding:26px 20px 20px; }
  .cc-nav-join { display:none !important; }
  .cc-livebar { font-size:12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-live-dot::after, .cc-mega-join::before { animation:none !important; }
  .cc-browser, .cc-browser:hover { transform:none !important; }
}
@media (max-width: 640px) {
  [style*="minmax(380px"] { grid-template-columns: minmax(0, 1fr) !important; }
}
