@charset "UTF-8";
/* ==========================================================================
   RANKLINKO — GLOBAL STYLESHEET
   Build. Rank. Advertise. Grow.

   Structure
   01. Design tokens          08. Cards
   02. Reset & base           09. Growth framework
   03. Layout                 10. Process timeline
   04. Typography             11. FAQ accordion
   05. Buttons                12. CTA band
   06. Header & navigation    13. Forms
   07. Hero & dashboard       14. Footer
                              15. Utilities, motion, responsive

   Elementor note: every visual block is a `.rk-section` wrapper containing a
   single `.rk-container`. That maps 1:1 to an Elementor Container > Inner
   Container. Colours, spacing and radii are all CSS variables so they can be
   re-declared once in the Elementor global kit.
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* ---- Brand colour ---- */
  --rk-primary:        #144684;
  --rk-primary-dark:   #0e3162;
  --rk-primary-soft:   #eaf1fa;
  --rk-secondary:      #1d5d86;
  --rk-teal:           #227381;
  --rk-teal-soft:      #e7f2f3;
  --rk-green:          #2ba16d;
  --rk-green-dark:     #218757;
  --rk-green-soft:     #e6f5ee;
  --rk-light-green:    #79b66f;

  /* ---- Surface & text ---- */
  --rk-white:          #ffffff;
  --rk-bg:             #f4f8f7;
  --rk-bg-alt:         #f7fafc;
  --rk-text:           #17324d;
  --rk-heading:        #102a44;
  --rk-muted:          #5a748f;
  --rk-muted-light:    #8298ae;
  --rk-border:         #e2eaf1;
  --rk-border-strong:  #cddbe8;

  /* ---- Gradients ---- */
  --rk-gradient:        linear-gradient(120deg, #144684 0%, #227381 55%, #2ba16d 100%);
  --rk-gradient-soft:   linear-gradient(120deg, #eaf1fa 0%, #e7f2f3 55%, #e6f5ee 100%);
  --rk-gradient-text:   linear-gradient(100deg, #144684 0%, #227381 50%, #2ba16d 100%);

  /* ---- Elevation ---- */
  --rk-shadow-xs: 0 1px 2px rgba(16, 42, 68, .06);
  --rk-shadow-sm: 0 2px 8px rgba(16, 42, 68, .06);
  --rk-shadow:    0 8px 24px -8px rgba(16, 42, 68, .12), 0 2px 6px rgba(16, 42, 68, .04);
  --rk-shadow-md: 0 18px 40px -16px rgba(16, 42, 68, .18), 0 4px 10px rgba(16, 42, 68, .05);
  --rk-shadow-lg: 0 34px 70px -28px rgba(16, 42, 68, .28), 0 8px 20px rgba(16, 42, 68, .06);

  /* ---- Radius ---- */
  --rk-radius-xs:   6px;
  --rk-radius-sm:  10px;
  --rk-radius:     16px;
  --rk-radius-lg:  22px;
  --rk-radius-xl:  32px;
  --rk-radius-pill: 999px;

  /* ---- Typography ---- */
  --rk-font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --rk-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --rk-fs-display: clamp(2.15rem, 1.3rem + 2.6vw, 3.5rem);
  --rk-fs-h1:      clamp(2.1rem, 1.4rem + 2.3vw, 3.25rem);
  --rk-fs-h2:      clamp(1.75rem, 1.25rem + 1.7vw, 2.6rem);
  --rk-fs-h3:      clamp(1.25rem, 1.08rem + .6vw, 1.6rem);
  --rk-fs-h4:      clamp(1.06rem, 1rem + .3vw, 1.22rem);
  --rk-fs-lead:    clamp(1.02rem, .97rem + .3vw, 1.19rem);
  --rk-fs-body:    1rem;
  --rk-fs-sm:      .925rem;
  --rk-fs-xs:      .82rem;
  --rk-fs-eyebrow: .78rem;

  --rk-lh-tight: 1.12;
  --rk-lh-head:  1.2;
  --rk-lh-body:  1.7;

  /* ---- Spacing scale ---- */
  --rk-space-1: 4px;
  --rk-space-2: 8px;
  --rk-space-3: 12px;
  --rk-space-4: 16px;
  --rk-space-5: 24px;
  --rk-space-6: 32px;
  --rk-space-7: 44px;
  --rk-space-8: 64px;
  --rk-space-9: 88px;

  --rk-section-y:  clamp(56px, 3.4vw + 40px, 104px);
  --rk-container:  1200px;
  --rk-container-narrow: 880px;
  --rk-gutter:     clamp(20px, 4vw, 40px);

  --rk-header-h: 76px;

  --rk-ease: cubic-bezier(.22, .61, .36, 1);
  --rk-transition: .28s var(--rk-ease);
}

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

/* The hidden attribute must beat component display rules — filtered cards use
   `display: flex`, which otherwise overrides the browser default of none. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--rk-font-body);
  font-size: var(--rk-fs-body);
  line-height: var(--rk-lh-body);
  color: var(--rk-text);
  background: var(--rk-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--rk-space-4);
  font-family: var(--rk-font-head);
  font-weight: 700;
  line-height: var(--rk-lh-head);
  letter-spacing: -.02em;
  color: var(--rk-heading);
  text-wrap: balance;
}

h1 { font-size: var(--rk-fs-h1); line-height: var(--rk-lh-tight); }
h2 { font-size: var(--rk-fs-h2); }
h3 { font-size: var(--rk-fs-h3); }
h4 { font-size: var(--rk-fs-h4); }

p { margin: 0 0 var(--rk-space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--rk-secondary); text-decoration: none; transition: color var(--rk-transition); }
a:hover { color: var(--rk-green-dark); }

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

ul, ol { margin: 0 0 var(--rk-space-4); padding-left: 1.25em; }
ul:last-child, ol:last-child { margin-bottom: 0; }
li { margin-bottom: var(--rk-space-2); }

strong { font-weight: 600; color: var(--rk-heading); }
hr { border: 0; border-top: 1px solid var(--rk-border); margin: var(--rk-space-7) 0; }

:focus-visible {
  outline: 3px solid var(--rk-green);
  outline-offset: 3px;
  border-radius: var(--rk-radius-xs);
}

::selection { background: var(--rk-primary); color: #fff; }

.rk-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--rk-primary);
  color: #fff;
  border-radius: 0 0 var(--rk-radius-sm) 0;
  font-weight: 600;
}
.rk-skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   03. LAYOUT
   ========================================================================== */
.rk-container {
  width: 100%;
  max-width: var(--rk-container);
  margin-inline: auto;
  padding-inline: var(--rk-gutter);
}
.rk-container--narrow { max-width: var(--rk-container-narrow); }

.rk-section {
  position: relative;
  padding-block: var(--rk-section-y);
}
.rk-section--tight { padding-block: clamp(40px, 2.4vw + 28px, 68px); }
.rk-section--alt   { background: var(--rk-bg); }
.rk-section--soft  { background: var(--rk-gradient-soft); }
.rk-section--dark  { background: var(--rk-primary); color: rgba(255, 255, 255, .82); }
.rk-section--dark h2, .rk-section--dark h3 { color: #fff; }

/* Fine grid texture used behind the hero and CTA band */
.rk-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 70, 132, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 70, 132, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.rk-grid { display: grid; gap: var(--rk-space-5); }
.rk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rk-grid--gap-lg { gap: var(--rk-space-6); }

/* ==========================================================================
   04. TYPOGRAPHY COMPONENTS
   ========================================================================== */
.rk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--rk-space-2);
  margin-bottom: var(--rk-space-4);
  padding: 6px 14px;
  border: 1px solid var(--rk-border-strong);
  border-radius: var(--rk-radius-pill);
  background: var(--rk-white);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-eyebrow);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--rk-teal);
}
.rk-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rk-green);
}

.rk-section-head {
  max-width: 760px;
  margin-bottom: var(--rk-space-7);
}
.rk-section-head--center { margin-inline: auto; text-align: center; }
.rk-section-head p {
  font-size: var(--rk-fs-lead);
  color: var(--rk-muted);
  margin-bottom: 0;
}

