/*
 * Reaktr design system
 * ---------------------------------------------------------------------------
 * 1. Tokens        6. Hero
 * 2. Reset         7. Sections & cards
 * 3. Typography    8. Table, FAQ, reviews
 * 4. Buttons       9. Footer & newsletter
 * 5. Header       10. Editorial, comments, utilities
 */

/* 1. Tokens ------------------------------------------------------------- */

:root {
	--rk-accent: #ccff4d;
	--rk-accent-rgb: 204, 255, 77;
	--rk-glow: #34e4ea;
	--rk-glow-rgb: 52, 228, 234;

	--rk-bg: #08090b;
	--rk-bg-soft: #0c0e12;
	--rk-panel: #101318;
	--rk-panel-2: #14181e;
	--rk-line: rgba(255, 255, 255, 0.09);
	--rk-line-strong: rgba(255, 255, 255, 0.16);

	--rk-text: #f4f6f8;
	--rk-muted: #99a2ae;
	--rk-dim: #6d7684;

	--rk-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rk-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--rk-wrap: 1240px;
	--rk-radius: 20px;
	--rk-radius-lg: 28px;

	/*
	 * One fluid scale drives every size on the site. Each value interpolates
	 * smoothly between a 360px phone and a 1440px desktop and then stops, so
	 * nothing jumps at a breakpoint and nothing keeps growing on a huge display.
	 */
	--rk-gutter: clamp(1.25rem, 0.5rem + 3.2vw, 3rem);

	--rk-step-0: clamp(1rem, 0.97rem + 0.13vw, 1.0625rem);
	--rk-step-1: clamp(1rem, 0.94rem + 0.28vw, 1.1875rem);
	--rk-step-2: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
	--rk-step-3: clamp(1.25rem, 1.05rem + 0.9vw, 1.875rem);
	--rk-step-4: clamp(1.75rem, 1.3rem + 2vw, 2.875rem);
	--rk-step-5: clamp(2rem, 1.45rem + 2.5vw, 3.375rem);
	--rk-step-6: clamp(2.375rem, 1.3rem + 4.8vw, 4.75rem);

	--rk-space-2xs: clamp(0.5rem, 0.47rem + 0.13vw, 0.625rem);
	--rk-space-xs: clamp(0.75rem, 0.7rem + 0.22vw, 0.9375rem);
	--rk-space-s: clamp(1rem, 0.9rem + 0.44vw, 1.375rem);
	--rk-space-m: clamp(1.5rem, 1.28rem + 0.98vw, 2.25rem);
	--rk-space-l: clamp(2rem, 1.56rem + 1.95vw, 3.5rem);
	--rk-space-xl: clamp(2.75rem, 1.87rem + 3.9vw, 5.75rem);
	--rk-space-2xl: clamp(3.5rem, 2.4rem + 4.9vw, 7rem);

	--rk-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
	--rk-shadow-lift: 0 40px 90px -50px rgba(0, 0, 0, 1);

	--rk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--rk-header-h: 72px;
}

/* 2. Reset -------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--rk-header-h) + 24px);
}

body.rk {
	margin: 0;
	background: var(--rk-bg);
	color: var(--rk-text);
	font-family: var(--rk-sans);
	font-size: var(--rk-step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

/*
 * No overflow-x:hidden on html/body. On iOS that makes the page pannable but
 * un-pinchable and hides real overflow instead of fixing it. Decorative glows
 * are clipped by their own section, and this is a belt-and-braces net: `clip`
 * (unlike `hidden`) does not create a scroll container, so sticky positioning
 * and pinch-to-zoom keep working.
 */
.rk-site {
	overflow-x: clip;
}

/* Grid and flex children default to min-width:auto, which is what lets a wide
   child (a long word, a table, an SVG) push the whole page sideways. */
.rk-grid > *,
.rk-hero__inner > *,
.rk-pdp__top > *,
.rk-faq > *,
.rk-news__inner > *,
.rk-footer__top > *,
.rk-layout > * {
	min-width: 0;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--rk-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.rk-skip {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 999;
	padding: 10px 18px;
	background: var(--rk-accent);
	color: #07080a;
	border-radius: 999px;
	font-weight: 600;
	transition: top 0.2s var(--rk-ease);
}

.rk-skip:focus {
	top: 16px;
}

.rk-wrap {
	width: 100%;
	max-width: var(--rk-wrap);
	margin-inline: auto;
	padding-inline: var(--rk-gutter);
}

.rk-icon {
	flex: none;
}

/* 3. Typography --------------------------------------------------------- */

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-weight: 450;
	letter-spacing: -0.025em;
	line-height: 1.1;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

.rk-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 7px 14px 7px 12px;
	border: 1px solid var(--rk-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--rk-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rk-eyebrow__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rk-accent);
	box-shadow: 0 0 0 4px rgba(var(--rk-accent-rgb), 0.16);
	animation: rk-pulse 2.6s var(--rk-ease) infinite;
}

@keyframes rk-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(var(--rk-accent-rgb), 0.18); }
	50% { box-shadow: 0 0 0 7px rgba(var(--rk-accent-rgb), 0.04); }
}

.rk-section-head {
	max-width: 640px;
	margin-bottom: var(--rk-space-xl);
}

.rk-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.rk-section-title {
	font-size: var(--rk-step-4);
	margin-bottom: 16px;
}

