/*
 * Realist Marketing — site styles.
 *
 * Every colour here is read from the palette (Appearance → Editor → Styles →
 * Colours), so changing Primary re-tints the whole site: the soft backgrounds,
 * the glows and the icon tiles are mixed from it rather than written down.
 * The only literal colours are white and black inside color-mix().
 */

/* Tokens
---------------------------------------- */

:root {
	--gr-ink: var(--wp--preset--color--contrast);
	--gr-accent: var(--wp--preset--color--primary);
	--gr-accent-dark: var(--wp--preset--color--secondary);
	--gr-muted: var(--wp--preset--color--muted);
	--gr-line: var(--wp--preset--color--line);
	--gr-neutral: var(--wp--preset--color--neutral);
	--gr-base: var(--wp--preset--color--base);
	--gr-accent-50: color-mix(in srgb, var(--gr-accent) 4%, #fff);
	--gr-accent-100: color-mix(in srgb, var(--gr-accent) 9%, #fff);
	--gr-accent-200: color-mix(in srgb, var(--gr-accent) 18%, #fff);
	--gr-accent-300: color-mix(in srgb, var(--gr-accent) 34%, #fff);
	--gr-accent-glow: color-mix(in srgb, var(--gr-accent) 55%, transparent);
	--gr-ink-soft: color-mix(in srgb, var(--gr-ink) 88%, var(--gr-accent));
	--gr-radius-s: var(--wp--custom--radius--small, 8px);
	--gr-radius-m: var(--wp--custom--radius--medium, 14px);
	--gr-radius-l: var(--wp--custom--radius--large, 22px);
	--gr-shadow-soft: var(--wp--preset--shadow--soft);
	--gr-shadow-lifted: var(--wp--preset--shadow--lifted);
	--gr-header-height: 72px;
	--gr-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base
---------------------------------------- */

html {
	scroll-padding-top: calc(var(--gr-header-height) + 16px);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
}

::selection {
	background: var(--gr-accent-200);
	color: var(--gr-ink);
}

:where(h1, h2, h3, h4) {
	text-wrap: balance;
}

:where(p, li) {
	text-wrap: pretty;
}

/* An italic word in a heading becomes the serif accent: select a word in the
   editor, press Ctrl/Cmd+I, done. */
:where(h1, h2, h3, .wp-block-post-title, .is-style-gr-quote p) em {
	color: var(--gr-accent);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.08em;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 0.9;
	padding-right: 0.04em;
}

.gr-dark :where(h1, h2, h3) em,
.is-style-gr-dark :where(h1, h2, h3) em {
	color: var(--gr-accent-300);
}

a:where(:not(.wp-element-button)) {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--gr-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

strong,
b {
	font-weight: 600;
}

mark {
	background: var(--gr-accent-100);
	border-radius: 4px;
	color: inherit;
	padding: 0 0.15em;
}

.wp-site-blocks {
	overflow-x: clip;
}

/* Header
---------------------------------------- */

.site-header {
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	background: color-mix(in srgb, var(--gr-base) 82%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--gr-line) 70%, transparent);
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header .gr-header-inner {
	min-height: var(--gr-header-height);
}

/* The site title is the wordmark, inlined by functions.php: the letters take
   the link's colour and the full stop is Primary, so both follow the palette.
   The house on the i closes onto its stem below about 20px tall. */
.wp-block-site-title a {
	display: inline-flex;
	vertical-align: middle;
}

.gr-wordmark {
	display: block;
	height: 28px;
	overflow: visible;
	width: auto;
	aspect-ratio: 5383.8 / 1512.8;
}

.gr-wordmark__letters {
	fill: currentColor;
}

.gr-wordmark__stop {
	fill: var(--gr-accent);
}

.site-header .wp-block-navigation {
	gap: 4px 6px;
}

.site-header .wp-block-navigation .wp-block-navigation-item__content {
	border-radius: 999px;
	color: var(--gr-ink);
	padding: 8px 12px;
}

.site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	background: var(--gr-accent-50);
	color: var(--gr-accent);
}

.site-header .wp-block-navigation .wp-block-navigation-submenu__toggle {
	padding-left: 0;
}

.site-header .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle {
	margin-left: -8px;
	padding-right: 10px;
}

/* Submenus: a white card, not Frost's black box. */
.site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background: var(--gr-base);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-m);
	box-shadow: var(--gr-shadow-lifted);
	color: var(--gr-ink);
	min-width: 260px;
	padding: 8px;
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	border-radius: var(--gr-radius-s);
	display: block;
	padding: 9px 12px;
	width: 100%;
}

.site-header .gr-header-cta .wp-block-button__link {
	font-size: 15px;
	padding: 10px 18px;
}

.site-header .gr-header-login a {
	color: var(--gr-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.site-header .gr-header-login a:hover {
	color: var(--gr-accent);
}

/* Phone menu */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	border: 0 !important;
	border-radius: 999px;
	padding: 8px !important;
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
	background: var(--gr-accent-50);
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px clamp(20px, 5vw, 32px) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	gap: 2px;
	padding-top: 56px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	padding: 8px 0 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 0 8px 14px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--gr-muted);
	font-family: var(--wp--preset--font-family--primary);
	font-size: 17px;
	font-weight: 500;
	padding: 6px 0 !important;
}

@media (max-width: 960px) {
	.site-header .gr-header-login {
		display: none;
	}
}

@media (max-width: 480px) {
	.site-header .gr-header-cta .wp-block-button__link {
		font-size: 14px;
		padding: 9px 14px;
	}
}

/* Buttons
---------------------------------------- */

.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--gr-ease);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -8px var(--gr-accent-glow);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	color: var(--gr-ink);
	padding: 12px 23px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--gr-accent-50);
	border-color: var(--gr-accent-300);
	color: var(--gr-accent);
}

