/* Minification failed. Returning unminified contents.
(5,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(35,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(36,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(42,31): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(48,30): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(49,25): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(63,17): run-time error CSS1030: Expected identifier, found ','
(63,46): run-time error CSS1031: Expected selector, found ')'
(63,46): run-time error CSS1025: Expected comma or open brace, found ')'
(69,21): run-time error CSS1030: Expected identifier, found ','
(69,39): run-time error CSS1031: Expected selector, found ')'
(69,39): run-time error CSS1025: Expected comma or open brace, found ')'
(72,84): run-time error CSS1039: Token not allowed after unary operator: '-focus-offset'
(75,30): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(75,49): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(77,40): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(77,53): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(82,113): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(82,126): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(82,149): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(82,162): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(82,192): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(82,205): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(82,233): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(82,246): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(82,273): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(82,286): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(97,107): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(101,51): run-time error CSS1039: Token not allowed after unary operator: '-maxw'
(102,31): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(105,52): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(109,34): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(109,72): run-time error CSS1039: Token not allowed after unary operator: '-line'
(109,110): run-time error CSS1039: Token not allowed after unary operator: '-line'
(110,39): run-time error CSS1039: Token not allowed after unary operator: '-bg-tint'
(110,77): run-time error CSS1039: Token not allowed after unary operator: '-line'
(110,115): run-time error CSS1039: Token not allowed after unary operator: '-line'
(112,29): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(121,41): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(122,47): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(123,52): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(123,82): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(124,47): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(124,69): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(132,57): run-time error CSS1039: Token not allowed after unary operator: '-line'
(132,118): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(136,41): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(137,47): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(139,34): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(140,40): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(141,40): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(142,46): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(143,83): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(146,57): run-time error CSS1039: Token not allowed after unary operator: '-line'
(146,104): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(147,172): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(147,200): run-time error CSS1039: Token not allowed after unary operator: '-line'
(148,69): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(149,55): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(151,102): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(151,128): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(151,145): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(152,66): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(153,95): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(154,53): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(159,39): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(161,108): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(162,53): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(163,43): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(188,30): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(193,30): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(196,84): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(198,90): run-time error CSS1039: Token not allowed after unary operator: '-line'
(198,185): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(205,62): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(212,49): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(212,76): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(224,110): run-time error CSS1039: Token not allowed after unary operator: '-line'
(224,130): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(225,78): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(229,80): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(229,150): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(230,88): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(233,121): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(233,144): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(234,87): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(234,113): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(235,135): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(240,84): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(241,30): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(241,48): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(244,50): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(244,72): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(248,25): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(250,49): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(254,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(255,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(256,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(257,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(258,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(259,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(260,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(261,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(262,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(263,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(264,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(265,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(266,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(267,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(268,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(270,53): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(275,65): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(281,79): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(283,74): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(309,17): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(309,54): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(309,74): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(311,47): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(311,74): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(312,72): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(312,85): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(313,50): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(313,101): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(314,65): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(326,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(327,28): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(330,35): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(330,48): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(330,76): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(330,89): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(330,112): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(330,125): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(332,44): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(333,51): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(333,88): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(334,66): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(335,62): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(338,58): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(340,50): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(344,56): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(345,33): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(345,46): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(345,73): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(345,86): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(348,49): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(349,56): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(354,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(354,51): run-time error CSS1039: Token not allowed after unary operator: '-line'
(354,79): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(355,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(358,67): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(361,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(363,94): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(367,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(367,81): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(375,17): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(375,44): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(387,40): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(392,42): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(393,33): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(393,46): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(393,73): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(393,86): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(396,61): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(406,30): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(406,43): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(406,71): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(415,32): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(415,45): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(423,28): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(423,75): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(423,93): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(424,45): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(424,58): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(424,88): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(424,101): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(424,128): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(424,141): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(426,32): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(426,61): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(436,76): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(437,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(437,40): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(440,38): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(440,60): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(442,50): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(447,30): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(447,79): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(448,76): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(451,47): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(452,51): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(454,69): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(457,59): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(463,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(463,69): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(465,33): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(465,81): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(470,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(470,51): run-time error CSS1039: Token not allowed after unary operator: '-line'
(470,79): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(471,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(473,30): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(473,43): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(473,70): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(473,83): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(473,111): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(480,52): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(484,55): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(486,40): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(486,63): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(488,62): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(489,51): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(490,50): run-time error CSS1039: Token not allowed after unary operator: '-line'
(496,55): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(499,55): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(499,78): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(501,77): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(502,66): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(505,109): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(506,58): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(509,35): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(512,37): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(512,60): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(523,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(523,58): run-time error CSS1039: Token not allowed after unary operator: '-line'
(523,83): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(525,30): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(525,43): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(525,70): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(525,83): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(525,111): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(533,62): run-time error CSS1039: Token not allowed after unary operator: '-line'
(535,36): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(537,70): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(537,97): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(543,79): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(546,39): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(547,115): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(548,44): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(551,68): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(552,22): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(556,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(556,56): run-time error CSS1039: Token not allowed after unary operator: '-line'
(556,84): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(560,31): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(561,129): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(575,22): run-time error CSS1039: Token not allowed after unary operator: '-green-soft'
(575,48): run-time error CSS1039: Token not allowed after unary operator: '-green'
(577,83): run-time error CSS1039: Token not allowed after unary operator: '-green'
(578,82): run-time error CSS1039: Token not allowed after unary operator: '-line'
(578,198): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
 */
