/*
Theme Name: Brainshop 2026
Theme URI: https://www.brainshop.co.il/
Author: Brainshop
Description: Custom theme for brainshop.co.il: homepage, service pages, articles and lead form, with SEO built in. Replaces Astra + Elementor; keeps every existing URL.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: brainshop-2026
*/

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Secular One"; src: url(assets/fonts/secular-hebrew.woff2) format("woff2"); font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Secular One"; src: url(assets/fonts/secular-latin.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Assistant"; src: url(assets/fonts/assistant-hebrew.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; src: url(assets/fonts/assistant-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

/* --------------------------------------------------------------- tokens */
:root {
	--paper: #F4F6FA;
	--white: #FFFFFF;
	--ink: #161A2E;
	--ink-2: #222844;
	--muted: #535B72;
	--line: #DCE2EC;
	--blue: #1863DC;
	--blue-dark: #1150B8;
	--wa: #13853F;          /* WhatsApp action: dark enough for white text (4.6:1) */
	--wa-dark: #0E6E33;

	--display: "Secular One", "Assistant", system-ui, sans-serif;
	--body: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 112px);
	--head-h: 72px;
}

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li, dd, figcaption { text-wrap: pretty; }
.prose p, .prose li { text-wrap: wrap; } /* long article text: default wrapping is fine and cheaper */
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { max-width: calc(760px + 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; }

/* -------------------------------------------------------------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 10px 22px;
	border: 2px solid transparent; border-radius: 12px;
	font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, scale .15s ease-out;
}
.btn:active:not(:disabled) { scale: .96; }
/* Optical: the icon side (inline-start in RTL) gets 2px less than the text side. */
.btn:has(> .icon:first-child) { padding-inline-start: 20px; }
.btn-lg:has(> .icon:first-child) { padding-inline-start: 26px; }
.btn-lg { min-height: 56px; padding: 12px 28px; font-size: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-wa .icon { width: 22px; height: 22px; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 700; color: var(--ink); }

/* --------------------------------------------------------------- header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 26px; letter-spacing: -.01em; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.main-nav > ul > li > a:hover, .main-nav > ul > li:focus-within > a { background: var(--paper); }
.has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub {
	position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px;
	list-style: none; padding: 8px; background: #fff;
	border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(22, 26, 46, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease-out, transform .15s ease-out, visibility .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.sub a:hover { background: var(--paper); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.header-cta { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.menu-toggle { display: none; margin-inline-start: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 26px; height: 26px; }
/* Both icons stay in the DOM, stacked, and cross-fade (scale .25 to 1, blur 4px to 0). */
.menu-toggle > span { grid-area: 1 / 1; display: grid; transition: opacity .3s, scale .3s, filter .3s; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { opacity: 0; scale: .25; filter: blur(4px); }
.menu-toggle[aria-expanded="true"] .i-close { opacity: 1; scale: 1; filter: none; }

/* ---------------------------------------------------------------- glyph */
.glyph {
	--size: 40px;
	display: inline-grid; place-items: center; flex: none;
	width: var(--size); height: var(--size); border-radius: 11px;
	background: var(--c); color: #fff;
	font-family: var(--display); font-size: calc(var(--size) * .55); line-height: 1;
}
.glyph .icon { width: 58%; height: 58%; }
.glyph.sm { --size: 28px; border-radius: 8px; }
.glyph.lg { --size: 56px; border-radius: 14px; }
.glyph.xl { --size: 168px; border-radius: 40px; }

/* ----------------------------------------------------------------- hero */
.hero { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -.02em; }
.hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: flex; align-items: baseline; gap: 10px; }
.facts dt { font-family: var(--display); font-size: 30px; line-height: 1; }
.facts dd { margin: 0; color: var(--muted); font-size: 16px; }

/* The lead feed: the one moving thing on the site. */
.feed {
	margin: 0; padding: 18px; border-radius: 30px; /* concentric: item 12 + padding 18 */
	background: var(--ink); color: #fff;
	box-shadow: 0 40px 80px -40px rgba(22, 26, 46, .55);
	transform: rotate(-1.5deg);
}
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 14px; }
.feed-title { font-family: var(--display); font-size: 22px; }
.feed-count { font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #1FAF5A; color: #06240F; }
.feed-list { list-style: none; display: grid; gap: 10px; }
.feed-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink); }
.feed-body { display: grid; min-width: 0; }
.feed-from { font-weight: 800; font-size: 15px; }
.feed-msg { font-size: 15px; line-height: 1.4; color: var(--muted); }
.feed-time { margin-inline-start: auto; align-self: start; font-size: 13px; color: var(--muted); white-space: nowrap; }
.feed figcaption { padding: 14px 8px 2px; font-size: 14px; color: #B9BFD3; }

@media (prefers-reduced-motion: no-preference) {
	.feed-item { animation: feed-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.35s + var(--i) * .22s); }
	@keyframes feed-in { from { opacity: 0; transform: translateY(-14px) scale(.97); filter: blur(4px); } }
}