.is-style-gr-dark .wp-block-button.is-style-outline .wp-block-button__link,
.gr-dark .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--gr-base);
}

.is-style-gr-dark .wp-block-button.is-style-outline .wp-block-button__link:hover,
.gr-dark .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--gr-base);
}

/* A link that reads as a next step: "See every feature →" */
.gr-link-arrow a,
a.gr-link-arrow {
	align-items: center;
	color: var(--gr-accent);
	display: inline-flex;
	font-weight: 600;
	gap: 6px;
	text-decoration: none;
}

.gr-link-arrow a::after,
a.gr-link-arrow::after {
	background-color: currentColor;
	content: "";
	height: 16px;
	-webkit-mask: url(../images/arrow.svg) center / contain no-repeat;
	mask: url(../images/arrow.svg) center / contain no-repeat;
	transition: transform 0.2s var(--gr-ease);
	width: 16px;
}

.gr-link-arrow a:hover::after,
a.gr-link-arrow:hover::after {
	transform: translateX(3px);
}

/* Type helpers
---------------------------------------- */

p.is-style-gr-eyebrow {
	align-items: center;
	background: var(--gr-accent-50);
	border: 1px solid var(--gr-accent-100);
	border-radius: 999px;
	color: var(--gr-accent);
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	letter-spacing: 0.01em;
	line-height: 1.2;
	padding: 6px 12px;
	width: fit-content;
}

p.is-style-gr-eyebrow.has-text-align-center {
	margin-left: auto;
	margin-right: auto;
}

/* A constrained layout centres every child with auto margins, which would
   centre a pill that is only as wide as its text. Put it back on the left
   edge of the content column instead. */
.is-layout-constrained:not(.is-content-justification-left):not(.is-content-justification-right) > p.is-style-gr-eyebrow:not(.has-text-align-center) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
	margin-right: auto !important;
}

.is-style-gr-dark p.is-style-gr-eyebrow,
.gr-dark p.is-style-gr-eyebrow {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	color: var(--gr-accent-300);
}

p.is-style-gr-lead {
	color: var(--gr-muted);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.is-style-gr-dark p.is-style-gr-lead,
.gr-dark p.is-style-gr-lead {
	color: rgba(255, 255, 255, 0.72);
}

.gr-muted,
.has-muted-color {
	color: var(--gr-muted);
}

.gr-small {
	font-size: var(--wp--preset--font-size--x-small);
}

.gr-kicker {
	color: var(--gr-accent);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.gr-kicker a {
	color: inherit;
	position: relative;
	text-decoration: none;
	z-index: 1;
}

/* A heading that introduces a list inside a hero, not a section. */
h2.gr-small-head {
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: -0.015em;
	margin-top: 40px;
}

/* Sections
---------------------------------------- */

.gr-section {
	padding-bottom: var(--wp--preset--spacing--x-large);
	padding-top: var(--wp--preset--spacing--x-large);
}

.gr-section--tight {
	padding-bottom: var(--wp--preset--spacing--large);
	padding-top: var(--wp--preset--spacing--large);
}

.gr-section-head {
	margin-bottom: var(--wp--preset--spacing--medium);
	max-width: 760px;
}

.gr-section-head.has-text-align-center,
.gr-section-head.is-centred {
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
}

.gr-section-head > * + * {
	margin-top: 16px;
}

.is-style-gr-tint {
	background:
		radial-gradient(1200px 400px at 50% -10%, var(--gr-accent-100), transparent 70%),
		var(--gr-accent-50);
}

.is-style-gr-panel {
	background: var(--gr-neutral);
	border-radius: var(--gr-radius-l);
}

.is-style-gr-card {
	background: var(--gr-base);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-l);
	box-shadow: var(--gr-shadow-soft);
	padding: clamp(24px, 3vw, 32px);
}

.wp-block-column.is-style-gr-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wp-block-column.is-style-gr-card > * {
	margin-block: 0;
}

.is-style-gr-card :where(h3, h4) {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: -0.015em;
}

.is-style-gr-card p {
	color: var(--gr-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.is-style-gr-dark {
	--gr-line: rgba(255, 255, 255, 0.12);
	background:
		radial-gradient(900px 500px at 85% 0%, color-mix(in srgb, var(--gr-accent) 38%, transparent), transparent 70%),
		radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--gr-accent) 22%, transparent), transparent 70%),
		var(--gr-ink);
	color: var(--gr-base);
}

