/* ============================================================================
   ITX UserOps — v3
   ----------------------------------------------------------------------------
   A point of view, not a template. Three rules the system obeys:

   1. CHAPTERS, NOT SECTIONS. The page moves between two grounds — ink (near
      black) and paper (warm off-white). Product surfaces stay light on both,
      so they read as objects sitting on the page rather than parts of it.
   2. THE PRODUCT MOVES, THE PAGE DOES NOT. Motion is spent on things that
      show the software working. Everything else arrives once and stays still.
   3. MONO IS THE VOICE OF THE MACHINE. Labels, counts, timestamps, states —
      anything the software itself would say — is set in mono. Prose is not.

   No gradients. No glows. No tinted icon tiles. No pill buttons. No pure
   black or white. Every easing curve is custom.
   ========================================================================== */

:root {
	--ink:        #0b0c0f;
	--ink-2:      #14161b;
	--ink-3:      #1c1f26;
	--paper:      #faf9f6;
	--paper-2:    #f1f0ea;

	--on-ink:     #f6f6f4;
	--on-ink-2:   rgba(246, 246, 244, .66);
	--on-ink-3:   rgba(246, 246, 244, .42);
	--rule-ink:   rgba(246, 246, 244, .14);

	--on-paper:   #16181d;
	--on-paper-2: #4a4e58;
	--on-paper-3: #797e8a;
	--rule:       #e2e0d9;
	--rule-2:     #c9c6bd;

	/* Signal — the online dot. The only colour that means anything. */
	--sig:        #00d6a4;
	--sig-deep:   #00775e;
	--sig-wash:   rgba(0, 214, 164, .13);
	--alert:      #ff4b3e;
	--alert-deep: #c3271b;
	--alert-wash: rgba(255, 75, 62, .11);
	--warn:       #b47500;

	--display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--body:    "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
	--mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--e-out:   cubic-bezier(.16, 1, .3, 1);
	--e-quart: cubic-bezier(.25, 1, .5, 1);
	--e-inout: cubic-bezier(.87, 0, .13, 1);

	--gut: clamp(1.25rem, 4vw, 3rem);
	--max: 1240px;
}

/* ---------------------------------------------------------------- ground -- */

body.itxuo-v3 {
	background: var(--paper);
	color: var(--on-paper);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.itxuo-v3 .itxuo-lp-promo { display: none; }
body.itxuo-v3 #brx-content { background: var(--paper); }
body.itxuo-v3 ::selection { background: var(--sig); color: #06251d; }
body.itxuo-v3 a:focus-visible,
body.itxuo-v3 button:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 2px; }

/* The header takes the colour of whatever chapter is under it. */
body.itxuo-v3 #brx-header { background: transparent; }
body.itxuo-v3 #brxe-d3pzv1 {
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	border-bottom: 1px solid var(--rule);
	transition: background-color .5s var(--e-out), border-color .5s var(--e-out);
}
body.itxuo-v3.is-on-ink #brxe-d3pzv1 {
	background: color-mix(in srgb, var(--ink) 86%, transparent);
	border-bottom-color: var(--rule-ink);
}
body.itxuo-v3.is-on-ink #brxe-d3pzv1 a,
body.itxuo-v3.is-on-ink #brxe-d3pzv1 .brx-submenu-toggle > *,
body.itxuo-v3.is-on-ink #brxe-d3pzv1 .brx-submenu-toggle button,
body.itxuo-v3.is-on-ink #brxe-d3pzv1 .itxuo-account { color: var(--on-ink) !important; }
body.itxuo-v3.is-on-ink #brxe-d3pzv1 .brxe-button.bricks-button:not(.outline) { background: var(--on-ink) !important; color: var(--ink) !important; border-color: var(--on-ink) !important; }
body.itxuo-v3.is-on-ink #brxe-d3pzv1 .brxe-button.bricks-button.outline { border-color: var(--rule-ink) !important; color: var(--on-ink) !important; }
body.itxuo-v3.is-on-ink #brxe-d3pzv1 .brxe-toggle-mode i { color: var(--on-ink) !important; }

/* --------------------------------------------------------------- layout -- */

.v3-chapter { position: relative; }
.v3-chapter--ink { background: var(--ink); color: var(--on-ink); }
.v3-chapter--paper { background: var(--paper); color: var(--on-paper); }
.v3-chapter--paper2 { background: var(--paper-2); color: var(--on-paper); }
.v3-pad { padding-block: clamp(4.5rem, 10vw, 9rem); }
.v3-pad-sm { padding-block: clamp(3rem, 6vw, 5rem); }
.v3-pad-t0 { padding-block-start: 0; }
.v3-pad-b0 { padding-block-end: 0; }
.v3-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
.v3-wrap--wide { max-width: 1480px; }
.v3-wrap--read { max-width: 52rem; }

