/* AdFin Consultants — Webfonts
 * Brand typefaces: IBM Plex Sans (UI + display) and IBM Plex Mono (labels, data, code).
 * Loaded from the Google Fonts CDN for portability. For production, self-host the
 * woff2 binaries and replace these @import lines with local @font-face rules. */

/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f4.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f5.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f6.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f4.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f5.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f6.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f4.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f5.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f6.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;
}


/* AdFin Consultants — Color tokens
 * Engineering-grade monochrome surfaces with a single confident green accent.
 * Base ramp first, then semantic aliases. */

:root {
  /* ---- Neutrals (cool-neutral engineering grays) ---- */
  --black:    #000000;
  --ink-900:  #0A0B0C;  /* near-black — dark hero / inverse surface */
  --ink-800:  #121417;
  --ink-700:  #1B1E22;
  --ink-600:  #262A30;
  --gray-600: #4A4F57;
  --gray-500: #6B7280;  /* secondary text */
  --gray-400: #9AA1AB;
  --gray-300: #C7CCD2;
  --gray-200: #E4E7EB;  /* hairline border */
  --gray-100: #F1F3F5;
  --gray-50:  #F7F8F9;  /* sunken surface */
  --white:    #FFFFFF;

  /* ---- Accent: AdFin green ---- */
  --green-400: #34E39B;  /* bright — accent on dark surfaces */
  --green-500: #00C46B;  /* primary accent */
  --green-600: #009E56;  /* hover / accent text on light */
  --green-700: #00723D;
  --green-050: #E6F9F0;  /* faint accent wash */

  /* ---- Semantic status ---- */
  --red-500:    #E5484D;
  --amber-500:  #F5A623;
  --blue-500:   #2E7BEE;

  /* ================= Semantic aliases ================= */
  /* Surfaces */
  --surface-page:    var(--white);
  --surface-card:    var(--white);
  --surface-sunken:  var(--gray-50);
  --surface-inverse: var(--ink-900);
  --surface-inverse-raised: var(--ink-800);

  /* Text */
  --text-primary:        var(--ink-900);
  --text-secondary:      var(--gray-500);
  --text-tertiary:       var(--gray-400);
  --text-inverse:        var(--white);
  --text-inverse-muted:  var(--gray-400);
  --text-accent:         var(--green-600);
  --text-on-accent:      var(--ink-900);

  /* Accent */
  --accent:          var(--green-500);
  --accent-strong:   var(--green-600);
  --accent-on-dark:  var(--green-400);
  --accent-wash:     var(--green-050);

  /* Borders */
  --border-hairline:  var(--gray-200);
  --border-strong:    var(--ink-900);
  --border-inverse:   rgba(255, 255, 255, 0.14);
  --border-focus:     var(--green-500);

  /* Status semantics */
  --danger:   var(--red-500);
  --warning:  var(--amber-500);
  --info:     var(--blue-500);
  --success:  var(--green-600);

  /* Scrim */
  --overlay: rgba(10, 11, 12, 0.72);
}

/* FinTax Consultants — Typography tokens
 * IBM Plex Sans for interface + editorial display; IBM Plex Mono for
 * eyebrows, labels, data readouts and code. Mono labels are the system's
 * signature "engineering" cue: uppercase, wide tracking. */

:root {
  /* Families */
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Weights */
  --fw-light:    300; /* @kind other */
  --fw-regular:  400; /* @kind other */
  --fw-medium:   500; /* @kind other */
  --fw-semibold: 600; /* @kind other */
  --fw-bold:     700; /* @kind other */

  /* ---- Display / headline scale (IBM Plex Sans) ---- */
  --text-display:    600 56px/1.04 var(--font-sans);
  --text-h1:         600 40px/1.08 var(--font-sans);
  --text-h2:         600 32px/1.12 var(--font-sans);
  --text-h3:         600 24px/1.2  var(--font-sans);
  --text-h4:         600 20px/1.3  var(--font-sans);

  --tracking-display: -0.022em; /* @kind other */
  --tracking-head:    -0.014em; /* @kind other */

  /* ---- Body ---- */
  --text-body-lg:  400 18px/1.6  var(--font-sans);
  --text-body:     400 16px/1.6  var(--font-sans);
  --text-body-sm:  400 14px/1.55 var(--font-sans);

  /* ---- Mono label / eyebrow ---- */
  --text-eyebrow:  500 12px/1.2 var(--font-mono);
  --text-label:    500 13px/1.3 var(--font-mono);
  --text-data:     500 15px/1.4 var(--font-mono);
  --text-data-lg:  500 28px/1.1 var(--font-mono);

  --tracking-eyebrow: 0.14em; /* @kind other */
  --tracking-label:   0.04em; /* @kind other */
}