.rk-lead { font-size: var(--rk-fs-lead); color: var(--rk-muted); }
.rk-muted { color: var(--rk-muted); }
.rk-gradient-text {
  background: var(--rk-gradient-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Editable placeholder — everything wrapped in this needs real data before launch */
.rk-placeholder {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--rk-border-strong);
  border-radius: var(--rk-radius-xs);
  background: var(--rk-bg);
  font-family: var(--rk-font-head);
  font-size: .9em;
  font-weight: 600;
  color: var(--rk-muted);
  letter-spacing: .01em;
}

/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--rk-radius-pill);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform var(--rk-transition), box-shadow var(--rk-transition),
              background-color var(--rk-transition), color var(--rk-transition),
              border-color var(--rk-transition);
}
.rk-btn svg { width: 16px; height: 16px; flex: none; }
.rk-btn:hover { transform: translateY(-2px); }
.rk-btn:active { transform: translateY(0); }

.rk-btn--primary {
  background: var(--rk-primary);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(20, 70, 132, .8);
}
.rk-btn--primary:hover { background: var(--rk-primary-dark); color: #fff; box-shadow: 0 16px 30px -14px rgba(20, 70, 132, .85); }

.rk-btn--green {
  background: var(--rk-green);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(43, 161, 109, .85);
}
.rk-btn--green:hover { background: var(--rk-green-dark); color: #fff; }

.rk-btn--ghost {
  background: var(--rk-white);
  border-color: var(--rk-border-strong);
  color: var(--rk-heading);
}
.rk-btn--ghost:hover { border-color: var(--rk-primary); color: var(--rk-primary); box-shadow: var(--rk-shadow-sm); }

.rk-btn--light { background: #fff; color: var(--rk-primary); }
.rk-btn--light:hover { background: var(--rk-bg); color: var(--rk-primary-dark); }

.rk-btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.rk-btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.rk-btn--sm { padding: 10px 18px; font-size: var(--rk-fs-xs); }
.rk-btn--lg { padding: 17px 32px; font-size: var(--rk-fs-body); }
.rk-btn--block { width: 100%; }

.rk-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rk-space-3);
  align-items: center;
}
.rk-btn-row--center { justify-content: center; }

/* Text link with animated arrow */
.rk-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
  color: var(--rk-secondary);
}
.rk-link::after {
  content: "→";
  transition: transform var(--rk-transition);
}
.rk-link:hover { color: var(--rk-green-dark); }
.rk-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */
.rk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--rk-transition), border-color var(--rk-transition),
              background-color var(--rk-transition);
}
.rk-header.is-stuck {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--rk-border);
  box-shadow: 0 6px 20px -12px rgba(16, 42, 68, .3);
}

.rk-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--rk-space-5);
  height: var(--rk-header-h);
  transition: height var(--rk-transition);
}
.rk-header.is-stuck .rk-header__inner { height: 64px; }

/* ---- Logo ---- */
.rk-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--rk-font-head);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--rk-heading);
}
.rk-logo:hover { color: var(--rk-primary); }
.rk-logo__mark { width: 34px; height: 34px; flex: none; }
.rk-logo__tag {
  display: block;
  font-family: var(--rk-font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rk-teal);
  margin-top: -3px;
}

/* ---- Desktop nav ---- */
.rk-nav { margin-left: auto; }
.rk-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rk-nav__list > li { margin: 0; position: relative; }

.rk-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: var(--rk-radius-sm);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
  color: var(--rk-heading);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
}
.rk-nav__link:hover,
.rk-nav__link[aria-expanded="true"] { background: var(--rk-primary-soft); color: var(--rk-primary); }
.rk-nav__link[aria-current="page"] { color: var(--rk-primary); }
.rk-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--rk-green);
}
.rk-nav__caret { width: 11px; height: 11px; transition: transform var(--rk-transition); }
.rk-nav__link[aria-expanded="true"] .rk-nav__caret { transform: rotate(180deg); }

/* ---- Dropdown panels ---- */
.rk-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  z-index: 60;
  padding: var(--rk-space-5);
  background: #fff;
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-lg);
  box-shadow: var(--rk-shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--rk-transition), transform var(--rk-transition), visibility var(--rk-transition);
}
.rk-nav__item.is-open > .rk-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* The mega panel is anchored to the header container rather than to its nav
   item, so it stays centred on the page instead of overflowing the viewport. */
.rk-nav__list > li.rk-nav__item--mega { position: static; }
.rk-dropdown--mega { width: min(1080px, calc(100vw - 48px)); }
.rk-dropdown--mega .rk-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rk-space-5);
}
.rk-dropdown--compact { width: 300px; }

.rk-dropdown__col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--rk-space-3);
  padding-bottom: var(--rk-space-3);
  border-bottom: 1px solid var(--rk-border);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rk-primary);
}
.rk-dropdown__col-head:hover { color: var(--rk-green-dark); }
.rk-dropdown__col-head .rk-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--rk-green);
}

.rk-dropdown__list { margin: 0; padding: 0; list-style: none; }
.rk-dropdown__list li { margin: 0; }
.rk-dropdown__list a {
  display: block;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: var(--rk-radius-xs);
  font-size: var(--rk-fs-sm);
  color: var(--rk-text);
  transition: background-color var(--rk-transition), color var(--rk-transition), padding-left var(--rk-transition);
}
.rk-dropdown__list a:hover {
  background: var(--rk-bg);
  color: var(--rk-primary);
  padding-left: 14px;
}

.rk-dropdown__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--rk-space-4);
  margin-top: var(--rk-space-5);
  padding-top: var(--rk-space-4);
  border-top: 1px solid var(--rk-border);
  font-size: var(--rk-fs-sm);
  color: var(--rk-muted);
}

/* ---- Header actions ---- */
.rk-header__actions { display: flex; align-items: center; gap: var(--rk-space-3); flex: none; }

.rk-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rk-border-strong);
  border-radius: var(--rk-radius-sm);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.rk-burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--rk-heading);
  transition: transform var(--rk-transition), opacity var(--rk-transition), top var(--rk-transition);
}
.rk-burger span:nth-child(1) { top: 15px; }
.rk-burger span:nth-child(2) { top: 21px; }
.rk-burger span:nth-child(3) { top: 27px; }
.rk-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.rk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rk-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---- Mobile off-canvas ---- */
.rk-mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 120;
  width: min(420px, 100%);
  padding: var(--rk-space-5) var(--rk-space-5) var(--rk-space-8);
  background: #fff;
  box-shadow: var(--rk-shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(102%);
  transition: transform .34s var(--rk-ease);
  visibility: hidden;
}
.rk-mobile-nav.is-open { transform: translateX(0); visibility: visible; }

.rk-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rk-space-4);
  margin-bottom: var(--rk-space-5);
  padding-bottom: var(--rk-space-4);
  border-bottom: 1px solid var(--rk-border);
}
.rk-mobile-nav__close {
  width: 40px; height: 40px;
  border: 1px solid var(--rk-border-strong);
  border-radius: var(--rk-radius-sm);
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--rk-heading);
  cursor: pointer;
}
.rk-mobile-nav__close:hover { background: var(--rk-bg); }

.rk-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.rk-mobile-nav li { margin: 0; border-bottom: 1px solid var(--rk-border); }
.rk-mobile-nav > ul > li > a,
.rk-mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 2px;
  border: 0;
  background: none;
  font-family: var(--rk-font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--rk-heading);
  text-align: left;
  cursor: pointer;
}
.rk-mobile-nav__toggle .rk-nav__caret { width: 14px; height: 14px; color: var(--rk-muted); }
.rk-mobile-nav__toggle[aria-expanded="true"] .rk-nav__caret { transform: rotate(180deg); }

.rk-mobile-nav__panel {
  display: none;
  padding: 0 0 var(--rk-space-4);
}
.rk-mobile-nav__panel.is-open { display: block; }
.rk-mobile-nav__panel > p {
  margin: var(--rk-space-3) 0 var(--rk-space-2);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rk-teal);
}
.rk-mobile-nav__panel li { border: 0; }
.rk-mobile-nav__panel a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--rk-border);
  font-size: var(--rk-fs-sm);
  color: var(--rk-text);
}
.rk-mobile-nav__panel a:hover { border-left-color: var(--rk-green); color: var(--rk-primary); }

.rk-mobile-nav__cta { margin-top: var(--rk-space-6); display: grid; gap: var(--rk-space-3); }

.rk-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(16, 42, 68, .45);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--rk-transition), visibility var(--rk-transition);
}
.rk-overlay.is-open { opacity: 1; visibility: visible; }

body.rk-no-scroll { overflow: hidden; }

/* ==========================================================================
   07. HERO & DASHBOARD VISUAL
   ========================================================================== */
