/*
Theme Name: Apex Bay
Theme URI: https://apexbayservices.com
Author: Apex Bay LLC
Description: Theme for Apex Bay Services: shop software data conversion and custom tools for shops anywhere in the US, on-site IT around Richmond, California, the Secure File Links product page and a contact form. Business details are set under Appearance > Business details.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apex-bay
*/

:root {
	--ink: #10212e;
	--ink-2: #17303f;
	--ink-line: #2a4557;
	--ground: #f3f5f7;
	--card: #ffffff;
	--line: #d9dee3;
	--text: #10212e;
	--muted: #4a5966;
	--on-dark: #f3f5f7;
	--on-dark-muted: #b8c4cf;
	--on-dark-soft: #d5dee6;
	--blue: #1f5fae;
	--sky: #7fb2f0;
	--accent: #b4471a;
	--accent-hover: #963a14;
	--display: "Archivo", "Helvetica Neue", sans-serif;
	--body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 21px; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-block; padding: 13px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; text-align: center; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: #5b7183; color: var(--on-dark); }
.btn-outline:hover { border-color: var(--on-dark); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.site-header { background: var(--ink); color: var(--on-dark); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand:hover { color: var(--on-dark); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-weight: 500; font-size: 16px; }
.main-nav a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; color: var(--on-dark); }
.main-nav .btn { padding: 10px 18px; }

.dark { background: var(--ink); color: var(--on-dark); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; padding-block: 72px 96px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.dark .eyebrow { color: var(--on-dark-muted); margin-bottom: 18px; }
.lead { margin-top: 22px; font-size: 19px; color: var(--on-dark-soft); max-width: 34em; }
.hero-contact { margin-top: 22px; font-size: 15px; color: var(--on-dark-muted); }
.hero-contact a { color: var(--on-dark); }
.panel { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 16px; padding: 28px; }
.panel .eyebrow { font-size: 12px; margin-bottom: 16px; }
.panel p { margin-top: 16px; font-size: 15px; color: var(--on-dark-soft); }
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shot img { width: 100%; max-width: 340px; border-radius: 12px; display: block; }
.shot figcaption { font-size: 14px; color: var(--on-dark-muted); }

.section { padding-block: 72px 40px; }
.section-tight { padding-block: 40px; }
.section-intro { margin-top: 12px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.card h3 { margin: 14px 0 8px; font-size: 22px; }
.card > h3:first-child { margin-top: 0; }
.card p { color: var(--muted); }
.card ul { margin: 16px 0 0; padding-left: 20px; }
.card-wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.card-wide > div { flex: 1 1 360px; }
.card-wide h3 { margin-top: 0; }
.card-wide p { max-width: 40em; }

.band { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: center; }
.band h2 { font-size: clamp(28px, 3vw, 38px); }
.band p { margin-top: 16px; color: var(--muted); }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.band-actions span { font-size: 16px; color: var(--muted); }

.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps .num { font-family: var(--mono); font-size: 14px; color: var(--blue); }
.steps h3 { margin: 6px 0 8px; }
.steps p { color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; }
.split p + p { margin-top: 16px; color: var(--muted); }
.facts { margin: 20px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 64px; }
.cta-inner h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-inner p { margin-top: 10px; color: var(--on-dark-soft); }

.security-box { background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; }
.security-box h2 { font-size: clamp(28px, 3vw, 38px); }
.security-box p { margin-top: 16px; color: var(--on-dark-soft); }
.security-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; color: #e4eaef; }
.security-box .eyebrow { color: var(--on-dark-muted); }

.price-card { display: flex; flex-direction: column; gap: 12px; }
.price-card.featured { border: 2px solid var(--ink); padding: 27px; }
.price { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--text); }
.price-card .btn { margin-top: auto; }
.fine { margin-top: 20px; font-size: 15px; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-top: 24px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 10px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; padding-block: 64px 96px; }
.contact-grid h1 { font-size: clamp(36px, 4.4vw, 52px); }
.contact-form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #a9b4be; border-radius: 8px; background: var(--card); color: var(--text); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions p { font-size: 14px; color: var(--muted); }
.notice { margin-top: 28px; border-radius: 12px; padding: 18px 22px; border: 1px solid var(--line); background: var(--card); }
.notice.error { border-color: #b32d2e; }
.notice strong { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 4px; }
.aside { display: flex; flex-direction: column; gap: 20px; }
.details { background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: 28px; }
.details h2, .aside .card h2 { font-size: 22px; margin-bottom: 16px; }
.aside .card h2 { margin-bottom: 8px; font-size: 20px; }
.details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.details dt { color: var(--on-dark-muted); }
.details dd { margin: 0; }
.details a { color: var(--on-dark); }

.prose { max-width: 760px; padding-block: 56px 88px; }
.prose h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 24px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.post-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }

.site-footer { background: #0b1822; color: var(--on-dark-muted); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-block: 32px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-inner a { color: var(--on-dark-soft); }
.footer-inner a:hover { color: #fff; }

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