/* What's New pages, styled to match usesilo.com (colours and type taken from the live site). */
:root {
	--silo-green: #0a3c23;
	--silo-green-soft: rgba(10, 60, 35, 0.14);
	--silo-sand: #e7dfd5;
	--silo-cream: #faf5f0;
	--silo-lime: #e6ff55;
	--silo-text: #1c2b22;
	--font-sans: "DM Sans", Arial, Helvetica, sans-serif;
	--font-serif: "STIX Two Text", Georgia, "Times New Roman", serif;
	--wrap: 1200px;
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--silo-sand);
	color: var(--silo-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
}

a { color: var(--silo-green); }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* Header: sand bar with logo, product tabs and the Book a Demo call to action */
.site-header { background: var(--silo-sand); }

.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 32px;
	min-height: 64px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.site-logo { display: block; line-height: 0; }
.site-logo img { height: 44px; width: auto; }

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	flex: 1;
	justify-content: center;
}

.site-nav a {
	color: var(--silo-green);
	font-weight: 500;
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--silo-green-soft); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--silo-green); font-weight: 700; }

.site-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--silo-green);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.site-cta svg { flex: none; }
.site-cta:hover { text-decoration: underline; }

/* Hero: deep green band with the page title and an italic serif tagline */
.hero {
	background: var(--silo-green);
	color: var(--silo-cream);
	text-align: center;
	padding: 39px 0 45px;
}

.hero h1 {
	margin: 0;
	font-size: clamp(22px, 3.5vw, 38px);
	font-weight: 700;
	line-height: 1.2;
}

.hero .tagline {
	margin: 8px 0 0;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(14px, 1.8vw, 20px);
	line-height: 1.3;
}

/* Release notes card. The content pages are plain fragments (h5 version headings, ol/ul lists). */
.notes-section { padding: 48px 0 72px; }

.notes {
	background: var(--silo-cream);
	border-radius: 16px;
	padding: 16px 40px 40px;
	overflow-wrap: anywhere;
}

.notes h5 {
	margin: 32px 0 8px;
	padding-top: 24px;
	border-top: 1px solid var(--silo-green-soft);
	color: var(--silo-green);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.notes h5:first-child,
.notes > :first-child h5:first-child { border-top: 0; padding-top: 8px; }

.notes ol, .notes ul { margin: 8px 0; padding-left: 28px; }
.notes li { margin: 4px 0; }
.notes li::marker { color: var(--silo-green); }
.notes ul ul, .notes ol ul, .notes ul ol { margin: 4px 0; }

.notes pre {
	background: var(--silo-sand);
	border-radius: 8px;
	padding: 12px 16px;
	overflow-x: auto;
	white-space: pre-wrap;
	font-size: 14px;
}

.notes table { border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.notes th, .notes td { border: 1px solid var(--silo-green-soft); padding: 6px 10px; text-align: left; vertical-align: top; }
.notes th { background: var(--silo-green); color: var(--silo-cream); font-weight: 700; }

.notes iframe { display: block; width: 100%; height: 1200px; border: 0; border-radius: 8px; background: #fff; }

.notes .loading { color: var(--silo-green); font-style: italic; }

/* Older / Newer / Latest links at the bottom of the content pages, shown as Silo pill buttons */
.notes .orangebullets {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	margin: 32px 0 0;
	font-size: 0;
}

.notes .orangebullets a {
	display: inline-block;
	padding: 8px 22px;
	border: 2px solid var(--silo-green);
	border-radius: 999px;
	color: var(--silo-green);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.notes .orangebullets a:hover { background: var(--silo-green); color: var(--silo-lime); }

/* Footer: deep green with the lime logo, contact details and legal links */
.site-footer {
	background: var(--silo-green);
	color: var(--silo-cream);
	padding: 56px 0 40px;
}

.site-footer a { color: var(--silo-cream); }

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
}

.footer-logo img { height: 64px; width: auto; }

.footer-contact { margin: 0; font-style: normal; }

.footer-legal {
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 32px;
}

@media (max-width: 720px) {
	.site-nav { justify-content: flex-start; flex-basis: 100%; order: 3; }
	.site-cta { margin-left: auto; }
	.hero { padding: 28px 0 31px; }
	.notes-section { padding: 24px 0 48px; }
	.notes { padding: 8px 20px 28px; }
	.notes ol, .notes ul { padding-left: 22px; }
	.footer-legal { justify-content: flex-start; }
}