.rk-section-text {
	margin: 0;
	color: var(--rk-muted);
	font-size: var(--rk-step-1);
	line-height: 1.65;
}

.rk-section-foot {
	margin: 40px 0 0;
	text-align: center;
}

.rk-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rk-accent);
	font-weight: 500;
	border-bottom: 1px solid rgba(var(--rk-accent-rgb), 0.25);
	padding-bottom: 2px;
	transition: gap 0.2s var(--rk-ease), border-color 0.2s var(--rk-ease);
}

.rk-link:hover {
	gap: 12px;
	border-color: var(--rk-accent);
}

/* 4. Buttons ------------------------------------------------------------ */

.rk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s var(--rk-ease), background-color 0.2s var(--rk-ease),
		border-color 0.2s var(--rk-ease), box-shadow 0.25s var(--rk-ease), color 0.2s var(--rk-ease);
}

.rk-btn__icon {
	transition: transform 0.25s var(--rk-ease);
}

.rk-btn:hover .rk-btn__icon {
	transform: translateX(3px);
}

.rk-btn--primary {
	background: var(--rk-accent);
	color: #07080a;
	box-shadow: 0 10px 30px -14px rgba(var(--rk-accent-rgb), 0.7);
}

.rk-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -16px rgba(var(--rk-accent-rgb), 0.8);
}

.rk-btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--rk-line-strong);
	color: var(--rk-text);
	backdrop-filter: blur(8px);
}

.rk-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.rk-btn--line {
	padding: 9px 16px;
	font-size: 14px;
	border-color: var(--rk-line-strong);
	color: var(--rk-text);
}

.rk-btn--line:hover {
	border-color: var(--rk-accent);
	color: var(--rk-accent);
}

/* 5. Header ------------------------------------------------------------- */

.rk-bar {
	position: relative;
	z-index: 60;
	background: linear-gradient(90deg, rgba(var(--rk-glow-rgb), 0.14), rgba(var(--rk-accent-rgb), 0.12));
	border-bottom: 1px solid var(--rk-line);
	font-size: 13px;
}

.rk-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	max-width: var(--rk-wrap);
	margin-inline: auto;
	padding: 9px var(--rk-gutter);
	color: rgba(255, 255, 255, 0.82);
}

.rk-bar__icon {
	color: var(--rk-accent);
}

.rk-bar__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--rk-accent);
	font-weight: 600;
}

.rk-bar__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rk-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(8, 9, 11, 0.72);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--rk-ease), background-color 0.3s var(--rk-ease);
}

.rk-header.is-stuck {
	border-bottom-color: var(--rk-line);
	background: rgba(8, 9, 11, 0.92);
}

.rk-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: var(--rk-wrap);
	margin-inline: auto;
	padding: 14px var(--rk-gutter);
	min-height: var(--rk-header-h);
}

.rk-logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	color: var(--rk-text);
}

.rk-logo__mark {
	width: 118px;
	height: auto;
	transition: color 0.25s var(--rk-ease);
}

.rk-logo:hover .rk-logo__mark {
	color: var(--rk-accent);
}

.custom-logo {
	max-height: 40px;
	width: auto;
}

.rk-nav {
	margin-inline: auto;
}

.rk-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-nav__list > li {
	position: relative;
}

.rk-nav__link {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 999px;
	color: var(--rk-muted);
	font-size: 15px;
	font-weight: 500;
	transition: color 0.2s var(--rk-ease), background-color 0.2s var(--rk-ease);
}

.rk-nav__link:hover,
.rk-nav__list .current-menu-item > .rk-nav__link {
	color: var(--rk-text);
	background: rgba(255, 255, 255, 0.06);
}

.rk-nav__toggle {
	display: none;
}

.rk-submenu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: 16px;
	box-shadow: var(--rk-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s var(--rk-ease), transform 0.2s var(--rk-ease), visibility 0.2s;
}

.rk-nav__list > li:hover > .rk-submenu,
.rk-nav__list > li:focus-within > .rk-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rk-submenu .rk-nav__link {
	display: block;
	border-radius: 10px;
}

.rk-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rk-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--rk-line);
	color: var(--rk-muted);
	transition: color 0.2s var(--rk-ease), border-color 0.2s var(--rk-ease);
}

.rk-icon-btn:hover {
	color: var(--rk-text);
	border-color: var(--rk-line-strong);
}

.rk-icon-btn__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--rk-accent);
	color: #07080a;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.rk-burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	background: none;
	border: 1px solid var(--rk-line);
	border-radius: 12px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.rk-burger__bar {
	display: block;
	width: 17px;
	height: 1.5px;
	background: var(--rk-text);
	border-radius: 2px;
	transition: transform 0.25s var(--rk-ease), opacity 0.2s var(--rk-ease);
}

.rk-burger[aria-expanded="true"] .rk-burger__bar:first-child {
	transform: translateY(3.5px) rotate(45deg);
}

.rk-burger[aria-expanded="true"] .rk-burger__bar:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}

.rk-drawer {
	position: fixed;
	inset: 0;
	z-index: 45;
	background: rgba(4, 5, 7, 0.7);
	backdrop-filter: blur(6px);
}

.rk-drawer__panel {
	position: absolute;
	inset: 0 0 auto;
	padding: calc(var(--rk-header-h) + 32px) var(--rk-gutter) 32px;
	background: var(--rk-bg-soft);
	border-bottom: 1px solid var(--rk-line);
	animation: rk-drop 0.3s var(--rk-ease);
}

