/* Runtimekindle — site CSS — brand prefix: rk */
/* anti-fingerprint: css_filename=runtimekindle.css, indent=2spaces, prefix=rk */

/* ========================================================================
   0. OVERFLOW GUARD (HARD RULE — must be first)
   ======================================================================== */
html, body { overflow-x: hidden; }

/* ========================================================================
   1. CSS VARIABLES / TOKENS
   ======================================================================== */
:root {
  --rk-accent: #059669;
  --rk-accent-light: #34d399;
  --rk-secondary: #0f172a;
  --rk-bg-dark: #0f172a;
  --rk-bg-mid: #111827;
  --rk-bg-alt: #1e293b;
  --rk-bg-surface: #1a2234;
  --rk-text-primary: #f1f5f9;
  --rk-text-body: #cbd5e1;
  --rk-text-muted: #94a3b8;
  --rk-border: #1e293b;
  --rk-border-light: #334155;
  --rk-radius: 10px;
  --rk-container: 1200px;
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-display: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

/* ========================================================================
   2. RESET + BASE
   ======================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--rk-bg-dark);
  color: var(--rk-text-body);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--rk-text-primary);
  margin: 0 0 16px;
}

p { margin: 0 0 14px; }
a { color: var(--rk-accent); text-decoration: none; }
a:hover { color: var(--rk-accent-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

html { scroll-behavior: smooth; }

/* ========================================================================
   3. CONTAINER UTILITY
   ======================================================================== */
.container {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ========================================================================
   4. SECTION HELPERS
   ======================================================================== */
.rk-section {
  padding: 80px 0;
}
.rk-section--dark { background: var(--rk-bg-dark); }
.rk-section--mid { background: var(--rk-bg-mid); }
.rk-section--alt { background: var(--rk-bg-alt); }
.rk-section--light { background: #ffffff; }

.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rk-accent);
  margin-bottom: 12px;
}
.c-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}
.c-section-desc {
  font-size: 18px;
  color: var(--rk-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================================================
   5. BUTTONS
   ======================================================================== */
.rk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: filter 0.2s, background 0.2s;
  white-space: nowrap;
}
.rk-btn--primary {
  background: var(--rk-accent);
  color: #fff;
}
.rk-btn--primary:hover { filter: brightness(1.12); color: #fff; }
.rk-btn--outline {
  background: transparent;
  color: var(--rk-text-primary);
  border: 1px solid var(--rk-border-light);
}
.rk-btn--outline:hover {
  border-color: var(--rk-accent);
  color: var(--rk-accent);
}
.rk-btn--ghost {
  background: transparent;
  color: var(--rk-text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.rk-btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.rk-btn--cta {
  background: var(--rk-accent);
  color: #fff;
  font-size: 16px;
  padding: 14px 32px;
}
.rk-btn--cta:hover { filter: brightness(1.12); color: #fff; }
.rk-btn--full { width: 100%; justify-content: center; }
.rk-btn--sm { padding: 8px 16px; font-size: 13px; }

/* ========================================================================
   6. NAV — rk-nav (static per design-spec.layout.nav_display_mode=static)
   ======================================================================== */
.rk-nav {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--rk-bg-dark);
  border-bottom: 1px solid var(--rk-border);
}

.rk-nav--static {
  position: static;
}

.rk-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.rk-nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.rk-nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}

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

.rk-nav__links li a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--rk-text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s;
}

.rk-nav__links li a:hover {
  color: var(--rk-text-primary);
}

.rk-nav__cta {
  background: var(--rk-accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.rk-nav__cta:hover {
  filter: brightness(1.12);
  color: #fff !important;
}

.rk-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.rk-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rk-text-primary);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .rk-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--rk-bg-dark);
    padding: 16px;
    border-top: 1px solid var(--rk-border);
    z-index: 200;
  }
  .rk-nav__links.open { display: flex; }
  .rk-nav__toggle { display: flex; }
}

/* ========================================================================
   7. COOKIE BANNER — top-bar variant (design-spec.ui.cookie_banner_variant=top-bar)
   ======================================================================== */
.rk-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--rk-bg-alt);
  border-top: 2px solid var(--rk-accent);
  padding: 12px 24px;
}

.rk-cookie[hidden] { display: none !important; }

.rk-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--rk-container);
  margin: 0 auto;
  flex-wrap: wrap;
}

