/*
 * APlus Worx: layout, header, footer and home page.
 * Same visual language as the A+ Enterprises site: white canvas, near-black type, one strong accent
 * (APlusWorx green instead of red), heavy headlines, flat square panels with hairlines, generous whitespace.
 * Main font: Source Sans 3 Light, self-hosted (assets/fonts, OFL).
 */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--aw-accent: #15803d;        /* the one accent: passes AA with white text and as text on white */
	--aw-accent-dark: #0f6a31;
	--aw-accent-bright: #4ccd70; /* logo green, and the accent on dark backgrounds */
	--aw-ink: #1a1a1a;
	--aw-text: #1a1a1a;
	--aw-grey: #4d4d4d;
	--aw-muted: #666666;
	--aw-line: #e5e5e5;
	--aw-line-2: #d6d6d6;
	--aw-panel: #f5f5f5;
	--aw-white: #ffffff;
	--aw-radius: 4px;
	--aw-font: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Noto Sans Arabic", sans-serif;
	--aw-wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: hidden;
	background: var(--aw-white);
	color: var(--aw-text);
	font-family: var(--aw-font);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--aw-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--aw-accent); }
:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--aw-ink); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.45rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.aw-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--aw-white); color: var(--aw-ink); padding: 8px 14px; font-weight: 600; }
.aw-skip:focus { left: 8px; }

.aw-wrap { width: min(100% - 40px, var(--aw-wrap)); margin-inline: auto; }
.aw-icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.22em; }

/* Buttons: square-ish, ink by default */
.aw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: var(--aw-radius); border: 1px solid var(--aw-ink);
	background: var(--aw-ink); color: var(--aw-white); font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.aw-btn:hover { background: var(--aw-grey); border-color: var(--aw-grey); color: var(--aw-white); }
.aw-btn--accent { background: var(--aw-accent); border-color: var(--aw-accent); }
.aw-btn--accent:hover { background: var(--aw-accent-dark); border-color: var(--aw-accent-dark); }
.aw-btn--ghost { background: var(--aw-white); border-color: var(--aw-line-2); color: var(--aw-ink); }
.aw-btn--ghost:hover { background: var(--aw-white); border-color: var(--aw-ink); color: var(--aw-ink); }
.aw-btn--white { background: var(--aw-white); border-color: var(--aw-white); color: var(--aw-ink); }
.aw-btn--white:hover { background: var(--aw-panel); border-color: var(--aw-panel); color: var(--aw-ink); }
.aw-btn--light { background: transparent; border-color: rgba(255,255,255,.8); color: var(--aw-white); }
.aw-btn--light:hover { background: var(--aw-white); border-color: var(--aw-white); color: var(--aw-ink); }
.aw-btn--sm { padding: 10px 16px; font-size: 16px; }
.aw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header: white, hairline, menu underline in the accent */
.aw-header { position: sticky; top: 0; z-index: 50; background: var(--aw-white); border-bottom: 1px solid var(--aw-line); }
.admin-bar .aw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .aw-header { top: 46px; } }
.aw-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.aw-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--aw-ink); text-decoration: none; flex: none; }
.aw-logo:hover { color: var(--aw-ink); }
.aw-logo__mark { width: 42px; height: 33px; color: var(--aw-accent-bright); flex: none; }
.aw-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.aw-logo__name { font-size: 26px; font-weight: 900; letter-spacing: -0.015em; white-space: nowrap; }
.aw-logo__name b { font-weight: 900; color: var(--aw-accent); }
.aw-logo__slogan { margin-top: 4px; color: var(--aw-muted); font-size: 13.5px; font-weight: 400; letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 480px) {
	.aw-header__in { gap: 14px; }
	.aw-logo__mark { width: 34px; height: 27px; }
	.aw-logo__name { font-size: 22px; }
	.aw-logo__slogan { font-size: 12px; }
}

