/*
Theme Name: EsyReply
Theme URI: https://esyreply.esypay.app/
Author: EsyReply
Author URI: https://esyreply.esypay.app/
Description: Responsive SaaS theme for the EsyReply Instagram and Facebook auto reply service. Includes an editable homepage, Yoast-compatible SEO fields, a customer-portal layout, and update-safe Customizer settings.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esyreply
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

:root {
	--er-ink: #14213d;
	--er-muted: #63708b;
	--er-line: #e5e8f1;
	--er-purple: #6236f1;
	--er-surface: #ffffff;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--er-surface);
	color: var(--er-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

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

.er-inner-header,
.er-inner-footer {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.er-inner-header {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.er-inner-brand,
.er-inner-header a {
	text-decoration: none;
}

.er-inner-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 800;
}

.er-inner-brand .esyreply-logo-mark {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	stroke: none;
}

.er-inner-brand-mark {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	color: #fff;
	background: linear-gradient(140deg, #7451ff, #4a20d2);
	border-radius: 11px 11px 11px 4px;
}

.er-inner-nav ul {
	margin: 0;
	padding: 0;
	display: flex;
	gap: 22px;
	list-style: none;
}

.er-inner-nav a {
	color: #58647b;
	font-size: 13px;
	font-weight: 650;
}

.er-page-shell {
	width: min(1120px, calc(100% - 32px));
	min-height: 58vh;
	margin: 0 auto;
	padding: 70px 0 90px;
}

.er-page-shell h1 {
	font-size: clamp(38px, 5vw, 58px);
	letter-spacing: -.04em;
}

.er-page-content {
	color: var(--er-muted);
	font-size: 16px;
	line-height: 1.75;
}

.er-portal-page {
	width: 100%;
	max-width: none;
	min-height: 70vh;
	margin: 0;
	padding: 0;
}

.er-portal-page .er-page-content {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.er-portal-page article {
	margin: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid #9b7cff;
	outline-offset: 3px;
}

.er-inner-footer {
	padding: 28px 0;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: #858ea0;
	border-top: 1px solid var(--er-line);
	font-size: 11px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 10px;
	left: 10px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	color: #fff;
	background: #241744;
}

@media (max-width: 720px) {
	.er-inner-nav {
		display: none;
	}

	.er-inner-footer {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