.rk-cookie__text {
  font-size: 13px;
  color: var(--rk-text-body);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.rk-cookie__text a {
  color: var(--rk-accent);
  text-decoration: underline;
}

.rk-cookie__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ========================================================================
   8. HERO — F-dark-centered-typographic
   ======================================================================== */
.rk-hero {
  background: var(--rk-bg-dark);
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
}

.rk-hero--dark-typographic {
  background: var(--rk-bg-dark);
}

.rk-hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rk-hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.rk-hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.rk-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.rk-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rk-accent);
  margin-bottom: 20px;
}

.rk-hero__headline {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  color: var(--rk-text-primary);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 820px;
  margin: 0 auto 24px;
}

.rk-hero__subtext {
  font-size: 20px;
  color: var(--rk-text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.rk-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .rk-hero { padding: 80px 0 64px; }
  .rk-hero__subtext { font-size: 17px; }
}

/* ========================================================================
   9. STATS — B-cards
   ======================================================================== */
.rk-stats {
  padding: 56px 0;
  background: var(--rk-bg-mid);
}

.rk-stats__grid {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rk-stats__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  padding: 28px 24px;
  text-align: center;
}

.rk-stats__number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--rk-accent);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.rk-stats__label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--rk-text-primary);
  margin-bottom: 6px;
}

.rk-stats__desc {
  font-size: 13px;
  color: var(--rk-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .rk-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .rk-stats__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   10. FEATURES — C-alternating (icon-per-card on product.html)
   ======================================================================== */
.rk-features {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-features__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-features__rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 16px;
}

.rk-features__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.rk-features__item--even .rk-features__text { order: 2; }
.rk-features__item--even .rk-features__img-col { order: 1; }

.rk-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(5,150,105,0.15);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--rk-accent);
  font-size: 20px;
}

.rk-features__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-features__body {
  font-size: 16px;
  color: var(--rk-text-body);
  line-height: 1.75;
  margin-bottom: 12px;
}

.rk-features__img-col img {
  width: 100%;
  border-radius: 12px;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (max-width: 768px) {
  .rk-features__item {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rk-features__item--even .rk-features__text,
  .rk-features__item--even .rk-features__img-col { order: unset; }
}

/* Icon-only feature grid (homepage preview) */
.rk-features--icon-grid {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-features--icon-grid .rk-features__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-features--icon-grid .rk-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rk-features--icon-grid .rk-features__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  padding: 28px 24px;
}

.rk-features--icon-grid .rk-features__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(5,150,105,0.15);
  border-radius: 8px;
  color: var(--rk-accent);
  font-size: 18px;
  margin-bottom: 14px;
}

.rk-features--icon-grid .rk-features__card-title {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.rk-features--icon-grid .rk-features__card-body {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0;
}

/* :has fallback — section has 1 direct child __inner; grid is on __grid inside */
.rk-features--icon-grid:has(> *:only-child) .rk-features__grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .rk-features--icon-grid .rk-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .rk-features--icon-grid .rk-features__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   11. PROCESS — A-numbered
   ======================================================================== */
.rk-process {
  padding: 80px 0;
  background: var(--rk-bg-mid);
}

.rk-process__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.rk-process__step {
  position: relative;
  padding: 32px 24px;
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
}

.rk-process__number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--rk-accent);
  opacity: 0.3;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
}

.rk-process__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 10px;
}

.rk-process__body {
  font-size: 15px;
  color: var(--rk-text-body);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .rk-process__steps { grid-template-columns: 1fr; }
}

/* ========================================================================
   12. PRICING — A-3col
   ======================================================================== */
.rk-pricing {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-pricing__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.rk-pricing__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.rk-pricing__card--featured {
  border-color: var(--rk-accent);
  background: var(--rk-bg-alt);
  position: relative;
}

.rk-pricing__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--rk-accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.rk-pricing__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.rk-pricing__amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--rk-text-primary);
  letter-spacing: -0.04em;
}

.rk-pricing__period {
  font-size: 16px;
  color: var(--rk-text-muted);
}

.rk-pricing__annual {
  font-size: 13px;
  color: var(--rk-text-muted);
  margin-bottom: 12px;
}

.rk-pricing__desc {
  font-size: 14px;
  color: var(--rk-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.rk-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.rk-pricing__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--rk-text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--rk-border);
}

