/* Widget Plugins marketing site. Loaded after Oxygen's own CSS. Classes are wpm-*. */

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(fonts/inter-tight-latin.woff2) format("woff2");
}

:root {
	--wpm-paper: #faf8f4;
	--wpm-ink: #0d0b0a;
	--wpm-muted: #4a4541;
	--wpm-line: rgba(13, 11, 10, .14);
	--wpm-orange: #f2a13a;
	--wpm-coral: #f07868;
	--wpm-magenta: #e8318f;
	--wpm-lilac: #c07ab2;
	--wpm-sky: #62b9ea;
	--wpm-rainbow: linear-gradient(110deg, var(--wpm-orange) 0%, var(--wpm-coral) 24%, var(--wpm-magenta) 48%, var(--wpm-lilac) 72%, var(--wpm-sky) 100%);
	--wpm-gutter: clamp(16px, 2.4vw, 40px);
	--wpm-fs-display: clamp(4.2rem, 16.6vw, 17.5rem);
	--wpm-fs-h2: clamp(3rem, 9.6vw, 10rem);
	--wpm-fs-h3: clamp(2.2rem, 4.8vw, 5.2rem);
	--wpm-fs-lead: clamp(1.55rem, 2.74vw, 2.9rem);
	--wpm-fs-body: clamp(1.1rem, 1.57vw, 1.65rem);
	--wpm-ease: cubic-bezier(.76, 0, .24, 1);
}

html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--wpm-paper);
	color: var(--wpm-ink);
	font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: var(--wpm-fs-body);
	line-height: 1.3;
	letter-spacing: -.035em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body * { box-sizing: border-box; }
::selection { background: var(--wpm-magenta); color: #fff; }

/* Oxygen wrappers: our sections run edge to edge and set their own padding. */
.wpm-header > .ct-section-inner-wrap,
.wpm-main > .ct-section-inner-wrap,
.wpm-sec > .ct-section-inner-wrap,
.wpm-footer > .ct-section-inner-wrap {
	max-width: none;
	padding: 0;
	display: block;
}
.wpm-sec { padding: clamp(64px, 11vh, 140px) var(--wpm-gutter); }
.wpm-wrap { max-width: 1800px; margin: 0 auto; width: 100%; }

/* Type ---------------------------------------------------------------- */
.wpm-display,
.wpm-h2,
.wpm-h3,
.wpm-lead,
.wpm-text { margin: 0; font-weight: 600; }
.wpm-display { font-size: var(--wpm-fs-display); line-height: .82; letter-spacing: -.055em; }
.wpm-h2 { font-size: var(--wpm-fs-h2); line-height: .9; letter-spacing: -.05em; }
.wpm-h3 { font-size: var(--wpm-fs-h3); line-height: .95; letter-spacing: -.045em; }
.wpm-lead { font-size: var(--wpm-fs-lead); line-height: 1.15; letter-spacing: -.05em; }
.wpm-text { font-size: var(--wpm-fs-body); line-height: 1.3; letter-spacing: -.035em; color: var(--wpm-muted); }
.wpm-dot {
	background: var(--wpm-rainbow);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wpm-rainbow-text {
	background: var(--wpm-rainbow);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wpm-gap-s { margin-top: clamp(16px, 2vw, 28px); }
.wpm-gap-m { margin-top: clamp(28px, 4vw, 56px); }
.wpm-measure { max-width: 30ch; }
.wpm-measure-wide { max-width: 44ch; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--wpm-ink); outline-offset: 3px; border-radius: 6px; }

/* Pills: links and buttons -------------------------------------------- */
.wpm-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .85em 1.5em;
	border: 2px solid var(--wpm-ink);
	border-radius: 999px;
	font: 600 1rem/1 "Inter Tight", ui-sans-serif, system-ui, sans-serif;
	letter-spacing: -.02em;
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	color: var(--wpm-ink);
	background-size: 200% 100%;
	transition: background-position .5s var(--wpm-ease), transform .25s var(--wpm-ease), color .25s, border-color .25s;
}
.wpm-pill:hover { transform: translateY(-2px); }
.wpm-pill:active { transform: translateY(0); }
.wpm-pill--ink { background: var(--wpm-ink); color: #fff; }
.wpm-pill--ink:hover { background: var(--wpm-rainbow); color: var(--wpm-ink); border-color: transparent; }
.wpm-pill--rainbow {
	background-image: linear-gradient(110deg, var(--wpm-orange), var(--wpm-coral), var(--wpm-magenta), var(--wpm-lilac), var(--wpm-sky), var(--wpm-magenta), var(--wpm-orange));
	border-color: transparent;
	color: var(--wpm-ink);
}
.wpm-pill--rainbow:hover { background-position: 100% 0; }
.wpm-pill--line:hover { background: var(--wpm-ink); color: #fff; }
.wpm-pill--big { font-size: 1.15rem; padding: 1em 1.9em; }
.wpm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header -------------------------------------------------------------- */
.wpm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 248, 244, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}
.admin-bar .wpm-header { top: 32px; }
.wpm-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px var(--wpm-gutter);
}
.wpm-brand { font-size: 1.35rem; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.wpm-nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 40px); }
.wpm-nav__link {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -.02em;
	text-decoration: none;
	background: var(--wpm-rainbow) left bottom / 0 2px no-repeat;
	padding-bottom: 3px;
	transition: background-size .45s var(--wpm-ease);
}
.wpm-nav__link:hover,
.wpm-nav__link[aria-current="page"] { background-size: 100% 2px; }
.wpm-header .wpm-pill { padding: .7em 1.2em; font-size: .95rem; }

