/* CtrlOps landing. Same language as the web app (dark slate bar, light grey page, white rounded cards with a soft
   shadow, system fonts) with a dark hero; mint is the only accent and is used for the landing only. */

:root {
	--ink: #1d2125;
	--slate: #3f474f;
	--night: #15181b;
	--night-2: #1f2428;
	--mid: #5f6870;
	--line: #e2e5e8;
	--page: #f2f2f2;
	--card: #ffffff;
	--mint: #79c99e;
	--mint-hover: #8fd3af;
	--mint-ink: #2b7a51;
	--mint-soft: #e8f5ee;
	--radius: 0.75rem;
	--shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.09);
	--wrap: 72rem;
	--gutter: clamp(1rem, 4vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 0.5rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; }

/* ---------- header, stays on top while scrolling ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(21, 24, 27, 0.94);
	backdrop-filter: blur(8px);
	color: #f8f9fa;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 0.6rem var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}
/* the logo never sits on a white background (owner rule): the PNG is transparent */
.brand img { width: 2.4rem; height: 2.4rem; }
.nav { display: flex; align-items: center; gap: 0.25rem 1.4rem; }
.nav a:not(.btn) {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
	padding-block: 0.3rem;
	border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--mint); }
.menu-toggle {
	display: none;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	border-radius: 0.4rem;
	padding: 0.35rem 0.7rem;
	font: inherit;
	font-size: 0.95rem;
	cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.6rem 1.15rem;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--night); }