/* Editorial section head: mono index left, statement right. */
.v3-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.25rem, 4vw, 4rem); align-items: start; }
.v3-head__side { padding-top: .55rem; }
.v3-index {
	font-family: var(--mono); font-size: .71rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--on-paper-3); margin: 0; display: flex; align-items: center; gap: .7rem;
}
.v3-chapter--ink .v3-index { color: var(--on-ink-3); }
.v3-index::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .55; flex: none; }
@media (max-width: 860px) { .v3-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

.v3-rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.v3-chapter--ink .v3-rule { background: var(--rule-ink); }

/* ----------------------------------------------------------- typography -- */

.v3-d1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.85rem, 7.2vw, 6.1rem); line-height: .97; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.v3-d2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.v3-d3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.16; letter-spacing: -.02em; margin: 0 0 .55rem; }
.v3-d4 { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -.012em; line-height: 1.3; margin: 0 0 .3rem; }
.v3-lede { font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.5; color: var(--on-paper-2); margin: 1.4rem 0 0; max-width: 36rem; }
.v3-chapter--ink .v3-lede { color: var(--on-ink-2); }
.v3-p { font-size: 1rem; line-height: 1.68; color: var(--on-paper-2); margin: 0 0 1rem; max-width: 40rem; }
.v3-chapter--ink .v3-p { color: var(--on-ink-2); }
.v3-p:last-child { margin-bottom: 0; }
.v3-p a, .v3-lede a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.v3-p a:hover { color: var(--sig-deep); text-decoration-color: currentColor; }
.v3-chapter--ink .v3-p a:hover { color: var(--sig); }
.v3-em { color: var(--on-paper); font-weight: 500; }
.v3-chapter--ink .v3-em { color: var(--on-ink); }
.v3-mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
.v3-code { font-family: var(--mono); font-size: .84em; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; padding: .1em .38em; }
.v3-chapter--ink .v3-code { background: var(--ink-3); border-color: var(--rule-ink); }
.v3-sig { color: var(--sig-deep); }
.v3-chapter--ink .v3-sig { color: var(--sig); }
.v3-strike { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--on-paper-3); }
.v3-chapter--ink .v3-strike { color: var(--on-ink-3); }

/* -------------------------------------------------------------- buttons -- */

.v3-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 2.1rem; }
.v3-btn {
	--btn-bg: var(--on-paper); --btn-fg: var(--paper); --btn-bd: var(--on-paper);
	position: relative; display: inline-flex; align-items: center; gap: .55rem;
	font-family: var(--body); font-size: .95rem; font-weight: 600; line-height: 1;
	padding: 1.05rem 1.5rem; border-radius: 4px; border: 1px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer;
	overflow: hidden; isolation: isolate; white-space: nowrap;
	transition: color .45s var(--e-out), border-color .45s var(--e-out);
}
.v3-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sig); transform: translateY(101%); transition: transform .5s var(--e-out); }
.v3-btn:hover::after, .v3-btn:focus-visible::after { transform: translateY(0); }
.v3-btn:hover, .v3-btn:focus-visible { color: #06251d; border-color: var(--sig); }
.v3-btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-paper); --btn-bd: var(--rule-2); }
.v3-chapter--ink .v3-btn { --btn-bg: var(--on-ink); --btn-fg: var(--ink); --btn-bd: var(--on-ink); }
.v3-chapter--ink .v3-btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: var(--rule-ink); }
.v3-btn svg { width: 15px; height: 15px; flex: none; }
.v3-note { font-family: var(--mono); font-size: .73rem; letter-spacing: .03em; color: var(--on-paper-3); margin: 1rem 0 0; }
.v3-chapter--ink .v3-note { color: var(--on-ink-3); }

.v3-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .93rem; color: inherit; text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid currentColor; transition: gap .3s var(--e-out), color .3s var(--e-out); }
.v3-link:hover { gap: .75rem; color: var(--sig-deep); }
.v3-chapter--ink .v3-link:hover { color: var(--sig); }

/* ---------------------------------------------------------------- motion -- */

[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--e-out), transform .9s var(--e-out); transition-delay: var(--d, 0ms); }
.v3-rise { display: block; overflow: hidden; padding-bottom: .04em; }
.v3-rise > span { display: block; transform: translateY(106%); }
.is-loaded .v3-rise > span { transform: none; transition: transform 1.05s var(--e-out); transition-delay: var(--d, 0ms); }
.v3-fade { opacity: 0; transform: translateY(12px); }
.is-loaded .v3-fade { opacity: 1; transform: none; transition: opacity .85s var(--e-out), transform .85s var(--e-out); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
	[data-reveal], .v3-fade { opacity: 1 !important; transform: none !important; }
	.v3-rise > span { transform: none !important; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ======================================================= THE LIVE CONSOLE ==
   The signature moment: a working replica of the plugin's dashboard that
   offboards somebody while you watch. Real DOM, transform/opacity only.
   ========================================================================== */

.c-console {
	position: relative; background: #fff; color: #16181d;
	border-radius: 12px; border: 1px solid rgba(0, 0, 0, .1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 90px -30px rgba(0, 0, 0, .5);
	overflow: hidden; font-size: 13px; line-height: 1.45;
	container-type: inline-size;
}
.c-console__bar { display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; background: #f4f4f2; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.c-console__dots { display: flex; gap: 5px; }
.c-console__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d8d8d4; display: block; }
.c-console__title { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #7b7f88; }
.c-console__live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sig-deep); }
.c-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sig); flex: none; box-shadow: 0 0 0 0 rgba(0, 214, 164, .55); animation: c-pulse 2.4s var(--e-out) infinite; }
@keyframes c-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 214, 164, .5); } 70% { box-shadow: 0 0 0 7px rgba(0, 214, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 214, 164, 0); } }

.c-console__body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
@container (max-width: 720px) { .c-console__body { grid-template-columns: minmax(0, 1fr); } .c-console__side { border-left: 0 !important; border-top: 1px solid rgba(0,0,0,.08); } }

.c-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid rgba(0, 0, 0, .07); }
.c-stat { padding: .8rem .9rem; border-right: 1px solid rgba(0, 0, 0, .07); }
.c-stat:last-child { border-right: 0; }
.c-stat b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.c-stat span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: #85899220; color: #858992; margin-top: .35rem; }
.c-stat.is-alert b { color: var(--alert-deep); }