@keyframes rk-drop {
	from { transform: translateY(-16px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.rk-drawer__list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.rk-drawer__list li {
	border-bottom: 1px solid var(--rk-line);
}

.rk-drawer__list a {
	display: block;
	padding: 15px 2px;
	font-size: 19px;
	font-weight: 450;
}

.rk-drawer__list .sub-menu {
	margin: 0 0 8px 14px;
	padding: 0;
	list-style: none;
}

.rk-drawer__list .sub-menu a {
	font-size: 16px;
	color: var(--rk-muted);
}

.rk-drawer__foot .rk-btn {
	width: 100%;
}

/* 6. Hero --------------------------------------------------------------- */

.rk-hero {
	position: relative;
	overflow: hidden;
	padding-block: var(--rk-space-xl);
	border-bottom: 1px solid var(--rk-line);
}

.rk-hero__field {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.rk-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
}

.rk-hero__orb--a {
	width: 620px;
	height: 620px;
	top: -220px;
	right: -120px;
	background: radial-gradient(circle, rgba(var(--rk-glow-rgb), 0.5), transparent 68%);
	animation: rk-float 14s ease-in-out infinite;
}

.rk-hero__orb--b {
	width: 520px;
	height: 520px;
	bottom: -240px;
	left: -160px;
	background: radial-gradient(circle, rgba(var(--rk-accent-rgb), 0.34), transparent 68%);
	animation: rk-float 18s ease-in-out infinite reverse;
}

@keyframes rk-float {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(-28px, 34px, 0) scale(1.08); }
}

.rk-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}

.rk-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	grid-template-areas:
		"copy visual"
		"stats visual";
	column-gap: var(--rk-space-l);
	row-gap: 0;
	align-items: center;
}

.rk-hero__copy {
	grid-area: copy;
	container-type: inline-size;
}

.rk-hero__visual {
	grid-area: visual;
}

.rk-hero__stats {
	grid-area: stats;
}

.rk-hero__title {
	/* Fallback for browsers without container queries. */
	font-size: clamp(2.25rem, 5.3vw, 4.75rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin-bottom: 22px;
}

@supports (container-type: inline-size) {
	/*
	 * min() of a viewport term and a container term: the viewport term rules on
	 * phones (where the column is full width), the container term rules once the
	 * hero splits into two columns. Both are continuous, so the headline never
	 * jumps at a breakpoint the way a media-query override made it.
	 */
	.rk-hero__title {
		font-size: clamp(2.25rem, min(5.3vw, 13.4cqi), 4.75rem);
	}
}

.rk-hero__text {
	max-width: 52ch;
	margin-bottom: var(--rk-space-m);
	color: var(--rk-muted);
	font-size: var(--rk-step-1);
	line-height: 1.65;
}

.rk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 48px;
}

.rk-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding-top: 28px;
	border-top: 1px solid var(--rk-line);
}

.rk-stat__value {
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 500;
	letter-spacing: -0.03em;
	color: var(--rk-text);
}

.rk-stat__label {
	margin: 4px 0 0;
	color: var(--rk-dim);
	font-size: 13px;
	line-height: 1.4;
}

.rk-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
}

.rk-hero__product {
	width: min(100%, 460px);
	animation: rk-hover 7s ease-in-out infinite;
}

@keyframes rk-hover {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-14px) rotate(-1deg); }
}

.rk-hero__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	background: rgba(16, 19, 24, 0.82);
	border: 1px solid var(--rk-line-strong);
	border-radius: 999px;
	backdrop-filter: blur(10px);
	box-shadow: var(--rk-shadow);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.rk-hero__chip .rk-icon {
	color: var(--rk-accent);
}

.rk-hero__chip--out {
	top: 12%;
	left: 0;
	animation: rk-hover 6s ease-in-out infinite;
}

.rk-hero__chip--cap {
	top: 46%;
	right: 0;
	animation: rk-hover 8s ease-in-out 0.6s infinite;
}

.rk-hero__chip--air {
	bottom: 12%;
	left: 8%;
	animation: rk-hover 7.5s ease-in-out 1.2s infinite;
}

.rk-product-visual__svg,
.rk-product-visual__img {
	width: 100%;
	height: auto;
}

/* Marquee */

.rk-marquee {
	overflow: hidden;
	border-bottom: 1px solid var(--rk-line);
	background: var(--rk-bg-soft);
	padding: 14px 0;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rk-marquee__track {
	display: flex;
	width: max-content;
	animation: rk-scroll 42s linear infinite;
}

.rk-marquee__list {
	display: flex;
	align-items: center;
	gap: 44px;
	margin: 0;
	padding: 0 22px;
	list-style: none;
}

.rk-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--rk-dim);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	white-space: nowrap;
}

.rk-marquee__item .rk-icon {
	color: rgba(var(--rk-accent-rgb), 0.7);
}

@keyframes rk-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* 7. Sections & cards --------------------------------------------------- */

.rk-section {
	position: relative;
	padding-block: var(--rk-space-2xl);
}

.rk-section--tech {
	background: var(--rk-bg-soft);
	border-block: 1px solid var(--rk-line);
}

.rk-grid {
	display: grid;
	gap: var(--rk-space-s);
}