/* ------------------------------------------------------------- sections */
.section { padding-block: var(--section); }
.section-tight { padding-top: 24px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; max-width: none; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.015em; }
.section-text { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 40em; }
.sub-title { margin: 48px 0 16px; font-size: 22px; }

/* Channels: one row per service, like items on a shelf. */
.channels { list-style: none; border-top: 2px solid var(--ink); }
.channel a {
	display: grid; grid-template-columns: 56px minmax(180px, 280px) 1fr 40px; align-items: center; gap: 24px;
	padding: 22px 12px; border-bottom: 1px solid var(--line);
	color: var(--ink); text-decoration: none;
	transition: background-color .15s;
}
@media (hover: hover) {
	.channel a:hover { background: color-mix(in srgb, var(--c) 7%, #fff); }
}
.channel-name { font-size: 24px; font-weight: 800; }
.channel-promise { color: var(--muted); font-size: 18px; }
.channel-go { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); transition: border-color .15s, background-color .15s, color .15s; }
@media (hover: hover) {
	.channel a:hover .channel-go { background: var(--ink); border-color: var(--ink); color: #fff; }
}

/* Steps: a real sequence, so it is numbered. */
.steps-section { padding-block: var(--section); background: #fff; border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; inset-inline: 28px 28px; height: 2px; background: repeating-linear-gradient(to left, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; }
.step-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font-family: var(--display); font-size: 24px; }
.step h3 { margin-top: 20px; font-size: 21px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); font-size: 17px; }

/* Why: dark band. */
.why { padding-block: var(--section); background: var(--ink); color: #fff; }
.why .section-title { max-width: 16em; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin-top: 40px; }
.why-item { padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.why-item h3 { font-size: 23px; font-weight: 800; }
.why-item p { margin-top: 10px; color: #C3C8D8; max-width: 32em; }

/* Tech: IT + project management, two full cards. */
.tech { background: var(--paper); }
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tech-card {
	display: flex; flex-direction: column;
	padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff;
	/* Elevation by layered shadow, not a border ring; the colour bar is an inset shadow so it follows the radius. */
	box-shadow: inset 0 6px 0 var(--c), 0 0 0 1px rgba(22, 26, 46, .06), 0 1px 2px -1px rgba(22, 26, 46, .06), 0 12px 32px -16px rgba(22, 26, 46, .18);
}
.tech-card-head { display: flex; align-items: center; gap: 16px; }
.tech-card-title { font-size: clamp(22px, 2.2vw, 27px); font-weight: 800; line-height: 1.25; }
.tech-card-text { margin-top: 16px; color: var(--muted); font-size: 18px; }
.tech-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.tech-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.tech-list .tick { width: 26px; height: 26px; }
.tech-list .tick .icon { width: 15px; height: 15px; }
.tech-chips-title { margin-top: 28px; margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--muted); }
.tech-card-btn { align-self: flex-start; margin-top: auto; }
.tech-chips-title + .chips { margin-bottom: 28px; }
.btn:has(> .icon:last-child) { padding-inline-end: 18px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.chips-light li { background: var(--paper); }
.chips-sm { gap: 8px; }
.chips-sm li { padding: 6px 14px; font-size: 15px; background: var(--paper); }

.hub-group-title { margin: 8px 0 20px; font-size: clamp(26px, 3vw, 34px); }
.hub-group-title ~ .hub-group-title { margin-top: 64px; }

/* Articles */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 3px solid var(--ink); }
.post-card-title { font-size: 22px; font-weight: 800; line-height: 1.3; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-card p { color: var(--muted); font-size: 17px; }
.post-card-meta { margin-top: auto; font-size: 15px; color: var(--muted); }
.pagination { display: flex; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; }

/* -------------------------------------------------------------- contact */
.contact { padding-block: var(--section); background: var(--blue); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.015em; }
.contact-text { margin-top: 16px; font-size: 19px; color: #E1EAFB; }
.contact-lines { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
.line { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background-color .15s; }
.line:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.line .icon { width: 26px; height: 26px; }
.line span { display: grid; }
.line strong { font-size: 19px; }
.line small { font-size: 15px; color: #D3DFF8; }
.line-wa { background: #fff; color: var(--ink); }
.line-wa:hover { background: #EAF7EF; color: var(--ink); }
.line-wa .icon { color: var(--wa); }
.line-wa small { color: var(--muted); }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: #fff; color: var(--ink); }
.form-title { grid-column: 1 / -1; font-size: 22px; font-weight: 800; }
.field { display: grid; gap: 6px; }
.field-wide, .lead-form .btn, .form-status { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 16px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid #B9C2D3; border-radius: 12px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 99, 220, .2); }
.field [aria-invalid="true"] { border-color: #C62828; }
.form-status { min-height: 1.4em; font-weight: 700; }
.form-status.is-ok { color: var(--wa); }
.form-status.is-error { color: #C62828; }
/* Honeypot: hidden in place. An off-screen offset would widen the page in RTL. */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ----------------------------------------------------------- page hero */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.page-hero-plain { padding-bottom: clamp(28px, 4vw, 48px); }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -.015em; max-width: 18em; }
.page-lead { margin-top: 18px; max-width: 38em; font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }

.service-hero { border-top: 6px solid var(--c); }
.service-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.service-hero .glyph.xl { transform: rotate(-6deg); box-shadow: 0 30px 60px -30px var(--c); }

.includes { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 56px; margin-top: 36px; }
.includes li { display: flex; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.tick { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); }
.tick .icon { width: 18px; height: 18px; }
.includes h3 { font-size: 20px; font-weight: 800; }
.includes p { margin-top: 4px; color: var(--muted); font-size: 17px; }

.other-services { background: #fff; }
.mini-channels { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mini-channels a { display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; padding-inline: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
.mini-channels a:hover { border-color: var(--ink); }

/* --------------------------------------------------------------- prose */
.prose { padding-block: 40px var(--section); font-size: 19px; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 28px; font-weight: 800; line-height: 1.3; }
.prose h3 { margin-top: 1.6em; font-size: 22px; font-weight: 800; }
.prose p, .prose li { color: #2B3148; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { font-weight: 600; }
.prose .updated { font-size: 15px; color: var(--muted); }
.prose .bsp-article-body, .prose .bs-legal { all: unset; display: block; }
.prose .bsp-article-body > * + *, .prose .bs-legal > * + * { margin-top: 1.1em; }
.prose .bsp-tip-box, .prose .contact-box { padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-inline-start: 5px solid var(--blue); }
.prose .bsp-cta-article { padding: 32px; border-radius: 20px; background: var(--ink); color: #fff; }
.prose .bsp-cta-article h3 { margin: 0; color: #fff; }
.prose .bsp-cta-article p { margin-top: 8px; color: #C3C8D8; }
.prose .bsp-cta-article a { display: inline-flex; margin-top: 20px; padding: 12px 24px; border-radius: 12px; background: var(--wa); color: #fff; text-decoration: none; }
.prose .badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.article-image { margin-top: 32px; }
.article-image img { border-radius: 18px; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #C3C8D8; padding-top: 64px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.brand-light { color: #fff; }
.brand-light img { background: #fff; border-radius: 10px; padding: 3px; }
.footer-about p { margin-top: 16px; max-width: 26em; }
.footer-title { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #C3C8D8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) {
	.nav-phone { display: none; }
	.channel a { grid-template-columns: 56px 1fr 40px; }
	.channel-promise { grid-column: 2; grid-row: 2; margin-top: -16px; }
	.channel-go { grid-row: 1 / span 2; grid-column: 3; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.menu-toggle { display: inline-grid; place-items: center; }
	.header-cta { margin-inline-start: auto; }
	.menu-toggle { margin-inline-start: 0; }
	.main-nav {
		position: fixed; inset: var(--head-h) 0 0 0; z-index: 40;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto;
		visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
	}
	.main-nav.is-open { visibility: visible; opacity: 1; }
	.main-nav > ul { flex-direction: column; gap: 0; }
	.main-nav > ul > li > a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.has-sub > a::after { display: none; }
	.sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 8px 0; min-width: 0; }
	.nav-phone { display: inline-flex; margin-top: 20px; font-size: 20px; }
	body.menu-open { overflow: hidden; }
	/* Touch: footer links were ~26px tall. Give each a 44px row. */
	.footer-links, .footer-contact { gap: 0; }
	.footer-links a, .footer-contact a { display: flex; align-items: center; min-height: 44px; }

	.hero-grid, .tech-grid, .contact-grid { grid-template-columns: 1fr; }
	.feed { transform: none; max-width: 520px; }
	.steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.steps::before { display: none; }
	.why-grid, .includes { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; gap: 32px; }
	.service-hero-grid { grid-template-columns: 1fr; }
	.service-hero .glyph.xl { display: none; }
}

@media (max-width: 560px) {
	body { font-size: 17px; }
	.header-cta span { display: none; }
	.header-cta { width: 48px; padding: 0; }
	.brand-name { font-size: 22px; }
	.brand img { width: 38px; height: 38px; }
	.hero-actions .btn { width: 100%; }
	.facts { gap: 12px 24px; }
	.channel a { gap: 14px; padding: 18px 4px; grid-template-columns: 44px 1fr 32px; }
	.channel .glyph.lg { --size: 44px; border-radius: 12px; }
	.channel-name { font-size: 20px; }
	.channel-promise { font-size: 16px; margin-top: -10px; }
	.channel-go { width: 32px; height: 32px; }
	.steps { grid-template-columns: 1fr; }
	.lead-form { grid-template-columns: 1fr; }
	.tech-list { grid-template-columns: 1fr; }
	.tech-card-btn { align-self: stretch; }
	.footer-grid { grid-template-columns: 1fr; }
	.feed-item { padding: 10px 12px; gap: 12px; }
	.feed-time { display: none; }
}

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