/*!
Theme Name: Custom GPT
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: custom-gpt
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Custom GPT is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Custom GPT site chrome
--------------------------------------------------------------*/
:root {
	--cgpt-ink: #16182d;
	--cgpt-muted: #66697a;
	--cgpt-line: #e9e9ef;
	--cgpt-surface: #f7f7fa;
	--cgpt-container: 1280px;
	--cgpt-header-h: 88px;
	--cgpt-accent: #5b57d6;

	/* Vertical rhythm shared by every content section. */
	--cgpt-section-space: clamp(56px, 7vw, 112px);
}

.site-header {
	position: relative;
	z-index: 100;
	background: transparent;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 88px;
	width: min(100% - 96px, var(--cgpt-container));
	margin: 0 auto;
}

.site-header__primary,
.site-header__secondary {
	display: flex;
	align-items: center;
	border: 1px solid rgba(225, 226, 234, 0.7);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 10px 30px rgba(32, 35, 62, 0.04);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.site-header__primary {
	min-width: 0;
	padding: 6px 12px 6px 14px;
}

.site-header__secondary {
	flex: 0 0 auto;
	padding: 6px 8px;
}

.site-branding,
.footer-branding {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.site-branding .custom-logo-link,
.footer-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	max-width: 168px;
	max-height: 34px;
}

.footer-branding .custom-logo {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 38px;
}

.site-branding__name {
	color: var(--cgpt-ink);
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1;
	text-decoration: none;
}

.site-branding__name:visited,
.site-branding__name:hover,
.site-branding__name:focus {
	color: var(--cgpt-ink);
}

.main-navigation {
	display: flex;
	flex: 0 1 auto;
	width: auto;
	margin-left: 24px;
}

.main-navigation ul,
.main-navigation .primary-menu,
.header-actions__menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li,
.header-actions__menu li {
	margin: 0;
}

.main-navigation a,
.header-actions__menu a {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--cgpt-ink);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-navigation a:visited,
.header-actions__menu a:visited {
	color: var(--cgpt-ink);
}

.main-navigation a:hover,
.main-navigation a:focus,
.header-actions__menu a:hover,
.header-actions__menu a:focus {
	background: rgba(255, 255, 255, 0.82);
	color: var(--cgpt-ink);
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
body.home .main-navigation .primary-menu > li:first-child > a,
body.front-page .main-navigation .primary-menu > li:first-child > a {
	background: rgba(255, 255, 255, 0.94);
	box-shadow: inset 0 0 0 1px rgba(210, 211, 220, 0.92);
	color: var(--cgpt-ink);
}

.main-navigation .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: -3px 0 0 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.main-navigation ul ul {
	display: block;
	float: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	padding: 8px;
	border: 1px solid var(--cgpt-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(27, 27, 48, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.main-navigation ul ul a {
	width: 100%;
	border-radius: 9px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul,
.main-navigation ul li:focus-within > ul {
	left: 0;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-actions {
	flex: 0 0 auto;
	margin: 0;
}

.header-actions__menu {
	gap: 8px;
}

.header-actions__menu li:first-child a {
	min-height: 36px;
	padding-inline: 19px;
	border: 1px solid rgba(215, 216, 224, 0.9);
	background: rgba(255, 255, 255, 0.82);
}

.header-actions__menu li:last-child a {
	min-height: 36px;
	padding-inline: 18px;
	background: var(--cgpt-ink);
	color: #fff;
}

.header-actions__menu li:last-child a:visited {
	color: #fff;
}

.header-actions__menu li:last-child a:hover,
.header-actions__menu li:last-child a:focus {
	background: #30334f;
	color: #fff;
	transform: translateY(-1px);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	margin-left: auto;
	padding: 10px 0 10px 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--cgpt-ink);
	font-size: 0.875rem;
	font-weight: 650;
	cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	border: 0;
	background: transparent;
}

.menu-toggle:focus-visible {
	outline: 2px solid rgba(22, 24, 45, 0.58);
	outline-offset: 1px;
}

.menu-toggle__icon {
	display: block;
	position: relative;
	width: 22px;
	height: 16px;
}

.menu-toggle__icon span {
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: top 180ms ease, transform 180ms ease;
}

.menu-toggle__icon span:first-child {
	top: 3px;
}

.menu-toggle__icon span:last-child {
	top: 11px;
}

.site-header.menu-open .menu-toggle__icon span:first-child {
	top: 7px;
	transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle__icon span:last-child {
	top: 7px;
	transform: rotate(-45deg);
}

.site-footer {
	margin-top: 0;
	background: #fff;
	color: var(--cgpt-ink);
}

.footer-cta {
	position: relative;
	overflow: hidden;
	display: grid;
	place-items: center;
	/* Kept near the artwork's own 3:1 so `cover` crops as little as possible. */
	min-height: clamp(300px, 33vw, 520px);
	padding: 72px 24px;
	/* The mesh gradient is a supplied 3:1 artwork rather than layered CSS
	   gradients, which could not reproduce its soft colour transitions. */
	background-color: #a996ee;
	background-image: url("assets/images/home/cta/gradient.jpg");
	background-image: -webkit-image-set(url("assets/images/home/cta/gradient.jpg") 1x, url("assets/images/home/cta/gradient@2x.jpg") 2x);
	background-image: image-set(url("assets/images/home/cta/gradient.jpg") 1x, url("assets/images/home/cta/gradient@2x.jpg") 2x);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.footer-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(73, 119, 255, 0.35), rgba(255, 255, 255, 0.08) 52%, rgba(210, 247, 255, 0.45));
	pointer-events: none;
}

.footer-cta__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.footer-cta h2 {
	max-width: 1000px;
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 3.5vw, 3.1rem);
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.footer-cta__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}

.footer-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 22px;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 650;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-cta__button:hover,
.footer-cta__button:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(30, 31, 55, 0.18);
}

.footer-cta__button--primary,
.footer-cta__button--primary:visited,
.footer-cta__button--primary:hover,
.footer-cta__button--primary:focus {
	background: var(--cgpt-ink);
	color: #fff;
}

.footer-cta__button--secondary,
.footer-cta__button--secondary:visited,
.footer-cta__button--secondary:hover,
.footer-cta__button--secondary:focus {
	background: #fff;
	color: var(--cgpt-ink);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	width: min(100% - 96px, var(--cgpt-container));
	margin: 0 auto;
	padding: 30px 0 26px;
}

.footer-navigation {
	display: grid;
	grid-template-columns: 160px repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 48px;
}

.footer-branding {
	align-items: flex-start;
}

.footer-menu-column {
	min-width: 0;
}

.footer-menu-column .footer-menu + .footer-menu {
	margin-top: 48px;
}

.footer-menu__title {
	margin: 0 0 22px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e4e5e9;
	color: #585a65;
	font-size: 0.75rem;
	font-weight: 450;
	line-height: 1.3;
}

.footer-menu__list,
.footer-menu__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu__list li + li {
	margin-top: 8px;
}

.footer-menu__list a {
	display: inline-block;
	color: var(--cgpt-ink);
	font-size: 0.75rem;
	font-weight: 450;
	line-height: 1.5;
	text-decoration: none;
}

.footer-menu__list a:visited {
	color: var(--cgpt-ink);
}

.footer-menu__list a:hover,
.footer-menu__list a:focus {
	color: #6755df;
}

.footer-meta {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	min-height: 26px;
	margin-top: clamp(48px, 6vw, 88px);
}

.footer-socials,
.footer-legal ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-socials {
	grid-column: 1;
}

.footer-socials a {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border: 1px solid #dedfe5;
	border-radius: 5px;
	background: #fff;
	color: #5d6070;
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.footer-socials a:visited,
.footer-socials a:hover,
.footer-socials a:focus {
	border-color: #bfc1cc;
	background: #f7f7fa;
	color: var(--cgpt-ink);
}

.footer-socials svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.footer-copyright {
	grid-column: 2;
	margin: 0;
	color: #747680;
	font-size: 0.75rem;
	text-align: center;
}

.footer-legal {
	grid-column: 3;
	justify-self: end;
}

.footer-legal ul {
	gap: 10px;
}

.footer-legal li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-legal li + li::before {
	content: "";
	flex: 0 0 auto;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #aaacb4;
}

.footer-legal a {
	color: #747680;
	font-size: 0.75rem;
	text-decoration: none;
}

.footer-legal a:visited {
	color: #747680;
}

.footer-legal a:hover,
.footer-legal a:focus {
	color: var(--cgpt-ink);
}

/*--------------------------------------------------------------
# Home hero (first fold)
--------------------------------------------------------------*/
.home-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	margin-top: calc(-1 * var(--cgpt-header-h));
	padding-top: var(--cgpt-header-h);
	overflow: hidden;
	background:
		radial-gradient(78% 66% at 96% 4%, rgba(219, 213, 255, 0.42), rgba(219, 213, 255, 0) 64%),
		#fcfcff;
}

.home-hero__ribbon {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
}

.home-hero__ribbon video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* Softens the ribbon behind the headline so the copy stays readable at every
   frame of the loop, while leaving the sweep and the glass panel untouched. */
.home-hero__ribbon::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(62% 30% at 46% 16%, rgba(252, 252, 255, 0.92), rgba(252, 252, 255, 0.5) 52%, rgba(252, 252, 255, 0) 76%);
}

.home-hero__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100% - 96px, 1100px);
	margin: 0 auto;
	padding-block: clamp(28px, 5vh, 64px) clamp(32px, 5vh, 64px);
	text-align: center;
}

.home-hero__title {
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(2.5rem, 5.2vw, 4.25rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.06;
	text-wrap: balance;
}

/* Call to action
--------------------------------------------- */
.home-hero__cta {
	display: inline-flex;
	margin-top: clamp(28px, 4.5vh, 52px);
	align-items: center;
	gap: 8px;
	padding: 15px 26px;
	border-radius: 999px;
	background: var(--cgpt-ink);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(22, 24, 45, 0.22);
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-hero__cta:visited {
	color: #fff;
}

.home-hero__cta:hover,
.home-hero__cta:focus {
	background: #22253f;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(22, 24, 45, 0.28);
}

.home-hero__cta:focus-visible {
	outline: 2px solid var(--cgpt-ink);
	outline-offset: 3px;
}

.home-hero__cta-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Product screenshot
--------------------------------------------- */
.home-hero__dashboard {
	flex: 0 0 auto;
	width: 100%;
	overflow: hidden;
	border-radius: 24px 24px 0 0;
	padding: 50px;
}

.home-hero__dashboard-image {
	display: block;
	width: 100%;
	height: auto;
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__cta,
	.home-hero__cta:hover,
	.home-hero__cta:focus {
		transform: none;
		transition: none;
	}
}

@media screen and (max-width: 960px) {
	.home-hero__intro {
		width: min(100% - 32px, 1100px);
	}
}

@media screen and (max-width: 782px) {
	.home-hero__ribbon {
		opacity: 0.7;
	}

	.home-hero__intro {
		padding-block: clamp(24px, 4vh, 44px) clamp(28px, 4vh, 48px);
	}

	.home-hero__title {
		font-size: clamp(2.15rem, 8.6vw, 2.75rem);
		letter-spacing: -0.035em;
	}

	.home-hero__dashboard {
		border-radius: 18px 18px 0 0;
	}
}

/*--------------------------------------------------------------
# Trusted by (logo slider)
--------------------------------------------------------------*/
.trust-bar {
	--trust-bar-gap: clamp(40px, 5.5vw, 88px);

	padding-block: var(--cgpt-section-space);
	background: #fff;
}

.trust-bar__heading {
	width: min(100% - 48px, var(--cgpt-container));
	margin: 0 auto clamp(24px, 3vw, 38px);
	color: var(--cgpt-muted);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.005em;
	text-align: center;
}

/* The mask is what keeps the first and last logos only partly visible, so the
   row reads as a strip that continues past both edges. */
.trust-bar__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.trust-bar__track {
	display: flex;
	width: max-content;
	animation: trust-bar-scroll var(--trust-bar-duration, 40s) linear infinite;
}

.trust-bar__viewport:hover .trust-bar__track,
.trust-bar__viewport:focus-within .trust-bar__track {
	animation-play-state: paused;
}

/* Two identical passes sit side by side, so shifting the track by exactly one
   pass lands back on the starting frame. */
@keyframes trust-bar-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

.trust-bar__group {
	display: flex;
	align-items: center;
	gap: var(--trust-bar-gap);
	margin: 0;

	/* Carries the spacing across the seam between the two passes. */
	padding: 0 var(--trust-bar-gap) 0 0;
	list-style: none;
}

.trust-bar__item {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.trust-bar__logo {
	display: block;
	width: auto;
	height: clamp(24px, 2.2vw, 34px);
	max-width: 200px;
	object-fit: contain;
	filter: grayscale(1);
	transition: opacity 180ms ease, filter 180ms ease;
}

.trust-bar__link {
	display: flex;
	align-items: center;
	border-radius: 8px;
}

.trust-bar__link:hover .trust-bar__logo,
.trust-bar__link:focus-visible .trust-bar__logo {
	filter: grayscale(0);
	opacity: 1;
}

.trust-bar__link:focus-visible {
	outline: 2px solid var(--cgpt-ink);
	outline-offset: 6px;
}

.trust-bar--placeholder .trust-bar__logo {
	filter: none;
	opacity: 1;
}

@media screen and (max-width: 782px) {
	.trust-bar__heading {
		width: min(100% - 32px, var(--cgpt-container));
	}

	.trust-bar__logo {
		max-width: 150px;
	}
}

/* Without motion the strip stops scrolling, so it becomes a plain centred row
   and the duplicate pass is dropped. */
@media (prefers-reduced-motion: reduce) {
	.trust-bar__viewport {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.trust-bar__track {
		width: min(100% - 48px, var(--cgpt-container));
		margin: 0 auto;
		animation: none;
	}

	.trust-bar__group {
		flex-wrap: wrap;
		justify-content: center;
		padding-right: 0;
		row-gap: 28px;
	}

	.trust-bar__group[aria-hidden="true"] {
		display: none;
	}
}

/*--------------------------------------------------------------
# AI Solutions (feature grid)
--------------------------------------------------------------*/
.solutions {
	--solutions-gap: clamp(24px, 2.8vw, 40px);

	padding-block: var(--cgpt-section-space);
	background: #fff;
}

.solutions__inner {
	width: min(100% - 96px, var(--cgpt-container));
	margin: 0 auto;
}

/* Header
--------------------------------------------- */
.solutions__header {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--solutions-gap);
	align-items: start;
	margin-bottom: clamp(36px, 4.5vw, 64px);
}

.solutions__eyebrow {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

.solutions__heading {
	grid-column: 1;
	grid-row: 2;
}

.solutions__intro {
	grid-column: 2;
	grid-row: 2;
}

.solutions__eyebrow {
	display: inline-block;
	margin: 0 0 clamp(18px, 2vw, 28px);
	padding: 7px 15px;
	border: 1px solid var(--cgpt-line);
	border-radius: 999px;
	color: var(--cgpt-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
}

.solutions__heading {
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1.875rem, 3.4vw, 2.875rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.solutions__intro {
	padding-top: clamp(4px, 0.7vw, 10px);
	color: var(--cgpt-ink);
	font-size: 1rem;
	line-height: 1.6;
}

.solutions__intro p {
	margin: 0;
}

.solutions__intro p + p {
	margin-top: 0.75em;
}

/* Grid
--------------------------------------------- */
.solutions__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 4.5vw, 72px) var(--solutions-gap);
}

.solutions__item {
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2vw, 28px);
	min-width: 0;
	margin: 0;
}

.solutions__media {
	overflow: hidden;
	border-radius: 14px;
	background: var(--cgpt-surface);
}

.solutions__media-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
}

.solutions__item-title {
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.solutions__item-text {
	color: var(--cgpt-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.solutions__item-text p {
	margin: 0;
}

.solutions__item-text p + p {
	margin-top: 0.75em;
}

.solutions__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Wide feature: text beside the image, spanning both columns.
--------------------------------------------- */
.solutions__item--wide {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--solutions-gap);
	align-items: center;
}

.solutions__item--wide .solutions__body {
	gap: 16px;
	align-items: center;
	padding-inline: clamp(0px, 3vw, 44px);
	text-align: center;
}

.solutions__item--wide .solutions__item-title {
	font-size: clamp(1.625rem, 2.8vw, 2.375rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.solutions__item--wide .solutions__item-text {
	max-width: 42ch;
}

/* Markup is always image-then-text; only the painted order flips. */
.solutions__item--media-right .solutions__media {
	order: 2;
}

.solutions__item--media-left .solutions__media {
	order: -1;
}

.cgpt-btn-outline {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border: 1px solid var(--cgpt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--cgpt-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cgpt-btn-outline:visited {
	color: var(--cgpt-ink);
}

.cgpt-btn-outline:hover,
.cgpt-btn-outline:focus {
	border-color: #cdced8;
	color: var(--cgpt-ink);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(22, 24, 45, 0.08);
}

.cgpt-btn-outline:focus-visible {
	outline: 2px solid var(--cgpt-ink);
	outline-offset: 3px;
}

.solutions__button {
	margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
	.cgpt-btn-outline,
	.cgpt-btn-outline:hover,
	.cgpt-btn-outline:focus {
		transform: none;
		transition: none;
	}
}

@media screen and (max-width: 960px) {
	.solutions__inner {
		width: min(100% - 32px, var(--cgpt-container));
	}

	.solutions__heading {
		max-width: none;
	}
}

@media screen and (max-width: 782px) {
	.solutions__header,
	.solutions__grid,
	.solutions__item--wide {
		grid-template-columns: minmax(0, 1fr);
	}

	.solutions__eyebrow,
	.solutions__heading,
	.solutions__intro {
		grid-column: 1;
		grid-row: auto;
	}

	.solutions__intro {
		padding-top: clamp(14px, 2.5vw, 22px);
	}

	/* One column, so the image leads every feature. */
	.solutions__item--wide .solutions__media {
		order: -1;
	}

	.solutions__item--wide .solutions__body {
		padding-inline: 0;
		text-align: left;
		align-items: flex-start;
	}

	.solutions__item--wide .solutions__item-text {
		max-width: none;
	}
}

/*--------------------------------------------------------------
# Customer stories (slider)
--------------------------------------------------------------*/
.stories {
	padding-block: var(--cgpt-section-space);
	background: #fff;
}

.stories__inner {
	width: min(100% - 48px, 880px);
	margin: 0 auto;
}

.stories__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: clamp(32px, 4vw, 56px);
	text-align: center;
}

.stories__eyebrow {
	margin: 0 0 clamp(16px, 2vw, 26px);
	padding: 7px 15px;
	border: 1px solid var(--cgpt-line);
	border-radius: 999px;
	color: var(--cgpt-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
}

.stories__heading {
	max-width: 26ch;
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1.875rem, 3.9vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.stories__more {
	margin-top: clamp(20px, 2.6vw, 34px);
}

/* Slider
--------------------------------------------- */
.stories__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
}

.stories__track::-webkit-scrollbar {
	display: none;
}

.stories__slide {
	display: flex;
	flex: 0 0 100%;
	flex-direction: column;
	gap: clamp(22px, 3vw, 34px);
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

/* Author
--------------------------------------------- */
.stories__author {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.stories__person {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	text-align: left;
}

.stories__avatar {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--cgpt-surface);
}

.stories__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stories__initials {
	color: var(--cgpt-muted);
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: 0.02em;
}

.stories__identity {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.stories__name {
	color: var(--cgpt-ink);
	font-size: 0.9375rem;
	font-weight: 650;
	line-height: 1.3;
}

.stories__role {
	color: var(--cgpt-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.stories__logo img {
	display: block;
	width: auto;
	height: 38px;
	max-width: 150px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.6;
}

/* Quote
--------------------------------------------- */
.stories__quote {
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1rem, 1.35vw, 1.125rem);
	font-style: italic;
	line-height: 1.65;
	text-align: center;
}

.stories__quote p {
	margin: 0;
}

.stories__quote p + p {
	margin-top: 0.7em;
}

.stories__quote a {
	color: var(--cgpt-accent);
	text-decoration: none;
}

.stories__quote a:visited {
	color: var(--cgpt-accent);
}

.stories__quote a:hover,
.stories__quote a:focus {
	color: var(--cgpt-accent);
	text-decoration: underline;
}

/* Results
--------------------------------------------- */
.stories__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 32px);
	margin: 0;
}

.stories__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding-top: clamp(16px, 2vw, 24px);
	border-top: 1px solid var(--cgpt-line);
	text-align: center;
}

.stories__stat-value {
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.stories__stat-label {
	margin: 0;
	color: var(--cgpt-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

/* Arrows
--------------------------------------------- */
.stories__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(24px, 3vw, 38px);
}

.stories__arrow {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--cgpt-line);
	border-radius: 12px;
	background: #fff;
	color: var(--cgpt-ink);
	cursor: pointer;
	transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.stories__arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.stories__arrow:hover:not(:disabled),
.stories__arrow:focus-visible {
	border-color: #cdced8;
	box-shadow: 0 8px 20px rgba(22, 24, 45, 0.08);
}

.stories__arrow:focus-visible {
	outline: 2px solid var(--cgpt-ink);
	outline-offset: 2px;
}

.stories__arrow:disabled {
	cursor: default;
	opacity: 0.4;
}

@media (prefers-reduced-motion: reduce) {
	.stories__arrow {
		transition: none;
	}
}

@media screen and (max-width: 782px) {
	.stories__inner {
		width: min(100% - 32px, 880px);
	}

	.stories__author {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.stories__quote {
		text-align: left;
	}

	.stories__stats {
		grid-template-columns: minmax(0, 1fr);
	}

	.stories__stat {
		align-items: flex-start;
		text-align: left;
	}
}

/*--------------------------------------------------------------
# Shimmer button
--------------------------------------------------------------*/
/*
 * A spark travels the edge of the button: a conic gradient rotates inside a
 * box that slides left and right, and an inset backdrop covers everything but
 * a hairline ring, so only the ring lights up. Ported from Magic UI's
 * ShimmerButton (https://magicui.design/docs/components/shimmer-button).
 *
 * Add the markup hook inside any button that carries .shimmer-btn:
 *   <span class="shimmer-btn__spark" aria-hidden="true"><span></span></span>
 */
.shimmer-btn {
	--shimmer-spread: 90deg;
	--shimmer-color: #fff;
	--shimmer-speed: 3s;
	--shimmer-cut: 2px;
	--shimmer-bg: var(--cgpt-ink);

	position: relative;
	z-index: 0;
	overflow: hidden;
	background: var(--shimmer-bg);
}

/* Light pills get a dark spark so it stays visible. */
.shimmer-btn--light {
	--shimmer-color: rgba(22, 24, 45, 0.55);
	--shimmer-bg: #fff;
}

.shimmer-btn__spark {
	position: absolute;
	inset: 0;
	z-index: -30;
	container-type: size;
	overflow: visible;
	filter: blur(2px);
	pointer-events: none;
}

.shimmer-btn__spark > span {
	position: absolute;
	inset: 0;
	display: block;
	height: 100cqh;
	aspect-ratio: 1;
	animation: cgpt-shimmer-slide var(--shimmer-speed) ease-in-out infinite alternate;
}

.shimmer-btn__spark > span::before {
	content: "";
	position: absolute;
	inset: -100%;
	width: auto;
	background: conic-gradient(from calc(270deg - (var(--shimmer-spread) * 0.5)), transparent 0, var(--shimmer-color) var(--shimmer-spread), transparent var(--shimmer-spread));
	animation: cgpt-shimmer-spin calc(var(--shimmer-speed) * 2) linear infinite;
}

/* Inner highlight along the bottom edge. */
.shimmer-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 -8px 10px rgba(255, 255, 255, 0.12);
	pointer-events: none;
	transition: box-shadow 300ms ease-in-out;
}

.shimmer-btn--light::before {
	box-shadow: inset 0 -8px 10px rgba(22, 24, 45, 0.06);
}

.shimmer-btn:hover::before {
	box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.25);
}

.shimmer-btn--light:hover::before {
	box-shadow: inset 0 -6px 10px rgba(22, 24, 45, 0.1);
}

/* Masks the spark down to the hairline ring. */
.shimmer-btn::after {
	content: "";
	position: absolute;
	inset: var(--shimmer-cut);
	z-index: -20;
	border-radius: inherit;
	background: var(--shimmer-bg);
	pointer-events: none;
}

@keyframes cgpt-shimmer-slide {
	to {
		transform: translate(calc(100cqw - 100%), 0);
	}
}

@keyframes cgpt-shimmer-spin {
	0% {
		transform: translateZ(0) rotate(0);
	}

	15%,
	35% {
		transform: translateZ(0) rotate(90deg);
	}

	65%,
	85% {
		transform: translateZ(0) rotate(270deg);
	}

	100% {
		transform: translateZ(0) rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.shimmer-btn__spark {
		display: none;
	}

	.shimmer-btn::before {
		transition: none;
	}
}

/* Section buttons opting into the effect
--------------------------------------------- */
.cgpt-btn-outline.shimmer-btn {
	--shimmer-bg: #fff;

	border-color: var(--cgpt-line);
}

.home-hero__cta.shimmer-btn,
.footer-cta__button--primary.shimmer-btn {
	--shimmer-bg: var(--cgpt-ink);
}

.footer-cta__button--secondary.shimmer-btn {
	--shimmer-bg: #fff;
}

.header-actions__menu li:last-child a.shimmer-btn {
	--shimmer-bg: var(--cgpt-ink);
}

/*--------------------------------------------------------------
# Easy launch (steps)
--------------------------------------------------------------*/
.launch {
	--launch-gap: clamp(20px, 2.4vw, 36px);

	padding-block: var(--cgpt-section-space);
	background: #fff;
}

.launch__inner {
	width: min(100% - 96px, var(--cgpt-container));
	margin: 0 auto;
}

.launch__header {
	margin-bottom: clamp(28px, 3.4vw, 48px);
}

.launch__eyebrow {
	display: inline-block;
	margin: 0 0 clamp(16px, 1.8vw, 24px);
	padding: 7px 15px;
	border: 1px solid var(--cgpt-line);
	border-radius: 999px;
	color: var(--cgpt-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
}

.launch__heading {
	max-width: 24ch;
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1.875rem, 3.4vw, 2.875rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.launch__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--launch-gap);
	align-items: stretch;
}

/* Steps
--------------------------------------------- */
.launch__steps {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.launch__step {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(20px, 2.2vw, 30px);
	border: 1px solid var(--cgpt-line);
	border-radius: 16px;
	background: #fbfbfd;
}

.launch__step-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-bottom: clamp(16px, 2vw, 26px);
}

.launch__icon {
	display: block;
	color: var(--cgpt-ink);
}

.launch__icon .cgpt-icon {
	display: block;
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.launch__icon-image {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.launch__number {
	color: var(--cgpt-accent);
	font-size: 0.9375rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	line-height: 1;
}

.launch__step-title {
	margin: 0 0 10px;
	color: var(--cgpt-ink);
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.launch__step-text {
	margin-bottom: clamp(16px, 2vw, 24px);
	color: var(--cgpt-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.launch__step-text p {
	margin: 0;
}

.launch__step-text p + p {
	margin-top: 0.7em;
}

/* Pushes the button to the bottom so buttons line up across cards of
   different text lengths. */
.launch__button {
	margin-top: auto;
}

/* Panel
--------------------------------------------- */
.launch__media {
	overflow: hidden;
	border-radius: 16px;
	background: var(--cgpt-surface);
}

.launch__media-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media screen and (max-width: 960px) {
	.launch__inner {
		width: min(100% - 32px, var(--cgpt-container));
	}
}

@media screen and (max-width: 860px) {
	.launch__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.launch__media-image {
		height: auto;
	}
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing {
	/* Reserved above every plan so the cards line up whether or not one
	   carries a badge. */
	--pricing-badge-h: 38px;

	padding-block: var(--cgpt-section-space);
	background: var(--cgpt-surface);
}

.pricing__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100% - 48px, 1140px);
	margin: 0 auto;
}

.pricing__header {
	margin-bottom: clamp(28px, 3.4vw, 46px);
	text-align: center;
}

.pricing__heading {
	max-width: 20ch;
	margin: 0 auto;
	color: var(--cgpt-ink);
	font-size: clamp(1.875rem, 3.4vw, 2.875rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.pricing__intro {
	max-width: 50rem;
	margin: 14px auto 0;
	color: var(--cgpt-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.pricing__intro p {
	margin: 0;
}

/* Plans
--------------------------------------------- */
.pricing__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.8vw, 26px);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pricing__plan {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Only the badged plan fills that strip; the others hold the space open. */
.pricing__plan:not(.pricing__plan--featured) {
	padding-top: var(--pricing-badge-h);
}

.pricing__badge {
	display: grid;
	place-items: center;
	min-height: var(--pricing-badge-h);
	margin: 0;
	padding: 8px 16px;
	border-radius: 16px 16px 0 0;
	background: var(--cgpt-ink);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.pricing__card {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(20px, 2vw, 28px);
	border: 1px solid var(--cgpt-line);
	border-radius: 16px;
	background: #fff;
}

.pricing__plan--featured .pricing__card {
	border-color: rgba(214, 218, 232, 0.9);
	border-radius: 0 0 16px 16px;
	background: linear-gradient(180deg, #f9f8fd 0%, #eff3f9 58%, #e5edf7 100%);
}

.pricing__name {
	margin: 0 0 12px;
	color: var(--cgpt-ink);
	font-size: 1.25rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.pricing__description {
	margin-bottom: clamp(18px, 2.2vw, 28px);
	color: var(--cgpt-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.pricing__description p {
	margin: 0;
}

.pricing__price {
	margin: auto 0 6px;
	color: var(--cgpt-ink);
	font-size: clamp(1.375rem, 1.9vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.pricing__note {
	margin: 0 0 clamp(16px, 2vw, 24px);
	color: var(--cgpt-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pricing__link {
	color: var(--cgpt-ink);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pricing__link:visited {
	color: var(--cgpt-ink);
}

.pricing__link:hover,
.pricing__link:focus {
	color: var(--cgpt-ink);
	text-decoration-thickness: 2px;
}

.pricing__more {
	margin-top: clamp(26px, 3vw, 42px);
}

@media screen and (max-width: 860px) {
	.pricing__list {
		grid-template-columns: minmax(0, 1fr);
		max-width: 460px;
	}

	/* Stacked, so the badge no longer needs a matching gap above each card. */
	.pricing__plan:not(.pricing__plan--featured) {
		padding-top: 0;
	}

	.pricing__price {
		margin-top: 0;
	}
}

@media screen and (max-width: 480px) {
	.pricing__inner {
		width: min(100% - 32px, 1140px);
	}
}

/*--------------------------------------------------------------
# Enterprise security
--------------------------------------------------------------*/
.security {
	padding-block: var(--cgpt-section-space);
	background: #fff;
}

.security__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100% - 48px, 1140px);
	margin: 0 auto;
}

.security__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: clamp(28px, 3.4vw, 46px);
	text-align: center;
}

.security__eyebrow {
	margin: 0 0 clamp(16px, 1.8vw, 24px);
	padding: 7px 15px;
	border: 1px solid var(--cgpt-line);
	border-radius: 999px;
	color: var(--cgpt-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
}

.security__eyebrow--pillars {
	margin: clamp(36px, 4.5vw, 64px) 0 clamp(24px, 3vw, 40px);
}

.security__heading {
	max-width: 22ch;
	margin: 0;
	color: var(--cgpt-ink);
	font-size: clamp(1.75rem, 3.2vw, 2.625rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.14;
}

/* Certifications
--------------------------------------------- */
.security__badges {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid var(--cgpt-line);
	border-radius: 12px;
	list-style: none;
}

.security__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px);
	text-align: center;
}

/* Dividers come from the cells themselves, so they disappear with the
   columns when the grid collapses. */
.security__badge + .security__badge {
	border-left: 1px solid var(--cgpt-line);
}

.security__badge-media {
	display: block;
	margin-bottom: clamp(14px, 1.8vw, 22px);
}

.security__badge-image {
	display: block;
	width: auto;
	height: clamp(96px, 10vw, 150px);
	object-fit: contain;
}

.security__badge-title {
	margin: 0 0 8px;
	color: var(--cgpt-ink);
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.security__badge-text {
	margin: 0;
	color: var(--cgpt-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

/* Commitments
--------------------------------------------- */
.security__pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.security__pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 clamp(16px, 2.4vw, 34px);
	text-align: center;
}

.security__pillar + .security__pillar {
	border-left: 1px solid var(--cgpt-line);
}

.security__pillar-media {
	display: block;
	margin-bottom: clamp(12px, 1.5vw, 18px);
}

.security__pillar-icon {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.security__pillar-title {
	margin: 0 0 10px;
	color: var(--cgpt-ink);
	font-size: clamp(1.125rem, 1.7vw, 1.5rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.security__pillar-text {
	margin: 0;
	color: var(--cgpt-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

@media screen and (max-width: 860px) {
	.security__badges,
	.security__pillars {
		grid-template-columns: minmax(0, 1fr);
	}

	.security__badge + .security__badge,
	.security__pillar + .security__pillar {
		border-left: 0;
		border-top: 1px solid var(--cgpt-line);
	}

	.security__pillar {
		padding-block: clamp(24px, 5vw, 34px);
	}

	.security__pillar:first-child {
		padding-top: 0;
	}
}

@media screen and (max-width: 480px) {
	.security__inner {
		width: min(100% - 32px, 1140px);
	}
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq {
	padding-block: var(--cgpt-section-space);
	background: #fff;
}

.faq__inner {
	width: min(100% - 48px, 840px);
	margin: 0 auto;
}

.faq__heading {
	margin: 0 0 clamp(28px, 3.4vw, 48px);
	color: var(--cgpt-ink);
	font-size: clamp(1.625rem, 3vw, 2.5rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.16;
	text-align: center;
}

.faq__item {
	border-bottom: 1px solid var(--cgpt-line);
}

/* Rows are <details>, so open and close, keyboard support and find-in-page
   all work without script. */
.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: clamp(16px, 2vw, 22px);
	color: var(--cgpt-ink);
	cursor: pointer;
	font-size: clamp(1rem, 1.25vw, 1.1875rem);
	font-weight: 500;
	line-height: 1.45;
	list-style: none;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question:focus-visible {
	outline: 2px solid var(--cgpt-ink);
	outline-offset: 4px;
}

.faq__question-text {
	min-width: 0;
}

.faq__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--cgpt-ink);
}

.faq__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
}

/* The plus loses its upright stroke to become a minus. */
.faq__icon-bar {
	transform-origin: center;
	transition: opacity 200ms ease, transform 200ms ease;
}

.faq__item[open] .faq__icon-bar {
	opacity: 0;
	transform: rotate(90deg);
}

.faq__answer {
	padding-bottom: clamp(18px, 2.2vw, 26px);
	color: var(--cgpt-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
	animation: faq-reveal 220ms ease;
}

.faq__answer > :first-child {
	margin-top: 0;
}

.faq__answer > :last-child {
	margin-bottom: 0;
}

.faq__answer a {
	color: var(--cgpt-accent);
}

/* Fades the panel in without needing to animate its height. */
@keyframes faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.faq__icon-bar {
		transition: none;
	}

	.faq__answer {
		animation: none;
	}
}

@media screen and (max-width: 480px) {
	.faq__inner {
		width: min(100% - 32px, 840px);
	}

	.faq__question {
		gap: 16px;
	}
}

@media screen and (max-width: 960px) {
	:root {
		--cgpt-header-h: 72px;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0;
		min-height: 0;
		width: min(100% - 32px, var(--cgpt-container));
		margin-block: 12px;
		padding: 7px 10px 7px 14px;
		border: 1px solid rgba(225, 226, 234, 0.76);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.88);
		box-shadow: 0 10px 30px rgba(32, 35, 62, 0.06);
		-webkit-backdrop-filter: blur(18px);
		backdrop-filter: blur(18px);
		transition: border-radius 180ms ease;
	}

	.site-header.menu-open .site-header__inner {
		border-radius: 24px;
	}

	.site-header__primary,
	.site-header__secondary {
		display: contents;
	}

	.site-branding {
		grid-column: 1;
		grid-row: 1;
	}

	.menu-toggle {
		display: flex;
		grid-column: 2;
		grid-row: 1;
		margin: 0;
		padding: 10px;
	}

	.main-navigation {
		display: none;
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		max-height: calc(100vh - 150px);
		overflow-y: auto;
		margin: 7px 0 0;
		padding: 12px 0 4px;
		border-top: 1px solid var(--cgpt-line);
	}

	.main-navigation.toggled {
		display: block;
	}

	.main-navigation ul,
	.main-navigation .primary-menu,
	.header-actions__menu {
		display: block;
	}

	.main-navigation a,
	.header-actions__menu a {
		min-height: 48px;
		padding: 12px 10px;
		border-radius: 8px;
		font-size: 1rem;
	}

	.main-navigation .menu-item-has-children > a::after {
		margin-left: auto;
		margin-right: 4px;
	}

	.main-navigation ul ul {
		display: block;
		position: static;
		min-width: 0;
		padding: 0 0 6px 16px;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-navigation ul ul a {
		width: auto;
		min-height: 42px;
		color: var(--cgpt-muted);
		font-size: 0.92rem;
	}

	.header-actions {
		display: none;
		grid-column: 1 / -1;
		grid-row: 3;
		margin: 8px 0 0;
		padding: 12px 0 3px;
		border-top: 1px solid var(--cgpt-line);
	}

	.site-header.menu-open .header-actions {
		display: block;
	}

	.header-actions__menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.header-actions__menu a,
	.header-actions__menu li:first-child a,
	.header-actions__menu li:last-child a {
		justify-content: center;
		min-height: 46px;
		padding: 10px 16px;
		border: 1px solid var(--cgpt-line);
	}

	.footer-navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px 28px;
	}

	.footer-branding {
		grid-column: 1 / -1;
	}

	.footer-meta {
		grid-template-columns: 1fr 1fr;
	}

	.footer-legal {
		grid-column: 2;
	}

	.footer-copyright {
		grid-column: 1 / -1;
		grid-row: 2;
		text-align: left;
	}
}

@media screen and (max-width: 640px) {
	.site-header__inner {
		width: min(100% - 24px, var(--cgpt-container));
	}

	.site-footer__inner {
		width: min(100% - 32px, var(--cgpt-container));
	}

	.site-branding .custom-logo {
		max-width: 142px;
		max-height: 30px;
	}

	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.header-actions__menu {
		grid-template-columns: 1fr;
	}

	.footer-cta {
		min-height: 290px;
		padding: 64px 20px;
	}

	.footer-cta h2 {
		font-size: clamp(1.8rem, 9vw, 2.5rem);
	}

	.site-footer__inner {
		padding-top: 44px;
	}

	.footer-navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.footer-branding {
		grid-column: 1 / -1;
	}

	.footer-meta {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-top: 42px;
		padding-top: 24px;
	}

	.footer-legal {
		justify-self: auto;
	}

	.footer-copyright {
		order: 3;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-navigation ul ul,
	.main-navigation a,
	.header-actions__menu a,
	.menu-toggle__icon span,
	.footer-cta__button {
		transition: none;
	}
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
