/*
Theme Name: The AI Operator
Author: Denny Cartwright
Author URI: https://ksjgrowth.com/
Description: A premium, accessible launch and book site for The AI Operator.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: the-ai-operator
*/

:root {
	--night: #03060c;
	--night-soft: #07101b;
	--navy: #091827;
	--navy-2: #0e2639;
	--ink: #0b1622;
	--slate: #455c70;
	--muted: #708599;
	--line: #d7e2e8;
	--mist: #edf4f7;
	--paper: #fbfbf8;
	--white: #ffffff;
	--cyan: #42e5ff;
	--cyan-strong: #16c8ed;
	--cyan-soft: #b9f5ff;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 30px;
	--shadow: 0 26px 80px rgba(3, 16, 29, 0.14);
	--shadow-dark: 0 32px 90px rgba(0, 0, 0, 0.38);
	--shell: 1200px;
	--header-height: 82px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

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

figure,
blockquote,
p,
h1,
h2,
h3,
h4,
ol,
ul {
	margin-top: 0;
}

a {
	color: inherit;
}

button,
input,
textarea,
select {
	font: inherit;
}

::selection {
	background: var(--cyan);
	color: var(--night);
}

.site-shell {
	width: min(calc(100% - 44px), var(--shell));
	margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	border-radius: 8px;
	background: var(--white);
	color: var(--ink);
	padding: 10px 16px;
	font-weight: 800;
}

:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 4px;
}

.section {
	padding: clamp(76px, 9vw, 128px) 0;
}

.section--night {
	position: relative;
	background: var(--night);
	color: var(--white);
}

.section--paper {
	background: var(--paper);
}

.section--mist {
	background: var(--mist);
}

.section--blueprint {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 84% 18%, rgba(66, 229, 255, 0.17), transparent 30%),
		linear-gradient(145deg, #06101b 0%, #0a2234 56%, #06121e 100%);
	color: var(--white);
}

.section--blueprint::before,
.hero__grid-lines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(66, 229, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(66, 229, 255, 0.06) 1px, transparent 1px);
	background-size: 58px 58px;
	-webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
	mask-image: linear-gradient(to bottom, black, transparent 92%);
	pointer-events: none;
	content: "";
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 18px;
	color: #137891;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 31px;
	height: 3px;
	border-radius: 99px;
	background: currentColor;
	content: "";
}

.section--night .eyebrow,
.section--blueprint .eyebrow,
.page-hero .eyebrow,
.section--launch .eyebrow {
	color: var(--cyan);
}

.section-heading {
	max-width: 825px;
	margin-bottom: 52px;
}

.section-heading--wide {
	max-width: 990px;
}

.section-heading h2,
.split h2,
.author-feature h2,
.footer-cta h2,
.content-cta h2,
.inside-preview h2,
.prompt-feature h2,
.launch-panel h2,
.method-steps h2,
.prose h2 {
	margin-bottom: 20px;
	font-size: clamp(2.25rem, 5.2vw, 4.8rem);
	font-weight: 840;
	letter-spacing: -0.057em;
	line-height: 0.99;
}

.section-heading p:last-child,
.split > div > p,
.large-copy,
.inside-preview__grid > div > p,
.prompt-feature__grid > div > p,
.launch-panel > div > p,
.page-hero p,
.about-hero p {
	color: var(--slate);
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	line-height: 1.65;
}

.section--night .section-heading p:last-child,
.section--night .split > div > p,
.section--blueprint .section-heading p:last-child,
.section--blueprint .split > div > p,
.prompt-feature__grid > div > p,
.page-hero p {
	color: #aebfd0;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 14px 21px;
	font-size: 0.94rem;
	font-weight: 850;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button--primary {
	background: var(--cyan);
	color: var(--night);
	box-shadow: 0 15px 40px rgba(66, 229, 255, 0.18);
}

.button--primary:hover {
	background: var(--cyan-soft);
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.04);
	color: var(--white);
}

.button--ghost:hover {
	border-color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.1);
}

.button--ink {
	background: var(--ink);
	color: var(--white);
}

