/* polish.css — refinement layer over the HTML5 UP "Story" base.
   Loaded AFTER main.css so these rules win. Scoped to avoid clobbering
   the template's layout. */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
	--accent: #2f6dff;      /* XRPL electric blue */
	--accent-2: #19c2b0;    /* teal hover */
	--muted: #8a93a6;
}

/* --- Display type for headings + eyebrows --------------------------------- */
#wrapper h1,
#wrapper h2,
#wrapper h3,
.eyebrow {
	font-family: "Space Grotesk", "Source Sans Pro", Helvetica, sans-serif;
	letter-spacing: -0.015em;
}

/* --- Eyebrow label above section headings --------------------------------- */
.eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.65rem;
}

/* --- Inline content links (not template buttons/icons) -------------------- */
.spotlight .content a:not(.button),
.wrapper .inner a:not(.button):not(.icon) {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px solid rgba(47, 109, 255, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.spotlight .content a:not(.button):hover,
.wrapper .inner a:not(.button):not(.icon):hover {
	color: var(--accent-2);
	border-bottom-color: var(--accent-2);
}

/* --- Hero "now" availability pill ----------------------------------------- */
.now-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--accent);
	background: rgba(47, 109, 255, 0.09);
	border: 1px solid rgba(47, 109, 255, 0.32);
	padding: 0.42rem 0.95rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}
.now-pill .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1fbf6b;
	box-shadow: 0 0 0 0 rgba(31, 191, 107, 0.6);
	animation: nowpulse 2.4s infinite;
}
@keyframes nowpulse {
	0%   { box-shadow: 0 0 0 0 rgba(31, 191, 107, 0.55); }
	70%  { box-shadow: 0 0 0 9px rgba(31, 191, 107, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 191, 107, 0); }
}

/* --- Accent CTA button ---------------------------------------------------- */
#wrapper .button.accent {
	background-color: var(--accent);
	color: #ffffff !important;
	box-shadow: inset 0 0 0 2px var(--accent);
}
#wrapper .button.accent:hover {
	background-color: #1d57e6;
	box-shadow: inset 0 0 0 2px #1d57e6;
}

/* --- Talks & Writing ------------------------------------------------------ */
.tw-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	max-width: 1040px;
	margin: 2.25rem auto 0;
	text-align: left;
}
.tw-col {
	flex: 1 1 380px;
}
.tw-col h3 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1rem;
	letter-spacing: 0.02em;
	padding-bottom: 0.7rem;
	margin-bottom: 0;
	border-bottom: 2px solid rgba(47, 109, 255, 0.28);
}
.tw-col h3 .icon { color: var(--accent); }
.tw-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.tw-list li {
	padding: 0.9rem 0;
	border-bottom: 1px solid rgba(20, 30, 55, 0.1);
	font-size: 0.95rem;
	line-height: 1.45;
}
.tw-list li:last-child { border-bottom: none; }
.tw-meta {
	display: inline-block;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-left: 0.45rem;
	vertical-align: middle;
}

/* --- Off-the-clock intro spacing ------------------------------------------ */
.offclock .inner { padding-bottom: 1.5rem; }
