/* 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'
(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'
(162,39): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(164,108): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(165,53): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(166,43): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(168,78): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(168,183): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(168,201): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(169,53): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(169,80): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(171,90): run-time error CSS1039: Token not allowed after unary operator: '-line'
(171,185): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(178,62): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(185,49): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(185,76): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(197,110): run-time error CSS1039: Token not allowed after unary operator: '-line'
(197,130): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(198,78): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(202,80): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(202,150): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(203,88): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(206,121): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(206,144): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(207,87): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(207,113): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(208,135): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(213,84): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(214,30): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(214,48): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(217,50): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(217,72): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(221,25): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(223,49): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(227,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(228,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(229,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(230,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(231,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(232,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(233,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(234,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(235,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(236,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(237,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(238,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(239,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(240,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(241,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(243,53): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(249,65): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(251,74): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(272,17): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(272,54): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(272,74): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(274,47): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(274,74): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(275,72): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(275,85): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(276,50): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(276,101): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(277,65): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(289,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(290,28): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(293,35): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(293,48): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(293,76): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(293,89): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(293,112): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(293,125): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(295,44): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(296,51): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(296,88): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(297,66): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(298,62): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(301,58): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(303,50): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(307,56): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(308,33): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(308,46): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(308,73): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(308,86): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(311,49): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(312,56): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(317,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(317,51): run-time error CSS1039: Token not allowed after unary operator: '-line'
(317,79): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(318,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(321,67): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(324,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(326,94): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(330,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(330,81): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(338,17): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(338,44): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(350,40): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(355,42): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(356,33): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(356,46): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(356,73): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(356,86): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(359,61): run-time error CSS1039: Token not allowed after unary operator: '-orange-2'
(369,30): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(369,43): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(369,71): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(378,32): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(378,45): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(386,28): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(386,75): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(386,93): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(387,45): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(387,58): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(387,88): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(387,101): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(387,128): run-time error CSS1039: Token not allowed after unary operator: '-dur-1'
(387,141): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(389,32): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(389,61): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(399,76): run-time error CSS1039: Token not allowed after unary operator: '-line-2'
(400,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(400,40): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(403,38): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(403,60): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(405,50): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(410,30): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(410,79): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(411,76): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(414,47): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(415,51): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(417,69): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(420,59): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(426,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(426,69): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(428,33): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(428,81): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(433,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(433,51): run-time error CSS1039: Token not allowed after unary operator: '-line'
(433,79): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(434,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(436,30): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(436,43): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(436,70): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(436,83): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(436,111): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(443,52): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(447,55): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(449,40): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(449,63): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(451,62): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(452,51): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(453,50): run-time error CSS1039: Token not allowed after unary operator: '-line'
(459,55): run-time error CSS1039: Token not allowed after unary operator: '-ink-2'
(462,55): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(462,78): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(464,77): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(465,66): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(468,109): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(469,58): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(472,35): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(475,37): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(475,60): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(486,22): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(486,58): run-time error CSS1039: Token not allowed after unary operator: '-line'
(486,83): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(488,30): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(488,43): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(488,70): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(488,83): run-time error CSS1039: Token not allowed after unary operator: '-ease-out'
(488,111): run-time error CSS1039: Token not allowed after unary operator: '-dur-2'
(496,62): run-time error CSS1039: Token not allowed after unary operator: '-line'
(498,36): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(500,70): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(500,97): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(506,79): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(509,39): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(510,115): run-time error CSS1039: Token not allowed after unary operator: '-muted-2'
(511,44): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(514,68): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(515,22): run-time error CSS1039: Token not allowed after unary operator: '-orange-soft'
(519,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-soft'
(519,56): run-time error CSS1039: Token not allowed after unary operator: '-line'
(519,84): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(523,31): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(524,129): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(538,22): run-time error CSS1039: Token not allowed after unary operator: '-green-soft'
(538,48): run-time error CSS1039: Token not allowed after unary operator: '-green'
(540,83): run-time error CSS1039: Token not allowed after unary operator: '-green'
(541,82): run-time error CSS1039: Token not allowed after unary operator: '-line'
(541,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: #fff; 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; }
        /* Dark mode: the horizontal logo's wordmark is dark, so swap to the white-wordmark variant on the dark footer. */
        [data-theme="dark"] .footer-brand img,
        [data-theme="dark"] .footer-minimal .fb-left img { content: url("/Content/landing/global/vip-app-icon-url-horizontal-dark.svg"); }
        .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); }
        .footer-social { display: flex; gap: 12px; margin-top: 18px; }
        .footer-social a { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; transition: all .2s; background: var(--bg); color: var(--muted); }
        .footer-social a:hover { border-color: var(--orange); background: var(--orange); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(255,102,0,.25); }
        .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"] .footer-social a,
        [data-theme="dark"] .ui-autocomplete { background: var(--bg-soft) !important; }
        [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; }
.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; }

