/* SwarmSMS site design system. Palette: navy #0C1322, honey #FBBF24, amber #F59E0B, cream #FFFBEB. */
:root {
	--ast-global-color-0: #D97706;
	--ast-global-color-1: #B45309;
	--ast-global-color-2: #0C1322;
	--ast-global-color-3: #334155;
	--ast-global-color-4: #FFFBEB;
	--ast-global-color-5: #FFFFFF;
	--ast-global-color-6: #F1F5F9;
	--ast-global-color-7: #0C1322;
	--ast-global-color-8: #0C1322;
	--sw-navy: #0C1322; --sw-navy-2: #141C2F; --sw-navy-3: #1E293B;
	--sw-honey: #FBBF24; --sw-amber: #F59E0B; --sw-deep: #B45309; --sw-cream: #FFFBEB;
	--sw-text: #334155; --sw-muted: #64748B; --sw-line: #E2E8F0;
	--sw-radius: 16px; --sw-shadow: 0 10px 30px rgba(12, 19, 34, .08);
}
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--sw-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--sw-navy); letter-spacing: -.02em; }
.sw { line-height: 1.6; }
.sw * { box-sizing: border-box; }
.sw a { text-decoration: none; }

/* layout helpers */
.sw-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sw-section { padding: 84px 0; }
.sw-section.alt { background: var(--sw-cream); }
.sw-section.dark { background: var(--sw-navy); color: #CBD5E1; }
.sw-section.dark h2, .sw-section.dark h3 { color: #fff; }
.sw-center { text-align: center; }
.sw-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--sw-deep); margin-bottom: 10px; }
.dark .sw-kicker { color: var(--sw-honey); }
.sw h2.sw-h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; }
.sw p.sw-lead { font-size: 19px; color: var(--sw-muted); max-width: 720px; margin: 0 auto 36px; }
.dark p.sw-lead { color: #94A3B8; }

/* buttons */
.sw-btn { display: inline-block; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s; border: 2px solid transparent; cursor: pointer; }
.sw-btn:hover { transform: translateY(-2px); }
.sw-btn.primary { background: var(--sw-honey); color: var(--sw-navy) !important; box-shadow: 0 8px 22px rgba(245, 158, 11, .35); }
.sw-btn.primary:hover { background: #FCD34D; }
.sw-btn.ghost { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.sw-btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.sw-btn.dark { background: var(--sw-navy); color: #fff !important; }
.sw-btn.outline { border-color: var(--sw-navy); color: var(--sw-navy) !important; }
.sw-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.sw-center .sw-btns { justify-content: center; }

/* hero */
.sw-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(251, 191, 36, .22), transparent 60%), linear-gradient(180deg, #0C1322 0%, #111B30 100%); color: #CBD5E1; padding: 96px 0 84px; overflow: hidden; }
.sw-hero .sw-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.sw-hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; font-weight: 800; margin: 0 0 20px; }
.sw-hero h1 em { font-style: normal; color: var(--sw-honey); }
.sw-hero p { font-size: 20px; max-width: 560px; }
.sw-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sw-badge { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #E2E8F0; }
.sw-phone { position: relative; max-width: 330px; margin: 0 auto; background: #0A1020; border: 8px solid #1E293B; border-radius: 38px; padding: 18px 14px 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.sw-phone .bar { width: 90px; height: 6px; border-radius: 3px; background: #1E293B; margin: 0 auto 14px; }
.sw-phone .tile { background: #141C2F; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; color: #E5E7EB; font-size: 14px; }
.sw-phone .tile b { color: #fff; }
.sw-phone .on { background: #10352E; color: #34D399; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.sw-phone .on i { width: 9px; height: 9px; border-radius: 50%; background: #34D399; display: inline-block; }
.sw-phone .msg { border-left: 4px solid var(--sw-honey); }
.sw-phone .msg small { color: #94A3B8; display: block; }
.sw-phone .chip { display: inline-block; margin-top: 6px; background: #10352E; color: #34D399; border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; }

/* grids and cards */
.sw-grid { display: grid; gap: 22px; }
.sw-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.sw-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.sw-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.sw-card { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius); padding: 28px; box-shadow: var(--sw-shadow); }
.sw-card h3 { margin: 14px 0 8px; font-size: 20px; }
.sw-card p { margin: 0; color: var(--sw-muted); }
.sw-ico { width: 48px; height: 48px; border-radius: 14px; background: #FEF3C7; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.dark .sw-card { background: var(--sw-navy-2); border-color: #1E293B; box-shadow: none; }
.dark .sw-card p { color: #94A3B8; }
.dark .sw-ico { background: #3A2E10; }
.sw-step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--sw-navy); color: var(--sw-honey); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.sw-stat { text-align: center; }
.sw-stat b { display: block; font-size: 38px; color: var(--sw-navy); letter-spacing: -.03em; }
.sw-stat span { color: var(--sw-muted); font-size: 14px; }

/* logos strip */
.sw-strip { padding: 26px 0; background: #fff; border-bottom: 1px solid var(--sw-line); }
.sw-strip .sw-wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; align-items: center; color: var(--sw-muted); font-weight: 600; font-size: 15px; }
.sw-strip .lead { color: var(--sw-navy); font-weight: 700; }

/* pricing */
.sw-price { position: relative; }
.sw-price.pro { border: 2px solid var(--sw-honey); transform: translateY(-8px); }
.sw-price .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--sw-honey); color: var(--sw-navy); font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.sw-price .amt { font-size: 52px; font-weight: 800; color: var(--sw-navy); letter-spacing: -.03em; line-height: 1; margin: 12px 0 2px; }
.sw-price .amt small { font-size: 17px; font-weight: 600; color: var(--sw-muted); }
.sw-price ul { list-style: none; margin: 22px 0 26px; padding: 0; }
.sw-price li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid #F1F5F9; font-size: 15px; }
.sw-price li:before { content: "\2713"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: #FEF3C7; color: var(--sw-deep); font-weight: 800; font-size: 12px; text-align: center; line-height: 20px; }
.sw-price li.no { color: #94A3B8; }
.sw-price li.no:before { content: "\2014"; background: #F1F5F9; color: #94A3B8; }
.sw-price .sw-btn { width: 100%; text-align: center; }
table.sw-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--sw-radius); overflow: hidden; box-shadow: var(--sw-shadow); }
.sw-table th, .sw-table td { padding: 13px 16px; border-bottom: 1px solid var(--sw-line); text-align: center; font-size: 15px; }
.sw-table td:first-child, .sw-table th:first-child { text-align: left; }
.sw-table thead th { background: var(--sw-navy); color: #fff; }
.sw-table tr:nth-child(even) td { background: #FAFAFA; }
.sw-table .y { color: var(--sw-deep); font-weight: 800; }
.sw-table .n { color: #CBD5E1; }

/* faq */
.sw-faq details { background: #fff; border: 1px solid var(--sw-line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
.sw-faq summary { cursor: pointer; font-weight: 700; color: var(--sw-navy); padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary:after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--sw-deep); }
.sw-faq details[open] summary:after { content: "\2212"; }
.sw-faq details p { margin: 0 0 16px; color: var(--sw-muted); }

/* cta + misc */
.sw-cta { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: var(--sw-navy); border-radius: 24px; padding: 56px 32px; text-align: center; }
.sw-cta h2 { color: var(--sw-navy); margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 38px); }
.sw-cta p { font-size: 18px; margin: 0 0 22px; }
.sw-note { background: #FEF3C7; border-left: 4px solid var(--sw-amber); padding: 14px 18px; border-radius: 8px; color: #78350F; font-size: 15px; }
.sw-list { list-style: none; padding: 0; margin: 16px 0; }
.sw-list li { padding: 7px 0 7px 28px; position: relative; }
.sw-list li:before { content: "\2713"; position: absolute; left: 0; color: var(--sw-deep); font-weight: 800; }
.sw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sw-code { background: #0C1322; color: #E2E8F0; border-radius: 14px; padding: 20px 22px; font: 14px/1.6 ui-monospace, Consolas, monospace; overflow-x: auto; white-space: pre; }
.sw-code .c { color: #64748B; } .sw-code .k { color: #FBBF24; }
.sw-doc { max-width: 820px; margin: 0 auto; }
.sw-doc h2 { margin-top: 44px; } .sw-doc h3 { margin-top: 28px; }
.sw-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--sw-navy); }
.sw-form input[type=text], .sw-form input[type=email], .sw-form textarea { width: 100%; border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; font-size: 16px; margin-bottom: 16px; background: #fff; }
.sw-form textarea { min-height: 150px; }
.sw-form .ok { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.sw-form .err { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }

/* Astra chrome tweaks */
.site-header { border-bottom: 1px solid var(--sw-line); }
.main-header-menu .menu-link { font-weight: 600; color: var(--sw-navy); }
.main-header-menu .menu-link:hover { color: var(--sw-deep); }
.ast-button, .button, button, input[type=submit], .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit { border-radius: 10px; font-weight: 700; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order { background: var(--sw-honey); color: var(--sw-navy); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover { background: #FCD34D; color: var(--sw-navy); }
.site-footer { background: var(--sw-navy); color: #94A3B8; }
.site-footer a { color: #CBD5E1; } .site-footer a:hover { color: var(--sw-honey); }
.ast-small-footer { background: var(--sw-navy); border-top: 1px solid #1E293B; }

@media (max-width: 900px) {
	.sw-hero .sw-wrap, .sw-split { grid-template-columns: 1fr; }
	.sw-grid.c3, .sw-grid.c4 { grid-template-columns: 1fr 1fr; }
	.sw-section { padding: 60px 0; }
	.sw-hero { padding: 64px 0 56px; }
	.sw-price.pro { transform: none; }
}
@media (max-width: 600px) {
	.sw-grid.c3, .sw-grid.c2, .sw-grid.c4 { grid-template-columns: 1fr; }
	.sw-table { font-size: 13px; } .sw-table th, .sw-table td { padding: 10px 8px; }
}

/* header call-to-action menu item */
.main-header-menu .menu-item.sw-menu-cta > a.menu-link, .ast-header-break-point .main-header-menu .menu-item.sw-menu-cta > a.menu-link { background: var(--sw-honey); color: var(--sw-navy) !important; border-radius: 10px; padding: 8px 18px !important; margin-left: 8px; line-height: 1.6 !important; font-weight: 800; }
.main-header-menu .menu-item.sw-menu-cta > a.menu-link:hover { background: #FCD34D; }
.sw-manual .wpsg-docs { display: block; max-width: none; }
.sw-manual .wpsg-docs nav { position: static; margin-bottom: 20px; }
.sw-manual .wpsg-toc { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.sw-manual .wpsg-toc a { background: #fff; border: 1px solid var(--sw-line); padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--sw-navy); }
.sw-manual .wpsg-doc { background: #fff; border: 1px solid var(--sw-line); border-radius: 14px; padding: 8px 26px 18px; margin-bottom: 18px; }
.sw-manual pre { background: #0C1322; color: #E2E8F0; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.sw-manual code { background: #F1F5F9; padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.sw-manual pre code { background: none; padding: 0; }
.sw-manual table { width: 100%; border-collapse: collapse; } .sw-manual td, .sw-manual th { border: 1px solid var(--sw-line); padding: 8px 12px; text-align: left; vertical-align: top; }
.wpsg-tip { background: #FEF3C7; border-left: 4px solid var(--sw-amber); padding: 10px 14px; border-radius: 8px; }
.sw-post .entry-content { max-width: 760px; margin: 0 auto; }
.sw-post .entry-content h2 { margin-top: 38px; } .sw-post .entry-content h3 { margin-top: 26px; }
.sw-post .entry-content p, .sw-post .entry-content li { font-size: 18px; line-height: 1.75; }
.sw-post .sw-cta { margin: 44px 0 10px; }
.sw-meta { color: var(--sw-muted); font-size: 15px; margin-bottom: 24px; }

/* fixes from visual review */
body, body.ast-separate-container, .ast-separate-container .site-content, .site-content { background-color: #fff; }
.sw-section { background: #fff; }
.sw-section.alt { background: var(--sw-cream); }
.ast-site-title-wrap { display: none !important; }
.sw a.sw-btn, .entry-content .sw a.sw-btn, .sw a.sw-btn:hover { text-decoration: none !important; }
.sw a:not(.sw-btn) { text-decoration: none; }
.sw-section.dark .sw-list li { color: #E2E8F0; }
.entry-content .sw { margin: 0; }
.ast-page-builder-template .entry-content { margin: 0; padding: 0; }
.ast-page-builder-template .site-content > .ast-container { max-width: none; padding: 0; }

/* page header band + header CTA sizing */
.sw-pagehead { background: radial-gradient(900px 300px at 80% -20%, rgba(251,191,36,.18), transparent 60%), linear-gradient(180deg, #0C1322, #111B30); color: #CBD5E1; padding: 72px 0 56px; text-align: center; }
.sw-pagehead h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; margin: 0 0 14px; font-weight: 800; }
.sw-pagehead p { max-width: 720px; margin: 0 auto; font-size: 19px; }
.sw-pagehead a { text-decoration: underline; }
.main-header-menu > .menu-item.sw-menu-cta { align-self: center; height: auto !important; }
.main-header-menu > .menu-item.sw-menu-cta > a.menu-link { height: auto !important; display: inline-block !important; line-height: 1.4 !important; padding: 10px 20px !important; }
.sw h3 { margin-top: 0; }
.sw-doc h2, .sw-doc h3 { clear: both; }
.sw-doc ul { margin: 12px 0 18px 22px; }
.sw-faq h3 { margin: 0 0 14px; }


/* ---- account item in the header menu */
.main-header-menu .sw-menu-login > a.menu-link, .main-header-menu .sw-menu-account > a.menu-link { display: inline-flex !important; align-items: center; gap: 7px; font-weight: 600; }
.sw-user-ico { flex: none; opacity: .85; }
.main-header-menu .sw-menu-account .sub-menu { min-width: 190px; border-radius: 12px; box-shadow: 0 12px 30px rgba(15, 23, 42, .14); padding: 6px 0; }
.main-header-menu .sw-menu-account .sub-menu .menu-link { padding: 10px 18px !important; font-weight: 500; }
.ast-header-break-point .main-header-menu .sw-menu-account .sub-menu { box-shadow: none; padding-left: 12px; }

/* ---- checkout on mobile: 30px of space on the left and right of the form
 * (the theme container already gives 20px, the checkout block adds its own -20px margins which are removed here) */
@media (max-width: 768px) {
	.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
	.woocommerce-checkout .entry-content .woocommerce-checkout,
	.woocommerce-checkout .entry-content form.checkout {
		margin-left: 0 !important; margin-right: 0 !important;
		padding-left: 10px !important; padding-right: 10px !important;
		width: auto !important; max-width: none !important; box-sizing: border-box;
	}
	.woocommerce-checkout .entry-title { padding-left: 10px; padding-right: 10px; }
}