.rk-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 4vw + 30px, 92px) clamp(56px, 4vw + 36px, 104px);
  background:
    radial-gradient(60rem 32rem at 12% -8%, rgba(20, 70, 132, .09), transparent 62%),
    radial-gradient(48rem 30rem at 92% 8%, rgba(43, 161, 109, .11), transparent 60%),
    linear-gradient(180deg, #fbfdfd 0%, var(--rk-white) 55%);
}
.rk-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.rk-hero h1 { font-size: var(--rk-fs-display); margin-bottom: var(--rk-space-5); }
.rk-hero__lead {
  font-size: var(--rk-fs-lead);
  color: var(--rk-muted);
  max-width: 56ch;
  margin-bottom: var(--rk-space-6);
}
.rk-hero__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: var(--rk-space-6);
  font-size: var(--rk-fs-sm);
  color: var(--rk-muted);
}
.rk-hero__note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rk-green); }

/* ---- Dashboard mockup ---- */
.rk-dash { position: relative; padding: 14px 30px 34px; }

.rk-dash__panel {
  position: relative;
  z-index: 2;
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-lg);
  background: #fff;
  box-shadow: var(--rk-shadow-lg);
  overflow: hidden;
}
.rk-dash__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rk-border);
  background: var(--rk-bg-alt);
}
.rk-dash__dots { display: flex; gap: 5px; }
.rk-dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rk-border-strong); }
.rk-dash__url {
  flex: 1;
  padding: 4px 12px;
  border-radius: var(--rk-radius-pill);
  background: #fff;
  border: 1px solid var(--rk-border);
  font-size: .72rem;
  color: var(--rk-muted);
  font-family: var(--rk-font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rk-dash__body { padding: var(--rk-space-5); }

.rk-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rk-space-4);
  margin-bottom: var(--rk-space-4);
}
.rk-dash__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 700;
  color: var(--rk-heading);
}
.rk-dash__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--rk-radius-pill);
  background: var(--rk-green-soft);
  color: var(--rk-green-dark);
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--rk-font-head);
  white-space: nowrap;
  flex: none;
}

.rk-dash__chart { margin-bottom: var(--rk-space-5); }
.rk-dash__chart svg { width: 100%; height: auto; display: block; }

.rk-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rk-space-3);
}
.rk-stat {
  padding: var(--rk-space-4);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-sm);
  background: var(--rk-bg-alt);
}
.rk-stat__label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--rk-muted);
  margin-bottom: 4px;
}
.rk-stat__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--rk-font-head);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--rk-heading);
  letter-spacing: -.02em;
}
.rk-stat__value small { font-size: .68rem; font-weight: 700; color: var(--rk-green); }

/* Floating cards around the panel */
.rk-dash__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: var(--rk-shadow-md);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 600;
  color: var(--rk-heading);
  white-space: nowrap;
  animation: rk-float 6s ease-in-out infinite;
}
.rk-dash__float i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  background: var(--rk-primary-soft);
  color: var(--rk-primary);
}
.rk-dash__float i svg { width: 16px; height: 16px; }
.rk-dash__float span { display: block; font-size: .7rem; font-weight: 600; color: var(--rk-muted); }

.rk-dash__float--a { top: -10px; right: 3%; animation-delay: -1s; }
.rk-dash__float--b { top: 46%; right: -2%; animation-delay: -3s; }
.rk-dash__float--c { bottom: 0; left: 8%; animation-delay: -5s; }
.rk-dash__float--b i { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-dash__float--c i { background: var(--rk-teal-soft); color: var(--rk-teal); }

@keyframes rk-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ==========================================================================
   TRUST / CAPABILITY STRIP
   ========================================================================== */
.rk-trust { border-block: 1px solid var(--rk-border); background: var(--rk-bg-alt); }
.rk-trust__label {
  margin-bottom: var(--rk-space-4);
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rk-muted);
  text-align: center;
}
.rk-trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rk-trust__list li { margin: 0; }
.rk-trust__list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-pill);
  background: #fff;
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
  color: var(--rk-heading);
  transition: border-color var(--rk-transition), box-shadow var(--rk-transition), transform var(--rk-transition);
}
.rk-trust__list li:hover span {
  border-color: var(--rk-green);
  box-shadow: var(--rk-shadow-sm);
  transform: translateY(-2px);
}
.rk-trust__list svg { width: 16px; height: 16px; color: var(--rk-teal); flex: none; }

/* ==========================================================================
   08. CARDS
   ========================================================================== */
.rk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--rk-space-6);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-lg);
  background: #fff;
  box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition), border-color var(--rk-transition);
}
.rk-card:hover { transform: translateY(-4px); box-shadow: var(--rk-shadow-md); border-color: var(--rk-border-strong); }
.rk-card h3 { margin-bottom: var(--rk-space-3); }
.rk-card p { color: var(--rk-muted); font-size: var(--rk-fs-sm); }
.rk-card__foot { margin-top: auto; padding-top: var(--rk-space-5); }

/* Icon chip */
.rk-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--rk-space-5);
  border-radius: 15px;
  background: var(--rk-primary-soft);
  color: var(--rk-primary);
  flex: none;
}
.rk-icon svg { width: 25px; height: 25px; }
.rk-icon--green { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-icon--teal  { background: var(--rk-teal-soft);  color: var(--rk-teal); }
.rk-icon--sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: var(--rk-space-4); }
.rk-icon--sm svg { width: 20px; height: 20px; }

/* Pillar service card (homepage main services) */
.rk-service-card { padding: var(--rk-space-7); }
.rk-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--rk-radius-lg) var(--rk-radius-lg) 0 0;
  background: var(--rk-gradient);
  opacity: 0;
  transition: opacity var(--rk-transition);
}
.rk-service-card:hover::before { opacity: 1; }
.rk-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: var(--rk-space-5) 0 0;
  padding: 0;
  list-style: none;
}
.rk-service-card__tags li { margin: 0; }
.rk-service-card__tags a,
.rk-service-card__tags span {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-pill);
  background: var(--rk-bg-alt);
  font-size: var(--rk-fs-xs);
  font-weight: 500;
  color: var(--rk-text);
  transition: background-color var(--rk-transition), border-color var(--rk-transition), color var(--rk-transition);
}
.rk-service-card__tags a:hover { background: var(--rk-primary-soft); border-color: var(--rk-primary); color: var(--rk-primary); }

/* Compact feature / mini-service card */
.rk-feature-card { padding: var(--rk-space-5); }
.rk-feature-card h3 { font-size: var(--rk-fs-h4); }
.rk-feature-card__num {
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--rk-green);
  margin-bottom: var(--rk-space-3);
}

/* Industry card */
.rk-industry-card { padding: var(--rk-space-5); }
.rk-industry-card h3 { font-size: 1.05rem; margin-bottom: var(--rk-space-2); }
.rk-industry-card p { font-size: var(--rk-fs-xs); line-height: 1.62; }
.rk-industry-card__services {
  margin-top: var(--rk-space-4);
  padding-top: var(--rk-space-4);
  border-top: 1px dashed var(--rk-border-strong);
  font-size: var(--rk-fs-xs);
  color: var(--rk-teal);
  font-weight: 600;
}

/* Case study card */
.rk-case-card { overflow: hidden; padding: 0; }
.rk-case-card__visual {
  position: relative;
  padding: var(--rk-space-6);
  background:
    radial-gradient(30rem 16rem at 80% -10%, rgba(43, 161, 109, .18), transparent 60%),
    var(--rk-gradient);
  color: #fff;
}
.rk-case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--rk-space-5);
}
.rk-case-card__meta span {
  padding: 4px 11px;
  border-radius: var(--rk-radius-pill);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .26);
  font-family: var(--rk-font-head);
  font-size: .72rem;
  font-weight: 600;
}
.rk-case-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rk-case-card__metric {
  padding: 12px 14px;
  border-radius: var(--rk-radius-sm);
  background: rgba(255, 255, 255, .14);
  border: 1px dashed rgba(255, 255, 255, .38);
}
.rk-case-card__metric b {
  display: block;
  font-family: var(--rk-font-head);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.rk-case-card__metric small {
  display: block;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-top: 2px;
}
.rk-case-card__body { padding: var(--rk-space-6); display: flex; flex-direction: column; flex: 1; }
.rk-case-card__body h3 { font-size: var(--rk-fs-h4); }
.rk-case-card__row { margin-bottom: var(--rk-space-4); }
.rk-case-card__row b {
  display: block;
  font-family: var(--rk-font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--rk-teal);
  margin-bottom: 3px;
}
.rk-case-card__row p { margin: 0; font-size: var(--rk-fs-sm); }

/* Testimonial card */
.rk-testimonial { padding: var(--rk-space-6); }
.rk-testimonial__quote {
  font-size: var(--rk-fs-lead);
  line-height: 1.6;
  color: var(--rk-heading);
  font-family: var(--rk-font-head);
  font-weight: 500;
  margin-bottom: var(--rk-space-5);
}
.rk-testimonial__mark { font-size: 2.4rem; line-height: .5; color: var(--rk-green); display: block; margin-bottom: var(--rk-space-4); font-family: var(--rk-font-head); }
.rk-testimonial__person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.rk-testimonial__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  border: 1px dashed var(--rk-border-strong);
  background: var(--rk-bg);
  font-size: .58rem;
  font-weight: 700;
  text-align: center;
  color: var(--rk-muted-light);
  line-height: 1.1;
}
.rk-testimonial__name { font-family: var(--rk-font-head); font-weight: 700; color: var(--rk-heading); font-size: var(--rk-fs-sm); }
.rk-testimonial__role { font-size: var(--rk-fs-xs); color: var(--rk-muted); }