.rk-pricing__feature-item::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--rk-accent);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.3l-3-3 .7-.7 2.3 2.3 5-5 .7.7-5.7 5.7z'/%3E%3C/svg%3E");
  background-size: cover;
}

@media (max-width: 900px) {
  .rk-pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

/* ========================================================================
   13. TESTIMONIALS — A-quotes
   ======================================================================== */
.rk-testimonials {
  padding: 80px 0;
  background: var(--rk-bg-mid);
}

.rk-testimonials__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rk-testimonials__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.rk-testimonials__quote {
  font-size: 16px;
  color: var(--rk-text-body);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.rk-testimonials__author {
  margin-top: auto;
}

.rk-testimonials__author-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--rk-text-primary);
  margin-bottom: 4px;
}

.rk-testimonials__author-role {
  display: block;
  font-size: 13px;
  color: var(--rk-text-muted);
}

@media (max-width: 900px) {
  .rk-testimonials__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   14. TEAM — A-grid
   ======================================================================== */
.rk-team {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-team__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.rk-team__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rk-team__avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
  margin-bottom: 16px;
}

.rk-team__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 6px;
}

.rk-team__role {
  font-size: 13px;
  color: var(--rk-text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .rk-team__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .rk-team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================================
   15. BLOG GRID — B-editorial-list (homepage preview)
   ======================================================================== */
.rk-blog {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-blog__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-blog__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rk-blog__card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: center;
}

.rk-blog__card:nth-child(even) .rk-blog__card-body { order: -1; }
.rk-blog__card:nth-child(even) .rk-blog__thumb { order: 1; }

.rk-blog__thumb-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.rk-blog__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.rk-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rk-blog__thumb-link:hover .rk-blog__thumb {
  transform: scale(1.03);
}

.rk-blog__card-body {
  display: flex;
  flex-direction: column;
}

.rk-blog__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rk-accent);
  margin-bottom: 10px;
}

.rk-blog__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.rk-blog__title a {
  color: var(--rk-text-primary);
  text-decoration: none;
}

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

.rk-blog__excerpt {
  font-size: 15px;
  color: var(--rk-text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.rk-blog__meta {
  font-size: 13px;
  color: var(--rk-text-muted);
  margin-bottom: 16px;
}

.rk-blog__read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--rk-accent);
  text-decoration: none;
  margin-top: auto;
}

.rk-blog__read-more:hover { color: var(--rk-accent-light); }

@media (max-width: 768px) {
  .rk-blog__card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rk-blog__card:nth-child(even) .rk-blog__card-body,
  .rk-blog__card:nth-child(even) .rk-blog__thumb { order: unset; }
}

/* ========================================================================
   16. CTA — A-banner
   ======================================================================== */
.rk-cta {
  padding: 80px 0;
  background: var(--rk-bg-alt);
  border-top: 1px solid var(--rk-border-light);
}

.rk-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rk-cta__headline {
  font-size: 36px;
  font-weight: 800;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-cta__body {
  font-size: 18px;
  color: var(--rk-text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.rk-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================================================
   17. CONTACT — A-split
   ======================================================================== */
.rk-contact {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-contact__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.rk-contact__form-col h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 8px;
}

.rk-contact__form-col p {
  color: var(--rk-text-muted);
  margin-bottom: 32px;
}

.rk-contact__field {
  margin-bottom: 20px;
}

.rk-contact__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--rk-text-body);
  margin-bottom: 6px;
}

.rk-contact__input,
.rk-contact__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--rk-text-primary);
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.rk-contact__input:focus,
.rk-contact__textarea:focus {
  outline: 2px solid var(--rk-accent);
  outline-offset: 2px;
  border-color: var(--rk-accent);
}

.rk-contact__input::placeholder,
.rk-contact__textarea::placeholder {
  color: var(--rk-text-muted);
}

.rk-contact__textarea { resize: vertical; min-height: 120px; }

.rk-contact__info-col h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 24px;
}

.rk-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--rk-text-body);
  font-size: 15px;
}

