/*
Theme Name: Axis
Theme URI: https://axis.example
Author: Axis
Description: Light, minimal SaaS/dev-tool theme in the Linear/Stripe/Apple register — built for Axis, agent infrastructure for engineering teams.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: axis
*/

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--bg); }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--ff-body);
	font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

:root {
	--bg: #fbfbfd;
	--bg-2: #f4f4f8;
	--panel: #ffffff;
	--line: rgba(10, 10, 20, .08);
	--line-strong: rgba(10, 10, 20, .14);
	--ink: #0b0c14;
	--ink-dim: #55565f;
	--ink-mute: #8a8b96;
	--accent: #5b52f6;
	--accent-2: #8b6bff;
	--accent-3: #ec6cc9;
	--accent-ink: #ffffff;
	--grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
	--shadow-sm: 0 2px 10px rgba(15, 15, 35, .05);
	--shadow-md: 0 12px 32px -12px rgba(15, 15, 35, .14);
	--shadow-lg: 0 30px 60px -20px rgba(15, 15, 35, .22);
	--shadow-accent: 0 20px 44px -18px rgba(91, 82, 246, .38);
	--radius: 14px;
	--radius-sm: 8px;
	--ff-head: 'Inter Tight', 'Inter', sans-serif;
	--ff-body: 'Inter', sans-serif;
	--ff-mono: 'JetBrains Mono', ui-monospace, monospace;
	--wrap: 1180px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--ff-mono); }
::selection { background: var(--accent); color: #fff; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ============ Ambient mesh background ============ */
.mesh-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mesh-bg::before, .mesh-bg::after {
	content: ''; position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%;
	filter: blur(100px); opacity: .22;
}
.mesh-bg::before { background: radial-gradient(circle, var(--accent), transparent 62%); top: -20%; left: -14%; animation: ax-mesh-a 28s ease-in-out infinite alternate; }
.mesh-bg::after { background: radial-gradient(circle, var(--accent-3), transparent 62%); bottom: -22%; right: -12%; animation: ax-mesh-b 32s ease-in-out infinite alternate; }
@keyframes ax-mesh-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(10vw, 8vh) scale(1.2); } }
@keyframes ax-mesh-b { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-8vw, -6vh) scale(1.28); } }
@media (prefers-reduced-motion: reduce) { .mesh-bg::before, .mesh-bg::after { animation: none; } }

#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--grad); z-index: 9999; transition: width .1s linear; }

/* ============ Preloader ============ */
#pre {
	position: fixed; inset: 0; z-index: 9900; background: var(--bg);
	display: flex; align-items: center; justify-content: center; gap: 16px;
	transition: opacity .5s ease, visibility .5s ease;
}
#pre.done { opacity: 0; visibility: hidden; }
#pre .pre-mark { font-family: var(--ff-head); font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--ink-mute); }
#pre .pre-bar { width: 140px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
#pre .pre-bar span { position: absolute; inset: 0; width: 0%; background: var(--grad); }