/* Hero ---------------------------------------------------------------- */
.wpm-hero { padding-top: clamp(40px, 9vh, 120px); padding-bottom: clamp(48px, 9vh, 120px); }
.wpm-hero .wpm-lead { margin-top: clamp(24px, 3.4vw, 56px); max-width: 26ch; }

/* Widget stack: a vertical slider. Without JS, on phones, or with reduced motion
   it's a plain list of cards. */
.wpm-stack .wpm-h2 { margin-bottom: clamp(24px, 4vw, 56px); }
.wpm-cards { display: grid; gap: 16px; }
.wpm-card {
	--wpm-card-bg: linear-gradient(120deg, var(--wpm-orange), var(--wpm-coral));
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: end;
	gap: clamp(20px, 3vw, 48px);
	min-height: min(72vh, 760px);
	padding: clamp(24px, 3.4vw, 56px);
	border-radius: clamp(20px, 2vw, 32px);
	background: var(--wpm-card-bg);
	color: var(--wpm-ink);
	overflow: hidden;
}
.wpm-card--2 { --wpm-card-bg: linear-gradient(120deg, var(--wpm-coral), var(--wpm-magenta)); }
.wpm-card--3 { --wpm-card-bg: linear-gradient(120deg, var(--wpm-magenta), var(--wpm-lilac)); }
.wpm-card--4 { --wpm-card-bg: linear-gradient(120deg, var(--wpm-lilac), var(--wpm-sky)); }
.wpm-card--5 { --wpm-card-bg: linear-gradient(120deg, var(--wpm-sky), #9fd6f2); }
.wpm-card__body { align-self: end; }
.wpm-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: .25em .4em; }
.wpm-card .wpm-text { color: var(--wpm-ink); max-width: 30ch; margin-top: clamp(14px, 1.6vw, 24px); }
.wpm-card .wpm-actions { margin-top: clamp(20px, 2.4vw, 36px); }
.wpm-card__art { align-self: stretch; display: grid; place-items: center; }
.wpm-card__art svg { width: min(100%, 360px); height: auto; color: var(--wpm-ink); opacity: .92; }
.wpm-card__count {
	position: absolute;
	top: clamp(20px, 2.6vw, 40px);
	right: clamp(24px, 3.4vw, 56px);
	font-size: 1rem;
	letter-spacing: -.02em;
}
.wpm-badge {
	display: inline-block;
	padding: .45em .9em;
	border-radius: 999px;
	background: var(--wpm-ink);
	color: #fff;
	font-size: clamp(.8rem, .9vw, 1rem);
	letter-spacing: -.01em;
	line-height: 1;
	vertical-align: middle;
	white-space: nowrap;
}
.wpm-badge--soft { background: rgba(255, 255, 255, .7); color: var(--wpm-ink); }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
	.wpm-js .wpm-stack { padding-top: 0; padding-bottom: 0; }
	.wpm-js .wpm-stack__track { height: calc(var(--wpm-n, 5) * 100vh); position: relative; }
	.wpm-js .wpm-stack__pin {
		position: sticky;
		top: 0;
		height: 100vh;
		padding-top: clamp(88px, 13vh, 140px);
		overflow: hidden;
	}
	.admin-bar.wpm-js .wpm-stack__pin { top: 32px; height: calc(100vh - 32px); }
	.wpm-js .wpm-stack .wpm-h2 { position: relative; z-index: 0; margin-bottom: 0; font-size: clamp(3rem, 7vw, 8rem); }
	.wpm-js .wpm-cards { display: block; position: absolute; inset: clamp(190px, 30vh, 300px) 0 clamp(16px, 3vh, 32px); }
	.wpm-js .wpm-card {
		position: absolute;
		inset: 0;
		min-height: 0;
		transform-origin: 50% 0;
		transform: translate3d(0, calc(var(--wpm-y, 0) * 110%), 0) scale(var(--wpm-s, 1));
		will-change: transform;
		box-shadow: 0 -18px 50px rgba(13, 11, 10, .12);
	}
	.wpm-js .wpm-card:first-child { box-shadow: none; }
}
@media (max-width: 899px) {
	.wpm-card { grid-template-columns: 1fr; min-height: 0; }
	.wpm-card__art { order: -1; justify-items: start; }
	.wpm-card__art svg { width: 120px; }
}