.rk-grid--cards {
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.rk-grid--features {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rk-grid--reviews {
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.rk-grid--posts {
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

/* Product card */

.rk-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, var(--rk-panel), var(--rk-bg-soft));
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius-lg);
	overflow: hidden;
	transition: transform 0.35s var(--rk-ease), border-color 0.35s var(--rk-ease), box-shadow 0.35s var(--rk-ease);
}

.rk-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(160deg, rgba(var(--rk-glow-rgb), 0.5), transparent 40%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.35s var(--rk-ease);
	pointer-events: none;
}

.rk-card:hover {
	transform: translateY(-6px);
	border-color: var(--rk-line-strong);
	box-shadow: var(--rk-shadow-lift);
}

.rk-card:hover::after {
	opacity: 1;
}

.rk-card--featured {
	border-color: rgba(var(--rk-accent-rgb), 0.28);
}

.rk-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--rk-accent);
	color: #07080a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rk-card__media {
	display: block;
	padding: 18px 18px 0;
	background:
		radial-gradient(ellipse 60% 45% at 50% 62%, rgba(var(--rk-glow-rgb), 0.12), transparent 70%);
}

.rk-card__media img {
	width: 100%;
	border-radius: 16px;
	object-fit: cover;
}

.rk-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 8px 22px 24px;
}

.rk-card__title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.rk-card__title a:hover {
	color: var(--rk-accent);
}

.rk-card__tagline {
	margin: 0 0 16px;
	color: var(--rk-muted);
	font-size: 14px;
	line-height: 1.5;
}

.rk-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.rk-card__specs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border: 1px solid var(--rk-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	color: var(--rk-muted);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}

.rk-card__specs .rk-icon {
	color: rgba(var(--rk-accent-rgb), 0.8);
}

.rk-card__rating {
	margin-bottom: 16px;
}

.rk-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--rk-line);
}

.rk-card__price {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.rk-card__note {
	display: block;
	margin-top: 2px;
	color: var(--rk-dim);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 0;
}

/* Stars */

.rk-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.rk-star {
	position: relative;
	display: inline-flex;
	color: rgba(255, 255, 255, 0.18);
}

.rk-star.is-on {
	color: var(--rk-accent);
}

.rk-star.is-on .rk-icon {
	fill: var(--rk-accent);
}

/* Left half of a half star, drawn over the dim outline. */
.rk-star__half {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	width: 50%;
	overflow: hidden;
	color: var(--rk-accent);
}

.rk-star__half .rk-icon {
	fill: var(--rk-accent);
}

.rk-stars__label {
	margin-left: 8px;
	color: var(--rk-dim);
	font-size: 12.5px;
}

/* Feature tiles */

.rk-feature {
	padding: 28px 26px;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	transition: border-color 0.3s var(--rk-ease), transform 0.3s var(--rk-ease);
}

.rk-feature:hover {
	transform: translateY(-4px);
	border-color: var(--rk-line-strong);
}

.rk-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: rgba(var(--rk-accent-rgb), 0.1);
	border: 1px solid rgba(var(--rk-accent-rgb), 0.22);
	color: var(--rk-accent);
}

.rk-feature__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 500;
}

.rk-feature__text {
	margin: 0;
	color: var(--rk-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

/* 8. Table, reviews, FAQ ------------------------------------------------ */

.rk-table-scroll {
	overflow-x: auto;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	background: var(--rk-panel);
}

.rk-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 14.5px;
}

.rk-table th,
.rk-table td {
	padding: 16px 18px;
	text-align: left;
	border-bottom: 1px solid var(--rk-line);
	vertical-align: middle;
}

.rk-table thead th {
	position: sticky;
	top: 0;
	background: var(--rk-panel-2);
	font-weight: 500;
	white-space: nowrap;
}

.rk-table__model {
	display: block;
	font-size: 15px;
	letter-spacing: -0.01em;
}

.rk-table__price {
	display: block;
	margin-top: 3px;
	color: var(--rk-accent);
	font-size: 12.5px;
	font-weight: 500;
}

.rk-table tbody th {
	color: var(--rk-muted);
	font-weight: 400;
	white-space: nowrap;
}

.rk-table td {
	color: var(--rk-text);
	font-variant-numeric: tabular-nums;
}

.rk-table tbody tr:last-child th,
.rk-table tbody tr:last-child td {
	border-bottom: 0;
}

.rk-table tbody tr:hover td,
.rk-table tbody tr:hover th {
	background: rgba(255, 255, 255, 0.02);
}

.rk-table__generic {
	color: var(--rk-dim) !important;
	background: rgba(255, 255, 255, 0.015);
}

.rk-table__generic .rk-table__price {
	color: var(--rk-dim);
	font-style: italic;
}

/* Phone view of the comparison: one card per model, no sideways scrolling. */
.rk-compare-cards {
	display: none;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--rk-space-s);
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-compare-card {
	background: linear-gradient(180deg, var(--rk-panel), var(--rk-bg-soft));
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	overflow: hidden;
}

.rk-compare-card--generic {
	background: none;
	border-style: dashed;
}

.rk-compare-card--generic .rk-compare-card__title,
.rk-compare-card--generic dd {
	color: var(--rk-muted);
}

.rk-compare-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--rk-space-xs);
	padding: var(--rk-space-s);
	border-bottom: 1px solid var(--rk-line);
	background: var(--rk-panel-2);
}