.c-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.c-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #858992; padding: .55rem .9rem; border-bottom: 1px solid rgba(0, 0, 0, .07); background: #fbfbfa; }
.c-table td { padding: .62rem .9rem; border-bottom: 1px solid rgba(0, 0, 0, .05); vertical-align: middle; }
.c-table tr:last-child td { border-bottom: 0; }
.c-row { transition: background-color .5s var(--e-out), opacity .5s var(--e-out); }
.c-row.is-target { background: #fffaf2; }
.c-row.is-done { opacity: .5; }
.c-who { display: flex; align-items: center; gap: .5rem; }
.c-av { width: 22px; height: 22px; border-radius: 50%; background: #e9e8e4; color: #6c7079; display: grid; place-items: center; font-family: var(--mono); font-size: 9px; font-weight: 500; flex: none; }
.c-who b { font-weight: 600; display: block; line-height: 1.25; }
.c-who span { color: #858992; font-size: 10.5px; font-family: var(--mono); }
.c-pill { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .45rem; border-radius: 3px; background: #eeedea; color: #6c7079; white-space: nowrap; }
.c-pill--live { background: var(--sig-wash); color: var(--sig-deep); }
.c-pill--off { background: var(--alert-wash); color: var(--alert-deep); }
.c-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.c-console__side { border-left: 1px solid rgba(0, 0, 0, .07); padding: .85rem .9rem; background: #fcfcfb; }
.c-side__title { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #858992; margin: 0 0 .6rem; display: flex; justify-content: space-between; }
.c-dev { display: flex; align-items: center; gap: .5rem; padding: .42rem 0; border-bottom: 1px solid rgba(0, 0, 0, .05); font-size: 11.5px; transition: opacity .45s var(--e-out), transform .45s var(--e-out); }
.c-dev:last-of-type { border-bottom: 0; }
.c-dev.is-killed { opacity: .28; transform: translateX(-6px); }
.c-dev.is-killed .c-dev__name { text-decoration: line-through; }
.c-dev__ic { width: 18px; height: 18px; color: #9a9ea6; flex: none; }
.c-dev__name { display: block; font-weight: 600; line-height: 1.2; }
.c-dev__meta { display: block; font-family: var(--mono); font-size: 9.5px; color: #858992; }

/* The action button the animation "clicks" */
.c-act { margin-top: .8rem; width: 100%; display: flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--body); font-size: 11.5px; font-weight: 600; padding: .55rem .7rem; border-radius: 5px; border: 1px solid var(--alert); color: var(--alert-deep); background: #fff; position: relative; overflow: hidden; }
.c-act.is-pressed { color: #fff; }
.c-act::before { content: ""; position: absolute; inset: 0; background: var(--alert); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--e-out); }
.c-act.is-pressed::before { transform: scaleX(1); }
.c-act span { position: relative; }

/* Log strip along the bottom — lines write themselves in */
.c-log { border-top: 1px solid rgba(0, 0, 0, .07); background: #0d0f13; color: #d7dae0; padding: .7rem .9rem; font-family: var(--mono); font-size: 11px; min-height: 92px; }
.c-log__line { display: flex; gap: .7rem; opacity: 0; transform: translateY(4px); padding: .14rem 0; }
.c-log__line.is-in { opacity: 1; transform: none; transition: opacity .4s var(--e-out), transform .4s var(--e-out); }
.c-log__t { color: #6d7480; flex: none; }
.c-log__m { color: #d7dae0; }
.c-log__m em { font-style: normal; color: var(--sig); }
.c-log__m i { font-style: normal; color: #ff8078; }

/* Cursor that moves across the console */
.c-cursor { position: absolute; width: 16px; height: 16px; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .3s var(--e-out), transform .85s var(--e-out); }
.c-cursor.is-on { opacity: 1; }
.c-cursor svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }

/* Toast confirming the run */
.c-toast { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 14px); opacity: 0; background: #16181d; color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; padding: .5rem .8rem; border-radius: 5px; z-index: 6; white-space: nowrap; }
.c-toast.is-in { opacity: 1; transform: translate(-50%, 0); transition: opacity .45s var(--e-out), transform .45s var(--e-out); }

/* Caption under the console */
.c-caption { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--on-ink-3); }
.c-caption span { display: inline-flex; align-items: center; gap: .4rem; }
.c-caption i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.c-replay { margin-left: auto; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.c-replay:hover { opacity: 1; color: var(--sig); }

/* ================================================== THE OPEN DOORS BLOCK ==
   Six ways in that survive a password change. They close one by one.
   ========================================================================== */

.d-doors { display: grid; gap: .5rem; margin-top: 2rem; }
.d-door {
	display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: .9rem;
	padding: .95rem 1.1rem; border: 1px solid var(--rule); border-radius: 6px; background: #fff;
	transition: border-color .5s var(--e-out), background-color .5s var(--e-out);
}
.v3-chapter--ink .d-door { background: var(--ink-2); border-color: var(--rule-ink); }
.d-door__n { font-family: var(--mono); font-size: .72rem; color: var(--on-paper-3); }
.v3-chapter--ink .d-door__n { color: var(--on-ink-3); }
.d-door__t { font-weight: 600; font-size: .98rem; }
.d-door__t span { display: block; font-weight: 400; font-size: .86rem; color: var(--on-paper-2); margin-top: .1rem; }
.v3-chapter--ink .d-door__t span { color: var(--on-ink-2); }
.d-door__s { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .5rem; border-radius: 3px; background: var(--alert-wash); color: var(--alert); white-space: nowrap; transition: background-color .5s var(--e-out), color .5s var(--e-out); }
.d-door.is-closed { border-color: color-mix(in srgb, var(--sig) 45%, transparent); }
.d-door.is-closed .d-door__s { background: var(--sig-wash); color: var(--sig); }
.d-door.is-closed .d-door__s::before { content: ""; }

/* ============================================== STICKY FEATURE SCROLLER ==
   Left: a list of acts. Right: the product frame that swaps as you scroll.
   ========================================================================== */

.s-scroller { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.s-list { display: grid; gap: 0; }
.s-item { padding: 1.5rem 0; border-top: 1px solid var(--rule); cursor: pointer; }
.v3-chapter--ink .s-item { border-color: var(--rule-ink); }
.s-item:first-child { border-top: 0; }
.s-item__head { display: flex; align-items: baseline; gap: .8rem; }
.s-item__n { font-family: var(--mono); font-size: .72rem; color: var(--on-paper-3); flex: none; }
.s-item__t { font-family: var(--display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--on-paper-3); transition: color .45s var(--e-out); }
.s-item.is-on .s-item__t { color: var(--on-paper); }
.s-item__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--e-out), opacity .45s var(--e-out); }
.s-item.is-on .s-item__body { grid-template-rows: 1fr; opacity: 1; }
.s-item__inner { overflow: hidden; }
.s-item__body p { margin: .7rem 0 0; font-size: .97rem; line-height: 1.6; color: var(--on-paper-2); max-width: 30rem; }
.s-item__body ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .35rem; }
.s-item__body li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--on-paper-2); }
.s-item__body li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--sig-deep); }
.s-item__body .v3-link { margin-top: .9rem; }
.s-item__bar { height: 2px; background: var(--rule); margin-top: 1rem; overflow: hidden; border-radius: 2px; display: none; }
.s-item.is-on .s-item__bar { display: block; }
.s-item__bar i { display: block; height: 100%; width: 100%; background: var(--sig-deep); transform-origin: left; transform: scaleX(0); }
.s-item.is-on .s-item__bar i { animation: s-fill 6s linear forwards; }
@keyframes s-fill { to { transform: scaleX(1); } }

.s-stage { position: sticky; top: 96px; }
.s-frame { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--rule-2); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 30px 60px -30px rgba(0,0,0,.35); aspect-ratio: 1800 / 1088; }
.s-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity .6s var(--e-out), transform .8s var(--e-out); }
.s-frame img.is-on { opacity: 1; transform: none; }
.s-stage__cap { font-family: var(--mono); font-size: .71rem; letter-spacing: .04em; color: var(--on-paper-3); margin: .8rem 0 0; }
@media (max-width: 900px) {
	.s-scroller { grid-template-columns: minmax(0, 1fr); }
	.s-stage { position: static; order: -1; margin-bottom: 1.5rem; }
	.s-item__body { grid-template-rows: 1fr; opacity: 1; }
	.s-item__t { color: var(--on-paper); }
	.s-item__bar { display: none !important; }
}

/* ==================================================== VERIFY / TRUST LIST ==
   Claims a buyer can check before they install. Our only honest proof.
   ========================================================================== */

.t-list { display: grid; gap: 0; margin-top: 2.5rem; }
.t-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 3vw, 3rem); padding: 1.4rem 0; border-top: 1px solid var(--rule); align-items: start; }
.v3-chapter--ink .t-item { border-color: var(--rule-ink); }
.t-item__c { font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; display: flex; gap: .7rem; align-items: baseline; }
.t-item__c i { font-family: var(--mono); font-size: .7rem; font-style: normal; color: var(--sig-deep); flex: none; }
.v3-chapter--ink .t-item__c i { color: var(--sig); }
.t-item__h { font-size: .95rem; line-height: 1.6; color: var(--on-paper-2); }
.v3-chapter--ink .t-item__h { color: var(--on-ink-2); }
.t-item__h code { font-family: var(--mono); font-size: .85em; background: var(--paper-2); padding: .1em .35em; border-radius: 3px; }
.v3-chapter--ink .t-item__h code { background: var(--ink-3); }
@media (max-width: 760px) { .t-item { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

/* ============================================================== MARQUEE ==
   What it replaces. Slow, single row, pauses on hover.
   ========================================================================== */

.m-marquee { overflow: hidden; padding: 1.2rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.m-track { display: flex; gap: 2.5rem; width: max-content; animation: m-scroll 46s linear infinite; }
.m-marquee:hover .m-track { animation-play-state: paused; }
@keyframes m-scroll { to { transform: translateX(-50%); } }
.m-chip { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .82rem; letter-spacing: .01em; color: var(--on-paper-3); white-space: nowrap; }
.v3-chapter--ink .m-chip { color: var(--on-ink-3); }
.m-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; }

/* ============================================================ DEMO CARDS ==
   Small live demonstrations of premium behaviour.
   ========================================================================== */

.x-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 2.5rem; }
@media (max-width: 820px) { .x-grid { grid-template-columns: minmax(0, 1fr); } }
.x-card { border: 1px solid var(--rule-ink); border-radius: 10px; background: var(--ink-2); padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; }
.v3-chapter--paper .x-card, .v3-chapter--paper2 .x-card { border-color: var(--rule); background: #fff; }
.x-card__k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); margin: 0 0 .7rem; }
.v3-chapter--paper .x-card__k, .v3-chapter--paper2 .x-card__k { color: var(--on-paper-3); }
.x-card__t { font-family: var(--display); font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .45rem; }
.x-card__p { font-size: .93rem; line-height: 1.6; color: var(--on-ink-2); margin: 0 0 1.2rem; }
.v3-chapter--paper .x-card__p, .v3-chapter--paper2 .x-card__p { color: var(--on-paper-2); }
.x-card__demo { margin-top: auto; }

/* Slack-style alert card */
.x-slack { background: #fff; color: #1d1c1d; border-radius: 8px; padding: .8rem .9rem; font-size: 12.5px; line-height: 1.45; border-left: 3px solid var(--alert); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.x-slack__h { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 12px; margin-bottom: .3rem; }
.x-slack__h time { font-weight: 400; color: #868a92; font-family: var(--mono); font-size: 10px; }
.x-slack__b strong { display: block; margin-bottom: .25rem; }
.x-slack ul { margin: .35rem 0 0; padding-left: 1rem; color: #4a4e58; }
.x-slack li { margin: .12rem 0; }
.x-slack__acts { display: flex; gap: .4rem; margin-top: .6rem; }
.x-slack__acts b { font-size: 10.5px; font-weight: 600; padding: .3rem .55rem; border-radius: 4px; border: 1px solid #d8d8d4; }
.x-slack__acts b:first-child { border-color: var(--alert); color: var(--alert-deep); }

/* Terminal card */
.x-term { background: #0d0f13; border: 1px solid var(--rule-ink); border-radius: 8px; padding: .85rem .95rem; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: #d7dae0; overflow: hidden; }
.x-term__l { display: block; white-space: nowrap; }
.x-term__l span { color: #6d7480; }
.x-term__l em { font-style: normal; color: var(--sig); }
.x-term__l i { font-style: normal; color: #ff8078; }
.x-term__l.is-hidden { opacity: 0; }

/* Counter row */
.n-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.v3-chapter--ink .n-row { border-color: var(--rule-ink); }
@media (max-width: 760px) { .n-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
.n-item b { display: block; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.n-item span { display: block; font-size: .88rem; color: var(--on-paper-2); margin-top: .5rem; max-width: 15rem; }
.v3-chapter--ink .n-item span { color: var(--on-ink-2); }

/* ============================================================== MATRIX ==
   The comparison table. Sticky header, grouped rows, no zebra stripes.
   ========================================================================== */

.k-matrix { margin-top: 2.5rem; }
.k-group { margin-top: 2.5rem; }
.k-group:first-child { margin-top: 0; }
.k-group__h { display: grid; grid-template-columns: minmax(0, 1fr) 92px 92px; gap: 1rem; align-items: center; padding: 0 0 .7rem; border-bottom: 1px solid var(--on-paper); }
.k-group__t { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.k-col { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-3); text-align: center; }
.k-row { display: grid; grid-template-columns: minmax(0, 1fr) 92px 92px; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.k-row:hover { background: color-mix(in srgb, var(--sig) 4%, transparent); }
.k-row__l { font-size: .95rem; line-height: 1.5; }
.k-row__l a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.k-row__l a:hover { color: var(--sig-deep); }
.k-exp { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); border: 1px solid currentColor; border-radius: 3px; padding: .05rem .3rem; margin-left: .4rem; white-space: nowrap; vertical-align: 1px; }
.k-mark { display: grid; place-items: center; }
.k-mark svg { width: 17px; height: 17px; color: var(--sig-deep); }
.k-mark--no { color: var(--rule-2); font-family: var(--mono); font-size: .9rem; }
@media (max-width: 700px) {
	.k-group__h, .k-row { grid-template-columns: minmax(0, 1fr) 54px 54px; gap: .5rem; }
	.k-row__l { font-size: .88rem; }
}

/* =============================================================== PLANS ==
   A ladder, not three identical cards. One licence, three site counts.
   ========================================================================== */

.p-toggle { display: inline-flex; align-items: center; gap: .2rem; padding: .25rem; border: 1px solid var(--rule-2); border-radius: 6px; background: #fff; }
.v3-chapter--ink .p-toggle { background: var(--ink-2); border-color: var(--rule-ink); }
.p-toggle button { font-family: var(--body); font-size: .84rem; font-weight: 600; padding: .5rem .95rem; border-radius: 4px; border: 0; background: transparent; color: var(--on-paper-3); cursor: pointer; transition: background-color .35s var(--e-out), color .35s var(--e-out); }
.v3-chapter--ink .p-toggle button { color: var(--on-ink-3); }
.p-toggle button.is-on { background: var(--on-paper); color: var(--paper); }
.v3-chapter--ink .p-toggle button.is-on { background: var(--on-ink); color: var(--ink); }
.p-toggle__save { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--sig-deep); margin-left: .7rem; }

.p-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; }
.v3-chapter--ink .p-plans { background: var(--ink-2); border-color: var(--rule-ink); }
@media (max-width: 900px) { .p-plans { grid-template-columns: minmax(0, 1fr); } }
.p-plan { padding: 1.9rem 1.6rem 1.7rem; border-right: 1px solid var(--rule); display: flex; flex-direction: column; position: relative; }
.v3-chapter--ink .p-plan { border-color: var(--rule-ink); }
.p-plan:last-child { border-right: 0; }
@media (max-width: 900px) { .p-plan { border-right: 0; border-bottom: 1px solid var(--rule); } }
.p-plan.is-featured { background: var(--paper-2); }
.v3-chapter--ink .p-plan.is-featured { background: var(--ink-3); }
.p-plan__tag { position: absolute; top: 0; right: 1.6rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--on-paper); color: var(--paper); padding: .3rem .55rem; border-radius: 0 0 4px 4px; }
.p-plan__n { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .2rem; }
.p-plan__for { font-size: .88rem; color: var(--on-paper-2); margin: 0 0 1.3rem; min-height: 2.6em; }
.v3-chapter--ink .p-plan__for { color: var(--on-ink-2); }
.p-price { display: flex; align-items: baseline; gap: .3rem; }
.p-price__c { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.p-price__v { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.p-price__p { font-family: var(--mono); font-size: .76rem; color: var(--on-paper-3); }
.p-plan__sites { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--on-paper-2); margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid var(--rule); }
.v3-chapter--ink .p-plan__sites { color: var(--on-ink-2); border-color: var(--rule-ink); }
.p-plan__b { margin-top: 1.4rem; }
.p-plan__b .v3-btn { width: 100%; justify-content: center; }
.p-plan__alt { font-family: var(--mono); font-size: .7rem; color: var(--on-paper-3); margin: .7rem 0 0; text-align: center; }

.p-included { margin-top: 1.5rem; padding: 1.5rem 1.6rem; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.v3-chapter--ink .p-included { background: var(--ink-2); border-color: var(--rule-ink); }
.p-included__t { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-3); margin: 0 0 1rem; }
.p-included ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.5rem; }
@media (max-width: 820px) { .p-included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .p-included ul { grid-template-columns: minmax(0, 1fr); } }
.p-included li { font-size: .9rem; display: flex; gap: .5rem; align-items: baseline; color: var(--on-paper-2); }
.v3-chapter--ink .p-included li { color: var(--on-ink-2); }
.p-included li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sig-deep); flex: none; transform: translateY(-2px); }

/* ================================================================== FAQ ==
   Native details/summary. No JS, no accordion library.
   ========================================================================== */

.q-list { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.v3-chapter--ink .q-list { border-color: var(--rule-ink); }
.q-item { border-bottom: 1px solid var(--rule); }
.v3-chapter--ink .q-item { border-color: var(--rule-ink); }
.q-item summary { list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative; font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.015em; }
.q-item summary::-webkit-details-marker { display: none; }
.q-item summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 11px; height: 1px; background: currentColor; transition: transform .4s var(--e-out); }
.q-item summary::before { content: ""; position: absolute; right: .4rem; top: 50%; width: 11px; height: 1px; background: currentColor; transform: rotate(90deg); transition: transform .4s var(--e-out); }
.q-item[open] summary::before { transform: rotate(0deg); }
.q-item__a { padding: 0 0 1.5rem; max-width: 44rem; }
.q-item__a p { font-size: .97rem; line-height: 1.68; color: var(--on-paper-2); margin: 0 0 .8rem; }
.v3-chapter--ink .q-item__a p { color: var(--on-ink-2); }
.q-item__a p:last-child { margin-bottom: 0; }
.q-item__a code { font-family: var(--mono); font-size: .85em; background: var(--paper-2); padding: .1em .35em; border-radius: 3px; }
.v3-chapter--ink .q-item__a code { background: var(--ink-3); }

/* ======================================================== FEATURE INDEX ==
   /features/ — grouped, dense, hover reveals the tier.
   ========================================================================== */

.f-groups { display: grid; gap: 3.5rem; margin-top: 3rem; }
.f-group__h { display: flex; align-items: baseline; gap: .9rem; padding-bottom: .8rem; border-bottom: 1px solid var(--on-paper); }
.f-group__n { font-family: var(--mono); font-size: .72rem; color: var(--on-paper-3); }
.f-group__t { font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.f-group__c { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--on-paper-3); }
.f-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 780px) { .f-items { grid-template-columns: minmax(0, 1fr); } }
.f-item { display: block; padding: 1.15rem 1.1rem 1.15rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; position: relative; transition: padding-left .4s var(--e-out); }
.f-item:hover { padding-left: .8rem; }
.f-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sig-deep); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--e-out); }
.f-item:hover::before { transform: scaleY(1); }
.f-item__t { font-family: var(--display); font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; display: flex; align-items: baseline; gap: .6rem; }
.f-item__tier { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-3); border: 1px solid var(--rule-2); border-radius: 3px; padding: .1rem .3rem; }
.f-item__tier.is-free { color: var(--sig-deep); border-color: color-mix(in srgb, var(--sig-deep) 40%, transparent); }
.f-item__d { font-size: .9rem; line-height: 1.55; color: var(--on-paper-2); margin: .3rem 0 0; max-width: 30rem; }

/* ============================================================== DOWNLOAD ==
   Steps + the two routes.
   ========================================================================== */

.w-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.v3-chapter--ink .w-steps { border-color: var(--rule-ink); }
@media (max-width: 780px) { .w-steps { grid-template-columns: minmax(0, 1fr); } }
.w-step { padding: 1.6rem 1.6rem 1.6rem 0; border-right: 1px solid var(--rule); }
.v3-chapter--ink .w-step { border-color: var(--rule-ink); }
.w-step:last-child { border-right: 0; }
@media (max-width: 780px) { .w-step { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; } }
.w-step__n { font-family: var(--mono); font-size: .72rem; color: var(--sig-deep); margin: 0 0 .7rem; }
.v3-chapter--ink .w-step__n { color: var(--sig); }
.w-step__t { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; margin: 0 0 .35rem; }
.w-step__p { font-size: .92rem; line-height: 1.6; color: var(--on-paper-2); margin: 0; }
.v3-chapter--ink .w-step__p { color: var(--on-ink-2); }

.w-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 2.5rem; }
@media (max-width: 820px) { .w-routes { grid-template-columns: minmax(0, 1fr); } }
.w-route { border: 1px solid var(--rule); border-radius: 10px; padding: 1.8rem 1.7rem; background: #fff; display: flex; flex-direction: column; }
.v3-chapter--ink .w-route { background: var(--ink-2); border-color: var(--rule-ink); }
.w-route.is-primary { border-color: var(--on-paper); border-width: 1.5px; }
.v3-chapter--ink .w-route.is-primary { border-color: var(--sig); }
.w-route__k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-paper-3); margin: 0 0 .8rem; }
.v3-chapter--ink .w-route__k { color: var(--on-ink-3); }
.w-route ul { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: .5rem; }
.w-route li { font-size: .93rem; display: flex; gap: .55rem; align-items: baseline; color: var(--on-paper-2); }
.v3-chapter--ink .w-route li { color: var(--on-ink-2); }
.w-route li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sig-deep); flex: none; transform: translateY(-2px); }
.v3-chapter--ink .w-route li::before { background: var(--sig); }
.w-route__b { margin-top: auto; }
.w-route__b .v3-btn { width: 100%; justify-content: center; }