/* ============ Header ============ */
.site-head {
	position: fixed; top: 0; left: 0; right: 0; z-index: 900;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 40px; transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-head.is-scrolled {
	padding: 14px 40px; background: rgba(251, 251, 253, .78); backdrop-filter: blur(14px) saturate(160%);
	box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.brand { font-family: var(--ff-head); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-accent); }
.brand .mark svg { width: 15px; height: 15px; }

#nav { display: flex; align-items: center; gap: 32px; }
#nav ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
#nav a { font-size: 14px; font-weight: 500; color: var(--ink-dim); transition: color .2s; }
#nav a:hover, #nav a.current { color: var(--ink); }

.head-tools { display: flex; align-items: center; gap: 14px; }
.head-tools .link-in { font-size: 14px; font-weight: 500; color: var(--ink-dim); padding: 8px 4px; }
.head-tools .link-in:hover { color: var(--ink); }
.head-cta {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
	background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
	border-radius: 100px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.head-cta:hover { transform: translateY(-1px); background: var(--accent); box-shadow: var(--shadow-accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 24px; padding: 6px 0; }
.nav-toggle span { display: block; width: 100%; height: 1.6px; background: var(--ink); border-radius: 1px; }

/* ============ Buttons ============ */
.btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
	font-size: 14.5px; font-weight: 600; border-radius: 100px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); box-shadow: var(--shadow-accent); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: var(--panel); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; width: 100%; text-align: center; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 26px; padding: 7px 16px 7px 8px;
	border: 1px solid var(--line-strong); border-radius: 100px; background: var(--panel); box-shadow: var(--shadow-sm);
}
.hero-eyebrow .pill { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 100px; background: var(--grad); color: #fff; }
.hero-eyebrow span.txt { font-size: 13px; font-weight: 500; color: var(--ink-dim); }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 18ch; margin: 0 auto 26px; }
.hero-sub { font-size: 19px; color: var(--ink-dim); max-width: 52ch; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-hint { font-size: 13px; color: var(--ink-mute); margin-bottom: 70px; }
.hero-hint code { font-family: var(--ff-mono); background: var(--bg-2); padding: 2px 8px; border-radius: 6px; color: var(--ink); }

/* ---- floating tilt mockup ---- */
.mockup-wrap { perspective: 1600px; max-width: 980px; margin: 0 auto; }
.mockup {
	position: relative; border-radius: 18px; background: var(--panel); border: 1px solid var(--line);
	box-shadow: var(--shadow-lg); transform-style: preserve-3d; transition: transform .25s ease-out;
	overflow: hidden;
}
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mockup-body { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.mockup-side { border-right: 1px solid var(--line); padding: 20px 16px; display: grid; gap: 8px; align-content: start; background: var(--bg-2); }
.mockup-side .side-item { padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--ink-dim); font-weight: 500; }
.mockup-side .side-item.active { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-sm); }
.mockup-main { padding: 26px 30px; text-align: left; }
.mockup-main .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mockup-main .m-title { font-family: var(--ff-head); font-weight: 700; font-size: 18px; }
.mockup-main .m-tag { font-family: var(--ff-mono); font-size: 11px; padding: 4px 10px; border-radius: 100px; background: rgba(91,82,246,.1); color: var(--accent); }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.mockup-stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mockup-stat b { display: block; font-family: var(--ff-head); font-size: 24px; }
.mockup-stat span { font-size: 12px; color: var(--ink-mute); }
.mockup-lines { display: grid; gap: 10px; }
.mockup-lines .ml { height: 34px; border-radius: 8px; background: var(--bg-2); position: relative; overflow: hidden; }
.mockup-lines .ml::after { content: ''; position: absolute; inset: 0; width: var(--w, 60%); background: linear-gradient(90deg, rgba(91,82,246,.16), rgba(139,107,255,.08)); border-radius: 8px; }

/* ============ Trust ticker ============ */
.trust { padding: 60px 0 20px; }
.trust-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 30px; }
.ticker { overflow: hidden; position: relative; z-index: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-row { display: flex; white-space: nowrap; width: max-content; padding: 6px 0; animation: ticker 30s linear infinite; align-items: center; }
.ticker-row span { font-family: var(--ff-head); font-weight: 700; font-size: 21px; color: var(--ink-mute); opacity: .55; padding: 0 40px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Section shell ============ */
.section { position: relative; z-index: 1; padding: 130px 0; }
.section-tight { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head .idx { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-head .idx::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--ink-dim); font-size: 16.5px; margin: 0; }
.section-head.left { text-align: left; margin: 0 0 56px; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ============ Feature grid ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
	position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 28px; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.feature-card .f-icon {
	width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
	background: var(--grad); box-shadow: var(--shadow-accent);
}
.feature-card .f-icon svg { width: 22px; height: 22px; color: #fff; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-dim); margin: 0; }

/* ============ Stats band ============ */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 54px 30px; text-align: center; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: none; }
.stat-cell strong { display: block; font-family: var(--ff-head); font-size: 44px; }
.stat-cell strong .unit { font-size: 22px; color: var(--accent); }
.stat-cell span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-mute); }

/* ============ Code showcase ============ */
.code-window {
	background: #0b0c14; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255,255,255,.06);
}
.code-window .cw-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.code-window .cw-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.code-window .cw-bar .cw-name { margin-left: 10px; font-family: var(--ff-mono); font-size: 12px; color: rgba(255,255,255,.4); }
.code-window pre { margin: 0; padding: 26px 28px; overflow-x: auto; }
.code-window code { font-family: var(--ff-mono); font-size: 13.5px; line-height: 1.85; color: #cfd2e6; }
.code-window .tok-kw { color: #ec6cc9; }
.code-window .tok-fn { color: #8b9dff; }
.code-window .tok-str { color: #7ee6c0; }
.code-window .tok-com { color: rgba(255,255,255,.32); }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.is-popular { border-color: var(--accent); box-shadow: var(--shadow-accent); position: relative; }
.price-card.is-popular::before {
	content: 'Most popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 100px;
}
.price-card h3 { font-size: 18px; margin-bottom: 6px; }
.price-card .p-desc { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 22px; }
.price-card .p-amount { font-family: var(--ff-head); font-size: 42px; margin-bottom: 4px; }
.price-card .p-amount span { font-size: 15px; color: var(--ink-mute); font-family: var(--ff-body); font-weight: 500; }
.price-card .p-period { font-size: 13px; color: var(--ink-mute); margin-bottom: 26px; }
.price-card ul { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-dim); }
.price-card li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ============ Testimonials ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.testi-card .t-quote { font-size: 15.5px; color: var(--ink); line-height: 1.65; }
.testi-card .t-quote::before { content: '\201C'; color: var(--accent); font-family: var(--ff-head); font-size: 28px; line-height: 0; display: inline-block; margin-right: 2px; vertical-align: -6px; }
.testi-card .t-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card .t-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.testi-card .t-name { font-size: 14px; font-weight: 600; }
.testi-card .t-role { font-size: 12.5px; color: var(--ink-mute); }

/* ============ Blog / insights grid ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: transform .35s ease, box-shadow .35s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .nc-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .nc-media img { transform: scale(1.06); }
.news-card .nc-body { padding: 22px; }
.news-card .nc-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.news-card h3 { font-size: 17px; margin: 10px 0 8px; line-height: 1.35; }
.news-card .nc-date { font-size: 12.5px; color: var(--ink-mute); }

/* ============ CTA band ============ */
.cta-band {
	position: relative; overflow: hidden; text-align: center; padding: 110px 0;
	border-radius: 28px; margin: 0 32px; background: var(--ink); color: #fff;
}
.cta-band::before {
	content: ''; position: absolute; inset: 0; opacity: .5;
	background: radial-gradient(60% 80% at 30% 0%, rgba(91,82,246,.55), transparent 60%),
		radial-gradient(50% 70% at 90% 100%, rgba(236,108,201,.4), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(28px, 4vw, 48px); max-width: 20ch; margin: 0 auto 20px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 50ch; margin: 0 auto 34px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--grad); color: #fff; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.24); color: #fff; background: transparent; }
.cta-band .btn-ghost:hover { border-color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ Footer ============ */
.site-foot { padding: 90px 0 32px; position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.foot-brand p { color: var(--ink-mute); font-size: 14px; max-width: 30ch; margin-top: 16px; }
.foot-col h5 { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 14px; color: var(--ink-dim); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 16px; }
.foot-bottom span { font-size: 13px; color: var(--ink-mute); }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; color: var(--ink-dim); }
.foot-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(91,82,246,.06); }
.foot-social svg { width: 15px; height: 15px; }

/* ============ Inner pages ============ */
.page-hero { padding: 165px 0 64px; position: relative; z-index: 1; text-align: center; }
.page-hero .kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.page-hero .kick::before { content: ''; width: 20px; height: 2px; background: var(--grad); border-radius: 2px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 16px auto 0; max-width: 20ch; }
.page-hero .ph-meta { display: flex; gap: 18px; justify-content: center; margin-top: 20px; font-size: 13px; color: var(--ink-mute); }

.entry { max-width: 720px; margin: 0 auto; font-size: 17px; color: var(--ink-dim); }
.entry h2 { color: var(--ink); font-size: 27px; margin: 46px 0 16px; }
.entry h3 { color: var(--ink); font-size: 20px; margin: 34px 0 12px; }
.entry p { margin-bottom: 18px; }
.entry ul, .entry ol { margin: 0 0 18px; padding-left: 22px; }
.entry li { margin-bottom: 8px; }
.entry a { color: var(--accent); border-bottom: 1px solid rgba(91,82,246,.3); }
.entry blockquote { border-left: 2px solid var(--accent); padding-left: 22px; margin: 30px 0; font-size: 18px; color: var(--ink); font-family: var(--ff-head); }
.entry img { border-radius: var(--radius); margin: 30px 0; border: 1px solid var(--line); }

.related-strip { max-width: 720px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; }
.related-strip a { font-size: 14px; color: var(--ink-dim); display: flex; flex-direction: column; gap: 6px; max-width: 300px; }
.related-strip a:last-child { text-align: right; align-items: flex-end; }
.related-strip .dir { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }

.archive-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; }
.archive-row { background: var(--panel); padding: 24px 26px; display: flex; align-items: center; gap: 22px; transition: background .2s; }
.archive-row:hover { background: var(--bg-2); }
.archive-row .ar-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); width: 130px; flex: none; }
.archive-row h3 { font-size: 16.5px; flex: 1; font-family: var(--ff-head); }
.archive-row .ar-date { font-size: 12.5px; color: var(--ink-mute); flex: none; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 54px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-dim); }
.pagination .current { border-color: var(--accent); color: var(--accent); }

/* ============ Contact form ============ */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-info h3 { font-size: 21px; margin-bottom: 16px; }
.contact-info ul { display: grid; gap: 18px; margin-top: 26px; }
.contact-info li { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-info .ci-label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 6px; }
.contact-info .ci-val { font-size: 15.5px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12.5px; font-weight: 600; color: var(--ink-dim); }
.form-field input, .form-field select, .form-field textarea {
	background: var(--panel); border: 1px solid var(--line-strong); color: var(--ink);
	padding: 13px 15px; border-radius: 10px; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,82,246,.14); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
	.contact-grid { grid-template-columns: 1fr; gap: 40px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat-cell:nth-child(2) { border-right: none; }
	.feature-grid, .pricing-grid, .testi-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
	.mockup-body { grid-template-columns: 1fr; }
	.mockup-side { display: none; }
	.foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.wrap { padding: 0 20px; }
	#nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--panel); flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 40px; transition: right .35s ease; z-index: 850; box-shadow: var(--shadow-lg); }
	#nav ul { flex-direction: column; align-items: flex-start; gap: 24px; }
	#nav.open { right: 0; }
	.nav-toggle { display: flex; }
	.stats-grid, .feature-grid, .pricing-grid, .testi-grid, .news-grid { grid-template-columns: 1fr; }
	.stat-cell { border-right: none !important; border-bottom: 1px solid var(--line); }
	.form-row { grid-template-columns: 1fr; }
	.related-strip { flex-direction: column; }
	.related-strip a:last-child { text-align: left; align-items: flex-start; }
	.site-head, .site-head.is-scrolled { padding: 16px 20px; }
	.cta-band { margin: 0 16px; padding: 70px 0; }
}
