/*
Theme Name: Rankify
Description: Dark product theme for the Rankify keyword research tool and its SEO blog.
Author: Rankify
Version: 2.4.0
Requires PHP: 8.0
Text Domain: rankify
*/

:root {
	--night: #13111a;
	--panel: #1d1a27;
	--edge: #302c3f;
	--mute: #b7b4c7;
	--dim: #88849c;
	--ink: #fff;
	--violet: #6e4fe9;
	--pink: #ff4895;
	--rim: linear-gradient(90deg, #6f86ff, #b372ce 49%, #ff7586);
	--glow: linear-gradient(270deg, #4f56ff, #ff4980);
	--bg: var(--night);
	--card: var(--panel);
	--line: var(--edge);
	--text: var(--mute);
	--head: var(--ink);
	--link: #8fa0ff;
	--r: 22px;
	--wrap: 1200px;
	--f-head: "Urbanist", system-ui, sans-serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--head); font-family: var(--f-head); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.screen-reader-text, .hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--night); border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid #8fa0ff; outline-offset: 3px; }

/* Buttons: gradient rim around a dark pill, soft grey pill, white / outline on the CTA band */
.btn { --fill: var(--night); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 34px; border: 2px solid transparent; border-radius: 999px;
	background: linear-gradient(var(--fill), var(--fill)) padding-box, var(--rim) border-box; color: var(--ink); font: 700 16px/1.2 var(--f-head); letter-spacing: .01em; cursor: pointer; transition: transform .25s; }
.btn:hover { transform: scale(1.03); }
.btn-sm { padding: 11px 22px; font-size: 15px; }
.btn-soft { background: var(--edge); border-color: var(--edge); }
.btn-soft:hover { background: var(--panel); }
.btn-white { background: #fff; border-color: #fff; color: var(--night); }
.btn-outline { background: transparent; border-color: #fff; }

/* Header */
.topline { margin: 0; padding: 8px 16px; text-align: center; font-size: 14px; background: var(--panel); color: var(--mute); }
.topline a { color: #fff; text-decoration: underline; }
.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.masthead.is-stuck { border-color: var(--line); }
.masthead-in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); font: 800 25px/1 var(--f-head); letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--head); font-weight: 500; transition: color .2s; }
.nav a:hover, .nav .current-menu-item:not(.menu-item-type-custom) > a { color: #8fa0ff; }
.masthead-act { display: flex; align-items: center; gap: 18px; }
.masthead-link { color: var(--head); font-weight: 500; }
.ico { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--head); cursor: pointer; }
.ico:hover { background: color-mix(in srgb, var(--head) 8%, transparent); }
.nav-toggle, .i-close { display: none; }

.finder { width: min(100% - 32px, 620px); margin: 12vh auto auto; padding: 12px; border: 1px solid var(--edge); border-radius: 20px; background: var(--panel); color: var(--ink); }
.finder[open] { display: flex; gap: 8px; }
.finder::backdrop { background: rgb(10 9 14 / .7); }
.finder .find { flex: 1; }

.find { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.find input { flex: 1; min-width: 0; padding: 12px 18px; border: 0; background: transparent; outline: 0; }
.find button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--head); cursor: pointer; }