/* FinTax Consultants — Spacing & layout tokens
 * 4px base rhythm. Dense at the small end for technical grids,
 * generous at the large end for section breathing room. */

:root {
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Layout */
  --container-max: 1200px;
  --gutter:        24px;
  --section-y:     96px;

  /* Z-index scale */
  --z-base:    0; /* @kind other */
  --z-sticky:  100; /* @kind other */
  --z-overlay: 900; /* @kind other */
  --z-modal:   1000; /* @kind other */
  --z-toast:   1100; /* @kind other */
}

/* AdFin Consultants — Effects: radius, borders, shadow, motion
 * Sharp 2px geometry. Structure comes from hairline borders, not shadow —
 * shadows stay soft and rare. */

:root {
  /* Radius — deliberately tight */
  --radius-none: 0px;
  --radius-sm:   2px;   /* default control radius */
  --radius-md:   4px;   /* cards, larger surfaces */
  --radius-pill: 9999px; /* status dots / rare chips only */

  /* Border widths */
  --hairline: 1px;
  --border-2: 2px;      /* signature 2px emphasis border */

  /* Shadow — restrained */
  --shadow-none: none;
  --shadow-sm:   0 1px 2px rgba(10, 11, 12, 0.06);
  --shadow-md:   0 4px 16px rgba(10, 11, 12, 0.08);
  --shadow-overlay: 0 24px 64px rgba(10, 11, 12, 0.28);
  --shadow-accent:  0 0 0 3px rgba(0, 196, 107, 0.20); /* focus ring */

  /* Motion — crisp, no bounce */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --dur-fast:  120ms; /* @kind other */
  --dur-base:  180ms; /* @kind other */
  --dur-slow:  260ms; /* @kind other */

  /* Technical grid overlay (dense engineering grid motif) */
  --grid-line: rgba(10, 11, 12, 0.06);
  --grid-line-inverse: rgba(255, 255, 255, 0.06);
}

/* FinTax Consultants — base resets & primitives
 * Minimal, opinionated. Sets the default type, link color, and the
 * signature technical-grid utility. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: var(--text-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }

/* Links — always defined so editor-added links never fall back to browser blue */
a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--green-500); color: var(--ink-900); }

/* Signature engineering-grid background. Apply to a section for a
 * dense technical grid; use -inverse variant on dark surfaces. */
