/*
Theme Name: NetCom
Theme URI: https://netcommarketing.com/
Author: NetCom Marketing
Description: Lightweight direct-response theme for NetCom Marketing. Built from the approved Home B design boards.
Version: 1.6.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: netcom
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #090B10;
	--cream: #F7F4EE;
	--paper: #EFEBE2;
	--white: #FFFFFF;
	--hl: #FFE45C;
	--red: #C8102E;
	--blue: #2C4470;
	--quiet: #57534A;
	--serif: 'Newsreader', Georgia, serif;
	--sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- Base (from the design boards) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h2 { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
p:has(+ h2) { text-align: center !important; }
h2 + p { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--blue); color: var(--white); border: 1px solid var(--blue); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--hl); color: var(--ink); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--hl); }
.btn-hl, .btn-gold { background: var(--hl); color: var(--ink); border: 1px solid var(--hl); }
.btn-hl:hover, .btn-gold:hover { background: var(--white); border-color: var(--white); }
.field { border-radius: 4px; border: 1px solid var(--ink); background: var(--white); font: inherit; font-size: 16px; padding: 0 14px; color: var(--ink); width: 100%; }
select.field { padding-right: 36px; }
.field:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.hl { background: linear-gradient(transparent 52%, var(--hl) 52%, var(--hl) 92%, transparent 92%); padding: 0 2px; }
.row-link { text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--ink); }
.row-link:hover { background: var(--hl); }
.nc-mono { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; margin: 0 0 10px; }

/* ---------- Accessibility helpers ---------- */
.nc-sr, .nc-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nc-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.nc-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.nc-dark :focus-visible, .nc-band :focus-visible { outline-color: var(--hl); }

/* ---------- Header ---------- */
.nc-strip { background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 13px; text-align: center; padding: 9px 24px; }
.nc-header { border-bottom: 1px solid var(--ink); }
.nc-header__in { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.nc-header__in--min { justify-content: center; }
.nc-logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.nc-wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.nc-wordmark__name { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.5px; line-height: 1; }
.nc-wordmark__sub { font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: 3.6px; line-height: 1; padding-left: 3.6px; }
.nc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nc-nav a { text-decoration: none; }
.nc-nav a:not(.btn):hover { text-decoration: underline; }
.nc-nav__cta { padding: 10px 18px; font-size: 15px; }

/* ---------- Trade picker ---------- */
.nc-picker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 26px; }
.nc-picker__label { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; margin-right: 4px; }
.nc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.nc-chip:hover { background: var(--hl); }
.nc-chip.is-current { background: var(--ink); color: var(--white); }

/* ---------- Snapshot form ---------- */
.nc-form { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.nc-form--steps { max-width: 620px; }
.nc-step { display: flex; flex-wrap: wrap; gap: 12px; }
.nc-field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.nc-field--full { flex-basis: 100%; }
.nc-field label { font-size: 14px; font-weight: 500; }
.nc-field .field { height: 52px; }
.nc-submit { height: 56px; font: inherit; font-size: 17px; font-weight: 600; width: 100%; }
.js .nc-form--steps:not(.is-step2) .nc-step-2 { display: none; }
.nc-form-error { margin: 0; padding: 12px 14px; border: 2px solid var(--red); border-radius: 8px; color: var(--red); font-size: 15px; }
.nc-field .field[aria-invalid="true"] { border: 2px solid var(--red); }
.nc-form--page { background: var(--cream); border-radius: 12px; padding: 40px; gap: 18px; }
.nc-form--page .field { border-radius: 12px; height: 52px; }

/* ---------- Footer ---------- */
.nc-footer { border-top: 1px solid var(--ink); }
.nc-footer__in { max-width: 1160px; margin: 0 auto; padding: 36px 24px 52px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.nc-footer__brand { display: flex; gap: 14px; align-items: center; }
.nc-footer__brand > div { display: flex; flex-direction: column; gap: 2px; }
.nc-footer__name { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }
.nc-footer__line { font-family: var(--mono); font-size: 12px; }
.nc-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* ---------- Exit popup ---------- */
.nc-exit { position: fixed; inset: 0; z-index: 900; background: rgba(9, 11, 16, .55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.nc-exit[hidden] { display: none; }
.nc-exit__box { position: relative; background: var(--white); border: 1px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); max-width: 480px; width: 100%; padding: 40px 36px 28px; text-align: center; }
.nc-exit__title { font-family: var(--serif); font-size: 30px; line-height: 1.2; margin: 0 0 22px; }
.nc-exit__go { padding: 16px 28px; font-size: 17px; }
.nc-exit__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.nc-exit__no { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--quiet); text-decoration: underline; cursor: pointer; }

/* ---------- Cookie choices ---------- */
.nc-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 800; max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--ink); border-radius: 12px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); }
.nc-consent[hidden] { display: none; }
.nc-consent p { margin: 0; flex: 1 1 260px; }
.nc-consent__btns { display: flex; gap: 8px; }
.nc-consent .btn { padding: 10px 18px; font-size: 15px; }