/* Platform chip grid */
.rk-platform-group + .rk-platform-group { margin-top: var(--rk-space-6); }
.rk-platform-group h3 {
  font-size: var(--rk-fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rk-teal);
  margin-bottom: var(--rk-space-4);
}
.rk-platform-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rk-platform-list li { margin: 0; }
.rk-platform-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-sm);
  background: #fff;
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
  color: var(--rk-heading);
  box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition), border-color var(--rk-transition);
}
.rk-platform-list li:hover span { transform: translateY(-3px); box-shadow: var(--rk-shadow-sm); border-color: var(--rk-teal); }
.rk-platform-list i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--rk-bg);
  color: var(--rk-teal);
  font-style: normal;
  font-size: .72rem;
  font-weight: 800;
  flex: none;
}

/* ==========================================================================
   09. GROWTH FRAMEWORK (Build → Rank → Reach → Convert → Grow)
   ========================================================================== */
.rk-framework {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--rk-space-4);
  counter-reset: rk-step;
}
.rk-framework__step {
  position: relative;
  padding: var(--rk-space-6) var(--rk-space-5);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius);
  background: #fff;
  box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition), border-color var(--rk-transition);
}
.rk-framework__step:hover { transform: translateY(-5px); box-shadow: var(--rk-shadow-md); border-color: var(--rk-green); }
.rk-framework__step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--rk-space-4) * -1);
  width: var(--rk-space-4);
  height: 2px;
  background: linear-gradient(90deg, var(--rk-border-strong), var(--rk-green));
}
.rk-framework__step:last-child::after { display: none; }
.rk-framework__step h3 {
  font-size: 1.06rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--rk-space-2);
}
.rk-framework__step p { font-size: var(--rk-fs-xs); color: var(--rk-muted); margin: 0; }
.rk-framework__index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--rk-space-4);
  border-radius: 10px;
  background: var(--rk-gradient);
  color: #fff;
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 800;
}
.rk-framework__caption {
  margin-top: var(--rk-space-6);
  text-align: center;
  font-size: var(--rk-fs-sm);
  color: var(--rk-muted);
}

/* ==========================================================================
   10. PROCESS TIMELINE
   ========================================================================== */
.rk-process { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--rk-space-5); }
.rk-process::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--rk-primary), var(--rk-teal), var(--rk-green));
  opacity: .32;
}
.rk-process__step { position: relative; padding-top: 58px; }
.rk-process__step::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--rk-primary);
  box-shadow: 0 0 0 5px rgba(20, 70, 132, .1);
}
.rk-process__step:nth-child(4)::before { border-color: var(--rk-teal); box-shadow: 0 0 0 5px rgba(34, 115, 129, .1); }
.rk-process__step:nth-child(5)::before { border-color: var(--rk-green); box-shadow: 0 0 0 5px rgba(43, 161, 109, .12); }
.rk-process__num {
  display: block;
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-xs);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--rk-green);
  margin-bottom: 6px;
}
.rk-process__step h3 { font-size: var(--rk-fs-h4); margin-bottom: var(--rk-space-2); }
.rk-process__step p { font-size: var(--rk-fs-sm); color: var(--rk-muted); margin: 0; }

/* ==========================================================================
   11. FAQ ACCORDION
   ========================================================================== */
.rk-faq { border-top: 1px solid var(--rk-border); }
.rk-faq__item { border-bottom: 1px solid var(--rk-border); }
.rk-faq__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--rk-space-4);
  width: 100%;
  padding: 22px 4px;
  border: 0;
  background: none;
  font-family: var(--rk-font-head);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--rk-heading);
  text-align: left;
  cursor: pointer;
  transition: color var(--rk-transition);
}
.rk-faq__trigger:hover { color: var(--rk-primary); }
.rk-faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--rk-border-strong);
  background: var(--rk-bg-alt);
  transition: background-color var(--rk-transition), border-color var(--rk-transition), transform var(--rk-transition);
}
.rk-faq__icon::before, .rk-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--rk-primary);
  transform: translate(-50%, -50%);
  transition: transform var(--rk-transition), opacity var(--rk-transition);
}
.rk-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.rk-faq__trigger[aria-expanded="true"] .rk-faq__icon { background: var(--rk-green); border-color: var(--rk-green); }
.rk-faq__trigger[aria-expanded="true"] .rk-faq__icon::before,
.rk-faq__trigger[aria-expanded="true"] .rk-faq__icon::after { background: #fff; }
.rk-faq__trigger[aria-expanded="true"] .rk-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.rk-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--rk-ease);
}
.rk-faq__panel > div { overflow: hidden; }
.rk-faq__item.is-open .rk-faq__panel { grid-template-rows: 1fr; }
.rk-faq__panel p {
  padding: 0 56px 24px 4px;
  margin: 0;
  color: var(--rk-muted);
  font-size: var(--rk-fs-sm);
}

/* ==========================================================================
   12. CTA BAND
   ========================================================================== */
.rk-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(40rem 22rem at 15% 0%, rgba(43, 161, 109, .38), transparent 60%),
    radial-gradient(38rem 24rem at 88% 100%, rgba(121, 182, 111, .32), transparent 62%),
    var(--rk-gradient);
  color: rgba(255, 255, 255, .88);
  text-align: center;
}
.rk-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
}
.rk-cta .rk-container { position: relative; z-index: 1; }
.rk-cta h2 { color: #fff; font-size: var(--rk-fs-h2); max-width: 20ch; margin-inline: auto; }
.rk-cta p { max-width: 62ch; margin-inline: auto; font-size: var(--rk-fs-lead); }
.rk-cta .rk-eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.rk-cta .rk-btn-row { margin-top: var(--rk-space-6); }
.rk-cta__note { margin-top: var(--rk-space-5); font-size: var(--rk-fs-sm); color: rgba(255, 255, 255, .72); }

/* ==========================================================================
   13. FORMS
   ========================================================================== */
.rk-form { display: grid; gap: var(--rk-space-4); }
.rk-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-field { display: flex; flex-direction: column; gap: 6px; }
.rk-field label {
  font-family: var(--rk-font-head);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
  color: var(--rk-heading);
}
.rk-field label .rk-req { color: var(--rk-green-dark); }
.rk-field input,
.rk-field select,
.rk-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--rk-border-strong);
  border-radius: var(--rk-radius-sm);
  background: #fff;
  font-family: var(--rk-font-body);
  font-size: var(--rk-fs-sm);
  color: var(--rk-text);
  transition: border-color var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-field textarea { min-height: 130px; resize: vertical; }