/* Product sections (page content inside .rk-land) */
.rk-land { overflow-x: clip; }
.rk-hero { position: relative; width: min(100% - 32px, 1060px); margin: 0 auto; padding: 72px 0 40px; text-align: center; }
.rk-hero::before { content: ""; position: absolute; z-index: -1; inset: -84px -40% -420px; background: radial-gradient(circle 340px at 20% 42%, rgb(210 32 255 / .2), transparent 100%), radial-gradient(circle 340px at 82% 52%, rgb(45 66 255 / .22), transparent 100%); pointer-events: none; }
.rk-hero h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(40px, 6.4vw, 78px); line-height: 1.08; }
.rk-hero-sm { padding-bottom: 8px; }
.rk-hero-sm h1 { font-size: clamp(38px, 5vw, 60px); }
.rk-grad { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rk-lead { max-width: 640px; margin: 0 auto 36px; color: var(--ink); font-size: 19px; }
.rk-pill { margin: 0 0 28px; }
.rk-pill a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 1px solid var(--edge); border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 15px; }
.rk-pill span { flex: none; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--edge); font: 700 13px/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.rk-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin: 0; }
.rk-btn { display: inline-flex; padding: 18px 40px; border: 2px solid transparent; border-radius: 999px; background: linear-gradient(var(--night), var(--night)) padding-box, var(--rim) border-box; color: var(--ink); font: 700 17px/1.2 var(--f-head); transition: transform .25s; }
.rk-btn:hover { transform: scale(1.03); }
.rk-btn-soft { background: var(--edge); border-color: var(--edge); font-weight: 600; }
.rk-video { position: relative; aspect-ratio: 16 / 9; margin-top: 64px; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.rk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.rk-section { width: min(100% - 32px, var(--wrap)); margin: 0 auto; padding: 88px 0 0; text-align: center; }
.rk-sub { max-width: 560px; margin: -4px auto 44px; }
.rk-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 48px; padding: 0; list-style: none; }
.rk-features li { padding: 40px 32px; border: 1px solid #ffffff0d; border-radius: var(--r); background: var(--panel); counter-increment: feat; }
.rk-features li::before { content: counter(feat, decimal-leading-zero); display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--edge); color: var(--ink); font: 700 16px/1 var(--f-head); }
.rk-features h3 { margin-bottom: 8px; font-size: 21px; }
.rk-features p { margin: 0; font-size: 16px; }
.rk-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; text-align: left; }
.rk-split .rk-sub { margin: 0 0 32px; }
.rk-split h3 { margin: 24px 0 6px; padding-left: 18px; border-left: 3px solid var(--pink); font-size: 20px; }
.rk-split figure { margin: 0; padding: 10px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--panel); }
.rk-split figure img { width: 100%; border-radius: 14px; }