.rk-compare-card--generic .rk-compare-card__head {
	background: none;
}

.rk-compare-card__title {
	margin: 0;
	font-size: var(--rk-step-2);
	font-weight: 500;
}

.rk-compare-card__price {
	color: var(--rk-accent);
	font-size: var(--rk-step-0);
	font-weight: 500;
	white-space: nowrap;
}

.rk-compare-card--generic .rk-compare-card__price {
	color: var(--rk-dim);
	font-style: italic;
}

.rk-compare-card__specs {
	margin: 0;
}

.rk-compare-card__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--rk-space-s);
	padding: 12px var(--rk-space-s);
	border-bottom: 1px solid var(--rk-line);
	font-size: var(--rk-step-0);
}

.rk-compare-card__row:last-child {
	border-bottom: 0;
}

.rk-compare-card__row dt {
	color: var(--rk-muted);
}

.rk-compare-card__row dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.rk-table__foot {
	margin: 16px 0 0;
	color: var(--rk-dim);
	font-size: 12.5px;
	max-width: 70ch;
}

/* Reviews */

.rk-review {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 28px 26px;
	background: linear-gradient(180deg, var(--rk-panel), var(--rk-bg-soft));
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
}

.rk-review__quote {
	margin: 0;
	flex: 1;
}

.rk-review__quote p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.rk-review__quote p::before {
	content: "\201C";
}

.rk-review__quote p::after {
	content: "\201D";
}

.rk-review__by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--rk-line);
	font-size: 13px;
}

.rk-review__author {
	font-weight: 600;
}

.rk-review__role {
	color: var(--rk-dim);
}

.rk-review__source {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: var(--rk-accent);
	font-size: 12px;
}

/* FAQ */

.rk-faq {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.rk-faq__aside .rk-section-head {
	margin-bottom: 20px;
}

.rk-faq__help {
	margin: 0;
	color: var(--rk-dim);
	font-size: 14px;
}

.rk-faq__item {
	border-bottom: 1px solid var(--rk-line);
}

.rk-faq__item:first-child {
	border-top: 1px solid var(--rk-line);
}

.rk-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 4px;
	cursor: pointer;
	list-style: none;
	font-size: var(--rk-step-1);
	font-weight: 450;
	letter-spacing: -0.01em;
	transition: color 0.2s var(--rk-ease);
}

.rk-faq__q::-webkit-details-marker {
	display: none;
}

.rk-faq__q:hover {
	color: var(--rk-accent);
}

.rk-faq__sign {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
}

.rk-faq__sign::before,
.rk-faq__sign::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 13px;
	height: 1.5px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.25s var(--rk-ease), opacity 0.25s var(--rk-ease);
}

.rk-faq__sign::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.rk-faq__item[open] .rk-faq__sign::after {
	transform: translate(-50%, -50%) rotate(0deg);
	opacity: 0;
}

.rk-faq__a {
	padding: 0 4px 24px;
	max-width: 68ch;
}

.rk-faq__a p {
	margin: 0;
	color: var(--rk-muted);
	line-height: 1.7;
}

.rk-faq__item[open] .rk-faq__a {
	animation: rk-fade 0.3s var(--rk-ease);
}

@keyframes rk-fade {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Journal cards */

.rk-post-card {
	display: flex;
	flex-direction: column;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	overflow: hidden;
	transition: transform 0.3s var(--rk-ease), border-color 0.3s var(--rk-ease);
}

.rk-post-card:hover {
	transform: translateY(-4px);
	border-color: var(--rk-line-strong);
}

.rk-post-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--rk-panel-2);
	overflow: hidden;
}

.rk-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--rk-ease);
}

.rk-post-card:hover .rk-post-card__media img {
	transform: scale(1.04);
}

.rk-post-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(var(--rk-accent-rgb), 0.5);
	background:
		radial-gradient(circle at 50% 50%, rgba(var(--rk-glow-rgb), 0.12), transparent 70%);
}

.rk-post-card__body {
	padding: 22px 24px 26px;
}

.rk-post-card__title {
	margin: 10px 0 8px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.3;
}

.rk-post-card__title a:hover {
	color: var(--rk-accent);
}

.rk-post-card__excerpt {
	margin: 0;
	color: var(--rk-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

.rk-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--rk-dim);
	font-size: 12.5px;
}

.rk-post-meta a:hover {
	color: var(--rk-accent);
}

/* 9. CTA, newsletter, footer -------------------------------------------- */

.rk-cta {
	overflow: clip;
	padding-block: var(--rk-space-2xl);
	border-top: 1px solid var(--rk-line);
	background: var(--rk-bg-soft);
}

.rk-cta__inner {
	position: relative;
	max-width: 780px;
	text-align: center;
}

.rk-cta__glow {
	position: absolute;
	top: -40%;
	left: 50%;
	width: min(620px, 140%);
	height: 420px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse, rgba(var(--rk-accent-rgb), 0.16), transparent 66%);
	filter: blur(60px);
	pointer-events: none;
}

.rk-cta__title {
	position: relative;
	font-size: var(--rk-step-5);
	font-weight: 400;
	letter-spacing: -0.035em;
	margin-bottom: 16px;
}

.rk-cta__text {
	position: relative;
	margin: 0 auto 32px;
	max-width: 54ch;
	color: var(--rk-muted);
	font-size: 17px;
}