.rk-field input:focus,
.rk-field select:focus,
.rk-field textarea:focus {
  outline: none;
  border-color: var(--rk-primary);
  box-shadow: 0 0 0 3px rgba(20, 70, 132, .12);
}
.rk-field__error {
  display: none;
  font-size: var(--rk-fs-xs);
  color: #b4231f;
}
.rk-field.has-error input,
.rk-field.has-error select,
.rk-field.has-error textarea { border-color: #d64541; box-shadow: 0 0 0 3px rgba(214, 69, 65, .1); }
.rk-field.has-error .rk-field__error { display: block; }

.rk-form__status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--rk-radius-sm);
  font-size: var(--rk-fs-sm);
  font-weight: 600;
}
.rk-form__status.is-success {
  display: block;
  background: var(--rk-green-soft);
  border: 1px solid var(--rk-green);
  color: var(--rk-green-dark);
}
.rk-form__status.is-error {
  display: block;
  background: #fdecec;
  border: 1px solid #d64541;
  color: #b4231f;
}
.rk-btn.is-loading { pointer-events: none; opacity: .72; }
.rk-btn.is-loading::after {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rk-spin .7s linear infinite;
}
@keyframes rk-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.rk-footer {
  background: var(--rk-primary-dark);
  color: rgba(255, 255, 255, .68);
  font-size: var(--rk-fs-sm);
}
.rk-footer a { color: rgba(255, 255, 255, .72); }
.rk-footer a:hover { color: #fff; }
.rk-footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: var(--rk-space-6);
  padding-block: clamp(48px, 4vw, 76px) var(--rk-space-7);
}
.rk-footer h3 {
  font-size: var(--rk-fs-xs);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--rk-space-4);
}
.rk-footer ul { list-style: none; margin: 0; padding: 0; }
.rk-footer li { margin-bottom: 10px; }
.rk-footer .rk-logo { color: #fff; margin-bottom: var(--rk-space-4); }
.rk-footer .rk-logo:hover { color: #fff; }
.rk-footer .rk-logo__tag { color: var(--rk-light-green); }
.rk-footer__about { max-width: 34ch; margin-bottom: var(--rk-space-5); }

.rk-social { display: flex; gap: 10px; margin-top: var(--rk-space-4); }
.rk-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--rk-radius-sm);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  transition: background-color var(--rk-transition), border-color var(--rk-transition), transform var(--rk-transition);
}
.rk-social a:hover { background: var(--rk-green); border-color: var(--rk-green); transform: translateY(-2px); }
.rk-social svg { width: 17px; height: 17px; }

.rk-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.rk-footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--rk-light-green); }

.rk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--rk-space-4);
  padding-block: var(--rk-space-5);
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: var(--rk-fs-xs);
}
.rk-footer__legal { display: flex; flex-wrap: wrap; gap: var(--rk-space-5); }

/* Back to top */
.rk-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rk-border);
  border-radius: 50%;
  background: #fff;
  color: var(--rk-primary);
  box-shadow: var(--rk-shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--rk-transition), transform var(--rk-transition), visibility var(--rk-transition), background-color var(--rk-transition);
}
.rk-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.rk-top:hover { background: var(--rk-primary); color: #fff; }
.rk-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   15. UTILITIES, MOTION, RESPONSIVE
   ========================================================================== */
.rk-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.rk-center { text-align: center; }
.rk-mt-6 { margin-top: var(--rk-space-6); }
.rk-mt-7 { margin-top: var(--rk-space-7); }

/* Scroll reveal — only hides content when JS is running */
.rk-js .rk-reveal { opacity: 0; transform: translateY(18px); }
.rk-js .rk-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--rk-ease), transform .6s var(--rk-ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rk-js .rk-reveal { opacity: 1 !important; transform: none !important; }
  .rk-dash__float { animation: none; }
}

/* ---- Laptop ---- */
@media (max-width: 1180px) {
  .rk-dropdown--mega { width: min(920px, calc(100vw - 40px)); }
  .rk-footer__main { grid-template-columns: 1.5fr 1fr 1fr; }
  .rk-footer__col--contact { grid-column: 1 / -1; }
}

/* ---- Tablet / mobile nav switch ---- */
@media (max-width: 1024px) {
  .rk-nav { display: none; }
  .rk-burger { display: block; }
  .rk-header__actions .rk-btn { display: none; }
  .rk-header__inner { justify-content: space-between; }

  .rk-hero__inner { grid-template-columns: 1fr; gap: var(--rk-space-8); }
  .rk-hero__lead { max-width: 62ch; }
  .rk-dash { max-width: 620px; margin-inline: auto; }
  .rk-dash__float--a { left: -2%; }
  .rk-dash__float--b { right: -2%; }

  .rk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-framework { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-framework__step::after { display: none; }

  .rk-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-process::before { display: none; }
}

/* ---- Tablet ---- */
@media (max-width: 860px) {
  .rk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-footer__col--contact { grid-column: auto; }
  .rk-case-card__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  :root { --rk-header-h: 66px; }

  .rk-grid--2,
  .rk-grid--3,
  .rk-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .rk-framework { grid-template-columns: minmax(0, 1fr); }
  .rk-process { grid-template-columns: minmax(0, 1fr); gap: var(--rk-space-6); }

  .rk-form__row { grid-template-columns: minmax(0, 1fr); }
  .rk-btn-row .rk-btn { width: 100%; }
  .rk-service-card { padding: var(--rk-space-5); }

  .rk-dash__stats { grid-template-columns: minmax(0, 1fr); }
  .rk-dash__float { position: static; margin-top: 10px; animation: none; width: 100%; }
  .rk-dash { padding: 0; }

  .rk-faq__trigger { font-size: .97rem; padding-block: 18px; }
  .rk-faq__panel p { padding-right: 12px; }

  .rk-footer__main { grid-template-columns: minmax(0, 1fr); gap: var(--rk-space-6); }
  .rk-footer__bottom { justify-content: flex-start; }
  .rk-top { right: 14px; bottom: 14px; }
}

/* ---- Small mobile ---- */
@media (max-width: 380px) {
  .rk-logo { font-size: 1.15rem; }
  .rk-logo__mark { width: 30px; height: 30px; }
}

/* ---- Print ---- */
@media print {
  .rk-header, .rk-mobile-nav, .rk-overlay, .rk-top, .rk-cta { display: none !important; }
  body { color: #000; }
}

/* FAQ heading wrapper — keeps the accordion in the document outline without
   changing the visual weight of the trigger. */
.rk-faq__heading { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; }

/* ==========================================================================
   16. PAGE-LEVEL COMPONENTS (service, hub and utility pages)
   ========================================================================== */

/* ---- Breadcrumbs ---- */
.rk-breadcrumbs { padding-block: 14px; border-bottom: 1px solid var(--rk-border); background: var(--rk-bg-alt); }
.rk-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rk-breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 8px; font-size: var(--rk-fs-xs); color: var(--rk-muted); }
.rk-breadcrumbs li + li::before { content: "/"; color: var(--rk-border-strong); }
.rk-breadcrumbs a { color: var(--rk-muted); }
.rk-breadcrumbs a:hover { color: var(--rk-primary); }
.rk-breadcrumbs [aria-current="page"] { color: var(--rk-heading); font-weight: 600; }

/* ---- Inner page hero ---- */
.rk-page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 3.4vw + 28px, 82px) clamp(48px, 3.6vw + 30px, 88px);
  background:
    radial-gradient(52rem 28rem at 8% -10%, rgba(20, 70, 132, .10), transparent 62%),
    radial-gradient(44rem 26rem at 96% 6%, rgba(43, 161, 109, .12), transparent 60%),
    linear-gradient(180deg, #fbfdfd 0%, var(--rk-white) 60%);
}
.rk-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.rk-page-hero--center .rk-page-hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.rk-page-hero--center .rk-btn-row { justify-content: center; }
.rk-page-hero h1 { margin-bottom: var(--rk-space-4); }
.rk-page-hero__lead { font-size: var(--rk-fs-lead); color: var(--rk-muted); max-width: 58ch; margin-bottom: var(--rk-space-6); }
.rk-page-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: var(--rk-space-6) 0 0; padding: 0; list-style: none; }
.rk-page-hero__points li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--rk-fs-sm); font-weight: 500; color: var(--rk-heading); }
.rk-page-hero__points svg { width: 17px; height: 17px; color: var(--rk-green); flex: none; }

/* Panel used on the right of inner heroes */
.rk-panel {
  padding: var(--rk-space-6);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-lg);
  background: #fff;
  box-shadow: var(--rk-shadow-md);
}
.rk-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--rk-space-4);
  margin-bottom: var(--rk-space-5); padding-bottom: var(--rk-space-4);
  border-bottom: 1px solid var(--rk-border);
}
.rk-panel__title { font-family: var(--rk-font-head); font-weight: 700; color: var(--rk-heading); font-size: var(--rk-fs-sm); }
.rk-panel__rows { display: grid; gap: var(--rk-space-3); margin: 0; padding: 0; list-style: none; }
.rk-panel__rows li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--rk-space-4);
  margin: 0; padding: 11px 14px;
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius-sm);
  background: var(--rk-bg-alt); font-size: var(--rk-fs-sm);
}
.rk-panel__rows b { font-family: var(--rk-font-head); font-size: var(--rk-fs-xs); font-weight: 700; color: var(--rk-teal); white-space: nowrap; }