/* Statement and maker sections ---------------------------------------- */
.wpm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
@media (max-width: 899px) { .wpm-split { grid-template-columns: 1fr; } }
.wpm-main { padding: 0; }
.wpm-intro { padding-top: 0; }
.wpm-muted-lead { color: var(--wpm-muted); }
.wpm-maker { border-top: 2px solid var(--wpm-ink); margin: 0 var(--wpm-gutter); padding-left: 0; padding-right: 0; }
.wpm-maker__words { display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start; }
.wpm-list { padding-top: 0; }
.wpm-row__words .wpm-lead { max-width: 24ch; }
.wpm-contact { padding-top: 0; }
.wpm-contact .wpm-wrap { max-width: 1100px; margin: 0; }
.wpm-cta .wpm-actions { margin-top: clamp(28px, 4vw, 56px); }

/* Widgets page -------------------------------------------------------- */
.wpm-rows { display: grid; }
.wpm-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 80px);
	padding: clamp(36px, 6vh, 72px) 0;
	border-top: 2px solid var(--wpm-ink);
}
@media (max-width: 899px) { .wpm-row { grid-template-columns: 1fr; } }
.wpm-row__head { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .5em; }
.wpm-row__swatch { width: clamp(48px, 5vw, 80px); height: 10px; border-radius: 999px; background: var(--wpm-rainbow); margin-bottom: 20px; }
.wpm-ticks ul { list-style: none; margin: clamp(18px, 2vw, 28px) 0 0; padding: 0; display: grid; gap: .55em; }
.wpm-ticks li { position: relative; padding-left: 1.3em; color: var(--wpm-ink); }
.wpm-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .48em;
	width: .55em;
	height: .55em;
	border-radius: 50%;
	background: var(--wpm-rainbow);
}
.wpm-row .wpm-actions { margin-top: clamp(22px, 2.6vw, 36px); }

/* Contact ------------------------------------------------------------- */
.wpm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wpm-field { display: grid; gap: 8px; }
.wpm-field--wide { grid-column: 1 / -1; }
.wpm-form .wpm-pill { justify-self: start; }
@media (max-width: 700px) { .wpm-form { grid-template-columns: 1fr; } }
.wpm-field label { font-size: 1rem; letter-spacing: -.02em; }
.wpm-opt { color: var(--wpm-muted); font-weight: 500; }
.wpm-field input,
.wpm-field select,
.wpm-field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid var(--wpm-ink);
	border-radius: 16px;
	background: #fff;
	color: var(--wpm-ink);
	font: 500 1.05rem/1.4 "Inter Tight", ui-sans-serif, system-ui, sans-serif;
	letter-spacing: -.01em;
}
.wpm-field input:focus,
.wpm-field select:focus,
.wpm-field textarea:focus { outline: 3px solid var(--wpm-magenta); outline-offset: 2px; }
.wpm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wpm-alert { grid-column: 1 / -1; margin-bottom: 20px; padding: 16px 20px; border-radius: 16px; border: 2px solid var(--wpm-ink); font-size: 1.05rem; }
.wpm-alert--ok { background: var(--wpm-rainbow); border-color: transparent; }

