/* ARIVL colour lock (25 Nov 2026)
   Samsung Internet's forced dark mode repaints CSS colours (orange -> dark red, black text -> white)
   and ignores color-scheme. It does not touch the numbers inside an SVG colour-matrix filter, so each
   brand colour below is produced by a filter that outputs one fixed colour whatever the browser painted.
   Light mode renders identically. Filters are defined inline at the top of <body> in index.html. */

/* 1. Orange blocks: the orange is drawn by a ::before layer behind the content */
.hero-v3,.story-block.arrival,section.earned,.live-note-icon,#waitlist-form button.button{background:transparent!important;position:relative;isolation:isolate}
/* inline highlight: keep the original paint order (covers the line above, sits under the line below) */
.whole h2{position:relative;isolation:isolate}
.whole h2>span{background:transparent!important;position:relative;z-index:0}
.whole h2>.cl-line{font-style:inherit;position:relative}
.hero-v3::before,.story-block.arrival::before,section.earned::before,.whole h2>span::before,.live-note-icon::before,#waitlist-form button.button::before{content:'';position:absolute;inset:0;z-index:-1;background:#ff5a1f;border-radius:inherit;filter:url(#cl-o);pointer-events:none}
.hero-v3::before{display:block}
.cl-ink{background:transparent!important;color:#000;filter:url(#cl-k);position:static}
.cl-ink::before{content:none!important}

/* 2. Dark text that sits on the orange blocks */
.hero-v3 .entry-tag,.hero-v3 .hero-link{filter:url(#cl-k11)}
.hero-v3 h1,.hero-v3 .hero-v3-product{filter:url(#cl-k09)}
.hero-v3 .lead,.hero-v3 .community{filter:url(#cl-k17)}
.hero-v3 .rival,.arrival .arrival-copy>.label,.arrival .arrival-copy>h2,.arrival .arrival-copy>p,.earned .label,.earned h2,.earned p{filter:url(#cl-k)}

/* 3. Orange text, borders and icons on black */
.site-nav a[aria-current=page],.header-button,.journey-nav a[href="#join"],.num,.label,.why .emphasis,.why-frame::before,
.story-block:not(.arrival) h2>span,.outline-action,.control-num,.tour-cta,.feature-icon svg,.arrival-cross,.grit-weights strong,.grit-word,
.fine a,.footer .rival,.footer>.wrap>a[href^="mailto:"],.control-heading h2>span,.social-heading h2>span{filter:url(#cl-o)}
.story-block.whole h2>span,.story-block.habits h2>span{filter:none}
/* labels that are black by design sit on light sections: leave them with the section */
.beliefs .label,.screens .label,.whole .label,.habits .label{filter:none}
.live-session .label{filter:url(#cl-d9)}
.waitlist-status:not(.success){filter:url(#cl-st)}
/* hover fills the outline button orange with black text: let the original colours show on hover */
.outline-action:hover{filter:none}