/* ---------- Accessibility panel ---------- */
.nc-a11y-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 700; background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.nc-a11y { position: fixed; left: 16px; bottom: 60px; z-index: 700; background: var(--white); border: 1px solid var(--ink); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; width: 220px; font-size: 15px; }
.nc-a11y[hidden] { display: none; }
.nc-a11y button { text-align: left; background: var(--white); border: 1px solid var(--ink); border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; }
.nc-a11y button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
html.a11y-text { font-size: 118%; }
html.a11y-text body { font-size: 20px; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast [style*="color: #57534A"], html.a11y-contrast [style*="color: #3D3A33"], html.a11y-contrast .nc-muted { color: #000 !important; }
html.a11y-contrast [style*="background: #F7F4EE"], html.a11y-contrast [style*="background: #EFEBE2"] { background: #fff !important; }

/* ---------- Content pages (policies, posts) ---------- */
.nc-prose { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.nc-prose h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.45vw, 64px); line-height: 1.08; letter-spacing: -1px; margin: 0 0 24px; }
.nc-prose h2 { text-align: left !important; margin: 40px 0 12px !important; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.nc-prose h3 { font-size: 19px; margin: 28px 0 8px; }
.nc-prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.nc-prose th, .nc-prose td { border-top: 1px solid #D8D2C6; padding: 8px; text-align: left; vertical-align: top; }

/* ---------- Responsive fixes for the board layouts ---------- */
.nc-proof-note { display: block; }
@media (max-width: 1240px) {
	.nc-proof-note { position: static !important; width: auto !important; margin: 18px auto 0; text-align: center; transform: rotate(-2deg) !important; }
	.nc-proof-note svg { display: none !important; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.nc-header__in { padding: 12px 16px; }
	.nc-nav { gap: 10px 18px; font-size: 14px; }
	.nc-nav a:not(.btn) { display: none; }
	section > div[style*="padding"] { padding-left: 16px !important; padding-right: 16px !important; }
	section[style*="padding"] { padding-left: 16px !important; padding-right: 16px !important; }
	h2[style*="font-size: 5"], h2[style*="font-size: 6"], h2[style*="font-size: 4"] { font-size: 34px !important; }
	h3[style*="font-size: 34px"], h3[style*="font-size: 30px"] { font-size: 26px !important; }
	p[style*="font-size: 176px"] { font-size: 96px !important; }
	p[style*="font-size: 38px"] { font-size: 26px !important; }
	[style*="font-size: 120px"] { font-size: 80px !important; }
	p[style*="font-size: 128px"] { font-size: 88px !important; }
	.nc-form--page { padding: 24px; }
	.nc-a11y-toggle { left: 10px; bottom: 10px; padding: 6px 10px; font-size: 12px; opacity: .9; }
	.nc-proof-circle { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Inner pages (board styles that differ from Home) ---------- */
.nc-board a:hover { color: var(--blue); }
.nc-board .btn-gold { background: var(--blue); color: var(--white); border: 1px solid var(--blue); }
.nc-board .btn-gold:hover, .nc-board .btn-primary:hover { background: var(--hl); color: var(--ink); border-color: var(--hl); }
.nc-board .btn-outline:hover { background: var(--hl); color: var(--ink); border-color: var(--ink); }
.nc-board .row-link { border-bottom: 0; font-weight: inherit; color: var(--ink); transition: background-color .15s ease; }
.nc-board .row-link:hover { background: var(--cream); color: var(--ink); }
.nc-board .field { border-radius: 12px; }
.nc-form-note { margin: 0; font-size: 14px; color: var(--quiet); }
.nc-board--snapshot .nc-form--page { flex: 1 1 460px; }

/* ---------- WooCommerce pages and plugin overlaps ---------- */
body.woocommerce-checkout .nc-prose, body.woocommerce-cart .nc-prose, body.woocommerce-account .nc-prose { max-width: 1120px; }
.nc-a11y-toggle { left: auto; right: 16px; }
.nc-a11y { left: auto; right: 16px; }
@media (max-width: 720px) { .nc-a11y-toggle { left: auto; right: 10px; } }
.nc-picker__label strong { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
h1 > span[style*="display: block"], h2 > span[style*="display: block"] { text-wrap: balance; }
/* Headlines set as an inverted pyramid: one line per span on desktop */
@media (min-width: 900px) { h1.nc-h1-pyramid > span[style] { white-space: nowrap; text-wrap: nowrap; } }
/* Checkout: NetCom blue Place Order button, no phone */
.wc-block-components-checkout-place-order-button, #place_order { background: #2C4470 !important; color: #FFFFFF !important; border: 1px solid #2C4470 !important; border-radius: 999px !important; min-height: 56px; font-size: 17px !important; font-weight: 600 !important; transition: background-color .15s ease, color .15s ease; }
.wc-block-components-checkout-place-order-button:hover, #place_order:hover { background: #FFE45C !important; color: #090B10 !important; border-color: #090B10 !important; }
.wc-block-components-address-form__phone, #billing_phone_field { display: none !important; }
/* Audit intake on the order confirmation page */
.nc-intake { margin: 48px 0 0; padding: 40px 0 0; border-top: 1px solid var(--ink); }
.nc-intake h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.15; text-align: left !important; }
.nc-intake > p { margin: 0 0 20px; }
.nc-intake textarea.field { width: 100%; font: inherit; }
/* Policy pages: body text stays left-aligned */
.nc-prose p:has(+ h2), .nc-prose h2 + p { text-align: left !important; }
/* Phones: header stays on one line; wide policy tables scroll inside their box */
@media (max-width: 720px) {
	.nc-header__in { flex-wrap: nowrap; }
	.nc-nav__cta { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
}
.nc-prose table { display: block; max-width: 100%; overflow-x: auto; }
/* Home founder note: photo top lines up with the headline quote (desktop) */
@media (min-width: 860px) { .nc-founder-photo { margin-top: 45px; } }
/* State + city type-ahead in forms */
.nc-field--state { flex: 0 1 170px; }
.nc-field--city { position: relative; }
.nc-ac__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px 0; list-style: none; background: var(--white); color: var(--ink); border: 1px solid var(--ink); border-radius: 12px; box-shadow: 0 10px 28px rgba(9, 11, 16, .14); z-index: 60; max-height: 288px; overflow-y: auto; }
.nc-ac__list[hidden] { display: none; }
.nc-ac__list li { padding: 10px 14px; font-size: 16px; line-height: 1.3; cursor: pointer; }
.nc-ac__list li[aria-selected="true"], .nc-ac__list li:hover { background: var(--cream); }
.nc-ac__list li b { font-weight: 600; }
.nc-ac__list .nc-ac__hint { color: var(--quiet); font-size: 14px; cursor: default; }
.nc-ac__list .nc-ac__hint:hover { background: none; }
.nc-step-1 > .nc-field:first-child { flex-basis: 100%; }
@media (max-width: 600px) { .nc-field--state { flex: 1 1 100%; } }
/* Empty cart message (Cart page) */
.nc-empty-cart { text-align: center; padding: 32px 0 24px; }
.nc-prose .nc-empty-cart h2 { text-align: center !important; margin: 0 0 12px !important; font-size: 40px; line-height: 1.15; }
.nc-prose .nc-empty-cart h2 + p { text-align: center !important; }
.nc-empty-cart .btn { height: 52px; padding: 0 26px; font-size: 16px; }