.aw-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 22px; }
.aw-menu, .aw-menu ul { list-style: none; margin: 0; padding: 0; }
.aw-menu { display: flex; gap: 2px; }
.aw-menu li { position: relative; }
.aw-menu a {
	display: block; padding: 26px 12px 24px; color: var(--aw-ink);
	font-size: 16.5px; font-weight: 400; text-decoration: none; border-bottom: 3px solid transparent;
}
.aw-menu a:hover { color: var(--aw-ink); border-bottom-color: var(--aw-line-2); }
.aw-menu .current-menu-item > a, .aw-menu .current-menu-ancestor > a { font-weight: 600; border-bottom-color: var(--aw-accent); }
.aw-menu .menu-item-has-children > a::after { content: " \25BE"; font-size: 11px; color: var(--aw-muted); }
.aw-menu .sub-menu {
	padding: 10px 0; position: absolute; top: 100%; inset-inline-start: 0; min-width: 250px;
	background: var(--aw-white); border: 1px solid var(--aw-line); box-shadow: 0 16px 30px rgba(0,0,0,.08);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s ease;
}
.aw-menu li:hover > .sub-menu, .aw-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.aw-menu .sub-menu a { padding: 9px 20px; font-size: 16px; border-bottom: 0; }
.aw-menu .sub-menu a:hover { background: var(--aw-panel); color: var(--aw-accent); }
.aw-nav-toggle { display: none; margin-inline-start: auto; background: none; border: 0; padding: 8px 4px; font: inherit; font-weight: 600; color: var(--aw-ink); cursor: pointer; }
.aw-nav-toggle__close { display: none; }
.aw-nav-toggle[aria-expanded="true"] .aw-nav-toggle__open { display: none; }
.aw-nav-toggle[aria-expanded="true"] .aw-nav-toggle__close { display: inline; }

@media (max-width: 1080px) {
	.aw-nav-toggle { display: block; }
	.aw-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--aw-white); border-bottom: 1px solid var(--aw-line);
		flex-direction: column; align-items: stretch; padding: 8px 20px 22px; gap: 14px;
		max-height: calc(100vh - 76px); overflow-y: auto;
	}
	.aw-nav.is-open { display: flex; }
	.aw-menu { flex-direction: column; }
	.aw-menu a { padding: 12px 0; border-bottom: 1px solid var(--aw-line); }
	.aw-menu .current-menu-item > a, .aw-menu .current-menu-ancestor > a { border-bottom-color: var(--aw-line); color: var(--aw-accent); }
	.aw-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.aw-menu .menu-item-has-children > a::after { content: ""; }
	.aw-nav__account { align-self: flex-start; }
}

/* Eyebrow + lead */
.aw-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--aw-accent);
	font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.aw-eyebrow a { color: inherit; }
.aw-lead { font-size: 1.2rem; line-height: 1.5; color: var(--aw-grey); }

/* Sub-page hero: white, heavy title */
.aw-pagehead { padding: 64px 0 56px; border-bottom: 1px solid var(--aw-line); background: var(--aw-white); }
.aw-pagehead h1 { max-width: 900px; }
.aw-pagehead .aw-lead { max-width: 780px; margin-bottom: 0; }
@media (max-width: 700px) { .aw-pagehead { padding: 44px 0 40px; } }

/* Home hero: dark visual with an overlapping accent headline box */
.aw-hero { background: var(--aw-white); padding-bottom: 8px; overflow: hidden; }
.aw-hero__visual {
	position: relative; overflow: hidden;
	background:
		radial-gradient(700px 420px at 72% 40%, rgba(76, 205, 112, .24), transparent 70%),
		radial-gradient(500px 360px at 18% 20%, rgba(255, 255, 255, .06), transparent 70%),
		linear-gradient(115deg, #161816 0%, #1d2a22 45%, #24392c 70%, #171b18 100%);
}
.aw-hero__visual::after {
	content: ""; position: absolute; right: -3%; bottom: -16%; width: clamp(320px, 46vw, 640px); aspect-ratio: 452 / 350;
	opacity: .07; pointer-events: none;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='18 70 452 350'%3E%3Cg fill='%23ffffff'%3E%3Crect x='70' y='70' width='55' height='155'/%3E%3Crect x='18' y='120' width='160' height='55'/%3E%3Crect x='225' y='120' width='245' height='55'/%3E%3Crect x='415' y='120' width='55' height='300'/%3E%3Crect x='70' y='365' width='400' height='55'/%3E%3Crect x='70' y='240' width='55' height='180'/%3E%3Crect x='70' y='240' width='278' height='55'/%3E%3C/g%3E%3C/svg%3E");
}
.aw-hero__visual-inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 44px 0 56px; min-height: 420px; }
.aw-hero__box {
	position: relative; z-index: 2; margin-top: -250px; width: min(780px, calc(100% - 460px));
	background: var(--aw-accent); color: var(--aw-white); padding-block: 40px 46px; padding-inline: 0 48px;
}
.aw-hero__box::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: calc(100% - 1px); width: 100vw; background: var(--aw-accent); }
.aw-hero__box h1 { color: var(--aw-white); }
.aw-hero__box .aw-eyebrow { color: var(--aw-white); opacity: .9; }
.aw-hero__box .aw-lead { color: var(--aw-white); font-weight: 400; }
@media (max-width: 900px) {
	.aw-hero__visual-inner { padding: 0; min-height: 240px; }
	.aw-hero__visual-inner .aw-acct { display: none; }
	.aw-hero__box { margin-top: -70px; width: 100%; padding: 30px 0 36px; }
	.aw-hero__box::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: calc(100% - 1px); width: 100vw; background: var(--aw-accent); }
}