/* Footer -------------------------------------------------------------- */
.wpm-footer { background: var(--wpm-ink); color: var(--wpm-paper); padding: clamp(72px, 12vh, 160px) var(--wpm-gutter) 32px; }
.wpm-footer .wpm-h2 { color: var(--wpm-paper); }
.wpm-footer__nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.wpm-footer .wpm-pill--line { border-color: var(--wpm-paper); color: var(--wpm-paper); }
.wpm-footer .wpm-pill--line:hover { background: var(--wpm-paper); color: var(--wpm-ink); }
.wpm-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-top: clamp(72px, 12vh, 160px);
	padding-top: 32px;
	border-top: 1px solid rgba(250, 248, 244, .2);
}
.wpm-credit { display: grid; gap: 18px; max-width: 520px; }
.wpm-credit__logo { display: inline-block; width: clamp(240px, 28vw, 440px); }
.wpm-credit__logo img { display: block; width: 100%; height: auto; }
.wpm-credit__text { margin: 0; font-size: .95rem; font-weight: 500; letter-spacing: -.01em; color: rgba(250, 248, 244, .78); }
.wpm-credit__text a { color: var(--wpm-paper); }
.wpm-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: .95rem; font-weight: 500; letter-spacing: -.01em; }
.wpm-legal a,
.wpm-legal__btn { color: var(--wpm-paper); text-decoration: none; background: var(--wpm-rainbow) left bottom / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--wpm-ease); }
.wpm-legal a:hover,
.wpm-legal__btn:hover { background-size: 100% 2px; }
.wpm-legal__btn { border: 0; font: inherit; letter-spacing: inherit; cursor: pointer; background-color: transparent; }
.wpm-legal span { color: rgba(250, 248, 244, .6); }