.button--ink:hover {
	background: var(--navy-2);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	font-weight: 850;
	text-decoration: underline;
	text-decoration-color: var(--cyan-strong);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.text-link--light {
	color: var(--white);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-height);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(3, 6, 12, 0.87);
	color: var(--white);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	transition: height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
	height: 72px;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.site-header__inner {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.brand {
	display: inline-flex;
	min-width: max-content;
	align-items: center;
	gap: 12px;
	color: var(--white);
	text-decoration: none;
}

.brand__mark {
	position: relative;
	display: grid;
	width: 43px;
	height: 43px;
	place-items: center;
	border: 1px solid rgba(66, 229, 255, 0.55);
	border-radius: 9px;
	background: linear-gradient(145deg, rgba(66, 229, 255, 0.14), rgba(66, 229, 255, 0.02));
	box-shadow: inset 0 0 18px rgba(66, 229, 255, 0.07);
}

.brand__mark::before,
.brand__mark::after,
.brand__mark i {
	position: absolute;
	border: 1px solid var(--cyan);
	content: "";
}

.brand__mark::before {
	width: 20px;
	height: 20px;
}

.brand__mark::after {
	width: 11px;
	height: 11px;
	box-shadow: 0 0 12px rgba(66, 229, 255, 0.7);
}

.brand__mark i {
	width: 5px;
	height: 5px;
	background: var(--cyan);
}

.brand__name {
	display: grid;
	line-height: 1;
	text-transform: uppercase;
}

.brand__name strong {
	font-size: 0.82rem;
	letter-spacing: 0.12em;
}

.brand__name small {
	margin-top: 5px;
	color: var(--cyan);
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.brand--custom img {
	max-height: 52px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-nav__list,
.footer-nav {
	display: flex;
	align-items: center;
	gap: 23px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav__list a {
	color: #c7d4df;
	font-size: 0.88rem;
	font-weight: 720;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
	color: var(--white);
}

.site-nav__button {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border-radius: 9px;
	background: var(--cyan);
	color: var(--night);
	padding: 10px 15px;
	font-size: 0.82rem;
	font-weight: 900;
	text-decoration: none;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 9px;
	background: transparent;
	color: var(--white);
}

.menu-toggle__bars {
	display: grid;
	gap: 6px;
}

.menu-toggle__bars i {
	display: block;
	width: 21px;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease;
}

.hero {
	min-height: min(880px, calc(100vh - var(--header-height)));
	overflow: hidden;
	padding: clamp(66px, 8vw, 112px) 0 80px;
}

.hero__glow {
	position: absolute;
	top: -20%;
	right: -8%;
	width: 62vw;
	height: 82vw;
	background: radial-gradient(circle, rgba(49, 213, 255, 0.18), rgba(3, 6, 12, 0) 63%);
	pointer-events: none;
}

.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	align-items: center;
	gap: clamp(26px, 5vw, 78px);
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid rgba(66, 229, 255, 0.38);
	border-radius: 999px;
	background: rgba(66, 229, 255, 0.08);
	color: var(--cyan);
	padding: 8px 13px;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.status-pill span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 13px rgba(66, 229, 255, 0.9);
}

.hero h1,
.page-hero h1,
.about-hero h1 {
	margin: 0 0 25px;
	font-size: clamp(3.6rem, 7.1vw, 7rem);
	font-weight: 850;
	letter-spacing: -0.068em;
	line-height: 0.9;
}

.hero h1 em {
	display: block;
	color: var(--cyan);
	font-style: normal;
}

.hero__lede {
	max-width: 660px;
	margin-bottom: 19px;
	color: #b4c3d1;
	font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero__lede strong {
	color: var(--white);
}

.hero__byline {
	margin-bottom: 30px;
	color: #93a7b8;
}

.hero__byline strong {
	color: var(--white);
}

.retail-note {
	max-width: 620px;
	margin: 22px 0 0;
	color: #7f94a6;
	font-size: 0.86rem;
}

.hero__media {
	position: relative;
	margin: 0;
	filter: drop-shadow(0 35px 46px rgba(0, 0, 0, 0.38));
}

.hero__media img {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero__core {
	position: absolute;
	left: 42%;
	top: 43%;
	width: 40%;
	aspect-ratio: 1;
	border: 1px solid rgba(66, 229, 255, 0.32);
	transform: rotate(45deg);
	box-shadow: 0 0 72px rgba(66, 229, 255, 0.13), inset 0 0 50px rgba(66, 229, 255, 0.07);
}

.fact-strip {
	position: relative;
	z-index: 4;
	border-top: 1px solid rgba(66, 229, 255, 0.2);
	border-bottom: 1px solid rgba(66, 229, 255, 0.14);
	background: #06101a;
	color: var(--white);
}

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

.fact-strip__grid div {
	display: flex;
	min-height: 116px;
	align-items: center;
	gap: 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	padding: 22px 27px;
}

.fact-strip__grid div:last-child {
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-strip strong {
	color: var(--cyan);
	font-size: clamp(2rem, 3vw, 3.05rem);
	letter-spacing: -0.06em;
	line-height: 1;
}

.fact-strip span {
	color: #b6c5d1;
	font-size: 0.83rem;
	font-weight: 750;
	line-height: 1.35;
}

.principle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.number-card {
	position: relative;
	min-height: 330px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	padding: 33px;
	box-shadow: 0 13px 34px rgba(7, 31, 49, 0.05);
}

.number-card::after {
	position: absolute;
	right: -25px;
	bottom: -40px;
	width: 150px;
	height: 150px;
	border: 1px solid rgba(22, 200, 237, 0.18);
	transform: rotate(45deg);
	content: "";
}

.number-card > span {
	display: inline-block;
	margin-bottom: 70px;
	color: var(--cyan-strong);
	font-size: 0.83rem;
	font-weight: 900;
	letter-spacing: 0.16em;
}

.number-card h3,
.surface-grid h3,
.part-list h3,
.route-table h3 {
	margin-bottom: 13px;
	font-size: clamp(1.35rem, 2.3vw, 1.9rem);
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.number-card p,
.surface-grid p,
.part-list p,
.route-table p {
	margin-bottom: 0;
	color: var(--slate);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
	align-items: start;
	gap: clamp(50px, 8vw, 114px);
}

.split--visual {
	align-items: center;
}

.section-heading--sticky {
	position: sticky;
	top: 120px;
	margin-bottom: 0;
}

.loop-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.loop-grid li {
	display: grid;
	min-height: 164px;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 18px;
	border: 1px solid rgba(66, 229, 255, 0.18);
	border-radius: 16px;
	background: rgba(2, 9, 17, 0.5);
	padding: 25px;
}

.loop-grid li > span {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--cyan);
	border-radius: 9px;
	color: var(--cyan);
	font-size: 0.73rem;
	font-weight: 900;
}

.loop-grid h3 {
	margin: 3px 0 8px;
	font-size: 1.35rem;
}

.loop-grid p {
	margin: 0;
	color: #96aabd;
	font-size: 0.92rem;
}

.surface-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.surface-grid article {
	position: relative;
	min-height: 430px;
	border: 1px solid #cbdde5;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.82);
	padding: 32px;
	box-shadow: 0 18px 55px rgba(5, 28, 45, 0.07);
}

.surface-grid__number {
	position: absolute;
	top: 24px;
	right: 25px;
	color: #8ca1b1;
	font-size: 0.77rem;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.surface-grid__icon {
	position: relative;
	display: block;
	width: 88px;
	height: 88px;
	margin: 32px 0 68px;
	border: 2px solid var(--cyan-strong);
	border-radius: 17px;
	box-shadow: 0 0 25px rgba(22, 200, 237, 0.12);
}

.surface-grid__icon::before,
.surface-grid__icon::after {
	position: absolute;
	content: "";
}

.surface-grid__icon--chat::before {
	left: 21px;
	top: 29px;
	width: 43px;
	height: 3px;
	background: var(--cyan-strong);
	box-shadow: 0 12px var(--cyan-strong);
}

.surface-grid__icon--chat::after {
	left: 12px;
	bottom: -16px;
	border-width: 17px 14px 0 0;
	border-style: solid;
	border-color: var(--cyan-strong) transparent transparent transparent;
}

.surface-grid__icon--code::before {
	left: 20px;
	top: 23px;
	color: var(--cyan-strong);
	font-family: monospace;
	font-size: 27px;
	font-weight: 900;
	content: "</>";
}

.surface-grid__icon--kai::before {
	left: 22px;
	top: 22px;
	width: 40px;
	height: 40px;
	border: 2px solid var(--cyan-strong);
	border-radius: 50%;
}

.surface-grid__icon--kai::after {
	left: -14px;
	top: 42px;
	width: 112px;
	height: 2px;
	background: var(--cyan-strong);
}

.surface-grid article > strong {
	display: block;
	margin-top: 28px;
	color: #087a94;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.inside-preview__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	align-items: center;
	gap: clamp(50px, 8vw, 112px);
}

.part-list {
	border-top: 1px solid var(--line);
}

.part-list article {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 20px;
	border-bottom: 1px solid var(--line);
	padding: 24px 0;
}

.part-list article > span {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid var(--cyan-strong);
	border-radius: 8px;
	color: #08778f;
	font-size: 0.82rem;
	font-weight: 900;
}

.part-list h3 {
	margin: 1px 0 3px;
	font-size: 1.12rem;
}

.part-list p {
	font-size: 0.87rem;
}

.prompt-feature__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	align-items: center;
	gap: clamp(45px, 7vw, 102px);
}

.prompt-window {
	overflow: hidden;
	border: 1px solid rgba(66, 229, 255, 0.24);
	border-radius: 18px;
	background: #07111b;
	box-shadow: var(--shadow-dark);
}

.prompt-window__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	background: #0c1a27;
	padding: 15px 18px;
}

.prompt-window__bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #385064;
}

.prompt-window__bar i:first-child {
	background: var(--cyan);
}

.prompt-window__bar span {
	margin-left: 10px;
	color: #91a6b8;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.74rem;
}

.prompt-window__body {
	display: grid;
	padding: 25px;
}

.prompt-window__body p {
	display: grid;
	grid-template-columns: 36px 112px 1fr;
	align-items: start;
	gap: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin: 0;
	padding: 17px 0;
	color: #9aafc0;
	font-size: 0.9rem;
}

.prompt-window__body p:last-child {
	border-bottom: 0;
}

.prompt-window__body span {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 1px solid var(--cyan);
	border-radius: 7px;
	color: var(--cyan);
	font-weight: 900;
}

.prompt-window__body strong {
	color: var(--white);
}

.image-panel {
	overflow: hidden;
	border: 1px solid #c7dbe3;
	border-radius: var(--radius-lg);
	background: var(--night);
	margin: 0;
	box-shadow: var(--shadow);
}

.check-list {
	display: grid;
	gap: 12px;
	padding: 0;
	margin: 28px 0 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 31px;
	font-weight: 730;
}

.check-list li::before {
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 16px;
	height: 16px;
	border: 2px solid var(--cyan-strong);
	border-radius: 4px;
	content: "";
}

.author-feature__grid {
	display: grid;
	grid-template-columns: 330px minmax(0, 760px);
	align-items: center;
	gap: clamp(48px, 9vw, 130px);
	justify-content: center;
}

.author-monogram {
	position: relative;
	display: grid;
	width: 300px;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid #bcd5df;
	background: linear-gradient(145deg, #07111d, #0a2638);
	box-shadow: var(--shadow);
	transform: rotate(45deg);
}

.author-monogram::before,
.author-monogram::after,
.author-monogram i {
	position: absolute;
	border: 1px solid rgba(66, 229, 255, 0.36);
	content: "";
}

.author-monogram::before {
	inset: 24px;
}

.author-monogram::after {
	inset: 48px;
}

.author-monogram i {
	inset: 72px;
	box-shadow: inset 0 0 42px rgba(66, 229, 255, 0.13);
}

.author-monogram span {
	z-index: 2;
	color: var(--white);
	font-size: 4.4rem;
	font-weight: 900;
	letter-spacing: -0.08em;
	transform: rotate(-45deg);
}

.author-monogram--large {
	width: 360px;
}

.faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	align-items: start;
	gap: clamp(44px, 8vw, 112px);
}

.faq-list {
	border-top: 1px solid var(--line);
}

.faq-list details {
	border-bottom: 1px solid var(--line);
}

.faq-list summary {
	position: relative;
	cursor: pointer;
	padding: 25px 50px 25px 0;
	font-size: 1.08rem;
	font-weight: 820;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	position: absolute;
	top: 24px;
	right: 5px;
	color: var(--cyan-strong);
	font-size: 1.3rem;
	content: "+";
}

.faq-list details[open] summary::after {
	content: "-";
}

.faq-list details p {
	max-width: 760px;
	padding: 0 50px 25px 0;
	margin: 0;
	color: var(--slate);
}

.section--launch {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 50%, rgba(66, 229, 255, 0.17), transparent 33%),
		#06101a;
	color: var(--white);
}

.launch-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	align-items: center;
	gap: clamp(40px, 8vw, 110px);
}

.launch-form-wrap {
	border: 1px solid rgba(66, 229, 255, 0.25);
	border-radius: var(--radius);
	background: rgba(2, 9, 16, 0.65);
	padding: 32px;
	box-shadow: var(--shadow-dark);
}

.setup-note {
	border-left: 3px solid var(--cyan);
	background: rgba(66, 229, 255, 0.08);
	padding: 14px 16px;
}

.page-hero {
	overflow: hidden;
	padding: clamp(75px, 10vw, 145px) 0;
}

.page-hero::after {
	position: absolute;
	right: -12vw;
	bottom: -26vw;
	width: 62vw;
	height: 62vw;
	border: 1px solid rgba(66, 229, 255, 0.14);
	background: radial-gradient(circle, rgba(66, 229, 255, 0.08), transparent 63%);
	transform: rotate(45deg);
	content: "";
}

.page-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	align-items: center;
	gap: clamp(45px, 9vw, 135px);
}

.page-hero__narrow {
	position: relative;
	z-index: 2;
	max-width: 1000px;
}

.page-hero__cover {
	position: relative;
	z-index: 2;
	margin: 0;
	filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.42));
	transform: rotate(2deg);
}