.is-style-gr-dark :where(h1, h2, h3, h4, h5, h6) {
	color: var(--gr-base);
}

.is-style-gr-dark p,
.is-style-gr-dark li {
	color: rgba(255, 255, 255, 0.78);
}

.is-style-gr-dark a:where(:not(.wp-element-button)) {
	color: var(--gr-base);
}

.is-style-gr-dark .is-style-gr-card {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.is-style-gr-dark .is-style-gr-card p {
	color: rgba(255, 255, 255, 0.68);
}

/* A plain grey band, for a section that needs separating from its neighbours. */
.gr-band-neutral {
	background: var(--gr-neutral);
}

/* Two plain white sections in a row would stack two paddings into one large
   gap: the second one starts where the first one's padding ends. */
.gr-section:not([class*="is-style-gr-"]):not(.gr-band-neutral):not(.gr-strip) + .gr-section:not([class*="is-style-gr-"]):not(.gr-band-neutral):not(.gr-strip) {
	padding-top: 0 !important;
}

/* The first section under a page header needs less room above it: the header
   already ends with its own padding. */
.gr-page-hero + .gr-section:not([class*="is-style-gr-"]):not(.gr-band-neutral) {
	padding-top: var(--wp--preset--spacing--small) !important;
}

/* Rounded, contained dark/tint panels inside a constrained section. */
.gr-rounded {
	border-radius: var(--gr-radius-l);
	overflow: hidden;
}

/* Hero
---------------------------------------- */

.gr-hero {
	padding-bottom: var(--wp--preset--spacing--large);
	padding-top: clamp(48px, 8vw, 104px);
	position: relative;
}

.gr-hero::before {
	background:
		radial-gradient(600px 300px at 50% 0%, var(--gr-accent-200), transparent 70%),
		linear-gradient(to bottom, var(--gr-accent-50), var(--gr-base) 70%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

/* A faint grid behind the headline, fading out at the edges. */
.gr-hero::after {
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--gr-accent) 7%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--gr-accent) 7%, transparent) 1px, transparent 1px);
	background-size: 56px 56px;
	content: "";
	inset: 0 0 30% 0;
	-webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 30%, transparent 75%);
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.gr-hero h1 {
	font-size: var(--wp--preset--font-size--max-72);
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.gr-hero .gr-hero-proof {
	color: var(--gr-muted);
	font-size: 14px;
}

.gr-hero-proof span {
	display: inline-block;
	white-space: nowrap;
}

.gr-hero-proof span + span::before {
	color: var(--gr-accent-300);
	content: "•";
	margin: 0 10px;
}

.gr-hero-visual {
	margin-top: var(--wp--preset--spacing--medium) !important;
	position: relative;
}

.gr-hero-visual::before {
	background: radial-gradient(closest-side, var(--gr-accent-glow), transparent);
	content: "";
	filter: blur(30px);
	inset: 10% 10% -6% 10%;
	opacity: 0.45;
	position: absolute;
	z-index: -1;
}

/* Floating product cards over the hero image (wide screens only). */
.gr-float {
	background: color-mix(in srgb, var(--gr-base) 94%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-m);
	box-shadow: var(--gr-shadow-lifted);
	font-size: 14px;
	line-height: 1.4;
	padding: 14px 16px;
	position: absolute;
	width: 270px;
	z-index: 2;
}

.gr-float > * {
	margin: 0 !important;
}

.gr-float > * + * {
	margin-top: 4px !important;
}

.gr-float .gr-float-label {
	align-items: center;
	color: var(--gr-accent);
	display: flex;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.gr-float .gr-float-label::before {
	background: var(--gr-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--gr-accent-100);
	content: "";
	height: 8px;
	width: 8px;
}

.gr-float .gr-float-title {
	color: var(--gr-ink);
	font-weight: 600;
}

.gr-float .gr-float-meta {
	color: var(--gr-muted);
	font-size: 13px;
}

/* Over the screenshot's map and its card row, clear of its heading and filters. */
.gr-float--a {
	left: -3%;
	top: 40%;
	animation: gr-bob 7s ease-in-out infinite;
}

.gr-float--b {
	bottom: -4%;
	right: -3%;
	animation: gr-bob 8s ease-in-out -3s infinite;
}

@keyframes gr-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@media (max-width: 1080px) {
	.gr-float {
		display: none;
	}
}

/* Screenshots
---------------------------------------- */

.wp-block-image.is-style-gr-screenshot img {
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-m);
	box-shadow: var(--gr-shadow-lifted);
}

/* A browser frame drawn around the image: three dots on a bar. */
.wp-block-image.is-style-gr-browser {
	background: var(--gr-base);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-m);
	box-shadow: var(--gr-shadow-lifted);
	overflow: hidden;
	padding-top: 34px;
	position: relative;
}

