:root {
  --rf-bg: #050816;
  --rf-bg-alt: #0f1b40;
  --rf-surface: #111827;
  --rf-surface-alt: #151c30;
  --rf-accent: #37e0ff;
  --rf-accent-soft: rgba(55, 224, 255, 0.1);
  --rf-text: #f9fafb;
  --rf-text-soft: #b8c0d6;
  --rf-border: rgba(148, 163, 184, 0.3);
  --rf-radius-lg: 18px;
  --rf-radius-full: 999px;
  --rf-shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.65);
  --rf-font: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--rf-font);
  color: var(--rf-text);
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
}

body.rf-body-alt {
  background: radial-gradient(circle at top, #0b1220 0, #020617 60%, #000 100%);
}

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

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.rf-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rf-section {
  padding: 5rem 0;
}

.rf-section-alt {
  background: radial-gradient(circle at top, #0b1220 0, #020617 55%, #000 100%);
}

.rf-section-narrow {
  padding: 4rem 0 5rem;
}

/* Header */

.rf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.5),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.rf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.rf-logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rf-logo {
  width: 32px;
  height: 32px;
}

.rf-logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--rf-text-soft);
}

.rf-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.rf-nav a {
  color: var(--rf-text-soft);
  position: relative;
}

.rf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--rf-accent);
  transition: width 0.2s ease;
}

.rf-nav a:hover::after {
  width: 100%;
}

.rf-header-cta {
  display: flex;
  gap: 0.7rem;
}

/* Buttons */

.rf-btn {
  border-radius: var(--rf-radius-full);
  padding: 0.45rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
}

.rf-btn-primary {
  background: linear-gradient(135deg, #37e0ff, #0ea5e9);
  color: #020617;
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.45);
}

.rf-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(56, 189, 248, 0.6);
}

.rf-btn-outline {
  background: transparent;
  color: var(--rf-text-soft);
  border-color: rgba(148, 163, 184, 0.6);
}

.rf-btn-outline:hover {
  border-color: var(--rf-accent);
  color: var(--rf-accent);
}

.rf-btn-primary-full {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* Link ghost */

.rf-link-ghost {
  font-size: 0.9rem;
  color: var(--rf-accent);
}

/* Eyebrow text */

.rf-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--rf-accent);
  margin-bottom: 0.5rem;
}

/* Hero */

.rf-hero {
  padding: 4.5rem 0 4rem;
}

.rf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.rf-hero-copy h1 {
  font-size: clamp(2.3rem, 3.4vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.rf-hero-sub {
  font-size: 0.98rem;
  color: var(--rf-text-soft);
  max-width: 34rem;
}

.rf-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.8rem;
}

.rf-hero-points {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: var(--rf-text-soft);
}

.rf-hero-panel {
  background: radial-gradient(
    circle at top left,
    rgba(55, 224, 255, 0.12),
    rgba(15, 23, 42, 0.9)
  );
  border-radius: 26px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--rf-shadow-soft);
  display: grid;
  gap: 0.9rem;
}

.rf-metric-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.rf-metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rf-text-soft);
  margin: 0 0 0.2rem;
}

.rf-metric-main {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.rf-metric-sub {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--rf-text-soft);
}

.rf-metric-secondary {
  opacity: 0.95;
}

/* Sections / headings */

.rf-section-header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.4rem;
}

.rf-section-header h2 {
  margin: 0;
  font-size: 1.65rem;
}

.rf-section-sub {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--rf-text-soft);
}

.rf-section-header-left {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.rf-section-header-left h1,
.rf-section-header-left h2 {
  margin: 0;
}

/* Steps */

.rf-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.rf-step-card {
  background: linear-gradient(145deg, #020617, #020617, #020617);
  border-radius: var(--rf-radius-lg);
  padding: 1.4rem 1.2rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.rf-step-card h3 {
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.rf-step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rf-text-soft);
}

.rf-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--rf-radius-full);
  background: var(--rf-accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: var(--rf-accent);
  font-size: 0.8rem;
}

/* Two column layout */

.rf-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

/* Card */

.rf-card {
  background: radial-gradient(circle at top left, rgba(55, 224, 255, 0.16), #020617);
  border-radius: var(--rf-radius-lg);
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--rf-shadow-soft);
}

.rf-usecases h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.rf-usecases ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  color: var(--rf-text-soft);
  font-size: 0.9rem;
}

.rf-usecases li {
  margin-bottom: 0.25rem;
}

/* Benefits */

.rf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .rf-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rf-benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing */

.rf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.rf-pricing-card {
  background: linear-gradient(160deg, #020617, #020617);
  border-radius: 20px;
  padding: 1.6rem 1.4rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
}

.rf-pricing-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.rf-price {
  margin: 0.1rem 0 0.3rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.rf-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--rf-text-soft);
}

.rf-pricing-note {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--rf-text-soft);
}

.rf-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  color: var(--rf-text-soft);
}

.rf-pricing-card li {
  margin-bottom: 0.3rem;
}