.rk-cta__actions {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.rk-cta__points {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	color: var(--rk-dim);
	font-size: 13.5px;
}

.rk-cta__points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rk-cta__points .rk-icon {
	color: rgba(var(--rk-accent-rgb), 0.75);
}

.rk-news {
	border-top: 1px solid var(--rk-line);
	background: var(--rk-bg);
	padding-block: var(--rk-space-xl);
}

.rk-news__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.rk-news__title {
	margin: 0 0 6px;
	font-size: var(--rk-step-3);
	font-weight: 450;
}

.rk-news__text {
	margin: 0;
	color: var(--rk-muted);
	font-size: 15px;
}

.rk-signup {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.rk-signup__input {
	flex: 1 1 220px;
	padding: 13px 18px;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: 999px;
	color: var(--rk-text);
	font-size: max(16px, 1rem);
	transition: border-color 0.2s var(--rk-ease);
}

.rk-signup__input::placeholder {
	color: var(--rk-dim);
}

.rk-signup__input:focus {
	outline: none;
	border-color: rgba(var(--rk-accent-rgb), 0.55);
}

.rk-signup__note {
	margin: 10px 0 0;
	color: var(--rk-dim);
	font-size: 12px;
}

.rk-footer {
	border-top: 1px solid var(--rk-line);
	background: var(--rk-bg-soft);
	padding: var(--rk-space-xl) 0 var(--rk-space-m);
}

.rk-footer__top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: clamp(32px, 5vw, 72px);
	padding-bottom: 48px;
	border-bottom: 1px solid var(--rk-line);
}

.rk-footer__about {
	margin: 20px 0 22px;
	max-width: 42ch;
	color: var(--rk-muted);
	font-size: 14.5px;
	line-height: 1.65;
}

.rk-social {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rk-line);
	border-radius: 50%;
	color: var(--rk-muted);
	transition: color 0.2s var(--rk-ease), border-color 0.2s var(--rk-ease), transform 0.2s var(--rk-ease);
}

.rk-social a:hover {
	color: var(--rk-accent);
	border-color: rgba(var(--rk-accent-rgb), 0.4);
	transform: translateY(-2px);
}

.rk-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 32px;
}

.rk-footer__title {
	margin: 0 0 16px;
	color: var(--rk-dim);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rk-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 11px;
}

.rk-footer__list a {
	color: var(--rk-muted);
	font-size: 14.5px;
	transition: color 0.2s var(--rk-ease);
}

.rk-footer__list a:hover {
	color: var(--rk-accent);
}

.rk-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 28px;
	color: var(--rk-dim);
	font-size: 13px;
}

.rk-footer__copy,
.rk-footer__made {
	margin: 0;
}

.rk-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-footer__legal a:hover {
	color: var(--rk-accent);
}

/* 10. Product page ------------------------------------------------------ */

.rk-pdp {
	padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 88px);
}

.rk-pdp__top {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.rk-pdp__media {
	position: relative;
	padding: clamp(24px, 4vw, 48px);
	background: linear-gradient(180deg, var(--rk-panel), var(--rk-bg-soft));
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius-lg);
	overflow: hidden;
}

.rk-pdp__media::before {
	content: "";
	position: absolute;
	inset: -20% 10% 40%;
	background: radial-gradient(ellipse, rgba(var(--rk-glow-rgb), 0.18), transparent 68%);
	filter: blur(50px);
	pointer-events: none;
}

.rk-pdp__media > * {
	position: relative;
}

/* Keep the pack a sensible size when the column goes full width. */
.rk-pdp__media .rk-product-visual__svg,
.rk-pdp__media .rk-product-visual__img {
	max-width: 440px;
	margin-inline: auto;
}

.rk-pdp__info {
	container-type: inline-size;
}

.rk-pdp__title {
	font-size: clamp(1.875rem, 4vw, 3.125rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	margin: 14px 0 12px;
}

@supports (container-type: inline-size) {
	.rk-pdp__title {
		font-size: clamp(1.875rem, min(4vw, 10cqi), 3.125rem);
	}
}

.rk-pdp__tagline {
	margin: 0 0 22px;
	color: var(--rk-muted);
	font-size: var(--rk-step-1);
	line-height: 1.6;
}

.rk-pdp__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.rk-pdp__price-note {
	color: var(--rk-dim);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
}

.rk-pdp__rating {
	margin-bottom: 24px;
}

.rk-pdp__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.rk-pdp__highlights {
	display: grid;
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.rk-pdp__highlights li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15px;
	line-height: 1.55;
}

.rk-pdp__highlights .rk-icon {
	margin-top: 3px;
	color: var(--rk-accent);
}

.rk-pdp__quick {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 1px;
	background: var(--rk-line);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	overflow: hidden;
}

.rk-pdp__quick div {
	padding: 16px 18px;
	background: var(--rk-panel);
}

.rk-pdp__quick dt {
	color: var(--rk-dim);
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rk-pdp__quick dd {
	margin: 6px 0 0;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.rk-pdp__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(24px, 3vw, 40px);
	margin-top: clamp(48px, 6vw, 80px);
}

.rk-specs {
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	background: var(--rk-panel);
	overflow: hidden;
}

.rk-specs__title {
	margin: 0;
	padding: 18px 22px;
	border-bottom: 1px solid var(--rk-line);
	background: var(--rk-panel-2);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rk-muted);
}

.rk-specs__row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 22px;
	border-bottom: 1px solid var(--rk-line);
	font-size: 14.5px;
}