/* ---- On-page contents nav ---- */
.rk-toc { border-block: 1px solid var(--rk-border); background: var(--rk-white); position: relative; z-index: 20; }
.rk-toc__list {
  display: flex; gap: 4px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.rk-toc__list li { margin: 0; flex: none; }
.rk-toc__list a {
  display: block; padding: 15px 14px;
  font-family: var(--rk-font-head); font-size: var(--rk-fs-sm); font-weight: 600;
  color: var(--rk-muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.rk-toc__list a:hover { color: var(--rk-primary); border-bottom-color: var(--rk-green); }

/* ---- Split content block ---- */
.rk-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.rk-split--reverse .rk-split__visual { order: -1; }
.rk-split__copy h2 { margin-bottom: var(--rk-space-4); }
.rk-split__copy > p { color: var(--rk-muted); }

/* ---- Pain-point cards ---- */
.rk-pain {
  display: flex; gap: var(--rk-space-4);
  padding: var(--rk-space-5);
  border: 1px solid var(--rk-border); border-left: 3px solid #d98b86;
  border-radius: var(--rk-radius); background: #fff;
  box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-pain:hover { transform: translateY(-3px); box-shadow: var(--rk-shadow-sm); }
.rk-pain__icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: #fdecec; color: #c0403c;
}
.rk-pain__icon svg { width: 17px; height: 17px; }
.rk-pain h3 { font-size: var(--rk-fs-h4); margin-bottom: 6px; }
.rk-pain p { font-size: var(--rk-fs-sm); color: var(--rk-muted); margin: 0; }

/* ---- Checklist / deliverables ---- */
.rk-checklist { display: grid; gap: var(--rk-space-3); margin: 0; padding: 0; list-style: none; }
.rk-checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rk-checklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rk-checklist li {
  display: flex; align-items: flex-start; gap: 11px; margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius-sm);
  background: #fff; font-size: var(--rk-fs-sm);
  transition: border-color var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-checklist li:hover { border-color: var(--rk-green); box-shadow: var(--rk-shadow-xs); }
.rk-checklist li::before {
  content: "";
  flex: none; width: 19px; height: 19px; margin-top: 2px;
  border-radius: 50%;
  background: var(--rk-green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.6L12 5.6' fill='none' stroke='%232BA16D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.rk-checklist b { display: block; font-family: var(--rk-font-head); color: var(--rk-heading); margin-bottom: 2px; }
.rk-checklist span { color: var(--rk-muted); font-size: var(--rk-fs-xs); }

/* ---- Stat band ---- */
.rk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-stats__item {
  padding: var(--rk-space-5);
  border: 1px dashed var(--rk-border-strong); border-radius: var(--rk-radius);
  background: #fff; text-align: center;
}
.rk-stats__item b {
  display: block; font-family: var(--rk-font-head);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--rk-primary); margin-bottom: 4px;
}
.rk-stats__item span { font-size: var(--rk-fs-xs); color: var(--rk-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

/* ---- Pricing ---- */
.rk-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rk-space-5); align-items: start; }
.rk-price {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: var(--rk-space-6);
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius-lg);
  background: #fff; box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition), border-color var(--rk-transition);
}
.rk-price:hover { transform: translateY(-4px); box-shadow: var(--rk-shadow-md); }
.rk-price--featured { border-color: var(--rk-green); box-shadow: var(--rk-shadow-md); }
.rk-price--featured::before {
  content: "Most popular";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: var(--rk-radius-pill);
  background: var(--rk-green); color: #fff;
  font-family: var(--rk-font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.rk-price__name { font-family: var(--rk-font-head); font-size: var(--rk-fs-h4); font-weight: 700; color: var(--rk-heading); margin-bottom: 4px; }
.rk-price__for { font-size: var(--rk-fs-xs); color: var(--rk-muted); margin-bottom: var(--rk-space-5); }
.rk-price__amount {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  padding-bottom: var(--rk-space-5); margin-bottom: var(--rk-space-5);
  border-bottom: 1px solid var(--rk-border);
}
.rk-price__amount b {
  font-family: var(--rk-font-head); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  font-weight: 800; letter-spacing: -.03em; color: var(--rk-primary);
}
.rk-price__amount small { font-size: var(--rk-fs-xs); color: var(--rk-muted); font-weight: 600; }
.rk-price__from { display: block; width: 100%; font-size: var(--rk-fs-xs); color: var(--rk-muted-light); }
.rk-price__list { margin: 0 0 var(--rk-space-6); padding: 0; list-style: none; display: grid; gap: 10px; }
.rk-price__list li { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: var(--rk-fs-sm); color: var(--rk-text); }
.rk-price__list li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.8 2.8L12.5 5' fill='none' stroke='%232BA16D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rk-price__cta { margin-top: auto; }
.rk-pricing-note {
  margin-top: var(--rk-space-6);
  padding: var(--rk-space-4) var(--rk-space-5);
  border: 1px dashed var(--rk-border-strong); border-radius: var(--rk-radius-sm);
  background: var(--rk-bg); font-size: var(--rk-fs-xs); color: var(--rk-muted); text-align: center;
}

/* ---- Work / portfolio grid ---- */
.rk-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rk-space-5); }
.rk-work__item {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius-lg);
  background: #fff; box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-work__item:hover { transform: translateY(-4px); box-shadow: var(--rk-shadow-md); }
/* Slot for a real project screenshot — replace the placeholder inner markup */
.rk-work__shot {
  position: relative; aspect-ratio: 16 / 10;
  display: grid; place-items: center; gap: 8px;
  border-bottom: 1px solid var(--rk-border);
  background:
    repeating-linear-gradient(45deg, rgba(20,70,132,.03) 0 10px, transparent 10px 20px),
    var(--rk-gradient-soft);
  color: var(--rk-muted); text-align: center; padding: var(--rk-space-4);
}
.rk-work__shot span {
  display: inline-block; padding: 6px 14px;
  border: 1px dashed var(--rk-border-strong); border-radius: var(--rk-radius-pill);
  background: rgba(255,255,255,.8);
  font-family: var(--rk-font-head); font-size: var(--rk-fs-xs); font-weight: 600;
}
.rk-work__shot small { font-size: .72rem; color: var(--rk-muted-light); }
.rk-work__body { padding: var(--rk-space-5); }
.rk-work__body h3 { font-size: var(--rk-fs-h4); margin-bottom: 6px; }
.rk-work__body p { font-size: var(--rk-fs-sm); color: var(--rk-muted); margin: 0; }
.rk-work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--rk-space-4); }
.rk-work__tags span {
  padding: 4px 10px; border-radius: var(--rk-radius-pill);
  background: var(--rk-bg); border: 1px solid var(--rk-border);
  font-size: .72rem; font-weight: 600; color: var(--rk-teal);
}

/* ---- Client logo wall ---- */
.rk-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-logos div {
  display: grid; place-items: center; min-height: 76px; padding: var(--rk-space-3);
  border: 1px dashed var(--rk-border-strong); border-radius: var(--rk-radius-sm);
  background: #fff; font-size: var(--rk-fs-xs); font-weight: 600; color: var(--rk-muted-light); text-align: center;
}

/* ---- Vertical numbered process ---- */
.rk-steps { display: grid; gap: var(--rk-space-5); counter-reset: rk-vstep; }
.rk-steps__item {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--rk-space-5);
  padding-bottom: var(--rk-space-5); border-bottom: 1px solid var(--rk-border);
}
.rk-steps__item:last-child { border-bottom: 0; padding-bottom: 0; }
.rk-steps__num {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 16px; background: var(--rk-gradient); color: #fff;
  font-family: var(--rk-font-head); font-size: 1.05rem; font-weight: 800;
}
.rk-steps__item h3 { font-size: var(--rk-fs-h4); margin-bottom: 6px; }
.rk-steps__item p { font-size: var(--rk-fs-sm); color: var(--rk-muted); margin: 0; }

