/* ==========================================================================
   Octaneon — shared components: cards, hero, hub, loop, product cards,
   personas, guardrails, video, tiers, CTA band, check lists.
   ========================================================================== */

/* ---------- Cards ---------- */
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.card--pad { padding: clamp(20px, 2.4vw, 28px); }
.card--glow { background: var(--card-glow); border-color: color-mix(in srgb, var(--teal-ui) 45%, var(--line)); }
.card--lime { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset, var(--shadow-sm); }
a.card { transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 + p { margin-top: 6px; }

.num-tile {
	display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 9px;
	background: var(--teal-tint); color: var(--teal); font-weight: 600; font-size: 17px;
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); background-image: var(--glow); padding-top: clamp(56px, 8vw, 104px); }
.hero__media { position: relative; padding: 24px 0 64px; }
.hero__float {
	position: absolute; left: -48px; bottom: 0; width: min(300px, 56%);
	border: 1px solid var(--teal-ui); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero__float img { display: block; width: 100%; height: auto; }
.hero__tagline { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.01em; }
.slop-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 10px 20px 10px 16px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 8px 22px -12px rgba(122, 190, 0, 0.8); }
.slop-logo { display: block; flex: none; width: 28px; height: 28px; border-radius: 50%; }
.slop-badge .slop-logo { width: 30px; height: 30px; margin-left: -8px; background: #fff; }
.slop-logo--chip { width: 24px; height: 24px; background: #fff; }
.slop-logo--footer { width: 64px; height: 64px; margin-top: 18px; }
.hero__promise-mark { position: relative; flex: none; }
.hero__promise-mark .slop-logo { width: 56px; height: 56px; }
.hero__promise-check { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.hero__promise { display: flex; align-items: center; gap: 14px; max-width: 34em; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.hero__promise p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.hero__promise strong { color: var(--ink); font-family: var(--font-display); }
@media (max-width: 900px) {
	.hero__media { padding: 0; }
	.hero__float { position: relative; left: auto; width: min(300px, 80%); margin: -48px 0 0 16px; }
}

/* ---------- Hub diagram ---------- */
.hub__labels { display: grid; grid-template-columns: 30% 40% 30%; text-align: center; margin-bottom: 40px; }
.hub__body { position: relative; display: grid; grid-template-columns: 30% 40% 30%; align-items: center; }
.hub__label { display: none; }
.hub__sources ul { display: grid; gap: 26px; }
.hub__source {
	display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 22px;
	width: 84.4%; border: 1.5px dashed var(--line-strong); border-radius: 12px;
	background: color-mix(in srgb, var(--surface) 55%, transparent); color: var(--ink); font-size: 17px;
}
.hub__source .icon { color: var(--body); flex: none; }
.hub__source:nth-child(2) { margin-left: 12.2%; }
.hub__source:nth-child(3) { margin-left: 3.3%; }
.hub__source:nth-child(4) { margin-left: 15.6%; }
.hub__source:nth-child(6) { margin-left: 10%; }
.hub__center { display: flex; flex-direction: column; align-items: center; }
.hub__arrow { display: none; color: var(--teal); }
.hub__core { width: 62.5%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--teal-tint) 70%, transparent); display: grid; place-items: center; position: relative; z-index: 1; }
.hub__ring {
	width: 79%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--teal-ui);
	background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--blue) 14%, var(--surface)) 0%, var(--surface) 70%);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px;
}
.hub__ring .brand { pointer-events: none; }
.hub__ring .brand__name { font-size: 22px; }
.hub__ring p { margin-top: 10px; color: var(--body); font-size: 17px; max-width: 12ch; line-height: 1.5; }
.hub__outcomes ol { display: grid; gap: 22px; }
.hub__outcome {
	display: flex; align-items: center; gap: 18px; min-height: 96px; padding: 16px 24px;
	background: var(--surface); border: 1px solid color-mix(in srgb, var(--teal-ui) 45%, var(--line)); border-radius: 14px;
	color: var(--ink); font-size: 17px; line-height: 1.45;
}
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--teal-ui); }
.hub__in path { stroke: var(--muted); }
.hub__out path { stroke: var(--teal-ui); }
@media (max-width: 1023px) {
	.hub__labels, .hub__lines { display: none; }
	.hub__body { grid-template-columns: 1fr; gap: 0; }
	.hub__label { display: block; margin-bottom: 14px; }
	.hub__sources ul { grid-template-columns: 1fr 1fr; gap: 10px; }
	.hub__source { width: auto; margin-left: 0 !important; height: auto; min-height: 50px; padding: 10px 14px; font-size: 15px; gap: 10px; }
	.hub__arrow { display: block; margin: 20px 0; }
	.hub__core { width: min(300px, 76vw); }
	.hub__outcomes { margin-top: 8px; }
	.hub__outcomes ol { gap: 12px; }
	.hub__outcome { min-height: 64px; padding: 12px 18px; }
}