/* Cookie choices ------------------------------------------------------ */
.wpm-cookie {
	position: fixed;
	left: var(--wpm-gutter);
	bottom: var(--wpm-gutter);
	z-index: 9000;
	width: min(560px, calc(100vw - 2 * var(--wpm-gutter)));
	max-height: calc(100vh - 2 * var(--wpm-gutter));
	overflow: auto;
	padding: clamp(20px, 2vw, 28px);
	border-radius: 28px;
	background: #fff;
	color: var(--wpm-ink);
	box-shadow: 0 24px 70px rgba(13, 11, 10, .22);
	animation: wpm-rise .6s var(--wpm-ease) both;
}
.wpm-cookie[hidden] { display: none; }
.wpm-cookie__title { margin: 0; font-size: 1.6rem; line-height: 1.05; letter-spacing: -.045em; }
.wpm-cookie__text { margin: 10px 0 0; font-size: 1rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--wpm-muted); }
.wpm-cookie__text a { color: var(--wpm-ink); }
.wpm-cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wpm-cookie__btns .wpm-pill { padding: .75em 1.25em; font-size: .95rem; }
.wpm-cookie__prefs { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--wpm-line); }
.wpm-cookie__prefs[hidden] { display: none; }
.wpm-switch { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: .95rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; cursor: pointer; }
.wpm-switch b { display: block; font-weight: 600; }
.wpm-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wpm-switch__ui { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #d9d4cd; transition: background .3s; }
.wpm-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--wpm-ease); }
.wpm-switch input:checked + .wpm-switch__ui { background: var(--wpm-rainbow); }
.wpm-switch input:checked + .wpm-switch__ui::after { transform: translateX(20px); }
.wpm-switch input:disabled + .wpm-switch__ui { opacity: .55; }
.wpm-switch input:focus-visible + .wpm-switch__ui { outline: 3px solid var(--wpm-ink); outline-offset: 2px; }
@keyframes wpm-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Page transition: a rainbow sheet with a curved edge ----------------- */
.wpm-sheet {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	background: var(--wpm-rainbow);
	pointer-events: none;
	transform: translate3d(0, 110%, 0);
	border-radius: 50% 50% 0 0 / 18vh 18vh 0 0;
	visibility: hidden;
}
.wpm-sheet__label { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.05em; color: var(--wpm-ink); opacity: 0; transform: translateY(20px); }
.wpm-sheet.is-in { visibility: visible; transform: none; border-radius: 0; transition: transform .7s var(--wpm-ease), border-radius .7s var(--wpm-ease); }
.wpm-sheet.is-in .wpm-sheet__label { opacity: 1; transform: none; transition: opacity .35s .3s, transform .5s .3s var(--wpm-ease); }
.wpm-sheet.is-cover { visibility: visible; transform: none; border-radius: 0; transition: none; }
.wpm-sheet.is-cover .wpm-sheet__label { opacity: 1; transform: none; transition: none; }
.wpm-sheet.is-out { visibility: visible; transform: translate3d(0, -110%, 0); border-radius: 0 0 50% 50% / 0 0 18vh 18vh; transition: transform .8s .15s var(--wpm-ease), border-radius .8s .15s var(--wpm-ease); }
.wpm-sheet.is-out .wpm-sheet__label { opacity: 0; transition: opacity .25s; }
/* Arriving from a menu click: covered before first paint, until site.js takes over. */
html.wpm-enter::after {
	content: attr(data-wpm-label);
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: grid;
	place-items: center;
	background: var(--wpm-rainbow);
	font: 600 clamp(2rem, 4vw, 4rem)/1 "Inter Tight", ui-sans-serif, system-ui, sans-serif;
	letter-spacing: -.05em;
	color: var(--wpm-ink);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.wpm-pill, .wpm-nav__link, .wpm-legal a, .wpm-switch__ui, .wpm-switch__ui::after { transition: none; }
	.wpm-cookie { animation: none; }
	.wpm-sheet { display: none; }
}

/* Oxygen makes every div a flex column that shrinks to its content. Set our layouts explicitly. */
.wpm-wrap, .wpm-stack__track, .wpm-stack__pin, .wpm-card__body, .wpm-row__name, .wpm-row__words, .wpm-maker__words { display: block; width: 100%; }
.wpm-cards, .wpm-rows, .wpm-row, .wpm-card, .wpm-split, .wpm-footer__base { width: 100%; }
.wpm-header__bar, .wpm-nav, .wpm-actions, .wpm-footer__nav, .wpm-footer__base { flex-direction: row; }
.wpm-maker__words { display: grid; }
.wpm-header__bar { align-items: center; }
.wpm-nav, .wpm-actions, .wpm-footer__nav { align-items: center; }
.wpm-footer__base { align-items: flex-end; }
[hidden], .wpm-pill[hidden] { display: none !important; }

/* Oxygen's global heading font loses to ours. */
body h1, body h2, body h3, body h4, body h5, body h6, body .ct-headline, body .ct-text-block, body .ct-link-text { font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Maker: the rule sits on the inner wrap so the section never runs past the screen edge. */
.wpm-maker { margin: 0; padding-left: var(--wpm-gutter); padding-right: var(--wpm-gutter); border-top: 0; }
.wpm-maker .wpm-wrap { border-top: 2px solid var(--wpm-ink); padding-top: clamp(48px, 8vh, 100px); }
.wpm-split > * { min-width: 0; }

/* Badges on the light Widgets page need the solid version. */
.wpm-row .wpm-badge--soft { background: var(--wpm-ink); color: #fff; }
.wpm-row__head .wpm-badge { font-size: clamp(.85rem, 1vw, 1.05rem); }
.wpm-sheet.is-in .wpm-sheet__label { transition: opacity .3s .12s, transform .45s .12s var(--wpm-ease); }

.wpm-pill { white-space: nowrap; }
@media (max-width: 600px) {
	.wpm-header .wpm-pill { display: none; }
	.wpm-brand { font-size: 1.2rem; }
	.wpm-nav { gap: 18px; }
}