.rf-pricing-featured {
  background: radial-gradient(circle at top, rgba(55, 224, 255, 0.18), #020617);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: var(--rf-shadow-soft);
}

.rf-pill {
  position: absolute;
  top: 0.95rem;
  right: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--rf-radius-full);
  background: rgba(55, 224, 255, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rf-accent);
}

.rf-pricing-grid-pay {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* FAQ */

.rf-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rf-faq {
  background: #020617;
  border-radius: var(--rf-radius-lg);
  border: 1px solid var(--rf-border);
  padding: 0.8rem 1rem;
}

.rf-faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.rf-faq summary::-webkit-details-marker {
  display: none;
}

.rf-faq-body {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--rf-text-soft);
}

/* Forms */

.rf-form-wrap {
  max-width: 720px;
}

.rf-form {
  margin-top: 1.8rem;
  background: #020617;
  border-radius: var(--rf-radius-lg);
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid var(--rf-border);
}

.rf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.rf-field label {
  font-size: 0.85rem;
  color: var(--rf-text-soft);
  margin-bottom: 0.35rem;
}

.rf-field input,
.rf-field textarea,
.rf-field select {
  background: #020617;
  border-radius: 12px;
  border: 1px solid var(--rf-border);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: var(--rf-text);
  outline: none;
}

.rf-field input:focus,
.rf-field textarea:focus,
.rf-field select:focus {
  border-color: var(--rf-accent);
}

.rf-form-footnote {
  font-size: 0.8rem;
  color: var(--rf-text-soft);
  margin-top: 0.6rem;
}

/* Footer */

.rf-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.6rem 0 2.3rem;
  background: #020617;
}

.rf-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  justify-content: space-between;
}

.rf-footer-logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.rf-footer-copy {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--rf-text-soft);
}

.rf-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
}

.rf-footer-links a {
  color: var(--rf-text-soft);
}

.rf-footer-links a:hover {
  color: var(--rf-accent);
}

.rf-footer-meta {
  width: 100%;
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--rf-text-soft);
}

/* Misc */

.rf-center-text {
  text-align: center;
}

.rf-small {
  font-size: 0.84rem;
  color: var(--rf-text-soft);
}

.rf-space-lg {
  height: 2.5rem;
}

.rf-space-xl {
  height: 3.5rem;
}

/* Mobile nav */

.rf-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  margin-left: 0.5rem;
}

.rf-nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--rf-text-soft);
}

/* Main wrapper */

.rf-main {
  min-height: 100vh;
}

/* Builder summary panel */

.rf-builder-summary {
  background: radial-gradient(circle at top left, rgba(55, 224, 255, 0.14), #020617);
  border-radius: var(--rf-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--rf-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rf-summary-block h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.rf-summary-block p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--rf-text-soft);
}

.rf-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Builder / pills */

.rf-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.rf-builder-form {
  background: #020617;
  border-radius: var(--rf-radius-lg);
  border: 1px solid var(--rf-border);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--rf-shadow-soft);
}

.rf-builder-group {
  border: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.rf-builder-group legend {
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.rf-group-hint {
  font-size: 0.84rem;
  color: var(--rf-text-soft);
  margin: 0 0 0.6rem;
}

.rf-pill-choice {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: var(--rf-radius-full);
  border: 1px solid var(--rf-border);
  font-size: 0.86rem;
  color: var(--rf-text-soft);
  margin: 0 0.5rem 0.5rem 0;
  cursor: pointer;
  background: #020617;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.rf-pill-choice input {
  display: none;
}

.rf-pill-choice span {
  display: inline-block;
}

.rf-pill-choice input:checked + span {
  color: var(--rf-accent);
}

.rf-pill-choice input:checked ~ span {
  color: var(--rf-accent);
}

.rf-pill-choice input:checked ~ span::before {
  border-color: var(--rf-accent);
}

.rf-pill-choice-radio {
  position: relative;
  padding-left: 2rem;
}

.rf-pill-choice-radio span::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--rf-border);
}

.rf-pill-choice-radio input:checked + span::before {
  border-color: var(--rf-accent);
}

/* Builder actions */

.rf-builder-actions {
  margin-top: 0.6rem;
}

/* Visually hidden */

.rf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Responsive */

@media (max-width: 960px) {
  .rf-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rf-hero-panel {
    order: -1;
  }

  .rf-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rf-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .rf-pricing-grid,
  .rf-pricing-grid-pay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rf-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rf-builder-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .rf-header-inner {
    padding-inline: 1.1rem;
  }

  .rf-nav {
    position: fixed;
    inset: 56px 0 auto;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    flex-direction: column;
    padding: 0.8rem 1.5rem 1rem;
    gap: 0.9rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.18s ease,
      opacity 0.18s ease;
  }

  .rf-nav.rf-nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .rf-header-cta {
    display: none;
  }

  .rf-nav-toggle {
    display: inline-flex;
  }

  .rf-hero {
    padding-top: 3.2rem;
  }

  .rf-section {
    padding: 3.5rem 0;
  }

  .rf-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rf-pricing-grid,
  .rf-pricing-grid-pay {
    grid-template-columns: minmax(0, 1fr);
  }

  .rf-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rf-footer-inner {
    align-items: flex-start;
  }
}