.btn-mint:hover { background: var(--mint-hover); border-color: var(--mint-hover); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-slate { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn-slate:hover { background: #2c3238; }
.btn-lg { padding: 0.8rem 1.5rem; font-size: 1.02rem; }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--mint);
	outline-offset: 2px;
}

/* ---------- dark hero ---------- */

.hero {
	background:
		radial-gradient(ellipse 60% 55% at 50% 0%, rgba(121, 201, 158, 0.22), transparent 70%),
		radial-gradient(ellipse 40% 40% at 85% 70%, rgba(121, 201, 158, 0.08), transparent 70%),
		var(--night);
	color: #fff;
	text-align: center;
	padding: clamp(3rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
	overflow: hidden;
}
.hero .pill {
	display: inline-block;
	padding: 0.3rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.82);
}
.hero h1 {
	margin: 1.25rem auto 0;
	max-width: 52rem;
	font-size: clamp(2.3rem, 6.2vw, 4.1rem);
	font-weight: 800;
	letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { margin: 1.25rem auto 0; max-width: 40rem; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: rgba(255, 255, 255, 0.72); }
.hero .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.checks { margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; list-style: none; padding: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.checks li::before { content: '✓'; color: var(--mint); font-weight: 700; margin-right: 0.45rem; }

/* subpages: a shorter hero */
.hero-page { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.hero-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.crumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.crumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- sections ---------- */

.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section.white { background: var(--card); }
.section-head { text-align: center; max-width: 44rem; margin-inline: auto; }
.eyebrow { display: block; font-size: 0.85rem; font-weight: 700; color: var(--mint-ink); letter-spacing: 0.02em; }
.section-head h2, .prose h2 { margin-top: 0.5rem; font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
.section-head p { margin-top: 0.85rem; font-size: 1.08rem; color: var(--mid); }
.after-head { margin-top: clamp(2rem, 5vw, 3rem); }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 1.6rem); min-width: 0; }
.section.white .card { box-shadow: none; border: 1px solid var(--line); }
.card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 0.45rem; color: var(--mid); font-size: 0.97rem; }
.icon {
	display: inline-grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 0.85rem;
	border-radius: 0.6rem;
	background: var(--mint-soft);
	color: var(--mint-ink);
}
.icon svg { width: 1.3rem; height: 1.3rem; }
.more { display: inline-block; margin-top: 0.9rem; font-weight: 600; color: var(--mint-ink); text-decoration: none; font-size: 0.95rem; }
.more:hover { text-decoration: underline; }

/* the two modules */
.module { padding: clamp(1.5rem, 4vw, 2.25rem); }
.module .tagline { margin-top: 0.4rem; font-size: 1.02rem; color: var(--mid); }
.module h3 { font-size: clamp(1.35rem, 3vw, 1.6rem); font-weight: 800; }
.ticks { margin-top: 1.1rem; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--mint-ink); font-weight: 800; }

/* before / now */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.versus .card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mid); }
.versus ul { margin-top: 0.9rem; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.versus li { position: relative; padding-left: 1.7rem; }
.versus .before li::before { content: '✕'; position: absolute; left: 0; color: #b0b6bc; font-weight: 700; }
.versus .now { background: var(--night-2); color: #fff; }
.versus .now h3 { color: var(--mint); }
.versus .now li::before { content: '✓'; position: absolute; left: 0; color: var(--mint); font-weight: 800; }

/* steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 3.4rem; }
.steps .card::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 1.2rem;
	left: clamp(1.25rem, 3vw, 1.6rem);
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--night-2);
	color: var(--mint);
	font-weight: 800;
	font-size: 0.9rem;
}

/* sectors */
.sector { display: flex; flex-direction: column; }
.sector .icon { margin-bottom: 0.7rem; }
.footnote { margin-top: 1.5rem; text-align: center; color: var(--mid); font-size: 0.95rem; }

/* levels of the company: who uses what */
.level .tag { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint-ink); }
.level h3 { margin-top: 0.3rem; }
.level { display: flex; flex-direction: column; }
.level p { margin-bottom: 0.9rem; }
.level .where { align-self: flex-start; margin-top: auto; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: 0.78rem; font-weight: 600; }

/* the reduction of the working week, year by year */
.timeline { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.timeline div { border-radius: var(--radius); padding: 1rem; text-align: center; background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.timeline span { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.timeline b { display: block; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.timeline b small { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.timeline .last { background: rgba(121, 201, 158, 0.14); border-color: rgba(121, 201, 158, 0.4); }
.timeline .last b { color: var(--mint); }
.legal-note { margin-top: 1.25rem; text-align: center; font-size: 0.88rem; color: var(--mid); }
.band .legal-note { color: rgba(255, 255, 255, 0.55); }
.sources { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.92rem; }
.prose .sources p, .prose .sources li { font-size: 0.92rem; color: var(--mid); }

/* dark band */
.band { background: var(--night); color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, 0.68); }
.band .eyebrow { color: var(--mint); }
.band .card { background: var(--night-2); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.08); }
.band .card p { color: rgba(255, 255, 255, 0.66); }
.band .icon { background: rgba(121, 201, 158, 0.14); color: var(--mint); }

/* contract terms */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.terms .card b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }

/* faq */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: 0.6rem; }
.faq details { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.section.white .faq details { box-shadow: none; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mint-ink); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 1.25rem 1.1rem; color: var(--mid); }
.faq-more { margin-top: 1.25rem; text-align: center; }

/* closing call to action */
.cta {
	background:
		radial-gradient(ellipse 50% 80% at 50% 100%, rgba(121, 201, 158, 0.2), transparent 70%),
		var(--night);
	color: #fff;
	text-align: center;
	padding-block: clamp(3rem, 8vw, 4.5rem);
}
.cta h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; max-width: 40rem; margin-inline: auto; }
.cta p { margin: 0.9rem auto 0; max-width: 36rem; color: rgba(255, 255, 255, 0.7); }
.cta .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* the four parts of the product, without boxes */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); }
.parts > div { border-top: 3px solid var(--mint); padding-top: 1.4rem; }
.parts .icon { margin-bottom: 0.7rem; }
.parts h3 { margin-top: 0.35rem; font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; }
.parts p { margin-top: 0.6rem; color: var(--mid); }

/* the levels as a line from the phone to the direction */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; counter-reset: level; }
.flow::before { content: ''; position: absolute; top: 1.2rem; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--mint), var(--slate)); }
.flow > div { position: relative; text-align: center; }
.flow > div::before {
	counter-increment: level;
	content: counter(level);
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	margin: 0 auto 0.9rem;
	border-radius: 50%;
	background: var(--night-2);
	color: var(--mint);
	font-weight: 800;
	position: relative;
}
.flow .tag { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint-ink); }
.flow h3 { margin-top: 0.25rem; font-size: 1.05rem; }
.flow p { margin-top: 0.4rem; color: var(--mid); font-size: 0.95rem; }
.flow .where { display: inline-block; margin-top: 0.7rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: 0.78rem; font-weight: 600; }

/* a photo behind the text */
.photo-band {
	position: relative;
	color: #fff;
	text-align: center;
	padding-block: clamp(4rem, 12vw, 7rem);
	/* the photo comes from the page (a relative url in the stylesheet would resolve against assets/) */
	background-color: var(--night);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.photo-band h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; max-width: 44rem; margin-inline: auto; }