/* ---------- Loop diagram ---------- */
.loop {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-areas:
		".   s1  ."
		"s6  c   s2"
		"s5  c   s3"
		".   s4  .";
	grid-template-rows: auto 1fr 1fr auto;
	column-gap: 0;
	row-gap: 26px;
	max-width: 1060px;
	margin-inline: auto;
}
.loop__stages { display: contents; }
.loop__stage {
	position: relative; z-index: 1;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
	padding: 20px 22px; width: 300px; max-width: 100%;
}
.loop__stage h3 { font-size: 22px; margin-top: 4px; }
.loop__stage p { font-size: 14px; margin-top: 6px; }
.loop__num { font-weight: 600; color: var(--teal); font-size: 17px; }
.loop__gate { display: inline-block; margin-left: 10px; font-size: 11px; }
.loop__stage.is-gate { border: 1.5px solid var(--green); }
.loop__stage--1 { grid-area: s1; justify-self: center; }
.loop__stage--2 { grid-area: s2; justify-self: end; align-self: start; }
.loop__stage--3 { grid-area: s3; justify-self: end; align-self: end; }
.loop__stage--4 { grid-area: s4; justify-self: center; }
.loop__stage--5 { grid-area: s5; justify-self: start; align-self: end; }
.loop__stage--6 { grid-area: s6; justify-self: start; align-self: start; }
.loop__center {
	grid-area: c; justify-self: center; align-self: center;
	width: min(460px, 100%); aspect-ratio: 1; margin: -60px -40px;
	border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--teal-ui) 50%, transparent);
	background: radial-gradient(circle, color-mix(in srgb, var(--blue) 10%, transparent) 0%, transparent 70%);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
}
.loop__center-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 12px; max-width: 12ch; }
.loop__center-text { margin-top: 14px; font-size: 15px; max-width: 24ch; }
.loop__arrows { position: absolute; inset: 0; pointer-events: none; }
.loop__arrow { position: absolute; color: var(--blue); }
.loop__arrow svg { width: 80px; height: 54px; }
.loop__arrow--a { top: 9%; right: 21%; }
.loop__arrow--b { top: 44%; right: 7%; }
.loop__arrow--b svg { width: 60px; height: 70px; }
.loop__arrow--c { bottom: 7%; right: 21%; }
.loop__arrow--d { bottom: 7%; left: 21%; }
.loop__arrow--e { top: 44%; left: 7%; }
.loop__arrow--e svg { width: 60px; height: 70px; }
.loop__feed {
	position: absolute; top: 12%; left: 6%;
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
	border: 1.5px solid var(--green); background: var(--surface); color: var(--green); font-size: 14px; font-weight: 500;
}
@media (max-width: 960px) {
	.loop { display: block; max-width: 560px; margin: 0; }
	.loop__stages { display: block; position: relative; }
	.loop__stages::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--line-strong); }
	.loop__stage { width: auto; justify-self: stretch; align-self: auto; background: none; border: 0; box-shadow: none; padding: 0 0 28px 64px; }
	.loop__stage.is-gate { border: 0; }
	.loop__num {
		position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
		display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--teal-ui); font-size: 15px;
	}
	.loop__stage.is-gate .loop__num { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
	.loop__stage h3 { margin-top: 4px; }
	.loop__gate { margin: 8px 0 0; display: table; order: 3; padding: 3px 8px; border-radius: 6px; background: var(--lime-tint); }
	.loop__stage.is-gate h3 { margin-top: 0; }
	.loop__stage.is-gate { display: flex; flex-direction: column; }
	.loop__stage.is-gate h3 { order: 1; }
	.loop__stage.is-gate p { order: 2; }
	.loop__center, .loop__arrow { display: none; }
	.loop__arrows { position: static; }
	.loop__feed { position: static; margin-left: 0; }
}

/* ---------- Product window: real product screenshots ---------- */
.pwin { margin: 0; border-radius: 16px; overflow: hidden; background: var(--chrome); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.pwin__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: var(--chrome-ink); font-size: 14px; }
.pwin__dots { display: flex; gap: 7px; flex: none; }
.pwin__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--chrome-dot); }
.pwin__title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwin__badge { flex: none; padding: 3px 8px; border: 1px solid var(--cyan); border-radius: 6px; color: var(--cyan); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.pwin__screen { background: var(--screen); }
.pwin__screen img { display: block; width: 100%; height: auto; }
.pwin--compact .pwin__badge { display: none; }
.pwin--wide { margin-bottom: 32px; }
.pwin-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.pwin-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pwin-collage .pwin:first-child { grid-column: 1 / -1; }
.pwin-collage .pwin--compact .pwin__screen { aspect-ratio: 3 / 2; overflow: hidden; }
.pwin-collage .pwin--compact img { height: 100%; object-fit: cover; object-position: top left; }
.shot { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--screen); border: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 560px) {
	.pwin__bar { padding: 8px 12px; font-size: 13px; }
	.pwin__badge { font-size: 10px; }
	.pwin-collage { grid-template-columns: 1fr; }
}