/* ---- Comparison / before-after table ---- */
.rk-compare-wrap { overflow-x: auto; border: 1px solid var(--rk-border); border-radius: var(--rk-radius); background: #fff; }
.rk-compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: var(--rk-fs-sm); }
.rk-compare th, .rk-compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--rk-border); }
.rk-compare thead th {
  background: var(--rk-bg-alt);
  font-family: var(--rk-font-head); font-size: var(--rk-fs-xs); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--rk-heading);
}
.rk-compare tbody tr:last-child th, .rk-compare tbody tr:last-child td { border-bottom: 0; }
.rk-compare tbody th { font-weight: 600; color: var(--rk-heading); width: 34%; }
.rk-compare td { color: var(--rk-muted); }
.rk-compare .rk-yes { color: var(--rk-green-dark); font-weight: 600; }

/* ---- Related services ---- */
.rk-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-related a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--rk-space-4);
  padding: 17px 20px;
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius);
  background: #fff;
  font-family: var(--rk-font-head); font-size: var(--rk-fs-sm); font-weight: 600; color: var(--rk-heading);
  transition: border-color var(--rk-transition), transform var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-related a::after { content: "→"; color: var(--rk-green); transition: transform var(--rk-transition); }
.rk-related a:hover { border-color: var(--rk-primary); transform: translateY(-2px); box-shadow: var(--rk-shadow-sm); color: var(--rk-primary); }
.rk-related a:hover::after { transform: translateX(4px); }

/* ---- Callout note ---- */
.rk-note {
  display: flex; gap: var(--rk-space-4);
  padding: var(--rk-space-5);
  border: 1px solid var(--rk-border); border-left: 3px solid var(--rk-teal);
  border-radius: var(--rk-radius); background: var(--rk-teal-soft);
  font-size: var(--rk-fs-sm); color: var(--rk-text);
}
.rk-note svg { width: 20px; height: 20px; flex: none; color: var(--rk-teal); margin-top: 2px; }
.rk-note p { margin: 0; }
.rk-note b { display: block; margin-bottom: 3px; color: var(--rk-heading); }

/* ---- Multi-step form ---- */
.rk-multistep { border: 1px solid var(--rk-border); border-radius: var(--rk-radius-lg); background: #fff; box-shadow: var(--rk-shadow-md); overflow: hidden; }
.rk-multistep__head { padding: var(--rk-space-6) var(--rk-space-6) var(--rk-space-5); border-bottom: 1px solid var(--rk-border); background: var(--rk-bg-alt); }
.rk-progress { display: flex; align-items: center; gap: 0; margin-bottom: var(--rk-space-4); }
.rk-progress__step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.rk-progress__step:last-child { flex: none; }
.rk-progress__dot {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--rk-border-strong); background: #fff;
  font-family: var(--rk-font-head); font-size: var(--rk-fs-xs); font-weight: 700; color: var(--rk-muted);
  transition: background-color var(--rk-transition), border-color var(--rk-transition), color var(--rk-transition);
}
.rk-progress__bar { flex: 1; height: 2px; background: var(--rk-border-strong); margin: 0 10px; min-width: 12px; }
.rk-progress__label { font-family: var(--rk-font-head); font-size: var(--rk-fs-xs); font-weight: 600; color: var(--rk-muted); white-space: nowrap; }
.rk-progress__step.is-active .rk-progress__dot { border-color: var(--rk-primary); background: var(--rk-primary); color: #fff; }
.rk-progress__step.is-active .rk-progress__label { color: var(--rk-heading); }
.rk-progress__step.is-done .rk-progress__dot { border-color: var(--rk-green); background: var(--rk-green); color: #fff; font-size: 0; }
.rk-progress__step.is-done .rk-progress__dot::after {
  content: ""; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.8 2.8L12.5 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rk-progress__step.is-done + .rk-progress__step .rk-progress__bar,
.rk-progress__step.is-done .rk-progress__bar { background: var(--rk-green); }
.rk-multistep__count { font-size: var(--rk-fs-xs); color: var(--rk-muted); font-weight: 600; }
.rk-multistep__body { padding: var(--rk-space-6); }
.rk-multistep__step { display: none; }
.rk-multistep__step.is-current { display: block; }
.rk-multistep__step > h3 { font-size: var(--rk-fs-h3); margin-bottom: 6px; }
.rk-multistep__step > p.rk-lead { margin-bottom: var(--rk-space-5); font-size: var(--rk-fs-sm); }
.rk-multistep__nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--rk-space-4);
  padding: var(--rk-space-5) var(--rk-space-6);
  border-top: 1px solid var(--rk-border); background: var(--rk-bg-alt);
}
.rk-multistep__nav .rk-btn[hidden] { display: none; }

/* Chip-style radio / checkbox choices */
.rk-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.rk-choice { position: relative; margin: 0; }
.rk-choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.rk-choice span {
  display: flex; align-items: center; gap: 9px; height: 100%;
  padding: 13px 15px;
  border: 1px solid var(--rk-border-strong); border-radius: var(--rk-radius-sm);
  background: #fff; cursor: pointer;
  font-size: var(--rk-fs-sm); font-weight: 500; color: var(--rk-text);
  transition: border-color var(--rk-transition), background-color var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-choice span::before {
  content: ""; flex: none; width: 17px; height: 17px;
  border: 2px solid var(--rk-border-strong); border-radius: 5px;
  transition: border-color var(--rk-transition), background-color var(--rk-transition);
}
.rk-choice input[type="radio"] + span::before { border-radius: 50%; }
.rk-choice span:hover { border-color: var(--rk-primary); }
.rk-choice input:checked + span {
  border-color: var(--rk-primary); background: var(--rk-primary-soft);
  color: var(--rk-primary); font-weight: 600;
}
.rk-choice input:checked + span::before {
  border-color: var(--rk-primary); background: var(--rk-primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.8 2.8L12.5 5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.rk-choice input:focus-visible + span { outline: 3px solid var(--rk-green); outline-offset: 2px; }

/* ---- Filters (case studies / blog) ---- */
.rk-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: var(--rk-space-7); }
.rk-filters button {
  padding: 9px 17px;
  border: 1px solid var(--rk-border-strong); border-radius: var(--rk-radius-pill);
  background: #fff; cursor: pointer;
  font-family: var(--rk-font-head); font-size: var(--rk-fs-sm); font-weight: 600; color: var(--rk-heading);
  transition: background-color var(--rk-transition), border-color var(--rk-transition), color var(--rk-transition);
}
.rk-filters button:hover { border-color: var(--rk-primary); color: var(--rk-primary); }
.rk-filters button[aria-pressed="true"] { background: var(--rk-primary); border-color: var(--rk-primary); color: #fff; }
.rk-filter-empty { display: none; padding: var(--rk-space-7); text-align: center; color: var(--rk-muted); }
.rk-filter-empty.is-visible { display: block; }

/* ---- Blog cards ---- */
.rk-post {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius-lg);
  background: #fff; box-shadow: var(--rk-shadow-xs);
  transition: transform var(--rk-transition), box-shadow var(--rk-transition);
}
.rk-post:hover { transform: translateY(-4px); box-shadow: var(--rk-shadow-md); }
.rk-post__thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  border-bottom: 1px solid var(--rk-border);
  background: var(--rk-gradient-soft);
  font-family: var(--rk-font-head); font-size: var(--rk-fs-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--rk-teal);
}
.rk-post__body { padding: var(--rk-space-5); display: flex; flex-direction: column; flex: 1; }
.rk-post__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--rk-space-3); font-size: var(--rk-fs-xs); color: var(--rk-muted); }
.rk-post__meta span { padding: 3px 10px; border-radius: var(--rk-radius-pill); background: var(--rk-bg); border: 1px solid var(--rk-border); font-weight: 600; color: var(--rk-teal); }
.rk-post h3 { font-size: var(--rk-fs-h4); margin-bottom: var(--rk-space-3); }
.rk-post p { font-size: var(--rk-fs-sm); color: var(--rk-muted); }
.rk-post__foot { margin-top: auto; padding-top: var(--rk-space-4); }