.rf-engine-wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border-radius: var(--rf-radius-lg);
  background: radial-gradient(circle at top left, rgba(55, 224, 255, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(15, 118, 210, 0.35), transparent 55%),
              var(--rf-surface-alt);
  box-shadow: var(--rf-shadow-soft);
}


.rf-wizard-header {
  margin-bottom: 1.75rem;
}

.rf-wizard-step {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-text-soft);
}

.rf-wizard-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.4);
  overflow: hidden;
  margin: 0.5rem 0 1rem;
}

.rf-wizard-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--rf-accent);
  transition: width 0.25s ease-out;
}

.rf-wizard-sub {
  margin-top: 0.4rem;
  color: var(--rf-text-soft);
  font-size: 0.9rem;
}

.rf-step {
  display: none;
  animation: rf-step-in 0.22s ease-out;
}

.rf-step-active {
  display: block;
}

@keyframes rf-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rf-question-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rf-option-pill {
  flex: 1 1 100%;
}

.rf-option-pill input {
  display: none;
}

.rf-option-pill label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--rf-radius-full);
  background: var(--rf-surface);
  border: 1px solid rgba(148, 163, 184, 0.35);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--rf-text);
  transition: background 0.18s ease-out, border-color 0.18s ease-out,
              transform 0.12s ease-out;
}

.rf-option-pill label:hover {
  transform: translateY(-1px);
  border-color: var(--rf-accent);
}

.rf-option-icon {
  font-size: 0.95rem;
  opacity: 0.9;
}

.rf-option-pill input:checked + label {
  background: var(--rf-accent-soft);
  border-color: var(--rf-accent);
}

/* Chips (multi-select) */

.rf-option-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--rf-surface);
  border: 1px solid rgba(148, 163, 184, 0.35);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--rf-text-soft);
  transition: background 0.18s ease-out, border-color 0.18s ease-out,
              color 0.18s ease-out, transform 0.12s ease-out;
}

.rf-option-chip:hover {
  transform: translateY(-1px);
  border-color: var(--rf-accent);
}

.rf-option-chip input {
  display: none;
}

.rf-option-chip input:checked + span,
.rf-option-chip input:checked + span .rf-option-icon {
  color: var(--rf-text);
}

.rf-option-chip input:checked + span {
  position: relative;
}

.rf-option-chip input:checked + span::before {
  content: "";
  position: absolute;
  inset: -0.3rem -0.7rem;
  border-radius: 999px;
  background: var(--rf-accent-soft);
  z-index: -1;
}

/* Details grid for final step */

.rf-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.rf-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rf-field label {
  font-size: 0.85rem;
  color: var(--rf-text-soft);
}

.rf-field input,
.rf-field select,
.rf-field textarea {
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: var(--rf-surface);
  color: var(--rf-text);
  font: inherit;
}

.rf-field input::placeholder,
.rf-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.rf-wizard-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Buttons assume you already have .rf-btn / .rf-btn-secondary.
   If not, basic versions: */

.rf-btn {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--rf-accent);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
}

.rf-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.rf-btn-secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--rf-text-soft);
}

@media (min-width: 720px) {
  .rf-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rf-link-inline {
  position: relative;
  color: var(--rf-text, #f9fafb);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.rf-link-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--rf-accent, #37e0ff);
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.25s ease;
  transform: scaleX(1);
  transform-origin: left;
}

.rf-link-inline:hover::after {
  opacity: 1;
  transform: scaleX(1.05);
}

.rf-link-inline:active::after {
  opacity: 0.9;
  transform: scaleX(0.9);
}

/* -------------------------------------------------------
   Article body links (make internal links obvious)
------------------------------------------------------- */

.rf-article a,
.rf-blog-article a,
article a {
  color: var(--rf-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(55, 224, 255, 0.65);
}

.rf-article a:hover,
.rf-blog-article a:hover,
article a:hover {
  text-decoration-color: rgba(55, 224, 255, 1);
}

.rf-article a:focus-visible,
.rf-blog-article a:focus-visible,
article a:focus-visible {
  outline: 2px solid rgba(55, 224, 255, 0.85);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Never underline nav + button style links */
.rf-header a,
.rf-footer a,
.rf-btn,
.rf-btn *,
.rf-nav a,
.apply-btn,
.apply-btn * {
  text-decoration: none !important;
}

/* -------------------------------------------------------
   Article CTA block
------------------------------------------------------- */

.article-cta {
  margin-top: 44px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(circle at top left, rgba(55, 224, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 60%),
    #020617;
  box-shadow: var(--rf-shadow-soft);
}

.article-cta h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.article-cta p {
  margin: 0 0 18px;
  color: var(--rf-text-soft);
  font-size: 0.95rem;
  max-width: 60ch;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--rf-radius-full);
  border: 1px solid rgba(55, 224, 255, 0.55);
  background: rgba(55, 224, 255, 0.14);
  color: var(--rf-text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.apply-btn:hover {
  transform: translateY(-1px);
  background: rgba(55, 224, 255, 0.20);
  border-color: rgba(55, 224, 255, 0.85);
}

.apply-btn i {
  font-size: 0.95em;
}