.photo-band p { margin: 0.9rem auto 0; max-width: 38rem; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; }
.photo-band .eyebrow { color: var(--mint); }
.chips { margin: 1.75rem auto 0; max-width: 48rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.chips li { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); font-weight: 600; font-size: 0.95rem; }

/* heading on the left, a list of points on the right */
.split-list { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split-list .section-head { text-align: left; margin: 0; }
.points { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.points li { position: relative; padding-left: 1.8rem; color: var(--mid); }
.points li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--mint-ink); font-weight: 800; }
.points b { display: block; color: var(--ink); }

/* steps on a line, no boxes */
.steps-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps-line > div { border-top: 2px solid var(--line); padding-top: 1rem; }
.steps-line > div::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 2rem; font-weight: 800; color: var(--mint-ink); letter-spacing: -0.02em; }
.steps-line h3 { margin-top: 0.3rem; font-size: 1.08rem; }
.steps-line p { margin-top: 0.4rem; color: var(--mid); font-size: 0.97rem; }
.terms-line { margin-top: 2rem; text-align: center; color: var(--mid); }
.terms-line b { color: var(--ink); }

/* ---------- long text of the subpages ---------- */

.summary { padding-block: clamp(2rem, 5vw, 3rem); }
.summary .after-head { margin-top: 1rem; }
.summary .card { background: none; box-shadow: none; border: 0; border-top: 3px solid var(--mint); border-radius: 0; padding: 1rem 0 0; }
.summary .card h3 { font-size: 1.02rem; }
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.9rem; font-size: 1.07rem; color: #3f474f; }
.prose ul { margin-top: 0.9rem; padding-left: 1.2rem; color: #3f474f; font-size: 1.05rem; display: grid; gap: 0.35rem; }
.prose a { color: var(--mint-ink); font-weight: 600; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
form { margin-top: 1.25rem; display: grid; gap: 1rem; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { font-weight: 600; font-size: 0.92rem; }
input, select, textarea {
	width: 100%;
	font: inherit;
	padding: 0.6rem 0.75rem;
	border: 1px solid #ced4da;
	border-radius: 0.5rem;
	background: #fff;
	color: var(--ink);
}
textarea { min-height: 8rem; resize: vertical; }
.note { font-size: 0.88rem; color: var(--mid); }
.status { padding: 0.75rem 1rem; border-radius: 0.5rem; background: var(--mint-soft); color: #1f5a3b; font-size: 0.95rem; }
.aside h3 { font-size: 1rem; }
.aside p { margin-top: 0.3rem; color: var(--mid); }
.aside p + h3 { margin-top: 1.4rem; }
.aside a { color: var(--mint-ink); font-weight: 600; }

/* ---------- footer ---------- */

.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; padding-block: 3rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h4 { margin: 0 0 0.7rem; color: #fff; font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-grid .brand { font-size: 1.2rem; }
.footer-grid .about { margin-top: 0.8rem; max-width: 20rem; }
.credits { flex-basis: 100%; font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); }
.credits a { text-decoration: none; }
.credits a:hover { text-decoration: underline; }
.legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.85rem; }

/* ---------- smaller screens ---------- */

@media (max-width: 60rem) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3, .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact { grid-template-columns: minmax(0, 1fr); }
	.split-list { grid-template-columns: minmax(0, 1fr); }
	.flow, .steps-line { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
	.flow::before { display: none; }
}
@media (max-width: 52rem) {
	.menu-toggle { display: inline-block; }
	.site-header .inner { flex-wrap: wrap; }
	.nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 0.5rem; }
	.nav.open { display: flex; }
	.nav a:not(.btn) { padding: 0.65rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.nav a[aria-current="page"] { border-bottom-color: var(--mint); }
	.nav .btn { margin-top: 0.75rem; }
}
@media (max-width: 40rem) {
	.grid-2, .grid-3, .grid-4, .terms, .versus, .field-row { grid-template-columns: minmax(0, 1fr); }
	.timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.points, .flow, .steps-line, .parts { grid-template-columns: minmax(0, 1fr); }
	.timeline .last { grid-column: 1 / -1; }
	.hero .actions .btn, .cta .actions .btn { flex: 1 1 100%; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