.wp-block-image.is-style-gr-browser::before {
	background:
		radial-gradient(circle at 18px 17px, #ff5f57 5px, transparent 5.5px),
		radial-gradient(circle at 36px 17px, #febc2e 5px, transparent 5.5px),
		radial-gradient(circle at 54px 17px, #28c840 5px, transparent 5.5px),
		var(--gr-neutral);
	border-bottom: 1px solid var(--gr-line);
	content: "";
	height: 34px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.wp-block-image.is-style-gr-browser img {
	border-radius: 0;
	display: block;
	width: 100%;
}

.wp-block-image.is-style-gr-browser figcaption {
	margin: 0;
	padding: 10px 14px;
}

.is-style-gr-dark .wp-block-image.is-style-gr-screenshot img,
.is-style-gr-dark .wp-block-image.is-style-gr-browser {
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}

.wp-block-image.gr-photo img {
	border-radius: var(--gr-radius-l);
}

/* Feature rows: text beside a screenshot, alternating. */
.gr-feature-row {
	align-items: center !important;
	gap: clamp(32px, 6vw, 88px) !important;
}

.gr-feature-row + .gr-feature-row {
	margin-top: var(--wp--preset--spacing--x-large) !important;
}

.gr-feature-row h2 {
	font-size: var(--wp--preset--font-size--max-36);
}

@media (min-width: 782px) {
	.gr-feature-row.is-flipped > .wp-block-column:first-child {
		order: 2;
	}
}

/* Icons
---------------------------------------- */

/* An icon tile above a heading: give the heading `gr-icon gr-i-<name>`.
   The tile is ::after and the glyph ::before, masked from the icon file and
   filled with Primary. */
.gr-icon {
	isolation: isolate;
	padding-top: 62px;
	position: relative;
}

.gr-icon::after {
	background: var(--gr-accent-100);
	border-radius: 12px;
	content: "";
	height: 44px;
	left: 0;
	position: absolute;
	top: 0;
	width: 44px;
	z-index: -1;
}

.gr-icon::before {
	background-color: var(--gr-accent);
	content: "";
	height: 22px;
	left: 11px;
	-webkit-mask: var(--gr-i) center / 22px 22px no-repeat;
	mask: var(--gr-i) center / 22px 22px no-repeat;
	position: absolute;
	top: 11px;
	width: 22px;
}

.has-text-align-center.gr-icon::after {
	left: calc(50% - 22px);
}

.has-text-align-center.gr-icon::before {
	left: calc(50% - 11px);
}

.is-style-gr-dark .gr-icon::before {
	background-color: var(--gr-accent-300);
}

.is-style-gr-dark .gr-icon::after {
	background: rgba(255, 255, 255, 0.08);
}

.gr-i-sync { --gr-i: url(../icons/refresh-cw.svg); }
.gr-i-search { --gr-i: url(../icons/search.svg); }
.gr-i-grid { --gr-i: url(../icons/layout-grid.svg); }
.gr-i-pin { --gr-i: url(../icons/map-pin.svg); }
.gr-i-map { --gr-i: url(../icons/map.svg); }
.gr-i-inbox { --gr-i: url(../icons/inbox.svg); }
.gr-i-mail { --gr-i: url(../icons/mail.svg); }
.gr-i-chart { --gr-i: url(../icons/chart-column.svg); }
.gr-i-trend { --gr-i: url(../icons/trending-up.svg); }
.gr-i-shield { --gr-i: url(../icons/shield-check.svg); }
.gr-i-key { --gr-i: url(../icons/key-round.svg); }
.gr-i-lock { --gr-i: url(../icons/lock-keyhole.svg); }
.gr-i-filelock { --gr-i: url(../icons/file-lock-2.svg); }
.gr-i-palette { --gr-i: url(../icons/palette.svg); }
.gr-i-server { --gr-i: url(../icons/server.svg); }
.gr-i-package { --gr-i: url(../icons/package.svg); }
.gr-i-door { --gr-i: url(../icons/door-open.svg); }
.gr-i-pound { --gr-i: url(../icons/badge-pound-sterling.svg); }
.gr-i-unlock { --gr-i: url(../icons/lock-open.svg); }
.gr-i-checks { --gr-i: url(../icons/list-checks.svg); }
.gr-i-copy { --gr-i: url(../icons/copy.svg); }
.gr-i-bot { --gr-i: url(../icons/bot.svg); }
.gr-i-cookie { --gr-i: url(../icons/cookie.svg); }
.gr-i-edit { --gr-i: url(../icons/square-pen.svg); }
.gr-i-blocks { --gr-i: url(../icons/blocks.svg); }
.gr-i-gauge { --gr-i: url(../icons/gauge.svg); }
.gr-i-zap { --gr-i: url(../icons/zap.svg); }
.gr-i-calendar { --gr-i: url(../icons/calendar-check.svg); }
.gr-i-file { --gr-i: url(../icons/file-text.svg); }
.gr-i-receipt { --gr-i: url(../icons/receipt.svg); }
.gr-i-users { --gr-i: url(../icons/users.svg); }
.gr-i-house { --gr-i: url(../icons/house.svg); }
.gr-i-building { --gr-i: url(../icons/building-2.svg); }
.gr-i-plug { --gr-i: url(../icons/plug.svg); }
.gr-i-cable { --gr-i: url(../icons/cable.svg); }
.gr-i-sheet { --gr-i: url(../icons/file-spreadsheet.svg); }
.gr-i-history { --gr-i: url(../icons/history.svg); }
.gr-i-clock { --gr-i: url(../icons/clock.svg); }
.gr-i-phone { --gr-i: url(../icons/phone.svg); }
.gr-i-layers { --gr-i: url(../icons/layers.svg); }
.gr-i-globe { --gr-i: url(../icons/globe.svg); }
.gr-i-support { --gr-i: url(../icons/life-buoy.svg); }
.gr-i-handshake { --gr-i: url(../icons/handshake.svg); }
.gr-i-wrench { --gr-i: url(../icons/wrench.svg); }
.gr-i-eye { --gr-i: url(../icons/eye.svg); }
.gr-i-images { --gr-i: url(../icons/images.svg); }
.gr-i-ruler { --gr-i: url(../icons/ruler.svg); }
.gr-i-banknote { --gr-i: url(../icons/banknote.svg); }
.gr-i-statement { --gr-i: url(../icons/file-chart-column.svg); }
.gr-i-devices { --gr-i: url(../icons/monitor-smartphone.svg); }
.gr-i-merge { --gr-i: url(../icons/git-merge.svg); }
.gr-i-usercheck { --gr-i: url(../icons/user-round-check.svg); }
.gr-i-scale { --gr-i: url(../icons/scale.svg); }
.gr-i-timer { --gr-i: url(../icons/timer.svg); }
.gr-i-workflow { --gr-i: url(../icons/workflow.svg); }
.gr-i-coins { --gr-i: url(../icons/hand-coins.svg); }
.gr-i-store { --gr-i: url(../icons/store.svg); }
.gr-i-message { --gr-i: url(../icons/message-square-text.svg); }
.gr-i-bell { --gr-i: url(../icons/bell.svg); }
.gr-i-route { --gr-i: url(../icons/route.svg); }

/* Lists
---------------------------------------- */

ul.is-style-gr-checks,
ul.is-style-gr-crosses {
	list-style: none;
	padding-left: 0;
}

ul.is-style-gr-checks li,
ul.is-style-gr-crosses li {
	padding-left: 32px;
	position: relative;
}

ul.is-style-gr-checks li + li,
ul.is-style-gr-crosses li + li {
	margin-top: 10px;
}

ul.is-style-gr-checks li::before,
ul.is-style-gr-crosses li::before {
	background: var(--gr-accent-100);
	border-radius: 50%;
	content: "";
	height: 22px;
	left: 0;
	position: absolute;
	top: 0.18em;
	width: 22px;
}

ul.is-style-gr-checks li::after,
ul.is-style-gr-crosses li::after {
	background-color: var(--gr-accent);
	content: "";
	height: 14px;
	left: 4px;
	-webkit-mask: url(../images/check.svg) center / contain no-repeat;
	mask: url(../images/check.svg) center / contain no-repeat;
	position: absolute;
	top: calc(0.18em + 4px);
	width: 14px;
}

ul.is-style-gr-crosses li::before {
	background: var(--gr-neutral);
}

ul.is-style-gr-crosses li::after {
	background-color: var(--gr-muted);
	-webkit-mask-image: url(../images/cross.svg);
	mask-image: url(../images/cross.svg);
}

.is-style-gr-dark ul.is-style-gr-checks li::before {
	background: rgba(255, 255, 255, 0.1);
}

.is-style-gr-dark ul.is-style-gr-checks li::after {
	background-color: var(--gr-accent-300);
}

/* Numbered steps: an ordered list with `gr-steps`. */
ol.gr-steps {
	counter-reset: gr-step;
	display: grid;
	gap: 18px;
	list-style: none;
	padding-left: 0;
}

ol.gr-steps > li {
	counter-increment: gr-step;
	padding-left: 56px;
	position: relative;
}

ol.gr-steps > li::before {
	align-items: center;
	background: var(--gr-base);
	border: 1px solid var(--gr-accent-200);
	border-radius: 50%;
	color: var(--gr-accent);
	content: counter(gr-step);
	display: flex;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 15px;
	font-weight: 700;
	height: 36px;
	justify-content: center;
	left: 0;
	position: absolute;
	top: -4px;
	width: 36px;
}

/* Step cards: columns with a number above the heading. */
.gr-step-num,
.is-style-gr-card p.gr-step-num {
	color: var(--gr-accent);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 44px;
	font-style: italic;
	line-height: 1;
	margin: 0;
}

/* Statement quote
---------------------------------------- */

.wp-block-quote.is-style-gr-quote {
	border: 0;
	margin: 0;
	padding: 0;
}

.wp-block-quote.is-style-gr-quote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--max-36);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.wp-block-quote.is-style-gr-quote cite {
	color: var(--gr-muted);
	display: block;
	font-size: 15px;
	font-style: normal;
	margin-top: 18px;
}

/* FAQ
---------------------------------------- */

.wp-block-details.is-style-gr-faq {
	border-bottom: 1px solid var(--gr-line);
	padding: 0;
}

.wp-block-details.is-style-gr-faq:first-of-type {
	border-top: 1px solid var(--gr-line);
}

.wp-block-details.is-style-gr-faq + .wp-block-details.is-style-gr-faq {
	margin-top: 0;
}

.wp-block-details.is-style-gr-faq summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	letter-spacing: -0.015em;
	list-style: none;
	padding: 22px 48px 22px 0;
	position: relative;
}

.wp-block-details.is-style-gr-faq summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-gr-faq summary::after {
	background-color: var(--gr-accent);
	content: "";
	height: 20px;
	-webkit-mask: url(../images/plus.svg) center / contain no-repeat;
	mask: url(../images/plus.svg) center / contain no-repeat;
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.25s var(--gr-ease);
	width: 20px;
}

.wp-block-details.is-style-gr-faq[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.wp-block-details.is-style-gr-faq > :not(summary) {
	color: var(--gr-muted);
	margin-bottom: 22px;
	margin-top: 0;
	max-width: 68ch;
}

.wp-block-details.is-style-gr-faq > :not(summary) + :not(summary) {
	margin-top: -8px;
}

/* Comparison table
---------------------------------------- */

.wp-block-table.is-style-gr-compare {
	background: var(--gr-base);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-l);
	box-shadow: var(--gr-shadow-soft);
	overflow-x: auto;
}

.wp-block-table.is-style-gr-compare table {
	border-collapse: collapse;
	font-size: 16px;
	min-width: 560px;
	width: 100%;
}

.wp-block-table.is-style-gr-compare :where(th, td) {
	border: 0 !important;
	border-bottom: 1px solid var(--gr-line) !important;
	padding: 16px 20px;
	text-align: left;
	vertical-align: top;
}

.wp-block-table.is-style-gr-compare tr:last-child td {
	border-bottom: 0 !important;
}

.wp-block-table.is-style-gr-compare thead {
	border-bottom: 0;
}

.wp-block-table.is-style-gr-compare thead th {
	color: var(--gr-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wp-block-table.is-style-gr-compare thead th:nth-child(2) {
	color: var(--gr-accent);
}

.wp-block-table.is-style-gr-compare td:first-child {
	color: var(--gr-ink);
	font-weight: 600;
	width: 34%;
}

.wp-block-table.is-style-gr-compare td:nth-child(2) {
	background: var(--gr-accent-50);
	color: var(--gr-ink);
}

.wp-block-table.is-style-gr-compare td:nth-child(3) {
	color: var(--gr-muted);
}

/* A fourth column is a second alternative: muted like the first, and the
   label column narrower so four fit side by side. */
.wp-block-table.is-style-gr-compare td:nth-child(4) {
	color: var(--gr-muted);
}

.wp-block-table.is-style-gr-compare tr:has(> td:nth-child(4)) td:first-child {
	width: 22%;
}

/* On a phone three columns fit if the table stops insisting on its width;
   four do not, so that table keeps a width and scrolls sideways in its frame. */
@media (max-width: 600px) {
	.wp-block-table.is-style-gr-compare table {
		font-size: 14px;
		min-width: 0;
	}

	.wp-block-table.is-style-gr-compare :where(th, td) {
		padding: 12px 10px;
	}

	.wp-block-table.is-style-gr-compare td:first-child {
		width: 26%;
	}

	.wp-block-table.is-style-gr-compare table:has(td:nth-child(4)) {
		min-width: 640px;
	}
}

/* Logo / fact strip
---------------------------------------- */

.gr-strip {
	border-bottom: 1px solid var(--gr-line);
	border-top: 1px solid var(--gr-line);
}

.gr-strip p {
	color: var(--gr-muted);
	font-size: 15px;
	margin: 0;
}

.gr-strip strong {
	color: var(--gr-ink);
}

.gr-fact {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--max-36);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

/* Integration chips */
.gr-chips {
	gap: 10px !important;
}

.gr-chips p {
	background: var(--gr-base);
	border: 1px solid var(--gr-line);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	margin: 0;
	padding: 8px 16px;
}

.gr-chips p.is-live::before,
.gr-chips p.is-next::before {
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 8px;
	margin-right: 8px;
	vertical-align: 1px;
	width: 8px;
}

.gr-chips p.is-live::before {
	background: #1f9d55;
	box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.15);
}

.gr-chips p.is-next::before {
	background: var(--gr-accent-300);
}

/* Status badges for integration cards */
.gr-badge,
.is-style-gr-card p.gr-badge {
	border-radius: 999px;
	line-height: 1.4;
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 4px 10px;
	width: fit-content;
}

.gr-badge.is-live {
	background: rgba(31, 157, 85, 0.1);
	color: #17733e;
}

.gr-badge.is-next {
	background: var(--gr-accent-100);
	color: var(--gr-accent);
}

.gr-badge.is-ask {
	background: var(--gr-neutral);
	color: var(--gr-muted);
}

/* Cards that are links: lift on hover. */
.gr-link-card {
	transition: transform 0.25s var(--gr-ease), box-shadow 0.25s var(--gr-ease), border-color 0.25s ease;
}

.gr-link-card:hover {
	border-color: var(--gr-accent-200) !important;
	box-shadow: var(--gr-shadow-lifted) !important;
	transform: translateY(-3px);
}

.gr-link-card :where(h3, h4) a {
	color: inherit;
	text-decoration: none;
}

.gr-link-card :where(h3, h4) a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.gr-link-card {
	position: relative;
}

/* Page header for inner pages
---------------------------------------- */

.gr-page-hero {
	padding-bottom: var(--wp--preset--spacing--large);
	padding-top: clamp(48px, 7vw, 96px);
	position: relative;
}

.gr-page-hero::before {
	background:
		radial-gradient(700px 260px at 50% -20%, var(--gr-accent-100), transparent 70%),
		linear-gradient(to bottom, var(--gr-accent-50), var(--gr-base));
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.gr-page-hero h1 {
	font-size: var(--wp--preset--font-size--max-60);
	letter-spacing: -0.03em;
}

.gr-breadcrumbs {
	color: var(--gr-muted);
	font-size: 14px;
}

.gr-breadcrumbs a {
	color: var(--gr-muted);
	text-decoration: none;
}

.gr-breadcrumbs a:hover {
	color: var(--gr-accent);
}

/* Articles (guides) and legal pages
---------------------------------------- */

.gr-prose {
	font-size: 18px;
}

.gr-prose > * + * {
	margin-top: 1.1em;
}

.gr-prose :where(h2) {
	font-size: var(--wp--preset--font-size--max-36);
	margin-top: 1.8em;
}

.gr-prose :where(h3) {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 1.6em;
}

.gr-prose :where(ul, ol) li + li {
	margin-top: 0.4em;
}

.gr-prose blockquote {
	border-left: 3px solid var(--gr-accent);
	margin-left: 0;
	padding-left: 1.2em;
}

.gr-callout {
	background: var(--gr-accent-50);
	border: 1px solid var(--gr-accent-100);
	border-radius: var(--gr-radius-m);
	padding: 20px 24px;
}

.gr-callout > * {
	margin: 0;
}

.gr-callout > * + * {
	margin-top: 8px;
}

/* Post cards on the guides index */
.gr-post-card {
	background: var(--gr-base);
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius-l);
	height: 100%;
	padding: 28px;
	position: relative;
	transition: transform 0.25s var(--gr-ease), box-shadow 0.25s var(--gr-ease);
}

.gr-post-card:hover {
	box-shadow: var(--gr-shadow-lifted);
	transform: translateY(-3px);
}

.gr-post-card .wp-block-post-title a {
	color: var(--gr-ink);
	text-decoration: none;
}

.gr-post-card .wp-block-post-title a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.gr-post-card .wp-block-post-excerpt {
	color: var(--gr-muted);
	font-size: 16px;
}

.gr-post-card .wp-block-post-excerpt__more-text {
	display: none;
}

.wp-block-post-template.is-layout-grid {
	align-items: stretch;
	/* WordPress 7 leaves the column rule to a container query it does not
	   always print; state it here so the guides index is always a grid. */
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

/* Footer
---------------------------------------- */

.site-footer {
	margin-top: 0 !important;
}

.site-footer .gr-footer {
	background: var(--gr-ink);
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
}

.site-footer .gr-footer :where(h2, h3, h4) {
	color: var(--gr-base);
	font-family: var(--wp--preset--font-family--primary);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.site-footer .gr-footer a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.site-footer .gr-footer a:hover {
	color: var(--gr-base);
}

.site-footer .gr-footer .wp-block-site-title a {
	color: var(--gr-base);
}

.site-footer .gr-footer .gr-wordmark__stop {
	fill: var(--gr-accent-300);
}

.site-footer .gr-footer ul {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.site-footer .gr-footer li + li {
	margin-top: 10px;
}

.site-footer .gr-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}

.site-footer .gr-footer-bottom p {
	color: rgba(255, 255, 255, 0.5);
}

/* Closing call to action
---------------------------------------- */

.gr-cta-band {
	border-radius: var(--gr-radius-l);
	overflow: hidden;
	position: relative;
}

.gr-cta-band::after {
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	content: "";
	inset: 0;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%);
	mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%);
	pointer-events: none;
	position: absolute;
}

.gr-cta-band > * {
	position: relative;
	z-index: 1;
}

/* Reveal on scroll (site.js adds .is-visible). Nothing hides without JS. */
.gr-js .gr-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--gr-ease), transform 0.7s var(--gr-ease);
}

.gr-js .gr-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.gr-js .gr-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.gr-float--a,
	.gr-float--b {
		animation: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* Layout helpers
---------------------------------------- */

.gr-center {
	text-align: center;
}

.gr-narrow {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 640px;
}

.gr-tight > * + * {
	margin-top: 8px !important;
}

.gr-equal-cards > .wp-block-column {
	align-self: stretch;
}

@media (max-width: 781px) {
	.gr-hide-mobile {
		display: none !important;
	}

	.gr-feature-row + .gr-feature-row {
		margin-top: var(--wp--preset--spacing--large) !important;
	}
}

@media (min-width: 782px) {
	.gr-hide-desktop {
		display: none !important;
	}
}

/* Grid groups collapse to one column on phones regardless of their setting. */
@media (max-width: 600px) {
	.wp-block-group.is-layout-grid.gr-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Editor: keep floating cards inline so they can be selected and edited. */
.editor-styles-wrapper .gr-float {
	animation: none;
	display: block;
	margin-top: 16px;
	position: static;
}

.editor-styles-wrapper .gr-js .gr-reveal,
.editor-styles-wrapper .gr-reveal {
	opacity: 1;
	transform: none;
}
