/* listiris.com — one stylesheet, no web fonts, no scripts.
   Colours from the logo: navy text, violet links and buttons (5.4:1 on white),
   pink and orange as decoration only on white (4.0:1 and 2.4:1). */

:root {
	--navy: #120A3A;
	--violet: #5B4BFF;
	--violet-dark: #3F30E0;
	--pink: #E0457B;
	--orange: #F48E13;
	--ink: #120A3A;
	--muted: #514B6E;
	--line: #E4E1EF;
	--tint: #F5F4FB;
	--on-navy: #FFFFFF;
	--on-navy-muted: #C9C4E8;
	--on-navy-link: #BDB6FF;
	--measure: 42rem;
	--wide: 68rem;
	--radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: #FFFFFF;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { border-bottom: 2px solid var(--navy); font-size: 0.85rem; }
tbody th { font-weight: 700; }
@media (max-width: 40rem) { table { display: block; overflow-x: auto; } }

a { color: var(--violet); text-underline-offset: 0.15em; }
a:hover { color: var(--violet-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }

p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
code { font-size: 0.9em; background: var(--tint); padding: 0.1em 0.35em; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #FFFFFF; padding: 0.5rem 1rem; z-index: 10; }


/* header */

.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	max-width: var(--wide);
	width: 100%;
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
}
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { height: 36px; width: auto; }

.main-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--violet); }
.main-nav .current > a { border-bottom-color: var(--violet); }
.main-nav .nav-login a {
	color: var(--violet);
	border: 2px solid var(--violet);
	border-radius: 999px;
	padding: 0.3rem 1rem;
}
.main-nav .nav-login a:hover { background: var(--violet); color: #FFFFFF; }


/* main */

main {
	flex: 1;
	width: 100%;
	max-width: var(--measure);
	margin: 0 auto;
	padding: 2rem 1.5rem 4rem;
}
.type-home main { max-width: var(--wide); padding-top: 0; }
.type-home main > h2, .type-home main > p { max-width: var(--measure); }

.updated { color: var(--muted); font-size: 0.95rem; margin-top: -0.5rem; }

.button {
	display: inline-block;
	background: var(--violet);
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
}
.button:hover { background: var(--violet-dark); color: #FFFFFF; }


/* home: the hero, with the logo's three dots */

.hero {
	position: relative;
	background: var(--navy);
	color: var(--on-navy);
	border-radius: var(--radius);
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
	margin: 0 0 3rem;
	overflow: hidden;
}
.hero h1 { color: var(--on-navy); max-width: 16em; }
.hero .lead { font-size: 1.2rem; color: var(--on-navy-muted); max-width: 34em; }
.hero p:last-child { margin: 1.75rem 0 0; }
.hero::after {
	content: "";
	position: absolute;
	right: clamp(1.5rem, 5vw, 4rem);
	top: clamp(1.5rem, 4vw, 3rem);
	width: 96px;
	height: 72px;
	background:
		radial-gradient(circle at 12px 60px, var(--orange) 11px, transparent 12px),
		radial-gradient(circle at 48px 36px, var(--pink) 11px, transparent 12px),
		radial-gradient(circle at 84px 12px, var(--violet) 11px, transparent 12px);
}
@media (max-width: 40rem) { .hero::after { display: none; } }


/* features snippet: cards; on the home page only those marked for it */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0 2rem;
}
.feature {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem 1.25rem 0.5rem;
}
.feature h3 { margin-top: 0; }
.feature h3::before {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--orange);
	margin-bottom: 0.75rem;
}
.feature:nth-child(3n+2) h3::before { background: var(--pink); }
.feature:nth-child(3n+3) h3::before { background: var(--violet); }
.type-home .feature:not(.on-home) { display: none; }
.type-home .features { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.type-page .features { grid-template-columns: 1fr; }
.type-page .feature { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.25rem 0 0.25rem; }


/* FAQ pairs (%%FAQ-HTML%%) */

.faq-question { font-weight: 700; color: var(--navy); margin: 1.75rem 0 0.35rem; }
.faq-answer { margin: 0 0 1rem; }


/* footer */

.site-footer {
	background: var(--navy);
	color: var(--on-navy-muted);
	font-size: 0.95rem;
	padding: 2.5rem 1.5rem;
}
.site-footer > * { max-width: calc(var(--wide) - 3rem); margin-left: auto; margin-right: auto; }
.site-footer .logo { display: block; line-height: 0; margin-bottom: 1.25rem; }
.site-footer .logo img { height: 30px; width: auto; }
.site-footer a { color: var(--on-navy-link); }
.site-footer a:hover { color: var(--on-navy); }
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.footer-nav li { margin: 0; }
.company { margin-top: 0; margin-bottom: 0; }


@media print {
	.site-header nav, .site-footer nav, .skip, .hero::after { display: none; }
	.hero { background: none; color: var(--ink); padding: 0; }
	.hero h1, .hero .lead { color: var(--ink); }
	a { color: var(--ink); }
}