.ft-grid {
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ft-grid-inverse {
  background-image:
    linear-gradient(to right, var(--grid-line-inverse) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-inverse) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Mono eyebrow helper */
.ft-eyebrow {
  font: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* FinTax Consultants — global stylesheet entry point.
 * Consumers link this one file. Keep it as @import lines only. */

/* AdFin Consultants — Webfonts
 * Brand typefaces: IBM Plex Sans (UI + display) and IBM Plex Mono (labels, data, code).
 * Loaded from the Google Fonts CDN for portability. For production, self-host the
 * woff2 binaries and replace these @import lines with local @font-face rules. */

/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f4.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f5.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f6.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f4.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f5.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f6.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f4.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f5.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/f6.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;
}


/* AdFin Consultants — Color tokens
 * Engineering-grade monochrome surfaces with a single confident green accent.
 * Base ramp first, then semantic aliases. */

:root {
  /* ---- Neutrals (cool-neutral engineering grays) ---- */
  --black:    #000000;
  --ink-900:  #0A0B0C;  /* near-black — dark hero / inverse surface */
  --ink-800:  #121417;
  --ink-700:  #1B1E22;
  --ink-600:  #262A30;
  --gray-600: #4A4F57;
  --gray-500: #6B7280;  /* secondary text */
  --gray-400: #9AA1AB;
  --gray-300: #C7CCD2;
  --gray-200: #E4E7EB;  /* hairline border */
  --gray-100: #F1F3F5;
  --gray-50:  #F7F8F9;  /* sunken surface */
  --white:    #FFFFFF;

  /* ---- Accent: AdFin green ---- */
  --green-400: #34E39B;  /* bright — accent on dark surfaces */
  --green-500: #00C46B;  /* primary accent */
  --green-600: #009E56;  /* hover / accent text on light */
  --green-700: #00723D;
  --green-050: #E6F9F0;  /* faint accent wash */

  /* ---- Semantic status ---- */
  --red-500:    #E5484D;
  --amber-500:  #F5A623;
  --blue-500:   #2E7BEE;

  /* ================= Semantic aliases ================= */
  /* Surfaces */
  --surface-page:    var(--white);
  --surface-card:    var(--white);
  --surface-sunken:  var(--gray-50);
  --surface-inverse: var(--ink-900);
  --surface-inverse-raised: var(--ink-800);

  /* Text */
  --text-primary:        var(--ink-900);
  --text-secondary:      var(--gray-500);
  --text-tertiary:       var(--gray-400);
  --text-inverse:        var(--white);
  --text-inverse-muted:  var(--gray-400);
  --text-accent:         var(--green-600);
  --text-on-accent:      var(--ink-900);

  /* Accent */
  --accent:          var(--green-500);
  --accent-strong:   var(--green-600);
  --accent-on-dark:  var(--green-400);
  --accent-wash:     var(--green-050);

  /* Borders */
  --border-hairline:  var(--gray-200);
  --border-strong:    var(--ink-900);
  --border-inverse:   rgba(255, 255, 255, 0.14);
  --border-focus:     var(--green-500);

  /* Status semantics */
  --danger:   var(--red-500);
  --warning:  var(--amber-500);
  --info:     var(--blue-500);
  --success:  var(--green-600);

  /* Scrim */
  --overlay: rgba(10, 11, 12, 0.72);
}

/* FinTax Consultants — Typography tokens
 * IBM Plex Sans for interface + editorial display; IBM Plex Mono for
 * eyebrows, labels, data readouts and code. Mono labels are the system's
 * signature "engineering" cue: uppercase, wide tracking. */

:root {
  /* Families */
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Weights */
  --fw-light:    300; /* @kind other */
  --fw-regular:  400; /* @kind other */
  --fw-medium:   500; /* @kind other */
  --fw-semibold: 600; /* @kind other */
  --fw-bold:     700; /* @kind other */

  /* ---- Display / headline scale (IBM Plex Sans) ---- */
  --text-display:    600 56px/1.04 var(--font-sans);
  --text-h1:         600 40px/1.08 var(--font-sans);
  --text-h2:         600 32px/1.12 var(--font-sans);
  --text-h3:         600 24px/1.2  var(--font-sans);
  --text-h4:         600 20px/1.3  var(--font-sans);

  --tracking-display: -0.022em; /* @kind other */
  --tracking-head:    -0.014em; /* @kind other */

  /* ---- Body ---- */
  --text-body-lg:  400 18px/1.6  var(--font-sans);
  --text-body:     400 16px/1.6  var(--font-sans);
  --text-body-sm:  400 14px/1.55 var(--font-sans);

  /* ---- Mono label / eyebrow ---- */
  --text-eyebrow:  500 12px/1.2 var(--font-mono);
  --text-label:    500 13px/1.3 var(--font-mono);
  --text-data:     500 15px/1.4 var(--font-mono);
  --text-data-lg:  500 28px/1.1 var(--font-mono);

  --tracking-eyebrow: 0.14em; /* @kind other */
  --tracking-label:   0.04em; /* @kind other */
}

/* FinTax Consultants — Spacing & layout tokens
 * 4px base rhythm. Dense at the small end for technical grids,
 * generous at the large end for section breathing room. */

:root {
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Layout */
  --container-max: 1200px;
  --gutter:        24px;
  --section-y:     96px;

  /* Z-index scale */
  --z-base:    0; /* @kind other */
  --z-sticky:  100; /* @kind other */
  --z-overlay: 900; /* @kind other */
  --z-modal:   1000; /* @kind other */
  --z-toast:   1100; /* @kind other */
}

/* AdFin Consultants — Effects: radius, borders, shadow, motion
 * Sharp 2px geometry. Structure comes from hairline borders, not shadow —
 * shadows stay soft and rare. */

:root {
  /* Radius — deliberately tight */
  --radius-none: 0px;
  --radius-sm:   2px;   /* default control radius */
  --radius-md:   4px;   /* cards, larger surfaces */
  --radius-pill: 9999px; /* status dots / rare chips only */

  /* Border widths */
  --hairline: 1px;
  --border-2: 2px;      /* signature 2px emphasis border */

  /* Shadow — restrained */
  --shadow-none: none;
  --shadow-sm:   0 1px 2px rgba(10, 11, 12, 0.06);
  --shadow-md:   0 4px 16px rgba(10, 11, 12, 0.08);
  --shadow-overlay: 0 24px 64px rgba(10, 11, 12, 0.28);
  --shadow-accent:  0 0 0 3px rgba(0, 196, 107, 0.20); /* focus ring */

  /* Motion — crisp, no bounce */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --dur-fast:  120ms; /* @kind other */
  --dur-base:  180ms; /* @kind other */
  --dur-slow:  260ms; /* @kind other */

  /* Technical grid overlay (dense engineering grid motif) */
  --grid-line: rgba(10, 11, 12, 0.06);
  --grid-line-inverse: rgba(255, 255, 255, 0.06);
}

/* FinTax Consultants — base resets & primitives
 * Minimal, opinionated. Sets the default type, link color, and the
 * signature technical-grid utility. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: var(--text-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }

/* Links — always defined so editor-added links never fall back to browser blue */
a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--green-500); color: var(--ink-900); }

