/*----------------------------------------
Apps website. Colours, type and components follow amityweb.co.uk.
----------------------------------------*/
@font-face
{
	font-family: Inter;
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(/assets/inter.woff2) format("woff2");
}

:root
{
	--primary: #e94e1a;
	--primary-dark: #d14516;
	--secondary: #102c40;
	--secondary-light: #1a3d54;
	--background: #fff;
	--background-alt: #f8fafc;
	--foreground: #1e293b;
	--muted: #64748b;
	--border: #e2e8f0;
}

*
{
	box-sizing: border-box;
}

body
{
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: Inter, system-ui, -apple-system, sans-serif;
	line-height: 1.7;
}

h1, h2, h3
{
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

p
{
	margin: 0 0 1rem;
}

a
{
	color: var(--primary);
}

img
{
	display: block;
	max-width: 100%;
}

.container
{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.narrow
{
	max-width: 800px;
}

/* Header */
.site-header
{
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.header-inner
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	min-height: 4rem;
	padding-top: .5rem;
	padding-bottom: .5rem;
}

.logo img
{
	height: 2rem;
	width: auto;
}

.site-nav
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem 1.75rem;
}

.site-nav a
{
	color: var(--muted);
	font-weight: 500;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current]
{
	color: var(--foreground);
}

/* Buttons */
.btn-primary,
.btn-secondary
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: .5rem;
	padding: .875rem 1.75rem;
	font-weight: 500;
	text-decoration: none;
	transition: all .2s;
}

.btn-primary
{
	background: var(--primary);
	color: #fff;
}

.btn-primary:hover
{
	background: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px #e94e1a4d;
}

.btn-secondary
{
	background: #fff;
	border: 1px solid var(--border);
	color: var(--foreground);
}

.btn-secondary:hover
{
	background: var(--background-alt);
	border-color: var(--muted);
}

.buttons
{
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

/* Hero */
.hero
{
	padding: 5rem 0;
	text-align: center;
	background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 100%);
}

.hero h1
{
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.1;
}

.hero .accent
{
	color: var(--primary);
}

.hero .lead
{
	max-width: 40rem;
	margin: 1.25rem auto 2rem;
	color: var(--muted);
	font-size: 1.125rem;
}

.hero-icon
{
	width: 7.5rem;
	height: 7.5rem;
	margin: 0 auto 1.5rem;
	border-radius: 22%;
	box-shadow: 0 8px 28px #0000001f;
}

.status
{
	margin: 1.25rem 0 0;
	color: var(--muted);
	font-size: .875rem;
}

/* Sections */
.section
{
	padding: 4.5rem 0;
}

.section-title
{
	margin-bottom: 2.5rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	text-align: center;
}

.grid
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 1.25rem;
}

.card
{
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 2rem;
	background: #fff;
	transition: all .2s;
}

.card:hover
{
	border-color: var(--primary);
	box-shadow: 0 4px 20px #00000014;
}

.card h3
{
	margin-bottom: .625rem;
	font-size: 1.125rem;
}

.card p,
.card ul
{
	margin: 0;
	color: var(--muted);
	font-size: .9375rem;
}

.card ul
{
	padding-left: 1.125rem;
}

.app-card
{
	display: flex;
	gap: 1.5rem;
	align-items: center;
	max-width: 720px;
	margin: 0 auto;
	color: inherit;
	text-decoration: none;
}

.app-card img
{
	flex: none;
	width: 6rem;
	height: 6rem;
	border-radius: 22%;
}

.app-card h3
{
	font-size: 1.5rem;
}

/* Dark band */
.band
{
	padding: 4rem 0;
	background: var(--secondary);
	color: #fff;
	text-align: center;
}

.band h2
{
	margin-bottom: 1rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.band p
{
	max-width: 44rem;
	margin: 0 auto 1.5rem;
	color: #cbd5e1;
}

.band a:not(.btn-primary)
{
	color: #fff;
}

/* Long text */
.prose
{
	padding: 3.5rem 0 4.5rem;
}

.prose h1
{
	margin-bottom: .5rem;
	font-size: clamp(2rem, 4vw, 2.75rem);
}

.prose h2
{
	margin: 2.25rem 0 .75rem;
	font-size: 1.375rem;
}

.prose h3
{
	margin: 1.5rem 0 .25rem;
	font-size: 1.0625rem;
	letter-spacing: 0;
}

.prose ul
{
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.updated
{
	color: var(--muted);
	font-size: .875rem;
}

.contact-box
{
	margin: 1.5rem 0 2rem;
	padding: 1.5rem 2rem;
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--background-alt);
}

.contact-box p:last-child
{
	margin-bottom: 0;
}

/* Footer */
.site-footer
{
	padding: 2.5rem 0;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: .875rem;
}

.footer-inner
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.footer-links
{
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.5rem;
}

.footer-links a
{
	color: var(--muted);
	text-decoration: none;
}

.footer-links a:hover
{
	color: var(--foreground);
}

.site-footer p
{
	margin: 0;
}

@media (max-width: 560px)
{
	.hero
	{
		padding: 3.5rem 0;
	}

	.app-card
	{
		flex-direction: column;
		align-items: flex-start;
	}
}