/* redesign-core.css - shared foundation for redesigned public pages.
   Extracted from redesign/index-BRAND_NEW_LANDINGPAGE.html. Load before page CSS. */

        :root {
            --bg: #ffffff;
            --bg-soft: #f6f7f9;
            --bg-tint: #fff6f0;     /* warm orange tint */
            --line: #e9eaee;
            --line-2: #dfe1e6;
            --ink: #16161a;
            --ink-2: #3b3d44;
            --muted: #6b6e76;
            --muted-2: #82858d;
            --orange: #ff6600;
            --orange-2: #ff8534;
            --orange-soft: #ffeede;
            --green: #1f9d55;
            --green-soft: #e7f6ee;
            --red: #d63a3a;
            --card: #ffffff;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 22px;
            --maxw: 1180px;
            --shadow-sm: 0 2px 10px rgba(20,22,30,0.06);
            --shadow: 0 18px 50px rgba(20,22,30,0.10);
            --shadow-lg: 0 30px 80px rgba(20,22,30,0.14);
            /* motion system */
            --ease-out: cubic-bezier(.22,.61,.36,1);
            --ease-spring: cubic-bezier(.34,1.56,.64,1);
            --dur-1: 140ms;   /* taps, hovers */
            --dur-2: 240ms;   /* standard transitions */
            --dur-3: 520ms;   /* reveals, larger moves */
            /* focus ring */
            --focus: 0 0 0 3px rgba(255,102,0,0.45);
            --focus-offset: #fff;
        }

        /* Typographic precision: balance short headings, avoid orphans in body */
        h1, h2, h3, h4, .hero-tagline { text-wrap: balance; }
        .lead, .hero-sub, .svc-desc, .faq-a-inner, p { text-wrap: pretty; }
        [data-theme="dark"] { --focus-offset: #16161a; }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            background: var(--bg);
            color: var(--ink);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 17px;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            /* sticky footer: a page's main content wrapper can set flex:1 0 auto to push the footer down */
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        a { color: inherit; text-decoration: none; }

        /* ---- Accessibility: focus, skip link ---- */
        :where(a, button, [tabindex], summary):focus-visible {
            outline: 2px solid transparent;
            box-shadow: var(--focus);
            border-radius: 6px;
        }
        /* Text fields: no glow ring, just the browser's default outline removed */
        :where(input, textarea, select):focus-visible {
            outline: none;
        }
        .btn:focus-visible, .nav-signup:focus-visible { box-shadow: 0 0 0 3px var(--focus-offset), 0 0 0 6px rgba(255,102,0,0.5); }
        .skip-link {
            position: fixed; top: 10px; left: 10px; z-index: 1000;
            background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 10px;
            font-weight: 700; font-size: 0.92rem; transform: translateY(-150%);
            transition: transform var(--dur-2) var(--ease-out);
        }
        .skip-link:focus { transform: translateY(0); }

        /* ---- Interactive states ---- */
        .btn, .nav-signup, .theme-toggle, .menu-toggle, .search-tab, .faq-q { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
        .btn:active, .nav-signup:active { transform: translateY(1px); }
        @media (hover:hover){ .btn-primary:hover { filter: brightness(1.04); } }

        /* ---- Reduced motion: honor user preference everywhere ---- */
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after {
                animation-duration: .001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .001ms !important;
            }
            .reveal { opacity: 1 !important; transform: none !important; }
        }
        img { max-width: 100%; display: block; }
        h1, h2, h3 { line-height: 1.1; letter-spacing: -0.022em; margin: 0; font-weight: 800; color: var(--ink); }
        h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
        h2 { font-size: clamp(1.9rem, 3.7vw, 2.8rem); }
        p { margin: 0 0 1rem; }
        .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
        .accent { color: var(--orange); }
        .eyebrow {
            display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
            text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
        }
        .section { padding: 110px 0; position: relative; }
        .section-sm { padding: 80px 0; }
        .band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
        .band-tint { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
        .center { text-align: center; }
        .lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

        /* Buttons */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
            padding: 15px 30px; border-radius: 11px; cursor: pointer; border: none;
            transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s, border-color .2s;
        }
        .btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(255,102,0,0.28); }
        .btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,102,0,0.36); }
        .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
        .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
        .btn-lg { padding: 17px 38px; font-size: 1.05rem; }
        /* Header */
        header.nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            background: rgba(255,255,255,0.72); backdrop-filter: blur(14px);
            border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease, box-shadow .3s;
        }
        header.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.92); box-shadow: var(--shadow-sm); }
        .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
        .brand img { height: 40px; width: auto; }
        .nav-links { display: flex; align-items: center; gap: 28px; }
        .nav-links a.link { color: var(--ink-2); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
        .nav-links a.link:hover { color: var(--orange); }
        .nav-cta { display: flex; align-items: center; gap: 14px; }
        .nav-login { color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }
        .nav-login:hover { color: var(--orange); }
        .nav-signup { background: var(--orange); color: #fff; padding: 10px 22px; border-radius: 9px; font-weight: 700; font-size: 0.95rem; transition: background .2s, transform .15s; }
        .nav-signup:hover { background: var(--orange-2); transform: translateY(-1px); }
        .menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; }
        .menu-toggle .material-icons { font-size: 30px; }
        /* Footer */
        footer.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; background: var(--bg-soft); }
        .footer-news { display:flex; align-items:center; justify-content:space-between; gap:18px 32px; flex-wrap:wrap; padding:24px 28px; margin-top:44px; background:var(--bg); border:1px solid var(--line); border-radius:16px; }
        .fn-text strong { display:block; font-size:1rem; color:var(--ink); font-weight:700; }
        .fn-text span { font-size:0.86rem; color:var(--muted); }
        .footer-news form { display:flex; gap:9px; flex-wrap:wrap; }
        .footer-news input[type=email] { padding:11px 14px; border-radius:9px; border:1px solid var(--line-2); background:var(--bg); color:var(--ink); font-size:0.92rem; font-family:inherit; min-width:230px; outline:none; transition:border-color .2s, box-shadow .2s; }
        .footer-news input[type=email]:focus { border-color:var(--line-2); }
        .footer-news button { padding:11px 20px; border-radius:9px; border:0; background:var(--orange); color:#fff; font-weight:700; font-size:0.9rem; cursor:pointer; transition:background .2s; }
        .footer-news button:hover { background:var(--orange-2); }
        @media(max-width:560px){ .footer-news input[type=email]{ min-width:0; flex:1; } }
        .footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
        .footer-brand { max-width: 320px; }
        .footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
        .footer-brand p { color: var(--muted); font-size: 0.95rem; }
        .footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
        .footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 16px; font-weight: 700; }
        .footer-col a { display: block; color: var(--muted); margin-bottom: 10px; font-size: 0.95rem; transition: color .2s; }
        .footer-col a:hover { color: var(--orange); }
        /* ---- Logo theme swap (brand handover, 2026-10-30) ----
           The wordmark in the lockup is dark, so on a dark background it disappeared. Two files, and
           CSS picks the right one: no JavaScript, so it also works before any script runs and on the
           pages that load none. It covers all three states - an explicit choice via the toggle
           (data-theme), and the OS setting when nothing is saved.
           This replaced a CSS `content: url()` swap on the footer image, which is not standard on an
           <img> and silently did nothing in Firefox, plus three separate copies of a JS src swap.
           The plain orange app icon needs no swap - it reads on either background. */
        .logo-dark { display: none; }
        [data-theme="dark"] .logo-light { display: none; }
        [data-theme="dark"] .logo-dark { display: inline-block; }
        @media (prefers-color-scheme: dark) {
            :root:not([data-theme="light"]) .logo-light { display: none; }
            :root:not([data-theme="light"]) .logo-dark { display: inline-block; }
        }

        /* Footer social buttons - white glyph on ink, square (radius 10). Brand system handover,
           marketing + SEO, 2026-10-30. The resting state is the ink button; orange is hover/focus.
           Four channels only, in order: Facebook, Instagram, LinkedIn, YouTube. Never recoloured per
           channel. Page stylesheets used to carry their own copy of these rules - those were deleted
           so this one is the only definition. */
        .footer-social { display: flex; gap: 12px; margin-top: 18px; }
        .footer-social a {
            width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
            background: var(--ink, #16161a); color: #fff; border: 0;
            transition: background .2s, transform .15s, box-shadow .2s;
        }
        .footer-social a:hover,
        .footer-social a:focus-visible {
            background: var(--orange, #ff6600); color: #fff;
            transform: translateY(-2px); box-shadow: 0 6px 14px rgba(255,102,0,.25);
        }
        .footer-social a:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg, #fff), 0 0 0 6px rgba(255,102,0,.5); }
        .footer-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
        .footer-bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 0.88rem; }

        /* Slim footer variant (auth/utility pages: login, register, ...) - see _RedesignFooterMinimal.cshtml */
        footer.site-footer.footer-minimal { flex-shrink: 0; padding: 30px 0; }
        .footer-minimal .footer-bottom { margin-top: 0; padding-top: 0; border-top: none; align-items: center; }
        .footer-minimal .fb-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .footer-minimal .footer-bottom img { height: 22px; width: auto; }
        .footer-minimal .footer-bottom a:hover { color: var(--orange); }
        .footer-minimal .footer-social a { width: 34px; height: 34px; border-radius: 9px; }
        .footer-minimal .footer-social svg { width: 16px; height: 16px; }

        /* Notice/alert banner (form error or info messages) - shared by login/register */
        .auth-notice { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; font-size: 0.92rem; font-weight: 600; text-align: center; }
        .auth-notice.is-error { background: rgba(224,57,139,0.1); color: #e0398b; border: 1px solid rgba(224,57,139,0.28); }
        .auth-notice.is-info { background: var(--orange-soft); color: var(--orange); border: 1px solid rgba(255,102,0,0.28); }
        @media (max-width: 560px) { .footer-minimal .footer-bottom { justify-content: center; text-align: center; } }

        /* Reveal animation */
        .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
        .reveal.in { opacity: 1; transform: none; }

        /* Mobile menu */
        .mobile-menu { position: fixed; inset: 0; z-index: 1100; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); display: none; flex-direction: column; padding: 28px 24px; }
        .mobile-menu.open { display: flex; }
        .mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
        .mobile-menu .mm-top img { height: 28px; }
        .mobile-menu a { font-size: 1.4rem; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
        .mobile-menu .mm-close { background: none; border: none; color: var(--ink); cursor: pointer; }
        .mobile-menu .mm-close .material-icons { font-size: 32px; }

        /* jQuery UI autocomplete light styling */
        .ui-autocomplete { background: #fff !important; border: 1px solid var(--line-2) !important; border-radius: 12px !important; box-shadow: var(--shadow) !important; padding: 6px !important; z-index: 2000 !important; max-height: 360px; overflow-y: auto; }
        .ui-autocomplete .ui-menu-item a, .ui-autocomplete .ui-menu-item { color: var(--ink) !important; border: none !important; border-radius: 8px !important; }
        .autocomplete-item-rich { display: flex !important; align-items: center; gap: 12px; padding: 8px 10px !important; }
        .autocomplete-img-wrap, .autocomplete-thumb, .autocomplete-thumb-placeholder { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
        .autocomplete-thumb-placeholder { display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--muted); }
        .autocomplete-type-badge { margin-left: auto; font-size: 0.72rem; color: var(--muted); background: var(--bg-soft); padding: 3px 9px; border-radius: 999px; }
        .ui-autocomplete .ui-state-hover, .ui-autocomplete .ui-state-focus, .ui-autocomplete .ui-menu-item a:hover { background: var(--bg-soft) !important; }
        /* Theme toggle button */
        html { transition: background .3s ease; }
        body, header.nav, .stat, .quote-card, .price-card, .partner-cell, .search-box, .search-tabs, .media-card, .btn, .hero, .final-cta, footer.site-footer, .stats, .pricing, .faq-item { transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease; }
        .theme-toggle {
            width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2);
            background: var(--bg); color: var(--ink-2); cursor: pointer; display: flex;
            align-items: center; justify-content: center; transition: all .2s;
        }
        .theme-toggle:hover { border-color: var(--orange); color: var(--orange); }
        .theme-toggle .material-icons { font-size: 21px; }
        .mm-theme {
            display: flex; align-items: center; gap: 10px; background: none; border: none; cursor: pointer;
            color: var(--ink); font-family: inherit; font-size: 1.4rem; font-weight: 700; padding: 16px 0; text-align: left;
        }
        .mm-theme .material-icons { color: var(--orange); }

        /* ============ DARK THEME ============ */
        [data-theme="dark"] {
            --bg: #0c0d11;
            --bg-soft: #131419;
            --bg-tint: #16120e;
            --line: rgba(255,255,255,0.09);
            --line-2: rgba(255,255,255,0.16);
            --ink: #f2f3f6;
            --ink-2: #c8cad2;
            --muted: #9a9da6;
            --muted-2: #71747e;
            --orange-soft: rgba(255,102,0,0.18);
            --green-soft: rgba(31,157,85,0.18);
            --card: #15161c;
            --shadow-sm: 0 2px 12px rgba(0,0,0,0.4);
            --shadow: 0 18px 50px rgba(0,0,0,0.55);
            --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
        }
        [data-theme="dark"] body { background: var(--bg); }
        [data-theme="dark"] header.nav { background: rgba(12,13,17,0.72); }
        [data-theme="dark"] header.nav.scrolled { background: rgba(12,13,17,0.92); }
        [data-theme="dark"] .mobile-menu { background: rgba(12,13,17,0.98); }
        [data-theme="dark"] .theme-toggle,
        [data-theme="dark"] .ui-autocomplete { background: var(--bg-soft) !important; }
        /* The social buttons get their own dark treatment below - an !important here would beat it. */
        /* Dark mode: the ink button would vanish on the dark page, so it uses the card surface with a
           hairline instead (brand system handover, 2026-10-30). */
        [data-theme="dark"] .footer-social a { background: #15161c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
        [data-theme="dark"] .footer-social a:hover,
        [data-theme="dark"] .footer-social a:focus-visible { background: var(--orange, #ff6600); box-shadow: 0 6px 14px rgba(255,102,0,.25); }
        [data-theme="dark"] .ui-autocomplete .ui-menu-item a,
        [data-theme="dark"] .ui-autocomplete .ui-menu-item { color: var(--ink) !important; }
        [data-theme="dark"] .ui-autocomplete .ui-state-hover,
        [data-theme="dark"] .ui-autocomplete .ui-menu-item a:hover { background: rgba(255,255,255,0.06) !important; }

/* profile-header-footer.css - chrome for the logged-in dashboard header/footer
   (_RedesignHeaderLogged.cshtml / _RedesignFooterLogged.cshtml). Loads after redesign-core.css,
   which already supplies header.nav/.nav-inner/.brand/.footer-grid/.footer-brand/.footer-social/
   .footer-col/.mobile-menu/.theme-toggle/.reveal - this file adds the mega menus, user avatar
   dropdown and favourites panel that the marketing header (_RedesignHeader.cshtml) doesn't have.
   Extracted from redesign/startpage-redesign-kopi.html. */

/* The dropdown panels below are positioned relative to .nav-inner (not header.nav) so they line
   up with the actual right edge of the visible nav content instead of the fixed header's full
   viewport-wide edge (which drifts far right of the user-chip/fav button on wide screens once
   .container's max-width leaves empty space on either side). */
#site-header .nav-inner { position: relative; }

.nav-links { display: flex; align-items: center; gap: 6px; }
/* 6px is right for the app header, whose items are padded .nav-btn pills. The PUBLIC header puts
   plain text links (a.link) in the same container, and this file loads after redesign-core.css in
   the core-css bundle - so its 28px gap lost and the landing menu read as one long word
   (client, 2026-09-24). Give those links their spacing back. */
.nav-links a.link + a.link { margin-left: 22px; }
.nav-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border: none; background: none;
    border-radius: 9px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.95rem;
    color: var(--ink-2); transition: background var(--dur-2), color var(--dur-2);
}
.nav-btn:hover, .nav-btn.active { color: var(--orange); background: var(--orange-soft); }
.nav-btn .material-icons { font-size: 19px; transition: transform var(--dur-2) var(--ease-out); }
.nav-btn .lead-ic { font-size: 20px; color: var(--muted); margin-right: 3px; transition: color var(--dur-2); }
.nav-btn:hover .lead-ic, .nav-btn.active .lead-ic { color: var(--orange); }
.nav-btn.active .material-icons.arrow { transform: rotate(180deg); }

/* Quick search (real /Home/GetAllEntitiesAndPersons lookup - see profile-header.js). Sits between
   the nav links and the avatar/favourites icons; margin-left:auto absorbs the row's free space so
   it and .nav-cta stay flush against the right edge regardless of how many nav-links there are. */
.nav-search-box {
    position: relative;
    margin-left: auto;
    margin-right: 14px;
    display: flex; align-items: center; gap: 6px;
    width: 200px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    padding: 7px 7px 7px 14px;
    transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), width var(--dur-2) var(--ease-out);
}
.nav-search-box:hover { border-color: var(--muted-2); }
.nav-search-box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); width: 260px; }
.nav-search-box > .material-icons { font-size: 19px; color: var(--muted-2); flex: 0 0 auto; }
.nav-search-box:focus-within > .material-icons { color: var(--orange); }
.nav-search-box input[type="search"] {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font-family: inherit; font-size: 0.9rem; color: var(--ink); padding: 4px 0;
}
.nav-search-box input::placeholder { color: var(--muted-2); }
.nav-search-box input::-webkit-search-cancel-button { display: none; }
.nav-search-box button {
    flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px;
    border: none; border-radius: 50%; background: var(--orange); color: #fff; cursor: pointer;
    transition: background var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.nav-search-box button .material-icons { font-size: 16px; }
.nav-search-box button:hover { background: var(--orange-2); transform: scale(1.06); }
[data-theme="dark"] .nav-search-box { background: var(--bg-soft); }

.nav-search-results {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 6px; max-height: 380px; overflow-y: auto; z-index: 1001;
}
.nav-search-results.show { display: block; }
.nav-search-results .nsr-status { padding: 14px 12px; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.nav-search-results .nsr-item {
    display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px;
    color: var(--ink); transition: background .15s;
}
.nav-search-results .nsr-item:hover, .nav-search-results .nsr-item.active { background: var(--bg-soft); }
[data-theme="dark"] .nav-search-results .nsr-item:hover, [data-theme="dark"] .nav-search-results .nsr-item.active { background: rgba(255,255,255,0.06); }
.nsr-thumb {
    width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; overflow: hidden;
    background: var(--bg-soft); display: grid; place-items: center; color: var(--muted-2);
}
.nsr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nsr-thumb .material-icons { font-size: 18px; }
.nsr-meta { min-width: 0; flex: 1; }
.nsr-name { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsr-type {
    flex: 0 0 auto; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--orange); background: var(--orange-soft); padding: 3px 9px; border-radius: 999px;
}
@media (max-width: 1180px) { .nav-search-box { width: 170px; } .nav-search-box:focus-within { width: 230px; } }
@media (max-width: 1000px) { .nav-search-box { margin-left: 0; } }
/* .nav-inner is a fixed-height single row (see redesign-core.css), so there is no room to wrap
   the search box onto its own line at narrow widths - hide it and rely on the hamburger menu,
   same as .nav-links already does at the 1000px breakpoint above. */
@media (max-width: 640px) { .nav-search-box { display: none; } }

/* ===== Search box is now a trigger button that opens the AI search modal ===== */
.nav-search-trigger { cursor: pointer; text-align: left; font-family: inherit; }
.nav-search-trigger .nav-search-ph {
    flex: 1; min-width: 0; color: var(--muted-2); font-size: 0.9rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 4px 0;
}
.nav-search-trigger .nav-search-go {
    flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--orange); color: #fff;
    transition: background var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.nav-search-trigger .nav-search-go .material-icons { font-size: 16px; }
.nav-search-trigger:hover .nav-search-go { background: var(--orange-2); transform: scale(1.06); }

/* ===== AI Search modal overlay (same live suggestions as the landing hero) ===== */
.nav-search-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(22,22,26,.45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 9vh 24px 24px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
.nav-search-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
/* The modal is a transparent wrapper - the hosted VIP AI Search card (.vip-ai .ai-card) provides
   the visual surface, so its look stays identical to the dashboard hero. */
.nav-search-modal {
    position: relative;
    width: 100%; max-width: 860px;
    transform: translateY(14px) scale(.985);
    transition: transform var(--dur-2) var(--ease-out);
}
.nav-search-overlay.open .nav-search-modal { transform: translateY(0) scale(1); }
.nav-search-modal .vip-ai { max-width: none; }
.nav-search-modal .vip-ai .ai-card { padding: 30px 34px; }
.nsm-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    display: grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); color: var(--muted);
    cursor: pointer; transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.nsm-close:hover { color: var(--orange); border-color: var(--orange); transform: rotate(90deg); }
.nsm-close .material-icons { font-size: 20px; }
/* Give the AI results room to scroll inside the overlay */
.nav-search-modal .vip-ai .ai-results { max-height: 52vh; overflow-y: auto; }
@media (max-width: 640px) {
    .nav-search-modal .vip-ai .ai-card { padding: 22px 18px; }
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2);
    background: var(--bg); color: var(--ink-2); cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: all .2s;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.icon-btn .material-icons { font-size: 20px; }
[data-theme="dark"] .icon-btn { background: var(--bg-soft); }

/* User chip + dropdown */
.user-chip {
    display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 7px;
    border: 1.5px solid var(--orange); border-radius: 999px; background: var(--bg); cursor: pointer;
    font-family: inherit; font-weight: 700; font-size: 0.9rem; color: var(--ink);
    transition: box-shadow .2s, background .2s;
}
.user-chip:hover { box-shadow: 0 0 0 3px var(--orange-soft); }
[data-theme="dark"] .user-chip { background: var(--bg-soft); }
.user-chip .avatar {
    width: 29px; height: 29px; border-radius: 50%; background: var(--orange); color: #fff;
    display: grid; place-items: center; font-size: 0.78rem; font-weight: 800;
}
.user-chip .material-icons { font-size: 18px; color: var(--muted-2); }
@media (max-width: 640px) { .user-chip .name { display: none; } }

/* FREE-tier chip badge + "Upgrade to PRO" CTA in the logged-in header */
.user-chip .name .plan-tag {
    margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 0.6rem; font-weight: 800;
    letter-spacing: 0.04em; background: var(--bg-soft); color: var(--muted); vertical-align: middle;
}
.nav-upgrade { background: var(--orange); color: #fff; border: 1.5px solid var(--orange); }
.nav-upgrade:hover { filter: brightness(1.05); }

.user-panel {
    position: absolute; top: calc(100% - 6px); right: 0; width: 240px;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 10px; z-index: 1001;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
    /* header.nav has backdrop-filter:blur() + is position:fixed; without a promoted compositing
       layer here, the browser has to recomposite the blurred region every frame of this panel's
       own opacity/transform transition, which shows up as a visible flicker on open (Chrome/Edge
       on Windows especially). will-change pre-promotes the panel to its own layer. */
    will-change: opacity, transform;
}
[data-theme="dark"] .user-panel { background: var(--bg-soft); }
.user-panel.open { opacity: 1; visibility: visible; transform: none; }
.user-panel a {
    display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 11px;
    font-weight: 600; font-size: 0.98rem; color: var(--ink-2); transition: background .15s, color .15s;
}
.user-panel a:hover { background: var(--bg-soft); color: var(--orange); }
[data-theme="dark"] .user-panel a:hover { background: rgba(255,255,255,0.06); }
.user-panel a .material-icons { font-size: 20px; color: var(--muted-2); }
.user-panel a:hover .material-icons { color: var(--orange); }
.user-panel .sep { height: 1px; background: var(--line); margin: 8px 8px; }
/* Theme toggle relocated here from the top-level icon row (see .nav-search-box above - freeing
   that slot keeps the nav from wrapping to 2 lines once the search box is focused/expanded).
   Same visual recipe as .user-panel a, just on a <button> since it doesn't navigate anywhere. */
.user-panel button.theme-row {
    display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 11px;
    font-weight: 600; font-size: 0.98rem; color: var(--ink-2); transition: background .15s, color .15s;
    width: 100%; border: none; background: none; cursor: pointer; font-family: inherit; text-align: left;
}
.user-panel button.theme-row:hover { background: var(--bg-soft); color: var(--orange); }
[data-theme="dark"] .user-panel button.theme-row:hover { background: rgba(255,255,255,0.06); }
.user-panel button.theme-row .material-icons { font-size: 20px; color: var(--muted-2); }
.user-panel button.theme-row:hover .material-icons { color: var(--orange); }

.fav-panel { width: 340px; padding: 14px; }
.fav-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.98rem; color: var(--ink); margin-bottom: 12px; }
.fav-head .material-icons { font-size: 19px; color: var(--orange); }
.fav-close {
    margin-left: auto; width: 30px; height: 30px; border: none; border-radius: 8px;
    background: none; color: var(--muted-2); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.fav-close:hover { background: var(--bg-soft); color: var(--ink); }
[data-theme="dark"] .fav-close:hover { background: rgba(255,255,255,0.06); }
.fav-close .material-icons { font-size: 20px; color: inherit; }
.fav-panel .vip-select { margin-bottom: 8px; }
.fav-panel .row-item { min-height: 54px; padding: 7px 0; }
.fav-panel .row-item a { padding: 0; }
.fav-panel .row-item a:hover { background: none; }

/* Mega menu panels */
.mega-panel {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
    will-change: opacity, transform;
}
.mega-panel.open { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: flex; align-items: stretch; gap: 0; padding: 34px 0 38px; }
.mega-col { flex: 1; min-width: 0; padding: 0 26px; }
.mega-col:first-child { padding-left: 0; }
/* Vertical rule between mega columns (matches the navbar template) */
.mega-divider { flex: 0 0 auto; width: 1px; background: var(--line); align-self: stretch; margin: 4px 0; }
.mega-col h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mega-col h3 a:hover { color: var(--orange); }
.mega-ic {
    width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange);
    display: grid; place-items: center; margin-bottom: 14px;
}
.mega-ic .material-icons { font-size: 23px; }
.mega-col ul { list-style: none; padding: 0; margin: 8px 0 0; }
.mega-col ul li a {
    display: flex; align-items: center; gap: 6px; padding: 5px 0; color: var(--muted);
    font-size: 0.93rem; font-weight: 500; transition: color .2s;
}
.mega-col ul li a:hover { color: var(--orange); }
.mega-col ul li a .cnt { margin-left: auto; padding-left: 12px; font-size: 0.78rem; font-weight: 700; color: var(--muted-2); transition: color .2s; }
.mega-col ul li a:hover .cnt { color: var(--orange); }
.mega-count {
    margin-top: 12px; display: inline-block; font-size: 0.76rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange);
    background: var(--orange-soft); padding: 4px 11px; border-radius: 999px;
}
.mega-callout {
    flex: 0 0 250px; margin-left: 26px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; display: flex; flex-direction: column; align-self: start;
}
.mega-callout h4 { font-size: 0.98rem; margin-bottom: 8px; }
.mega-callout p { color: var(--muted); font-size: 0.88rem; margin: 0 0 14px; line-height: 1.5; }
.mega-callout a.co-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 0.9rem; color: var(--orange); }
.mega-callout a.co-link .material-icons { font-size: 17px; }

@media (max-width: 1000px) {
    .nav-links { display: none; }
    .mega-grid { flex-wrap: wrap; }
    .mega-col { flex: 1 1 45%; }
    .mega-divider { display: none; }
}

/* Subscription status pill - used in both the dashboard hero and the footer */
.status-pill {
    display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
    background: var(--green-soft); color: var(--green);
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted-2); font-size: 0.85rem; }
.footer-bottom .user-status { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