.rk-contact__detail i {
  color: var(--rk-accent);
  margin-top: 2px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .rk-contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ========================================================================
   18. FOOTER — A-4col
   ======================================================================== */
.rk-footer {
  background: var(--rk-bg-mid);
  padding: 64px 0 0;
  border-top: 1px solid var(--rk-border);
}

.rk-footer__grid {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.rk-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-footer__link {
  display: block;
  font-size: 14px;
  color: var(--rk-text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.rk-footer__link:hover { color: var(--rk-text-primary); }

.rk-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
}

.rk-footer__brand-logo img {
  height: 28px;
  width: auto;
}

.rk-footer__tagline {
  font-size: 14px;
  color: var(--rk-text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 20px;
}

.rk-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.rk-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--rk-bg-surface);
  color: var(--rk-text-muted);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}

.rk-footer__social a:hover {
  color: var(--rk-text-primary);
  background: var(--rk-border-light);
}

.rk-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rk-footer__col ul li {
  margin-bottom: 2px;
}

.rk-footer__bottom {
  border-top: 1px solid var(--rk-border);
  padding: 20px 24px;
  max-width: var(--rk-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.rk-footer__copyright {
  font-size: 13px;
  color: var(--rk-text-muted);
  margin: 0;
}

.rk-footer__legal {
  display: flex;
  gap: 16px;
}

.rk-footer__legal a {
  font-size: 13px;
  color: var(--rk-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.rk-footer__contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--rk-text-muted);
  margin-bottom: 8px;
}

.rk-footer__contact-info i {
  color: var(--rk-accent);
  width: 16px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .rk-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rk-footer__grid { grid-template-columns: 1fr; }
  .rk-footer__bottom { flex-direction: column; text-align: center; }
}

/* ========================================================================
   19. PAGE HERO (sub-pages) — eyebrow + h1 + lede
   ======================================================================== */
.rk-page-hero {
  padding: 80px 0 64px;
  background: var(--rk-bg-dark);
  border-bottom: 1px solid var(--rk-border);
  text-align: center;
}

.rk-page-hero__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.rk-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rk-accent);
  margin-bottom: 14px;
}

.rk-page-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-page-hero__lede {
  font-size: 18px;
  color: var(--rk-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================================================
   20. ABOUT PAGE sections
   ======================================================================== */
.rk-about-section {
  padding: 80px 0;
}

.rk-about-section__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-mission {
  background: var(--rk-accent);
  padding: 80px 0;
  color: #fff;
}

.rk-mission__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rk-mission h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 20px;
}

.rk-mission__statement {
  font-size: 22px;
  color: rgba(255,255,255,0.95);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.55;
  font-style: italic;
}

.rk-mission__context {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

.rk-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rk-values__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  padding: 28px 24px;
}

.rk-values__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(5,150,105,0.15);
  border-radius: 8px;
  color: var(--rk-accent);
  font-size: 18px;
  margin-bottom: 14px;
}

.rk-values__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 8px;
}

.rk-values__card-body {
  font-size: 14px;
  color: var(--rk-text-body);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .rk-values__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   21. PRODUCT PAGE sections
   ======================================================================== */
.rk-problem {
  padding: 80px 0;
  background: var(--rk-bg-mid);
}

.rk-problem__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}

.rk-problem__numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.rk-problem__stat {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-left: 3px solid var(--rk-accent);
  border-radius: 8px;
  padding: 20px 20px;
}

.rk-problem__stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--rk-accent);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.rk-problem__stat-label {
  font-size: 14px;
  color: var(--rk-text-body);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .rk-problem__grid { grid-template-columns: 1fr; gap: 40px; }
}

.rk-how-it-works {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-how-it-works__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-how-it-works__flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rk-how-it-works__step {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  padding: 28px 24px;
  text-align: center;
}

.rk-how-it-works__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rk-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.rk-how-it-works__step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 10px;
}

.rk-how-it-works__step-body {
  font-size: 14px;
  color: var(--rk-text-body);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .rk-how-it-works__flow { grid-template-columns: 1fr; }
}

.rk-target-customer {
  padding: 80px 0;
  background: var(--rk-bg-mid);
}

.rk-target-customer__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-target-customer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.rk-target-customer__for h3,
.rk-target-customer__not-for h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-target-customer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rk-target-customer__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--rk-text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--rk-border);
}

.rk-target-customer__list li::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--rk-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.3l-3-3 .7-.7 2.3 2.3 5-5 .7.7-5.7 5.7z'/%3E%3C/svg%3E");
  background-size: cover;
}

.rk-target-customer__list--not li::before {
  background-color: #ef4444;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M11 5l-6 6M5 5l6 6' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-size: cover;
}

@media (max-width: 768px) {
  .rk-target-customer__grid { grid-template-columns: 1fr; }
}