.rk-specs__row:last-child {
	border-bottom: 0;
}

.rk-specs__row dt {
	color: var(--rk-muted);
}

.rk-specs__row dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* 11. Editorial --------------------------------------------------------- */

.rk-page-head {
	padding: clamp(48px, 6vw, 88px) 0 clamp(24px, 3vw, 40px);
	border-bottom: 1px solid var(--rk-line);
	background:
		radial-gradient(ellipse 60% 100% at 50% -20%, rgba(var(--rk-glow-rgb), 0.1), transparent 70%);
}

.rk-page-head__inner {
	max-width: 780px;
}

.rk-page-title {
	font-size: var(--rk-step-5);
	font-weight: 400;
	letter-spacing: -0.035em;
	margin: 12px 0 14px;
}

.rk-page-sub {
	margin: 0;
	color: var(--rk-muted);
	font-size: 17px;
}

.rk-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	padding: clamp(48px, 6vw, 80px) 0;
}

.rk-layout--sidebar {
	grid-template-columns: minmax(0, 1fr) 300px;
}

.rk-prose {
	max-width: 72ch;
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
	line-height: 1.75;
}

.rk-prose > * + * {
	margin-top: 1.2em;
}

.rk-prose h2 {
	margin-top: 1.8em;
	font-size: clamp(24px, 2.6vw, 32px);
}

.rk-prose h3 {
	margin-top: 1.6em;
	font-size: clamp(20px, 2vw, 24px);
}

.rk-prose a {
	color: var(--rk-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.rk-prose img,
.rk-prose figure {
	border-radius: var(--rk-radius);
}

.rk-prose figcaption {
	margin-top: 10px;
	color: var(--rk-dim);
	font-size: 13.5px;
	text-align: center;
}

.rk-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 24px;
	border-left: 2px solid var(--rk-accent);
	color: var(--rk-text);
	font-size: 19px;
	line-height: 1.6;
}

.rk-prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
	font-family: var(--rk-mono);
	font-size: 0.88em;
}

.rk-prose pre {
	padding: 20px 22px;
	overflow-x: auto;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	font-family: var(--rk-mono);
	font-size: 14px;
	line-height: 1.6;
}

.rk-prose pre code {
	padding: 0;
	background: none;
}

.rk-prose ul,
.rk-prose ol {
	padding-left: 1.3em;
}

.rk-prose li + li {
	margin-top: 0.5em;
}

.rk-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.rk-prose th,
.rk-prose td {
	padding: 12px 14px;
	border: 1px solid var(--rk-line);
	text-align: left;
}

.rk-prose hr {
	border: 0;
	border-top: 1px solid var(--rk-line);
	margin: 2.4em 0;
}

.wp-block-button__link {
	border-radius: 999px;
	background: var(--rk-accent);
	color: #07080a;
	font-weight: 600;
	padding: 13px 24px;
}

.wp-block-pullquote,
.wp-block-quote {
	border-left: 2px solid var(--rk-accent);
}

.rk-entry-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--rk-line);
	color: var(--rk-dim);
	font-size: 13.5px;
}

.rk-tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 5px 12px;
	border: 1px solid var(--rk-line);
	border-radius: 999px;
	font-size: 12.5px;
	color: var(--rk-muted);
}

.rk-tags a:hover {
	color: var(--rk-accent);
	border-color: rgba(var(--rk-accent-rgb), 0.4);
}

/* Sidebar & widgets */

.rk-sidebar {
	display: grid;
	gap: 24px;
	align-content: start;
}

.widget {
	padding: 22px 24px;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
}

.widget__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rk-dim);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	font-size: 14.5px;
}

.widget a {
	color: var(--rk-muted);
}

.widget a:hover {
	color: var(--rk-accent);
}

/* Search form */

.rk-search {
	display: flex;
	gap: 8px;
}

.rk-search__field {
	flex: 1;
	padding: 11px 16px;
	background: var(--rk-bg-soft);
	border: 1px solid var(--rk-line);
	border-radius: 999px;
	font-size: max(16px, 1rem);
}

.rk-search__field:focus {
	outline: none;
	border-color: rgba(var(--rk-accent-rgb), 0.5);
}

/* Pagination */

.navigation.pagination {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--rk-line);
	border-radius: 999px;
	color: var(--rk-muted);
	font-size: 14.5px;
	transition: all 0.2s var(--rk-ease);
}

.page-numbers:hover {
	color: var(--rk-text);
	border-color: var(--rk-line-strong);
}

.page-numbers.current {
	background: var(--rk-accent);
	border-color: var(--rk-accent);
	color: #07080a;
	font-weight: 600;
}

/* Comments */

.rk-comments {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--rk-line);
}

.rk-comments__title {
	font-size: 22px;
	margin-bottom: 28px;
}

.comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 20px;
}

.comment-list .children {
	margin: 20px 0 0 24px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 20px;
}

.comment-body {
	padding: 22px 24px;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 13.5px;
	color: var(--rk-dim);
}

.comment-author img {
	border-radius: 50%;
}

.comment-form {
	display: grid;
	gap: 16px;
	max-width: 640px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 13px 16px;
	background: var(--rk-panel);
	border: 1px solid var(--rk-line);
	border-radius: 14px;
	font-size: max(16px, 1rem);
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: rgba(var(--rk-accent-rgb), 0.5);
}