.rk-faq { max-width: 840px; text-align: left; }
.rk-faq h2 { text-align: center; margin-bottom: 40px; }
.rk-faq h3 { margin: 0; padding: 28px 32px 8px; border: 1px solid #ffffff0d; border-bottom: 0; border-radius: var(--r) var(--r) 0 0; background: var(--panel); font-size: 20px; }
.rk-faq h3 + p { margin: 0 0 18px; padding: 0 32px 28px; border: 1px solid #ffffff0d; border-top: 0; border-radius: 0 0 var(--r) var(--r); background: var(--panel); }
.rk-faq a { color: var(--link); text-decoration: underline; }

.rk-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; text-align: left; }
.rk-plan { position: relative; display: flex; flex-direction: column; padding: 40px 34px; border: 1px solid #ffffff0d; border-radius: var(--r); background: var(--panel); }
.rk-plan-pop { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--rim) border-box; }
.rk-plan h2 { margin-bottom: 8px; font-size: 28px; }
.rk-plan ul { flex: 1; margin: 18px 0 24px; padding: 20px 0 0; border-top: 1px solid var(--edge); list-style: none; }
.rk-plan li { position: relative; padding: 5px 0 5px 30px; color: var(--ink); }
.rk-plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--rim); -webkit-mask: radial-gradient(circle, #000 0 3.5px, transparent 4px); mask: radial-gradient(circle, #000 0 3.5px, transparent 4px); }
.rk-price { margin: 0 0 20px; color: var(--ink); font: 800 48px/1 var(--f-head); }
.rk-price span { font-size: 18px; font-weight: 600; color: var(--mute); }
.rk-plan-cta { margin: 0 0 10px; }
.rk-plan-cta .rk-btn { width: 100%; justify-content: center; padding: 15px 20px; font-size: 16px; }
.rk-note { margin: 0; text-align: center; font-size: 14px; }
.rk-tag { position: absolute; top: 34px; right: 30px; margin: 0; padding: 5px 14px; border-radius: 999px; background: var(--rim); color: #fff; font: 700 13px/1.4 var(--f-head); }
.rk-table { margin-bottom: 96px; overflow-x: auto; border: 1px solid var(--edge); border-radius: var(--r); background: var(--panel); }
.rk-table table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: center; }
.rk-table th, .rk-table td { padding: 16px 20px; border-bottom: 1px solid var(--edge); }
.rk-table tbody tr:last-child > * { border-bottom: 0; }
.rk-table thead th { color: var(--ink); font: 700 18px/1.3 var(--f-head); }
.rk-table thead span { color: var(--mute); font-weight: 600; font-size: 15px; }
.rk-table tbody th { text-align: left; color: var(--ink); font-weight: 500; }
.rk-table td { color: #a99bff; font-weight: 700; }
.rk-group th { padding-top: 26px; color: var(--mute) !important; font: 700 13px/1 var(--f-head) !important; letter-spacing: .08em; text-transform: uppercase; }

.rk-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; text-align: left; }
.rk-form { padding: 40px; border: 2px solid #ffffff29; border-radius: var(--r); background: var(--night); }

/* Forms plugin (contact) */
.rkf-wpf .wpforms-field { padding: 0 0 18px !important; }
.rkf-wpf .wpforms-field-label { color: var(--ink) !important; font-weight: 600 !important; margin-bottom: 8px !important; }
.rkf-wpf input[type=text], .rkf-wpf input[type=email], .rkf-wpf input[type=tel], .rkf-wpf textarea { width: 100% !important; max-width: none !important; padding: 14px 18px !important; border: 1px solid var(--edge) !important; border-radius: 14px !important; background: var(--panel) !important; color: var(--ink) !important; font-size: 16px !important; height: auto !important; }
.rkf-wpf textarea { min-height: 150px; }
.rkf-wpf button[type=submit] { padding: 15px 36px !important; border: 2px solid transparent !important; border-radius: 999px !important; background: linear-gradient(var(--night), var(--night)) padding-box, var(--rim) border-box !important; color: #fff !important; font: 700 16px/1.2 var(--f-head) !important; height: auto !important; cursor: pointer; }
.rkf-wpf .wpforms-confirmation-container-full { border-radius: 14px; }

/* Lists: blog index, categories, author */
.list-head { padding: 64px 0 40px; text-align: center; }
.list-head h1 { margin-bottom: 12px; }
.list-head p { max-width: 560px; margin-inline: auto; }
.kicker { color: var(--pink); font: 700 14px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; }

.feature { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; margin-bottom: 88px; }
.feature-media { position: relative; grid-area: 1 / 5 / 2 / 13; display: block; aspect-ratio: 16 / 11; border-radius: 28px; overflow: hidden; background: var(--panel); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card { grid-area: 1 / 1 / 2 / 8; position: relative; padding: 52px; border-radius: 28px; background: var(--panel); box-shadow: 0 20px 60px rgb(0 0 0 / .4); text-align: center; }
.feature-card h2 { font-size: clamp(26px, 3vw, 38px); }
.feature-card .meta { justify-content: center; margin-bottom: 18px; }
.feature-card .byline { justify-content: center; margin-top: 12px; }

.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.sec-head h2 { margin: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics a { padding: 10px 20px; border-radius: 999px; background: var(--edge); color: var(--ink); font-size: 15px; transition: background .2s; }
.topics a:hover, .topics a[aria-current] { background: var(--violet); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--panel); box-shadow: 0 5px 14px rgb(0 0 0 / .1); transition: transform .3s; }
.card:hover { transform: translateY(-4px); }
.card-media { position: relative; display: block; aspect-ratio: 720 / 440; background: var(--edge); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; top: 18px; right: 18px; padding: 7px 16px; border-radius: 999px; background: var(--night); color: #fff; font: 700 14px/1.2 var(--f-head); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 30px 30px; text-align: center; }
.card-body h3 { flex: 1; margin-bottom: 14px; font-size: 21px; line-height: 1.3; }
.card-body .meta { justify-content: center; }
.more { display: inline-flex; align-self: center; align-items: center; gap: 6px; margin-top: 16px; color: var(--ink); font: 700 15px/1 var(--f-head); }
.more svg { transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--dim); font-size: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.byline { display: inline-flex; align-items: center; gap: 14px; color: var(--head); font: 700 17px/1.3 var(--f-head); }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; background: var(--edge); color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--rim); }
.empty { padding: 40px; border-radius: var(--r); background: var(--card); text-align: center; }
.empty .find { max-width: 460px; margin: 0 auto 24px; }

.person { padding: 64px 0 56px; }
.person-card { display: flex; gap: 36px; align-items: center; max-width: 820px; margin: 0 auto; padding: 44px; border: 1px solid #ffffff0f; border-radius: 28px; background: var(--panel); }
.person-card img { flex: none; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.person-card h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 14px; }
.person-card h2 { margin: 0 0 6px; font-size: 20px; }
.person-card p { margin: 0; }

/* Layout with sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; padding-bottom: 24px; }
.side { position: sticky; top: 104px; display: grid; gap: 20px; }
.side-box { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.side-box h2 { margin-bottom: 16px; font-size: 20px; }
.side-search { padding: 10px; }
.side-search .find { border: 0; }
.side-promo { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--rim) border-box; }
.side-promo img { margin-bottom: 14px; border-radius: 12px; }
.ticks { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--head); }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: none; margin-top: 4px; color: var(--pink); }
.mini-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mini-list li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.mini-media img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.mini-title { display: block; color: var(--head); font: 700 15px/1.35 var(--f-head); }
.mini-title:hover { color: var(--link); }
.mini-list time { color: var(--dim); font-size: 13px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { counter-increment: st; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font: 600 15px/1.4 var(--f-head); color: var(--head); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(st); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 13px; }
.steps a:hover { color: var(--link); }
.side-brand p { font-size: 15px; }

/* Reading pages (light) */
.read-head { max-width: 860px; padding: 56px 0 40px; text-align: center; }
.read-head .meta { justify-content: center; margin-bottom: 18px; }
.read-head h1 { font-size: clamp(34px, 4.6vw, 56px); }
.read-head .byline { margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; color: var(--dim); font-size: 14px; }
.crumbs a:hover { color: var(--head); }
.cover { max-width: 1000px; margin-bottom: 64px; }
.cover img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 28px; }

.prose { min-width: 0; color: var(--text); font-size: 18px; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.8em 0 .6em; font-size: clamp(26px, 3vw, 36px); }
.prose h3 { margin: 1.6em 0 .5em; font-size: 24px; }
.prose h4 { margin: 1.4em 0 .4em; font-size: 20px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2em 0; }
.prose figure img, .prose > p > img { border-radius: 18px; }
.prose figcaption { margin-top: 10px; color: var(--dim); font-size: 14px; text-align: center; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--pink); color: var(--head); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; }
.prose .toc { columns: 2; column-gap: 32px; padding: 24px 24px 24px 44px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 16px; }
.rk-cta { margin: 2.2em 0; padding: 40px 32px; border: 1px solid #ffffff17; border-radius: var(--r); background: var(--panel) radial-gradient(70% 140% at 100% 0, rgb(110 79 233 / .3), transparent 70%); text-align: center; }
.rk-cta-title { margin-bottom: 20px; color: #fff; font: 700 26px/1.25 var(--f-head); }
.rk-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.prose .rk-cta-actions a { padding: 12px 26px; border: 2px solid #fff; border-radius: 999px; color: #fff; font: 700 16px/1.2 var(--f-head); text-decoration: none; }
.prose .rk-cta-actions a:first-child { background: #fff; color: var(--night); }

/* Latest band, CTA band, footer */
.latest { padding: 88px 0 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: 96px; margin-bottom: 96px; padding: 72px 76px; border: 1px solid #ffffff17; border-radius: 28px; background: var(--panel) radial-gradient(60% 120% at 100% 0, rgb(110 79 233 / .28), transparent 70%); }
.cta-band-title { margin: 0; max-width: 12ch; color: #fff; font: 800 clamp(30px, 3.6vw, 44px)/1.12 var(--f-head); }
.cta-band-act { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }

.site-foot { padding: 72px 0 34px; border-top: 1px solid var(--edge); background: var(--night); color: var(--mute); --head: #fff; }
.nl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--edge); }
.nl h2 { font-size: 28px; margin-bottom: 6px; }
.nl p { margin: 0; }
.nl-form { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--edge); border-radius: 999px; background: var(--panel); }
.nl-form input[type=email] { flex: 1; min-width: 0; padding: 12px 18px; border: 0; background: transparent; color: #fff; outline: 0; }
.nl-form button { padding: 12px 26px; border: 2px solid transparent; border-radius: 999px; background: linear-gradient(var(--night), var(--night)) padding-box, var(--rim) border-box; color: #fff; font: 700 15px/1.2 var(--f-head); cursor: pointer; }
.nl-done { margin: 0; color: #fff; font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.6fr .9fr; gap: 40px; }
.foot-col h3 { margin-bottom: 18px; font-size: 18px; }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li { margin-bottom: 10px; font-size: 15px; }
.foot-col a:hover { color: #fff; }
.foot-col p { font-size: 15px; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; font: 800 24px/1 var(--f-head); }
.foot-logo img { width: 34px; height: 34px; border-radius: 9px; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--edge); color: #fff; transition: background .2s; }
.social a:hover { background: var(--violet); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--edge); font-size: 14px; }
.foot-bottom p { margin: 0; }
.foot-bottom ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.foot-bottom a:hover { color: #fff; }

/* Tablet */
@media (max-width: 1080px) {
	.layout { grid-template-columns: 1fr; }
	.side { position: static; grid-template-columns: repeat(2, 1fr); }
	.side-search { grid-column: 1 / -1; }
	.foot-grid { grid-template-columns: repeat(3, 1fr); }
	.foot-grid .widget_custom_html { grid-column: 1 / -1; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 > :nth-child(3) { display: none; }
}

@media (max-width: 900px) {
	.masthead-in { gap: 12px; min-height: 70px; }
	.nav-toggle { display: inline-grid; }
	.masthead-link { display: none; }
	.masthead-act { margin-left: auto; gap: 6px; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
	.is-open .nav { display: block; }
	.is-open .i-open { display: none; }
	.is-open .i-close { display: inline; }
	.rk-features, .rk-plans { grid-template-columns: 1fr 1fr; }
	.rk-split, .rk-contact, .nl { grid-template-columns: 1fr; }
	.feature { display: block; }
	.feature-card { margin: -80px 16px 0; padding: 36px 28px; }
	.cta-band { padding: 52px 40px; }
}

/* Phone */
@media (max-width: 640px) {
	body { font-size: 16px; }
	.btn-sm { padding: 9px 16px; font-size: 14px; }
	.brand { font-size: 22px; }
	.brand-mark { width: 32px; height: 32px; }
	.rk-hero { padding-top: 44px; }
	.rk-lead { font-size: 17px; }
	.rk-pill a { font-size: 13px; }
	.rk-btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 16px; }
	.rk-video { margin-top: 44px; }
	.rk-section { padding-top: 64px; }
	.rk-features, .rk-plans, .grid, .grid-3, .side { grid-template-columns: 1fr; }
	.grid-3 > :nth-child(3) { display: flex; }
	.rk-features li { padding: 30px 24px; }
	.rk-faq h3 { padding: 22px 22px 6px; font-size: 18px; }
	.rk-faq h3 + p { padding: 0 22px 22px; }
	.rk-form { padding: 24px 20px; }
	.feature-card { margin: -48px 8px 0; padding: 28px 20px; }
	.card-body { padding: 22px 20px 24px; }
	.sec-head { flex-direction: column; align-items: flex-start; }
	.read-head { padding-top: 36px; }
	.cover { margin-bottom: 40px; }
	.cover img { border-radius: 18px; }
	.prose { font-size: 17px; }
	.prose .toc { columns: 1; }
	.person-card { flex-direction: column; text-align: center; padding: 32px 22px; }
	.cta-band { margin-block: 64px; padding: 40px 24px; }
	.cta-band-act, .cta-band-act .btn { width: 100%; }
	.nl-form { flex-direction: column; border-radius: 20px; }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