/* Integrations strip */
.rk-integrations {
  padding: 56px 0;
  background: var(--rk-bg-dark);
  border-top: 1px solid var(--rk-border);
}

.rk-integrations__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rk-integrations__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rk-text-muted);
  margin-bottom: 24px;
}

.rk-integrations__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.rk-integrations__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rk-text-body);
  font-family: var(--font-mono);
}

/* ========================================================================
   22. 404 PAGE
   ======================================================================== */
.rk-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: var(--rk-bg-dark);
  text-align: center;
}

.rk-404__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-404__code {
  font-size: 120px;
  font-weight: 900;
  color: var(--rk-accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.06em;
}

.rk-404__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 16px;
}

.rk-404__body {
  font-size: 18px;
  color: var(--rk-text-muted);
  margin-bottom: 36px;
}

/* ========================================================================
   23. PRICING PAGE standalone
   ======================================================================== */
.rk-pricing-page {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-pricing-page__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-pricing-faq {
  padding: 64px 0;
  background: var(--rk-bg-mid);
}

.rk-pricing-faq__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.rk-faq-item {
  border-bottom: 1px solid var(--rk-border-light);
  padding: 20px 0;
}

.rk-faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--rk-text-primary);
  margin-bottom: 8px;
}

.rk-faq-item p {
  font-size: 15px;
  color: var(--rk-text-body);
  line-height: 1.65;
  margin: 0;
}

/* ========================================================================
   24. BLOG reading-width (HARD RULE — verify_site check_blog_reading_width)
   ======================================================================== */
.rk-post__body {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--rk-text-body);
}

.rk-post__body h2 { font-size: 26px; margin-top: 40px; margin-bottom: 16px; }
.rk-post__body h3 { font-size: 21px; margin-top: 32px; margin-bottom: 12px; }
.rk-post__body p { margin-bottom: 20px; }
.rk-post__body ul, .rk-post__body ol { padding-left: 24px; margin-bottom: 20px; list-style: disc; }
.rk-post__body li { margin-bottom: 8px; line-height: 1.7; }
.rk-post__body code { font-family: var(--font-mono); background: var(--rk-bg-surface); padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--rk-accent); }
.rk-post__body pre { background: var(--rk-bg-surface); border-radius: 8px; padding: 20px; overflow-x: auto; margin-bottom: 20px; }
.rk-post__body blockquote { border-left: 3px solid var(--rk-accent); padding: 12px 20px; background: var(--rk-bg-surface); border-radius: 0 8px 8px 0; margin-bottom: 20px; font-style: italic; }

/* ========================================================================
   25. MOBILE MENU JS HELPERS
   ======================================================================== */
.rk-nav__mobile-menu { display: none; }

@media (max-width: 768px) {
  .rk-nav__mobile-menu {
    display: none;
  }
  .rk-nav__mobile-menu.open { display: flex; }
}

/* ========================================================================
   26. AUTH PAGES — Pattern A subfolder, B-split-features layout
   ======================================================================== */
.auth-page {
  min-height: 100vh;
  background: #0a0f1e;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--rk-text-body);
  overflow-x: hidden;
}

.auth-topbar {
  padding: 20px 32px;
  display: flex;
  align-items: center;
}

.auth-topbar a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.auth-split {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 72px);
}

.auth-form-side {
  flex: 0 0 480px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: #0d1424;
  border-right: 1px solid var(--rk-border);
}

.auth-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: linear-gradient(135deg, #0f1f35 0%, #0a1520 60%, #061018 100%);
  position: relative;
  overflow: hidden;
}

.auth-info-side::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.12) 0%, transparent 65%);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-card {
  background: #141e30;
  border: 1px solid var(--rk-border-light);
  border-radius: 12px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-card h2 {
  color: var(--rk-text-primary);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
}

.auth-card .auth-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--rk-text-body);
  margin-bottom: 6px;
}

.auth-form .form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--rk-text-primary);
  background: #0f1824;
  border: 1px solid var(--rk-border-light);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s, outline 0.2s;
}

.auth-form .form-control:focus {
  outline: 2px solid var(--rk-accent);
  outline-offset: 1px;
  border-color: var(--rk-accent);
}

.auth-form .form-control::placeholder {
  color: var(--rk-text-muted);
}

.auth-form select.form-control option {
  background: #141e30;
  color: var(--rk-text-primary);
}

