/* About Clever Members page (about.css). Load it after home.css in Head Tag: it uses
   home.css's colors, fonts, buttons and pricing. Every rule only applies inside
   <div class="cg-home">, with the same strong selectors as home.css. */

/* Intro */
html body .cg-home.cg-home.cg-home .ab-intro {
	background: var(--lilac);
	padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
html body .cg-home.cg-home.cg-home .ab-intro-in {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}
html body .cg-home.cg-home.cg-home .ab-intro h1 {
	font-size: clamp(2.5rem, 5.4vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin: 0 0 .4em;
	color: var(--ink);
}
html body .cg-home.cg-home.cg-home .ab-intro .lead { color: var(--ink-2); }
html body .cg-home.cg-home.cg-home .ab-intro .hero-for li { color: var(--ink-2); border-color: rgba(34,22,58,.18); background: rgba(255,255,255,.55); }
html body .cg-home.cg-home.cg-home .ab-facts {
	margin: 0;
	display: grid;
	gap: 0;
	background: #fff;
	border-radius: var(--r-lg);
	padding: 8px 24px;
	box-shadow: 0 30px 50px -40px rgba(34,22,58,.5);
}
html body .cg-home.cg-home.cg-home .ab-facts div { padding: 14px 0; border-top: 1px solid var(--line); }
html body .cg-home.cg-home.cg-home .ab-facts div:first-child { border-top: 0; }
html body .cg-home.cg-home.cg-home .ab-facts dt { font-family: var(--display); font-weight: 750; font-size: 1.15rem; color: var(--violet); margin: 0; }
html body .cg-home.cg-home.cg-home .ab-facts dd { margin: 2px 0 0; color: var(--ink-2); line-height: 1.45; }

/* The six topics */
html body .cg-home.cg-home.cg-home .ab-topics { padding: var(--section) 0; }
html body .cg-home.cg-home.cg-home .ab-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
html body .cg-home.cg-home.cg-home .ab-topic {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: 16px;
	row-gap: 4px;
	align-items: start;
	text-align: left;
	padding: 22px 22px 20px;
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--r);
	font: inherit;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
html body .cg-home.cg-home.cg-home .ab-topic:hover { border-color: var(--violet); box-shadow: 0 18px 30px -22px rgba(76,29,149,.55); }
html body .cg-home.cg-home.cg-home .ab-topic:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 3px; }
html body .cg-home.cg-home.cg-home .ab-topic:active { transform: translateY(1px); }
html body .cg-home.cg-home.cg-home .ab-ico {
	grid-row: 1 / span 3;
	width: 44px;
	height: 44px;
	padding: 9px;
	border-radius: 12px;
	background: var(--lilac);
	fill: none;
	stroke: var(--violet-dark);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
html body .cg-home.cg-home.cg-home .ab-topic-name { font-family: var(--display); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
html body .cg-home.cg-home.cg-home .ab-topic-sum { color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
html body .cg-home.cg-home.cg-home .ab-topic-more { margin-top: 10px; font-weight: 700; font-size: .95rem; color: var(--violet); align-self: end; }
html body .cg-home.cg-home.cg-home .ab-topic:hover .ab-topic-more { text-decoration: underline; text-underline-offset: 3px; }

/* Popups */
html body .cg-home.cg-home.cg-home .ab-dlg {
	width: min(980px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--r-lg);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1rem;
	line-height: 1.55;
	box-shadow: 0 40px 80px -30px rgba(17,10,32,.6);
	overflow: hidden;
}
html body .cg-home.cg-home.cg-home .ab-dlg[open] { display: flex; flex-direction: column; }
html body .cg-home.cg-home.cg-home .ab-dlg::backdrop { background: rgba(23,14,40,.62); }
html body .cg-home.cg-home.cg-home .ab-dlg-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px 18px 28px;
	background: var(--ink);
	color: #fff;
	flex: none;
}
html body .cg-home.cg-home.cg-home .ab-dlg-head h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: none; }
html body .cg-home.cg-home.cg-home .ab-close {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: #fff;
	cursor: pointer;
}
html body .cg-home.cg-home.cg-home .ab-close:hover { background: rgba(255,255,255,.22); }
html body .cg-home.cg-home.cg-home .ab-close:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
html body .cg-home.cg-home.cg-home .ab-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
html body .cg-home.cg-home.cg-home .ab-dlg-body { padding: 24px 28px 30px; overflow-y: auto; overscroll-behavior: contain; }
html body .cg-home.cg-home.cg-home .ab-dlg-lead { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 1.25em; max-width: 60ch; }
html body .cg-home.cg-home.cg-home .ab-dlg h3 {
	font-size: 1.1rem;
	margin: 1.4em 0 .5em;
	padding-bottom: .4em;
	border-bottom: 2px solid var(--ink);
}
html body .cg-home.cg-home.cg-home .ab-cols > div > h3:first-child { margin-top: 0; }
html body .cg-home.cg-home.cg-home .ab-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
html body .cg-home.cg-home.cg-home .ab-list { margin: 0; }
html body .cg-home.cg-home.cg-home .ab-list dt { font-weight: 700; margin: 0; padding-top: 10px; }
html body .cg-home.cg-home.cg-home .ab-list dd { margin: 2px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
html body .cg-home.cg-home.cg-home .ab-list dd:last-child { border-bottom: 0; }
html body .cg-home.cg-home.cg-home .ab-list-wide { max-width: 70ch; }
html body .cg-home.cg-home.cg-home .ab-note { margin-top: 22px; padding: 16px 20px; background: var(--lilac); border-radius: var(--r); }
html body .cg-home.cg-home.cg-home .ab-note h3 { margin: 0 0 .3em; padding: 0; border: 0; }
html body .cg-home.cg-home.cg-home .ab-note p { margin: 0; color: var(--ink-2); }

/* Compare tables */
html body .cg-home.cg-home.cg-home .ab-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html body .cg-home.cg-home.cg-home .ab-table-wrap { overflow-x: auto; }
html body .cg-home.cg-home.cg-home .ab-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
html body .cg-home.cg-home.cg-home .ab-table caption { text-align: left; font-family: var(--display); font-weight: 750; font-size: 1.15rem; padding: 0 0 10px; }
html body .cg-home.cg-home.cg-home .ab-table th, html body .cg-home.cg-home.cg-home .ab-table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
html body .cg-home.cg-home.cg-home .ab-table thead th { font-size: .85rem; font-weight: 700; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
html body .cg-home.cg-home.cg-home .ab-table tbody th { font-weight: 500; color: var(--ink-2); }
html body .cg-home.cg-home.cg-home .ab-table .is-us { background: var(--green-soft); color: var(--green); font-weight: 700; }
html body .cg-home.cg-home.cg-home .ab-table thead .is-us { color: var(--green); }
html body .cg-home.cg-home.cg-home .ab-table .is-no { color: var(--ink-3); }
html body .cg-home.cg-home.cg-home .ab-table tfoot th, html body .cg-home.cg-home.cg-home .ab-table tfoot td { font-weight: 800; font-size: 1.05rem; border-bottom: 0; border-top: 2px solid var(--ink); color: var(--ink); }
html body .cg-home.cg-home.cg-home .ab-table tfoot .is-us { color: var(--green); }
html body .cg-home.cg-home.cg-home .ab-dlg .fine { margin: 18px 0 0; max-width: 80ch; }

/* FAQ in a popup (the rest comes from home.css) */
html body .cg-home.cg-home.cg-home .ab-dlg .faq-list { border-top: 0; }
html body .cg-home.cg-home.cg-home .ab-dlg .faq-list details:first-child summary { padding-top: 4px; }

/* Responsive */
@media (max-width: 1000px) {
	html body .cg-home.cg-home.cg-home .ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .cg-home.cg-home.cg-home .ab-tables { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	html body .cg-home.cg-home.cg-home .ab-intro-in, html body .cg-home.cg-home.cg-home .ab-cols { grid-template-columns: minmax(0, 1fr); }
	html body .cg-home.cg-home.cg-home .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	html body .cg-home.cg-home.cg-home .ab-topic { padding: 18px; }
	html body .cg-home.cg-home.cg-home .ab-dlg { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
	html body .cg-home.cg-home.cg-home .ab-dlg-head { padding: 14px 12px 14px 18px; }
	html body .cg-home.cg-home.cg-home .ab-dlg-body { padding: 18px 18px 24px; }
}