.page-hero__cover img {
	border: 1px solid rgba(66, 229, 255, 0.27);
}

.page-hero--compact {
	padding: 80px 0;
}

.chapter-catalogue {
	display: grid;
	gap: 78px;
}

.chapter-part {
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(40px, 8vw, 110px);
}

.chapter-part header > span {
	display: inline-block;
	margin-bottom: 16px;
	color: #087b94;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.chapter-part h2 {
	font-size: clamp(2.1rem, 4vw, 3.7rem);
	letter-spacing: -0.052em;
	line-height: 1;
}

.chapter-part ol {
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.chapter-part li {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 20px;
	border-bottom: 1px solid var(--line);
	padding: 18px 0;
}

.chapter-part li span {
	color: #0a829c;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.chapter-part li strong {
	font-size: 1rem;
	line-height: 1.45;
}

.content-cta {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(28px, 5vw, 68px);
}

.content-cta h2 {
	margin-bottom: 0;
	font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.content-cta p {
	margin-bottom: 0;
	color: #aabccc;
}

.method-steps {
	display: grid;
	gap: 0;
}

.method-steps article {
	display: grid;
	grid-template-columns: 120px minmax(0, 830px);
	gap: clamp(30px, 7vw, 86px);
	border-bottom: 1px solid var(--line);
	padding: 54px 0;
}

.method-steps article:first-child {
	border-top: 1px solid var(--line);
}

.method-steps article > span {
	color: var(--cyan-strong);
	font-size: clamp(3.4rem, 7vw, 6rem);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.9;
}

.method-steps h2 {
	font-size: clamp(2rem, 4vw, 3.7rem);
}

.method-steps article strong {
	display: block;
	margin-top: 20px;
	color: #08758d;
}

.brief-stack {
	display: grid;
	gap: 12px;
}

.brief-stack article {
	display: grid;
	grid-template-columns: 64px 1fr;
	align-items: center;
	gap: 20px;
	border: 1px solid rgba(66, 229, 255, 0.19);
	border-radius: 14px;
	background: rgba(2, 9, 17, 0.5);
	padding: 19px;
}

.brief-stack article > span {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid var(--cyan);
	border-radius: 10px;
	color: var(--cyan);
	font-size: 1.3rem;
	font-weight: 900;
}

.brief-stack h3 {
	margin-bottom: 3px;
}

.brief-stack p {
	margin-bottom: 0;
	color: #9fb2c2;
	font-size: 0.92rem;
}

.route-table__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.route-table article {
	border: 1px solid #c8dce4;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.84);
	padding: 28px;
}

.category-cloud {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.category-cloud > span {
	display: flex;
	min-height: 100px;
	align-items: center;
	gap: 15px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--white);
	padding: 17px;
	font-size: 0.92rem;
	font-weight: 760;
}

.category-cloud i {
	color: #087b94;
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.sample-prompt-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.sample-prompt-grid article {
	display: flex;
	min-height: 360px;
	flex-direction: column;
	border: 1px solid #cadce4;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.86);
	padding: 30px;
}

.sample-prompt-grid blockquote {
	flex: 1;
	margin-bottom: 28px;
	color: #2f4658;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9rem;
	line-height: 1.75;
}

.copy-button {
	align-self: flex-start;
	border: 1px solid #9bbecb;
	border-radius: 8px;
	background: transparent;
	color: #076f87;
	padding: 10px 14px;
	font-size: 0.8rem;
	font-weight: 900;
	cursor: pointer;
}

.copy-button:hover {
	background: #e3f9fd;
}

.about-hero {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 400px minmax(0, 680px);
	align-items: center;
	gap: clamp(50px, 9vw, 135px);
}

.prose-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
	align-items: start;
	gap: clamp(55px, 9vw, 130px);
}

.prose {
	max-width: 820px;
}

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

.prose h2 {
	margin-top: 52px;
	font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.prose p,
.prose li {
	color: var(--slate);
}

.prose--policy h2 {
	margin-top: 43px;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.prose-aside {
	position: sticky;
	top: 110px;
}

.prose-aside img {
	border: 1px solid #bdd5de;
	box-shadow: var(--shadow);
}

.prose-aside blockquote {
	border-left: 3px solid var(--cyan-strong);
	margin-top: 30px;
	padding-left: 20px;
	color: #30485b;
	font-size: 1.04rem;
	font-weight: 750;
}

.post-list {
	display: grid;
	gap: 22px;
}

.post-list article {
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	padding: 28px;
}

.post-list h2 a {
	text-decoration-color: var(--cyan-strong);
}

.site-footer {
	background: #02050a;
	color: var(--white);
	padding: 0 0 24px;
}

.footer-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 50px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.11);
	padding: 74px 0;
}

.footer-cta h2 {
	max-width: 760px;
	margin-bottom: 0;
	font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.footer-cta__action {
	max-width: 340px;
}

.footer-cta__action p {
	margin: 13px 0 0;
	color: #8296a8;
	font-size: 0.78rem;
}

.footer-main {
	display: grid;
	grid-template-columns: auto minmax(240px, 1fr) auto;
	align-items: center;
	gap: 50px;
	padding: 54px 0;
}

.footer-main__note {
	max-width: 470px;
	margin: 0;
	color: #8195a6;
	font-size: 0.88rem;
}

.footer-nav {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.footer-nav a {
	color: #b4c3cf;
	font-size: 0.81rem;
	font-weight: 730;
	text-decoration: none;
}

.footer-nav a:hover {
	color: var(--white);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 22px;
}

.footer-bottom p {
	margin: 0;
	color: #667b8d;
	font-size: 0.73rem;
}

.aio-launch-form {
	display: grid;
	gap: 15px;
}

.aio-form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.aio-field {
	display: grid;
	gap: 7px;
}

.aio-field label,
.aio-consent {
	color: #b8c7d2;
	font-size: 0.78rem;
	font-weight: 730;
}

.aio-field input {
	width: 100%;
	min-height: 50px;
	border: 1px solid #345066;
	border-radius: 9px;
	background: #06111c;
	color: var(--white);
	padding: 11px 13px;
}

.aio-field input::placeholder {
	color: #61778a;
}

.aio-consent {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: start;
	gap: 10px;
}

.aio-consent input {
	margin-top: 4px;
}

.aio-form-status {
	border-left: 3px solid var(--cyan);
	background: rgba(66, 229, 255, 0.08);
	margin-bottom: 18px;
	padding: 12px 14px;
	color: #d7faff;
	font-size: 0.88rem;
}

.aio-form-status--error {
	border-color: #ff8c8c;
	background: rgba(255, 100, 100, 0.08);
	color: #ffd5d5;
}

.aio-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.js-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 650ms ease, transform 650ms ease;
}

.js-reveal [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1040px) {
	.site-nav__list {
		gap: 15px;
	}

	.site-nav__list a {
		font-size: 0.8rem;
	}

	.hero__grid {
		grid-template-columns: minmax(0, 0.95fr) minmax(370px, 1.05fr);
	}

	.fact-strip__grid div {
		padding-inline: 18px;
	}

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

@media (max-width: 900px) {
	:root {
		--header-height: 74px;
	}

	.menu-toggle {
		display: grid;
		place-items: center;
		cursor: pointer;
	}

	.site-nav {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--header-height));
		overflow-y: auto;
		align-items: stretch;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		background: rgba(3, 6, 12, 0.98);
		padding: 24px 22px 34px;
	}

	.site-nav.is-open {
		display: grid;
	}

	.site-nav__list {
		display: grid;
		gap: 0;
	}

	.site-nav__list li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-nav__list a {
		display: block;
		padding: 16px 2px;
		font-size: 1rem;
	}

	.site-nav__button {
		min-height: 52px;
	}

	.hero {
		padding-top: 72px;
	}

	.hero__grid,
	.split,
	.inside-preview__grid,
	.prompt-feature__grid,
	.author-feature__grid,
	.faq-layout,
	.launch-panel,
	.page-hero__grid,
	.about-hero,
	.prose-layout {
		grid-template-columns: 1fr;
	}

	.hero__media {
		max-width: 690px;
		margin-inline: auto;
	}

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

	.fact-strip__grid div:nth-child(odd) {
		border-left: 0;
	}

	.principle-grid,
	.surface-grid {
		grid-template-columns: 1fr;
	}

	.number-card,
	.surface-grid article {
		min-height: auto;
	}

	.number-card > span,
	.surface-grid__icon {
		margin-bottom: 35px;
	}

	.section-heading--sticky,
	.prose-aside {
		position: static;
	}

	.page-hero__cover {
		max-width: 330px;
	}

	.author-monogram,
	.author-monogram--large {
		width: min(62vw, 300px);
		margin-inline: auto;
	}

	.chapter-part {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.content-cta {
		grid-template-columns: 1fr;
	}

	.content-cta .button {
		justify-self: start;
	}

	.method-steps article {
		grid-template-columns: 82px 1fr;
	}

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

	.footer-main {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.footer-nav {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.site-shell {
		width: min(calc(100% - 30px), var(--shell));
	}

	.section {
		padding: 68px 0;
	}

	.hero h1,
	.page-hero h1,
	.about-hero h1 {
		font-size: clamp(3.15rem, 17vw, 5rem);
	}

	.hero__copy .button-row,
	.hero__copy .button {
		width: 100%;
	}

	.fact-strip__grid {
		grid-template-columns: 1fr 1fr;
	}

	.fact-strip__grid div {
		min-height: 104px;
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.loop-grid,
	.route-table__grid,
	.sample-prompt-grid,
	.category-cloud,
	.aio-form-row {
		grid-template-columns: 1fr;
	}

	.loop-grid li {
		min-height: auto;
	}

	.prompt-window__body p {
		grid-template-columns: 36px 1fr;
	}

	.prompt-window__body p strong {
		align-self: center;
	}

	.prompt-window__body p:not(strong) {
		font-size: 0.82rem;
	}

	.prompt-window__body p {
		row-gap: 8px;
	}

	.prompt-window__body p::after {
		grid-column: 1 / -1;
	}

	.method-steps article {
		grid-template-columns: 1fr;
		padding: 38px 0;
	}

	.method-steps article > span {
		font-size: 4rem;
	}

	.page-hero__cover {
		max-width: 260px;
	}

	.launch-form-wrap {
		padding: 22px;
	}

	.footer-cta {
		grid-template-columns: 1fr;
		padding: 58px 0;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 7px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