.auth-form .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rk-text-muted);
  margin-bottom: 16px;
}

.auth-form .form-check input {
  accent-color: var(--rk-accent);
  width: 15px;
  height: 15px;
}

.btn-auth {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--rk-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  margin-top: 8px;
  transition: filter 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-auth:hover { filter: brightness(1.12); color: #fff; }

.auth-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--rk-text-muted);
}

.auth-links a {
  color: var(--rk-accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover { text-decoration: underline; }

.auth-forgot {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--rk-text-muted);
  text-decoration: none;
  margin-top: -10px;
  margin-bottom: 16px;
}

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

.auth-terms {
  font-size: 12px;
  color: var(--rk-text-muted);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.auth-terms a { color: var(--rk-accent); }

.auth-message {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.auth-message.success {
  background: rgba(5,150,105,0.15);
  color: #6ee7b7;
  border: 1px solid rgba(5,150,105,0.3);
}

.auth-message.error {
  background: rgba(239,68,68,0.12);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.25);
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-info-side h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--rk-text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.auth-info-side .auth-info-subtitle {
  font-size: 15px;
  color: var(--rk-text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.auth-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--rk-text-body);
  line-height: 1.55;
}

.auth-features li i {
  color: var(--rk-accent);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.auth-social-proof {
  padding: 20px 24px;
  background: rgba(5,150,105,0.08);
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: 10px;
}

.auth-social-proof .auth-stat {
  font-size: 32px;
  font-weight: 800;
  color: var(--rk-accent);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 4px;
}

.auth-social-proof .auth-stat-label {
  font-size: 14px;
  color: var(--rk-text-muted);
}

.auth-mini-footer {
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--rk-border);
  background: #0d1424;
}

.auth-mini-footer a {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.auth-mini-footer a:hover { color: #ffffff; }

.auth-verify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(5,150,105,0.15);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--rk-accent);
  font-size: 28px;
}

.auth-dashboard {
  min-height: 100vh;
  background: #0a0f1e;
  display: flex;
}

.auth-dashboard__sidebar {
  width: 220px;
  min-height: 100vh;
  background: #0d1424;
  border-right: 1px solid var(--rk-border);
  display: flex;
  flex-direction: column;
  padding: 0;
  flex-shrink: 0;
}

.auth-dashboard__sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--rk-border);
}

.auth-dashboard__nav {
  list-style: none;
  padding: 16px 0;
  margin: 0;
  flex: 1;
}

.auth-dashboard__nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--rk-text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.auth-dashboard__nav li a:hover,
.auth-dashboard__nav li.active a {
  color: var(--rk-text-primary);
  background: rgba(255,255,255,0.04);
}

.auth-dashboard__nav li a i {
  width: 16px;
  text-align: center;
  color: var(--rk-accent);
}

.auth-dashboard__main {
  flex: 1;
  padding: 40px 40px;
  overflow-y: auto;
}

.auth-dashboard__welcome {
  font-size: 24px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 4px;
}

.auth-dashboard__sub {
  font-size: 14px;
  color: var(--rk-text-muted);
  margin-bottom: 32px;
}

.auth-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.auth-stat-card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: 10px;
  padding: 22px 20px;
}

.auth-stat-card__num {
  font-size: 30px;
  font-weight: 800;
  color: var(--rk-accent);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.auth-stat-card__label {
  font-size: 13px;
  color: var(--rk-text-muted);
}

.auth-dashboard__note {
  display: inline-block;
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.25);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--rk-text-muted);
}

@media (max-width: 768px) {
  .auth-split { flex-direction: column; }
  .auth-form-side { flex: 1; max-width: 100%; padding: 32px 24px; border-right: none; }
  .auth-info-side { display: none; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .auth-dashboard__stats { grid-template-columns: repeat(2, 1fr); }
  .auth-dashboard__sidebar { display: none; }
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .auth-dashboard__main { padding: 24px 16px; }
  .auth-dashboard__stats { grid-template-columns: 1fr; }
}

/* ========================================================================
   27. LEGAL PAGES
   ======================================================================== */
.rk-legal {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-legal__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.rk-legal__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.rk-legal__body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--rk-text-primary);
  margin-top: 24px;
  margin-bottom: 10px;
}