/* ---- Contact page ---- */
.rk-contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.rk-contact__aside { display: grid; gap: var(--rk-space-4); }
.rk-contact__card { padding: var(--rk-space-5); border: 1px solid var(--rk-border); border-radius: var(--rk-radius); background: #fff; box-shadow: var(--rk-shadow-xs); }
.rk-contact__card h3 { font-size: var(--rk-fs-h4); margin-bottom: var(--rk-space-3); }
.rk-contact__card p, .rk-contact__card li { font-size: var(--rk-fs-sm); color: var(--rk-muted); }
.rk-contact__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

/* ---- Legal / prose pages ---- */
.rk-prose { max-width: 74ch; }
.rk-prose h2 { margin-top: var(--rk-space-8); }
.rk-prose h2:first-child { margin-top: 0; }
.rk-prose h3 { margin-top: var(--rk-space-6); font-size: var(--rk-fs-h4); }
.rk-prose p, .rk-prose li { color: var(--rk-muted); }
.rk-prose ul { padding-left: 1.2em; }

/* ==========================================================================
   17. RESPONSIVE — page-level components
   ========================================================================== */
@media (max-width: 1024px) {
  .rk-page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .rk-split { grid-template-columns: minmax(0, 1fr); }
  .rk-split--reverse .rk-split__visual { order: 0; }
  .rk-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-pricing { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .rk-price--featured { order: -1; }
  .rk-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rk-contact { grid-template-columns: minmax(0, 1fr); }
  .rk-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .rk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-checklist--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-progress__label { display: none; }
  .rk-progress__step { flex: 1; }
}

@media (max-width: 640px) {
  .rk-work { grid-template-columns: minmax(0, 1fr); }
  .rk-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-related { grid-template-columns: minmax(0, 1fr); }
  .rk-checklist--2,
  .rk-checklist--3 { grid-template-columns: minmax(0, 1fr); }
  .rk-stats { grid-template-columns: minmax(0, 1fr); }

  .rk-steps__item { grid-template-columns: 44px minmax(0, 1fr); gap: var(--rk-space-4); }
  .rk-steps__num { width: 44px; height: 44px; border-radius: 13px; font-size: .92rem; }

  .rk-multistep__head,
  .rk-multistep__body,
  .rk-multistep__nav { padding-inline: var(--rk-space-5); }
  .rk-multistep__nav { flex-direction: column-reverse; align-items: stretch; }
  .rk-multistep__nav .rk-btn { width: 100%; }
  .rk-choices { grid-template-columns: minmax(0, 1fr); }

  .rk-page-hero__points { gap: 10px 16px; }
  .rk-toc { display: none; }
}

/* ==========================================================================
   18. PHASE 2 — expanded navigation, best-for blocks, figures, diagrams
   ========================================================================== */

/* ---- Five-column mega menu ---- */
.rk-dropdown--mega { width: min(1240px, calc(100vw - 40px)); }
.rk-dropdown--mega .rk-dropdown__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-dropdown--mega .rk-dropdown__col-head { font-size: .7rem; letter-spacing: .06em; gap: 6px; }
.rk-dropdown--mega .rk-dropdown__list a { font-size: .845rem; padding: 5px 9px; margin-left: -9px; }
.rk-dropdown--mega .rk-dropdown__list a:hover { padding-left: 13px; }

@media (max-width: 1300px) {
  .rk-dropdown--mega .rk-dropdown__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rk-space-5); }
  .rk-dropdown--mega { width: min(940px, calc(100vw - 40px)); }
}

/* ---- Best For / Platforms strip ---- */
.rk-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rk-space-5);
}
.rk-audience__block {
  padding: var(--rk-space-5) var(--rk-space-6);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-lg);
  background: #fff;
  box-shadow: var(--rk-shadow-xs);
}
.rk-audience__block h3 {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: var(--rk-space-4);
  font-size: var(--rk-fs-xs);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--rk-teal);
}
.rk-audience__block h3 svg { width: 17px; height: 17px; flex: none; }
.rk-audience__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rk-audience__list li { margin: 0; }
.rk-audience__list span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius-pill);
  background: var(--rk-bg-alt);
  font-family: var(--rk-font-head); font-size: var(--rk-fs-sm); font-weight: 600;
  color: var(--rk-heading);
}
.rk-audience__list span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rk-green); flex: none;
}
.rk-audience__block--platforms .rk-audience__list span::before { background: var(--rk-secondary); }

/* ---- Figure component (drop-in slot for real photography) ---- */
.rk-figure { margin: 0; position: relative; }
.rk-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--rk-radius-lg);
  display: block;
}
.rk-figure--16x9 { aspect-ratio: 16 / 9; }
.rk-figure--4x3  { aspect-ratio: 4 / 3; }
.rk-figure figcaption {
  margin-top: var(--rk-space-3);
  font-size: var(--rk-fs-xs);
  color: var(--rk-muted);
}
/* Visible, deliberate placeholder until a licensed photo is dropped in */
.rk-figure--slot {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: var(--rk-space-6);
  border: 2px dashed var(--rk-border-strong);
  border-radius: var(--rk-radius-lg);
  background:
    repeating-linear-gradient(135deg, rgba(20,70,132,.025) 0 12px, transparent 12px 24px),
    var(--rk-gradient-soft);
  text-align: center;
}
.rk-figure--slot .rk-figure__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.75); color: var(--rk-teal);
}
.rk-figure--slot .rk-figure__icon svg { width: 22px; height: 22px; }
.rk-figure--slot b {
  font-family: var(--rk-font-head); font-size: var(--rk-fs-sm);
  font-weight: 700; color: var(--rk-heading);
}
.rk-figure--slot span { font-size: var(--rk-fs-xs); color: var(--rk-muted); max-width: 42ch; }
.rk-figure--slot code {
  display: inline-block; margin-top: 2px; padding: 3px 9px;
  border-radius: var(--rk-radius-xs); background: rgba(255,255,255,.8);
  border: 1px solid var(--rk-border);
  font-size: .72rem; color: var(--rk-teal);
}

/* ---- Flow diagram (funnels, remarketing, lead gen) ---- */
.rk-flow { display: grid; gap: var(--rk-space-4); }
.rk-flow__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-flow__node {
  position: relative;
  padding: var(--rk-space-5);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius);
  background: #fff;
  box-shadow: var(--rk-shadow-xs);
  text-align: center;
  transition: transform var(--rk-transition), box-shadow var(--rk-transition), border-color var(--rk-transition);
}
.rk-flow__node:hover { transform: translateY(-3px); box-shadow: var(--rk-shadow-sm); border-color: var(--rk-green); }
.rk-flow__node::after {
  content: "→";
  position: absolute; top: 50%; right: calc(var(--rk-space-4) * -1 + 2px);
  transform: translateY(-50%);
  width: var(--rk-space-4); text-align: center;
  color: var(--rk-border-strong); font-size: 1.1rem; line-height: 1;
}
.rk-flow__row .rk-flow__node:last-child::after { display: none; }
.rk-flow__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0 auto var(--rk-space-3);
  border-radius: 12px; background: var(--rk-primary-soft); color: var(--rk-primary);
}
.rk-flow__icon svg { width: 20px; height: 20px; }
.rk-flow__node:nth-child(2) .rk-flow__icon { background: var(--rk-teal-soft); color: var(--rk-teal); }
.rk-flow__node:nth-child(3) .rk-flow__icon { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-flow__node:nth-child(4) .rk-flow__icon { background: var(--rk-primary); color: #fff; }
.rk-flow__node b { display: block; font-family: var(--rk-font-head); font-size: var(--rk-fs-h4); color: var(--rk-heading); margin-bottom: 4px; }
.rk-flow__node span { font-size: var(--rk-fs-xs); color: var(--rk-muted); }

/* ---- Metric gauges (Core Web Vitals, scores) ---- */
.rk-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rk-space-4); }
.rk-gauge {
  padding: var(--rk-space-5);
  border: 1px solid var(--rk-border); border-radius: var(--rk-radius);
  background: #fff; text-align: center;
}
.rk-gauge svg { width: 96px; height: 96px; margin: 0 auto var(--rk-space-3); display: block; }
.rk-gauge b { display: block; font-family: var(--rk-font-head); font-size: var(--rk-fs-h4); color: var(--rk-heading); }
.rk-gauge span { font-size: var(--rk-fs-xs); color: var(--rk-muted); }

@media (max-width: 860px) {
  .rk-audience { grid-template-columns: minmax(0, 1fr); }
  .rk-flow__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rk-flow__node:nth-child(2)::after { display: none; }
  .rk-gauges { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rk-flow__row { grid-template-columns: minmax(0, 1fr); }
  .rk-flow__node::after { display: none !important; }
}

/* Six-stage growth framework (Build → Rank → Discover → Reach → Convert → Grow) */
.rk-framework--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rk-framework--6 .rk-framework__step { padding: var(--rk-space-5) var(--rk-space-4); }
.rk-framework--6 .rk-framework__step h3 { font-size: .95rem; }
@media (max-width: 1180px) { .rk-framework--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .rk-framework--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .rk-framework--6 { grid-template-columns: minmax(0, 1fr); } }