/* Footer + consent, kept in the same key */
body.itxuo-v3 .itxuo-footer { background: var(--paper-2) !important; background-image: none !important; border-top: 1px solid var(--rule); }
body.itxuo-v3 .itxuo-footer__bottom { background: var(--ink) !important; background-image: none !important; }
.itxuo-consent { border-radius: 8px !important; }
.itxuo-consent__accept { background: var(--on-paper) !important; color: var(--paper) !important; border-radius: 4px !important; }
.itxuo-consent__decline { border-radius: 4px !important; }

/* ---------------------------------------------------------- utilities -- */
.u-d0 { --d: 0ms; } .u-d1 { --d: 90ms; } .u-d2 { --d: 170ms; }
.u-d3 { --d: 250ms; } .u-d4 { --d: 330ms; } .u-d5 { --d: 430ms; }
.u-mt { margin-top: 2.2rem; }
.u-mt-sm { margin-top: 1.1rem; }
.u-mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.u-spacer { height: clamp(3.5rem, 8vw, 7rem); }
.u-center { text-align: center; }
.u-center .v3-d2 { margin-inline: auto; max-width: 22ch; }
.u-center-x { margin-inline: auto; }
.u-center .v3-actions { justify-content: center; }
.u-center .v3-lede { margin-inline: auto; }