.comment-form .submit {
	justify-self: start;
	padding: 13px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--rk-accent);
	color: #07080a;
	font-weight: 600;
	cursor: pointer;
}

/* 404 + empty states */

.rk-empty {
	max-width: 560px;
	margin: clamp(64px, 10vw, 140px) auto;
	text-align: center;
}

.rk-empty__code {
	display: inline-block;
	margin-bottom: 20px;
	font-family: var(--rk-mono);
	font-size: clamp(56px, 12vw, 120px);
	line-height: 1;
	letter-spacing: -0.05em;
	color: transparent;
	background: linear-gradient(180deg, var(--rk-accent), rgba(var(--rk-glow-rgb), 0.6));
	-webkit-background-clip: text;
	background-clip: text;
}

.rk-empty p {
	color: var(--rk-muted);
	margin-bottom: 28px;
}

/* 12. Motion & responsive ----------------------------------------------- */

.rk-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--rk-ease), transform 0.6s var(--rk-ease);
	will-change: opacity, transform;
}

.rk-reveal.is-in {
	opacity: 1;
	transform: none;
}

.no-js .rk-reveal,
.rk-reveal.is-in {
	opacity: 1;
	transform: none;
}

/*
 * Breakpoints
 * -----------
 * The fluid scale above does most of the work, so these only change layout,
 * never size. Two columns survive down to 760px on purpose: that keeps the
 * hero intact on an iPad portrait (820) and a Galaxy Z Fold opened (~884).
 */

/* Tablets and unfolded foldables: keep the two-column hero, tighten it. */
@media (max-width: 1080px) {
	.rk-hero__visual {
		min-height: 0;
	}

	.rk-hero__product {
		width: min(100%, 300px);
	}

	.rk-hero__chip {
		padding: 7px 11px;
		font-size: 12px;
	}

	.rk-pdp__top,
	.rk-faq {
		gap: var(--rk-space-l);
	}
}

/* The header CTA is the first thing to go when the bar gets tight. */
@media (max-width: 860px) {
	.rk-header__actions .rk-btn[data-rk-header-cta] {
		display: none;
	}

	/* A six-column table cannot fit here, so switch to one card per model. */
	.rk-table-scroll {
		display: none;
	}

	.rk-compare-cards {
		display: grid;
	}

	.rk-news__inner,
	.rk-footer__top {
		grid-template-columns: 1fr;
	}
}

/* Links stop fitting: fold the nav into the drawer. */
@media (max-width: 759px) {
	.rk-nav {
		display: none;
	}

	.rk-burger {
		display: inline-flex;
	}

	.rk-logo__mark {
		width: 104px;
	}
}

/* Phones: one column, and a hero that stays compact instead of leaving the
   product floating in an empty screen above the headline. */
@media (max-width: 759px) {
	.rk-hero__inner,
	.rk-pdp__top,
	.rk-faq,
	.rk-layout--sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	/*
	 * Phones read the headline first: copy, buttons, then the product, then the
	 * stats. The visual is no longer hoisted above the fold.
	 */
	.rk-hero__inner {
		grid-template-areas:
			"copy"
			"visual"
			"stats";
		row-gap: var(--rk-space-s);
	}

	.rk-hero__visual {
		width: 100%;
		max-width: 340px;
		margin-inline: auto;
		min-height: 0;
	}

	.rk-hero__product {
		width: min(58%, 190px);
		animation-duration: 9s;
	}

	.rk-hero__chip {
		padding: 6px 10px;
		font-size: 11.5px;
	}

	.rk-hero__chip--out {
		top: 6%;
		left: 0;
	}

	.rk-hero__chip--cap {
		top: 50%;
		right: 0;
	}

	.rk-hero__chip--air {
		bottom: 6%;
		left: 2%;
	}

	.rk-hero__actions {
		margin-bottom: 0;
	}

	.rk-hero__stats {
		padding-top: var(--rk-space-s);
	}

	.rk-pdp__media {
		padding: var(--rk-space-m);
	}
}

/* Small phones. */
@media (max-width: 560px) {
	.rk-hero__stats {
		grid-template-columns: 1fr;
		gap: var(--rk-space-2xs);
	}

	.rk-stat {
		display: flex;
		align-items: baseline;
		gap: 12px;
	}

	.rk-stat__label {
		margin: 0;
	}

	.rk-card__foot {
		flex-direction: column;
		align-items: flex-start;
	}

	.rk-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.rk-review__source {
		margin-left: 0;
	}

	.rk-btn {
		padding: 12px 18px;
	}

	.rk-hero__actions .rk-btn,
	.rk-cta__actions .rk-btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* Touch targets stay at least 44px on anything without a fine pointer. */
@media (pointer: coarse) {
	.rk-btn,
	.rk-nav__link,
	.rk-faq__q,
	.rk-icon-btn,
	.rk-burger,
	.rk-social a {
		min-height: 44px;
	}

	.rk-btn,
	.rk-icon-btn,
	.rk-burger {
		display: inline-flex;
		align-items: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.rk-reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.rk-header,
	.rk-bar,
	.rk-drawer,
	.rk-marquee,
	.rk-news,
	.rk-cta,
	.rk-footer {
		display: none !important;
	}

	body.rk {
		background: #fff;
		color: #000;
	}
}