/* Signature engineering-grid background. Apply to a section for a
 * dense technical grid; use -inverse variant on dark surfaces. */
.ft-grid {
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ft-grid-inverse {
  background-image:
    linear-gradient(to right, var(--grid-line-inverse) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-inverse) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Mono eyebrow helper */
.ft-eyebrow {
  font: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* AdFin site — mobile responsiveness.
 * Overrides the templates' inline styles via attribute selectors so phones get
 * a single-column, comfortably-padded layout. Loaded in every page's helmet. */

/* ---------- Global mobile safety ---------- */
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* CTA buttons render a real <button> inside their wrapping <a> (invalid nesting).
   Make the inner button inert so every tap always resolves to the <a>'s navigation
   instead of sometimes landing on the button and going nowhere. */
a button { pointer-events: none; }

/* ---------- Tablet & phone (<= 820px) ---------- */
@media (max-width: 820px) {
  [style*="grid-template-columns: 1.2fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 2fr 1.4fr 1fr auto"] { grid-template-columns: 1fr !important; }

  /* Bigger touch targets for nav links and dropdown items. */
  header nav a, .ft-dd-link { padding-top: 10px !important; padding-bottom: 10px !important; }
  /* Tighten every 40px horizontal gutter to 20px (keeps vertical padding). */
  [style*="padding:"][style*=" 40px"] { padding-left: 20px !important; padding-right: 20px !important; }

  /* Trim the tallest vertical rhythm so heroes/sections aren't cavernous. */
  [style*="padding: 120px 40px 88px"] { padding-top: 76px !important; padding-bottom: 52px !important; }
  [style*="padding: 120px 40px 96px"] { padding-top: 84px !important; padding-bottom: 60px !important; }
  [style*="padding: 100px 40px"]      { padding-top: 64px !important; padding-bottom: 64px !important; }
  [style*="padding: 96px 40px"]       { padding-top: 56px !important; padding-bottom: 56px !important; }
  [style*="padding: 80px 40px 64px"]  { padding-top: 60px !important; padding-bottom: 44px !important; }
  [style*="padding: 80px 40px"]       { padding-top: 56px !important; padding-bottom: 56px !important; }
  [style*="padding: 56px 40px 0"]     { padding-top: 44px !important; }

  /* Grids collapse. */
  [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"]        { grid-template-columns: 1fr !important; }

  /* Header wraps to two rows: logo, then nav centered below. */
  header > div { height: auto !important; flex-wrap: wrap; padding-top: 12px !important; padding-bottom: 12px !important; gap: 10px; justify-content: center; }
  header nav   { flex-wrap: wrap; justify-content: center; gap: 2px; width: 100%; }
  header nav a { padding-left: 8px !important; padding-right: 8px !important; }

  /* Display type steps down so headlines don't overflow narrow screens. */
  [style*="var(--text-display)"] { font-size: 34px !important; line-height: 1.08 !important; }
  [style*="var(--text-h1)"]      { font-size: 28px !important; line-height: 1.12 !important; }
  [style*="var(--text-h2)"]      { font-size: 24px !important; }
  [style*="font-size: 44px"]     { font-size: 30px !important; }
}

/* ---------- Phone (<= 560px) ---------- */
@media (max-width: 560px) {
  [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr !important; }

  /* Stat cells lose their vertical divider once stacked. */
  [style*="border-right: 1px solid rgba(255,255,255,0.14)"] { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.14) !important; }

  [style*="var(--text-display)"] { font-size: 30px !important; }
  [style*="var(--text-h1)"]      { font-size: 25px !important; }

  /* Justified body reads poorly on narrow columns — fall back to left. */
  [style*="text-align: justify"] { text-align: left !important; }

  /* Full-width CTA/apply buttons so they don't crowd against form fields. */
  a[href][style*="display: inline-flex"][style*="text-decoration: none"] { width: 100%; }
  a[href][style*="display: inline-flex"][style*="text-decoration: none"] > * { width: 100%; }
  /* ...except inside the header nav, which stays compact. */
  header nav a[style*="display: inline-flex"] { width: auto !important; }
  header nav a[style*="display: inline-flex"] > * { width: auto !important; }
  /* ...and the footer social link, which shouldn't stretch full-width either. */
  footer a[style*="display: inline-flex"] { width: auto !important; }
  footer a[style*="display: inline-flex"] > * { width: auto !important; }
}

/* ---------- Header hover dropdowns ---------- */
.ft-navitem > .ft-dropdown {
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 180ms cubic-bezier(0.2,0,0,1), transform 180ms cubic-bezier(0.2,0,0,1), visibility 180ms;
  z-index: 200;
}
.ft-navitem:hover > .ft-dropdown,
.ft-navitem:focus-within > .ft-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ft-dropdown .ft-dd-link:hover { background: rgba(255,255,255,0.07); color: #fff !important; }

@media (max-width: 820px) {
  .ft-navitem > .ft-dropdown { display: none; }
}

/* Phone code + number: stack below laptop widths so neither field is crushed */
@media (max-width: 1120px) {
  #f-code { grid-column: 1 / -1 !important; }
  #f-phone { grid-column: 1 / -1 !important; }
}

/* Custom country code: widen the phone row to three tracks when active */
div[data-phone-row] > *:has(> #f-code-custom) { display: contents; }
div[data-phone-row]:has(#f-code-custom) {
  grid-template-columns: minmax(76px, 92px) 78px minmax(120px, 1fr) !important;
}
/* Give the phone field the full form row so three controls have room to breathe */
div[data-phone-cell]:has(#f-code-custom) { grid-column: 1 / -1 !important; }
@media (max-width: 1120px) {
  #f-code-custom { grid-column: 1 / -1 !important; }
  div[data-phone-row]:has(#f-code-custom) { grid-template-columns: 1fr !important; }
}

html{scroll-behavior:smooth}
/* --- static-site additions (no theme change) --- */
.ft-btn { transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
a:hover .ft-btn-primary { background: var(--accent-600, var(--accent)); border-color: var(--accent-600, var(--accent)); }
a:hover .ft-btn-secondary { border-color: var(--accent); color: var(--accent-700, var(--text-primary)); }
.ft-btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ft-crumbs a { color: var(--text-secondary); text-decoration: none; }
.ft-crumbs a:hover { color: var(--accent-700, var(--text-primary)); text-decoration: underline; }
/* end */

/* hover-states */
.ft-x0:hover { background: var(--accent-on-dark) !important; border-color: var(--accent-on-dark) !important; }
.ft-x1:hover { background: var(--accent-on-dark) !important; border-color: var(--accent-on-dark) !important; }
.ft-x2:hover { background: var(--accent-on-dark) !important; border-color: var(--accent-on-dark) !important; }
.ft-x3:hover { transform: scale(1.05) !important; }
.ft-x4:hover { color: #fff !important; }
.ft-x5:hover { color: #fff !important; }
.ft-x6:hover { color: #fff !important; }
.ft-x7:focus { border-color: var(--accent) !important; }
.ft-x8:focus { border-color: var(--accent) !important; }
.ft-x9:focus { border-color: var(--accent) !important; }
.ft-x10:focus { border-color: var(--accent) !important; }
.ft-x11:focus { border-color: var(--accent) !important; }
.ft-x12:focus { border-color: var(--accent) !important; }
.ft-x13:focus { border-color: var(--accent) !important; }
.ft-x14:focus { border-color: var(--accent) !important; }
.ft-x15:hover { color: var(--text-accent) !important; }
.ft-x16:hover { color: var(--text-accent) !important; }
.ft-x17:hover { color: var(--text-accent) !important; }
.ft-x18:hover { color: #fff !important; }