/* ---------- Product cards ---------- */
.product-grid { gap: 20px; }
.product-card { padding: 16px 16px 24px; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; margin-top: 12px; }
.product-card p { margin-top: 6px; }
.product-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-inline: 4px; }
.product-card h3, .product-card p { padding-inline: 4px; }
.product-card__num { color: var(--teal); font-weight: 700; font-size: 18px; }
.bar { display: block; width: 70px; height: 4px; border-radius: 4px; background: var(--line); flex: none; }
.bar b { display: block; height: 100%; border-radius: 4px; }
.proof-card { grid-column: span 2; justify-content: center; padding: clamp(24px, 3vw, 40px); background: var(--card-glow); border-color: color-mix(in srgb, var(--teal-ui) 50%, var(--line)); display: flex; flex-direction: column; gap: 12px; }
.proof-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; }
.proof-card .row { margin-top: 12px; }
@media (max-width: 680px) { .proof-card { grid-column: auto; } }

.feature-list { display: grid; gap: 24px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-list h3 { font-size: 19px; }
.feature-list p { margin-top: 4px; }

/* ---------- Personas ---------- */
.persona { overflow: hidden; display: flex; flex-direction: column; }
.persona__img { position: relative; aspect-ratio: 585 / 280; overflow: hidden; }
.persona__img { background: var(--screen); }
.persona__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.persona__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, color-mix(in srgb, var(--surface) 85%, transparent)); }
.persona__body { padding: 28px 36px 36px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.persona__title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.persona__chips { gap: 8px; }
.persona .text-link { margin-top: auto; padding-top: 6px; }
@media (max-width: 680px) { .persona__body { padding: 22px; } }

/* ---------- Guardrails ---------- */
.rails { display: grid; gap: 14px; }
.rail { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.rail h3 { font-size: 19px; margin-top: 4px; }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .icon { color: var(--green); flex: none; margin-top: 3px; }
.check-list--sm li { font-size: 15px; color: var(--body); gap: 10px; }
.x-list li .icon { color: var(--muted); }

/* ---------- Video frame ---------- */
.video-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 620 / 420; background: #10112a; box-shadow: var(--shadow); }
.video-frame--lg { aspect-ratio: 16 / 9; }
.video-frame__poster { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to bottom, transparent, rgba(16, 17, 42, 0.55)); pointer-events: none; }
.video-frame__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
	width: 88px; height: 88px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
	transition: transform 0.15s ease;
}
.video-frame__play .icon { margin-left: 4px; }
.video-frame__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-frame__meta { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 14px; }
.video-frame__len { font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.85); color: #12112a; }
.video-frame__player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }
.video-frame.is-playing .video-frame__play, .video-frame.is-playing .video-frame__meta { display: none; }

/* ---------- Tier cards ---------- */
.tier-mini { display: flex; flex-direction: column; padding: 28px; gap: 6px; }
.tier-mini.is-featured { border: 1.5px solid var(--green); }
.tier-mini__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tier-mini__avail { font-weight: 600; font-size: 16px; }
.tier-mini__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.tier-mini__price { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.tier-mini__sum { color: var(--body); margin: 6px 0 14px; }
.dots { display: flex; flex-wrap: wrap; gap: 5px; }
.dots i { width: 11px; height: 11px; border-radius: 3px; }
.dots--lime i { background: var(--lime); }
.dots--teal i { background: var(--teal-ui); }
.dots--blue i { background: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 48px);
	background: var(--lime); color: var(--lime-ink); border-radius: var(--radius-lg);
	transition: background-color 0.15s, transform 0.15s;
}
.cta-band:hover { background: var(--lime-hover); }
.cta-band__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.cta-band__sub { display: block; margin-top: 8px; font-size: clamp(16px, 1.4vw, 18px); color: #2c3a16; }
.cta-band__arrow { flex: none; width: 80px; height: 80px; border-radius: 14px; display: grid; place-items: center; background: #f6f7fb; color: #3a7400; transition: transform 0.15s; }
.cta-band:hover .cta-band__arrow { transform: translateX(4px); }
@media (max-width: 680px) {
	.cta-band { flex-direction: column; align-items: flex-start; }
	.cta-band__arrow { width: 56px; height: 56px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--bg); background-image: var(--glow); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 68px); max-width: 15em; }
.page-hero .lead { margin-top: 24px; }
.page-hero .row.mt-l { margin-top: 36px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.crumbs a { color: var(--teal); }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Mock panels (illustrative product UI) ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel__rows li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: var(--ink); font-size: 15px; }
.panel__rows li + li { border-top: 1px solid var(--line); }
.panel__rows li .icon { color: var(--body); flex: none; }
.panel__rows li > span:first-of-type { flex: 1; }
.panel__rows .status { margin-left: auto; }

/* ---------- Accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
	flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
	display: grid; place-items: center; color: var(--teal); transition: transform 0.2s;
}
.faq-item summary .icon-minus { display: none; }
.faq-item[open] summary .icon-minus { display: block; }
.faq-item[open] summary .icon-plus { display: none; }
.faq-item summary:hover { color: var(--teal); }
.faq-item__body { padding: 0 48px 24px 0; color: var(--body); }
.faq-item__body p + p { margin-top: 10px; }