/* Example account card in the hero */
.aw-acct { width: 100%; max-width: 440px; align-self: flex-start; background: var(--aw-white); color: var(--aw-text); border: 1px solid var(--aw-line); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.aw-acct__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--aw-line); }
.aw-acct__seal { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--aw-ink); display: grid; place-items: center; color: var(--aw-accent-bright); }
.aw-acct__seal svg { width: 26px; height: 20px; }
.aw-acct__title { font-weight: 700; color: var(--aw-ink); line-height: 1.3; }
.aw-acct__meta { font-size: 14px; color: var(--aw-muted); }
.aw-acct ul { list-style: none; margin: 0; padding: 6px 22px 2px; }
.aw-acct li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--aw-line); font-size: 16px; }
.aw-acct li:last-child { border-bottom: 0; }
.aw-acct li span:first-child b { font-weight: 600; color: var(--aw-ink); }
.aw-acct__foot { padding: 10px 22px 16px; font-size: 13px; color: var(--aw-muted); border-top: 1px solid var(--aw-line); }
.aw-chip { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.aw-chip--ok { background: #e3f3ea; color: #146c37; }
.aw-chip--info { background: var(--aw-panel); color: var(--aw-grey); }
.aw-chip--soon { background: #fbf0dd; color: #8a5200; }

/* Sections */
.aw-section { padding: 88px 0; }
.aw-section--tint { background: var(--aw-panel); }
.aw-section--dark { background: var(--aw-ink); color: #d9d9d9; }
.aw-section--dark h2, .aw-section--dark h3 { color: var(--aw-white); }
.aw-section--dark a { color: var(--aw-white); }
.aw-section--dark .aw-eyebrow { color: var(--aw-accent-bright); }
.aw-section--tight { padding: 56px 0; }
.aw-section__head { max-width: 780px; margin-bottom: 44px; }
@media (max-width: 700px) { .aw-section { padding: 60px 0; } .aw-section--tight { padding: 44px 0; } }

/* Pillars band */
.aw-pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.aw-pillar { padding: 6px 28px 0 0; }
.aw-pillar + .aw-pillar { padding-inline-start: 28px; border-inline-start: 1px solid var(--aw-line-2); }
.aw-pillar h3 { font-size: 1.9rem; font-weight: 900; color: var(--aw-accent); margin-bottom: 8px; }
.aw-pillar p { margin: 0; color: var(--aw-grey); }
@media (max-width: 900px) {
	.aw-pillars { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.aw-pillar:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 560px) { .aw-pillars { grid-template-columns: 1fr; } .aw-pillar + .aw-pillar { padding-inline-start: 0; border-inline-start: 0; } }

/* Grids and cards: flat, square, hairline borders */
.aw-grid { display: grid; gap: 24px; }
.aw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .aw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .aw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .aw-grid--2, .aw-grid--3, .aw-grid--4 { grid-template-columns: 1fr; } }

.aw-card { background: var(--aw-white); border: 1px solid var(--aw-line); padding: 30px; display: flex; flex-direction: column; }
.aw-section--tint .aw-card { border-color: var(--aw-white); }
.aw-section--dark .aw-card { background: #262626; border-color: #333333; color: #d9d9d9; }
.aw-card p:last-child, .aw-card ul:last-child { margin-bottom: 0; }
.aw-card__tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aw-accent); margin-bottom: 10px; }
.aw-card__mark { width: 48px; height: 48px; background: var(--aw-panel); color: var(--aw-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.aw-card__mark .aw-icon { width: 24px; height: 24px; }
.aw-section--dark .aw-card__mark { background: #333333; color: var(--aw-accent-bright); }
.aw-card__link { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--aw-ink); text-decoration: underline; text-underline-offset: 3px; }
.aw-card--link { color: inherit; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.aw-card--link:hover { color: inherit; border-color: var(--aw-ink); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.aw-card--link:hover .aw-card__link { color: var(--aw-accent); }
.aw-card--accent { border-top: 4px solid var(--aw-accent); }
.aw-card__from { margin: 4px 0 0; font-size: 16px; color: var(--aw-grey); }
.aw-card__from strong { font-weight: 700; color: var(--aw-ink); }
.aw-card .aw-btn { align-self: flex-start; margin-top: auto; }
.aw-card .aw-check { margin-bottom: 24px; }
.aw-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.aw-saving { display: inline-block; align-self: flex-start; margin: 2px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aw-white); background: var(--aw-accent); padding: 4px 10px; border-radius: 2px; }
.aw-saving--na { background: var(--aw-panel); color: var(--aw-grey); }
.aw-badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #fbf0dd; color: #8a5200; white-space: nowrap; }
.aw-from strong { font-weight: 700; color: var(--aw-ink); }

/* Check list */
.aw-check { list-style: none; padding: 0; margin: 0 0 1em; }
.aw-check li { position: relative; padding-inline-start: 30px; margin-bottom: 9px; }
.aw-check li::before {
	content: ""; position: absolute; inset-inline-start: 2px; top: .42em; width: 14px; height: 8px;
	border-left: 2.5px solid var(--aw-accent); border-bottom: 2.5px solid var(--aw-accent); transform: rotate(-45deg);
}
.aw-section--dark .aw-check li::before { border-color: var(--aw-accent-bright); }

/* Split + steps */
.aw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .aw-split { grid-template-columns: 1fr; gap: 36px; } }
.aw-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--aw-line-2); }
.aw-steps li { counter-increment: step; position: relative; padding: 18px 0 18px 58px; border-bottom: 1px solid var(--aw-line-2); }
.aw-steps li::before {
	content: counter(step); position: absolute; inset-inline-start: 0; top: 17px; width: 36px; height: 36px; border-radius: 50%;
	background: var(--aw-accent); color: var(--aw-white); display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.aw-steps strong { color: var(--aw-ink); font-weight: 700; }
.aw-steps span { display: block; font-size: 16.5px; color: var(--aw-grey); }

/* CTA band: accent */
.aw-cta { background: var(--aw-accent); color: var(--aw-white); padding: 64px 0; }
.aw-cta h2 { color: var(--aw-white); font-weight: 900; }
.aw-cta p { font-weight: 400; margin: 0; }
.aw-cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.aw-cta__in > div:first-child { max-width: 680px; }
.aw-cta .aw-actions { margin-top: 0; }

/* Footer: white, quiet */
.aw-footer { background: var(--aw-white); color: var(--aw-text); padding: 72px 0 32px; font-size: 16px; border-top: 1px solid var(--aw-line); }
.aw-footer a { color: var(--aw-ink); text-decoration: none; }
.aw-footer a:hover { color: var(--aw-accent); text-decoration: underline; }
.aw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.aw-footer__grid ul { list-style: none; padding: 0; margin: 0; }
.aw-footer__grid li { margin-bottom: 10px; }
.aw-footer__grid li span { display: block; font-size: 14px; color: var(--aw-muted); }
.aw-footer__h { color: var(--aw-ink); font-size: 16px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.aw-footer .aw-logo { margin-bottom: 18px; }
.aw-footer__tag { color: var(--aw-ink); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.aw-footer__brand p:not(.aw-footer__tag) { color: var(--aw-grey); }
.aw-footer__langs { display: flex; align-items: center; gap: 8px; }
.aw-footer__langs .aw-icon { color: var(--aw-accent); }
.aw-footer__legal { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--aw-line); font-size: 14px; line-height: 1.55; color: var(--aw-muted); }
.aw-footer__legal p { margin-bottom: 8px; }
.aw-footer__legal a { text-decoration: underline; }
@media (max-width: 900px) { .aw-footer__grid { grid-template-columns: 1fr 1fr; } .aw-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .aw-footer__grid { grid-template-columns: 1fr; } }

.aw-main { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