.rk-legal__body p {
  font-size: 15px;
  color: var(--rk-text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.rk-legal__body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.rk-legal__body ul li {
  font-size: 15px;
  color: var(--rk-text-body);
  line-height: 1.7;
  margin-bottom: 6px;
}

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

/* ========================================================================
   28. BLOG INDEX PAGE — B-editorial-list full index
   ======================================================================== */
.rk-blog-index {
  padding: 80px 0;
  background: var(--rk-bg-dark);
}

.rk-blog-index__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.rk-blog-filter {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--rk-border-light);
  color: var(--rk-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.rk-blog-filter:hover,
.rk-blog-filter.active {
  background: var(--rk-accent);
  border-color: var(--rk-accent);
  color: #fff;
}

.rk-blog__card[data-category] { transition: opacity 0.25s; }
.rk-blog__card.hidden { display: none; }

/* ========================================================================
   29. BLOG ARTICLE PAGE
   ======================================================================== */
.rk-post {
  background: var(--rk-bg-dark);
}

.rk-post__header {
  padding: 96px 0 48px;
  background: var(--rk-bg-dark);
  border-bottom: 1px solid var(--rk-border);
  text-align: center;
}

.rk-post__header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.rk-post__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rk-accent);
  margin-bottom: 14px;
}

.rk-post__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--rk-text-primary);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.rk-post__meta {
  font-size: 14px;
  color: var(--rk-text-muted);
  margin-bottom: 0;
}

.rk-post__hero {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.rk-post__body-wrap {
  padding: 56px 0 80px;
}

.rk-post__body {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--rk-text-body);
  padding: 0 24px;
}

.rk-post__body h2 { font-size: 26px; margin-top: 40px; margin-bottom: 16px; }
.rk-post__body h3 { font-size: 21px; margin-top: 32px; margin-bottom: 12px; }
.rk-post__body p { margin-bottom: 20px; }
.rk-post__body ul, .rk-post__body ol { padding-left: 24px; margin-bottom: 20px; list-style: disc; }
.rk-post__body li { margin-bottom: 8px; line-height: 1.7; }
.rk-post__body code { font-family: var(--font-mono); background: var(--rk-bg-surface); padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--rk-accent); }
.rk-post__body pre { background: var(--rk-bg-surface); border-radius: 8px; padding: 20px; overflow-x: auto; margin-bottom: 20px; }
.rk-post__body blockquote { border-left: 3px solid var(--rk-accent); padding: 12px 20px; background: var(--rk-bg-surface); border-radius: 0 8px 8px 0; margin-bottom: 20px; font-style: italic; }

.rk-related {
  padding: 64px 0;
  background: var(--rk-bg-mid);
  border-top: 1px solid var(--rk-border);
}

.rk-related__inner {
  max-width: var(--rk-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rk-related__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 28px;
}

.rk-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rk-related__card {
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rk-related__thumb-link {
  display: block;
  overflow: hidden;
}

.rk-related__thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  max-height: 160px;
  transition: transform 0.3s;
}

.rk-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rk-related__thumb-link:hover .rk-related__thumb { transform: scale(1.04); }

.rk-related__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rk-related__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rk-accent);
  margin-bottom: 8px;
}

.rk-related__card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--rk-text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.rk-related__card-title a {
  color: var(--rk-text-primary);
  text-decoration: none;
}

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

.rk-related__read {
  font-size: 13px;
  font-weight: 600;
  color: var(--rk-accent);
  text-decoration: none;
  margin-top: auto;
}

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

@media (max-width: 768px) {
  .rk-related__grid { grid-template-columns: 1fr; }
  .rk-post__header { padding: 80px 0 40px; }
}

/* ========================================================================
   30. MISSING CLASS COVERAGE (novel-class audit fixes)
   ======================================================================== */

/* Blog article reading width — post-content class used in article body wrapper */
.post-content {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact page — form element, detail blocks, feedback */
.rk-contact__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rk-contact__detail-block {
  margin-top: 24px;
  padding: 24px;
  background: var(--rk-bg-surface);
  border: 1px solid var(--rk-border-light);
  border-radius: var(--rk-radius);
}

.rk-contact__detail-block h4 {
  color: var(--rk-text-primary);
  font-size: 16px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.rk-contact__detail-block p {
  font-size: 14px;
  color: var(--rk-text-muted);
  margin: 0;
  line-height: 1.65;
}

.rk-contact__feedback {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  background: rgba(5, 150, 105, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

/* Auth page dark-bg text color overrides (colors set at declaration site above) */