/* ------------------------------------------------------------- repairs -- */

/* Bricks' theme style colours headings from an ID-scoped rule, which beats
   anything reasonable a class can do. Chapters have to win: the same heading
   markup appears on ink and on paper and must read on both. */
body.itxuo-v3 .v3-chapter :is(h1, h2, h3, h4, h5) { color: inherit !important; }
body.itxuo-v3 .v3-chapter--ink { color: var(--on-ink); }
body.itxuo-v3 .v3-chapter--paper,
body.itxuo-v3 .v3-chapter--paper2 { color: var(--on-paper); }
/* Product surfaces are always light, whatever chapter they sit in. */
body.itxuo-v3 .c-console :is(h1, h2, h3, h4), body.itxuo-v3 .c-console { color: #16181d; }
body.itxuo-v3 .x-slack { color: #1d1c1d; }
body.itxuo-v3 .x-term, body.itxuo-v3 .c-log { color: #d7dae0; }

.v3-link svg { width: 13px; height: 13px; flex: none; }
.v3-actions a { text-decoration: none; }

/* The hero: headline high, console close under it. */
.v3-hero { padding-block-start: clamp(3.5rem, 7vw, 6rem); }
.v3-hero-stage { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.v3-chapter--hero-inner { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

/* Header CTAs: Bricks' own button styles fight the chapter, and on ink the
   two buttons came out looking swapped. State both explicitly, per ground. */
body.itxuo-v3 #brxe-798t7q .brxe-button { border-radius: 4px !important; font-weight: 600; box-shadow: none !important; transition: background-color .3s var(--e-out), color .3s var(--e-out), border-color .3s var(--e-out); }
body.itxuo-v3 #brxe-mlrl3o { background: var(--on-paper) !important; color: var(--paper) !important; border: 1px solid var(--on-paper) !important; }
body.itxuo-v3 #brxe-cta001 { background: transparent !important; color: var(--on-paper) !important; border: 1px solid var(--rule-2) !important; }
body.itxuo-v3 #brxe-mlrl3o:hover { background: var(--sig-deep) !important; border-color: var(--sig-deep) !important; color: #fff !important; }
body.itxuo-v3 #brxe-cta001:hover { border-color: var(--on-paper) !important; }
body.itxuo-v3.is-on-ink #brxe-mlrl3o { background: var(--on-ink) !important; color: var(--ink) !important; border-color: var(--on-ink) !important; }
body.itxuo-v3.is-on-ink #brxe-cta001 { color: var(--on-ink) !important; border-color: var(--rule-ink) !important; }
body.itxuo-v3.is-on-ink #brxe-mlrl3o:hover { background: var(--sig) !important; border-color: var(--sig) !important; color: #06251d !important; }
body.itxuo-v3.is-on-ink #brxe-cta001:hover { border-color: var(--on-ink) !important; }

/* Matrix rows: 57 permanently underlined links is a page of blue noise. */
.k-row__l a { text-decoration: none; border-bottom: 1px solid transparent; }
.k-row__l a:hover { border-bottom-color: currentColor; }
.c-log { min-height: 84px; }

/* ============================================================== DARK MODE ==
   The site has a theme toggle and honours prefers-color-scheme, so v3 has to
   as well. The chapter alternation survives — both grounds simply move down
   the scale — and product surfaces stay light on purpose, because a screenshot
   of wp-admin does not invert and pretending otherwise would be a lie about
   what the software looks like.
   ========================================================================== */

:root[data-brx-theme="dark"] {
	--ink:        #06070a;
	--ink-2:      #0e1015;
	--ink-3:      #171a21;
	--paper:      #101217;
	--paper-2:    #0a0c10;

	--on-paper:   #f1f2f5;
	--on-paper-2: rgba(241, 242, 245, .66);
	--on-paper-3: rgba(241, 242, 245, .44);
	--rule:       rgba(241, 242, 245, .13);
	--rule-2:     rgba(241, 242, 245, .26);

	--sig-deep:   #00d6a4;
	--alert-deep: #ff6a5f;
	--warn:       #f0a202;
	--sig-wash:   rgba(0, 214, 164, .16);
	--alert-wash: rgba(255, 75, 62, .16);
}
@media (prefers-color-scheme: dark) {
	:root:not([data-brx-theme="light"]) {
		--ink:        #06070a;
		--ink-2:      #0e1015;
		--ink-3:      #171a21;
		--paper:      #101217;
		--paper-2:    #0a0c10;

		--on-paper:   #f1f2f5;
		--on-paper-2: rgba(241, 242, 245, .66);
		--on-paper-3: rgba(241, 242, 245, .44);
		--rule:       rgba(241, 242, 245, .13);
		--rule-2:     rgba(241, 242, 245, .26);

		--sig-deep:   #00d6a4;
		--alert-deep: #ff6a5f;
		--warn:       #f0a202;
		--sig-wash:   rgba(0, 214, 164, .16);
		--alert-wash: rgba(255, 75, 62, .16);
	}
}

/* Anything that was explicitly white in the light scheme has to follow. */
:root[data-brx-theme="dark"] body.itxuo-v3 :is(.d-door, .p-plans, .p-included, .w-route, .x-card, .p-toggle),
:root[data-brx-theme="dark"] body.itxuo-v3 .v3-chapter--paper :is(.x-card),
:root[data-brx-theme="dark"] body.itxuo-v3 .v3-chapter--paper2 :is(.x-card) { background: var(--ink-2); border-color: var(--rule); }
:root[data-brx-theme="dark"] body.itxuo-v3 .p-plan.is-featured { background: var(--ink-3); }
:root[data-brx-theme="dark"] body.itxuo-v3 .p-plan__tag { background: var(--sig); color: #06251d; }
:root[data-brx-theme="dark"] body.itxuo-v3 .s-frame { border-color: var(--rule-2); }
:root[data-brx-theme="dark"] body.itxuo-v3 .itxuo-footer { background: var(--paper-2) !important; }
@media (prefers-color-scheme: dark) {
	:root:not([data-brx-theme="light"]) body.itxuo-v3 :is(.d-door, .p-plans, .p-included, .w-route, .x-card, .p-toggle) { background: var(--ink-2); border-color: var(--rule); }
	:root:not([data-brx-theme="light"]) body.itxuo-v3 .p-plan.is-featured { background: var(--ink-3); }
	:root:not([data-brx-theme="light"]) body.itxuo-v3 .p-plan__tag { background: var(--sig); color: #06251d; }
	:root:not([data-brx-theme="light"]) body.itxuo-v3 .itxuo-footer { background: var(--paper-2) !important; }
}

/* Buttons invert with the ground: on a dark page the solid button is light. */
:root[data-brx-theme="dark"] body.itxuo-v3 #brxe-mlrl3o,
:root[data-brx-theme="dark"] body.itxuo-v3.is-on-ink #brxe-mlrl3o { background: var(--on-paper) !important; color: var(--ink) !important; border-color: var(--on-paper) !important; }
:root[data-brx-theme="dark"] body.itxuo-v3 #brxe-cta001 { color: var(--on-paper) !important; border-color: var(--rule-2) !important; }
@media (prefers-color-scheme: dark) {
	:root:not([data-brx-theme="light"]) body.itxuo-v3 #brxe-mlrl3o,
	:root:not([data-brx-theme="light"]) body.itxuo-v3.is-on-ink #brxe-mlrl3o { background: var(--on-paper) !important; color: var(--ink) !important; border-color: var(--on-paper) !important; }
	:root:not([data-brx-theme="light"]) body.itxuo-v3 #brxe-cta001 { color: var(--on-paper) !important; border-color: var(--rule-2) !important; }
}

/* The toast belongs out of the log's way. */
.c-toast { left: auto; right: 14px; bottom: auto; top: 52px; transform: translateY(-8px); }
.c-toast.is-in { transform: translateY(0); }

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 560px) {
	.v3-index { font-size: .66rem; letter-spacing: .1em; }
	.v3-actions { gap: .6rem; }
	.v3-actions .v3-btn { flex: 1 1 100%; justify-content: center; }
	.v3-d1 { letter-spacing: -.035em; }
	.n-item b { font-size: 2.1rem; }
	.t-item__c { font-size: 1rem; }
	.q-item summary { font-size: 1rem; }
}
@container (max-width: 560px) {
	.c-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c-stat { border-bottom: 1px solid rgba(0, 0, 0, .07); }
	.c-stat:nth-child(2n) { border-right: 0; }
	.c-table th:nth-child(2), .c-table td:nth-child(2) { display: none; }
	.c-log { font-size: 10px; }
}

/* Footer buttons follow the v3 key rather than the old landing-page pills. */
body.itxuo-v3 .itxuo-footer .itxuo-lp-btn { border-radius: 4px; background-image: none; box-shadow: none; font-size: .88rem; }
body.itxuo-v3 .itxuo-footer .itxuo-lp-btn--teal,
body.itxuo-v3 .itxuo-footer .itxuo-lp-btn--primary { background: var(--on-paper); color: var(--paper); border-color: var(--on-paper); }
body.itxuo-v3 .itxuo-footer .itxuo-lp-btn--teal:hover,
body.itxuo-v3 .itxuo-footer .itxuo-lp-btn--primary:hover { background: var(--sig-deep); border-color: var(--sig-deep); color: #fff; }
body.itxuo-v3 .itxuo-footer .itxuo-lp-btn--outline { color: var(--on-paper); border-color: var(--rule-2); background: transparent; }
/* The features index is the first thing in its chapter; the chapter already
   supplies the space above it. */
.f-groups { margin-top: 0; }
